From c554c0d456fd2f34864b133a223070c492c826ee Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Mon, 9 Mar 2026 14:43:41 -0300 Subject: [PATCH] Update string resource references from backup key to recovery key. --- .../subscription/MessageBackupsKeyRecordScreen.kt | 2 +- .../app/backups/local/LocalBackupsFragment.kt | 2 +- .../backups/local/LocalBackupsSettingsScreen.kt | 2 +- .../ui/restore/local/EnterLocalBackupKeyScreen.kt | 2 +- app/src/main/res/values/strings.xml | 14 +++++++------- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/backup/v2/ui/subscription/MessageBackupsKeyRecordScreen.kt b/app/src/main/java/org/thoughtcrime/securesms/backup/v2/ui/subscription/MessageBackupsKeyRecordScreen.kt index bc4a08f7c0..b43f21c051 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/backup/v2/ui/subscription/MessageBackupsKeyRecordScreen.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/backup/v2/ui/subscription/MessageBackupsKeyRecordScreen.kt @@ -183,7 +183,7 @@ fun MessageBackupsKeyRecordScreen( item { val text = if (notifyKeyIsSameAsOnDeviceBackupKey) { - stringResource(R.string.MessageBackupsKeyRecordScreen__this_key_is_the_same_as_your_on_device_backup_key) + stringResource(R.string.MessageBackupsKeyRecordScreen__this_key_is_the_same_as_your_on_device_recovery_key) } else { stringResource(R.string.MessageBackupsKeyRecordScreen__this_key_is_required_to_recover) } diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsFragment.kt index 613bf7fb71..8938838a3b 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsFragment.kt @@ -130,7 +130,7 @@ class LocalBackupsFragment : ComposeFragment() { LocalBackupsNavKey.CONFIRM_RECOVERY_KEY -> NavEntry(key) { val state: LocalBackupsKeyState by viewModel.backupState.collectAsStateWithLifecycle() val scope = rememberCoroutineScope() - val backupKeyUpdatedMessage = stringResource(R.string.OnDeviceBackupsFragment__backup_key_updated) + val backupKeyUpdatedMessage = stringResource(R.string.OnDeviceBackupsFragment__recovery_key_updated) var upgradeInProgress by remember { mutableStateOf(false) } MessageBackupsKeyVerifyScreen( diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsSettingsScreen.kt b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsSettingsScreen.kt index f90388ce90..50063fe13b 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsSettingsScreen.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/backups/local/LocalBackupsSettingsScreen.kt @@ -198,7 +198,7 @@ internal fun LocalBackupsSettingsScreen( item { Rows.TextRow( - text = stringResource(id = R.string.UnifiedOnDeviceBackupsSettingsScreen__view_backup_key), + text = stringResource(id = R.string.UnifiedOnDeviceBackupsSettingsScreen__view_recovery_key), onClick = { biometrics.withBiometricsAuthentication { callback.onViewBackupKeyClick() } } ) } diff --git a/app/src/main/java/org/thoughtcrime/securesms/registration/ui/restore/local/EnterLocalBackupKeyScreen.kt b/app/src/main/java/org/thoughtcrime/securesms/registration/ui/restore/local/EnterLocalBackupKeyScreen.kt index 3d8597401f..df8f793eba 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/registration/ui/restore/local/EnterLocalBackupKeyScreen.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/registration/ui/restore/local/EnterLocalBackupKeyScreen.kt @@ -75,7 +75,7 @@ fun EnterLocalBackupKeyScreen( onClick = onNoBackupKeyClick, colors = ButtonDefaults.textButtonColors(contentColor = MaterialTheme.colorScheme.outline) ) { - Text(text = stringResource(R.string.EnterLocalBackupKeyScreen__no_backup_key)) + Text(text = stringResource(R.string.EnterLocalBackupKeyScreen__no_recovery_key)) } Spacer(modifier = Modifier.weight(1f)) CircularProgressWrapper( diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c9fcc2fb97..c6d08f6659 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -8281,7 +8281,7 @@ - Backup key updated + Recovery key updated Directory selected: %1$s @@ -8746,7 +8746,7 @@ Update - View backup key + View recovery key @@ -8816,9 +8816,9 @@ This key will replace the key for your on-device backup. - Your backup key is a 64-character code that lets you restore your backups when you re-install Signal. + Your recovery key is a 64-character code that lets you restore your backups when you re-install Signal. - This is the same as your on-device backup key. + This is the same as your on-device recovery key. Use this key to: @@ -8836,7 +8836,7 @@ This key is required to recover your account and data. Store this key somewhere safe. If you lose it, you won’t be able to recover your account. - This key is the same as your on-device backup key. It is required to recover your account and data. + This key is the same as your on-device recovery key. It is required to recover your account and data. Copy to clipboard @@ -9085,8 +9085,8 @@ Enter your recovery key Your recovery key is a 64-character code required to recover your account and data. - - No backup key? + + No recovery key? Next