From b25e5a9443b2fe97d434cb09efa0098f8f4c07dc Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Thu, 30 Jan 2025 13:37:21 +0530 Subject: [PATCH] [mob] Fix bad translation --- mobile/lib/generated/intl/messages_pl.dart | 3 +-- mobile/lib/generated/l10n.dart | 4 ++-- mobile/lib/l10n/intl_en.arb | 8 ++++++++ mobile/lib/l10n/intl_pl.arb | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/mobile/lib/generated/intl/messages_pl.dart b/mobile/lib/generated/intl/messages_pl.dart index 5f57238d13..dfde430821 100644 --- a/mobile/lib/generated/intl/messages_pl.dart +++ b/mobile/lib/generated/intl/messages_pl.dart @@ -249,8 +249,7 @@ class MessageLookup extends MessageLookupByLibrary { static String m82(ignoreReason) => "Przesyłanie jest ignorowane z powodu ${ignoreReason}"; - static String m83(count) => - "${Intl.plural(count, one: 'Zachowywanie ${count} wspomnienia...', few: 'Zachowywanie ${count} wspomnienia...', many: 'Zachowywanie ${count} wspomnień...', other: 'Zachowywanie ${count} wspomnień...')}"; + static String m83(count) => "Zachowywanie ${count} wspomnień..."; static String m84(endDate) => "Ważne do ${endDate}"; diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart index c0c18d40ab..ed76011887 100644 --- a/mobile/lib/generated/l10n.dart +++ b/mobile/lib/generated/l10n.dart @@ -6811,11 +6811,11 @@ class S { } /// `Preserving {count} memories...` - String uploadingMultipleMemories(Object count) { + String uploadingMultipleMemories(String count) { return Intl.message( 'Preserving $count memories...', name: 'uploadingMultipleMemories', - desc: '', + desc: 'Text to tell user how many memories are being preserved', args: [count], ); } diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb index 81f80a2c8f..fedead0d96 100644 --- a/mobile/lib/l10n/intl_en.arb +++ b/mobile/lib/l10n/intl_en.arb @@ -965,6 +965,14 @@ "syncStopped": "Sync stopped", "syncProgress": "{completed}/{total} memories preserved", "uploadingMultipleMemories": "Preserving {count} memories...", + "@uploadingMultipleMemories": { + "description": "Text to tell user how many memories are being preserved", + "placeholders": { + "count": { + "type": "String" + } + } + }, "uploadingSingleMemory": "Preserving 1 memory...", "@syncProgress": { "description": "Text to tell user how many memories have been preserved", diff --git a/mobile/lib/l10n/intl_pl.arb b/mobile/lib/l10n/intl_pl.arb index dcae46ae8d..8bcb933505 100644 --- a/mobile/lib/l10n/intl_pl.arb +++ b/mobile/lib/l10n/intl_pl.arb @@ -959,7 +959,7 @@ "encryptingBackup": "Szyfrowanie kopii zapasowej...", "syncStopped": "Synchronizacja zatrzymana", "syncProgress": "Zachowano {completed}/{total} wspomnień", - "uploadingMultipleMemories": "{count, plural, one{Zachowywanie {count} wspomnienia...} few {Zachowywanie {count} wspomnienia...} many {Zachowywanie {count} wspomnień...} other{Zachowywanie {count} wspomnień...}}", + "uploadingMultipleMemories": "Zachowywanie {count} wspomnień...", "uploadingSingleMemory": "Zachowywanie 1 wspomnienia...", "@syncProgress": { "description": "Text to tell user how many memories have been preserved",