GNOME Bugzilla – Bug 527841
Enabling draw spaces plugin makes translated ui untranslated
Last modified: 2019-03-23 20:46:57 UTC
gedit is 100% translated to Hungarian. However, after enabling the smart spaces plugin, the Preferences dialog (and some random strings, linke "Unsaved doucument 1") changes back to English. Disabling the plugin makes the strings appear again in Hungarian. Here is a small (not really, so not attaching) screencast: http://delfin.unideb.hu/~kg0021/smartspaces.gif
Oh, fsck... it's not smart spaces, it's the Draw spaces plugin: #: ../plugins/drawspaces/drawspaces.gedit-plugin.desktop.in.h:1 msgid "Draw Spaces" msgstr "Szóközök rajzolása" changing summary, sorry.
Confirmed in French (2.20).
That has something to do with two following lines, because when I comment them, the problem disappear: gtk.glade.bindtextdomain(GETTEXT_PACKAGE, GP_LOCALEDIR) gtk.glade.textdomain(GETTEXT_PACKAGE) I moved them in the __init__ function of DrawSpacesConfigDialog so as the configure dialog of the plugin is still translated.
Created attachment 109549 [details] [review] patch Does this look correct? It seems to work for me
Yes, it works for me also.