kopia lustrzana https://github.com/ryukoposting/Signal-Android
Update pluralization of payments recovery dialog.
rodzic
8056aafc9d
commit
ac189865b9
|
@ -125,7 +125,9 @@ public class PaymentsRecoveryStartFragment extends Fragment {
|
|||
description = getString(R.string.PaymentsRecoveryStartFragment__got_balance);
|
||||
break;
|
||||
default:
|
||||
description = getString(R.string.PaymentsRecoveryStartFragment__your_balance_will_automatically_restore, PaymentsConstants.MNEMONIC_LENGTH);
|
||||
description = getResources().getQuantityString(R.plurals.PaymentsRecoveryStartFragment__your_balance_will_automatically_restore,
|
||||
PaymentsConstants.MNEMONIC_LENGTH,
|
||||
PaymentsConstants.MNEMONIC_LENGTH);
|
||||
}
|
||||
return description;
|
||||
}
|
||||
|
|
|
@ -3906,7 +3906,10 @@
|
|||
<!-- Title in save recovery phrase screen -->
|
||||
<string name="PaymentsRecoveryStartFragment__save_recovery_phrase">Save recovery phrase</string>
|
||||
<string name="PaymentsRecoveryStartFragment__enter_recovery_phrase">Enter recovery phrase</string>
|
||||
<string name="PaymentsRecoveryStartFragment__your_balance_will_automatically_restore">Your balance will automatically restore when you reinstall Signal if you confirm your Signal PIN. You can also restore your balance using a recovery phrase, which is a %1$d-word phrase unique to you. Write it down and store it in a safe place.</string>
|
||||
<plurals name="PaymentsRecoveryStartFragment__your_balance_will_automatically_restore">
|
||||
<item quantity="one">Your balance will automatically restore when you reinstall Signal if you confirm your Signal PIN. You can also restore your balance using a recovery phrase, which is a %1$d-word phrase unique to you. Write it down and store it in a safe place.</item>
|
||||
<item quantity="other">Your balance will automatically restore when you reinstall Signal if you confirm your Signal PIN. You can also restore your balance using a recovery phrase, which is a %1$d-word phrase unique to you. Write it down and store it in a safe place.</item>
|
||||
</plurals>
|
||||
<!-- Description in save recovery phrase screen which shows up when user has non zero balance -->
|
||||
<string name="PaymentsRecoveryStartFragment__got_balance">You’ve got a balance! Time to save your recovery phrase—a 24-word key you can use to restore your balance.</string>
|
||||
<!-- Description in save recovery phrase screen which shows up when user navigates from info card -->
|
||||
|
|
Ładowanie…
Reference in New Issue