Commit ebd40cec authored by Dicson's avatar Dicson

plagins_translations. update locales once only

parent fc4ea34d
......@@ -39,6 +39,8 @@ class PlaginsTranslationsPlugin(GajimPlugin):
shutil.copy2(os.path.join(self.__path__, '' % 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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment