diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-08-27 11:31:46 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-08-27 11:31:46 +0200 |
commit | 672ab5f450c92668d675a80a8eee5199d7d76bcd (patch) | |
tree | c060467fddbd8e547e067c8a1d51591461527eec | |
parent | c07c4862e35da2d3b0d712282308c85d78119120 (diff) | |
download | network-manager-applet-wip/hadess/hidden-wifi-gettext.tar.gz |
glade: Fix Hidden Wi-Fi dialogue being partly untranslatedwip/hadess/hidden-wifi-gettext
There was no gettext "domain" property defined for the wifi.ui files,
nor was there a call to gtk_builder_set_translation_domain() before
adding the .ui to the GtkBuilder object, so those strings used the
default project gettext.
Except that when the dialogue is used in another project such as
gnome-control-center, that the default project isn't where the
translations live.
Set the "domain" property on the top-level interface tag, so that
GtkBuilder knows where to find the translations.
https://bugzilla.gnome.org/show_bug.cgi?id=792285
-rw-r--r-- | src/libnm-gtk/wifi.ui | 2 | ||||
-rw-r--r-- | src/libnma/wifi.ui | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libnm-gtk/wifi.ui b/src/libnm-gtk/wifi.ui index 354617b8..b7e40c47 100644 --- a/src/libnm-gtk/wifi.ui +++ b/src/libnm-gtk/wifi.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="nm-applet"> <requires lib="gtk+" version="3.10"/> <object class="GtkListStore" id="model1"> <columns> diff --git a/src/libnma/wifi.ui b/src/libnma/wifi.ui index d0ac63a3..7c99f20b 100644 --- a/src/libnma/wifi.ui +++ b/src/libnma/wifi.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="nm-applet"> <requires lib="gtk+" version="3.10"/> <object class="GtkListStore" id="model1"> <columns> |