Neeraj Gupta 2 лет назад
Родитель
Сommit
d484563c86
3 измененных файлов с 8 добавлено и 6 удалено
  1. 1 1
      lib/generated/intl/messages_en.dart
  2. 6 4
      lib/generated/l10n.dart
  3. 1 1
      lib/l10n/intl_en.arb

+ 1 - 1
lib/generated/intl/messages_en.dart

@@ -54,7 +54,7 @@ class MessageLookup extends MessageLookupByLibrary {
       "Please contact us at support@ente.io to manage your ${provider} subscription.";
 
   static String m63(count) =>
-      "{count, plural, Delete one{${count} item} other{${count} items}}";
+      "${Intl.plural(count, one: 'Delete ${count} item', other: 'Delete ${count} items')}";
 
   static String m11(currentlyDeleting, totalCount) =>
       "Deleting ${currentlyDeleting} / ${totalCount}";

+ 6 - 4
lib/generated/l10n.dart

@@ -2918,10 +2918,12 @@ class S {
     );
   }
 
-  /// `{count, plural, Delete one{{count} item} other{{count} items}}`
-  String deleteItemCount(Object count) {
-    return Intl.message(
-      '{count, plural, Delete one{$count item} other{$count items}}',
+  /// `{count, plural, =1 {Delete {count} item} other {Delete {count} items}}`
+  String deleteItemCount(num count) {
+    return Intl.plural(
+      count,
+      one: 'Delete $count item',
+      other: 'Delete $count items',
       name: 'deleteItemCount',
       desc: '',
       args: [count],

+ 1 - 1
lib/l10n/intl_en.arb

@@ -418,7 +418,7 @@
   "skip": "Skip",
   "updatingFolderSelection": "Updating folder selection...",
   "itemCount": "{count, plural, one{{count} item} other{{count} items}}",
-  "deleteItemCount": "{count, plural, Delete one{{count} item} other{{count} items}}",
+  "deleteItemCount": "{count, plural, =1 {Delete {count} item} other {Delete {count} items}}",
   "duplicateItemsGroup": "{count} files, {formattedSize} each",
   "@duplicateItemsGroup" : {
     "description": "Display the number of duplicate files and their size",