Commit 7edb94d7 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[translations] Use configpaths api for getting path

parent 854ed7e8
......@@ -3,7 +3,7 @@
import os
from gajim.common import app
from gajim.common import configpaths
from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log_calls
from gajim.plugins.plugins_i18n import _
......@@ -14,10 +14,11 @@ class PluginsTranslationsPlugin(GajimPlugin):
def init(self):
self.description = _('This plugin contains translation files '
'for Gajim plugins')
'for Gajim plugins')
self.config_dialog = None
self.config_default_values = {'last_version': '0'}
self.locale_dir = os.path.join(app.PLUGINS_DIRS[1], 'locale')
self.locale_dir = os.path.join(
configpaths.get('PLUGINS_USER'), 'locale')
def activate(self):
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