summaryrefslogtreecommitdiff
path: root/svtools/uiconfig
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 /svtools/uiconfig
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 'svtools/uiconfig')
-rw-r--r--svtools/uiconfig/ui/GraphicExportOptionsDialog.ui18
-rw-r--r--svtools/uiconfig/ui/addresstemplatedialog.ui14
-rw-r--r--svtools/uiconfig/ui/fileviewmenu.ui6
-rw-r--r--svtools/uiconfig/ui/graphicexport.ui78
-rw-r--r--svtools/uiconfig/ui/javadisableddialog.ui6
-rw-r--r--svtools/uiconfig/ui/placeedit.ui34
-rw-r--r--svtools/uiconfig/ui/printersetupdialog.ui20
-rw-r--r--svtools/uiconfig/ui/querydeletedialog.ui14
-rw-r--r--svtools/uiconfig/ui/restartdialog.ui32
-rw-r--r--svtools/uiconfig/ui/wizarddialog.ui2
10 files changed, 112 insertions, 112 deletions
diff --git a/svtools/uiconfig/ui/GraphicExportOptionsDialog.ui b/svtools/uiconfig/ui/GraphicExportOptionsDialog.ui
index 85917eb76c15..3215603551b1 100644
--- a/svtools/uiconfig/ui/GraphicExportOptionsDialog.ui
+++ b/svtools/uiconfig/ui/GraphicExportOptionsDialog.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="adjustment-height">
<property name="upper">20000</property>
@@ -15,7 +15,7 @@
<object class="GtkDialog" id="GraphicExporter">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Image Options</property>
+ <property name="title" translatable="yes" context="GraphicExportOptionsDialog|GraphicExporter">Image Options</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -91,7 +91,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Width:</property>
+ <property name="label" translatable="yes" context="GraphicExportOptionsDialog|label5">Width:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -103,7 +103,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Height:</property>
+ <property name="label" translatable="yes" context="GraphicExportOptionsDialog|label6">Height:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -115,7 +115,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Resolution:</property>
+ <property name="label" translatable="yes" context="GraphicExportOptionsDialog|resolutionft">Resolution:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -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">px</property>
+ <property name="label" translatable="yes" context="GraphicExportOptionsDialog|label2">px</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -165,7 +165,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">px</property>
+ <property name="label" translatable="yes" context="GraphicExportOptionsDialog|label3">px</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -177,7 +177,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">DPI</property>
+ <property name="label" translatable="yes" context="GraphicExportOptionsDialog|label4">DPI</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -220,7 +220,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Size</property>
+ <property name="label" translatable="yes" context="GraphicExportOptionsDialog|label1">Size</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/svtools/uiconfig/ui/addresstemplatedialog.ui b/svtools/uiconfig/ui/addresstemplatedialog.ui
index 0b9caeb94a8c..58edfc7a11bc 100644
--- a/svtools/uiconfig/ui/addresstemplatedialog.ui
+++ b/svtools/uiconfig/ui/addresstemplatedialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="AddressTemplateDialog">
<property name="can_focus">False</property>
<property name="resizable">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Templates: Address Book Assignment</property>
+ <property name="title" translatable="yes" context="addresstemplatedialog|AddressTemplateDialog">Templates: Address Book Assignment</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -101,7 +101,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Data source:</property>
+ <property name="label" translatable="yes" context="addresstemplatedialog|label33">Data source:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">datasource</property>
</object>
@@ -115,7 +115,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Table:</property>
+ <property name="label" translatable="yes" context="addresstemplatedialog|label43">Table:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">datatable</property>
</object>
@@ -162,7 +162,7 @@
</child>
<child>
<object class="GtkButton" id="admin">
- <property name="label" translatable="yes">_Address Data Source...</property>
+ <property name="label" translatable="yes" context="addresstemplatedialog|admin">_Address Data Source...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -184,7 +184,7 @@
<object class="GtkLabel" id="label100">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Address Book Source</property>
+ <property name="label" translatable="yes" context="addresstemplatedialog|label100">Address Book Source</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -518,7 +518,7 @@
<object class="GtkLabel" id="label23">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Field Assignment</property>
+ <property name="label" translatable="yes" context="addresstemplatedialog|label23">Field Assignment</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/svtools/uiconfig/ui/fileviewmenu.ui b/svtools/uiconfig/ui/fileviewmenu.ui
index a63f7061abee..53a1abe337e3 100644
--- a/svtools/uiconfig/ui/fileviewmenu.ui
+++ b/svtools/uiconfig/ui/fileviewmenu.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.10"/>
<object class="GtkMenu" id="menu">
<property name="visible">True</property>
@@ -9,7 +9,7 @@
<object class="GtkMenuItem" id="delete">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Delete</property>
+ <property name="label" translatable="yes" context="fileviewmenu|delete">_Delete</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -17,7 +17,7 @@
<object class="GtkMenuItem" id="rename">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Rename</property>
+ <property name="label" translatable="yes" context="fileviewmenu|rename">_Rename</property>
<property name="use_underline">True</property>
</object>
</child>
diff --git a/svtools/uiconfig/ui/graphicexport.ui b/svtools/uiconfig/ui/graphicexport.ui
index 9dba2f2709a1..65eea459fdd7 100644
--- a/svtools/uiconfig/ui/graphicexport.ui
+++ b/svtools/uiconfig/ui/graphicexport.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">1</property>
@@ -28,13 +28,13 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">pixels/cm</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore1">pixels/cm</col>
</row>
<row>
- <col id="0" translatable="yes">pixels/inch</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore1">pixels/inch</col>
</row>
<row>
- <col id="0" translatable="yes">pixels/meter</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore1">pixels/meter</col>
</row>
</data>
</object>
@@ -45,26 +45,26 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">inches</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore2">inches</col>
</row>
<row>
- <col id="0" translatable="yes">cm</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore2">cm</col>
</row>
<row>
- <col id="0" translatable="yes">mm</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore2">mm</col>
</row>
<row>
- <col id="0" translatable="yes">points</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore2">points</col>
</row>
<row>
- <col id="0" translatable="yes">pixels</col>
+ <col id="0" translatable="yes" context="graphicexport|liststore2">pixels</col>
</row>
</data>
</object>
<object class="GtkDialog" id="GraphicExportDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">%1 Options</property>
+ <property name="title" translatable="yes" context="graphicexport|GraphicExportDialog">%1 Options</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -156,7 +156,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Width:</property>
+ <property name="label" translatable="yes" context="graphicexport|label5">Width:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">widthmf-nospin</property>
<property name="xalign">1</property>
@@ -170,7 +170,7 @@
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Height:</property>
+ <property name="label" translatable="yes" context="graphicexport|label6">Height:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">heightmf-nospin</property>
<property name="xalign">1</property>
@@ -184,7 +184,7 @@
<object class="GtkLabel" id="resolutionft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Resolution:</property>
+ <property name="label" translatable="yes" context="graphicexport|resolutionft">Resolution:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">resolutionmf-nospin</property>
<property name="xalign">1</property>
@@ -268,7 +268,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Size</property>
+ <property name="label" translatable="yes" context="graphicexport|label1">Size</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -304,7 +304,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Color Depth</property>
+ <property name="label" translatable="yes" context="graphicexport|label2">Color Depth</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -367,7 +367,7 @@
<object class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Quality</property>
+ <property name="label" translatable="yes" context="graphicexport|label9">Quality</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -430,7 +430,7 @@
<object class="GtkLabel" id="label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Compression</property>
+ <property name="label" translatable="yes" context="graphicexport|label">Compression</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -456,7 +456,7 @@
<property name="left_padding">12</property>
<child>
<object class="GtkCheckButton" id="rlecb">
- <property name="label" translatable="yes">RLE encoding</property>
+ <property name="label" translatable="yes" context="graphicexport|rlecb">RLE encoding</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -471,7 +471,7 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Compression</property>
+ <property name="label" translatable="yes" context="graphicexport|label3">Compression</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -497,7 +497,7 @@
<property name="left_padding">12</property>
<child>
<object class="GtkCheckButton" id="interlacedcb">
- <property name="label" translatable="yes">Interlaced</property>
+ <property name="label" translatable="yes" context="graphicexport|interlacedcb">Interlaced</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -512,7 +512,7 @@
<object class="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Mode</property>
+ <property name="label" translatable="yes" context="graphicexport|label12">Mode</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -538,7 +538,7 @@
<property name="left_padding">12</property>
<child>
<object class="GtkCheckButton" id="savetransparencycb">
- <property name="label" translatable="yes">Save transparency</property>
+ <property name="label" translatable="yes" context="graphicexport|savetransparencycb">Save transparency</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -553,7 +553,7 @@
<object class="GtkLabel" id="labe">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Drawing Objects</property>
+ <property name="label" translatable="yes" context="graphicexport|labe">Drawing Objects</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -583,7 +583,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkRadioButton" id="binarycb">
- <property name="label" translatable="yes">Binary</property>
+ <property name="label" translatable="yes" context="graphicexport|binarycb">Binary</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -598,7 +598,7 @@
</child>
<child>
<object class="GtkRadioButton" id="textcb">
- <property name="label" translatable="yes">Text</property>
+ <property name="label" translatable="yes" context="graphicexport|textcb">Text</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -620,7 +620,7 @@
<object class="GtkLabel" id="label16">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Encoding</property>
+ <property name="label" translatable="yes" context="graphicexport|label16">Encoding</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -654,7 +654,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkCheckButton" id="tiffpreviewcb">
- <property name="label" translatable="yes">Image preview (TIFF)</property>
+ <property name="label" translatable="yes" context="graphicexport|tiffpreviewcb">Image preview (TIFF)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -669,7 +669,7 @@
</child>
<child>
<object class="GtkCheckButton" id="epsipreviewcb">
- <property name="label" translatable="yes">Interchange (EPSI)</property>
+ <property name="label" translatable="yes" context="graphicexport|epsipreviewcb">Interchange (EPSI)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -689,7 +689,7 @@
<object class="GtkLabel" id="label17">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Preview</property>
+ <property name="label" translatable="yes" context="graphicexport|label17">Preview</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -719,7 +719,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkRadioButton" id="color1rb">
- <property name="label" translatable="yes">Color</property>
+ <property name="label" translatable="yes" context="graphicexport|color1rb">Color</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -734,7 +734,7 @@
</child>
<child>
<object class="GtkRadioButton" id="color2rb">
- <property name="label" translatable="yes">Grayscale</property>
+ <property name="label" translatable="yes" context="graphicexport|color2rb">Grayscale</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -756,7 +756,7 @@
<object class="GtkLabel" id="label18">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Color Format</property>
+ <property name="label" translatable="yes" context="graphicexport|label18">Color Format</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -786,7 +786,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkRadioButton" id="level1rb">
- <property name="label" translatable="yes">Level 1</property>
+ <property name="label" translatable="yes" context="graphicexport|level1rb">Level 1</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -801,7 +801,7 @@
</child>
<child>
<object class="GtkRadioButton" id="level2rb">
- <property name="label" translatable="yes">Level 2</property>
+ <property name="label" translatable="yes" context="graphicexport|level2rb">Level 2</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -823,7 +823,7 @@
<object class="GtkLabel" id="label19">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Version</property>
+ <property name="label" translatable="yes" context="graphicexport|label19">Version</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -853,7 +853,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkRadioButton" id="compresslzw">
- <property name="label" translatable="yes">LZW encoding</property>
+ <property name="label" translatable="yes" context="graphicexport|compresslzw">LZW encoding</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -868,7 +868,7 @@
</child>
<child>
<object class="GtkRadioButton" id="compressnone">
- <property name="label" translatable="yes">None</property>
+ <property name="label" translatable="yes" context="graphicexport|compressnone">None</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -890,7 +890,7 @@
<object class="GtkLabel" id="label20">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Compression</property>
+ <property name="label" translatable="yes" context="graphicexport|label20">Compression</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -936,7 +936,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Information</property>
+ <property name="label" translatable="yes" context="graphicexport|label4">Information</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/svtools/uiconfig/ui/javadisableddialog.ui b/svtools/uiconfig/ui/javadisableddialog.ui
index eb2eecb73d51..bc2d7b250207 100644
--- a/svtools/uiconfig/ui/javadisableddialog.ui
+++ b/svtools/uiconfig/ui/javadisableddialog.ui
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkMessageDialog" id="JavaDisabledDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Enable JRE?</property>
+ <property name="title" translatable="yes" context="javadisableddialog|JavaDisabledDialog">Enable JRE?</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="message_type">question</property>
- <property name="text" translatable="yes">%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. However, use of a JRE has been disabled. Do you want to enable the use of a JRE now?</property>
+ <property name="text" translatable="yes" context="javadisableddialog|JavaDisabledDialog">%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. However, use of a JRE has been disabled. Do you want to enable the use of a JRE now?</property>
<child internal-child="vbox">
<object class="GtkBox" id="messagedialog-vbox">
<property name="can_focus">False</property>
diff --git a/svtools/uiconfig/ui/placeedit.ui b/svtools/uiconfig/ui/placeedit.ui
index b0cb09781631..69ca0d8f97dc 100644
--- a/svtools/uiconfig/ui/placeedit.ui
+++ b/svtools/uiconfig/ui/placeedit.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">65535</property>
@@ -19,16 +19,16 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">WebDAV</col>
+ <col id="0" translatable="yes" context="placeedit|liststore1">WebDAV</col>
</row>
<row>
- <col id="0" translatable="yes">FTP</col>
+ <col id="0" translatable="yes" context="placeedit|liststore1">FTP</col>
</row>
<row>
- <col id="0" translatable="yes">SSH</col>
+ <col id="0" translatable="yes" context="placeedit|liststore1">SSH</col>
</row>
<row>
- <col id="0" translatable="yes">Windows Share</col>
+ <col id="0" translatable="yes" context="placeedit|liststore1">Windows Share</col>
</row>
</data>
</object>
@@ -36,7 +36,7 @@
<property name="width_request">400</property>
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">File Services</property>
+ <property name="title" translatable="yes" context="placeedit|PlaceEditDialog">File Services</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -127,7 +127,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Type:</property>
+ <property name="label" translatable="yes" context="placeedit|typeLabel">Type:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">type</property>
</object>
@@ -172,7 +172,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Host:</property>
+ <property name="label" translatable="yes" context="placeedit|hostLabel">Host:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">host</property>
</object>
@@ -186,7 +186,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Root:</property>
+ <property name="label" translatable="yes" context="placeedit|pathLabel">Root:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">path</property>
</object>
@@ -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">Share:</property>
+ <property name="label" translatable="yes" context="placeedit|shareLabel">Share:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">share</property>
</object>
@@ -238,7 +238,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Repository:</property>
+ <property name="label" translatable="yes" context="placeedit|repositoryLabel">Repository:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">repositories</property>
</object>
@@ -249,7 +249,7 @@
</child>
<child>
<object class="GtkCheckButton" id="webdavs">
- <property name="label" translatable="yes">Secure connection</property>
+ <property name="label" translatable="yes" context="placeedit|webdavs">Secure connection</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="hexpand">True</property>
@@ -266,7 +266,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">User:</property>
+ <property name="label" translatable="yes" context="placeedit|loginLabel">User:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">login</property>
</object>
@@ -292,7 +292,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Label:</property>
+ <property name="label" translatable="yes" context="placeedit|nameLabel">Label:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">name</property>
</object>
@@ -336,7 +336,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Port:</property>
+ <property name="label" translatable="yes" context="placeedit|portLabel">Port:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">port-nospin</property>
</object>
@@ -411,7 +411,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Password:</property>
+ <property name="label" translatable="yes" context="placeedit|passwordLabel">Password:</property>
<property name="mnemonic_widget">password</property>
</object>
<packing>
@@ -433,7 +433,7 @@
</child>
<child>
<object class="GtkCheckButton" id="rememberPassword">
- <property name="label" translatable="yes">Remember password</property>
+ <property name="label" translatable="yes" context="placeedit|rememberPassword">Remember password</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
diff --git a/svtools/uiconfig/ui/printersetupdialog.ui b/svtools/uiconfig/ui/printersetupdialog.ui
index 56f5227ba966..7cc0d9b6b15d 100644
--- a/svtools/uiconfig/ui/printersetupdialog.ui
+++ b/svtools/uiconfig/ui/printersetupdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="PrinterSetupDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Printer Setup</property>
+ <property name="title" translatable="yes" context="printersetupdialog|PrinterSetupDialog">Printer Setup</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -34,7 +34,7 @@
</child>
<child>
<object class="GtkButton" id="options">
- <property name="label" translatable="yes">Options...</property>
+ <property name="label" translatable="yes" context="printersetupdialog|options">Options...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -108,7 +108,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Name:</property>
+ <property name="label" translatable="yes" context="printersetupdialog|label2">Name:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">name</property>
</object>
@@ -122,7 +122,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Status:</property>
+ <property name="label" translatable="yes" context="printersetupdialog|label3">Status:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -134,7 +134,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Type:</property>
+ <property name="label" translatable="yes" context="printersetupdialog|label4">Type:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -146,7 +146,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Location:</property>
+ <property name="label" translatable="yes" context="printersetupdialog|label5">Location:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -158,7 +158,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Comment:</property>
+ <property name="label" translatable="yes" context="printersetupdialog|label6">Comment:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -215,7 +215,7 @@
</child>
<child>
<object class="GtkButton" id="properties">
- <property name="label" translatable="yes">Properties...</property>
+ <property name="label" translatable="yes" context="printersetupdialog|properties">Properties...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -244,7 +244,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Printer</property>
+ <property name="label" translatable="yes" context="printersetupdialog|label1">Printer</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/svtools/uiconfig/ui/querydeletedialog.ui b/svtools/uiconfig/ui/querydeletedialog.ui
index 624c8d2d1f75..1168f0da5091 100644
--- a/svtools/uiconfig/ui/querydeletedialog.ui
+++ b/svtools/uiconfig/ui/querydeletedialog.ui
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkMessageDialog" id="QueryDeleteDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Confirm Delete</property>
+ <property name="title" translatable="yes" context="querydeletedialog|QueryDeleteDialog">Confirm Delete</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="message_type">question</property>
- <property name="text" translatable="yes">Are you sure you want to delete the selected data?</property>
- <property name="secondary_text" translatable="yes">Entry: %s</property>
+ <property name="text" translatable="yes" context="querydeletedialog|QueryDeleteDialog">Are you sure you want to delete the selected data?</property>
+ <property name="secondary_text" translatable="yes" context="querydeletedialog|QueryDeleteDialog">Entry: %s</property>
<child internal-child="vbox">
<object class="GtkBox" id="messagedialog-vbox">
<property name="can_focus">False</property>
@@ -23,7 +23,7 @@
<property name="layout_style">center</property>
<child>
<object class="GtkButton" id="yes">
- <property name="label" translatable="yes">_Delete</property>
+ <property name="label" translatable="yes" context="querydeletedialog|yes">_Delete</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -39,7 +39,7 @@
</child>
<child>
<object class="GtkButton" id="all">
- <property name="label" translatable="yes">Delete _All</property>
+ <property name="label" translatable="yes" context="querydeletedialog|all">Delete _All</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
@@ -54,7 +54,7 @@
</child>
<child>
<object class="GtkButton" id="no">
- <property name="label" translatable="yes">Do _Not Delete</property>
+ <property name="label" translatable="yes" context="querydeletedialog|no">Do _Not Delete</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/svtools/uiconfig/ui/restartdialog.ui b/svtools/uiconfig/ui/restartdialog.ui
index 3edc5ccba028..70a7853acd04 100644
--- a/svtools/uiconfig/ui/restartdialog.ui
+++ b/svtools/uiconfig/ui/restartdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="RestartDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Restart %PRODUCTNAME</property>
+ <property name="title" translatable="yes" context="restartdialog|RestartDialog">Restart %PRODUCTNAME</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -20,7 +20,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="yes">
- <property name="label" translatable="yes">Restart Now</property>
+ <property name="label" translatable="yes" context="restartdialog|yes">Restart Now</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -35,7 +35,7 @@
</child>
<child>
<object class="GtkButton" id="no">
- <property name="label" translatable="yes">Restart Later</property>
+ <property name="label" translatable="yes" context="restartdialog|no">Restart Later</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -64,7 +64,7 @@
<object class="GtkLabel" id="reason_java">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_java">For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">30</property>
<property name="xalign">0</property>
@@ -79,7 +79,7 @@
<object class="GtkLabel" id="reason_mailmerge_install">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For mail merge to work properly, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_mailmerge_install">For mail merge to work properly, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -94,7 +94,7 @@
<object class="GtkLabel" id="reason_pdf">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the modified default print job format to take effect, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_pdf">For the modified default print job format to take effect, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -109,7 +109,7 @@
<object class="GtkLabel" id="reason_bibliography_install">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the bibliography to work properly, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_bibliography_install">For the bibliography to work properly, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -124,7 +124,7 @@
<object class="GtkLabel" id="reason_assigning_folders">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the assigned folders and archives to take effect, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_assigning_folders">For the assigned folders and archives to take effect, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -139,7 +139,7 @@
<object class="GtkLabel" id="reason_assigning_javaparameters">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the assigned Java parameters to take effect, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_assigning_javaparameters">For the assigned Java parameters to take effect, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -154,7 +154,7 @@
<object class="GtkLabel" id="reason_adding_path">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the added path to take effect, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_adding_path">For the added path to take effect, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -169,7 +169,7 @@
<object class="GtkLabel" id="reason_language_change">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the updated language settings to take effect, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_language_change">For the updated language settings to take effect, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -184,7 +184,7 @@
<object class="GtkLabel" id="reason_exp_features">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the modified experimental features to take effect, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_exp_features">For the modified experimental features to take effect, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -199,7 +199,7 @@
<object class="GtkLabel" id="reason_extension_install">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the extension to work properly, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_extension_install">For the extension to work properly, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -214,7 +214,7 @@
<object class="GtkLabel" id="reason_opengl">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">For the OpenGL changes to take effect, %PRODUCTNAME must be restarted.</property>
+ <property name="label" translatable="yes" context="restartdialog|reason_opengl">For the OpenGL changes to take effect, %PRODUCTNAME must be restarted.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -229,7 +229,7 @@
<object class="GtkLabel" id="label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Do you want to restart %PRODUCTNAME now?</property>
+ <property name="label" translatable="yes" context="restartdialog|label">Do you want to restart %PRODUCTNAME now?</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
diff --git a/svtools/uiconfig/ui/wizarddialog.ui b/svtools/uiconfig/ui/wizarddialog.ui
index 73e89d2826f3..3cbb27f4829e 100644
--- a/svtools/uiconfig/ui/wizarddialog.ui
+++ b/svtools/uiconfig/ui/wizarddialog.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkWindow" id="WizardDialog">
<property name="can_focus">False</property>