mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 08:53:13 +00:00
bdaddc44ac
The plural parity check only knows the groups en already declares, so a
"{count} ..." string added as a plain key kept one form in every
language: Polish read "Usuń 1 spakowanych", Czech "Odstranit 1
hotových" and Greek "1 λεπτά". 44 such en keys become plural groups with their
forms in all 27 locales: the collection, packing, day plan and offline
banner counts, the relative times, the audit log, the tour and transit
minutes, the share and photo hints. Labels like "Notes: {count}" get
their forms too, so a language can still inflect them later. The
dashboard's hand-rolled activeOne/activeMany pair, unused, becomes one
group, dashboard.subtitle.active.
i18n-parity now refuses an en string with {count} or {n} that is no
plural group. NOT_PLURAL lists the eleven where the number is never a
quantity (a day number, a step, a waypoint, the equator multiplier),
each with its reason, and an entry that stops matching fails as well.
Callers that worked around the engine:
- Copy to trip switched between two keys on placeIds.length > 1;
collections.copyN now carries the one-place wording as its `one` form,
where the language's `one` is the number 1 alone.
- The plugin dependency toasts said "addon(s)" and "plugin(s)"; they are
groups now and the panels pass the list length as the count.
- The dismissed suggestions count went in as a string and the comp days
as a formatted string, so no form was picked; both pass numbers.
112 lines
5.5 KiB
TypeScript
112 lines
5.5 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const packing: TranslationStrings = {
|
||
'packing.actions': 'Acties',
|
||
'packing.editDone': 'Klaar',
|
||
'packing.personalEmptyHint': 'Je persoonlijke lijst is leeg — kopieer gedeelde items of voeg je eigen items toe.',
|
||
'packing.assignMembers': 'Leden toewijzen',
|
||
'packing.categoryOptions': 'Lijstopties',
|
||
'packing.editItem': 'Item bewerken',
|
||
'packing.itemName': 'Naam',
|
||
'packing.itemQuantity': 'Aantal',
|
||
'packing.packedCount': '{packed} van {total} ingepakt',
|
||
'packing.packedMore': 'Eén meer inpakken',
|
||
'packing.packedLess': 'Eén minder inpakken',
|
||
'packing.itemWeight': 'Gewicht (g)',
|
||
'packing.title': 'Inpaklijst',
|
||
'packing.empty': 'Inpaklijst is leeg',
|
||
'packing.import': 'Importeren',
|
||
'packing.importTitle': 'Inpaklijst importeren',
|
||
'packing.importHint':
|
||
'Eén item per regel. Formaat: Categorie, Naam, Gewicht in g (optioneel), Tas (optioneel), checked/unchecked (optioneel)',
|
||
'packing.importPlaceholder':
|
||
'Hygiëne, Tandenborstel\nKleding, T-shirts, 200\nDocumenten, Paspoort, , Handbagage\nElektronica, Oplader, 50, Koffer, checked',
|
||
'packing.importCsv': 'CSV/TXT/MD laden',
|
||
'packing.export': 'Exporteren',
|
||
'packing.exportPrint': 'Afdrukken of opslaan als pdf',
|
||
'packing.exportMarkdown': 'Markdown-checklist (.md)',
|
||
'packing.exportCsv': 'CSV voor import (.csv)',
|
||
'packing.printItems': 'Items',
|
||
'packing.printPacked': 'Ingepakt',
|
||
'packing.importHintMarkdown':
|
||
'Een Markdown-lijst werkt ook: een kop geeft de categorie aan, "- [ ]" en "- [x]" worden items en "3x" voor een naam stelt het aantal in.',
|
||
'packing.importAction': '{count} importeren',
|
||
'packing.importAction.one': '{count} importeren',
|
||
'packing.importSuccess': '{count} items geïmporteerd',
|
||
'packing.importSuccess.one': '{count} item geïmporteerd',
|
||
'packing.importError': 'Import mislukt',
|
||
'packing.importEmpty': 'Geen items om te importeren',
|
||
'packing.progress': '{packed} van {total} ingepakt ({percent}%)',
|
||
'packing.clearChecked': '{count} aangevinkte verwijderen',
|
||
'packing.clearChecked.one': '{count} aangevinkte verwijderen',
|
||
'packing.clearCheckedShort': '{count} verwijderen',
|
||
'packing.clearCheckedShort.one': '{count} verwijderen',
|
||
'packing.allPacked': 'Alles ingepakt!',
|
||
'packing.addPlaceholder': 'Nieuw item toevoegen...',
|
||
'packing.categoryPlaceholder': 'Lijst...',
|
||
'packing.filterAll': 'Alle',
|
||
'packing.filterOpen': 'Openstaand',
|
||
'packing.filterDone': 'Klaar',
|
||
'packing.sortBy': 'Sorteren op',
|
||
'packing.sortByName': 'A tot Z',
|
||
'packing.emptyTitle': 'Inpaklijst is leeg',
|
||
'packing.emptyFiltered': 'Geen items gevonden voor dit filter',
|
||
'packing.menuRename': 'Hernoemen',
|
||
'packing.menuCheckAll': 'Alles aanvinken',
|
||
'packing.menuUncheckAll': 'Alles uitvinken',
|
||
'packing.menuDeleteCat': 'Lijst verwijderen',
|
||
'packing.addItem': 'Item toevoegen',
|
||
'packing.addItemPlaceholder': 'Itemnaam...',
|
||
'packing.addCategory': 'Lijst toevoegen',
|
||
'packing.newCategoryPlaceholder': 'Lijstnaam (bijv. Kleding)',
|
||
'packing.applyTemplate': 'Sjabloon toepassen',
|
||
'packing.template': 'Sjabloon',
|
||
'packing.templateApplied': '{count} items toegevoegd vanuit sjabloon',
|
||
'packing.templateApplied.one': '{count} item toegevoegd vanuit sjabloon',
|
||
'packing.templateError': 'Fout bij toepassen van sjabloon',
|
||
'packing.saveAsTemplate': 'Opslaan als sjabloon',
|
||
'packing.templateName': 'Sjabloonnaam',
|
||
'packing.templateSaved': 'Inpaklijst opgeslagen als sjabloon',
|
||
'packing.noMembers': 'Geen leden',
|
||
'packing.bags': 'Bagage',
|
||
'packing.noBag': 'Niet toegewezen',
|
||
'packing.totalWeight': 'Totaalgewicht',
|
||
'packing.packedWeight': 'Ingepakt',
|
||
'packing.perPerson': 'Per persoon',
|
||
'packing.perPersonSharedHint': 'Bevat een gelijk deel van een tas die door meerdere mensen wordt gedragen',
|
||
'packing.quantity': 'Aantal',
|
||
'packing.bagName': 'Naam...',
|
||
'packing.addBag': 'Bagage toevoegen',
|
||
'packing.changeCategory': 'Naar lijst verplaatsen',
|
||
'packing.confirm.clearChecked': 'Weet je zeker dat je {count} aangevinkte items wilt verwijderen?',
|
||
'packing.confirm.clearChecked.one': 'Weet je zeker dat je {count} aangevinkt item wilt verwijderen?',
|
||
'packing.confirm.deleteCat': 'Weet je zeker dat je de lijst "{name}" met {count} items wilt verwijderen?',
|
||
'packing.confirm.deleteCat.one': 'Weet je zeker dat je de lijst "{name}" met {count} item wilt verwijderen?',
|
||
'packing.defaultCategory': 'Overig',
|
||
'packing.toast.saveError': 'Opslaan mislukt',
|
||
'packing.toast.deleteError': 'Verwijderen mislukt',
|
||
'packing.toast.renameError': 'Hernoemen mislukt',
|
||
'packing.toast.addError': 'Toevoegen mislukt',
|
||
'packing.makePrivate': 'Privé maken',
|
||
'packing.makePublic': 'Delen',
|
||
'packing.privateHint': 'Privé — alleen zichtbaar voor jou',
|
||
'packing.viewCommon': 'Gedeeld',
|
||
'packing.viewPersonal': 'Mijn lijst',
|
||
'packing.share': 'Delen',
|
||
'packing.tierCommonHint': 'In de groep, voor iedereen zichtbaar',
|
||
'packing.tierPersonal': 'Persoonlijk',
|
||
'packing.tierPersonalHint': 'Privé — alleen jij ziet het',
|
||
'packing.tierShared': 'Delen met…',
|
||
'packing.noOneToShare': 'Nog niemand anders op deze reis',
|
||
'packing.takenCareOf': 'door {name}',
|
||
'packing.sharedWithCount': 'gedeeld met {count}',
|
||
'packing.sharedWithCount.one': 'gedeeld met {count}',
|
||
'packing.broughtBy': 'meegenomen door {name}',
|
||
'packing.alsoBring': 'Ik kan het ook meenemen',
|
||
'packing.alsoBringingStop': 'Ik neem het niet mee',
|
||
'packing.cloneToMine': 'Kopiëren naar mijn lijst',
|
||
'packing.bagLimit': 'Gewichtslimiet',
|
||
'packing.setBagLimit': 'Limiet instellen',
|
||
};
|
||
export default packing;
|