Files
TREK/shared/src/i18n/et/planner.ts
T
Maurice bee500880e fix(i18n): every language says one file and five files its own way
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.
2026-10-08 00:01:59 +00:00

71 lines
3.1 KiB
TypeScript

import type { TranslationStrings } from '../types';
const planner: TranslationStrings = {
'planner.places': 'Kohad',
'planner.bookings': 'Broneeringud',
'planner.packingList': 'Pakkimisnimekiri',
'planner.documents': 'Dokumendid',
'planner.dayPlan': 'Päevaplaan',
'planner.reservations': 'Broneeringud',
'planner.minTwoPlaces': 'Vaja on vähemalt kahte koordinaatidega kohta',
'planner.noGeoPlaces': 'Koordinaatidega kohti pole',
'planner.routeCalculated': 'Marsruut arvutatud',
'planner.routeCalcFailed': 'Marsruuti ei saanud arvutada',
'planner.routeError': 'Viga marsruudi arvutamisel',
'planner.icsExportFailed': 'ICS-i eksport ebaõnnestus',
'planner.routeOptimized': 'Marsruut optimeeritud',
'planner.reservationUpdated': 'Broneering uuendatud',
'planner.reservationAdded': 'Broneering lisatud',
'planner.confirmDeleteReservation': 'Kas kustutada broneering?',
'planner.reservationDeleted': 'Broneering kustutatud',
'planner.days': 'Päevad',
'planner.allPlaces': 'Kõik kohad',
'planner.totalPlaces': 'Kokku {n} kohta',
'planner.totalPlaces.one': 'Kokku {n} koht',
'planner.noDaysPlanned': 'Päevi pole veel plaanitud',
'planner.editTrip': 'Muuda reisi →',
'planner.placeOne': '1 koht',
'planner.placeN': '{n} kohta',
'planner.placeN.one': '{n} koht',
'planner.addNote': 'Lisa märge',
'planner.noEntries': 'Sellel päeval pole kirjeid',
'planner.addPlace': 'Lisa koht või tegevus',
'planner.addPlaceShort': '+ Lisa koht või tegevus',
'planner.resPending': 'Broneering ootel',
'planner.resConfirmed': 'Broneering kinnitatud',
'planner.notePlaceholder': 'Märkus…',
'planner.noteTimePlaceholder': 'Kellaaeg (valikuline)',
'planner.noteExamplePlaceholder': 'Nt S3 kell 14:30 pearaudteejaamast, praam 7. kai juurest, lõunapaus…',
'planner.totalCost': 'Kogukulu',
'planner.searchPlaces': 'Otsi kohti…',
'planner.allCategories': 'Kõik kategooriad',
'planner.noPlacesFound': 'Kohti ei leitud',
'planner.addFirstPlace': 'Lisa esimene koht',
'planner.noReservations': 'Broneeringuid pole',
'planner.addFirstReservation': 'Lisa esimene broneering',
'planner.new': 'Uus',
'planner.addToDay': '+ Päev',
'planner.calculating': 'Arvutamine…',
'planner.route': 'Marsruut',
'planner.optimize': 'Optimeeri',
'planner.openGoogleMaps': 'Ava Google Mapsis',
'planner.openCoMaps': 'Ava CoMapsis',
'planner.selectDayHint': 'Päevaplaani nägemiseks vali päev vasakpoolsest loendist',
'planner.noPlacesForDay': 'Sellel päeval pole veel kohti',
'planner.addPlacesLink': 'Lisa kohti →',
'planner.minTotal': 'min kokku',
'planner.noReservation': 'Broneeringuta',
'planner.removeFromDay': 'Eemalda päevast',
'planner.addToThisDay': 'Lisa päevale',
'planner.overview': 'Ülevaade',
'planner.noDays': 'Päevi veel pole',
'planner.editTripToAddDays': 'Päevade lisamiseks muuda reisi',
'planner.dayCount': '{n} päeva',
'planner.dayCount.one': '{n} päev',
'planner.clickToUnlock': 'Lukustuse eemaldamiseks klõpsa',
'planner.keepPosition': 'Säilita asukoht marsruudi optimeerimisel',
'planner.dayDetails': 'Päeva üksikasjad',
'planner.dayN': 'Päev {n}',
};
export default planner;