💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Enable Catalan locale in mobile Photos app
ashilkne05a0f69ddd9
diff --git a/mobile/apps/photos/lib/l10n/l10n.dart b/mobile/apps/photos/lib/l10n/l10n.dartindex 73c19b8983..97e3bbe0fb 100644--- a/mobile/apps/photos/lib/l10n/l10n.dart+++ b/mobile/apps/photos/lib/l10n/l10n.dart@@ -6,6 +6,7 @@ import "package:shared_preferences/shared_preferences.dart";// Add more language to the list only when at least 90% of the strings are// translated in the corresponding language.const List<Locale> appSupportedLocales = <Locale>[+ Locale('ca'),Locale('cs'),Locale('en'),Locale('es'),diff --git a/mobile/apps/photos/lib/ui/settings/language_picker.dart b/mobile/apps/photos/lib/ui/settings/language_picker.dartindex afd92df1fb..afd8482d02 100644--- a/mobile/apps/photos/lib/ui/settings/language_picker.dart+++ b/mobile/apps/photos/lib/ui/settings/language_picker.dart@@ -128,6 +128,8 @@ class _ItemsWidgetState extends State<ItemsWidget> {String _getLanguageName(Locale locale) {switch (locale.languageCode) {+ case 'ca':+ return 'Català ';case 'cs':return 'Čeština';case 'en':