From 2bc7223c1c9ccb0ce4b8a2ec5e5d3c3bd24ee230 Mon Sep 17 00:00:00 2001 From: ElementRobot Date: Tue, 8 Apr 2025 11:51:15 +0200 Subject: [PATCH] Localazy Download (#29675) * [create-pull-request] automated change * test: fix `RoomListItemView` test --------- Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com> Co-authored-by: Florian Duros --- src/i18n/strings/cs.json | 5 +--- src/i18n/strings/cy.json | 12 +++++---- src/i18n/strings/de_DE.json | 5 +--- src/i18n/strings/en_EN.json | 2 +- src/i18n/strings/fr.json | 13 ++++++---- src/i18n/strings/hu.json | 5 +--- src/i18n/strings/nb_NO.json | 25 +++++++++++++------ src/i18n/strings/pl.json | 10 ++++---- src/i18n/strings/uk.json | 10 ++++---- .../roomlist/RoomListItemViewModel-test.tsx | 4 +-- 10 files changed, 48 insertions(+), 43 deletions(-) diff --git a/src/i18n/strings/cs.json b/src/i18n/strings/cs.json index b119257021..ec3b64cf58 100644 --- a/src/i18n/strings/cs.json +++ b/src/i18n/strings/cs.json @@ -1829,10 +1829,7 @@ "toxic_behaviour": "Nevhodné chování" }, "report_room": { - "description": "Nahlaste tuto místnost správci domovského serveru. Tím se odešle jedinečné ID místnosti, ale pokud jsou zprávy zašifrovány, správce je nebude moci číst ani zobrazit sdílené soubory.", - "reason_placeholder": " Důvod nahlášení...", - "sent": "Vaše hlášení bylo odesláno.", - "title": "Nahlášení místnosti" + "description": "Nahlaste tuto místnost správci domovského serveru. Tím se odešle jedinečné ID místnosti, ale pokud jsou zprávy zašifrovány, správce je nebude moci číst ani zobrazit sdílené soubory." }, "restore_key_backup_dialog": { "count_of_decryption_failures": "Nepovedlo se rozšifrovat %(failedCount)s sezení!", diff --git a/src/i18n/strings/cy.json b/src/i18n/strings/cy.json index 82c1cd1e7f..3200bc4007 100644 --- a/src/i18n/strings/cy.json +++ b/src/i18n/strings/cy.json @@ -814,6 +814,9 @@ "setting_colon": "Gosodiad:", "setting_definition": "Gosod diffiniad:", "setting_id": "Gosod ID", + "settings": { + "elementCallUrl": "URL Galwad Element" + }, "settings_explorer": "Archwiliwr gosodiadau", "show_hidden_events": "Dangos digwyddiadau cudd yn y llinell amser", "state_key": "Allwedd Cyflwr", @@ -1606,6 +1609,7 @@ "class_global": "Eang", "class_other": "Arall", "default": "Rhagosodedig", + "default_settings": "Cydweddu'r gosodiadau rhagosodedig", "email_pusher_app_display_name": "Hysbysiadau E-bost", "enable_prompt_toast_description": "Galluogi hysbysiadau bwrdd gwaith", "enable_prompt_toast_title": "Hysbysiadau", @@ -1624,7 +1628,8 @@ "mentions_and_keywords_description": "Dim ond gyda chyfeiriadau ac allweddeiriau fel y'u gosodwyd yn eich gosodiadau y cewch eich hysbysu", "mentions_keywords": "Crybwyll ac allweddeiriau", "message_didnt_send": "Heb anfon y neges. Cliciwch am wybodaeth.", - "mute_description": "Fyddwch chi ddim yn cael unrhyw hysbysiadau" + "mute_description": "Fyddwch chi ddim yn cael unrhyw hysbysiadau", + "mute_room": "Tewi'r ystafell" }, "notifier": { "m.key.verification.request": "Mae %(matere)s yn gofyn am ddilysiad" @@ -1746,10 +1751,7 @@ "toxic_behaviour": "Ymddygiad Gwenwynig" }, "report_room": { - "description": "Adroddwch ar yr ystafell hon i weinyddwr eich gweinydd cartref. Bydd hyn yn anfon ID unigryw'r ystafell, ond os yw negeseuon wedi'u hamgryptio, fydd y gweinyddwr ddim yn gallu eu darllen na gweld ffeiliau sy'n cael eu rhannu.", - "reason_placeholder": " Rheswm dros adrodd...", - "sent": "Anfonwyd eich adroddiad.", - "title": "Ystafell Adrodd" + "description": "Adroddwch ar yr ystafell hon i weinyddwr eich gweinydd cartref. Bydd hyn yn anfon ID unigryw'r ystafell, ond os yw negeseuon wedi'u hamgryptio, fydd y gweinyddwr ddim yn gallu eu darllen na gweld ffeiliau sy'n cael eu rhannu." }, "restore_key_backup_dialog": { "count_of_decryption_failures": "Wedi methu â dadgryptio %(failedCount)s sesiwn!", diff --git a/src/i18n/strings/de_DE.json b/src/i18n/strings/de_DE.json index 34b27ef1e2..15c5663a7c 100644 --- a/src/i18n/strings/de_DE.json +++ b/src/i18n/strings/de_DE.json @@ -1822,10 +1822,7 @@ "toxic_behaviour": "Toxisches Verhalten" }, "report_room": { - "description": "Melden Sie diesen Raum Ihrem Homeserver-Administrator. Dadurch wird die eindeutige ID des Raums gesendet. Wenn Nachrichten verschlüsselt sind, kann der Administrator sie jedoch nicht lesen oder geteilte Dateien anzeigen.", - "reason_placeholder": " Grund für die Meldung...", - "sent": "Ihr Bericht wurde gesendet.", - "title": "Raum melden" + "description": "Melden Sie diesen Raum Ihrem Homeserver-Administrator. Dadurch wird die eindeutige ID des Raums gesendet. Wenn Nachrichten verschlüsselt sind, kann der Administrator sie jedoch nicht lesen oder geteilte Dateien anzeigen." }, "restore_key_backup_dialog": { "count_of_decryption_failures": "Konnte %(failedCount)s Sitzungen nicht entschlüsseln!", diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 270249d1ef..d04a2196f8 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -12,7 +12,7 @@ "other": "%(count)s unread messages including mentions." }, "recent_rooms": "Recent rooms", - "room_messsage_not_sent": "Open room %(roomName)s with an unset message.", + "room_messsage_not_sent": "Open room %(roomName)s with an unsent message.", "room_n_unread_invite": "Open room %(roomName)s invitation.", "room_n_unread_messages": { "one": "Open room %(roomName)s with 1 unread message.", diff --git a/src/i18n/strings/fr.json b/src/i18n/strings/fr.json index f0816eae92..c2fa4ac8f1 100644 --- a/src/i18n/strings/fr.json +++ b/src/i18n/strings/fr.json @@ -846,6 +846,9 @@ "setting_colon": "Paramètre :", "setting_definition": "Définition du paramètre :", "setting_id": "Identifiant de paramètre", + "settings": { + "elementCallUrl": "Lien d'Element Call" + }, "settings_explorer": "Explorateur de paramètres", "show_hidden_events": "Afficher les évènements cachés dans le fil de discussion", "spaces": { @@ -1674,6 +1677,7 @@ "class_global": "Global", "class_other": "Autre", "default": "Par défaut", + "default_settings": "Correspondre aux paramètres par défaut", "email_pusher_app_display_name": "Notifications par courriel", "enable_prompt_toast_description": "Activer les notifications sur le bureau", "enable_prompt_toast_title": "Notifications", @@ -1692,7 +1696,8 @@ "mentions_and_keywords_description": "Recevoir des notifications uniquement pour les mentions et mot-clés comme défini dans vos paramètres", "mentions_keywords": "Mentions et mots-clés", "message_didnt_send": "Le message n’a pas été envoyé. Cliquer pour plus d’info.", - "mute_description": "Vous n’aurez aucune notification" + "mute_description": "Vous n’aurez aucune notification", + "mute_room": "Rendre le salon muet" }, "notifier": { "m.key.verification.request": "%(name)s demande une vérification" @@ -1822,10 +1827,8 @@ "toxic_behaviour": "Comportement toxique" }, "report_room": { - "description": "Signalez cette salle à l'administrateur de votre serveur d'accueil. Cela enverra l'identifiant unique du salon, mais si les messages sont chiffrés, l'administrateur ne pourra pas les lire ni consulter les fichiers partagés.", - "reason_placeholder": " Motif du signalement...", - "sent": "Votre signalement a été envoyé.", - "title": "Signaler le salon" + "description": "Signalez ce salon à votre fournisseur de compte. Si les messages sont chiffrés, votre administrateur ne pourra pas les lire.", + "reason_label": "Décrivez la raison" }, "restore_key_backup_dialog": { "count_of_decryption_failures": "Le déchiffrement de %(failedCount)s sessions a échoué !", diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json index 4cb549a7a9..875ba3141f 100644 --- a/src/i18n/strings/hu.json +++ b/src/i18n/strings/hu.json @@ -1814,10 +1814,7 @@ "toxic_behaviour": "Mérgező viselkedés" }, "report_room": { - "description": "A szoba jelentése a Matrix-kiszolgáló rendszergazdájának. Ez elküldi a szoba egyedi azonosítóját, de ha az üzenetek titkosítva vannak, a rendszergazda nem fogja tudni elolvasni azokat, vagy megtekinteni a megosztott fájlokat.", - "reason_placeholder": " A jelentés oka…", - "sent": "A jelentés elküldve.", - "title": "Szoba jelentése" + "description": "A szoba jelentése a Matrix-kiszolgáló rendszergazdájának. Ez elküldi a szoba egyedi azonosítóját, de ha az üzenetek titkosítva vannak, a rendszergazda nem fogja tudni elolvasni azokat, vagy megtekinteni a megosztott fájlokat." }, "restore_key_backup_dialog": { "count_of_decryption_failures": "%(failedCount)s munkamenetet nem lehet visszafejteni!", diff --git a/src/i18n/strings/nb_NO.json b/src/i18n/strings/nb_NO.json index 451f837ab7..719c155f40 100644 --- a/src/i18n/strings/nb_NO.json +++ b/src/i18n/strings/nb_NO.json @@ -12,7 +12,16 @@ "other": "%(count)s uleste meldinger, inkludert omtaler." }, "recent_rooms": "Nylige rom", + "room_messsage_not_sent": "Åpent rom %(roomName)s med en usendt melding.", "room_n_unread_invite": "Invitasjon til det åpne rommet %(roomName)s.", + "room_n_unread_messages": { + "one": "Åpne room %(roomName)s med 1 ulest message.", + "other": "Åpne room %(roomName)s med %(count)s uleste messages." + }, + "room_n_unread_messages_mentions": { + "one": "Åpne room %(roomName)s med 1 ulest omtale.", + "other": "Åpne room %(roomName)s med %(count)s uleste meldinger inkludert omtaler." + }, "room_name": "Rom %(name)s", "room_status_bar": "Statuslinje for rommet", "seek_bar_label": "Søkelinje for lyd", @@ -1668,6 +1677,7 @@ "class_global": "Globalt", "class_other": "Andre", "default": "Standard", + "default_settings": "Match standardinnstillingene", "email_pusher_app_display_name": "E-postvarsler", "enable_prompt_toast_description": "Aktiver skrivebordsvarsler", "enable_prompt_toast_title": "Varsler", @@ -1686,7 +1696,8 @@ "mentions_and_keywords_description": "Bli varslet bare med omtaler og nøkkelord som konfigurert i innstillingene dine ", "mentions_keywords": "Omtaler og nøkkelord", "message_didnt_send": "Meldingen ble ikke sendt. Klikk for informasjon.", - "mute_description": "Du vil ikke få noen varsler" + "mute_description": "Du vil ikke få noen varsler", + "mute_room": "Demp rommet" }, "notifier": { "m.key.verification.request": "%(name)s ber om verifisering" @@ -1817,9 +1828,7 @@ }, "report_room": { "description": "Rapporter dette rommet til hjemmeserveradministratoren din. Dette vil sende rommets unike ID, men hvis meldinger er kryptert, vil ikke administratoren kunne lese dem eller se delte filer.", - "reason_placeholder": " Årsak til rapportering...", - "sent": "Rapporten din ble sendt.", - "title": "Rapporter rom" + "reason_label": "Beskriv årsaken" }, "restore_key_backup_dialog": { "count_of_decryption_failures": "Kunne ikke dekryptere %(failedCount)s økter!", @@ -3782,12 +3791,12 @@ "other": "%(severalUsers)sendret serverens ACLer %(count)s ganger" }, "unbanned": { - "one": "fikk opphevet forbudet", - "other": "fikk opphevet forbudet %(count)s ganger" + "one": "fikk utestengelse opphevet", + "other": "har fått utestengelse opphevet %(count)s ganger" }, "unbanned_multiple": { - "one": "fikk opphevet forbudet", - "other": "fikk opphevet forbudet %(count)s ganger" + "one": "har fått utestengelse opphevet", + "other": "fått utestengelse opphevet %(count)s ganger" } }, "thread_info_basic": "Fra en tråd", diff --git a/src/i18n/strings/pl.json b/src/i18n/strings/pl.json index eeec9c1744..8cd8889caa 100644 --- a/src/i18n/strings/pl.json +++ b/src/i18n/strings/pl.json @@ -1690,6 +1690,7 @@ "class_global": "Globalne", "class_other": "Inne", "default": "Domyślne", + "default_settings": "Ustawienia domyślne", "email_pusher_app_display_name": "Powiadomienia e-mail", "enable_prompt_toast_description": "Włącz powiadomienia na pulpicie", "enable_prompt_toast_title": "Powiadomienia", @@ -1708,7 +1709,8 @@ "mentions_and_keywords_description": "Otrzymuj powiadomienia tylko z wzmiankami i słowami kluczowymi zgodnie z Twoimi ustawieniami", "mentions_keywords": "Wzmianki i słowa kluczowe", "message_didnt_send": "Nie wysłano wiadomości. Kliknij po więcej informacji.", - "mute_description": "Nie otrzymasz żadnych powiadomień" + "mute_description": "Nie otrzymasz żadnych powiadomień", + "mute_room": "Wycisz pokój" }, "notifier": { "m.key.verification.request": "%(name)s prosi o weryfikację" @@ -1838,10 +1840,8 @@ "toxic_behaviour": "Toksyczne zachowanie" }, "report_room": { - "description": "Zgłoś ten pokój do administratora serwera domowego. Unikalne ID pokoju zostanie wysłane, lecz administrator nie będzie w mógł przeczytać żadnych wiadomości, ani plików szyfrowanych.", - "reason_placeholder": " Powód zgłoszenia...", - "sent": "Twój raport został wysłany.", - "title": "Zgłoś pokój" + "description": "Zgłoś ten pokój swojemu dostawcy konta. Jeśli wiadomości są zaszyfrowane, administrator nie będzie mógł ich odczytać.", + "reason_label": "Opisz powód" }, "restore_key_backup_dialog": { "count_of_decryption_failures": "Nie udało się odszyfrować %(failedCount)s sesji!", diff --git a/src/i18n/strings/uk.json b/src/i18n/strings/uk.json index 1fd690309b..7488c1c77a 100644 --- a/src/i18n/strings/uk.json +++ b/src/i18n/strings/uk.json @@ -1681,6 +1681,7 @@ "class_global": "Глобально", "class_other": "Інше", "default": "Типовий", + "default_settings": "Згідно з усталеними налаштуваннями", "email_pusher_app_display_name": "Сповіщення е-поштою", "enable_prompt_toast_description": "Увімкнути сповіщення стільниці", "enable_prompt_toast_title": "Сповіщення", @@ -1699,7 +1700,8 @@ "mentions_and_keywords_description": "Отримувати лише вказані у ваших налаштуваннях згадки й ключові слова", "mentions_keywords": "Згадки та ключові слова", "message_didnt_send": "Повідомлення не надіслане. Натисніть, щоб дізнатись більше.", - "mute_description": "Ви не отримуватимете жодних сповіщень" + "mute_description": "Ви не отримуватимете жодних сповіщень", + "mute_room": "Вимкнути сповіщення кімнати" }, "notifier": { "m.key.verification.request": "%(name)s робить запит на звірення" @@ -1829,10 +1831,8 @@ "toxic_behaviour": "Токсична поведінка" }, "report_room": { - "description": "Поскаржитися на цю кімнату адміністратору домашнього сервера. Це надішле унікальний ID кімнати, але якщо повідомлення зашифровані, адміністратор не зможе прочитати їх або переглянути спільні файли.", - "reason_placeholder": "Причина для скарги...", - "sent": "Вашу скаргу надіслано.", - "title": "Поскаржитися на кімнату" + "description": "Поскаржитися на цю кімнату постачальнику облікового запису. Якщо повідомлення зашифровані, адміністратор не зможе прочитати їх.", + "reason_label": "Опишіть причину" }, "restore_key_backup_dialog": { "count_of_decryption_failures": "Не вдалося розшифрувати %(failedCount)s сеансів!", diff --git a/test/unit-tests/components/viewmodels/roomlist/RoomListItemViewModel-test.tsx b/test/unit-tests/components/viewmodels/roomlist/RoomListItemViewModel-test.tsx index 9558ced09b..867a909f2e 100644 --- a/test/unit-tests/components/viewmodels/roomlist/RoomListItemViewModel-test.tsx +++ b/test/unit-tests/components/viewmodels/roomlist/RoomListItemViewModel-test.tsx @@ -77,9 +77,9 @@ describe("RoomListItemViewModel", () => { it.each([ { - label: "unset message", + label: "unsent message", mock: () => jest.spyOn(notificationState, "isUnsetMessage", "get").mockReturnValue(true), - expected: "Open room roomName with an unset message.", + expected: "Open room roomName with an unsent message.", }, { label: "invitation",