mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 02:35:39 +03:00
Revert "Fix PHANPY_DEFAULT_LANG not working"
This reverts commit b286511f44
.
This commit is contained in:
parent
6f8ed8411b
commit
6fe922d1cf
1 changed files with 1 additions and 1 deletions
|
@ -46,8 +46,8 @@ export function initActivateLang() {
|
||||||
const lang = detect(
|
const lang = detect(
|
||||||
fromUrl('lang'),
|
fromUrl('lang'),
|
||||||
fromStorage('lang'),
|
fromStorage('lang'),
|
||||||
PHANPY_DEFAULT_LANG,
|
|
||||||
fromNavigator(),
|
fromNavigator(),
|
||||||
|
PHANPY_DEFAULT_LANG,
|
||||||
DEFAULT_LANG,
|
DEFAULT_LANG,
|
||||||
);
|
);
|
||||||
const matchedLang = localeMatch(lang, LOCALES);
|
const matchedLang = localeMatch(lang, LOCALES);
|
||||||
|
|
Loading…
Reference in a new issue