mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 01:06:44 +00:00
Merge pull request 'Set fallback locale to en' (#6) from master into fdroid
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/6
This commit is contained in:
commit
696e12e846
|
@ -13,7 +13,7 @@ class Localization extends StatelessWidget {
|
||||||
return EasyLocalization(
|
return EasyLocalization(
|
||||||
supportedLocales: [Locale('ru'), Locale('en')],
|
supportedLocales: [Locale('ru'), Locale('en')],
|
||||||
path: 'assets/translations',
|
path: 'assets/translations',
|
||||||
fallbackLocale: Locale('ru'),
|
fallbackLocale: Locale('en'),
|
||||||
saveLocale: false,
|
saveLocale: false,
|
||||||
useOnlyLangCode: true,
|
useOnlyLangCode: true,
|
||||||
child: child!,
|
child: child!,
|
||||||
|
|
Loading…
Reference in a new issue