diff --git a/lib/l10n/l10n.dart b/lib/l10n/l10n.dart index b77dda6f3..e6d90500c 100644 --- a/lib/l10n/l10n.dart +++ b/lib/l10n/l10n.dart @@ -1,4 +1,3 @@ -import "package:flutter/foundation.dart"; import "package:flutter/widgets.dart"; import "package:photos/generated/l10n.dart"; import "package:shared_preferences/shared_preferences.dart"; @@ -10,20 +9,12 @@ extension AppLocalizationsX on BuildContext { // list of locales which are enabled for auth app. // Add more language to the list only when at least 90% of the strings are // translated in the corresponding language. -const List appSupportedLocales = kDebugMode - ? [ - Locale('en'), - Locale('es'), - Locale('fr'), - Locale("nl"), - Locale("zh", "CN"), - ] - : [ - Locale('en'), - Locale('es'), - Locale("nl"), - Locale("zh", "CN"), - ]; +const List appSupportedLocales = [ + Locale('en'), + Locale('es'), + Locale("nl"), + Locale("zh", "CN"), +]; Locale localResolutionCallBack(locales, supportedLocales) { for (Locale locale in locales) { diff --git a/lib/ui/notification/update/change_log_page.dart b/lib/ui/notification/update/change_log_page.dart index e8a0d33ae..5a061a071 100644 --- a/lib/ui/notification/update/change_log_page.dart +++ b/lib/ui/notification/update/change_log_page.dart @@ -112,10 +112,10 @@ class _ChangeLogPageState extends State { items.add( ChangeLogEntry( - "Languages", - "Thanks to the help from our community, we can now speak French, " - "Dutch, and Simplified Chinese.\n\nTo change your preferred " - "language, go to Settings -> General -> Language", + "Language", + "Thanks to the help from our community, we can now speak Spanish," + " Dutch, and Simplified Chinese.\n\nTo change language, go to " + "Settings -> General -> Language", ), ); //You can now specify a custom radius while creating Location tags.