mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
18 lines
615 B
Diff
18 lines
615 B
Diff
|
diff --git a/python/lib/lng.py b/python/lib/lng.py
|
||
|
index a390d920..00c3527e 100755
|
||
|
--- a/python/lib/lng.py
|
||
|
+++ b/python/lib/lng.py
|
||
|
@@ -12,11 +12,7 @@ class Lang(object):
|
||
|
|
||
|
class iLang(object):
|
||
|
def __init__(self):
|
||
|
- if(os.environ["DEBIAN_PACKAGE"] == "TRUE"):
|
||
|
- languages = os.listdir('/usr/share/locale')
|
||
|
- else:
|
||
|
- languages = os.listdir(Variables.playonlinux_env+'/lang/locale')
|
||
|
-
|
||
|
+ languages = os.listdir('@out@/share/playonlinux/lang/locale')
|
||
|
if(os.environ["POL_OS"] == "Mac"):
|
||
|
wxLocale = wx.Locale().FindLanguageInfo(os.environ["RLANG"])
|
||
|
|