Commit f7dd115d authored by Bastien Nocera's avatar Bastien Nocera Committed by Lubomir Rintel

glade: fix Wi-Fi secrets dialogue being partly untranslated

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.

[lkundrak@v3.sk: The Wi-Fi dialog is actually composed of widgets from
multiple GtkBuilder files -- set the domain in all of them.]

!23
https://bugzilla.gnome.org/show_bug.cgi?id=792285
parent c07c4862
<?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="GtkDialog" id="8021x_dialog">
<property name="can_focus">False</property>
......
<?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="GtkDialog" id="ip4_routes_dialog">
<property name="width_request">450</property>
......
<?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="GtkDialog" id="ip6_routes_dialog">
<property name="width_request">450</property>
......
<?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="new_connection_combo_model">
<columns>
......
<?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="GtkGrid" id="BluetoothPage">
<property name="visible">True</property>
......
<?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="GtkAdjustment" id="bond_downdelay_adjustment">
<property name="upper">10000</property>
......
<?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="GtkAdjustment" id="bridge_port_path_cost_adjustment">
<property name="lower">1</property>
......
<?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="GtkAdjustment" id="bridge_ageing_time_adjustment">
<property name="upper">4294967296</property>
......
<?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="GtkGrid" id="DcbPage">
<property name="visible">True</property>
......
<?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="GtkGrid" id="DslPage">
<property name="visible">True</property>
......
<?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="GtkAdjustment" id="adjustment1">
<property name="upper">10000</property>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<interface>
<interface domain="nm-applet">
<requires lib="gtk+" version="3.10"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">-999</property>
......
<?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="GtkAdjustment" id="adjustment1">
<property name="upper">65520</property>
......
<?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="GtkAdjustment" id="adjustment1">
<property name="upper">10000</property>
......
<?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>
......
<?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>
......
<?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="mode_store">
<columns>
......
<?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="GtkBox" id="MobilePage">
<property name="orientation">vertical</property>
......
<?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="GtkBox" id="PppPage">
<property name="orientation">vertical</property>
......
<?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="GtkGrid" id="ProxyPage">
<property name="visible">True</property>
......
<?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="GtkGrid" id="TeamPortPage">
<property name="visible">True</property>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<interface domain="nm-applet">
<requires lib="gtk+" version="3.10"/>
<object class="GtkListStore" id="agg_select_policy_model">
<columns>
......
<?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="GtkAdjustment" id="adjustment2">
<property name="upper">10000</property>
......
<?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>
......
<?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="GtkAdjustment" id="adjustment1">
<property name="upper">10000</property>
......
<?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="GtkDialog" id="auth_methods_dialog">
<property name="can_focus">False</property>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<interface domain="nm-applet">
<menu id="app-menu">
<section>
<item>
......
<?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="GtkWindow" id="nm-connection-editor">
<property name="can_focus">False</property>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface>
<interface domain="nm-applet">
<requires lib="gtk+" version="3.10"/>
<template class="NMConnectionList" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
......
<?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="GtkDialog" id="unlock_dialog">
<property name="can_focus">False</property>
......
<?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="GtkDialog" id="info_dialog">
<property name="width_request">600</property>
......
<?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>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<interface>
<interface domain="nm-applet">
<requires lib="gtk+" version="3.20"/>
<object class="GtkTreeStore" id="country_store">
<columns>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface>
<interface domain="nm-applet">
<requires lib="gtk+" version="3.10"/>
<template class="NMAPkcs11TokenLoginDialog" parent="GtkDialog">
<property name="can_focus">False</property>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<interface>
<interface domain="nm-applet">
<requires lib="gtk+" version="3.20"/>
<template class="NMAVpnPasswordDialog" parent="GtkDialog">
<property name="can_focus">False</property>
......
<?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>
......
<?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="model8">
<columns>
......
<?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="GtkNotebook" id="eap_leap_notebook">
<property name="visible">True</property>
......
<?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="model8">
<columns>
......
<?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="GtkNotebook" id="eap_simple_notebook">
<property name="visible">True</property>
......
<?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="GtkNotebook" id="eap_tls_notebook">
<property name="visible">True</property>
......
<?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="model6">
<columns>
......
<?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="model7">
<columns>
......
<?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="GtkNotebook" id="leap_notebook">
<property name="visible">True</property>
......
<?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="model3">
<columns>
......
<?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="model5">
<columns>
......
<?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="GtkNotebook" id="wpa_psk_notebook">
<property name="visible">True</property>
......
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