Skip to content

Commit

Permalink
Support MessageFormatter for translation including plural logic (vufi…
Browse files Browse the repository at this point in the history
  • Loading branch information
maccabeelevine authored Jan 10, 2024
1 parent 840293a commit 2ff49d4
Show file tree
Hide file tree
Showing 42 changed files with 152 additions and 133 deletions.
3 changes: 1 addition & 2 deletions languages/ar.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ password_minimum_length = "الحد الأدنى لطول كلمة المرور
password_only_alphanumeric = "أرقام وحروف أبجدية فقط"
password_only_numeric = "أرقام فقط"
Passwords do not match = "كلمة المرور غير متطابقة"
past_days = "الـ%%range%% أيام السابقة"
past_days = "{range, plural, =1 {الأمس} other {الـ# أيام السابقة}}"
patron_account_expires = "ينتهي"
patron_status_address_missing = "عنوانك مفقود."
patron_status_card_blocked = "بطاقة المكتبة هذه محظورة من الاستعارة."
Expand Down Expand Up @@ -1453,7 +1453,6 @@ widen_prefix = "حاول توسيع بحثك إلى"
wiki_link = "مقدم من ويكيبيديا"
with filters = "بالمنقحات"
Year of Publication = "سنة النشر"
Yesterday = "الأمس"
You do not have any fines = "لا توجد لديك أي غرامات"
You do not have any holds or recalls placed = "لا يوجد لديك أي حجوزات أو استدعاءات"
You do not have any interlibrary loan requests placed = "لا توجد لديك أي طلبات استعارة ما بين المكتبات"
Expand Down
3 changes: 1 addition & 2 deletions languages/bn.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ password_minimum_length = "সর্বনিম্ন পাসওয়ার
password_only_alphanumeric = "সংখ্যা এবং বর্ণ (A-Z)"
password_only_numeric = "শুধুমাত্র সংখ্যা"
Passwords do not match = "পাসওয়ার্ড মিলছে না"
past_days = "অতীত %%range%% দিনগুলি"
past_days = "{range, plural, =1 {গতকাল} other {অতীত # দিনগুলি}}"
patron_account_expires = "মেয়াদ শেষ"
patron_status_address_missing = "আপনার ঠিকানা উপলব্ধ নয়।"
patron_status_card_blocked = "এই গ্রন্থাগার কার্ড অবরুদ্ধ করা হয়েছে।"
Expand Down Expand Up @@ -1454,7 +1454,6 @@ widen_prefix = "আপনার সন্ধানকে প্রসারে
wiki_link = "উইকিপিডিয়া দ্বারা উপলব্ধ"
with filters = "ফিল্টার দিয়ে"
Year of Publication = "প্রকাশনার বছর"
Yesterday = "গতকাল"
You do not have any fines = "আপনার কোন জরিমানা নেই"
You do not have any holds or recalls placed = "আপনি কোন হোল্ড রাখেন নি বা তলব স্থাপন করেননি"
You do not have any interlibrary loan requests placed = "আপনার কোনো আন্তঃগ্রন্থাগার ঋণ অনুরোধ নেই"
Expand Down
3 changes: 1 addition & 2 deletions languages/ca.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ password_minimum_length = "El password ha tenor almenys %%minlength%% caracters"
password_only_alphanumeric = "Números i lletres A-Z només"
password_only_numeric = "Només números"
Passwords do not match = "Les contrasenyes no coincideixen"
past_days = "Anterior %%range%% Días"
past_days = "{range, plural, =1 {Ahir} other {Anterior # Días}}"
patron_account_expires = "Caduca"
patron_status_address_missing = "No hi ha la seva adreça."
patron_status_card_blocked = "El seu compte està bloquejat per a préstecs."
Expand Down Expand Up @@ -1464,7 +1464,6 @@ widen_prefix = "Amplia la teva cerca a"
wiki_link = "Proporcionat per Wikipedia"
with filters = "amb filtres"
Year of Publication = "Any de publicació"
Yesterday = "Ahir"
You do not have any fines = "No teniu cap sanció"
You do not have any holds or recalls placed = "No teniu cap reserva o reclamació"
You do not have any interlibrary loan requests placed = "No has fet cap petició de prèstec interbibliotecari"
Expand Down
3 changes: 1 addition & 2 deletions languages/cs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ password_minimum_length = "Heslo musí být dlouhé alespoň %%minlength%% znak
password_only_alphanumeric = "Pouze čísla a písmena A-Z"
password_only_numeric = "Pouze čísla"
Passwords do not match = "Hesla se neshodují"
past_days = "Za posledních %%range%% dnů"
past_days = "{range, plural, =1 {Od včerejška} other {Za posledních # dnů}}"
patron_account_expires = "Konec platnosti registrace"
patron_status_address_missing = "U Vašeho účtu chybí adresa."
patron_status_card_blocked = "Tento čtenářský průkaz byl zablokován."
Expand Down Expand Up @@ -1452,7 +1452,6 @@ widen_prefix = "Zkuste rozšířit hledání na"
wiki_link = "Získáno z Wikipedie"
with filters = "S omezeními"
Year of Publication = "Rok vydání"
Yesterday = "Od včerejška"
You do not have any fines = "Nemáte žádné upomínky"
You do not have any holds or recalls placed = "Nemáte žádné rezervace ani objednávky"
You do not have any interlibrary loan requests placed = "Nemáte žádné nevyřízené požadavky na meziknihovní výpůjčky"
Expand Down
3 changes: 1 addition & 2 deletions languages/cy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ password_minimum_length = "Rhaid i'r cyfrinair gynnwys o leiaf %%minlength%% nod
password_only_alphanumeric = "Rhifau a llythrennau, A-Z yn unig"
password_only_numeric = "Rhifau yn unig"
Passwords do not match = "Nid yw'r cyfrineiriau yr un peth"
past_days = "Gorffennol %%range%% Dyddiau"
past_days = "{range, plural, =1 {Ddoe} other {Gorffennol # Dyddiau}}"
patron_account_expires = "Diwedd"
patron_status_address_missing = "Mae eich cyfeiriad ar goll."
patron_status_card_blocked = "Mae'r cerdyn llyfrgell hwn wedi'i atal rhag benthyca."
Expand Down Expand Up @@ -1278,7 +1278,6 @@ widen_prefix = "Cewch geisio ehangu'ch chwiliad i"
wiki_link = "Darparwyd gan Wikipedia"
with filters = "gyda hidlwyr"
Year of Publication = "Blwyddyn Gyhoeddi"
Yesterday = "Ddoe"
You do not have any fines = "Nid oes gennych unrhyw ddirwyon"
You do not have any holds or recalls placed = "Nid ydych wedi gosod unrhyw ddaliadau neu adalwadau"
You do not have any interlibrary loan requests placed = "Nid oes gennych yr un cais am Fenthyciad Rhwnglyfrgellol"
Expand Down
3 changes: 1 addition & 2 deletions languages/da.ini
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ Password = "Password"
Password Again = "Password igen"
Password cannot be blank = "Password skal udfyldes"
Passwords do not match = "Passwords er ikke ens"
past_days = "Tidligere %%range%% Dage"
past_days = "{range, plural, =1 {Igår} other {Tidligere # Dage}}"
patron_account_expires = "Udløber"
peer_reviewed_limit = "Afgræns til artikler fra peer-reviewed tidsskrifter"
Phone Number = "Telefonnummer"
Expand Down Expand Up @@ -672,7 +672,6 @@ Web = "Web"
wiki_link = "Fra Wikipedia"
with filters = "med filtre"
Year of Publication = "Udgivelsesår"
Yesterday = "Igår"
You do not have any fines = "Du har ingen bøder"
You do not have any holds or recalls placed = "Du har ingen lån eller hjemkaldelser"
You do not have any items checked out = "Du har ingen udlån"
Expand Down
3 changes: 1 addition & 2 deletions languages/de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ password_minimum_length = "Die minimale Länge des Passworts beträgt %%minlengt
password_only_alphanumeric = "Nur Zahlen und Buchstaben A-Z"
password_only_numeric = "Nur Zahlen"
Passwords do not match = "Die Passwörter stimmen nicht überein"
past_days = "seit %%range%% Tagen"
past_days = "{range, plural, =1 {Gestern} other {seit # Tagen}}"
patron_account_expires = "Ablaufdatum"
patron_status_address_missing = "Ihre Adressangaben sind unvollständig."
patron_status_card_blocked = "Dieser Bibliotheksausweis ist für die Ausleihe gesperrt."
Expand Down Expand Up @@ -1452,7 +1452,6 @@ widen_prefix = "Versuchen Sie die Suche auszuweiten nach"
wiki_link = "Veröffentlicht in Wikipedia"
with filters = "mit Suchfiltern"
Year of Publication = "Erscheinungsjahr"
Yesterday = "Gestern"
You do not have any fines = "Es sind keine Gebühren auf Ihrem Bibliothekskonto"
You do not have any holds or recalls placed = "Es liegen keine Vormerkungen oder Bestellungen vor"
You do not have any interlibrary loan requests placed = "Sie haben keine offenen Fernleihanfragen"
Expand Down
3 changes: 1 addition & 2 deletions languages/el.ini
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ password_minimum_length = "Ο ελάχιστος αριθμός χαρακτήρ
password_only_alphanumeric = "Αριθμοί και γράμματα A-Z μόνο"
password_only_numeric = "Αριθμοί μόνο"
Passwords do not match = "Οι κωδικοί δε συμφωνούν"
past_days = "Τελευταίες %%range%% Ημέρες"
past_days = "{range, plural, =1 {Χτες} other {Τελευταίες # Ημέρες}}"
patron_account_expires = "Λήξη"
patron_status_address_missing = "Λείπει η διεύθυνσή σας."
patron_status_card_blocked = "Υπάρχει απαγόρευση δανεισμών για αυτή την κάρτα βιβλιοθήκης."
Expand Down Expand Up @@ -1448,7 +1448,6 @@ widen_prefix = "Διευρύνετε την έρευνά σας σε"
wiki_link = "Παρέχεται από τη Wikipedia"
with filters = "με φίλτρα"
Year of Publication = "Έτος έκδοσης"
Yesterday = "Χτες"
You do not have any fines = "Δεν έχετε πρόστιμα"
You do not have any holds or recalls placed = "Δεν έχετε αιτήματα κράτησης ή ανάκλησης"
You do not have any interlibrary loan requests placed = "Δεν έχετε υποβάλει κάποιο αίτημα διαδανεισμού"
Expand Down
3 changes: 1 addition & 2 deletions languages/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ password_minimum_length = "Minimum password length is %%minlength%% characters"
password_only_alphanumeric = "Numbers and letters A-Z only"
password_only_numeric = "Numbers only"
Passwords do not match = "Passwords do not match"
past_days = "Past %%range%% Days"
past_days = "{range, plural, =1 {Yesterday} =7 {Past Week} other {Past # Days}}"
patron_account_expires = "Expires"
patron_status_address_missing = "Your address is missing."
patron_status_card_blocked = "This library card is blocked from borrowing."
Expand Down Expand Up @@ -1462,7 +1462,6 @@ widen_prefix = "Try widening your search to"
wiki_link = "Provided by Wikipedia"
with filters = "with filters"
Year of Publication = "Year of Publication"
Yesterday = "Yesterday"
You do not have any fines = "You do not have any fines"
You do not have any holds or recalls placed = "You do not have any holds or recalls placed"
You do not have any interlibrary loan requests placed = "You do not have any interlibrary loan requests placed"
Expand Down
3 changes: 1 addition & 2 deletions languages/es.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ password_minimum_length = "Longitud mínima de la contraeña son %%minlength%% c
password_only_alphanumeric = "Sólo números y letras A-Z"
password_only_numeric = "Sólo números"
Passwords do not match = "La Contraseña no coincide"
past_days = "Pasado %%range%% Días"
past_days = "{range, plural, =1 {Ayer} other {Pasado # Días}}"
patron_account_expires = "Expira"
patron_status_address_missing = "Tu dirección falta."
patron_status_card_blocked = "Esta tarjeta de la biblioteca está bloqueada para préstamos."
Expand Down Expand Up @@ -1453,7 +1453,6 @@ widen_prefix = "Intente ampliando su búsqueda a"
wiki_link = "proporcionado por Wikipedia"
with filters = "con filtros"
Year of Publication = "Año de Publicación"
Yesterday = "Ayer"
You do not have any fines = "Usted no tiene multas"
You do not have any holds or recalls placed = "No tiene reservas ni reclamos"
You do not have any interlibrary loan requests placed = "No tiene ninguna solicitud de préstamo interbibliotecario colocada"
Expand Down
3 changes: 1 addition & 2 deletions languages/eu.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ password_minimum_length = "Pasahitzarako gutxieneko luzapena da %%minlength%% ka
password_only_alphanumeric = "Pasahitzak bakarrik A-Z onartzen du"
password_only_numeric = "Bakarrik zenbakiak"
Passwords do not match = "Pasahitza ez da egokia"
past_days = "Azken %%range%% Egunak"
past_days = "{range, plural, =1 {Atzo} other {Azken # Egunak}}"
patron_account_expires = "Amaitua"
PDF Full Text = "PDF testu osoa"
peer_reviewed = "Pareek aztertuta"
Expand Down Expand Up @@ -1755,7 +1755,6 @@ widen_prefix = "Saia zaitez zure bilaketa zabaltzen honekin"
wiki_link = "Wikipediatik informazioa lortu"
with filters = "iragazkiekin"
Year of Publication = "Argitaratze-urtea"
Yesterday = "Atzo"
You do not have any fines = "Ez daukazu isunik"
You do not have any holds or recalls placed = "Ez daukazu erreserbarik"
You do not have any interlibrary loan requests placed = "Ez duzu eskatu liburutegi arteko mailegurik"
Expand Down
3 changes: 1 addition & 2 deletions languages/fi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ password_minimum_length = "Salasanan vähimmäispituus on %%minlength%% merkkiä
password_only_alphanumeric = "Vain numerot ja kirjaimet a-z"
password_only_numeric = "Vain numerot"
Passwords do not match = "Salasanat eivät täsmää"
past_days = "Viimeiset %%range%% päivää"
past_days = "{range, plural, =1 {Eilisestä} other {Viimeiset # päivää}}"
patron_account_expires = "Vanhenee"
patron_status_address_missing = "Osoitetietosi ovat puutteelliset."
patron_status_card_blocked = "Kirjastokorttisi on lainauskiellossa."
Expand Down Expand Up @@ -1451,7 +1451,6 @@ widen_prefix = "Kokeile laajentaa hakua:"
wiki_link = "Wikipedian tuottama"
with filters = "suodattimilla"
Year of Publication = "Julkaisuvuosi"
Yesterday = "Eilisestä"
You do not have any fines = "Ei maksamattomia maksuja"
You do not have any holds or recalls placed = "Ei voimassaolevia varauksia"
You do not have any interlibrary loan requests placed = "Ei voimassaolevia kaukolainatilauksia"
Expand Down
3 changes: 1 addition & 2 deletions languages/fr.ini
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ password_minimum_length = "Longueur minimum du mot de passe : %%minlength%% cara
password_only_alphanumeric = "Chiffres et lettres A-Z seulement"
password_only_numeric = "Chiffres seulement"
Passwords do not match = "Les mots de passe ne correspondent pas"
past_days = "Depuis %%range%% Jours"
past_days = "{range, plural, =1 {Hier} other {Depuis # Jours}}"
patron_account_expires = "Echéance"
patron_status_address_missing = "Il manque votre adresse."
patron_status_card_blocked = "Votre carte de bibliothèque est bloquée, vous ne pouvez pas faire d'emprunts."
Expand Down Expand Up @@ -1452,7 +1452,6 @@ widen_prefix = "Veuillez élargir votre recherche"
wiki_link = "Informations fournies par Wikipedia"
with filters = "avec filtres"
Year of Publication = "Année de publication"
Yesterday = "Hier"
You do not have any fines = "Vous n'avez pas d'amende"
You do not have any holds or recalls placed = "Vous n'avez pas de réservation ni de rappel"
You do not have any interlibrary loan requests placed = "Vous n'avez aucune demande de prêt entre bibliothèques en cours"
Expand Down
3 changes: 1 addition & 2 deletions languages/ga.ini
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ password_minimum_length = "Ní féidir níos lú ná %%maxlength%% carachtar a b
password_only_alphanumeric = "Uimhreacha agus na litreacha A-Z amháin"
password_only_numeric = "Uimhreacha amháin"
Passwords do not match = "Níl na pasfhocail ag teacht le chéile"
past_days = "Roimhe seo %%range%% Laethanta"
past_days = "{range, plural, =1 {Inné} other {Roimhe seo # Laethanta}}"
patron_account_expires = "Imíonn as feidhm"
patron_status_address_missing = "Tá do sheoladh ar iarraidh."
patron_status_card_blocked = "Tá bac curtha ar an gcárta leabharlainne seo a fhágann nach féidir míreanna a ghlacadh ar iasacht leis."
Expand Down Expand Up @@ -1450,7 +1450,6 @@ widen_prefix = "Bain triail as do chuardach a leathnú go"
wiki_link = "Arna chur ar fáil ag Vicipéid"
with filters = "le scagairí"
Year of Publication = "Bliain a fhoilsithe"
Yesterday = "Inné"
You do not have any fines = "Níl aon fhíneálacha agat"
You do not have any holds or recalls placed = "Níl aon choinneálacha ná aisghairmeacha curtha agat"
You do not have any interlibrary loan requests placed = "Níl aon iarratais ar iasacht idirleabharlainne déanta agat"
Expand Down
2 changes: 1 addition & 1 deletion languages/gl.ini
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ password_error_not_unique = "O contrasinal non se cambiou"
password_maximum_length = "Lonxitude máxima do contrasinal son %%maxlength%% caracteres"
password_minimum_length = "Lonxitude mínima do contrasinal son %%minlength%% caracteres"
Passwords do not match = "O contrasinal non coincide"
past_days = "Pasado %%range%% Días"
past_days = "{range, plural, =1 {Pasado 1 Día} other {Pasado # Días}}"
patron_account_expires = "Expira"
PDF Full Text = "Texto completo PDF"
peer_reviewed = "Revisado por Pares"
Expand Down
3 changes: 1 addition & 2 deletions languages/he.ini
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ Password = "סיסמה"
Password Again = "סיסמה שוב"
Password cannot be blank = "סיסמה לא יכולה להיות ריקה"
Passwords do not match = "סיסמאות לא תואמות"
past_days = "עבר %%range%% ימים"
past_days = "{range, plural, =1 {אתמול} other {עבר # ימים}}"
patron_account_expires = "פג תוקף"
peer_reviewed_limit = "הגבלה לפריטים מכתבי עת"
Phone Number = "מספר טלפון"
Expand Down Expand Up @@ -769,7 +769,6 @@ widen_prefix = "נסו להרחיב את החיפוש ל"
wiki_link = "באדיבות וויקיפדיה"
with filters = "עם מסננים"
Year of Publication = "שנת הוצאה לאור"
Yesterday = "אתמול"
You do not have any fines = "אין לך שום קנסות"
You do not have any holds or recalls placed = "אין לך שום הזמנות או בקשות החזרה קיימות"
You do not have any items checked out = "אין לך שום פריטים רשומים להשאלה"
Expand Down
3 changes: 1 addition & 2 deletions languages/hi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ password_minimum_length = "न्यूनतम पासवर्ड लंब
password_only_alphanumeric = "संख्या और अक्षर केवल ए-जेड"
password_only_numeric = "केवल संख्या"
Passwords do not match = "पासवर्ड मेल नहीं खाते"
past_days = "पिछला %%range%% दिन"
past_days = "{range, plural, =1 {बिता कल} other {पिछला # दिन}}"
patron_account_expires = "समय-सीमा समाप्त"
patron_status_address_missing = "आपका पता अनुपलब्ध है।"
patron_status_card_blocked = "इस पुस्तकालय कार्ड पर लेन-देन की सुविधा अवरुद्ध है।"
Expand Down Expand Up @@ -1454,7 +1454,6 @@ widen_prefix = "अपनी खोज को विस्तृत करने
wiki_link = "विकिपीडिया द्वारा प्रदान किया गया"
with filters = "फ़िल्टर के साथ"
Year of Publication = "प्रकाशन का वर्ष"
Yesterday = "बिता कल"
You do not have any fines = "आपके पास कोई जुर्माना नहीं है"
You do not have any holds or recalls placed = "आपके पास कोई होल्ड या रिकॉल नहीं है"
You do not have any interlibrary loan requests placed = "आपके पास कोई भी अंतःक्रियात्मक ऋण अनुरोध नहीं है"
Expand Down
3 changes: 1 addition & 2 deletions languages/hr.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ password_minimum_length = "Minimalni broj znakova za lozinku: %%minlength%%"
password_only_alphanumeric = "Samo brojke i slova A-Z"
password_only_numeric = "Samo brojke"
Passwords do not match = "Lozinke se ne poklapaju"
past_days = "Zadnjih %%range%% dana"
past_days = "{range, plural, =1 {Jučer} other {Zadnjih # dana}}"
patron_account_expires = "Isteče"
patron_status_address_missing = "Nedostaje tvoja adresa."
patron_status_card_blocked = "Tvoja je članska iskaznica blokirana."
Expand Down Expand Up @@ -1453,7 +1453,6 @@ widen_prefix = "Pokušaj proširiti pretragu na"
wiki_link = "Omogućuje Wikipedia"
with filters = "s filtrima"
Year of Publication = "Godina izdanja"
Yesterday = "Jučer"
You do not have any fines = "Nemaš zakasnina"
You do not have any holds or recalls placed = "Nemaš postavljenih narudžbi ili rezervacija"
You do not have any interlibrary loan requests placed = "Nemaš postavljenih zahtjeva za međuknjižničnu posudbu"
Expand Down
Loading

0 comments on commit 2ff49d4

Please sign in to comment.