diff --git a/modules/tchap-translations/tchap_translations.json b/modules/tchap-translations/tchap_translations.json index 3585f5dc02..14dfe7b7b9 100644 --- a/modules/tchap-translations/tchap_translations.json +++ b/modules/tchap-translations/tchap_translations.json @@ -457,6 +457,16 @@ "fr": "Vous risquez de ne pas pouvoir récupérer vos messages." }, "encryption|verify_toast_title": { "en": "Verify this device", "fr": "Vérifier cet appareil" }, + "error_app_open_in_another_tab": { + "comment": "2024-02-05: remove once the string is fr-translated in element", + "en": "Switch to the other tab to connect to %(brand)s. This tab can now be closed.", + "fr": "Vous pouvez fermer cet onglet déconnecté, et aller à l'autre onglet %(brand)s." + }, + "error_app_open_in_another_tab_title": { + "comment": "2024-02-05: remove once the string is fr-translated in element", + "en": "%(brand)s is connected in another tab", + "fr": "%(brand)s a été connecté dans un autre onglet" + }, "error_app_opened_in_another_window": { "comment": "2023-11-08: remove once the string is translated in element", "en": "%(brand)s is open in another window. Click \"%(label)s\" to use %(brand)s here and disconnect the other window.", diff --git a/patches/better-text-for-tab-switch/matrix-react-sdk+3.82.0.patch b/patches/better-text-for-tab-switch/matrix-react-sdk+3.82.0.patch deleted file mode 100644 index a9c276a5d4..0000000000 --- a/patches/better-text-for-tab-switch/matrix-react-sdk+3.82.0.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/node_modules/matrix-react-sdk/src/components/structures/auth/SessionLockStolenView.tsx b/node_modules/matrix-react-sdk/src/components/structures/auth/SessionLockStolenView.tsx -index de93624..64378b8 100644 ---- a/node_modules/matrix-react-sdk/src/components/structures/auth/SessionLockStolenView.tsx -+++ b/node_modules/matrix-react-sdk/src/components/structures/auth/SessionLockStolenView.tsx -@@ -28,8 +28,13 @@ export function SessionLockStolenView(): JSX.Element { - - return ( - -+ {/** :TCHAP: better messaging -

{_t("common|error")}

-

{_t("error_app_open_in_another_tab", { brand })}

--
-- ); -+ */} -+

{_t("error_app_open_in_another_tab", { brand })}

-+

{_t("You can close this disconnected tab, and go to the other %(brand)s tab.", { brand })}

-+ {/** end :TCHAP: */} -+ -+ ); - }