[home] fix bug 74329

This commit is contained in:
maxkadushkin
2025-06-30 01:13:48 +03:00
parent 098e179a53
commit 67e81b1fcd

View File

@ -242,7 +242,13 @@ function changelang(lang) {
};
function is_lang_rtl(code) {
return code.startsWith('ar') || code.startsWith('he');
const langs = ['ar', 'he', 'ur'];
for (const l of langs) {
if (code.startsWith(l))
return true;
}
return false;
}
+function mixLocale(lang) {