mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 18:25:41 +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(
|
||||
fromUrl('lang'),
|
||||
fromStorage('lang'),
|
||||
PHANPY_DEFAULT_LANG,
|
||||
fromNavigator(),
|
||||
PHANPY_DEFAULT_LANG,
|
||||
DEFAULT_LANG,
|
||||
);
|
||||
const matchedLang = localeMatch(lang, LOCALES);
|
||||
|
|
Loading…
Reference in a new issue