fix changelog (#1073)

This commit is contained in:
Neeraj Gupta 2023-05-08 08:38:00 +05:30 committed by GitHub
commit 6ea6c55765
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 19 deletions

View file

@ -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<Locale> appSupportedLocales = kDebugMode
? <Locale>[
Locale('en'),
Locale('es'),
Locale('fr'),
Locale("nl"),
Locale("zh", "CN"),
]
: <Locale>[
Locale('en'),
Locale('es'),
Locale("nl"),
Locale("zh", "CN"),
];
const List<Locale> appSupportedLocales = <Locale>[
Locale('en'),
Locale('es'),
Locale("nl"),
Locale("zh", "CN"),
];
Locale localResolutionCallBack(locales, supportedLocales) {
for (Locale locale in locales) {

View file

@ -112,10 +112,10 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
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.