blob: b045c6fffee427e5db14eaf86917a4cc6933ad86 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- anki/lang.py.orig 2018-09-27 01:52:01 UTC
+++ anki/lang.py
@@ -84,7 +84,7 @@ def langDir():
if isMac:
dir = os.path.abspath(filedir + "/../../Resources/locale")
else:
- dir = os.path.join(filedir, "locale")
+ dir = os.path.join(filedir, "%%PREFIX%%/share/locale")
if not os.path.isdir(dir):
dir = os.path.join(os.path.dirname(sys.argv[0]), "locale")
if not os.path.isdir(dir):
|