Skip to content
Snippets Groups Projects
Commit aff0dbe9 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Bind textdomain also for plugins

parent 0f0c0a6a
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
import os
import locale
import gettext
from gajim.common import configpaths
......@@ -28,3 +29,6 @@ try:
_ = t.gettext
except OSError:
_ = gettext.gettext
if hasattr(locale, 'bindtextdomain'):
locale.bindtextdomain(DOMAIN, plugins_locale_dir) # type: ignore
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