Extract string
This commit is contained in:
@@ -87,6 +87,8 @@
|
||||
"importInstruction": "Please select a file that contains a list of your codes in the following format",
|
||||
"importCodeDelimiterInfo": "The codes can be separated by a comma or a new line",
|
||||
"selectFile": "Select file",
|
||||
"emailVerificationToggle": "Email verification",
|
||||
"authToChangeEmailVerificationSetting": "Please authenticate to change email verification",
|
||||
"authToViewYourRecoveryKey": "Please authenticate to view your recovery key",
|
||||
"authToChangeYourEmail": "Please authenticate to change your email",
|
||||
"authToChangeYourPassword": "Please authenticate to change your password",
|
||||
|
||||
@@ -74,8 +74,8 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
||||
sectionOptionSpacing,
|
||||
if(canDisableMFA)
|
||||
MenuItemWidget(
|
||||
captionedTextWidget: const CaptionedTextWidget(
|
||||
title: "Email MFA",
|
||||
captionedTextWidget: CaptionedTextWidget(
|
||||
title: l10n.emailVerificationToggle,
|
||||
),
|
||||
trailingWidget: ToggleSwitchWidget(
|
||||
value: () => UserService.instance.hasEmailMFAEnabled(),
|
||||
@@ -84,7 +84,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
||||
.instance
|
||||
.requestLocalAuthentication(
|
||||
context,
|
||||
"Authenticate to change your email MFA setting",
|
||||
l10n.authToChangeEmailVerificationSetting,
|
||||
);
|
||||
final isEmailMFAEnabled =
|
||||
UserService.instance.hasEmailMFAEnabled();
|
||||
|
||||
Reference in New Issue
Block a user