From 707ce134350da5a2537fc606cddc95ae1779dfb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 29 May 2023 10:53:23 +0200 Subject: [PATCH] [plugins_translations] Install files into correct path --- plugins_translations/plugins_translations.py | 4 ++-- 1 file 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