diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-05-29 11:53:23 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-05-29 11:55:20 +0300 |
commit | 707ce134350da5a2537fc606cddc95ae1779dfb3 (patch) | |
tree | e705c8809bf92829e0198a4dbe1ef718b3e4489e | |
parent | a93e07240b01885e5ce314f99397b99c0009f132 (diff) |
[plugins_translations] Install files into correct path
-rw-r--r-- | plugins_translations/plugins_translations.py | 4 |
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 |