blob: e0c69e55cf1fccb9e470ddc6f0b2837f16356b4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- setup.py.old 2009-10-28 11:06:02.000000000 +0100
+++ setup.py 2009-10-29 09:15:35.000000000 +0100
@@ -736,6 +736,8 @@
for source in glob (os.path.join (locale_dir, "*.mo")):
lang = os.path.basename(source)[:-3]
+ if 'LINGUAS' in os.environ and lang not in os.environ['LINGUAS']:
+ continue
dest = '/usr/share/locale/%s/LC_MESSAGES/miro.mo' % lang
if self.root:
dest = change_root(self.root, dest)
|