Merge pull request #1905 from vector-im/t3chguy/localazy/1

This commit is contained in:
Michael Telatynski 2023-11-17 13:44:59 +00:00 committed by GitHub
commit dd6f679a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 105 additions and 62 deletions

View File

@ -2,7 +2,7 @@ export default {
keySeparator: false, keySeparator: false,
namespaceSeparator: false, namespaceSeparator: false,
contextSeparator: "|", contextSeparator: "|",
pluralSeparator: "|", pluralSeparator: "_",
createOldCatalogs: false, createOldCatalogs: false,
defaultNamespace: "app", defaultNamespace: "app",
lexers: { lexers: {
@ -10,7 +10,14 @@ export default {
{ {
lexer: "JavascriptLexer", lexer: "JavascriptLexer",
functions: ["t", "translatedError"], functions: ["t", "translatedError"],
functionsNamespace: ["useTranslation", "withTranslation"], namespaceFunctions: ["useTranslation", "withTranslation"],
},
],
tsx: [
{
lexer: "JsxLexer",
functions: ["t", "translatedError"],
namespaceFunctions: ["useTranslation", "withTranslation"],
}, },
], ],
}, },

View File

@ -72,11 +72,11 @@
"Thanks, we received your feedback!": "Danke, wir haben deine Rückmeldung erhalten!", "Thanks, we received your feedback!": "Danke, wir haben deine Rückmeldung erhalten!",
"Submitting…": "Sende …", "Submitting…": "Sende …",
"Submit": "Absenden", "Submit": "Absenden",
"{{count}} stars|other": "{{count}} Sterne", "{{count}} stars_other": "{{count}} Sterne",
"{{displayName}}, your call has ended.": "{{displayName}}, dein Anruf wurde beendet.", "{{displayName}}, your call has ended.": "{{displayName}}, dein Anruf wurde beendet.",
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Wir würden uns freuen, deine Rückmeldung zu hören, um deine Erfahrung verbessern zu können.</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Wir würden uns freuen, deine Rückmeldung zu hören, um deine Erfahrung verbessern zu können.</0>",
"How did it go?": "Wie ist es gelaufen?", "How did it go?": "Wie ist es gelaufen?",
"{{count}} stars|one": "{{count}} Stern", "{{count}} stars_one": "{{count}} Stern",
"<0>Thanks for your feedback!</0>": "<0>Danke für deine Rückmeldung!</0>", "<0>Thanks for your feedback!</0>": "<0>Danke für deine Rückmeldung!</0>",
"{{displayName}} is presenting": "{{displayName}} präsentiert", "{{displayName}} is presenting": "{{displayName}} präsentiert",
"Show connection stats": "Verbindungsstatistiken zeigen", "Show connection stats": "Verbindungsstatistiken zeigen",
@ -94,8 +94,8 @@
"Not encrypted": "Nicht verschlüsselt", "Not encrypted": "Nicht verschlüsselt",
"Microphone off": "Mikrofon aus", "Microphone off": "Mikrofon aus",
"Microphone on": "Mikrofon an", "Microphone on": "Mikrofon an",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Sharing screen": "Bildschirm wird geteilt", "Sharing screen": "Bildschirm wird geteilt",
"You": "Du", "You": "Du",
"Continue in browser": "Weiter im Browser", "Continue in browser": "Weiter im Browser",

View File

@ -67,8 +67,8 @@
"Feedback": "Ανατροφοδότηση", "Feedback": "Ανατροφοδότηση",
"Submitting…": "Υποβολή…", "Submitting…": "Υποβολή…",
"Thanks, we received your feedback!": "Ευχαριστούμε, λάβαμε τα σχόλιά σας!", "Thanks, we received your feedback!": "Ευχαριστούμε, λάβαμε τα σχόλιά σας!",
"{{count}} stars|other": "{{count}} αστέρια", "{{count}} stars_other": "{{count}} αστέρια",
"{{count}} stars|one": "{{count}} αστέρι", "{{count}} stars_one": "{{count}} αστέρι",
"{{displayName}}, your call has ended.": "{{displayName}}, η κλήση σας τερματίστηκε.", "{{displayName}}, your call has ended.": "{{displayName}}, η κλήση σας τερματίστηκε.",
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Η υποβολή αρχείων καταγραφής σφαλμάτων θα μας βοηθήσει να εντοπίσουμε το πρόβλημα.</0>", "<0>Submitting debug logs will help us track down the problem.</0>": "<0>Η υποβολή αρχείων καταγραφής σφαλμάτων θα μας βοηθήσει να εντοπίσουμε το πρόβλημα.</0>",
"How did it go?": "Πώς σας φάνηκε;", "How did it go?": "Πώς σας φάνηκε;",

