summaryrefslogtreecommitdiff
path: root/xmlsecurity/uiconfig/ui/selectcertificatedialog.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/selectcertificatedialog.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/selectcertificatedialog.ui')
-rw-r--r--xmlsecurity/uiconfig/ui/selectcertificatedialog.ui36
1 files changed, 18 insertions, 18 deletions
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>