mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
remove unused locale_dir
This commit is contained in:
parent
d3805620df
commit
4e405f1cc3
2 changed files with 1 additions and 5 deletions
|
@ -22,7 +22,7 @@ from anki.consts import HELP_SITE
|
|||
from anki.utils import checksum, isLin, isMac
|
||||
from aqt import gui_hooks
|
||||
from aqt.qt import *
|
||||
from aqt.utils import TR, locale_dir, tr
|
||||
from aqt.utils import TR, tr
|
||||
|
||||
if sys.version_info[0] < 3 or sys.version_info[1] < 9:
|
||||
raise Exception("Anki requires Python 3.9+")
|
||||
|
|
|
@ -50,10 +50,6 @@ def aqt_data_folder() -> str:
|
|||
return "."
|
||||
|
||||
|
||||
def locale_dir() -> str:
|
||||
return os.path.join(aqt_data_folder(), "locale")
|
||||
|
||||
|
||||
# shortcut to access Fluent translations; set as
|
||||
tr = tr_legacyglobal
|
||||
|
||||
|
|
Loading…
Reference in a new issue