mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 07:07:31 +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.
109 lines
5.4 KiB
TypeScript
109 lines
5.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const packing: TranslationStrings = {
|
||
'packing.actions': 'Aktionen',
|
||
'packing.editDone': 'Fertig',
|
||
'packing.personalEmptyHint':
|
||
'Deine persönliche Liste ist leer — kopiere geteilte Objekte herüber oder füge eigene hinzu.',
|
||
'packing.assignMembers': 'Mitglieder zuweisen',
|
||
'packing.categoryOptions': 'Listenoptionen',
|
||
'packing.editItem': 'Objekt bearbeiten',
|
||
'packing.itemName': 'Name',
|
||
'packing.itemQuantity': 'Menge',
|
||
'packing.packedCount': '{packed} von {total} gepackt',
|
||
'packing.packedMore': 'Eins mehr packen',
|
||
'packing.packedLess': 'Eins weniger packen',
|
||
'packing.itemWeight': 'Gewicht (g)',
|
||
'packing.title': 'Packliste',
|
||
'packing.empty': 'Packliste ist leer',
|
||
'packing.import': 'Importieren',
|
||
'packing.importTitle': 'Packliste importieren',
|
||
'packing.importHint':
|
||
'Ein Eintrag pro Zeile. Format: Kategorie, Name, Gewicht in g (optional), Tasche (optional), checked/unchecked (optional)',
|
||
'packing.importPlaceholder':
|
||
'Hygiene, Zahnbürste\nKleidung, T-Shirts, 200\nDokumente, Reisepass, , Handgepäck\nElektronik, Ladekabel, 50, Koffer, checked',
|
||
'packing.importCsv': 'CSV/TXT/MD laden',
|
||
'packing.export': 'Exportieren',
|
||
'packing.exportPrint': 'Drucken oder als PDF speichern',
|
||
'packing.exportMarkdown': 'Markdown-Checkliste (.md)',
|
||
'packing.exportCsv': 'CSV für den Import (.csv)',
|
||
'packing.printItems': 'Einträge',
|
||
'packing.printPacked': 'Gepackt',
|
||
'packing.importHintMarkdown':
|
||
'Auch eine Markdown-Liste geht: Eine Überschrift benennt die Kategorie, "- [ ]" und "- [x]" werden zu Einträgen, und "3x" vor einem Namen setzt die Menge.',
|
||
'packing.importAction': '{count} importieren',
|
||
'packing.importSuccess': '{count} Einträge importiert',
|
||
'packing.importSuccess.one': '{count} Eintrag importiert',
|
||
'packing.importError': 'Import fehlgeschlagen',
|
||
'packing.importEmpty': 'Keine Einträge zum Importieren',
|
||
'packing.progress': '{packed} von {total} gepackt ({percent}%)',
|
||
'packing.clearChecked': '{count} abgehakte entfernen',
|
||
'packing.clearCheckedShort': '{count} entfernen',
|
||
'packing.allPacked': 'Alles gepackt!',
|
||
'packing.addPlaceholder': 'Neuen Gegenstand hinzufügen...',
|
||
'packing.categoryPlaceholder': 'Liste...',
|
||
'packing.filterAll': 'Alle',
|
||
'packing.filterOpen': 'Offen',
|
||
'packing.filterDone': 'Erledigt',
|
||
'packing.sortBy': 'Sortieren nach',
|
||
'packing.sortByName': 'A bis Z',
|
||
'packing.emptyTitle': 'Packliste ist leer',
|
||
'packing.emptyFiltered': 'Keine Gegenstände in diesem Filter',
|
||
'packing.menuRename': 'Umbenennen',
|
||
'packing.menuCheckAll': 'Alle abhaken',
|
||
'packing.menuUncheckAll': 'Alle Haken entfernen',
|
||
'packing.menuDeleteCat': 'Liste löschen',
|
||
'packing.noMembers': 'Keine Mitglieder',
|
||
'packing.addItem': 'Eintrag hinzufügen',
|
||
'packing.addItemPlaceholder': 'Artikelname...',
|
||
'packing.addCategory': 'Liste hinzufügen',
|
||
'packing.newCategoryPlaceholder': 'Listenname (z. B. Kleidung)',
|
||
'packing.applyTemplate': 'Vorlage anwenden',
|
||
'packing.template': 'Vorlage',
|
||
'packing.templateApplied': '{count} Einträge aus Vorlage hinzugefügt',
|
||
'packing.templateApplied.one': '{count} Eintrag aus Vorlage hinzugefügt',
|
||
'packing.templateError': 'Vorlage konnte nicht angewendet werden',
|
||
'packing.saveAsTemplate': 'Als Vorlage speichern',
|
||
'packing.templateName': 'Vorlagenname',
|
||
'packing.templateSaved': 'Packliste als Vorlage gespeichert',
|
||
'packing.bags': 'Gepäck',
|
||
'packing.noBag': 'Nicht zugeordnet',
|
||
'packing.totalWeight': 'Gesamtgewicht',
|
||
'packing.packedWeight': 'Gepackt',
|
||
'packing.perPerson': 'Pro Person',
|
||
'packing.perPersonSharedHint': 'Enthält den Anteil an einer Tasche, die mehrere tragen, gleichmäßig aufgeteilt',
|
||
'packing.quantity': 'Menge',
|
||
'packing.bagName': 'Name...',
|
||
'packing.addBag': 'Gepäck hinzufügen',
|
||
'packing.changeCategory': 'In Liste verschieben',
|
||
'packing.makePrivate': 'Privat machen',
|
||
'packing.makePublic': 'Teilen',
|
||
'packing.privateHint': 'Privat — nur für dich sichtbar',
|
||
'packing.viewCommon': 'Gemeinsam',
|
||
'packing.viewPersonal': 'Meine Liste',
|
||
'packing.share': 'Teilen',
|
||
'packing.tierCommonHint': 'Im Gruppen-Pool, für alle sichtbar',
|
||
'packing.tierPersonal': 'Persönlich',
|
||
'packing.tierPersonalHint': 'Privat — nur du siehst es',
|
||
'packing.tierShared': 'Mit Personen teilen…',
|
||
'packing.noOneToShare': 'Noch niemand sonst auf dieser Reise',
|
||
'packing.takenCareOf': 'von {name}',
|
||
'packing.sharedWithCount': 'geteilt mit {count}',
|
||
'packing.broughtBy': 'bringt {name}',
|
||
'packing.alsoBring': 'Bring ich auch mit',
|
||
'packing.alsoBringingStop': 'Bring ich doch nicht mit',
|
||
'packing.cloneToMine': 'In meine Liste kopieren',
|
||
'packing.confirm.clearChecked': 'Möchtest du {count} abgehakte Gegenstände wirklich entfernen?',
|
||
'packing.confirm.clearChecked.one': 'Möchtest du {count} abgehakten Gegenstand wirklich entfernen?',
|
||
'packing.confirm.deleteCat': 'Möchtest du die Liste „{name}“ mit {count} Einträgen wirklich löschen?',
|
||
'packing.confirm.deleteCat.one': 'Möchtest du die Liste „{name}“ mit {count} Eintrag wirklich löschen?',
|
||
'packing.defaultCategory': 'Sonstiges',
|
||
'packing.toast.saveError': 'Fehler beim Speichern',
|
||
'packing.toast.deleteError': 'Fehler beim Löschen',
|
||
'packing.toast.renameError': 'Fehler beim Umbenennen',
|
||
'packing.toast.addError': 'Fehler beim Hinzufügen',
|
||
'packing.bagLimit': 'Gewichtslimit',
|
||
'packing.setBagLimit': 'Limit setzen',
|
||
};
|
||
export default packing;
|