mirror of
https://github.com/bitwarden/android.git
synced 2026-10-22 02:53:19 -05:00
Use parameterized string resource for next TOTP code label
This commit is contained in:
2 files changed
+4
-3
No files matched your search
+3
-2
@@ -176,9 +176,10 @@ fun VaultVerificationCodeItem(
|
||||
if (nextAuthCode != null && timeLeftSeconds <= NEXT_CODE_THRESHOLD_SECONDS) {
|
||||
Text(
|
||||
modifier = Modifier.testTag(tag = "NextAuthCode"),
|
||||
text = stringResource(id = BitwardenString.next_verification_code) +
|
||||
" " +
|
||||
text = stringResource(
|
||||
id = BitwardenString.next_verification_code,
|
||||
nextAuthCode.chunked(size = 3).joinToString(separator = " "),
|
||||
),
|
||||
style = BitwardenTheme.typography.bodySmall,
|
||||
color = BitwardenTheme.colorScheme.text.secondary,
|
||||
)
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
<string name="point_your_camera_at_the_qr_code">Point your camera at the QR Code.
|
||||
Scanning will happen automatically.</string>
|
||||
<string name="copy_totp">Copy TOTP</string>
|
||||
<string name="next_verification_code">Next:</string>
|
||||
<string name="next_verification_code">Next: %1$s</string>
|
||||
<string name="copy_totp_automatically_description">If a login has an authenticator key, copy the TOTP verification code to your clipboard when you autofill the login.</string>
|
||||
<string name="copy_totp_automatically">Copy TOTP automatically</string>
|
||||
<string name="premium_required">A Premium membership is required to use this feature.</string>
|
||||
|
||||
Reference in new issue
Block a user