mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +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.
72 lines
4.7 KiB
TypeScript
72 lines
4.7 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const planner: TranslationStrings = {
|
|
'planner.places': 'Τοποθεσίες',
|
|
'planner.bookings': 'Κρατήσεις',
|
|
'planner.packingList': 'Λίστα Αποσκευών',
|
|
'planner.documents': 'Έγγραφα',
|
|
'planner.dayPlan': 'Πρόγραμμα Ημέρας',
|
|
'planner.reservations': 'Κρατήσεις',
|
|
'planner.minTwoPlaces': 'Απαιτούνται τουλάχιστον 2 τοποθεσίες με συντεταγμένες',
|
|
'planner.noGeoPlaces': 'Δεν υπάρχουν διαθέσιμες τοποθεσίες με συντεταγμένες',
|
|
'planner.routeCalculated': 'Η διαδρομή υπολογίστηκε',
|
|
'planner.routeCalcFailed': 'Δεν ήταν δυνατός ο υπολογισμός της διαδρομής',
|
|
'planner.routeError': 'Σφάλμα υπολογισμού διαδρομής',
|
|
'planner.icsExportFailed': 'Η εξαγωγή ICS απέτυχε',
|
|
'planner.routeOptimized': 'Η διαδρομή βελτιστοποιήθηκε',
|
|
'planner.reservationUpdated': 'Η κράτηση ενημερώθηκε',
|
|
'planner.reservationAdded': 'Η κράτηση προστέθηκε',
|
|
'planner.confirmDeleteReservation': 'Διαγραφή κράτησης;',
|
|
'planner.reservationDeleted': 'Η κράτηση διαγράφηκε',
|
|
'planner.days': 'Ημέρες',
|
|
'planner.allPlaces': 'Όλες οι Τοποθεσίες',
|
|
'planner.totalPlaces': '{n} τοποθεσίες συνολικά',
|
|
'planner.totalPlaces.one': '{n} τοποθεσία συνολικά',
|
|
'planner.noDaysPlanned': 'Δεν έχουν προγραμματιστεί ημέρες ακόμη',
|
|
'planner.editTrip': 'Επεξεργασία ταξιδιού \u2192',
|
|
'planner.placeOne': '1 τοποθεσία',
|
|
'planner.placeN': '{n} τοποθεσίες',
|
|
'planner.placeN.one': '{n} τοποθεσία',
|
|
'planner.addNote': 'Προσθήκη σημείωσης',
|
|
'planner.noEntries': 'Καμία καταχώρηση για αυτή την ημέρα',
|
|
'planner.addPlace': 'Προσθήκη τοποθεσίας/δραστηριότητας',
|
|
'planner.addPlaceShort': '+ Προσθήκη τοποθεσίας/δραστηριότητας',
|
|
'planner.resPending': 'Κράτηση σε εκκρεμότητα',
|
|
'planner.resConfirmed': 'Κράτηση επιβεβαιωμένη',
|
|
'planner.notePlaceholder': 'Σημείωση\u2026',
|
|
'planner.noteTimePlaceholder': 'Ώρα (προαιρετικό)',
|
|
'planner.noteExamplePlaceholder':
|
|
'π.χ. S3 στις 14:30 από τον κεντρικό σταθμό, φέρι από την προβλήτα 7, διάλειμμα μεσημεριανού\u2026',
|
|
'planner.totalCost': 'Συνολικό κόστος',
|
|
'planner.searchPlaces': 'Αναζήτηση τοποθεσιών\u2026',
|
|
'planner.allCategories': 'Όλες οι Κατηγορίες',
|
|
'planner.noPlacesFound': 'Δεν βρέθηκαν τοποθεσίες',
|
|
'planner.addFirstPlace': 'Προσθήκη πρώτης τοποθεσίας',
|
|
'planner.noReservations': 'Καμία κράτηση',
|
|
'planner.addFirstReservation': 'Προσθήκη πρώτης κράτησης',
|
|
'planner.new': 'Νέα',
|
|
'planner.addToDay': '+ Ημέρα',
|
|
'planner.calculating': 'Υπολογισμός\u2026',
|
|
'planner.route': 'Διαδρομή',
|
|
'planner.optimize': 'Βελτιστοποίηση',
|
|
'planner.openGoogleMaps': 'Άνοιγμα στο Google Maps',
|
|
'planner.openCoMaps': 'Άνοιγμα στο CoMaps',
|
|
'planner.selectDayHint': 'Επιλέξτε μια ημέρα από την αριστερή λίστα για να δείτε το πρόγραμμα',
|
|
'planner.noPlacesForDay': 'Δεν υπάρχουν τοποθεσίες για αυτή την ημέρα ακόμη',
|
|
'planner.addPlacesLink': 'Προσθήκη τοποθεσιών \u2192',
|
|
'planner.minTotal': 'λεπτά σύνολο',
|
|
'planner.noReservation': 'Καμία κράτηση',
|
|
'planner.removeFromDay': 'Αφαίρεση από την ημέρα',
|
|
'planner.addToThisDay': 'Προσθήκη στην ημέρα',
|
|
'planner.overview': 'Επισκόπηση',
|
|
'planner.noDays': 'Δεν υπάρχουν ημέρες ακόμη',
|
|
'planner.editTripToAddDays': 'Επεξεργαστείτε το ταξίδι για προσθήκη ημερών',
|
|
'planner.dayCount': '{n} Ημέρες',
|
|
'planner.dayCount.one': '{n} Ημέρα',
|
|
'planner.clickToUnlock': 'Κάντε κλικ για ξεκλείδωμα',
|
|
'planner.keepPosition': 'Διατήρηση θέσης κατά τη βελτιστοποίηση διαδρομής',
|
|
'planner.dayDetails': 'Λεπτομέρειες ημέρας',
|
|
'planner.dayN': 'Ημέρα {n}',
|
|
};
|
|
export default planner;
|