Add translations; sort translations
This commit is contained in:
parent
92cc53bb3a
commit
cf83faaedc
|
@ -39,7 +39,7 @@ const journeysTemplate = (data) => html`
|
|||
<canvas id="canvas"></canvas>
|
||||
</div>
|
||||
` : html`
|
||||
<a class="loadMore icon-arrow2 flipped" title="{{LABEL_EARLIER}}" @click=${() => moreJourneys(data.reqId, 'earlier')}"></a>
|
||||
<a class="loadMore icon-arrow2 flipped" title="${t('label_earlier')}" @click=${() => moreJourneys(data.reqId, 'earlier')}"></a>
|
||||
|
||||
<div class="card">
|
||||
<table>
|
||||
|
@ -59,7 +59,7 @@ const journeysTemplate = (data) => html`
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<a class="loadMore icon-arrow2" title="{{LABEL_LATER}}" @click=${() => moreJourneys(data.reqId, "later")}></a>
|
||||
<a class="loadMore icon-arrow2" title="${t('label_later')}" @click=${() => moreJourneys(data.reqId, "later")}></a>
|
||||
`}
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,111 +1,115 @@
|
|||
export const languages = {
|
||||
'de': {
|
||||
'arrival': 'Ankunft',
|
||||
'departure': 'Abfahrt',
|
||||
'duration': 'Dauer',
|
||||
'changes': 'Umstiege',
|
||||
'products': 'Produkte',
|
||||
'from': 'Von',
|
||||
'via': 'Über',
|
||||
'optional': '(optional)',
|
||||
'to': 'Nach',
|
||||
'date': 'Datum',
|
||||
'time': 'Uhrzeit',
|
||||
'station': 'Station',
|
||||
'platform': 'Gleis',
|
||||
'walkinfo': 'Laufe nach %s (ca. %s Meter)',
|
||||
'changeinfo': '%s Umstiegsdauer',
|
||||
'transferinfo': 'Reise nach %s',
|
||||
'swap': 'Von/Nach tauschen',
|
||||
'settings': 'Einstellungen',
|
||||
'search': 'Suchen',
|
||||
'options': 'Optionen',
|
||||
'setfromto': 'Als Von/Nach setzen',
|
||||
'journeyoverview': 'Verbindungsübersicht aufrufen',
|
||||
'lastjourney': 'Letzte gewälte Verbindung aufrufen',
|
||||
'longdistancetrain': 'Fernverkehr',
|
||||
'regionaltrain': 'Regionalverkehr',
|
||||
'suburbantrain': 'S-Bahn',
|
||||
'subway': 'U-Bahn',
|
||||
'tram': 'Tram',
|
||||
'bus': 'Bus',
|
||||
'ferry': 'Fähre',
|
||||
'taxi': 'Taxi',
|
||||
'save': 'Speichern',
|
||||
'clearstorage': 'lokale Daten löschen',
|
||||
'datasource': 'Datenquelle',
|
||||
'accessibility': 'Barrierefreiheit',
|
||||
'access_full': 'Barrierefrei',
|
||||
'access_none': 'keine Einschränkungen',
|
||||
'access_partial': 'Bedingt barrierefrei',
|
||||
'access_full': 'Barrierefrei',
|
||||
'showds100': 'Zeige RIL100 Kürzel (wenn verfügbar)',
|
||||
'showdebug': 'Schreibe Debug Nachrichten ins Log',
|
||||
'graphical': 'Graphische Darstellung in der Verbindungsübersicht',
|
||||
'update': 'Anwendung updaten',
|
||||
'language': 'Sprache',
|
||||
'de': 'Deutsch',
|
||||
'en': 'Englisch',
|
||||
'accessibility': 'Barrierefreiheit',
|
||||
'arrival': 'Ankunft',
|
||||
'bus': 'Bus',
|
||||
'cancelled-ride': 'Fahrt entfällt!',
|
||||
'remarks': 'Hinweise',
|
||||
'travelynx-checkin': 'Travelynx checkin anzeigen?',
|
||||
'lang_short': 'de',
|
||||
'iconly': 'IC',
|
||||
'changeinfo': '%s Umstiegsdauer',
|
||||
'changes': 'Umstiege',
|
||||
'clearstorage': 'lokale Daten löschen',
|
||||
'datasource': 'Datenquelle',
|
||||
'date': 'Datum',
|
||||
'de': 'Deutsch',
|
||||
'departure': 'Abfahrt',
|
||||
'duration': 'Dauer',
|
||||
'dzug': 'D-Zug',
|
||||
'en': 'Englisch',
|
||||
'ferry': 'Fähre',
|
||||
'from': 'Von',
|
||||
'graphical': 'Graphische Darstellung in der Verbindungsübersicht',
|
||||
'iceonly': 'ICE',
|
||||
'dzug': 'D-Zug'
|
||||
'iconly': 'IC',
|
||||
'journeyoverview': 'Verbindungsübersicht aufrufen',
|
||||
'label_earlier': 'Frühere Verbindungen',
|
||||
'label_later': 'Spätere Verbindungen',
|
||||
'lang_short': 'de',
|
||||
'language': 'Sprache',
|
||||
'lastjourney': 'Letzte gewälte Verbindung aufrufen',
|
||||
'longdistancetrain': 'Fernverkehr',
|
||||
'optional': '(optional)',
|
||||
'options': 'Optionen',
|
||||
'platform': 'Gleis',
|
||||
'products': 'Produkte',
|
||||
'regionaltrain': 'Regionalverkehr',
|
||||
'remarks': 'Hinweise',
|
||||
'save': 'Speichern',
|
||||
'search': 'Suchen',
|
||||
'setfromto': 'Als Von/Nach setzen',
|
||||
'settings': 'Einstellungen',
|
||||
'showdebug': 'Schreibe Debug Nachrichten ins Log',
|
||||
'showds100': 'Zeige RIL100 Kürzel (wenn verfügbar)',
|
||||
'station': 'Station',
|
||||
'suburbantrain': 'S-Bahn',
|
||||
'subway': 'U-Bahn',
|
||||
'swap': 'Von/Nach tauschen',
|
||||
'taxi': 'Taxi',
|
||||
'time': 'Uhrzeit',
|
||||
'to': 'Nach',
|
||||
'tram': 'Tram',
|
||||
'transferinfo': 'Reise nach %s',
|
||||
'travelynx-checkin': 'Travelynx checkin anzeigen?',
|
||||
'update': 'Anwendung updaten',
|
||||
'via': 'Über',
|
||||
'walkinfo': 'Laufe nach %s (ca. %s Meter)'
|
||||
},
|
||||
|
||||
'en': {
|
||||
'arrival': 'Arrival',
|
||||
'departure': 'Departure',
|
||||
'duration': 'Duration',
|
||||
'changes': 'Changes',
|
||||
'products': 'Products',
|
||||
'from': 'From',
|
||||
'via': 'Via',
|
||||
'optional': '(optional)',
|
||||
'to': 'To',
|
||||
'date': 'Date',
|
||||
'time': 'Time',
|
||||
'station': 'Station',
|
||||
'platform': 'Platform',
|
||||
'walkinfo': 'Walk to %s (apprx. %s meters)',
|
||||
'changeinfo': '%s change duration',
|
||||
'transferinfo': 'Travel to %s',
|
||||
'swap': 'Swap from/to',
|
||||
'settings': 'Settings',
|
||||
'search': 'Search',
|
||||
'options': 'Options',
|
||||
'setfromto': 'Set as from/to',
|
||||
'journeyoverview': 'Go to journeysoverview',
|
||||
'lastjourney': 'Go to last selected journey',
|
||||
'longdistancetrain': 'Long distance trains',
|
||||
'regionaltrain': 'Regional trains',
|
||||
'suburbantrain': 'Suburban Trains',
|
||||
'subway': 'Subway',
|
||||
'tram': 'Tram',
|
||||
'bus': 'Bus',
|
||||
'ferry': 'Ferry',
|
||||
'taxi': 'Taxi',
|
||||
'save': 'Save',
|
||||
'clearstorage': 'Remove local data',
|
||||
'datasource': 'Data source',
|
||||
'accessibility': 'Accessibillity',
|
||||
'access_full': 'full',
|
||||
'access_none': 'none',
|
||||
'access_partial': 'partial',
|
||||
'access_full': 'full',
|
||||
'showds100': 'Show DS100 (if available)',
|
||||
'showdebug': 'Write debug messages to log',
|
||||
'graphical': 'Graphical overview for journeys',
|
||||
'update': 'Update application',
|
||||
'language': 'Language',
|
||||
'de': 'German',
|
||||
'en': 'English',
|
||||
'accessibility': 'Accessibillity',
|
||||
'arrival': 'Arrival',
|
||||
'bus': 'Bus',
|
||||
'cancelled-ride': 'Cancelled!',
|
||||
'remarks': 'Remarks',
|
||||
'travelynx-checkin': 'show travelynx checkin?',
|
||||
'lang_short': 'en',
|
||||
'iconly': 'IC',
|
||||
'changeinfo': '%s change duration',
|
||||
'changes': 'Changes',
|
||||
'clearstorage': 'Remove local data',
|
||||
'datasource': 'Data source',
|
||||
'date': 'Date',
|
||||
'de': 'German',
|
||||
'departure': 'Departure',
|
||||
'duration': 'Duration',
|
||||
'dzug': 'D-Zug',
|
||||
'en': 'English',
|
||||
'ferry': 'Ferry',
|
||||
'from': 'From',
|
||||
'graphical': 'Graphical overview for journeys',
|
||||
'iceonly': 'ICE',
|
||||
'dzug': 'D-Zug'
|
||||
'iconly': 'IC',
|
||||
'journeyoverview': 'Go to journeysoverview',
|
||||
'label_earlier': 'Earlier connections',
|
||||
'label_later': 'Later connections',
|
||||
'lang_short': 'en',
|
||||
'language': 'Language',
|
||||
'lastjourney': 'Go to last selected journey',
|
||||
'longdistancetrain': 'Long distance trains',
|
||||
'optional': '(optional)',
|
||||
'options': 'Options',
|
||||
'platform': 'Platform',
|
||||
'products': 'Products',
|
||||
'regionaltrain': 'Regional trains',
|
||||
'remarks': 'Remarks',
|
||||
'save': 'Save',
|
||||
'search': 'Search',
|
||||
'setfromto': 'Set as from/to',
|
||||
'settings': 'Settings',
|
||||
'showdebug': 'Write debug messages to log',
|
||||
'showds100': 'Show DS100 (if available)',
|
||||
'station': 'Station',
|
||||
'suburbantrain': 'Suburban Trains',
|
||||
'subway': 'Subway',
|
||||
'swap': 'Swap from/to',
|
||||
'taxi': 'Taxi',
|
||||
'time': 'Time',
|
||||
'to': 'To',
|
||||
'tram': 'Tram',
|
||||
'transferinfo': 'Travel to %s',
|
||||
'travelynx-checkin': 'show travelynx checkin?',
|
||||
'update': 'Update application',
|
||||
'via': 'Via',
|
||||
'walkinfo': 'Walk to %s (apprx. %s meters)'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue