Skip to content
Snippets Groups Projects
Commit ebcc60c5 authored by Page Magnier-Slimani's avatar Page Magnier-Slimani Committed by Page Magnier-Slimani
Browse files

RTL: display Azerbaijani as a RTL language

Azerbaijani is now recognised as an RTL language.

GitLab: #1957
Change-Id: Id1a4f947bf5d0371f558ad5fa507e375c4a2be32
parent c12a7539
No related branches found
Tags 0.2.0
No related merge requests found
......@@ -811,18 +811,19 @@ UtilsAdapter::isRTL()
pref = pref == "SYSTEM" ? QLocale::system().name() : pref;
static const QStringList rtlLanguages {
// as defined by ISO 639-1
"ar", // Arabic
"he", // Hebrew
"fa", // Persian (Farsi)
"ur", // Urdu
"ps", // Pashto
"ku", // Kurdish
"sd", // Sindhi
"dv", // Dhivehi (Maldivian)
"yi", // Yiddish
"am", // Amharic
"ti", // Tigrinya
"kk" // Kazakh (in Arabic script)
"ar", // Arabic
"he", // Hebrew
"fa", // Persian (Farsi)
"az_IR", // Azerbaijani
"ur", // Urdu
"ps", // Pashto
"ku", // Kurdish
"sd", // Sindhi
"dv", // Dhivehi (Maldivian)
"yi", // Yiddish
"am", // Amharic
"ti", // Tigrinya
"kk" // Kazakh (in Arabic script)
};
return rtlLanguages.contains(pref);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment