From ab581c166bb1e3ec4399f92e7abb62e752fcecc2 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Wed, 15 Nov 2017 13:08:58 +0000 Subject: [PATCH] l10n: Fix localization in TextSize plugin --- plugins/textsize/textsize/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/textsize/textsize/__init__.py b/plugins/textsize/textsize/__init__.py index d9b36bf..f2c46c6 100644 --- a/plugins/textsize/textsize/__init__.py +++ b/plugins/textsize/textsize/__init__.py @@ -26,6 +26,9 @@ from gi.repository import GObject, Gio, Gtk, Gdk, Xed from .documenthelper import DocumentHelper +import gettext +gettext.install("xed") + MENU_PATH = "/MenuBar/ViewMenu/ViewOps_1" class TextSizePlugin(GObject.Object, Xed.WindowActivatable):