mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Format backup progress numbers.
This commit is contained in:
committed by
Cody Henthorne
parent
e555802636
commit
0efccf67b8
@@ -1036,8 +1036,8 @@ private fun getBackupPhaseMessage(state: ArchiveUploadProgressState): String {
|
||||
pluralStringResource(
|
||||
R.plurals.RemoteBackupsSettingsFragment__processing_d_of_d_d_messages,
|
||||
progress.total.toInt(),
|
||||
progress.completed,
|
||||
progress.total,
|
||||
"%,d".format(progress.completed.toInt()),
|
||||
"%,d".format(progress.total.toInt()),
|
||||
(progress.progress * 100).toInt()
|
||||
)
|
||||
}
|
||||
|
||||
@@ -8044,8 +8044,8 @@
|
||||
<string name="RemoteBackupsSettingsFragment__preparing_backup">Preparing backup…</string>
|
||||
<!-- Linear progress dialog text shown when processing messages for backup. First placeholder is completed count, second is approximate total count, third is percent completed. -->
|
||||
<plurals name="RemoteBackupsSettingsFragment__processing_d_of_d_d_messages">
|
||||
<item quantity="one">Processing %1$d of %2$d (%3$d%%) message</item>
|
||||
<item quantity="other">Processing %1$d of %2$d (%3$d%%) messages</item>
|
||||
<item quantity="one">Processing %1$s of %2$s (%3$d%%) message</item>
|
||||
<item quantity="other">Processing %1$s of %2$s (%3$d%%) messages</item>
|
||||
</plurals>
|
||||
<!-- Displayed in row when backup is available for download and users subscription has expired. First placeholder is data size e.g. 12MB, second is days before expiration -->
|
||||
<plurals name="RemoteBackupsSettingsFragment__you_have_s_of_backup_data">
|
||||
|
||||
Reference in New Issue
Block a user