Skip to content
Snippets Groups Projects
Commit ebd40cec authored by Dicson's avatar Dicson
Browse files

plagins_translations. update locales once only

parent fc4ea34d
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@ class PlaginsTranslationsPlugin(GajimPlugin):
os.makedirs(os.path.split(dst)[0])
shutil.copy2(os.path.join(self.__path__, '%s.mo' % locale), dst)
self.config['last_version'] = self.version
def remove_translations(self):
if os.path.isdir(self.locale_dir):
import shutil
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment