[chronojump] win32: include translations in the package
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] win32: include translations in the package
- Date: Sat, 8 Feb 2014 20:14:51 +0000 (UTC)
commit b8bcc2c796dbc91de7f3da9d6d5bf3342a63398c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Feb 5 12:21:00 2014 +0100
win32: include translations in the package
win32/deploy_win32.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/win32/deploy_win32.py b/win32/deploy_win32.py
index 6a245b3..6a1bc40 100644
--- a/win32/deploy_win32.py
+++ b/win32/deploy_win32.py
@@ -109,6 +109,7 @@ class Deploy():
self.deploy_mono()
self.deploy_msys()
self.deploy_themes()
+ self.deploy_translations()
self.close()
def close(self, message=None):
@@ -164,6 +165,11 @@ class Deploy():
for name in GTK_DEPS:
shutil.copy(os.path.join(self.prefix, 'bin', name), self.bin_dir)
+ def deploy_translations(self):
+ print 'Deploying translation'
+ shutil.copytree(os.path.join(self.prefix, 'share', 'locale'),
+ os.path.join(self.share_dir, 'locale'))
+
def deploy_mono(self):
print 'Deploying Mono dependencies'
for name in MONO_DEPS:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]