mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-04 20:34:14 +01:00
Fix reg string to remove concatenation.
This commit is contained in:
committed by
Michelle Tang
parent
01a2599c3c
commit
0451ea188d
+1
-2
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user