mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
add more languages to prefs, add farsi to list of RTL langs
This commit is contained in:
parent
c2e8c30514
commit
8b6a8bb7ea
2 changed files with 3 additions and 1 deletions
|
@ -1979,7 +1979,7 @@ it to your friends.
|
|||
self.mainWin.retranslateUi(self)
|
||||
anki.lang.setLang(self.config["interfaceLang"], local=False)
|
||||
self.updateTitleBar()
|
||||
if self.config['interfaceLang'] in ("he","ar") and \
|
||||
if self.config['interfaceLang'] in ("he","ar","fa") and \
|
||||
not self.config['forceLTR']:
|
||||
self.app.setLayoutDirection(Qt.RightToLeft)
|
||||
else:
|
||||
|
|
|
@ -40,11 +40,13 @@ class Preferences(QDialog):
|
|||
(u"Norsk","nb"),
|
||||
(u"Polski", "pl"),
|
||||
(u"Português Brasileiro", "pt_BR"),
|
||||
(u"Português", "pt"),
|
||||
(u"Româneşte", "ro"),
|
||||
(u"Slovenščina", "sl"),
|
||||
(u"Suomi", "fi"),
|
||||
(u"Svenska", "sv"),
|
||||
(u"Tiếng Việt", "vi"),
|
||||
(u"Türkçe", "tr"),
|
||||
(u"Čeština", "cs"),
|
||||
(u"Ελληνικά", "el"),
|
||||
(u"Български", "bg"),
|
||||
|
|
Loading…
Reference in a new issue