mirror of https://github.com/vector-im/riot-web
Remove redundant copy in deactive uia modal (#12668)
* Remove redundant copy in deactive uia modal Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>t3chguy/dedup-icons-17oct
parent
4a4c17253e
commit
5eb5ea81d5
|
@ -23,7 +23,7 @@ import { MatrixClient } from "matrix-js-sdk/src/matrix";
|
|||
import { MatrixClientPeg } from "../../../MatrixClientPeg";
|
||||
import { _t } from "../../../languageHandler";
|
||||
import InteractiveAuth, { ERROR_USER_CANCELLED, InteractiveAuthCallback } from "../../structures/InteractiveAuth";
|
||||
import { ContinueKind, DEFAULT_PHASE, PasswordAuthEntry, SSOAuthEntry } from "../auth/InteractiveAuthEntryComponents";
|
||||
import { ContinueKind, SSOAuthEntry } from "../auth/InteractiveAuthEntryComponents";
|
||||
import StyledCheckbox from "../elements/StyledCheckbox";
|
||||
import BaseDialog from "./BaseDialog";
|
||||
import defaultDispatcher from "../../../dispatcher/dispatcher";
|
||||
|
@ -88,11 +88,6 @@ export default class DeactivateAccountDialog extends React.Component<IProps, ISt
|
|||
const DEACTIVATE_AESTHETICS: DialogAesthetics = {
|
||||
[SSOAuthEntry.LOGIN_TYPE]: dialogAesthetics,
|
||||
[SSOAuthEntry.UNSTABLE_LOGIN_TYPE]: dialogAesthetics,
|
||||
[PasswordAuthEntry.LOGIN_TYPE]: {
|
||||
[DEFAULT_PHASE]: {
|
||||
body: _t("settings|general|deactivate_confirm_body_password"),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const aesthetics = DEACTIVATE_AESTHETICS[stage];
|
||||
|
|
|
@ -2471,7 +2471,6 @@
|
|||
"confirm_adding_email_body": "Click the button below to confirm adding this email address.",
|
||||
"confirm_adding_email_title": "Confirm adding email",
|
||||
"deactivate_confirm_body": "Are you sure you want to deactivate your account? This is irreversible.",
|
||||
"deactivate_confirm_body_password": "To continue, please enter your account password:",
|
||||
"deactivate_confirm_body_sso": "Confirm your account deactivation by using Single Sign On to prove your identity.",
|
||||
"deactivate_confirm_content": "Confirm that you would like to deactivate your account. If you proceed:",
|
||||
"deactivate_confirm_content_1": "You will not be able to reactivate your account",
|
||||
|
|
Loading…
Reference in New Issue