mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 08:06:36 +00:00
fix: say "1 of 3 syncs" when one collection of several syncs #34
This commit is contained in:
+1
-1
@@ -644,7 +644,7 @@
|
||||
"choose": "Choose",
|
||||
"choose_books_title": "Address books to sync",
|
||||
"choose_calendars_title": "Calendars to sync",
|
||||
"collections_count": "{selected} of {total} sync",
|
||||
"collections_count": "{selected, plural, one {# of {total} syncs} other {# of {total} sync}}",
|
||||
"continue": "Continue",
|
||||
"deletions_delete": "Delete on server",
|
||||
"deletions_message": "Many items were deleted on this device at once, so they were not deleted on the server. Delete them there as well, or bring them back on this device.",
|
||||
|
||||
@@ -288,7 +288,7 @@ export function DeviceSyncAccountRow({ account, authority }: Props) {
|
||||
: '';
|
||||
|
||||
const collectionsDescription = collections && selectedKeys
|
||||
? t('settings.device_sync.collections_count', '{selected} of {total} sync', {
|
||||
? t('settings.device_sync.collections_count', '{selected, plural, one {# of {total} syncs} other {# of {total} sync}}', {
|
||||
selected: selectedKeys.length,
|
||||
total: collections.length,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user