Fix reg string to remove concatenation.

This commit is contained in:
Greyson Parrelli
2026-07-22 13:41:12 -04:00
committed by Michelle Tang
parent 01a2599c3c
commit 0451ea188d
2 changed files with 3 additions and 4 deletions
@@ -377,8 +377,7 @@ private fun AlternateCodeOptions(state: VerificationCodeState, onEvent: (Verific
val totalSeconds = smsCountdown.inWholeSeconds.toInt()
val minutes = totalSeconds / 60
val seconds = totalSeconds % 60
stringResource(R.string.VerificationCodeScreen__resend_code) + " " +
stringResource(R.string.VerificationCodeScreen__countdown_format, minutes, seconds)
stringResource(R.string.VerificationCodeScreen__resend_code_available_in, minutes, seconds)
} else {
stringResource(R.string.VerificationCodeScreen__resend_code)
},
@@ -87,8 +87,8 @@
<string name="VerificationCodeScreen__resend_code">Resend Code</string>
<!-- Button text for call me action -->
<string name="VerificationCodeScreen__call_me_instead">Call me instead</string>
<!-- Countdown text shown below the resend code button. Placeholders are minutes and seconds -->
<string name="VerificationCodeScreen__countdown_format">(%1$02d:%2$02d)</string>
<!-- Button text for resend SMS when countdown is active. Placeholders are minutes and seconds -->
<string name="VerificationCodeScreen__resend_code_available_in">Resend Code (%1$02d:%2$02d)</string>
<!-- Button text for call me when countdown is active. Placeholders are minutes and seconds -->
<string name="VerificationCodeScreen__call_me_available_in">Call me (%1$02d:%2$02d)</string>
<!-- Toast shown when the user enters an incorrect verification code -->