Use brand variable consistently (#10867)
This commit is contained in:
parent
684141d310
commit
e6421fded5
2 changed files with 8 additions and 4 deletions
|
@ -28,6 +28,7 @@ import EventTileBubble from "../views/messages/EventTileBubble";
|
||||||
import NewRoomIntro from "../views/rooms/NewRoomIntro";
|
import NewRoomIntro from "../views/rooms/NewRoomIntro";
|
||||||
import { UnwrappedEventTile } from "../views/rooms/EventTile";
|
import { UnwrappedEventTile } from "../views/rooms/EventTile";
|
||||||
import { _t } from "../../languageHandler";
|
import { _t } from "../../languageHandler";
|
||||||
|
import SdkConfig from "../../SdkConfig";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
roomView: RefObject<HTMLElement>;
|
roomView: RefObject<HTMLElement>;
|
||||||
|
@ -42,6 +43,7 @@ interface Props {
|
||||||
*/
|
*/
|
||||||
export const WaitingForThirdPartyRoomView: React.FC<Props> = ({ roomView, resizeNotifier, inviteEvent }) => {
|
export const WaitingForThirdPartyRoomView: React.FC<Props> = ({ roomView, resizeNotifier, inviteEvent }) => {
|
||||||
const context = useRoomContext();
|
const context = useRoomContext();
|
||||||
|
const brand = SdkConfig.get().brand;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_RoomView mx_RoomView--local">
|
<div className="mx_RoomView mx_RoomView--local">
|
||||||
|
@ -66,9 +68,11 @@ export const WaitingForThirdPartyRoomView: React.FC<Props> = ({ roomView, resize
|
||||||
<ScrollPanel className="mx_RoomView_messagePanel" resizeNotifier={resizeNotifier}>
|
<ScrollPanel className="mx_RoomView_messagePanel" resizeNotifier={resizeNotifier}>
|
||||||
<EventTileBubble
|
<EventTileBubble
|
||||||
className="mx_cryptoEvent mx_cryptoEvent_icon"
|
className="mx_cryptoEvent mx_cryptoEvent_icon"
|
||||||
title={_t("Waiting for users to join Element")}
|
title={_t("Waiting for users to join %(brand)s", { brand })}
|
||||||
subtitle={_t(
|
subtitle={_t(
|
||||||
"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 %(brand)s, " +
|
||||||
|
"you will be able to chat and the room will be end-to-end encrypted",
|
||||||
|
{ brand },
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<NewRoomIntro />
|
<NewRoomIntro />
|
||||||
|
|
|
@ -3529,8 +3529,8 @@
|
||||||
"Original event source": "Original event source",
|
"Original event source": "Original event source",
|
||||||
"Event ID: %(eventId)s": "Event ID: %(eventId)s",
|
"Event ID: %(eventId)s": "Event ID: %(eventId)s",
|
||||||
"Thread root ID: %(threadRootId)s": "Thread root ID: %(threadRootId)s",
|
"Thread root ID: %(threadRootId)s": "Thread root ID: %(threadRootId)s",
|
||||||
"Waiting for users to join Element": "Waiting for users to join Element",
|
"Waiting for users to join %(brand)s": "Waiting for users to join %(brand)s",
|
||||||
"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",
|
"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",
|
"Unable to verify this device": "Unable to verify this device",
|
||||||
"Verify this device": "Verify this device",
|
"Verify this device": "Verify this device",
|
||||||
"Device verified": "Device verified",
|
"Device verified": "Device verified",
|
||||||
|
|
Loading…
Reference in a new issue