[Kimchi-devel] [PATCH V3 28/34] Install plugin .mo files to default locale dir
Lucio Correia
luciojhc at linux.vnet.ibm.com
Wed Jul 8 19:18:00 UTC 2015
This implements for plugins the changes done by commit
2e90908b8e79ff293298dfcd83b166dd06d361c3.
Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
Signed-off-by: Gustavo Y. Ribeiro <gyr at linux.vnet.ibm.com>
---
src/wok/config.py.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/wok/config.py.in b/src/wok/config.py.in
index 558eceb..64ae633 100644
--- a/src/wok/config.py.in
+++ b/src/wok/config.py.in
@@ -92,12 +92,13 @@ class PluginPaths(Paths):
if self.installed:
self.conf_dir = '@sysconfdir@/wok/plugins.d'
self.src_dir = os.path.join('@wokdir@', self.plugin_dir)
+ self.mo_dir = '@prefix@/share/locale'
else:
self.conf_dir = self.add_prefix(self.plugin_dir)
self.src_dir = self.add_prefix(self.plugin_dir)
+ self.mo_dir = self.add_prefix(os.path.join(self.plugin_dir, 'mo'))
self.ui_dir = self.add_prefix(os.path.join(self.plugin_dir, 'ui'))
- self.mo_dir = self.add_prefix(os.path.join(self.plugin_dir, 'mo'))
self.conf_file = os.path.join(self.conf_dir, '%s.conf' % name)
--
1.7.1
More information about the Kimchi-devel
mailing list