Update string resource references from backup key to recovery key.

This commit is contained in:
Alex Hart
2026-03-09 14:43:41 -03:00
committed by jeffrey-signal
parent e88f63f54d
commit c554c0d456
5 changed files with 11 additions and 11 deletions

View File

@@ -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)
}

View File

@@ -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(

View File

@@ -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() } }
)
}

View File

@@ -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(

View File

@@ -8281,7 +8281,7 @@
<!-- OnDeviceBackupsFragment -->
<!-- Snackbar message shown after successfully updating the on-device backups recovery key. -->
<string name="OnDeviceBackupsFragment__backup_key_updated">Backup key updated</string>
<string name="OnDeviceBackupsFragment__recovery_key_updated">Recovery key updated</string>
<!-- Toast message shown after selecting a folder to store on-device backups. Placeholder is the selected folder. -->
<string name="OnDeviceBackupsFragment__directory_selected">Directory selected: %1$s</string>
@@ -8746,7 +8746,7 @@
<string name="OnDeviceBackupsSettingsScreen__update">Update</string>
<!-- UnifiedOnDeviceBackupsSettingsScreen -->
<string name="UnifiedOnDeviceBackupsSettingsScreen__view_backup_key">View backup key</string>
<string name="UnifiedOnDeviceBackupsSettingsScreen__view_recovery_key">View recovery key</string>
<!-- DownloadYourBackupTodayDialog -->
<!-- Dialog title -->
@@ -8816,9 +8816,9 @@
<!-- Screen body shown when upgrading on-device backups to a new recovery key (part 2, bolded). -->
<string name="MessageBackupsKeyEducationScreen__local_backup_upgrade_description_bold">This key will replace the key for your on-device backup.</string>
<!-- Screen body shown when enabling Signal Secure Backups while on-device backups are already enabled (part 1). -->
<string name="MessageBackupsKeyEducationScreen__remote_backup_with_local_enabled_description">Your backup key is a 64-character code that lets you restore your backups when you re-install Signal.</string>
<string name="MessageBackupsKeyEducationScreen__remote_backup_with_local_enabled_description">Your recovery key is a 64-character code that lets you restore your backups when you re-install Signal.</string>
<!-- Screen body shown when enabling Signal Secure Backups while on-device backups are already enabled (part 2, bolded). -->
<string name="MessageBackupsKeyEducationScreen__remote_backup_with_local_enabled_description_bold">This is the same as your on-device backup key.</string>
<string name="MessageBackupsKeyEducationScreen__remote_backup_with_local_enabled_description_bold">This is the same as your on-device recovery key.</string>
<!-- Label shown above a list of actions that the recovery key can be used for. -->
<string name="MessageBackupsKeyEducationScreen__use_this_key_to">Use this key to:</string>
<!-- Row label indicating that the recovery key can be used to restore an on-device backup. -->
@@ -8836,7 +8836,7 @@
<!-- Screen subhead -->
<string name="MessageBackupsKeyRecordScreen__this_key_is_required_to_recover">This key is required to recover your account and data. Store this key somewhere safe. If you lose it, you wont be able to recover your account.</string>
<!-- Screen subhead shown when the recovery key is shared between Signal Secure Backups and on-device backups. -->
<string name="MessageBackupsKeyRecordScreen__this_key_is_the_same_as_your_on_device_backup_key">This key is the same as your on-device backup key. It is required to recover your account and data.</string>
<string name="MessageBackupsKeyRecordScreen__this_key_is_the_same_as_your_on_device_recovery_key">This key is the same as your on-device recovery key. It is required to recover your account and data.</string>
<!-- Copy to clipboard button label -->
<string name="MessageBackupsKeyRecordScreen__copy_to_clipboard">Copy to clipboard</string>
<!-- Label for the button to save a recovery key to the device password manager. -->
@@ -9085,8 +9085,8 @@
<string name="EnterLocalBackupKeyScreen__enter_your_recovery_key">Enter your recovery key</string>
<!-- EnterLocalBackupKeyScreen: Screen subtitle explaining what the recovery key is -->
<string name="EnterLocalBackupKeyScreen__your_recovery_key_is_a_64_character_code">Your recovery key is a 64-character code required to recover your account and data.</string>
<!-- EnterLocalBackupKeyScreen: Button text when user does not have a backup key -->
<string name="EnterLocalBackupKeyScreen__no_backup_key">No backup key?</string>
<!-- EnterLocalBackupKeyScreen: Button text when user does not have a recovery key -->
<string name="EnterLocalBackupKeyScreen__no_recovery_key">No recovery key?</string>
<!-- EnterLocalBackupKeyScreen: Button to proceed to next step -->
<string name="EnterLocalBackupKeyScreen__next">Next</string>