π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
feat: add localization for file preview error message
AmanRajSinghMourya27bbad205341
diff --git a/mobile/apps/locker/lib/l10n/app_en.arb b/mobile/apps/locker/lib/l10n/app_en.arbindex 36cc091463..bd4c0b300f 100644--- a/mobile/apps/locker/lib/l10n/app_en.arb+++ b/mobile/apps/locker/lib/l10n/app_en.arb@@ -99,6 +99,10 @@}}},+ "noAppToOpenFileDownloadInstead": "No app is available to preview this file. You can download it and open it with another app.",+ "@noAppToOpenFileDownloadInstead": {+ "description": "Message shown when Android cannot find an app to open or preview a file"+ },"minutesAgo": "{minutes}m ago","@minutesAgo": {"description": "Time format for minutes ago",diff --git a/mobile/apps/locker/lib/l10n/app_localizations.dart b/mobile/apps/locker/lib/l10n/app_localizations.dartindex fe98df402a..400e6141a0 100644--- a/mobile/apps/locker/lib/l10n/app_localizations.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart@@ -342,6 +342,12 @@ abstract class AppLocalizations {/// **'Could not open item: {error}'**String couldNotOpenFile(String error);+ /// Message shown when Android cannot find an app to open or preview a file+ ///+ /// In en, this message translates to:+ /// **'No app is available to preview this file. You can download it and open it with another app.'**+ String get noAppToOpenFileDownloadInstead;+/// Time format for minutes ago////// In en, this message translates to:diff --git a/mobile/apps/locker/lib/l10n/app_localizations_en.dart b/mobile/apps/locker/lib/l10n/app_localizations_en.dartindex c57e875436..b059bde2a4 100644--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart@@ -153,6 +153,10 @@ class AppLocalizationsEn extends AppLocalizations {return 'Could not open item: $error';}+ @override+ String get noAppToOpenFileDownloadInstead =>+ 'No app is available to preview this file. You can download it and open it with another app.';+@overrideString minutesAgo(int minutes) {return '${minutes}m ago';