mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
bee500880e
Finishes the plural work the previous wip commit started. t() picks a count string's form by the language's own Intl.PluralRules, and every locale now spells out the forms its language reaches with whole numbers, about 160 count strings in all: one, few and many in Russian, Ukrainian and Polish, one and few in Czech and Slovak, five forms in Arabic, one in the others, none in Japanese, Korean, Chinese, Thai, Vietnamese and Indonesian. Each language was translated and then reviewed on its own. English no longer reads "1 files", "1 updates available" or "photo(s)". Count labels shown next to a number now take that number too: the atlas and admin statistics, the trip cards, journey and shared trip pills, packing templates, receipts, storage usage, the Studio export note. A heading that shared its key with a counted label keeps a key of its own (the boarding pass heading, the Bookings tab), so languages that put a noun after a number in the singular keep a plural heading. The plugin hosts chip passed its count through .replace() after t() and never got a form; three toasts sent the count as text. Mail and push texts for shared photos and suppressed storage failures pick their form in code through pluralForm. A whole number sent as text counts too, which is how in-app notification params arrive, and the plural rule follows the language of the strings on screen while another one still loads. The parity check knows which forms each language needs and refuses missing and impossible ones. It also reads keys that contain a colon now: it skipped them, which hid 58 missing plugin permission texts in Catalan and 35 in Vietnamese, both translated. The client parity test covers every language of the registry instead of a hand-kept list of 19, and the placeholder spec lets a form spell its number out only where its category is that one number. Brazilian Portuguese error screens were in Breton, and an Arabic dashboard label held Hebrew text.
265 lines
14 KiB
TypeScript
265 lines
14 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const reservations: TranslationStrings = {
|
|
'reservations.title': 'Buchungen',
|
|
'reservations.empty': 'Keine Reservierungen vorhanden',
|
|
'reservations.emptyHint': 'Füge Reservierungen für Flüge, Hotels und mehr hinzu',
|
|
'reservations.add': 'Reservierung hinzufügen',
|
|
'reservations.addManual': 'Manuelle Buchung',
|
|
'reservations.placeHint':
|
|
'Tipp: Buchungen werden am besten direkt über einen angelegten Ort erstellt, um sie mit dem Tagesplan zu verknüpfen.',
|
|
'reservations.confirmed': 'Bestätigt',
|
|
'reservations.pending': 'Ausstehend',
|
|
'reservations.summary': '{confirmed} bestätigt, {pending} ausstehend',
|
|
'reservations.showFiles': 'Dateien anzeigen',
|
|
'reservations.editTitle': 'Reservierung bearbeiten',
|
|
'reservations.status': 'Status',
|
|
'reservations.datetime': 'Datum & Uhrzeit',
|
|
'reservations.startTime': 'Startzeit',
|
|
'reservations.endTime': 'Endzeit',
|
|
'reservations.date': 'Datum',
|
|
'reservations.time': 'Uhrzeit',
|
|
'reservations.timeAlt': 'Uhrzeit (alternativ, z.B. 19:30)',
|
|
'reservations.notes': 'Notizen',
|
|
'reservations.notesPlaceholder': 'Zusätzliche Notizen...',
|
|
'reservations.urlLabel': 'Link',
|
|
'reservations.urlPlaceholder': 'https://...',
|
|
'reservations.meta.airline': 'Fluggesellschaft',
|
|
'reservations.meta.flightNumber': 'Flugnr.',
|
|
'reservations.meta.from': 'Von',
|
|
'reservations.meta.to': 'Nach',
|
|
'reservations.layover.route': 'Route',
|
|
'reservations.layover.stop': 'Zwischenstopp',
|
|
'reservations.layover.addStop': 'Zwischenstopp hinzufügen',
|
|
'reservations.cruise.embark': 'Einschiffung',
|
|
'reservations.cruise.disembark': 'Ausschiffung',
|
|
'reservations.cruise.port': 'Anlaufhafen',
|
|
'reservations.cruise.addPort': 'Hafen hinzufügen',
|
|
'reservations.layover.connection': 'Anschlussflug',
|
|
'reservations.layover.layover': 'Zwischenstopp',
|
|
'reservations.needsReview': 'Prüfen',
|
|
'reservations.needsReviewHint': 'Flughafen konnte nicht automatisch erkannt werden — bitte Ort bestätigen.',
|
|
'reservations.searchLocation': 'Bahnhof, Hafen, Adresse suchen…',
|
|
'reservations.meta.trainNumber': 'Zugnr.',
|
|
'reservations.meta.platform': 'Gleis',
|
|
'reservations.meta.seat': 'Sitzplatz',
|
|
'reservations.meta.checkIn': 'Check-in',
|
|
'reservations.meta.checkInUntil': 'Check-in bis',
|
|
'reservations.meta.checkOut': 'Check-out',
|
|
'reservations.meta.linkAccommodation': 'Unterkunft',
|
|
'reservations.meta.pickAccommodation': 'Mit Unterkunft verknüpfen',
|
|
'reservations.meta.noAccommodation': 'Keine',
|
|
'reservations.meta.hotelPlace': 'Unterkunft',
|
|
'reservations.meta.linkPlace': 'Ort / Aktivität',
|
|
'reservations.meta.pickPlace': 'Ort / Aktivität wählen',
|
|
'reservations.meta.pickHotel': 'Unterkunft auswählen',
|
|
'reservations.meta.fromDay': 'Von',
|
|
'reservations.meta.toDay': 'Bis',
|
|
'reservations.meta.selectDay': 'Tag wählen',
|
|
'reservations.type.flight': 'Flug',
|
|
'reservations.type.hotel': 'Unterkunft',
|
|
'reservations.type.restaurant': 'Restaurant',
|
|
'reservations.type.train': 'Zug',
|
|
'reservations.type.car': 'Auto',
|
|
'reservations.type.cruise': 'Kreuzfahrt',
|
|
'reservations.type.event': 'Veranstaltung',
|
|
'reservations.type.tour': 'Tour',
|
|
'reservations.type.parking': 'Parkplatz',
|
|
'reservations.type.other': 'Sonstiges',
|
|
'reservations.type.bus': 'Bus',
|
|
'reservations.type.ferry': 'Fähre',
|
|
'reservations.type.cable_car': 'Seilbahn',
|
|
'reservations.type.bicycle': 'Fahrrad',
|
|
'reservations.type.taxi': 'Taxi',
|
|
'reservations.type.transit': 'ÖPNV',
|
|
'reservations.typeShort.transit': 'ÖPNV',
|
|
'reservations.type.transport_other': 'Sonstiges',
|
|
'reservations.confirm.delete': 'Möchtest du die Reservierung "{name}" wirklich löschen?',
|
|
'reservations.confirm.deleteTitle': 'Buchung löschen?',
|
|
'reservations.confirm.deleteBody': '"{name}" wird unwiderruflich gelöscht.',
|
|
'reservations.toast.updated': 'Reservierung aktualisiert',
|
|
'reservations.toast.removed': 'Reservierung gelöscht',
|
|
'reservations.toast.saveError': 'Fehler beim Speichern',
|
|
'reservations.toast.updateError': 'Fehler beim Aktualisieren',
|
|
'reservations.toast.deleteError': 'Fehler beim Löschen',
|
|
'reservations.confirm.remove': 'Reservierung für "{name}" entfernen?',
|
|
'reservations.toast.fileUploaded': 'Datei hochgeladen',
|
|
'reservations.toast.uploadError': 'Fehler beim Hochladen',
|
|
'reservations.newTitle': 'Neue Buchung',
|
|
'reservations.bookingType': 'Art der Buchung',
|
|
'reservations.titleLabel': 'Titel',
|
|
'reservations.titlePlaceholder': 'z.B. Lufthansa LH123, Hotel Adlon, ...',
|
|
'reservations.locationAddress': 'Ort / Adresse',
|
|
'reservations.locationPlaceholder': 'Adresse, Flughafen, Hotel...',
|
|
'reservations.confirmationCode': 'Buchungscode',
|
|
'reservations.routeLabel': 'Strecke',
|
|
'reservations.segmentCodes': 'Codes pro Abschnitt',
|
|
'reservations.confirmationPlaceholder': 'z.B. ABC12345',
|
|
'reservations.day': 'Tag',
|
|
'reservations.noDay': 'Kein Tag',
|
|
'reservations.place': 'Ort',
|
|
'reservations.noPlace': 'Kein Ort',
|
|
'reservations.pendingSave': 'wird gespeichert…',
|
|
'reservations.uploading': 'Wird hochgeladen...',
|
|
'reservations.attachFile': 'Datei anhängen',
|
|
'reservations.linkExisting': 'Vorhandene verknüpfen',
|
|
'reservations.linkAssignment': 'Mit Tagesplanung verknüpfen',
|
|
'reservations.linkedTo': 'Verknüpft mit',
|
|
'reservations.pickAssignment': 'Zuordnung aus dem Plan wählen...',
|
|
'reservations.noAssignment': 'Keine Verknüpfung',
|
|
'reservations.price': 'Preis',
|
|
'reservations.budgetCategory': 'Budgetkategorie',
|
|
'reservations.budgetCategoryPlaceholder': 'z.B. Transport, Unterkunft',
|
|
'reservations.budgetCategoryAuto': 'Auto (aus Buchungstyp)',
|
|
'reservations.budgetHint': 'Beim Speichern wird automatisch ein Budgeteintrag erstellt.',
|
|
'reservations.departureDate': 'Abreise',
|
|
'reservations.arrivalDate': 'Ankunft',
|
|
'reservations.departureTime': 'Abreisezeit',
|
|
'reservations.arrivalTime': 'Ankunftszeit',
|
|
'reservations.pickupDate': 'Abholung',
|
|
'reservations.returnDate': 'Rückgabe',
|
|
'reservations.pickupTime': 'Abholzeit',
|
|
'reservations.returnTime': 'Rückgabezeit',
|
|
'reservations.endDate': 'Enddatum',
|
|
'reservations.meta.departureTimezone': 'Abfl. TZ',
|
|
'reservations.meta.arrivalTimezone': 'Ank. TZ',
|
|
'reservations.span.departure': 'Abflug',
|
|
'reservations.span.arrival': 'Ankunft',
|
|
'reservations.span.inTransit': 'Unterwegs',
|
|
'reservations.span.pickup': 'Abholung',
|
|
'reservations.span.dropOff': 'Abgabe',
|
|
'reservations.span.return': 'Rückgabe',
|
|
'reservations.span.active': 'Aktiv',
|
|
'reservations.span.start': 'Start',
|
|
'reservations.span.end': 'Ende',
|
|
'reservations.span.ongoing': 'Laufend',
|
|
'reservations.validation.endBeforeStart': 'Enddatum/-zeit muss nach dem Startdatum/-zeit liegen',
|
|
'reservations.addBooking': 'Buchung hinzufügen',
|
|
'reservations.import.title': 'Buchungsbestätigungen importieren',
|
|
'reservations.import.cta': 'Aus Datei importieren',
|
|
'reservations.import.dropHere': 'Buchungsbestätigungsdateien hier ablegen oder klicken zum Auswählen',
|
|
'reservations.import.dropActive': 'Dateien zum Importieren ablegen',
|
|
'reservations.import.acceptedFormats':
|
|
'Akzeptiert: EML, PDF, PKPass, HTML, TXT (max. 10 MB pro Datei, bis zu 5 Dateien)',
|
|
'reservations.import.acceptedPhotos': 'Fotos (JPG, PNG, WEBP) liest das KI-Modell.',
|
|
'reservations.import.parsing': 'Dateien werden verarbeitet…',
|
|
'reservations.import.previewHeading': '{count} Reservierungen gefunden',
|
|
'reservations.import.previewHeading.one': '{count} Reservierung gefunden',
|
|
'reservations.import.previewEmpty': 'Aus den hochgeladenen Dateien konnten keine Reservierungen extrahiert werden.',
|
|
'reservations.import.removeItem': 'Entfernen',
|
|
'reservations.import.needsReview': 'Prüfen',
|
|
'reservations.import.tryAi': 'Mit KI auslesen',
|
|
'reservations.import.aiParsing': 'Wird mit KI ausgelesen…',
|
|
'reservations.import.confirm': '{count} Reservierungen importieren',
|
|
'reservations.import.confirm.one': '{count} Reservierung importieren',
|
|
'reservations.import.back': 'Zurück',
|
|
'reservations.import.success': '{count} Reservierungen importiert',
|
|
'reservations.import.success.one': '{count} Reservierung importiert',
|
|
'reservations.import.partialFailure': '{created} importiert, {failed} fehlgeschlagen',
|
|
'reservations.import.error':
|
|
'Verarbeitung fehlgeschlagen. Stellen Sie sicher, dass die Datei eine gültige Buchungsbestätigung ist.',
|
|
'reservations.import.unavailable': 'Buchungsimport ist auf diesem Server nicht verfügbar.',
|
|
'reservations.import.unsupportedFormat':
|
|
'Nicht unterstütztes Dateiformat. Verwenden Sie EML, PDF, PKPass, HTML oder TXT.',
|
|
'reservations.import.fileTooLarge': 'Datei „{name}" überschreitet das 10-MB-Limit.',
|
|
'reservations.airtrail.title': 'Aus AirTrail importieren',
|
|
'reservations.airtrail.cta': 'AirTrail',
|
|
'reservations.airtrail.synced': 'AirTrail',
|
|
'reservations.airtrail.syncedHint': 'Aus AirTrail synchronisiert — Änderungen bleiben in beide Richtungen synchron.',
|
|
'reservations.airtrail.notSynced': 'Nicht synchronisiert',
|
|
'reservations.airtrail.notSyncedHint': 'Dieser Flug wurde in AirTrail gelöscht und wird nicht mehr synchronisiert.',
|
|
'reservations.airtrail.layoverHint':
|
|
'Aus AirTrail importiert. Ein mehrteiliger Flug mit Zwischenstopp lässt sich keinem einzelnen AirTrail-Flug zuordnen und bleibt daher ein einmaliger Import.',
|
|
'reservations.airtrail.loadError': 'Ihre AirTrail-Flüge konnten nicht geladen werden.',
|
|
'reservations.airtrail.imported': '{count} Flüge importiert',
|
|
'reservations.airtrail.imported.one': '{count} Flug importiert',
|
|
'reservations.airtrail.skippedDuplicate': '{count} bereits in dieser Reise, übersprungen',
|
|
'reservations.airtrail.skippedDuplicate.one': '{count} bereits in dieser Reise, übersprungen',
|
|
'reservations.airtrail.nothingImported': 'Nichts zu importieren.',
|
|
'reservations.airtrail.importError': 'Import fehlgeschlagen. Bitte erneut versuchen.',
|
|
'reservations.airtrail.undo': 'Aus AirTrail importieren',
|
|
'reservations.airtrail.alreadyImported': 'Importiert',
|
|
'reservations.airtrail.duringTrip': 'Während dieser Reise',
|
|
'reservations.airtrail.otherFlights': 'Weitere Flüge',
|
|
'reservations.airtrail.empty': 'Keine Flüge in Ihrem AirTrail-Konto gefunden.',
|
|
'reservations.airtrail.importCta': '{count} importieren',
|
|
'reservations.airtrail.joinConnection': 'Als einen Flug mit Zwischenstopp in {stops} importieren',
|
|
'reservations.costsLabel': 'Kosten',
|
|
'reservations.createExpense': 'Ausgabe erstellen',
|
|
'reservations.createExpenseHint': 'Speichert die Buchung und öffnet dann den Kosten-Editor.',
|
|
'reservations.linkedExpense': 'Verknüpfte Ausgabe',
|
|
'reservations.removeExpense': 'Ausgabe entfernen',
|
|
'reservations.linkedExpenses': 'Verknüpfte Ausgaben',
|
|
'reservations.linkExpense': 'Bestehende Ausgabe verknüpfen',
|
|
'reservations.unlinkExpense': 'Lösen, Ausgabe behalten',
|
|
'reservations.noUnlinkedExpenses': 'Keine unverknüpften Ausgaben',
|
|
'reservations.travelers.label': 'Reisende',
|
|
'reservations.travelers.assign': 'Reisende zuweisen',
|
|
'reservations.travelers.none': 'Noch keine Reisenden im Trip.',
|
|
'reservations.status.switchTo': 'Auf {status} setzen',
|
|
'reservations.view.label': 'Ansicht',
|
|
'reservations.view.cards': 'Karten',
|
|
'reservations.view.list': 'Liste',
|
|
'reservations.view.timeline': 'Zeitleiste',
|
|
'reservations.filter': 'Filtern',
|
|
'reservations.searchPlaceholder': 'Suchen',
|
|
'reservations.results': '{shown} von {total}',
|
|
'reservations.resetFilters': 'Filter zurücksetzen',
|
|
'reservations.noMatches': 'Nichts passt zu diesen Filtern',
|
|
'reservations.viewOptions': 'Ansicht anpassen',
|
|
'reservations.exportCsv': 'Als Tabelle exportieren (CSV)',
|
|
'reservations.export.type': 'Typ',
|
|
'reservations.export.title': 'Titel',
|
|
'reservations.export.start': 'Beginn',
|
|
'reservations.export.end': 'Ende',
|
|
'reservations.export.from': 'Von',
|
|
'reservations.export.to': 'Nach',
|
|
'reservations.export.location': 'Ort',
|
|
'reservations.export.confirmation': 'Bestätigung',
|
|
'reservations.export.notes': 'Notizen',
|
|
'reservations.resetView': 'Ansicht zurücksetzen',
|
|
'reservations.group.label': 'Gruppieren nach',
|
|
'reservations.group.status': 'Status',
|
|
'reservations.group.day': 'Tag',
|
|
'reservations.group.type': 'Typ',
|
|
'reservations.group.none': 'Nicht gruppieren',
|
|
'reservations.transitApart': 'ÖPNV als eigener Abschnitt',
|
|
'reservations.group.before': 'Vor der Reise',
|
|
'reservations.group.after': 'Nach der Reise',
|
|
'reservations.group.undated': 'Ohne Datum',
|
|
'reservations.sort.label': 'Sortieren nach',
|
|
'reservations.sort.date': 'Datum',
|
|
'reservations.sort.title': 'Titel',
|
|
'reservations.sort.type': 'Typ',
|
|
'reservations.sort.status': 'Status',
|
|
'reservations.sort.earlyFirst': 'Früheste zuerst',
|
|
'reservations.sort.lateFirst': 'Späteste zuerst',
|
|
'reservations.sort.aToZ': 'A bis Z',
|
|
'reservations.sort.zToA': 'Z bis A',
|
|
'reservations.timeline.dayCount': '{count} Tage',
|
|
'reservations.timeline.dayCount.one': '{count} Tag',
|
|
'reservations.timeline.zoom': 'Zoom',
|
|
'reservations.timeline.trip': 'Reise',
|
|
'reservations.timeline.day': 'Tag',
|
|
'reservations.timeline.prevDay': 'Vorheriger Tag',
|
|
'reservations.timeline.nextDay': 'Nächster Tag',
|
|
'reservations.timeline.openDay': '{day} nach Stunden öffnen',
|
|
'reservations.timeline.nothingThisDay': 'An diesem Tag steht nichts an.',
|
|
'reservations.timeline.today': 'Heute',
|
|
'reservations.timeline.now': 'jetzt',
|
|
'reservations.timeline.byType': 'Eine Spur pro Typ',
|
|
'reservations.timeline.context': 'Anderen Tab einblenden',
|
|
'reservations.timeline.contextBookings': 'Buchungen',
|
|
'reservations.timeline.contextTransports': 'Transporte',
|
|
'reservations.timeline.noneDated': 'Hier hat noch nichts ein Datum.',
|
|
'reservations.undated': 'Ohne Datum',
|
|
'reservations.nights': 'Nächte',
|
|
'reservations.start': 'Beginn',
|
|
'reservations.end': 'Ende',
|
|
'reservations.rename': 'Umbenennen',
|
|
'reservations.copyCode': 'Buchungscode kopieren',
|
|
'reservations.copyFailed': 'Kopieren hat nicht geklappt',
|
|
'reservations.showInFiles': 'In Dateien zeigen',
|
|
};
|
|
export default reservations;
|