Fix hardcoded Element string
This commit is contained in:
@@ -13,6 +13,7 @@ import React, { useCallback, useState } from "react";
|
|||||||
import { _t } from "../../../../languageHandler";
|
import { _t } from "../../../../languageHandler";
|
||||||
import { EncryptionCard } from "./EncryptionCard";
|
import { EncryptionCard } from "./EncryptionCard";
|
||||||
import { useKeyStoragePanelViewModel } from "../../../viewmodels/settings/encryption/KeyStoragePanelViewModel";
|
import { useKeyStoragePanelViewModel } from "../../../viewmodels/settings/encryption/KeyStoragePanelViewModel";
|
||||||
|
import SdkConfig from "../../../../SdkConfig";
|
||||||
|
|
||||||
interface ResetIdentityPanelProps {
|
interface ResetIdentityPanelProps {
|
||||||
onFinish: () => void;
|
onFinish: () => void;
|
||||||
@@ -56,7 +57,7 @@ export function DeleteKeyStoragePanel({ onFinish }: ResetIdentityPanelProps): JS
|
|||||||
{_t("settings|encryption|delete_key_storage|list_first")}
|
{_t("settings|encryption|delete_key_storage|list_first")}
|
||||||
</VisualListItem>
|
</VisualListItem>
|
||||||
<VisualListItem Icon={CrossIcon} destructive={true}>
|
<VisualListItem Icon={CrossIcon} destructive={true}>
|
||||||
{_t("settings|encryption|delete_key_storage|list_second")}
|
{_t("settings|encryption|delete_key_storage|list_second", { brand: SdkConfig.get().brand })}
|
||||||
</VisualListItem>
|
</VisualListItem>
|
||||||
</VisualList>
|
</VisualList>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2487,7 +2487,7 @@
|
|||||||
"confirm": "Delete key storage",
|
"confirm": "Delete key storage",
|
||||||
"description": "Deleting key storage will remove your cryptographic identity and message keys from the server and turn off the following security features:",
|
"description": "Deleting key storage will remove your cryptographic identity and message keys from the server and turn off the following security features:",
|
||||||
"list_first": "You will not have encrypted message history on new devices",
|
"list_first": "You will not have encrypted message history on new devices",
|
||||||
"list_second": "You will lose access to your encrypted messages if you are signed out of Element everywhere",
|
"list_second": "You will lose access to your encrypted messages if you are signed out of %(brand)s everywhere",
|
||||||
"title": "Are you sure you want to turn off key storage and delete it?"
|
"title": "Are you sure you want to turn off key storage and delete it?"
|
||||||
},
|
},
|
||||||
"device_not_verified_button": "Verify this device",
|
"device_not_verified_button": "Verify this device",
|
||||||
|
|||||||
Reference in New Issue
Block a user