
This implements for plugins the changes done by commit 2e90908b8e79ff293298dfcd83b166dd06d361c3. Signed-off-by: Lucio Correia <luciojhc@linux.vnet.ibm.com> Signed-off-by: Gustavo Y. Ribeiro <gyr@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 c676f89..2935c40 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