mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[home] fix bug 74329
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user