Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][locker] Remove hardcoded file limit from error toast

AmanRajSinghMouryab4a74a7cfa53
diff --git a/mobile/apps/locker/lib/l10n/app_en.arb b/mobile/apps/locker/lib/l10n/app_en.arb
index 9c242b053b..b69ed4057e 100644
--- a/mobile/apps/locker/lib/l10n/app_en.arb
+++ b/mobile/apps/locker/lib/l10n/app_en.arb
@@ -614,7 +614,7 @@
"@uploadFileCountLimitErrorBody": {
"description": "Body shown when uploads fail because the locker already has the maximum file count"
},
- "uploadFileCountLimitErrorToast": "Action failed. Your individual or family account has hit the 1000-file limit.",
+ "uploadFileCountLimitErrorToast": "Action failed. You've reached your file limit.",
"@uploadFileCountLimitErrorToast": {
"description": "Toast shown when info items fail to save due to hitting the file count limit"
},
diff --git a/mobile/apps/locker/lib/l10n/app_localizations.dart b/mobile/apps/locker/lib/l10n/app_localizations.dart
index c92ea8cebb..e57402672e 100644
--- a/mobile/apps/locker/lib/l10n/app_localizations.dart
+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart
@@ -2047,7 +2047,7 @@ abstract class AppLocalizations {
/// Toast shown when info items fail to save due to hitting the file count limit
///
/// In en, this message translates to:
- /// **'Action failed. Your individual or family account has hit the 1000-file limit.'**
+ /// **'Action failed. You\'ve reached your file limit.'**
String get uploadFileCountLimitErrorToast;
/// Message shown when uploads fail because the user does not have an active subscription
diff --git a/mobile/apps/locker/lib/l10n/app_localizations_en.dart b/mobile/apps/locker/lib/l10n/app_localizations_en.dart
index 803c077520..64b078fa03 100644
--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart
+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart
@@ -1149,7 +1149,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get uploadFileCountLimitErrorToast =>
- 'Action failed. Your individual or family account has hit the 1000-file limit.';
+ 'Action failed. You\'ve reached your file limit.';
@override
String get uploadSubscriptionRequiredErrorBody =>