From 72e9371fa30a1de4c0f8963176f0e4d16f8a1632 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 17 Jun 2026 10:04:24 +0200 Subject: [PATCH] Custom recovery key: import strings from Localazy --- enterprise | 2 +- .../impl/src/main/res/values/localazy.xml | 18 +++++++++++++ .../impl/src/main/res/values/temporary.xml | 26 ------------------- tools/localazy/config.json | 1 + 4 files changed, 20 insertions(+), 27 deletions(-) delete mode 100644 features/securebackup/impl/src/main/res/values/temporary.xml diff --git a/enterprise b/enterprise index 3e04d8aa06..0a17f4b5c9 160000 --- a/enterprise +++ b/enterprise @@ -1 +1 @@ -Subproject commit 3e04d8aa069904e5c21384edf651ee76c13ab0c0 +Subproject commit 0a17f4b5c9b5d7bc450eae6f1c4c082b37bca36e diff --git a/features/securebackup/impl/src/main/res/values/localazy.xml b/features/securebackup/impl/src/main/res/values/localazy.xml index e0fc2d37e7..65266060a1 100644 --- a/features/securebackup/impl/src/main/res/values/localazy.xml +++ b/features/securebackup/impl/src/main/res/values/localazy.xml @@ -20,6 +20,24 @@ "Follow the instructions to create a new recovery key" "Save your new recovery key in a password manager or encrypted note" "Reset the encryption for your account using another device" + "The recovery key you entered doesn\'t match" + "Finish setup" + "Enter your recovery key again." + "Confirm your recovery key" + "Minimum %1$s characters. Do not use your account password" + "Strength" + "Passphrase strength: %1$s" + "Moderate" + "Strong" + "Very strong" + "Very weak" + "Weak" + "Choose a recovery key that you can memorize." + "Enter a recovery key" + "Loading recovery key requirements" + "To change your recovery key, go to Settings → Encryption → Backup" + "You can use your recovery key to confirm new devices or restore your encrypted chats if you lose access to all your devices." + "Your backup is now fully set up" "Continue reset" "Your account details, contacts, preferences, and chat list will be kept" "You will lose any message history that’s stored only on the server" diff --git a/features/securebackup/impl/src/main/res/values/temporary.xml b/features/securebackup/impl/src/main/res/values/temporary.xml deleted file mode 100644 index 7bac07c172..0000000000 --- a/features/securebackup/impl/src/main/res/values/temporary.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - Enter a recovery key - Choose a recovery key that you can memorize. - Confirm your recovery key - Enter your recovery key again. - Minimum %1$s characters. Do not use your account password - Finish setup - Your backup is now fully set up - You can use your recovery key to confirm new devices or restore your encrypted chats if you lose access to all your devices. - To change your recovery key, go to Settings → Encryption → Backup - Strength - Very weak - Weak - Moderate - Strong - Very strong - The recovery key you entered doesn\'t match - Passphrase strength: %1$s - Loading recovery key requirements - diff --git a/tools/localazy/config.json b/tools/localazy/config.json index 6ea495439e..e125ffbe6f 100644 --- a/tools/localazy/config.json +++ b/tools/localazy/config.json @@ -315,6 +315,7 @@ "screen_chat_backup_.*", "screen_key_backup_disable_.*", "screen_recovery_key_.*", + "screen\\.custom_recovery_key\\..*", "screen_create_new_recovery_key_.*", "screen_encryption_reset.*", "screen_reset_encryption.*",