From e6421fded5b179cba29a670fa2bd98b52c109de4 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 12 May 2023 11:25:20 +0100 Subject: [PATCH] Use brand variable consistently (#10867) --- .../structures/WaitingForThirdPartyRoomView.tsx | 8 ++++++-- src/i18n/strings/en_EN.json | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/structures/WaitingForThirdPartyRoomView.tsx b/src/components/structures/WaitingForThirdPartyRoomView.tsx index b747fd007f..78b9c9129f 100644 --- a/src/components/structures/WaitingForThirdPartyRoomView.tsx +++ b/src/components/structures/WaitingForThirdPartyRoomView.tsx @@ -28,6 +28,7 @@ import EventTileBubble from "../views/messages/EventTileBubble"; import NewRoomIntro from "../views/rooms/NewRoomIntro"; import { UnwrappedEventTile } from "../views/rooms/EventTile"; import { _t } from "../../languageHandler"; +import SdkConfig from "../../SdkConfig"; interface Props { roomView: RefObject; @@ -42,6 +43,7 @@ interface Props { */ export const WaitingForThirdPartyRoomView: React.FC = ({ roomView, resizeNotifier, inviteEvent }) => { const context = useRoomContext(); + const brand = SdkConfig.get().brand; return (
@@ -66,9 +68,11 @@ export const WaitingForThirdPartyRoomView: React.FC = ({ roomView, resize diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index b2485b4169..0b68dd99d6 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -3529,8 +3529,8 @@ "Original event source": "Original event source", "Event ID: %(eventId)s": "Event ID: %(eventId)s", "Thread root ID: %(threadRootId)s": "Thread root ID: %(threadRootId)s", - "Waiting for users to join Element": "Waiting for users to join Element", - "Once invited users have joined Element, you will be able to chat and the room will be end-to-end encrypted": "Once invited users have joined Element, you will be able to chat and the room will be end-to-end encrypted", + "Waiting for users to join %(brand)s": "Waiting for users to join %(brand)s", + "Once invited users have joined %(brand)s, you will be able to chat and the room will be end-to-end encrypted": "Once invited users have joined %(brand)s, you will be able to chat and the room will be end-to-end encrypted", "Unable to verify this device": "Unable to verify this device", "Verify this device": "Verify this device", "Device verified": "Device verified",