Update src/i18n.js

Co-authored-by: 401Unauthorized <redme@live.cn>
This commit is contained in:
Louis Lam 2023-01-24 13:24:42 +08:00 committed by GitHub
parent 861ddc6117
commit 8ade7120ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ for (let lang in languageList) {
};
}
const rtlLangs = [ "fa" , "ar-SY"];
const rtlLangs = [ "fa", "ar-SY" ];
export const currentLocale = () => localStorage.locale
|| languageList[navigator.language] && navigator.language