mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 17:41:51 +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.
69 lines
4.1 KiB
TypeScript
69 lines
4.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const files: TranslationStrings = {
|
|
'files.filterStarred': 'Με αστέρι',
|
|
'files.link': 'Σύνδεση',
|
|
'files.linkTitle': 'Σύνδεση αρχείου',
|
|
'files.linkEmpty': 'Δεν υπάρχουν ακόμη μέρη ή κρατήσεις για σύνδεση',
|
|
'files.menu': 'Περισσότερες επιλογές',
|
|
'files.uploadErrorSize': 'Το αρχείο είναι πολύ μεγάλο (μέγ. {max} MB)',
|
|
'files.title': 'Αρχεία',
|
|
'files.pageTitle': 'Αρχεία & Έγγραφα',
|
|
'files.subtitle': '{count} αρχεία για {trip}',
|
|
'files.subtitle.one': '{count} αρχείο για {trip}',
|
|
'files.download': 'Λήψη',
|
|
'files.openError': 'Δεν ήταν δυνατό το άνοιγμα του αρχείου',
|
|
'files.downloadPdf': 'Λήψη PDF',
|
|
'files.count': '{count} αρχεία',
|
|
'files.count.one': '{count} αρχείο',
|
|
'files.uploaded': '{count} μεταφορτώθηκαν',
|
|
'files.uploaded.one': '{count} μεταφορτώθηκε',
|
|
'files.uploadError': 'Η μεταφόρτωση απέτυχε',
|
|
'files.uploadErrorType': 'Αυτός ο τύπος αρχείου δεν υποστηρίζεται',
|
|
'files.dropzone': 'Αποθέστε αρχεία εδώ',
|
|
'files.dropzoneHint': 'ή κάντε κλικ για περιήγηση',
|
|
'files.allowedTypes': 'Εικόνες, PDF, DOC, DOCX, XLS, XLSX, TXT, CSV · Μέγ. 50 MB',
|
|
'files.uploading': 'Μεταφόρτωση...',
|
|
'files.filterAll': 'Όλα',
|
|
'files.filterPdf': 'PDF',
|
|
'files.filterImages': 'Εικόνες',
|
|
'files.filterDocs': 'Έγγραφα',
|
|
'files.filterCollab': 'Σημειώσεις Collab',
|
|
'files.sourceCollab': 'Από Σημειώσεις Collab',
|
|
'files.empty': 'Δεν υπάρχουν αρχεία ακόμη',
|
|
'files.emptyHint': 'Μεταφορτώστε αρχεία για να τα επισυνάψετε στο ταξίδι σας',
|
|
'files.openTab': 'Άνοιγμα σε νέα καρτέλα',
|
|
'files.confirm.delete': 'Είστε σίγουροι ότι θέλετε να διαγράψετε αυτό το αρχείο;',
|
|
'files.toast.deleted': 'Το αρχείο διαγράφηκε',
|
|
'files.toast.deleteError': 'Αποτυχία διαγραφής αρχείου',
|
|
'files.sourcePlan': 'Ημερήσιο Πλάνο',
|
|
'files.sourceBooking': 'Κράτηση',
|
|
'files.sourceTransport': 'Μεταφορά',
|
|
'files.attach': 'Επισύναψη',
|
|
'files.pasteHint': 'Μπορείτε επίσης να επικολλήσετε εικόνες από το πρόχειρο (Ctrl+V)',
|
|
'files.trash': 'Κάδος',
|
|
'files.trashEmpty': 'Ο κάδος είναι άδειος',
|
|
'files.emptyTrash': 'Άδειασμα Κάδου',
|
|
'files.restore': 'Επαναφορά',
|
|
'files.star': 'Επισήμανση',
|
|
'files.unstar': 'Αφαίρεση επισήμανσης',
|
|
'files.assign': 'Ανάθεση',
|
|
'files.assignTitle': 'Ανάθεση Αρχείου',
|
|
'files.assignPlace': 'Μέρος',
|
|
'files.assignBooking': 'Κράτηση',
|
|
'files.assignTransport': 'Μεταφορά',
|
|
'files.unassigned': 'Χωρίς ανάθεση',
|
|
'files.unlink': 'Αφαίρεση σύνδεσης',
|
|
'files.toast.trashed': 'Μετακινήθηκε στον κάδο',
|
|
'files.toast.restored': 'Το αρχείο επαναφέρθηκε',
|
|
'files.toast.trashEmptied': 'Ο κάδος αδειάστηκε',
|
|
'files.toast.assigned': 'Το αρχείο ανατέθηκε',
|
|
'files.toast.assignError': 'Η ανάθεση απέτυχε',
|
|
'files.toast.restoreError': 'Η επαναφορά απέτυχε',
|
|
'files.confirm.permanentDelete': 'Οριστική διαγραφή αυτού του αρχείου; Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.',
|
|
'files.confirm.emptyTrash': 'Οριστική διαγραφή όλων των αρχείων στον κάδο; Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.',
|
|
'files.noteLabel': 'Σημείωση',
|
|
'files.notePlaceholder': 'Προσθήκη σημείωσης...',
|
|
};
|
|
export default files;
|