mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: put back Russian language
set EasyLocalization to not save language locally.
This commit is contained in:
parent
62bafce0b2
commit
1796d0a448
@ -29,13 +29,16 @@ class AppWidgetTask extends LaunchTask {
|
|||||||
runApp(
|
runApp(
|
||||||
EasyLocalization(
|
EasyLocalization(
|
||||||
supportedLocales: const [
|
supportedLocales: const [
|
||||||
|
// In alphabetical order
|
||||||
Locale('en'),
|
Locale('en'),
|
||||||
Locale('zh', 'CN'),
|
|
||||||
Locale('it', 'IT'),
|
|
||||||
Locale('fr', 'CA'),
|
Locale('fr', 'CA'),
|
||||||
|
Locale('it', 'IT'),
|
||||||
|
Locale('ru', 'RU'),
|
||||||
|
Locale('zh', 'CN'),
|
||||||
],
|
],
|
||||||
path: 'assets/translations',
|
path: 'assets/translations',
|
||||||
fallbackLocale: const Locale('en'),
|
fallbackLocale: const Locale('en'),
|
||||||
|
saveLocale: false,
|
||||||
child: app,
|
child: app,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user