Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use count placeholders in one plural branches

Manav Rathiba03c1b3cdf4
diff --git a/mobile/apps/locker/lib/l10n/app_en.arb b/mobile/apps/locker/lib/l10n/app_en.arb
index 0f8021fe2c..a61f8072f8 100644
--- a/mobile/apps/locker/lib/l10n/app_en.arb
+++ b/mobile/apps/locker/lib/l10n/app_en.arb
@@ -32,7 +32,7 @@
"keepOffline": "Keep offline",
"cloudOnly": "Remove offline",
"savingOffline": "Saving offline...",
- "filesAvailableOffline": "{count, plural, one{1 file saved offline} other{{count} files saved offline}}",
+ "filesAvailableOffline": "{count, plural, one{{count} file saved offline} other{{count} files saved offline}}",
"@filesAvailableOffline": {
"description": "Success message when files are saved offline",
"placeholders": {
@@ -42,7 +42,7 @@
}
}
},
- "filesAvailableOfflinePartial": "{successCount, plural, one{Saved 1 file offline} other{Saved {successCount} files offline}}, {failureCount, plural, one{1 failed} other{{failureCount} failed}}",
+ "filesAvailableOfflinePartial": "{successCount, plural, one{Saved {successCount} file offline} other{Saved {successCount} files offline}}, {failureCount, plural, one{{failureCount} failed} other{{failureCount} failed}}",
"@filesAvailableOfflinePartial": {
"description": "Partial success message for offline save",
"placeholders": {
@@ -56,7 +56,7 @@
}
}
},
- "failedToSaveFilesOffline": "{count, plural, one{Failed to save 1 file offline} other{Failed to save {count} files offline}}",
+ "failedToSaveFilesOffline": "{count, plural, one{Failed to save {count} file offline} other{Failed to save {count} files offline}}",
"@failedToSaveFilesOffline": {
"description": "Failure message when files could not be saved offline",
"placeholders": {
@@ -66,7 +66,7 @@
}
}
},
- "filesRemovedFromOffline": "{count, plural, one{1 file removed from offline} other{{count} files removed from offline}}",
+ "filesRemovedFromOffline": "{count, plural, one{{count} file removed from offline} other{{count} files removed from offline}}",
"@filesRemovedFromOffline": {
"description": "Success message when offline copies are removed",
"placeholders": {
@@ -283,7 +283,7 @@
}
}
},
- "files": "{count, plural, =0{no items} one{1 item} other{{count} items}}",
+ "files": "{count, plural, =0{no items} one{{count} item} other{{count} items}}",
"@files": {
"description": "Number of items in a collection",
"placeholders": {
@@ -541,7 +541,7 @@
"linkDeviceLimit": "Device limit",
"expiredLinkInfo": "This link has expired. Please select a new expiry time or disable link expiry.",
"linkExpiresOn": "Link will expire on {expiryTime}",
- "shareWithPeopleSectionTitle": "{numberOfPeople, plural, =0 {Share with specific people} one {Shared with 1 person} other {Shared with {numberOfPeople} people}}",
+ "shareWithPeopleSectionTitle": "{numberOfPeople, plural, =0 {Share with specific people} one {Shared with {numberOfPeople} person} other {Shared with {numberOfPeople} people}}",
"@shareWithPeopleSectionTitle": {
"placeholders": {
"numberOfPeople": {
@@ -563,7 +563,7 @@
"add": "Add",
"collaboratorsCanAddFilesToTheSharedCollection": "Collaborators can add items to the shared collection.",
"enterEmail": "Enter email",
- "viewersSuccessfullyAdded": "{count, plural, =0 {Added 0 viewers} one {Added 1 viewer} other {Added {count} viewers}}",
+ "viewersSuccessfullyAdded": "{count, plural, =0 {Added 0 viewers} one {Added {count} viewer} other {Added {count} viewers}}",
"@viewersSuccessfullyAdded": {
"placeholders": {
"count": {
@@ -573,7 +573,7 @@
},
"description": "Number of viewers that were successfully added to a collection."
},
- "collaboratorsSuccessfullyAdded": "{count, plural, =0 {Added 0 collaborator} one {Added 1 collaborator} other {Added {count} collaborators}}",
+ "collaboratorsSuccessfullyAdded": "{count, plural, =0 {Added 0 collaborator} one {Added {count} collaborator} other {Added {count} collaborators}}",
"@collaboratorsSuccessfullyAdded": {
"placeholders": {
"count": {
@@ -636,7 +636,7 @@
"viewer": "Viewer",
"collaborator": "Collaborator",
"collaboratorsCanAddFilesToTheSharedAlbum": "Collaborators can add items to the shared collection.",
- "albumParticipantsCount": "{count, plural, =0 {No Participants} one {1 Participant} other {{count} Participants}}",
+ "albumParticipantsCount": "{count, plural, =0 {No Participants} one {{count} Participant} other {{count} Participants}}",
"@albumParticipantsCount": {
"description": "The count of participants in an album",
"placeholders": {
@@ -762,7 +762,7 @@
"clickHereToUpload": "Click here to upload",
"saveDocument": "Save document",
"uploadFiles": "Upload items",
- "filesSelected": "{count, plural, =0{No items selected} one{1 item selected} other{{count} items selected}}",
+ "filesSelected": "{count, plural, =0{No items selected} one{{count} item selected} other{{count} items selected}}",
"@filesSelected": {
"description": "Number of items selected for upload",
"placeholders": {
@@ -790,7 +790,7 @@
}
},
"informationCollectionName": "Information",
- "recordSavedToMultipleCollections": "Record saved to {count, plural, one{1 collection} other{{count} collections}} successfully",
+ "recordSavedToMultipleCollections": "Record saved to {count, plural, one{{count} collection} other{{count} collections}} successfully",
"@recordSavedToMultipleCollections": {
"description": "Success message when record is saved to multiple collections",
"placeholders": {
@@ -810,7 +810,7 @@
}
}
},
- "searchResultsCount": "{count, plural, one{1 result} other{{count} results}} for \"{query}\"",
+ "searchResultsCount": "{count, plural, one{{count} result} other{{count} results}} for \"{query}\"",
"@searchResultsCount": {
"description": "Search results count message",
"placeholders": {
@@ -868,7 +868,7 @@
}
}
},
- "deleteMultipleCollectionsDialogBody": "{count, plural, one{1 collection} other{{count} collections}} will be deleted permanently.",
+ "deleteMultipleCollectionsDialogBody": "{count, plural, one{{count} collection} other{{count} collections}} will be deleted permanently.",
"@deleteMultipleCollectionsDialogBody": {
"description": "Confirmation message body for deleting multiple collections",
"placeholders": {
@@ -878,7 +878,7 @@
}
}
},
- "deleteMultipleFilesDialogBody": "{count, plural, one{1 item} other{{count} items}} will be deleted permanently.",
+ "deleteMultipleFilesDialogBody": "{count, plural, one{{count} item} other{{count} items}} will be deleted permanently.",
"@deleteMultipleFilesDialogBody": {
"description": "Confirmation message body for deleting multiple items",
"placeholders": {
@@ -933,7 +933,7 @@
"markingAsImportant": "Marking as important...",
"fileMarkedAsImportant": "Item marked as important",
"fileRemovedFromImportant": "Item removed from important",
- "filesMarkedAsImportant": "{count, plural, one{1 item marked as important} other{{count} items marked as important}}",
+ "filesMarkedAsImportant": "{count, plural, one{{count} item marked as important} other{{count} items marked as important}}",
"@filesMarkedAsImportant": {
"description": "Success message when items are marked as important",
"placeholders": {
@@ -985,7 +985,7 @@
"selectLanguage": "Select language",
"general": "General",
"language": "Language",
- "selectedCount": "{count, plural, one{1 selected} other{{count} selected}}",
+ "selectedCount": "{count, plural, one{{count} selected} other{{count} selected}}",
"@selectedCount": {
"description": "Number of items selected",
"placeholders": {
@@ -995,7 +995,7 @@
}
}
},
- "actionNotSupportedForSharedFiles": "{count, plural, one{Action is not supported for 1 shared file} other{Action is not supported for {count} shared files}}",
+ "actionNotSupportedForSharedFiles": "{count, plural, one{Action is not supported for {count} shared file} other{Action is not supported for {count} shared files}}",
"@actionNotSupportedForSharedFiles": {
"description": "Message when action is not supported for shared files",
"placeholders": {
@@ -1018,7 +1018,7 @@
"collectionUpdated": "Collection updated",
"actionNotSupportedOnFavouritesAlbum": "Action not supported on Favourites album",
"leaveCollectionSuccessfully": "Left collection successfully",
- "leftCollectionsSuccessfully": "{count, plural, one{Left 1 collection successfully} other{Left {count} collections successfully}}",
+ "leftCollectionsSuccessfully": "{count, plural, one{Left {count} collection successfully} other{Left {count} collections successfully}}",
"@leftCollectionsSuccessfully": {
"description": "Success message when leaving collections",
"placeholders": {
@@ -1039,7 +1039,7 @@
}
}
},
- "collectionsDeletedSuccessfully": "{count, plural, one{1 collection deleted successfully} other{{count} collections deleted successfully}}",
+ "collectionsDeletedSuccessfully": "{count, plural, one{{count} collection deleted successfully} other{{count} collections deleted successfully}}",
"@collectionsDeletedSuccessfully": {
"description": "Success message when collections are deleted",
"placeholders": {
@@ -1051,7 +1051,7 @@
},
"restoreToCollection": "Restore to collection",
"restoringFiles": "Restoring...",
- "filesRestoredSuccessfully": "{count, plural, one{1 item restored successfully} other{{count} items restored successfully}}",
+ "filesRestoredSuccessfully": "{count, plural, one{{count} item restored successfully} other{{count} items restored successfully}}",
"@filesRestoredSuccessfully": {
"description": "Success message when items are restored from trash",
"placeholders": {
@@ -1075,7 +1075,7 @@
},
"yesDelete": "Yes, delete",
"deletingFiles": "Deleting...",
- "filesDeletedPermanently": "{count, plural, one{1 item deleted permanently} other{{count} items deleted permanently}}",
+ "filesDeletedPermanently": "{count, plural, one{{count} item deleted permanently} other{{count} items deleted permanently}}",
"@filesDeletedPermanently": {
"description": "Success message when items are permanently deleted from trash",
"placeholders": {
diff --git a/mobile/apps/locker/lib/l10n/app_localizations.dart b/mobile/apps/locker/lib/l10n/app_localizations.dart
index afca1ad554..79420d6430 100644
--- a/mobile/apps/locker/lib/l10n/app_localizations.dart
+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart
@@ -291,25 +291,25 @@ abstract class AppLocalizations {
/// Success message when files are saved offline
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 file saved offline} other{{count} files saved offline}}'**
+ /// **'{count, plural, one{{count} file saved offline} other{{count} files saved offline}}'**
String filesAvailableOffline(int count);
/// Partial success message for offline save
///
/// In en, this message translates to:
- /// **'{successCount, plural, one{Saved 1 file offline} other{Saved {successCount} files offline}}, {failureCount, plural, one{1 failed} other{{failureCount} failed}}'**
+ /// **'{successCount, plural, one{Saved {successCount} file offline} other{Saved {successCount} files offline}}, {failureCount, plural, one{{failureCount} failed} other{{failureCount} failed}}'**
String filesAvailableOfflinePartial(int successCount, int failureCount);
/// Failure message when files could not be saved offline
///
/// In en, this message translates to:
- /// **'{count, plural, one{Failed to save 1 file offline} other{Failed to save {count} files offline}}'**
+ /// **'{count, plural, one{Failed to save {count} file offline} other{Failed to save {count} files offline}}'**
String failedToSaveFilesOffline(int count);
/// Success message when offline copies are removed
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 file removed from offline} other{{count} files removed from offline}}'**
+ /// **'{count, plural, one{{count} file removed from offline} other{{count} files removed from offline}}'**
String filesRemovedFromOffline(int count);
/// No description provided for @downloadFailed.
@@ -651,7 +651,7 @@ abstract class AppLocalizations {
/// Number of items in a collection
///
/// In en, this message translates to:
- /// **'{count, plural, =0{no items} one{1 item} other{{count} items}}'**
+ /// **'{count, plural, =0{no items} one{{count} item} other{{count} items}}'**
String files(int count);
/// No description provided for @createCollectionTooltip.
@@ -1833,7 +1833,7 @@ abstract class AppLocalizations {
/// No description provided for @shareWithPeopleSectionTitle.
///
/// In en, this message translates to:
- /// **'{numberOfPeople, plural, =0 {Share with specific people} one {Shared with 1 person} other {Shared with {numberOfPeople} people}}'**
+ /// **'{numberOfPeople, plural, =0 {Share with specific people} one {Shared with {numberOfPeople} person} other {Shared with {numberOfPeople} people}}'**
String shareWithPeopleSectionTitle(int numberOfPeople);
/// No description provided for @linkHasExpired.
@@ -1917,13 +1917,13 @@ abstract class AppLocalizations {
/// Number of viewers that were successfully added to a collection.
///
/// In en, this message translates to:
- /// **'{count, plural, =0 {Added 0 viewers} one {Added 1 viewer} other {Added {count} viewers}}'**
+ /// **'{count, plural, =0 {Added 0 viewers} one {Added {count} viewer} other {Added {count} viewers}}'**
String viewersSuccessfullyAdded(int count);
/// Number of collaborators that were successfully added to a collection.
///
/// In en, this message translates to:
- /// **'{count, plural, =0 {Added 0 collaborator} one {Added 1 collaborator} other {Added {count} collaborators}}'**
+ /// **'{count, plural, =0 {Added 0 collaborator} one {Added {count} collaborator} other {Added {count} collaborators}}'**
String collaboratorsSuccessfullyAdded(int count);
/// No description provided for @addViewers.
@@ -2145,7 +2145,7 @@ abstract class AppLocalizations {
/// The count of participants in an album
///
/// In en, this message translates to:
- /// **'{count, plural, =0 {No Participants} one {1 Participant} other {{count} Participants}}'**
+ /// **'{count, plural, =0 {No Participants} one {{count} Participant} other {{count} Participants}}'**
String albumParticipantsCount(int count);
/// No description provided for @addMore.
@@ -2403,7 +2403,7 @@ abstract class AppLocalizations {
/// Number of items selected for upload
///
/// In en, this message translates to:
- /// **'{count, plural, =0{No items selected} one{1 item selected} other{{count} items selected}}'**
+ /// **'{count, plural, =0{No items selected} one{{count} item selected} other{{count} items selected}}'**
String filesSelected(int count);
/// No description provided for @addToCollection.
@@ -2463,7 +2463,7 @@ abstract class AppLocalizations {
/// Success message when record is saved to multiple collections
///
/// In en, this message translates to:
- /// **'Record saved to {count, plural, one{1 collection} other{{count} collections}} successfully'**
+ /// **'Record saved to {count, plural, one{{count} collection} other{{count} collections}} successfully'**
String recordSavedToMultipleCollections(int count);
/// Message when a field is copied to clipboard
@@ -2475,7 +2475,7 @@ abstract class AppLocalizations {
/// Search results count message
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 result} other{{count} results}} for \"{query}\"'**
+ /// **'{count, plural, one{{count} result} other{{count} results}} for \"{query}\"'**
String searchResultsCount(int count, String query);
/// No description provided for @locker.
@@ -2691,13 +2691,13 @@ abstract class AppLocalizations {
/// Confirmation message body for deleting multiple collections
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 collection} other{{count} collections}} will be deleted permanently.'**
+ /// **'{count, plural, one{{count} collection} other{{count} collections}} will be deleted permanently.'**
String deleteMultipleCollectionsDialogBody(int count);
/// Confirmation message body for deleting multiple items
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 item} other{{count} items}} will be deleted permanently.'**
+ /// **'{count, plural, one{{count} item} other{{count} items}} will be deleted permanently.'**
String deleteMultipleFilesDialogBody(int count);
/// Checkbox label asking whether to delete collection items everywhere
@@ -2769,7 +2769,7 @@ abstract class AppLocalizations {
/// Success message when items are marked as important
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 item marked as important} other{{count} items marked as important}}'**
+ /// **'{count, plural, one{{count} item marked as important} other{{count} items marked as important}}'**
String filesMarkedAsImportant(int count);
/// No description provided for @allFilesAlreadyMarkedAsImportant.
@@ -2919,13 +2919,13 @@ abstract class AppLocalizations {
/// Number of items selected
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 selected} other{{count} selected}}'**
+ /// **'{count, plural, one{{count} selected} other{{count} selected}}'**
String selectedCount(int count);
/// Message when action is not supported for shared files
///
/// In en, this message translates to:
- /// **'{count, plural, one{Action is not supported for 1 shared file} other{Action is not supported for {count} shared files}}'**
+ /// **'{count, plural, one{Action is not supported for {count} shared file} other{Action is not supported for {count} shared files}}'**
String actionNotSupportedForSharedFiles(int count);
/// No description provided for @addTo.
@@ -3009,7 +3009,7 @@ abstract class AppLocalizations {
/// Success message when leaving collections
///
/// In en, this message translates to:
- /// **'{count, plural, one{Left 1 collection successfully} other{Left {count} collections successfully}}'**
+ /// **'{count, plural, one{Left {count} collection successfully} other{Left {count} collections successfully}}'**
String leftCollectionsSuccessfully(int count);
/// No description provided for @removePublicLink.
@@ -3027,7 +3027,7 @@ abstract class AppLocalizations {
/// Success message when collections are deleted
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 collection deleted successfully} other{{count} collections deleted successfully}}'**
+ /// **'{count, plural, one{{count} collection deleted successfully} other{{count} collections deleted successfully}}'**
String collectionsDeletedSuccessfully(int count);
/// No description provided for @restoreToCollection.
@@ -3045,7 +3045,7 @@ abstract class AppLocalizations {
/// Success message when items are restored from trash
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 item restored successfully} other{{count} items restored successfully}}'**
+ /// **'{count, plural, one{{count} item restored successfully} other{{count} items restored successfully}}'**
String filesRestoredSuccessfully(int count);
/// No description provided for @failedToRestoreFiles.
@@ -3081,7 +3081,7 @@ abstract class AppLocalizations {
/// Success message when items are permanently deleted from trash
///
/// In en, this message translates to:
- /// **'{count, plural, one{1 item deleted permanently} other{{count} items deleted permanently}}'**
+ /// **'{count, plural, one{{count} item deleted permanently} other{{count} items deleted permanently}}'**
String filesDeletedPermanently(int count);
/// No description provided for @failedToDeleteFiles.
diff --git a/mobile/apps/locker/lib/l10n/app_localizations_en.dart b/mobile/apps/locker/lib/l10n/app_localizations_en.dart
index b059bde2a4..71d0fe0a85 100644
--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart
+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart
@@ -90,7 +90,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count files saved offline',
- one: '1 file saved offline',
+ one: '$count file saved offline',
);
return '$_temp0';
}
@@ -101,13 +101,13 @@ class AppLocalizationsEn extends AppLocalizations {
successCount,
locale: localeName,
other: 'Saved $successCount files offline',
- one: 'Saved 1 file offline',
+ one: 'Saved $successCount file offline',
);
String _temp1 = intl.Intl.pluralLogic(
failureCount,
locale: localeName,
other: '$failureCount failed',
- one: '1 failed',
+ one: '$failureCount failed',
);
return '$_temp0, $_temp1';
}
@@ -118,7 +118,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: 'Failed to save $count files offline',
- one: 'Failed to save 1 file offline',
+ one: 'Failed to save $count file offline',
);
return '$_temp0';
}
@@ -129,7 +129,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count files removed from offline',
- one: '1 file removed from offline',
+ one: '$count file removed from offline',
);
return '$_temp0';
}
@@ -346,7 +346,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count items',
- one: '1 item',
+ one: '$count item',
zero: 'no items',
);
return '$_temp0';
@@ -980,7 +980,7 @@ class AppLocalizationsEn extends AppLocalizations {
numberOfPeople,
locale: localeName,
other: 'Shared with $numberOfPeople people',
- one: 'Shared with 1 person',
+ one: 'Shared with $numberOfPeople person',
zero: 'Share with specific people',
);
return '$_temp0';
@@ -1033,7 +1033,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: 'Added $count viewers',
- one: 'Added 1 viewer',
+ one: 'Added $count viewer',
zero: 'Added 0 viewers',
);
return '$_temp0';
@@ -1045,7 +1045,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: 'Added $count collaborators',
- one: 'Added 1 collaborator',
+ one: 'Added $count collaborator',
zero: 'Added 0 collaborator',
);
return '$_temp0';
@@ -1202,7 +1202,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count Participants',
- one: '1 Participant',
+ one: '$count Participant',
zero: 'No Participants',
);
return '$_temp0';
@@ -1357,7 +1357,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count items selected',
- one: '1 item selected',
+ one: '$count item selected',
zero: 'No items selected',
);
return '$_temp0';
@@ -1398,7 +1398,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count collections',
- one: '1 collection',
+ one: '$count collection',
);
return 'Record saved to $_temp0 successfully';
}
@@ -1414,7 +1414,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count results',
- one: '1 result',
+ one: '$count result',
);
return '$_temp0 for \"$query\"';
}
@@ -1538,7 +1538,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count collections',
- one: '1 collection',
+ one: '$count collection',
);
return '$_temp0 will be deleted permanently.';
}
@@ -1549,7 +1549,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count items',
- one: '1 item',
+ one: '$count item',
);
return '$_temp0 will be deleted permanently.';
}
@@ -1612,7 +1612,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count items marked as important',
- one: '1 item marked as important',
+ one: '$count item marked as important',
);
return '$_temp0';
}
@@ -1702,7 +1702,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count selected',
- one: '1 selected',
+ one: '$count selected',
);
return '$_temp0';
}
@@ -1713,7 +1713,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: 'Action is not supported for $count shared files',
- one: 'Action is not supported for 1 shared file',
+ one: 'Action is not supported for $count shared file',
);
return '$_temp0';
}
@@ -1768,7 +1768,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: 'Left $count collections successfully',
- one: 'Left 1 collection successfully',
+ one: 'Left $count collection successfully',
);
return '$_temp0';
}
@@ -1787,7 +1787,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count collections deleted successfully',
- one: '1 collection deleted successfully',
+ one: '$count collection deleted successfully',
);
return '$_temp0';
}
@@ -1804,7 +1804,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count items restored successfully',
- one: '1 item restored successfully',
+ one: '$count item restored successfully',
);
return '$_temp0';
}
@@ -1838,7 +1838,7 @@ class AppLocalizationsEn extends AppLocalizations {
count,
locale: localeName,
other: '$count items deleted permanently',
- one: '1 item deleted permanently',
+ one: '$count item deleted permanently',
);
return '$_temp0';
}
diff --git a/mobile/apps/photos/lib/l10n/intl_en.arb b/mobile/apps/photos/lib/l10n/intl_en.arb
index 1e4bb874a4..1ce14c4f95 100644
--- a/mobile/apps/photos/lib/l10n/intl_en.arb
+++ b/mobile/apps/photos/lib/l10n/intl_en.arb
@@ -273,7 +273,7 @@
"after1Month": "After 1 month",
"after1Year": "After 1 year",
"manageParticipants": "Manage",
- "albumParticipantsCount": "{count, plural, =0 {No Participants} one {1 Participant} other {{count} Participants}}",
+ "albumParticipantsCount": "{count, plural, =0 {No Participants} one {{count} Participant} other {{count} Participants}}",
"@albumParticipantsCount": {
"placeholders": {
"count": {
@@ -298,7 +298,7 @@
"publicLinkEnabled": "Public link enabled",
"shareALink": "Share a link",
"sharedAlbumSectionDescription": "Create shared and collaborative albums with other Ente users, including users on free plans.",
- "shareWithPeopleSectionTitle": "{numberOfPeople, plural, =0 {Share with specific people} one {Shared with 1 person} other {Shared with {numberOfPeople} people}}",
+ "shareWithPeopleSectionTitle": "{numberOfPeople, plural, =0 {Share with specific people} one {Shared with {numberOfPeople} person} other {Shared with {numberOfPeople} people}}",
"@shareWithPeopleSectionTitle": {
"placeholders": {
"numberOfPeople": {
@@ -697,7 +697,7 @@
"inviteLimitReached": "You've added 5 invites. Remove one to add another",
"emailAddress": "Email address",
"sendInvites": "Send invites",
- "sendCountInvites": "{count, plural, =0 {Send invites} one {Send 1 invite} other {Send {count} invites}}",
+ "sendCountInvites": "{count, plural, =0 {Send invites} one {Send {count} invite} other {Send {count} invites}}",
"@sendCountInvites": {
"placeholders": {
"count": {
@@ -1196,7 +1196,7 @@
"referFriendsAnd2xYourPlan": "Refer friends and 2x your plan",
"shareAlbumHint": "Open an album and tap the share button on the top right to share.",
"itemsShowTheNumberOfDaysRemainingBeforePermanentDeletion": "Items show the number of days remaining before permanent deletion",
- "trashDaysLeft": "{count, plural, =0 {Soon} one {1 day} other {{count} days}}",
+ "trashDaysLeft": "{count, plural, =0 {Soon} one {{count} day} other {{count} days}}",
"@trashDaysLeft": {
"description": "Text to indicate number of days remaining before permanent deletion",
"placeholders": {
@@ -1316,7 +1316,7 @@
"unlock": "Unlock",
"freeUpSpace": "Free up space",
"freeUpSpaceSaving": "{count, plural, one {It can be deleted from the device to free up {formattedSize}} other {They can be deleted from the device to free up {formattedSize}}}",
- "filesBackedUpInAlbum": "{count, plural, one {1 file} other {{formattedNumber} files}} in this album has been backed up safely",
+ "filesBackedUpInAlbum": "{count, plural, one {{formattedNumber} file} other {{formattedNumber} files}} in this album has been backed up safely",
"@filesBackedUpInAlbum": {
"description": "Text to tell user how many files have been backed up in the album",
"placeholders": {
@@ -1331,7 +1331,7 @@
}
}
},
- "filesBackedUpFromDevice": "{count, plural, one {1 file} other {{formattedNumber} files}} on this device have been backed up safely",
+ "filesBackedUpFromDevice": "{count, plural, one {{formattedNumber} file} other {{formattedNumber} files}} on this device have been backed up safely",
"@filesBackedUpFromDevice": {
"description": "Text to tell user how many files have been backed up from this device",
"placeholders": {
@@ -1903,7 +1903,7 @@
"@noFacesDetectedTapToAdd": {
"description": "Shown in file details when no faces are detected, but manual tagging is available."
},
- "addedFilesToPerson": "{count, plural, one {Added 1 file to {personName}} other {Added {count} files to {personName}}}",
+ "addedFilesToPerson": "{count, plural, one {Added {count} file to {personName}} other {Added {count} files to {personName}}}",
"@addedFilesToPerson": {
"description": "Toast shown after manually tagging one or more files to a person.",
"placeholders": {
@@ -1917,7 +1917,7 @@
}
}
},
- "filesAlreadyLinkedToPerson": "{count, plural, one {1 file is already linked to {personName}} other {{count} files are already linked to {personName}}}",
+ "filesAlreadyLinkedToPerson": "{count, plural, one {{count} file is already linked to {personName}} other {{count} files are already linked to {personName}}}",
"@filesAlreadyLinkedToPerson": {
"description": "Toast shown when selected files are already manually tagged to the selected person.",
"placeholders": {
@@ -1980,7 +1980,7 @@
"enableMachineLearningBanner": "Enable machine learning for magic search and face recognition",
"searchDiscoverEmptySection": "Images will be shown here once processing and syncing is complete",
"searchPersonsEmptySection": "People will be shown here once processing and syncing is complete",
- "viewersSuccessfullyAdded": "{count, plural, =0 {Added 0 viewers} one {Added 1 viewer} other {Added {count} viewers}}",
+ "viewersSuccessfullyAdded": "{count, plural, =0 {Added 0 viewers} one {Added {count} viewer} other {Added {count} viewers}}",
"@viewersSuccessfullyAdded": {
"placeholders": {
"count": {
@@ -1990,7 +1990,7 @@
},
"description": "Number of viewers that were successfully added to an album."
},
- "collaboratorsSuccessfullyAdded": "{count, plural, =0 {Added 0 collaborator} one {Added 1 collaborator} other {Added {count} collaborators}}",
+ "collaboratorsSuccessfullyAdded": "{count, plural, =0 {Added 0 collaborator} one {Added {count} collaborator} other {Added {count} collaborators}}",
"@collaboratorsSuccessfullyAdded": {
"placeholders": {
"count": {
@@ -2000,7 +2000,7 @@
},
"description": "Number of collaborators that were successfully added to an album."
},
- "adminsSuccessfullyAdded": "{count, plural, =0 {No admins were added} one {1 admin successfully added} other {{count} admins successfully added}}",
+ "adminsSuccessfullyAdded": "{count, plural, =0 {No admins were added} one {{count} admin successfully added} other {{count} admins successfully added}}",
"@adminsSuccessfullyAdded": {
"placeholders": {
"count": {
@@ -2089,7 +2089,7 @@
},
"currentlyRunning": "currently running",
"ignored": "ignored",
- "photosCount": "{count, plural, =0 {0 photos} one {1 photo} other {{count} photos}}",
+ "photosCount": "{count, plural, =0 {0 photos} one {{count} photo} other {{count} photos}}",
"@photosCount": {
"placeholders": {
"count": {
@@ -2383,7 +2383,7 @@
"moveSelectedPhotosToOneDate": "Move selected photos to one date",
"shiftDatesAndTime": "Shift dates and time",
"photosKeepRelativeTimeDifference": "Photos keep relative time difference",
- "photocountPhotos": "{count, plural, =0 {No photos} one {1 photo} other {{count} photos}}",
+ "photocountPhotos": "{count, plural, =0 {No photos} one {{count} photo} other {{count} photos}}",
"@photocountPhotos": {
"placeholders": {
"count": {
@@ -2521,7 +2521,7 @@
"font": "Font",
"background": "Background",
"align": "Align",
- "addedToAlbums": "{count, plural, one{Added successfully to 1 album} other{Added successfully to {count} albums}}",
+ "addedToAlbums": "{count, plural, one{Added successfully to {count} album} other{Added successfully to {count} albums}}",
"@addedToAlbums": {
"description": "Message shown when items are added to albums",
"placeholders": {
@@ -2991,7 +2991,7 @@
}
}
},
- "likesCount": "{count, plural, one{1 like} other{{count} likes}}",
+ "likesCount": "{count, plural, one{{count} like} other{{count} likes}}",
"@likesCount": {
"description": "Number of likes with pluralization",
"placeholders": {
@@ -3012,7 +3012,7 @@
"@failedToUpdateLike": {
"description": "Toast when like update fails"
},
- "failedToLikeAlbums": "{count, plural, one{Failed to like 1 album} other{Failed to like {count} albums}}",
+ "failedToLikeAlbums": "{count, plural, one{Failed to like {count} album} other{Failed to like {count} albums}}",
"@failedToLikeAlbums": {
"description": "Error when liking albums fails",
"placeholders": {
@@ -3029,7 +3029,7 @@
"@couldNotLoadSelectedPhoto": {
"description": "Toast when the selected contact photo cannot be loaded"
},
- "albumsCount": "{count, plural, one{1 album} other{{count} albums}}",
+ "albumsCount": "{count, plural, one{{count} album} other{{count} albums}}",
"@albumsCount": {
"description": "Number of albums with pluralization",
"placeholders": {
@@ -3075,7 +3075,7 @@
}
}
},
- "commentsCount": "{count, plural, =0{No comments} one{1 comment} other{{count} comments}}",
+ "commentsCount": "{count, plural, =0{No comments} one{{count} comment} other{{count} comments}}",
"@commentsCount": {
"description": "Number of comments with pluralization",
"placeholders": {