mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-28 15:09:42 -08:00
Merge pull request #2789 from Zaid-maker/patch-1
Add new Language: Urdu
This commit is contained in:
commit
306cd37ec0
|
@ -41,6 +41,7 @@ const languageList = {
|
|||
"el-GR": "Ελληνικά",
|
||||
"yue": "繁體中文 (廣東話 / 粵語)",
|
||||
"ro": "Limba română",
|
||||
"ur": "Urdu"
|
||||
};
|
||||
|
||||
let messages = {
|
||||
|
@ -53,7 +54,7 @@ for (let lang in languageList) {
|
|||
};
|
||||
}
|
||||
|
||||
const rtlLangs = [ "fa", "ar-SY" ];
|
||||
const rtlLangs = [ "fa", "ar-SY", "ur" ];
|
||||
|
||||
export const currentLocale = () => localStorage.locale
|
||||
|| languageList[navigator.language] && navigator.language
|
||||
|
|
Loading…
Reference in a new issue