mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +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.
71 lines
3.4 KiB
TypeScript
71 lines
3.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const planner: TranslationStrings = {
|
|
'planner.places': 'Helyek',
|
|
'planner.bookings': 'Foglalások',
|
|
'planner.packingList': 'Csomagolási lista',
|
|
'planner.documents': 'Dokumentumok',
|
|
'planner.dayPlan': 'Napi terv',
|
|
'planner.reservations': 'Foglalások',
|
|
'planner.minTwoPlaces': 'Legalább 2 koordinátákkal rendelkező hely szükséges',
|
|
'planner.noGeoPlaces': 'Nincsenek koordinátákkal rendelkező helyek',
|
|
'planner.routeCalculated': 'Útvonal kiszámítva',
|
|
'planner.routeCalcFailed': 'Nem sikerült kiszámítani az útvonalat',
|
|
'planner.routeError': 'Hiba az útvonalszámítás során',
|
|
'planner.icsExportFailed': 'Az ICS-exportálás sikertelen',
|
|
'planner.routeOptimized': 'Útvonal optimalizálva',
|
|
'planner.reservationUpdated': 'Foglalás frissítve',
|
|
'planner.reservationAdded': 'Foglalás hozzáadva',
|
|
'planner.confirmDeleteReservation': 'Foglalás törlése?',
|
|
'planner.reservationDeleted': 'Foglalás törölve',
|
|
'planner.days': 'nap',
|
|
'planner.allPlaces': 'Összes hely',
|
|
'planner.totalPlaces': 'Összesen {n} hely',
|
|
'planner.totalPlaces.one': 'Összesen {n} hely',
|
|
'planner.noDaysPlanned': 'Még nincsenek napok tervezve',
|
|
'planner.editTrip': 'Utazás szerkesztése →',
|
|
'planner.placeOne': '1 hely',
|
|
'planner.placeN': '{n} hely',
|
|
'planner.placeN.one': '{n} hely',
|
|
'planner.addNote': 'Jegyzet hozzáadása',
|
|
'planner.noEntries': 'Nincsenek bejegyzések erre a napra',
|
|
'planner.addPlace': 'Hely/tevékenység hozzáadása',
|
|
'planner.addPlaceShort': '+ Hely/tevékenység hozzáadása',
|
|
'planner.resPending': 'Foglalás függőben',
|
|
'planner.resConfirmed': 'Foglalás megerősítve',
|
|
'planner.notePlaceholder': 'Jegyzet…',
|
|
'planner.noteTimePlaceholder': 'Időpont (opcionális)',
|
|
'planner.noteExamplePlaceholder': 'pl. S3 14:30-kor a főpályaudvarról, komp a 7. mólóról, ebédszünet…',
|
|
'planner.totalCost': 'Összköltség',
|
|
'planner.searchPlaces': 'Helyek keresése…',
|
|
'planner.allCategories': 'Összes kategória',
|
|
'planner.noPlacesFound': 'Nem találhatók helyek',
|
|
'planner.addFirstPlace': 'Első hely hozzáadása',
|
|
'planner.noReservations': 'Nincsenek foglalások',
|
|
'planner.addFirstReservation': 'Első foglalás hozzáadása',
|
|
'planner.new': 'Új',
|
|
'planner.addToDay': '+ Nap',
|
|
'planner.calculating': 'Számítás…',
|
|
'planner.route': 'Útvonal',
|
|
'planner.optimize': 'Optimalizálás',
|
|
'planner.openGoogleMaps': 'Megnyitás a Google Térképben',
|
|
'planner.openCoMaps': 'Megnyitás a CoMaps-ben',
|
|
'planner.selectDayHint': 'Válassz egy napot a bal oldali listából a napi terv megtekintéséhez',
|
|
'planner.noPlacesForDay': 'Még nincsenek helyek erre a napra',
|
|
'planner.addPlacesLink': 'Helyek hozzáadása →',
|
|
'planner.minTotal': 'perc összesen',
|
|
'planner.noReservation': 'Nincs foglalás',
|
|
'planner.removeFromDay': 'Eltávolítás a napról',
|
|
'planner.addToThisDay': 'Hozzáadás a naphoz',
|
|
'planner.overview': 'Áttekintés',
|
|
'planner.noDays': 'Még nincsenek napok',
|
|
'planner.editTripToAddDays': 'Szerkeszd az utazást napok hozzáadásához',
|
|
'planner.dayCount': '{n} nap',
|
|
'planner.dayCount.one': '{n} nap',
|
|
'planner.clickToUnlock': 'Kattints a feloldáshoz',
|
|
'planner.keepPosition': 'Pozíció megtartása útvonal-optimalizálás során',
|
|
'planner.dayDetails': 'Nap részletei',
|
|
'planner.dayN': '{n}. nap',
|
|
};
|
|
export default planner;
|