diff --git a/modules/tchap-translations/tchap_translations.json b/modules/tchap-translations/tchap_translations.json index 8433a373f1..cdf7ebaff1 100644 --- a/modules/tchap-translations/tchap_translations.json +++ b/modules/tchap-translations/tchap_translations.json @@ -1131,5 +1131,9 @@ "Unverified sessions are sessions that have logged in with your credentials but have not been cross-verified.": { "fr": "Les appareils non vérifiés sont identifiés avec vos identifiants mais n’ont pas fait de vérification croisée (échange d'emojis ou Code de Récupération).", "en": "Unverified devices are devices that have logged in with your credentials but have not been cross-verified (emoji exchange or ou Recovery Code)." + }, + "onboarding_free_e2ee_messaging_tchap_limited_voip": { + "en": "With free end-to-end encrypted messaging, %(brand)s is a great way to stay in touch.", + "fr": "Grâce à la messagerie chiffrée de bout en bout gratuite, %(brand)s est un excellent moyen de rester en contact." } } diff --git a/patches/no-voip-mentions-in-onboarding/matrix-react-sdk+3.81.0.patch b/patches/no-voip-mentions-in-onboarding/matrix-react-sdk+3.81.0.patch new file mode 100644 index 0000000000..f19ea905da --- /dev/null +++ b/patches/no-voip-mentions-in-onboarding/matrix-react-sdk+3.81.0.patch @@ -0,0 +1,18 @@ +diff --git a/node_modules/matrix-react-sdk/src/components/views/user-onboarding/UserOnboardingHeader.tsx b/node_modules/matrix-react-sdk/src/components/views/user-onboarding/UserOnboardingHeader.tsx +index 67e5367..df71ad1 100644 +--- a/node_modules/matrix-react-sdk/src/components/views/user-onboarding/UserOnboardingHeader.tsx ++++ b/node_modules/matrix-react-sdk/src/components/views/user-onboarding/UserOnboardingHeader.tsx +@@ -49,10 +49,11 @@ export function UserOnboardingHeader({ useCase }: Props): JSX.Element { + break; + case UseCase.WorkMessaging: + title = _t("onboarding|work_messaging_title"); +- description = _t("onboarding|free_e2ee_messaging_unlimited_voip", { ++ description = _t("onboarding_free_e2ee_messaging_tchap_limited_voip", { // :TCHAP: + brand: SdkConfig.get("brand"), + }); +- image = require("../../../../res/img/user-onboarding/WorkMessaging.png"); ++ // :TCHAP: image = require("../../../../res/img/user-onboarding/WorkMessaging.png"); ++ image = require("../../../../../../res/img/tchap/multi-device-messaging.png"); // :TCHAP: + actionLabel = _t("onboarding|work_messaging_action"); + break; + case UseCase.CommunityMessaging: diff --git a/patches/patches.json b/patches/patches.json index 1f97d11505..a4cc0301c3 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -214,7 +214,7 @@ ] }, "remove-fdroid": { - "comments" : "remove when issue is fixed in element-web : https://github.com/vector-im/element-web/issues/26309", + "comments" : "Fixed in 1.11.47 : remove when issue is fixed in element-web : https://github.com/vector-im/element-web/issues/26309", "package": "matrix-react-sdk", "files": [ "src/components/views/dialogs/AppDownloadDialog.tsx" @@ -226,5 +226,12 @@ "files": [ "src/languageHandler.tsx" ] + }, + "no-voip-mentions-in-onboarding": { + "comments" : "Remove custom string when translations are finished migrating (1.11.46). Custom image stays though.", + "package": "matrix-react-sdk", + "files": [ + "src/components/views/user-onboarding/UserOnboardingHeader.tsx" + ] } } \ No newline at end of file diff --git a/res/img/tchap/multi-device-messaging.png b/res/img/tchap/multi-device-messaging.png new file mode 100644 index 0000000000..923af5b98a Binary files /dev/null and b/res/img/tchap/multi-device-messaging.png differ