summaryrefslogtreecommitdiff
path: root/xmlsecurity/uiconfig/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-11 20:56:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-21 08:20:50 +0100
commit00657aef09d854c74fb426a935a3e8b1fc390bb0 (patch)
treefd1a9bb264fe15dcc129498e62060ecd256b1ee7 /xmlsecurity/uiconfig/ui
parentfa987cbb813cfd729fe490f2f1258b7c8d7fb174 (diff)
migrate to boost::gettext
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
Diffstat (limited to 'xmlsecurity/uiconfig/ui')
-rw-r--r--xmlsecurity/uiconfig/ui/certdetails.ui2
-rw-r--r--xmlsecurity/uiconfig/ui/certgeneral.ui16
-rw-r--r--xmlsecurity/uiconfig/ui/certpage.ui12
-rw-r--r--xmlsecurity/uiconfig/ui/digitalsignaturesdialog.ui38
-rw-r--r--xmlsecurity/uiconfig/ui/macrosecuritydialog.ui8
-rw-r--r--xmlsecurity/uiconfig/ui/securitylevelpage.ui10
-rw-r--r--xmlsecurity/uiconfig/ui/securitytrustpage.ui18
-rw-r--r--xmlsecurity/uiconfig/ui/selectcertificatedialog.ui36
-rw-r--r--xmlsecurity/uiconfig/ui/viewcertdialog.ui10
9 files changed, 75 insertions, 75 deletions
diff --git a/xmlsecurity/uiconfig/ui/certdetails.ui b/xmlsecurity/uiconfig/ui/certdetails.ui
index 75fec82e52f9..ae9a27bd7438 100644
--- a/xmlsecurity/uiconfig/ui/certdetails.ui
+++ b/xmlsecurity/uiconfig/ui/certdetails.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="xsc">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="CertDetails">
diff --git a/xmlsecurity/uiconfig/ui/certgeneral.ui b/xmlsecurity/uiconfig/ui/certgeneral.ui
index 3bf3792a54de..b570b32348a6 100644
--- a/xmlsecurity/uiconfig/ui/certgeneral.ui
+++ b/xmlsecurity/uiconfig/ui/certgeneral.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="xsc">
<requires lib="gtk+" version="3.10"/>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
@@ -29,7 +29,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Certificate Information</property>
+ <property name="label" translatable="yes" context="certgeneral|label1">Certificate Information</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -67,7 +67,7 @@
<property name="margin_right">36</property>
<property name="margin_bottom">108</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">This certificate is validated.</property>
+ <property name="label" translatable="yes" context="certgeneral|hintnotrust">This certificate is validated.</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -100,7 +100,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Issued to: </property>
+ <property name="label" translatable="yes" context="certgeneral|issued_to">Issued to: </property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -127,7 +127,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Issued by: </property>
+ <property name="label" translatable="yes" context="certgeneral|issued_by">Issued by: </property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -153,7 +153,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Valid from:</property>
+ <property name="label" translatable="yes" context="certgeneral|valid_from">Valid from:</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -184,7 +184,7 @@
<object class="GtkLabel" id="privatekey">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">You have a private key that corresponds to this certificate.</property>
+ <property name="label" translatable="yes" context="certgeneral|privatekey">You have a private key that corresponds to this certificate.</property>
</object>
<packing>
<property name="expand">False</property>
@@ -204,7 +204,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Valid to:</property>
+ <property name="label" translatable="yes" context="certgeneral|valid_to">Valid to:</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/xmlsecurity/uiconfig/ui/certpage.ui b/xmlsecurity/uiconfig/ui/certpage.ui
index a1207161e9bf..c6e3e71d752a 100644
--- a/xmlsecurity/uiconfig/ui/certpage.ui
+++ b/xmlsecurity/uiconfig/ui/certpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Thu Jan 30 10:32:36 2014 -->
-<interface>
+<interface domain="xsc">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="CertPage">
@@ -23,7 +23,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Certification path</property>
+ <property name="label" translatable="yes" context="certpage|label1">Certification path</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">signatures:border</property>
</object>
@@ -36,7 +36,7 @@
</child>
<child>
<object class="GtkButton" id="viewcert">
- <property name="label" translatable="yes">View Certificate...</property>
+ <property name="label" translatable="yes" context="certpage|viewcert">View Certificate...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -87,7 +87,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Certification status</property>
+ <property name="label" translatable="yes" context="certpage|label2">Certification status</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">status:border</property>
</object>
@@ -124,7 +124,7 @@
<object class="GtkLabel" id="certok">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">The certificate is OK.</property>
+ <property name="label" translatable="yes" context="certpage|certok">The certificate is OK.</property>
</object>
<packing>
<property name="expand">False</property>
@@ -136,7 +136,7 @@
<object class="GtkLabel" id="certnotok">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">The certificate could not be validated.</property>
+ <property name="label" translatable="yes" context="certpage|certnotok">The certificate could not be validated.</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/xmlsecurity/uiconfig/ui/digitalsignaturesdialog.ui b/xmlsecurity/uiconfig/ui/digitalsignaturesdialog.ui
index 487bebdf8764..84924a6ebdda 100644
--- a/xmlsecurity/uiconfig/ui/digitalsignaturesdialog.ui
+++ b/xmlsecurity/uiconfig/ui/digitalsignaturesdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="xsc">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="DigitalSignaturesDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Digital Signatures</property>
+ <property name="title" translatable="yes" context="digitalsignaturesdialog|DigitalSignaturesDialog">Digital Signatures</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -67,7 +67,7 @@
<object class="GtkLabel" id="dochint">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">The following have signed the document content: </property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|dochint">The following have signed the document content: </property>
<property name="xalign">0</property>
</object>
<packing>
@@ -99,7 +99,7 @@
<property name="layout_style">spread</property>
<child>
<object class="GtkButton" id="view">
- <property name="label" translatable="yes">View Certificate...</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|view">View Certificate...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -112,7 +112,7 @@
</child>
<child>
<object class="GtkButton" id="sign">
- <property name="label" translatable="yes">Sign Document...</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|sign">Sign Document...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -126,7 +126,7 @@
</child>
<child>
<object class="GtkButton" id="remove">
- <property name="label" translatable="yes">Remove</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|remove">Remove</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -139,7 +139,7 @@
</child>
<child>
<object class="GtkButton" id="start_certmanager">
- <property name="label" translatable="yes">Start Certificate Manager...</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|start_certmanager">Start Certificate Manager...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -167,7 +167,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Signed by </property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|signed">Signed by </property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -179,7 +179,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Digital ID issued by </property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|issued">Digital ID issued by </property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -191,7 +191,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Date</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|date">Date</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -202,7 +202,7 @@
<object class="GtkLabel" id="description">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Description</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|description">Description</property>
</object>
<packing>
<property name="left_attach">3</property>
@@ -213,7 +213,7 @@
<object class="GtkLabel" id="type">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Signature type</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|type">Signature type</property>
</object>
<packing>
<property name="left_attach">4</property>
@@ -230,7 +230,7 @@
<object class="GtkLabel" id="macrohint">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">The following have signed the document macro:</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|macrohint">The following have signed the document macro:</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -242,7 +242,7 @@
<object class="GtkLabel" id="packagehint">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">The following have signed this package:</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|packagehint">The following have signed this package:</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -260,7 +260,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">The signatures in this document are valid</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|validft">The signatures in this document are valid</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -284,7 +284,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">The signatures in this document are invalid</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|invalidft">The signatures in this document are invalid</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -297,7 +297,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Not all parts of the document are signed</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|oldsignatureft">Not all parts of the document are signed</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -310,7 +310,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Certificate could not be validated</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|notvalidatedft">Certificate could not be validated</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -359,7 +359,7 @@
</child>
<child>
<object class="GtkCheckButton" id="adescompliant">
- <property name="label" translatable="yes">Use AdES-compliant signature when there is a choice</property>
+ <property name="label" translatable="yes" context="digitalsignaturesdialog|adescompliant">Use AdES-compliant signature when there is a choice</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui b/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui
index 9a4c17cb39a3..4b4d3b41f521 100644
--- a/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui
+++ b/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="xsc">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="MacroSecurityDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Macro Security</property>
+ <property name="title" translatable="yes" context="macrosecuritydialog|MacroSecurityDialog">Macro Security</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -97,7 +97,7 @@
<object class="GtkLabel" id="SecurityLevelPage">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Security Level</property>
+ <property name="label" translatable="yes" context="macrosecuritydialog|SecurityLevelPage">Security Level</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -110,7 +110,7 @@
<object class="GtkLabel" id="SecurityTrustPage">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Trusted Sources</property>
+ <property name="label" translatable="yes" context="macrosecuritydialog|SecurityTrustPage">Trusted Sources</property>
</object>
<packing>
<property name="position">1</property>
diff --git a/xmlsecurity/uiconfig/ui/securitylevelpage.ui b/xmlsecurity/uiconfig/ui/securitylevelpage.ui
index 78674f0f6704..32260fec6225 100644
--- a/xmlsecurity/uiconfig/ui/securitylevelpage.ui
+++ b/xmlsecurity/uiconfig/ui/securitylevelpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="xsc">
<requires lib="gtk+" version="3.0"/>
<object class="GtkGrid" id="SecurityLevelPage">
<property name="visible">True</property>
@@ -11,7 +11,7 @@
<property name="row_homogeneous">True</property>
<child>
<object class="GtkRadioButton" id="low:wrap">
- <property name="label" translatable="yes">_Low (not recommended).
+ <property name="label" translatable="yes" context="securitylevelpage|low">_Low (not recommended).
All macros will be executed without confirmation.
Use this setting only if you are certain that all documents that will be opened are safe.</property>
<property name="visible">True</property>
@@ -29,7 +29,7 @@ Use this setting only if you are certain that all documents that will be opened
</child>
<child>
<object class="GtkRadioButton" id="med:wrap">
- <property name="label" translatable="yes">_Medium.
+ <property name="label" translatable="yes" context="securitylevelpage|med">_Medium.
Confirmation required before executing macros from untrusted sources.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -46,7 +46,7 @@ Confirmation required before executing macros from untrusted sources.</property>
</child>
<child>
<object class="GtkRadioButton" id="high:wrap">
- <property name="label" translatable="yes">H_igh.
+ <property name="label" translatable="yes" context="securitylevelpage|high">H_igh.
Only signed macros from trusted sources are allowed to run.
Unsigned macros are disabled.</property>
<property name="visible">True</property>
@@ -65,7 +65,7 @@ Unsigned macros are disabled.</property>
</child>
<child>
<object class="GtkRadioButton" id="vhigh:wrap">
- <property name="label" translatable="yes">_Very high.
+ <property name="label" translatable="yes" context="securitylevelpage|vhigh">_Very high.
Only macros from trusted file locations are allowed to run.
All other macros, regardless whether signed or not, are disabled.</property>
<property name="visible">True</property>
diff --git a/xmlsecurity/uiconfig/ui/securitytrustpage.ui b/xmlsecurity/uiconfig/ui/securitytrustpage.ui
index 9e464d23c459..5e0a8472f594 100644
--- a/xmlsecurity/uiconfig/ui/securitytrustpage.ui
+++ b/xmlsecurity/uiconfig/ui/securitytrustpage.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="xsc">
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkBox" id="SecurityTrustPage">
<property name="visible">True</property>
@@ -40,7 +40,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="viewcert">
- <property name="label" translatable="yes">_View...</property>
+ <property name="label" translatable="yes" context="securitytrustpage|viewcert">_View...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -83,7 +83,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Issued to</property>
+ <property name="label" translatable="yes" context="securitytrustpage|to">Issued to</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -97,7 +97,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Issued by</property>
+ <property name="label" translatable="yes" context="securitytrustpage|by">Issued by</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -111,7 +111,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Expiration date</property>
+ <property name="label" translatable="yes" context="securitytrustpage|date">Expiration date</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -169,7 +169,7 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Trusted Certificates</property>
+ <property name="label" translatable="yes" context="securitytrustpage|label3">Trusted Certificates</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -212,7 +212,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Document macros are always executed if they have been opened from one of the following locations.</property>
+ <property name="label" translatable="yes" context="securitytrustpage|label8">Document macros are always executed if they have been opened from one of the following locations.</property>
<property name="wrap">True</property>
<property name="max_width_chars">56</property>
</object>
@@ -231,7 +231,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="addfile">
- <property name="label" translatable="yes">A_dd...</property>
+ <property name="label" translatable="yes" context="securitytrustpage|addfile">A_dd...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -318,7 +318,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Trusted File Locations</property>
+ <property name="label" translatable="yes" context="securitytrustpage|label4">Trusted File Locations</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui b/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui
index 57494738eda0..ac6c253dabdd 100644
--- a/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui
+++ b/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="xsc">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="SelectCertificateDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Select Certificate</property>
+ <property name="title" translatable="yes" context="selectcertificatedialog|SelectCertificateDialog">Select Certificate</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -89,7 +89,7 @@
<object class="GtkLabel" id="issuedto">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Issued to </property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|issuedto">Issued to </property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -100,7 +100,7 @@
<object class="GtkLabel" id="issuedby">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Issued by</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|issuedby">Issued by</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -111,7 +111,7 @@
<object class="GtkLabel" id="usage">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Certificate usage</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|usage">Certificate usage</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -122,7 +122,7 @@
<object class="GtkLabel" id="expiration">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Expiration date</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|expiration">Expiration date</property>
</object>
<packing>
<property name="left_attach">3</property>
@@ -133,7 +133,7 @@
<object class="GtkLabel" id="type">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Type</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|type">Type</property>
</object>
<packing>
<property name="left_attach">4</property>
@@ -145,42 +145,42 @@
<object class="GtkLabel" id="STR_DIGITAL_SIGNATURE">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Digital signature</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_DIGITAL_SIGNATURE">Digital signature</property>
</object>
<object class="GtkLabel" id="STR_NON_REPUDIATION">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Non-repudiation</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_NON_REPUDIATION">Non-repudiation</property>
</object>
<object class="GtkLabel" id="STR_KEY_ENCIPHERMENT">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Key encipherment</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_KEY_ENCIPHERMENT">Key encipherment</property>
</object>
<object class="GtkLabel" id="STR_DATA_ENCIPHERMENT">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Data encipherment</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_DATA_ENCIPHERMENT">Data encipherment</property>
</object>
<object class="GtkLabel" id="STR_KEY_AGREEMENT">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Key Agreement</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_KEY_AGREEMENT">Key Agreement</property>
</object>
<object class="GtkLabel" id="STR_KEY_CERT_SIGN">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Certificate signature verification</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_KEY_CERT_SIGN">Certificate signature verification</property>
</object>
<object class="GtkLabel" id="STR_CRL_SIGN">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">CRL signature verification</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_CRL_SIGN">CRL signature verification</property>
</object>
<object class="GtkLabel" id="STR_ENCIPHER_ONLY">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Only for encipherment</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|STR_ENCIPHER_ONLY">Only for encipherment</property>
</object>
</child>
</object>
@@ -195,7 +195,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="ypad">1</property>
- <property name="label" translatable="yes">Select the certificate you want to use for signing:</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|label1">Select the certificate you want to use for signing:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -219,7 +219,7 @@
</child>
<child>
<object class="GtkButton" id="viewcert">
- <property name="label" translatable="yes">View Certificate...</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|viewcert">View Certificate...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -239,7 +239,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Description:</property>
+ <property name="label" translatable="yes" context="selectcertificatedialog|label2">Description:</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/xmlsecurity/uiconfig/ui/viewcertdialog.ui b/xmlsecurity/uiconfig/ui/viewcertdialog.ui
index 8507d85c0fcc..c9464f9cf3e1 100644
--- a/xmlsecurity/uiconfig/ui/viewcertdialog.ui
+++ b/xmlsecurity/uiconfig/ui/viewcertdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="xsc">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="ViewCertDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">View Certificate</property>
+ <property name="title" translatable="yes" context="viewcertdialog|ViewCertDialog">View Certificate</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -69,7 +69,7 @@
<object class="GtkLabel" id="general">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">General</property>
+ <property name="label" translatable="yes" context="viewcertdialog|general">General</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -82,7 +82,7 @@
<object class="GtkLabel" id="details">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Details</property>
+ <property name="label" translatable="yes" context="viewcertdialog|details">Details</property>
</object>
<packing>
<property name="position">1</property>
@@ -96,7 +96,7 @@
<object class="GtkLabel" id="path">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Certification Path</property>
+ <property name="label" translatable="yes" context="viewcertdialog|path">Certification Path</property>
</object>
<packing>
<property name="position">2</property>