mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
fix translation dir
This commit is contained in:
parent
d63715949e
commit
54e6e94153
1 changed files with 4 additions and 4 deletions
|
|
@ -712,8 +712,8 @@ Please choose a new deck name:"""))
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
lang = force if force else self.pm.profile["lang"]
|
lang = force if force else self.pm.profile["lang"]
|
||||||
languageDir=os.path.join(aqt.moduleDir, "locale")
|
languageDir=os.path.join(aqt.moduleDir, "aqt", "locale")
|
||||||
self.languageTrans = gettext.translation('aqt', languageDir,
|
self.languageTrans = gettext.translation('ankiqt', languageDir,
|
||||||
languages=[lang],
|
languages=[lang],
|
||||||
fallback=True)
|
fallback=True)
|
||||||
self.installTranslation()
|
self.installTranslation()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue