Tweak the EncryptionReset root screen copy.

This commit is contained in:
Stefan Ceriu 2024-08-29 15:05:28 +03:00 committed by Stefan Ceriu
parent 32e1e1aa24
commit 302df1879e
11 changed files with 24 additions and 29 deletions

View File

@ -441,16 +441,16 @@
"screen_edit_profile_error_title" = "Unable to update profile";
"screen_edit_profile_title" = "Edit profile";
"screen_edit_profile_updating_details" = "Updating profile…";
"screen_encryption_reset_action_continue_reset" = "Continue reset";
"screen_encryption_reset_bullet_1" = "Your account details, contacts, preferences, and chat list will be kept";
"screen_encryption_reset_bullet_2" = "You will lose your existing message history";
"screen_encryption_reset_bullet_3" = "You will need to verify all your existing devices and contacts again";
"screen_encryption_reset_footer" = "Only reset your identity if you dont have access to another signed-in device and youve lost your recovery key.";
"screen_encryption_reset_subtitle" = "If youre not signed in to any other devices and youve lost your recovery key, then youll need to reset your identity to continue using the app. ";
"screen_encryption_reset_title" = "Reset your identity in case you cant confirm another way";
"screen_encryption_reset_title" = "Can't confirm? Youll need to reset your identity.";
"screen_identity_confirmation_cannot_confirm" = "Can't confirm?";
"screen_identity_confirmation_create_new_recovery_key" = "Create a new recovery key";
"screen_identity_confirmation_subtitle" = "Verify this device to set up secure messaging.";
"screen_identity_confirmation_title" = "Confirm that it's you";
"screen_identity_confirmation_title" = "Confirm your identity";
"screen_identity_confirmation_use_another_device" = "Use another device";
"screen_identity_confirmation_use_recovery_key" = "Use recovery key";
"screen_identity_confirmed_subtitle" = "Now you can read or send messages securely, and anyone you chat with can also trust this device.";

View File

@ -1057,6 +1057,8 @@ internal enum L10n {
internal static var screenEditProfileTitle: String { return L10n.tr("Localizable", "screen_edit_profile_title") }
/// Updating profile
internal static var screenEditProfileUpdatingDetails: String { return L10n.tr("Localizable", "screen_edit_profile_updating_details") }
/// Continue reset
internal static var screenEncryptionResetActionContinueReset: String { return L10n.tr("Localizable", "screen_encryption_reset_action_continue_reset") }
/// Your account details, contacts, preferences, and chat list will be kept
internal static var screenEncryptionResetBullet1: String { return L10n.tr("Localizable", "screen_encryption_reset_bullet_1") }
/// You will lose your existing message history
@ -1065,9 +1067,7 @@ internal enum L10n {
internal static var screenEncryptionResetBullet3: String { return L10n.tr("Localizable", "screen_encryption_reset_bullet_3") }
/// Only reset your identity if you dont have access to another signed-in device and youve lost your recovery key.
internal static var screenEncryptionResetFooter: String { return L10n.tr("Localizable", "screen_encryption_reset_footer") }
/// If youre not signed in to any other devices and youve lost your recovery key, then youll need to reset your identity to continue using the app.
internal static var screenEncryptionResetSubtitle: String { return L10n.tr("Localizable", "screen_encryption_reset_subtitle") }
/// Reset your identity in case you cant confirm another way
/// Can't confirm? Youll need to reset your identity.
internal static var screenEncryptionResetTitle: String { return L10n.tr("Localizable", "screen_encryption_reset_title") }
/// Can't confirm?
internal static var screenIdentityConfirmationCannotConfirm: String { return L10n.tr("Localizable", "screen_identity_confirmation_cannot_confirm") }
@ -1075,7 +1075,7 @@ internal enum L10n {
internal static var screenIdentityConfirmationCreateNewRecoveryKey: String { return L10n.tr("Localizable", "screen_identity_confirmation_create_new_recovery_key") }
/// Verify this device to set up secure messaging.
internal static var screenIdentityConfirmationSubtitle: String { return L10n.tr("Localizable", "screen_identity_confirmation_subtitle") }
/// Confirm that it's you
/// Confirm your identity
internal static var screenIdentityConfirmationTitle: String { return L10n.tr("Localizable", "screen_identity_confirmation_title") }
/// Use another device
internal static var screenIdentityConfirmationUseAnotherDevice: String { return L10n.tr("Localizable", "screen_identity_confirmation_use_another_device") }

View File

@ -24,7 +24,7 @@ struct EncryptionResetScreen: View {
FullscreenDialog {
mainContent
} bottomContent: {
Button(L10n.actionContinue, role: .destructive) {
Button(L10n.screenEncryptionResetActionContinueReset, role: .destructive) {
context.send(viewAction: .reset)
}
.buttonStyle(.compound(.primary))
@ -55,11 +55,6 @@ struct EncryptionResetScreen: View {
.font(.compound.headingMDBold)
.multilineTextAlignment(.center)
.foregroundColor(.compound.textPrimary)
Text(L10n.screenEncryptionResetSubtitle)
.font(.compound.bodyMD)
.multilineTextAlignment(.center)
.foregroundColor(.compound.textSecondary)
}
}