Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins_translations/plugins_translations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins_translations/plugins_translations.py b/plugins_translations/plugins_translations.py
index 684cb50..aa40190 100644
--- a/plugins_translations/plugins_translations.py
+++ b/plugins_translations/plugins_translations.py
@@ -54,10 +54,10 @@ class PluginsTranslationsPlugin(GajimPlugin):
]
log.info('Installing new translations...')
for locale in locales:
- dst = self.locale_dir / locale / 'LC_MESSAGES' / 'gajim_plugins.mo'
+ dst = self.locale_dir / locale / 'LC_MESSAGES'
dst.mkdir(parents=True)
shutil.copy2(os.path.join(self.__path__, '%s.mo' % locale),
- str(dst))
+ dst / 'gajim_plugins.mo')
self.config['last_version'] = current_version