View File

@ -1,8 +1,8 @@
{ {
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"{{count}} stars|one": "{{count}} stars", "{{count}} stars_one": "{{count}} stars",
"{{count}} stars|other": "{{count}} stars", "{{count}} stars_other": "{{count}} stars",
"{{displayName}} is presenting": "{{displayName}} is presenting", "{{displayName}} is presenting": "{{displayName}} is presenting",
"{{displayName}}, your call has ended.": "{{displayName}}, your call has ended.", "{{displayName}}, your call has ended.": "{{displayName}}, your call has ended.",
"<0></0><1></1>You may withdraw consent by unchecking this box. If you are currently in a call, this setting will take effect at the end of the call.": "<0></0><1></1>You may withdraw consent by unchecking this box. If you are currently in a call, this setting will take effect at the end of the call.", "<0></0><1></1>You may withdraw consent by unchecking this box. If you are currently in a call, this setting will take effect at the end of the call.": "<0></0><1></1>You may withdraw consent by unchecking this box. If you are currently in a call, this setting will take effect at the end of the call.",
@ -104,6 +104,7 @@
"Submitting…": "Submitting…", "Submitting…": "Submitting…",
"Thanks, we received your feedback!": "Thanks, we received your feedback!", "Thanks, we received your feedback!": "Thanks, we received your feedback!",
"Thanks!": "Thanks!", "Thanks!": "Thanks!",
"This application has been opened in another tab.": "This application has been opened in another tab.",
"This call already exists, would you like to join?": "This call already exists, would you like to join?", "This call already exists, would you like to join?": "This call already exists, would you like to join?",
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>", "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>",
"Unmute microphone": "Unmute microphone", "Unmute microphone": "Unmute microphone",

View File

@ -78,8 +78,8 @@
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>",
"Feedback": "Danos tu opinión", "Feedback": "Danos tu opinión",
"Submit": "Enviar", "Submit": "Enviar",
"{{count}} stars|one": "{{count}} estrella", "{{count}} stars_one": "{{count}} estrella",
"{{count}} stars|other": "{{count}} estrellas", "{{count}} stars_other": "{{count}} estrellas",
"{{displayName}}, your call has ended.": "{{displayName}}, tu llamada ha finalizado.", "{{displayName}}, your call has ended.": "{{displayName}}, tu llamada ha finalizado.",
"Submitting…": "Enviando…", "Submitting…": "Enviando…",
"Your feedback": "Tus comentarios" "Your feedback": "Tus comentarios"

View File

@ -72,8 +72,8 @@
"Submit": "Saada", "Submit": "Saada",
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Kui selle rakenduse kasutamisel tekib sul probleeme või lihtsalt soovid oma arvamust avaldada, siis palun täida alljärgnev lühike kirjeldus.", "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Kui selle rakenduse kasutamisel tekib sul probleeme või lihtsalt soovid oma arvamust avaldada, siis palun täida alljärgnev lühike kirjeldus.",
"Feedback": "Tagasiside", "Feedback": "Tagasiside",
"{{count}} stars|one": "{{count}} tärni", "{{count}} stars_one": "{{count}} tärni",
"{{count}} stars|other": "{{count}} tärni", "{{count}} stars_other": "{{count}} tärni",
"How did it go?": "Kuidas sujus?", "How did it go?": "Kuidas sujus?",
"{{displayName}}, your call has ended.": "{{displayName}}, sinu kõne on lõppenud.", "{{displayName}}, your call has ended.": "{{displayName}}, sinu kõne on lõppenud.",
"<0>Thanks for your feedback!</0>": "<0>Täname Sind tagasiside eest!</0>", "<0>Thanks for your feedback!</0>": "<0>Täname Sind tagasiside eest!</0>",
@ -95,8 +95,8 @@
"Microphone on": "Mikrofon töötab", "Microphone on": "Mikrofon töötab",
"Not encrypted": "Krüptimata", "Not encrypted": "Krüptimata",
"Sharing screen": "Ekraanivaade on jagamisel", "Sharing screen": "Ekraanivaade on jagamisel",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"You": "Sina", "You": "Sina",
"Continue in browser": "Jätka veebibrauseris", "Continue in browser": "Jätka veebibrauseris",
"Mute microphone": "Summuta mikrofon", "Mute microphone": "Summuta mikrofon",

View File

@ -72,9 +72,9 @@
"Submit": "Envoyer", "Submit": "Envoyer",
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.", "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.",
"Feedback": "Commentaires", "Feedback": "Commentaires",
"{{count}} stars|other": "{{count}} favoris", "{{count}} stars_other": "{{count}} favoris",
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Nous aimerions avoir vos commentaires afin que nous puissions améliorer votre expérience.</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Nous aimerions avoir vos commentaires afin que nous puissions améliorer votre expérience.</0>",
"{{count}} stars|one": "{{count}} favori", "{{count}} stars_one": "{{count}} favori",
"{{displayName}}, your call has ended.": "{{displayName}}, votre appel est terminé.", "{{displayName}}, your call has ended.": "{{displayName}}, votre appel est terminé.",
"<0>Thanks for your feedback!</0>": "<0>Merci pour votre commentaire !</0>", "<0>Thanks for your feedback!</0>": "<0>Merci pour votre commentaire !</0>",
"How did it go?": "Comment cela sest-il passé ?", "How did it go?": "Comment cela sest-il passé ?",
@ -88,14 +88,14 @@
"Thanks!": "Merci !", "Thanks!": "Merci !",
"You were disconnected from the call": "Vous avez été déconnecté de lappel", "You were disconnected from the call": "Vous avez été déconnecté de lappel",
"Connectivity to the server has been lost.": "La connexion avec le serveur a été perdue.", "Connectivity to the server has been lost.": "La connexion avec le serveur a été perdue.",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Encrypted": "Chiffré", "Encrypted": "Chiffré",
"End call": "Terminer lappel", "End call": "Terminer lappel",
"Grid": "Grille", "Grid": "Grille",
"Microphone off": "Microphone éteint", "Microphone off": "Microphone éteint",
"Microphone on": "Microphone allumé", "Microphone on": "Microphone allumé",
"Sharing screen": "Lécran est partagé", "Sharing screen": "Lécran est partagé",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"Not encrypted": "Non chiffré", "Not encrypted": "Non chiffré",
"You": "Vous", "You": "Vous",
"Continue in browser": "Continuer dans le navigateur", "Continue in browser": "Continuer dans le navigateur",

View File

@ -75,11 +75,11 @@
"{{displayName}}, your call has ended.": "{{displayName}}, panggilan Anda telah berakhir.", "{{displayName}}, your call has ended.": "{{displayName}}, panggilan Anda telah berakhir.",
"<0>Thanks for your feedback!</0>": "<0>Terima kasih atas masukan Anda!</0>", "<0>Thanks for your feedback!</0>": "<0>Terima kasih atas masukan Anda!</0>",
"How did it go?": "Bagaimana rasanya?", "How did it go?": "Bagaimana rasanya?",
"{{count}} stars|one": "{{count}} bintang", "{{count}} stars_one": "{{count}} bintang",
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Kami ingin mendengar masukan Anda supaya kami bisa meningkatkan pengalaman Anda.</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Kami ingin mendengar masukan Anda supaya kami bisa meningkatkan pengalaman Anda.</0>",
"Show connection stats": "Tampilkan statistik koneksi", "Show connection stats": "Tampilkan statistik koneksi",
"{{displayName}} is presenting": "{{displayName}} sedang menampilkan", "{{displayName}} is presenting": "{{displayName}} sedang menampilkan",
"{{count}} stars|other": "{{count}} bintang", "{{count}} stars_other": "{{count}} bintang",
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Dengan mengeklik \"Bergabung\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2>", "By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Dengan mengeklik \"Bergabung\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2>",
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Situs ini dilindungi oleh reCAPTCHA dan <2>Kebijakan Privasi</2> dan <6>Ketentuan Layanan</6> Google berlaku.<9></9>Dengan mengeklik \"Daftar\", Anda menyetujui <12>Perjanjian Lisensi Pengguna Akhir (EULA)</12> kami", "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Situs ini dilindungi oleh reCAPTCHA dan <2>Kebijakan Privasi</2> dan <6>Ketentuan Layanan</6> Google berlaku.<9></9>Dengan mengeklik \"Daftar\", Anda menyetujui <12>Perjanjian Lisensi Pengguna Akhir (EULA)</12> kami",
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Dengan mengeklik \"Bergabung ke panggilan sekarang\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2> kami", "By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Dengan mengeklik \"Bergabung ke panggilan sekarang\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2> kami",
@ -88,7 +88,7 @@
"You were disconnected from the call": "Anda terputus dari panggilan", "You were disconnected from the call": "Anda terputus dari panggilan",
"Reconnect": "Hubungkan ulang", "Reconnect": "Hubungkan ulang",
"Thanks!": "Terima kasih!", "Thanks!": "Terima kasih!",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Encrypted": "Terenkripsi", "Encrypted": "Terenkripsi",
"End call": "Akhiri panggilan", "End call": "Akhiri panggilan",
"Grid": "Kisi", "Grid": "Kisi",
@ -96,7 +96,7 @@
"Microphone on": "Mikrofon dinyalakan", "Microphone on": "Mikrofon dinyalakan",
"Not encrypted": "Tidak terenkripsi", "Not encrypted": "Tidak terenkripsi",
"Sharing screen": "Berbagi layar", "Sharing screen": "Berbagi layar",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"You": "Anda", "You": "Anda",
"Continue in browser": "Lanjutkan dalam peramban", "Continue in browser": "Lanjutkan dalam peramban",
"Mute microphone": "Matikan mikrofon", "Mute microphone": "Matikan mikrofon",

View File

@ -1,8 +1,8 @@
{ {
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"{{count}} stars|one": "{{count}} stelle", "{{count}} stars_one": "{{count}} stelle",
"{{count}} stars|other": "{{count}} stelle", "{{count}} stars_other": "{{count}} stelle",
"{{displayName}} is presenting": "{{displayName}} sta presentando", "{{displayName}} is presenting": "{{displayName}} sta presentando",
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Hai già un profilo?</0><1><0>Accedi</0> o <2>Accedi come ospite</2></1>", "<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Hai già un profilo?</0><1><0>Accedi</0> o <2>Accedi come ospite</2></1>",
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Crea un profilo</0> o <2>Accedi come ospite</2>", "<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Crea un profilo</0> o <2>Accedi come ospite</2>",

View File

@ -1,6 +1,6 @@
{ {
"{{count}} stars|one": "{{count}} zvaigzne", "{{count}} stars_one": "{{count}} zvaigzne",
"{{count}} stars|other": "{{count}} zvaigznes", "{{count}} stars_other": "{{count}} zvaigznes",
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Jau ir konts?</0><1><0>Pieteikties</0> vai <2>Piekļūt kā viesim</2></1>", "<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Jau ir konts?</0><1><0>Pieteikties</0> vai <2>Piekļūt kā viesim</2></1>",
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Izveidot kontu</0> vai <2>Piekļūt kā viesim</2>", "<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Izveidot kontu</0> vai <2>Piekļūt kā viesim</2>",
"<0>Oops, something's gone wrong.</0>": "<0>Ak vai, kaut kas nogāja greizi!</0>", "<0>Oops, something's gone wrong.</0>": "<0>Ak vai, kaut kas nogāja greizi!</0>",

View File

@ -72,8 +72,8 @@
"Submitting…": "Wysyłanie…", "Submitting…": "Wysyłanie…",
"Submit": "Wyślij", "Submit": "Wyślij",
"Your feedback": "Twoje opinie", "Your feedback": "Twoje opinie",
"{{count}} stars|other": "{{count}} gwiazdki", "{{count}} stars_other": "{{count}} gwiazdki",
"{{count}} stars|one": "{{count}} gwiazdki", "{{count}} stars_one": "{{count}} gwiazdki",
"{{displayName}}, your call has ended.": "{{displayName}}, Twoje połączenie zostało zakończone.", "{{displayName}}, your call has ended.": "{{displayName}}, Twoje połączenie zostało zakończone.",
"<0>Thanks for your feedback!</0>": "<0>Dziękujemy za Twoją opinię!</0>", "<0>Thanks for your feedback!</0>": "<0>Dziękujemy za Twoją opinię!</0>",
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Z przyjemnością wysłuchamy Twojej opinii, aby poprawić Twoje doświadczenia.</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Z przyjemnością wysłuchamy Twojej opinii, aby poprawić Twoje doświadczenia.</0>",
@ -88,7 +88,7 @@
"You were disconnected from the call": "Rozłączono Cię z połączenia", "You were disconnected from the call": "Rozłączono Cię z połączenia",
"Connectivity to the server has been lost.": "Utracono połączenie z serwerem.", "Connectivity to the server has been lost.": "Utracono połączenie z serwerem.",
"Reconnect": "Połącz ponownie", "Reconnect": "Połącz ponownie",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Encrypted": "Szyfrowane", "Encrypted": "Szyfrowane",
"End call": "Zakończ połączenie", "End call": "Zakończ połączenie",
"Grid": "Siatka", "Grid": "Siatka",
@ -96,7 +96,7 @@
"Microphone on": "Mikrofon włączony", "Microphone on": "Mikrofon włączony",
"Not encrypted": "Nie szyfrowane", "Not encrypted": "Nie szyfrowane",
"Sharing screen": "Udostępnianie ekranu", "Sharing screen": "Udostępnianie ekranu",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"Continue in browser": "Kontynuuj w przeglądarce", "Continue in browser": "Kontynuuj w przeglądarce",
"Mute microphone": "Wycisz mikrofon", "Mute microphone": "Wycisz mikrofon",
"Name of call": "Nazwa połączenia", "Name of call": "Nazwa połączenia",

View File

@ -72,8 +72,8 @@
"Feedback": "Отзыв", "Feedback": "Отзыв",
"Submit": "Отправить", "Submit": "Отправить",
"Submitting…": "Отправляем…", "Submitting…": "Отправляем…",
"{{count}} stars|one": "{{count}} отмечен", "{{count}} stars_one": "{{count}} отмечен",
"{{count}} stars|other": "{{count}} отмеченных", "{{count}} stars_other": "{{count}} отмеченных",
"{{displayName}}, your call has ended.": "{{displayName}}, ваш звонок окончен.", "{{displayName}}, your call has ended.": "{{displayName}}, ваш звонок окончен.",
"<0>Thanks for your feedback!</0>": "<0>Спасибо за обратную связь!</0>", "<0>Thanks for your feedback!</0>": "<0>Спасибо за обратную связь!</0>",
"Your feedback": "Ваш отзыв", "Your feedback": "Ваш отзыв",

View File

@ -72,9 +72,9 @@
"Submit": "Odoslať", "Submit": "Odoslať",
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Ak máte problémy alebo jednoducho chcete poskytnúť spätnú väzbu, pošlite nám krátky popis nižšie.", "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Ak máte problémy alebo jednoducho chcete poskytnúť spätnú väzbu, pošlite nám krátky popis nižšie.",
"Feedback": "Spätná väzba", "Feedback": "Spätná väzba",
"{{count}} stars|one": "{{count}} hviezdička", "{{count}} stars_one": "{{count}} hviezdička",
"How did it go?": "Ako to išlo?", "How did it go?": "Ako to išlo?",
"{{count}} stars|other": "{{count}} hviezdičiek", "{{count}} stars_other": "{{count}} hviezdičiek",
"{{displayName}}, your call has ended.": "{{displayName}}, váš hovor skončil.", "{{displayName}}, your call has ended.": "{{displayName}}, váš hovor skončil.",
"<0>Thanks for your feedback!</0>": "<0> Ďakujeme za vašu spätnú väzbu!</0>", "<0>Thanks for your feedback!</0>": "<0> Ďakujeme za vašu spätnú väzbu!</0>",
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0> Radi si vypočujeme vašu spätnú väzbu, aby sme mohli zlepšiť vaše skúsenosti.</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0> Radi si vypočujeme vašu spätnú väzbu, aby sme mohli zlepšiť vaše skúsenosti.</0>",
@ -88,7 +88,7 @@
"Reconnect": "Znovu pripojiť", "Reconnect": "Znovu pripojiť",
"Thanks!": "Ďakujeme!", "Thanks!": "Ďakujeme!",
"You were disconnected from the call": "Boli ste odpojení z hovoru", "You were disconnected from the call": "Boli ste odpojení z hovoru",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Encrypted": "Šifrované", "Encrypted": "Šifrované",
"End call": "Ukončiť hovor", "End call": "Ukončiť hovor",
"Microphone off": "Mikrofón vypnutý", "Microphone off": "Mikrofón vypnutý",
@ -96,7 +96,7 @@
"Grid": "Sieť", "Grid": "Sieť",
"Not encrypted": "Nie je zašifrované", "Not encrypted": "Nie je zašifrované",
"Sharing screen": "Zdieľanie obrazovky", "Sharing screen": "Zdieľanie obrazovky",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"You": "Vy", "You": "Vy",
"Continue in browser": "Pokračovať v prehliadači", "Continue in browser": "Pokračovať v prehliadači",
"Mute microphone": "Stlmiť mikrofón", "Mute microphone": "Stlmiť mikrofón",

View File

@ -1,8 +1,8 @@
{ {
"{{count}} stars|one": "{{count}} stjärna", "{{count}} stars_one": "{{count}} stjärna",
"{{count}} stars|other": "{{count}} stjärnor", "{{count}} stars_other": "{{count}} stjärnor",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"{{displayName}} is presenting": "{{displayName}} presenterar", "{{displayName}} is presenting": "{{displayName}} presenterar",
"{{displayName}}, your call has ended.": "{{displayName}}, ditt samtal har avslutats." "{{displayName}}, your call has ended.": "{{displayName}}, ditt samtal har avslutats."
} }

View File

@ -73,8 +73,8 @@
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Якщо у вас виникли проблеми або ви просто хочете залишити відгук, надішліть нам короткий опис нижче.", "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Якщо у вас виникли проблеми або ви просто хочете залишити відгук, надішліть нам короткий опис нижче.",
"Feedback": "Відгук", "Feedback": "Відгук",
"<0>Thanks for your feedback!</0>": "<0>Дякуємо за ваш відгук!</0>", "<0>Thanks for your feedback!</0>": "<0>Дякуємо за ваш відгук!</0>",
"{{count}} stars|one": "{{count}} зірок", "{{count}} stars_one": "{{count}} зірок",
"{{count}} stars|other": "{{count}} зірок", "{{count}} stars_other": "{{count}} зірок",
"{{displayName}}, your call has ended.": "{{displayName}}, ваш виклик завершено.", "{{displayName}}, your call has ended.": "{{displayName}}, ваш виклик завершено.",
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Ми будемо раді почути ваші відгуки, щоб поліпшити роботу застосунку.</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Ми будемо раді почути ваші відгуки, щоб поліпшити роботу застосунку.</0>",
"How did it go?": "Вам усе сподобалось?", "How did it go?": "Вам усе сподобалось?",
@ -88,12 +88,12 @@
"Retry sending logs": "Повторити надсилання журналів", "Retry sending logs": "Повторити надсилання журналів",
"You were disconnected from the call": "Вас від'єднано від виклику", "You were disconnected from the call": "Вас від'єднано від виклику",
"Thanks!": "Дякуємо!", "Thanks!": "Дякуємо!",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Encrypted": "Зашифровано", "Encrypted": "Зашифровано",
"Microphone on": "Мікрофон увімкнено", "Microphone on": "Мікрофон увімкнено",
"Not encrypted": "Не зашифровано", "Not encrypted": "Не зашифровано",
"Sharing screen": "Презентація екрана", "Sharing screen": "Презентація екрана",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"End call": "Завершити виклик", "End call": "Завершити виклик",
"Grid": "Сітка", "Grid": "Сітка",
"Microphone off": "Мікрофон вимкнено", "Microphone off": "Мікрофон вимкнено",

View File

@ -68,8 +68,8 @@
"Microphone off": "麦克风关闭", "Microphone off": "麦克风关闭",
"Microphone on": "麦克风开启", "Microphone on": "麦克风开启",
"Not encrypted": "未加密", "Not encrypted": "未加密",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Sharing screen": "屏幕共享", "Sharing screen": "屏幕共享",
"You": "你", "You": "你",
"Continue in browser": "在浏览器中继续", "Continue in browser": "在浏览器中继续",
@ -86,7 +86,7 @@
"Call not found": "未找到通话", "Call not found": "未找到通话",
"Calls are now end-to-end encrypted and need to be created from the home page. This helps make sure everyone's using the same encryption key.": "现在,通话是端对端加密的,需要从主页创建。这有助于确保每个人都使用相同的加密密钥。", "Calls are now end-to-end encrypted and need to be created from the home page. This helps make sure everyone's using the same encryption key.": "现在,通话是端对端加密的,需要从主页创建。这有助于确保每个人都使用相同的加密密钥。",
"Your web browser does not support media end-to-end encryption. Supported Browsers are Chrome, Safari, Firefox >=117": "您的浏览器不支持媒体端对端加密。支持的浏览器有 Chrome、Safari、Firefox >=117", "Your web browser does not support media end-to-end encryption. Supported Browsers are Chrome, Safari, Firefox >=117": "您的浏览器不支持媒体端对端加密。支持的浏览器有 Chrome、Safari、Firefox >=117",
"{{count}} stars|other": "{{count}} 个星", "{{count}} stars_other": "{{count}} 个星",
"{{displayName}} is presenting": "{{displayName}}正在展示", "{{displayName}} is presenting": "{{displayName}}正在展示",
"{{displayName}}, your call has ended.": "{{displayName}},通话已结束。", "{{displayName}}, your call has ended.": "{{displayName}},通话已结束。",
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>提交日志以帮助我们修复问题。</0>", "<0>Submitting debug logs will help us track down the problem.</0>": "<0>提交日志以帮助我们修复问题。</0>",
@ -97,7 +97,7 @@
"Thanks, we received your feedback!": "谢谢,我们收到了反馈!", "Thanks, we received your feedback!": "谢谢,我们收到了反馈!",
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "点击 \"开始\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>", "By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "点击 \"开始\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>",
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "点击 \"加入通话\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>", "By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "点击 \"加入通话\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>",
"{{count}} stars|one": "{{count}} 个星", "{{count}} stars_one": "{{count}} 个星",
"<0>Thanks for your feedback!</0>": "<0>感谢反馈!</0>", "<0>Thanks for your feedback!</0>": "<0>感谢反馈!</0>",
"Your feedback": "您的反馈", "Your feedback": "您的反馈",
"Connectivity to the server has been lost.": "与服务器的连接中断。", "Connectivity to the server has been lost.": "与服务器的连接中断。",

View File

@ -72,10 +72,10 @@
"Submit": "遞交", "Submit": "遞交",
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "若您遇到問題或只是想提供一些回饋,請在下方傳送簡短說明給我們。", "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "若您遇到問題或只是想提供一些回饋,請在下方傳送簡短說明給我們。",
"Feedback": "回饋", "Feedback": "回饋",
"{{count}} stars|other": "{{count}} 個星星", "{{count}} stars_other": "{{count}} 個星星",
"<0>Thanks for your feedback!</0>": "<0>感謝您的回饋!</0>", "<0>Thanks for your feedback!</0>": "<0>感謝您的回饋!</0>",
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>我們想要聽到您的回饋,如此我們才能改善您的體驗。</0>", "<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>我們想要聽到您的回饋,如此我們才能改善您的體驗。</0>",
"{{count}} stars|one": "{{count}} 個星星", "{{count}} stars_one": "{{count}} 個星星",
"{{displayName}}, your call has ended.": "{{displayName}},您的通話已結束。", "{{displayName}}, your call has ended.": "{{displayName}},您的通話已結束。",
"How did it go?": "進展如何?", "How did it go?": "進展如何?",
"{{displayName}} is presenting": "{{displayName}} 正在展示", "{{displayName}} is presenting": "{{displayName}} 正在展示",
@ -88,8 +88,8 @@
"Retry sending logs": "重試傳送紀錄檔", "Retry sending logs": "重試傳送紀錄檔",
"Thanks!": "感謝!", "Thanks!": "感謝!",
"You were disconnected from the call": "您已從通話斷線", "You were disconnected from the call": "您已從通話斷線",
"{{count, number}}|one": "{{count, number}}", "{{count, number}}_one": "{{count, number}}",
"{{count, number}}|other": "{{count, number}}", "{{count, number}}_other": "{{count, number}}",
"Encrypted": "已加密", "Encrypted": "已加密",
"End call": "結束通話", "End call": "結束通話",
"Grid": "網格", "Grid": "網格",

28
src/@types/i18next.d.ts vendored Normal file
View File

@ -0,0 +1,28 @@
/*
Copyright 2023 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import "i18next";
// import all namespaces (for the default language, only)
import app from "../../public/locales/en-GB/app.json";
declare module "i18next" {
interface CustomTypeOptions {
defaultNS: "app";
resources: {
app: typeof app;
};
}
}

View File

@ -16,6 +16,9 @@ limitations under the License.
import i18n from "i18next"; import i18n from "i18next";
import type { ParseKeys, TFunction } from "i18next/typescript/t";
import type { DefaultNamespace, TOptions } from "i18next/typescript/options";
/** /**
* An error with messages in both English and the user's preferred language. * An error with messages in both English and the user's preferred language.
*/ */
@ -27,8 +30,11 @@ export abstract class TranslatedError extends Error {
*/ */
public readonly translatedMessage: string; public readonly translatedMessage: string;
public constructor(messageKey: string, translationFn: typeof i18n.t) { public constructor(
super(translationFn(messageKey, { lng: "en-GB" })); messageKey: ParseKeys<DefaultNamespace, TOptions>,
translationFn: TFunction<DefaultNamespace>,
) {
super(translationFn(messageKey, { lng: "en-GB" } as TOptions));
this.translatedMessage = translationFn(messageKey); this.translatedMessage = translationFn(messageKey);
} }
} }
@ -38,6 +44,6 @@ class TranslatedErrorImpl extends TranslatedError {}
// i18next-parser can't detect calls to a constructor, so we expose a bare // i18next-parser can't detect calls to a constructor, so we expose a bare
// function instead // function instead
export const translatedError = ( export const translatedError = (
messageKey: string, messageKey: ParseKeys<DefaultNamespace, TOptions>,
t: typeof i18n.t, t: typeof i18n.t,
): TranslatedError => new TranslatedErrorImpl(messageKey, t); ): TranslatedError => new TranslatedErrorImpl(messageKey, t);

View File

@ -74,7 +74,7 @@ export class Initializer {
defaultNS: "app", defaultNS: "app",
keySeparator: false, keySeparator: false,
nsSeparator: false, nsSeparator: false,
pluralSeparator: "|", pluralSeparator: "_",
contextSeparator: "|", contextSeparator: "|",
interpolation: { interpolation: {
escapeValue: false, // React has built-in XSS protections escapeValue: false, // React has built-in XSS protections

View File

@ -14,6 +14,7 @@
"noUnusedLocals": true, "noUnusedLocals": true,
"moduleResolution": "node", "moduleResolution": "node",
"declaration": true, "declaration": true,
"resolveJsonModule": true,
// TODO: Enable the following options later. // TODO: Enable the following options later.
// "forceConsistentCasingInFileNames": true, // "forceConsistentCasingInFileNames": true,