mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Update string resource references from backup key to recovery key.
This commit is contained in:
committed by
jeffrey-signal
parent
e88f63f54d
commit
c554c0d456
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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() } }
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user