summaryrefslogtreecommitdiff
path: root/vcl/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 /vcl/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 'vcl/uiconfig')
-rw-r--r--vcl/uiconfig/ui/cupspassworddialog.ui10
-rw-r--r--vcl/uiconfig/ui/editmenu.ui16
-rw-r--r--vcl/uiconfig/ui/errornocontentdialog.ui8
-rw-r--r--vcl/uiconfig/ui/errornoprinterdialog.ui8
-rw-r--r--vcl/uiconfig/ui/printdialog.ui132
-rw-r--r--vcl/uiconfig/ui/printerdevicepage.ui34
-rw-r--r--vcl/uiconfig/ui/printerpaperpage.ui14
-rw-r--r--vcl/uiconfig/ui/printerpropertiesdialog.ui8
-rw-r--r--vcl/uiconfig/ui/printprogressdialog.ui6
-rw-r--r--vcl/uiconfig/ui/querydialog.ui4
10 files changed, 120 insertions, 120 deletions
diff --git a/vcl/uiconfig/ui/cupspassworddialog.ui b/vcl/uiconfig/ui/cupspassworddialog.ui
index 3e047a30bb39..f4fb757209bb 100644
--- a/vcl/uiconfig/ui/cupspassworddialog.ui
+++ b/vcl/uiconfig/ui/cupspassworddialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="CUPSPasswordDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Authentication Request</property>
+ <property name="title" translatable="yes" context="cupspassworddialog|CUPSPasswordDialog">Authentication Request</property>
<property name="type_hint">normal</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -67,7 +67,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_User:</property>
+ <property name="label" translatable="yes" context="cupspassworddialog|label1">_User:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">user</property>
</object>
@@ -81,7 +81,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_Password:</property>
+ <property name="label" translatable="yes" context="cupspassworddialog|label2">_Password:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">pass</property>
</object>
@@ -95,7 +95,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Please enter your authentication data for server “%s”</property>
+ <property name="label" translatable="yes" context="cupspassworddialog|text">Please enter your authentication data for server “%s”</property>
<property name="use_underline">True</property>
<property name="wrap">True</property>
<property name="max_width_chars">56</property>
diff --git a/vcl/uiconfig/ui/editmenu.ui b/vcl/uiconfig/ui/editmenu.ui
index 9798605c8491..288a672555b2 100644
--- a/vcl/uiconfig/ui/editmenu.ui
+++ b/vcl/uiconfig/ui/editmenu.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.10"/>
<object class="GtkMenu" id="menu">
<property name="visible">True</property>
@@ -9,7 +9,7 @@
<object class="GtkMenuItem" id="undo">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Undo</property>
+ <property name="label" translatable="yes" context="editmenu|undo">_Undo</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -23,7 +23,7 @@
<object class="GtkMenuItem" id="cut">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Cu_t</property>
+ <property name="label" translatable="yes" context="editmenu|cut">Cu_t</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -31,7 +31,7 @@
<object class="GtkMenuItem" id="copy">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Copy</property>
+ <property name="label" translatable="yes" context="editmenu|copy">_Copy</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -39,7 +39,7 @@
<object class="GtkMenuItem" id="paste">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Paste</property>
+ <property name="label" translatable="yes" context="editmenu|paste">_Paste</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -47,7 +47,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="editmenu|delete">_Delete</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -61,7 +61,7 @@
<object class="GtkMenuItem" id="selectall">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Select _All</property>
+ <property name="label" translatable="yes" context="editmenu|selectall">Select _All</property>
<property name="use_underline">True</property>
<accelerator key="a" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</object>
@@ -70,7 +70,7 @@
<object class="GtkMenuItem" id="specialchar">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Special Character...</property>
+ <property name="label" translatable="yes" context="editmenu|specialchar">_Special Character...</property>
<property name="use_underline">True</property>
<accelerator key="s" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
</object>
diff --git a/vcl/uiconfig/ui/errornocontentdialog.ui b/vcl/uiconfig/ui/errornocontentdialog.ui
index abe2be57400b..9dca59ed8f19 100644
--- a/vcl/uiconfig/ui/errornocontentdialog.ui
+++ b/vcl/uiconfig/ui/errornocontentdialog.ui
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkMessageDialog" id="ErrorNoContentDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">%PRODUCTNAME</property>
+ <property name="title" translatable="yes" context="errornocontentdialog|ErrorNoContentDialog">%PRODUCTNAME</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="message_type">error</property>
<property name="buttons">ok</property>
- <property name="text" translatable="yes">There are no pages to be printed.</property>
- <property name="secondary_text" translatable="yes">Please check your document for ranges relevant to printing.</property>
+ <property name="text" translatable="yes" context="errornocontentdialog|ErrorNoContentDialog">There are no pages to be printed.</property>
+ <property name="secondary_text" translatable="yes" context="errornocontentdialog|ErrorNoContentDialog">Please check your document for ranges relevant to printing.</property>
<child internal-child="vbox">
<object class="GtkBox" id="messagedialog-vbox">
<property name="can_focus">False</property>
diff --git a/vcl/uiconfig/ui/errornoprinterdialog.ui b/vcl/uiconfig/ui/errornoprinterdialog.ui
index 207f62331b6a..9032b011bccf 100644
--- a/vcl/uiconfig/ui/errornoprinterdialog.ui
+++ b/vcl/uiconfig/ui/errornoprinterdialog.ui
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkMessageDialog" id="ErrorNoPrinterDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">%PRODUCTNAME</property>
+ <property name="title" translatable="yes" context="errornoprinterdialog|ErrorNoPrinterDialog">%PRODUCTNAME</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="message_type">error</property>
<property name="buttons">ok</property>
- <property name="text" translatable="yes">No default printer found.</property>
- <property name="secondary_text" translatable="yes">Please choose a printer and try again.</property>
+ <property name="text" translatable="yes" context="errornoprinterdialog|ErrorNoPrinterDialog">No default printer found.</property>
+ <property name="secondary_text" translatable="yes" context="errornoprinterdialog|ErrorNoPrinterDialog">Please choose a printer and try again.</property>
<child internal-child="vbox">
<object class="GtkBox" id="messagedialog-vbox">
<property name="can_focus">False</property>
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui
index 50a86b55b658..3f216832c057 100644
--- a/vcl/uiconfig/ui/printdialog.ui
+++ b/vcl/uiconfig/ui/printdialog.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.19.0 -->
-<interface>
+<!-- Generated with glade 3.20.0 -->
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -43,31 +43,31 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">1</col>
+ <col id="0" translatable="yes" context="printdialog|liststore1">1</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">2</col>
+ <col id="0" translatable="yes" context="printdialog|liststore1">2</col>
<col id="1">2</col>
</row>
<row>
- <col id="0" translatable="yes">4</col>
+ <col id="0" translatable="yes" context="printdialog|liststore1">4</col>
<col id="1">4</col>
</row>
<row>
- <col id="0" translatable="yes">6</col>
+ <col id="0" translatable="yes" context="printdialog|liststore1">6</col>
<col id="1">6</col>
</row>
<row>
- <col id="0" translatable="yes">9</col>
+ <col id="0" translatable="yes" context="printdialog|liststore1">9</col>
<col id="1">9</col>
</row>
<row>
- <col id="0" translatable="yes">16</col>
+ <col id="0" translatable="yes" context="printdialog|liststore1">16</col>
<col id="1">16</col>
</row>
<row>
- <col id="0" translatable="yes">Custom</col>
+ <col id="0" translatable="yes" context="printdialog|liststore1">Custom</col>
<col id="1">65535</col>
</row>
</data>
@@ -79,16 +79,16 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">left to right, then down</col>
+ <col id="0" translatable="yes" context="printdialog|liststore2">left to right, then down</col>
</row>
<row>
- <col id="0" translatable="yes">top to bottom, then right</col>
+ <col id="0" translatable="yes" context="printdialog|liststore2">top to bottom, then right</col>
</row>
<row>
- <col id="0" translatable="yes">top to bottom, then left</col>
+ <col id="0" translatable="yes" context="printdialog|liststore2">top to bottom, then left</col>
</row>
<row>
- <col id="0" translatable="yes">right to left, then down</col>
+ <col id="0" translatable="yes" context="printdialog|liststore2">right to left, then down</col>
</row>
</data>
</object>
@@ -99,20 +99,20 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Automatic</col>
+ <col id="0" translatable="yes" context="printdialog|liststore3">Automatic</col>
</row>
<row>
- <col id="0" translatable="yes">Portrait</col>
+ <col id="0" translatable="yes" context="printdialog|liststore3">Portrait</col>
</row>
<row>
- <col id="0" translatable="yes">Landscape</col>
+ <col id="0" translatable="yes" context="printdialog|liststore3">Landscape</col>
</row>
</data>
</object>
<object class="GtkDialog" id="PrintDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Print</property>
+ <property name="title" translatable="yes" context="printdialog|PrintDialog">Print</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -230,7 +230,7 @@
<object class="GtkLabel" id="totalnumpages">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">/ %n</property>
+ <property name="label" translatable="yes" context="printdialog|totalnumpages">/ %n</property>
</object>
<packing>
<property name="expand">False</property>
@@ -329,8 +329,8 @@
<object class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="printdialog|label7">Status:</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Status:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -341,8 +341,8 @@
<object class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="printdialog|label8">Location:</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Location:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -353,8 +353,8 @@
<object class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="printdialog|label9">Comment:</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Comment:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -365,8 +365,8 @@
<object class="GtkLabel" id="status">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="printdialog|status">Default printer</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Default printer</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -377,8 +377,8 @@
<object class="GtkLabel" id="location">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="printdialog|location">Place</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Place</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -389,8 +389,8 @@
<object class="GtkLabel" id="comment">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="printdialog|comment">Long printer name</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Long printer name</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -403,7 +403,7 @@
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Details</property>
+ <property name="label" translatable="yes" context="printdialog|label6">Details</property>
</object>
</child>
</object>
@@ -414,7 +414,7 @@
</child>
<child>
<object class="GtkButton" id="setup">
- <property name="label" translatable="yes">Properties...</property>
+ <property name="label" translatable="yes" context="printdialog|setup">Properties...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -450,7 +450,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Printer</property>
+ <property name="label" translatable="yes" context="printdialog|label5">Printer</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -490,7 +490,7 @@
<object class="GtkLabel" id="label14">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Number of copies</property>
+ <property name="label" translatable="yes" context="printdialog|label14">Number of copies</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">copycount</property>
</object>
@@ -528,7 +528,7 @@
<property name="spacing">12</property>
<child>
<object class="GtkCheckButton" id="collate">
- <property name="label" translatable="yes">Collate</property>
+ <property name="label" translatable="yes" context="printdialog|collate">Collate</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
@@ -585,7 +585,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkRadioButton" id="printallsheets">
- <property name="label" translatable="yes">All sheets</property>
+ <property name="label" translatable="yes" context="printdialog|printallsheets">All sheets</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -602,7 +602,7 @@
</child>
<child>
<object class="GtkRadioButton" id="printselectedsheets">
- <property name="label" translatable="yes">Selected sheets</property>
+ <property name="label" translatable="yes" context="printdialog|printselectedsheets">Selected sheets</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -618,7 +618,7 @@
</child>
<child>
<object class="GtkRadioButton" id="printselectedcells">
- <property name="label" translatable="yes">Selected cells</property>
+ <property name="label" translatable="yes" context="printdialog|printselectedcells">Selected cells</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -643,8 +643,8 @@
<object class="GtkLabel" id="fromwhich">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
+ <property name="label" translatable="yes" context="printdialog|fromwhich">From which print</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">From which print</property>
</object>
<packing>
<property name="expand">False</property>
@@ -661,7 +661,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkRadioButton" id="printallpages">
- <property name="label" translatable="yes">All pages</property>
+ <property name="label" translatable="yes" context="printdialog|printallpages">All pages</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -682,7 +682,7 @@
<property name="spacing">12</property>
<child>
<object class="GtkRadioButton" id="printpages">
- <property name="label" translatable="yes">Pages</property>
+ <property name="label" translatable="yes" context="printdialog|printpages">Pages</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -717,7 +717,7 @@
</child>
<child>
<object class="GtkRadioButton" id="printselection">
- <property name="label" translatable="yes">Selection</property>
+ <property name="label" translatable="yes" context="printdialog|printselection">Selection</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -733,7 +733,7 @@
</child>
<child>
<object class="GtkCheckButton" id="reverseorder">
- <property name="label" translatable="yes">Print in reverse page order</property>
+ <property name="label" translatable="yes" context="printdialog|reverseorder">Print in reverse page order</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -765,7 +765,7 @@
<object class="GtkLabel" id="label13">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Range and Copies</property>
+ <property name="label" translatable="yes" context="printdialog|label13">Range and Copies</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -798,7 +798,7 @@
<object class="GtkLabel" id="label16">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Comments</property>
+ <property name="label" translatable="yes" context="printdialog|label16">Comments</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">writercomments</property>
</object>
@@ -827,7 +827,7 @@
<object class="GtkLabel" id="label15">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Print</property>
+ <property name="label" translatable="yes" context="printdialog|label15">Print</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -866,7 +866,7 @@
<object class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Document</property>
+ <property name="label" translatable="yes" context="printdialog|label10">Document</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">impressdocument</property>
</object>
@@ -903,7 +903,7 @@
<object class="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Slides per page</property>
+ <property name="label" translatable="yes" context="printdialog|label12">Slides per page</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">slidesperpage</property>
</object>
@@ -928,7 +928,7 @@
<object class="GtkLabel" id="label19">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Order</property>
+ <property name="label" translatable="yes" context="printdialog|label19">Order</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">slidesperpageorder</property>
</object>
@@ -964,7 +964,7 @@
<object class="GtkLabel" id="label11">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Print</property>
+ <property name="label" translatable="yes" context="printdialog|label11">Print</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -982,7 +982,7 @@
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="can_focus">False</property>
- <property name="label" translatable="yes">General</property>
+ <property name="label" translatable="yes" context="printdialog|label1">General</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -1006,7 +1006,7 @@
<object class="GtkLabel" id="customlabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">custom</property>
+ <property name="label" translatable="yes" context="printdialog|customlabel">custom</property>
</object>
<packing>
<property name="position">1</property>
@@ -1056,7 +1056,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkRadioButton" id="pagespersheetbtn">
- <property name="label" translatable="yes">Pages per sheet</property>
+ <property name="label" translatable="yes" context="printdialog|pagespersheetbtn">Pages per sheet</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -1089,7 +1089,7 @@
</child>
<child>
<object class="GtkRadioButton" id="brochure">
- <property name="label" translatable="yes">Brochure</property>
+ <property name="label" translatable="yes" context="printdialog|brochure">Brochure</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -1109,7 +1109,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_left">12</property>
- <property name="label" translatable="yes">Pages</property>
+ <property name="label" translatable="yes" context="printdialog|pagestxt">Pages</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">pagecols</property>
</object>
@@ -1124,7 +1124,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_left">12</property>
- <property name="label" translatable="yes">Margin</property>
+ <property name="label" translatable="yes" context="printdialog|sheetmargintxt1">Margin</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">sheetmarginsb:0mm</property>
</object>
@@ -1139,7 +1139,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_left">12</property>
- <property name="label" translatable="yes">Orientation</property>
+ <property name="label" translatable="yes" context="printdialog|orientationtxt">Orientation</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">orientationlb</property>
</object>
@@ -1154,7 +1154,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_left">12</property>
- <property name="label" translatable="yes">Distance</property>
+ <property name="label" translatable="yes" context="printdialog|pagemargintxt1">Distance</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">pagemarginsb:0mm</property>
</object>
@@ -1241,7 +1241,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">by</property>
+ <property name="label" translatable="yes" context="printdialog|by">by</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">pagerows</property>
</object>
@@ -1255,7 +1255,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">between pages</property>
+ <property name="label" translatable="yes" context="printdialog|pagemargintxt2">between pages</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -1268,7 +1268,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">to sheet border</property>
+ <property name="label" translatable="yes" context="printdialog|sheetmargintxt2">to sheet border</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -1278,7 +1278,7 @@
</child>
<child>
<object class="GtkCheckButton" id="bordercb">
- <property name="label" translatable="yes">Draw a border around each page</property>
+ <property name="label" translatable="yes" context="printdialog|bordercb">Draw a border around each page</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -1299,7 +1299,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_left">12</property>
- <property name="label" translatable="yes">Order</property>
+ <property name="label" translatable="yes" context="printdialog|ordertxt">Order</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">orderlb</property>
</object>
@@ -1338,7 +1338,7 @@
<object class="GtkLabel" id="label18">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Layout</property>
+ <property name="label" translatable="yes" context="printdialog|label18">Layout</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -1372,7 +1372,7 @@
<object class="GtkLabel" id="label17">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Include</property>
+ <property name="label" translatable="yes" context="printdialog|label17">Include</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">brochureinclude</property>
</object>
@@ -1401,7 +1401,7 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Page Sides</property>
+ <property name="label" translatable="yes" context="printdialog|label3">Page Sides</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -1423,7 +1423,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Page Layout</property>
+ <property name="label" translatable="yes" context="printdialog|label2">Page Layout</property>
</object>
<packing>
<property name="position">2</property>
@@ -1450,7 +1450,7 @@
<property name="row_spacing">6</property>
<child>
<object class="GtkCheckButton" id="singleprintjob">
- <property name="label" translatable="yes">Create single print jobs for collated output</property>
+ <property name="label" translatable="yes" context="printdialog|singleprintjob">Create single print jobs for collated output</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -1464,7 +1464,7 @@
</child>
<child>
<object class="GtkCheckButton" id="printpaperfromsetup">
- <property name="label" translatable="yes">Use only paper tray from printer preferences</property>
+ <property name="label" translatable="yes" context="printdialog|printpaperfromsetup">Use only paper tray from printer preferences</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
@@ -1477,7 +1477,7 @@
</child>
<child>
<object class="GtkCheckButton" id="papersizefromsetup">
- <property name="label" translatable="yes">Use only paper size from printer preferences</property>
+ <property name="label" translatable="yes" context="printdialog|papersizefromsetup">Use only paper size from printer preferences</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -1498,7 +1498,7 @@
<object class="GtkLabel" id="label21">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes" context="printdialog|label21">Options</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -1513,7 +1513,7 @@
<object class="GtkLabel" id="label20">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes" context="printdialog|label20">Options</property>
</object>
<packing>
<property name="position">3</property>
diff --git a/vcl/uiconfig/ui/printerdevicepage.ui b/vcl/uiconfig/ui/printerdevicepage.ui
index 0670414c6958..5cc0732ec026 100644
--- a/vcl/uiconfig/ui/printerdevicepage.ui
+++ b/vcl/uiconfig/ui/printerdevicepage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkListStore" id="liststore1">
<columns>
@@ -11,27 +11,27 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Automatic : %s</col>
+ <col id="0" translatable="yes" context="printerdevicepage|liststore1">Automatic : %s</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">PostScript (Level from driver)</col>
+ <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript (Level from driver)</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">PostScript Level 1</col>
+ <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 1</col>
<col id="1">2</col>
</row>
<row>
- <col id="0" translatable="yes">PostScript Level 2</col>
+ <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 2</col>
<col id="1">3</col>
</row>
<row>
- <col id="0" translatable="yes">PostScript Level 3</col>
+ <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 3</col>
<col id="1">4</col>
</row>
<row>
- <col id="0" translatable="yes">PDF</col>
+ <col id="0" translatable="yes" context="printerdevicepage|liststore1">PDF</col>
<col id="1">10</col>
</row>
</data>
@@ -50,7 +50,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Option:</property>
+ <property name="label" translatable="yes" context="printerdevicepage|label7">_Option:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">options:border</property>
</object>
@@ -64,7 +64,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Current _value:</property>
+ <property name="label" translatable="yes" context="printerdevicepage|label8">Current _value:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">values:border</property>
</object>
@@ -137,7 +137,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Color _depth:</property>
+ <property name="label" translatable="yes" context="printerdevicepage|label11">Color _depth:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">colordepth</property>
</object>
@@ -151,7 +151,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Co_lor:</property>
+ <property name="label" translatable="yes" context="printerdevicepage|label10">Co_lor:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">colorspace</property>
</object>
@@ -165,7 +165,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Printer language _type:</property>
+ <property name="label" translatable="yes" context="printerdevicepage|label9">Printer language _type:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">level</property>
</object>
@@ -191,9 +191,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<items>
- <item translatable="yes">From driver</item>
- <item translatable="yes">Color</item>
- <item translatable="yes">Grayscale</item>
+ <item translatable="yes" context="printerdevicepage|colorspace">From driver</item>
+ <item translatable="yes" context="printerdevicepage|colorspace">Color</item>
+ <item translatable="yes" context="printerdevicepage|colorspace">Grayscale</item>
</items>
</object>
<packing>
@@ -206,8 +206,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<items>
- <item translatable="yes">8 Bit</item>
- <item translatable="yes">24 Bit</item>
+ <item translatable="yes" context="printerdevicepage|colordepth">8 Bit</item>
+ <item translatable="yes" context="printerdevicepage|colordepth">24 Bit</item>
</items>
</object>
<packing>
diff --git a/vcl/uiconfig/ui/printerpaperpage.ui b/vcl/uiconfig/ui/printerpaperpage.ui
index dc6b044b006b..90d72859708d 100644
--- a/vcl/uiconfig/ui/printerpaperpage.ui
+++ b/vcl/uiconfig/ui/printerpaperpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkGrid" id="PrinterPaperPage">
<property name="visible">True</property>
@@ -17,7 +17,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_Paper size:</property>
+ <property name="label" translatable="yes" context="printerpaperpage|paperft">_Paper size:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -30,7 +30,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_Orientation:</property>
+ <property name="label" translatable="yes" context="printerpaperpage|label4">_Orientation:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -43,7 +43,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_Duplex:</property>
+ <property name="label" translatable="yes" context="printerpaperpage|duplexft">_Duplex:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -56,7 +56,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Paper tray:</property>
+ <property name="label" translatable="yes" context="printerpaperpage|slotft">Paper tray:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -79,8 +79,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<items>
- <item translatable="yes">Portrait</item>
- <item translatable="yes">Landscape</item>
+ <item translatable="yes" context="printerpaperpage|orientlb">Portrait</item>
+ <item translatable="yes" context="printerpaperpage|orientlb">Landscape</item>
</items>
</object>
<packing>
diff --git a/vcl/uiconfig/ui/printerpropertiesdialog.ui b/vcl/uiconfig/ui/printerpropertiesdialog.ui
index bae99ac01813..a75e06278cb1 100644
--- a/vcl/uiconfig/ui/printerpropertiesdialog.ui
+++ b/vcl/uiconfig/ui/printerpropertiesdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="PrinterPropertiesDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Properties of %s</property>
+ <property name="title" translatable="yes" context="printerpropertiesdialog|PrinterPropertiesDialog">Properties of %s</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -68,7 +68,7 @@
<object class="GtkLabel" id="paper">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Paper</property>
+ <property name="label" translatable="yes" context="printerpropertiesdialog|paper">Paper</property>
</object>
<packing>
<property name="position">1</property>
@@ -82,7 +82,7 @@
<object class="GtkLabel" id="device">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Device</property>
+ <property name="label" translatable="yes" context="printerpropertiesdialog|device">Device</property>
</object>
<packing>
<property name="position">2</property>
diff --git a/vcl/uiconfig/ui/printprogressdialog.ui b/vcl/uiconfig/ui/printprogressdialog.ui
index 4f60fefdb689..3490b3a2c969 100644
--- a/vcl/uiconfig/ui/printprogressdialog.ui
+++ b/vcl/uiconfig/ui/printprogressdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="PrintProgressDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Printing</property>
+ <property name="title" translatable="yes" context="printprogressdialog|PrintProgressDialog">Printing</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -51,7 +51,7 @@
<object class="GtkLabel" id="label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Page %p of %n</property>
+ <property name="label" translatable="yes" context="printprogressdialog|label">Page %p of %n</property>
</object>
<packing>
<property name="left_attach">0</property>
diff --git a/vcl/uiconfig/ui/querydialog.ui b/vcl/uiconfig/ui/querydialog.ui
index b86de6511972..a6e294002a83 100644
--- a/vcl/uiconfig/ui/querydialog.ui
+++ b/vcl/uiconfig/ui/querydialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="vcl">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="QueryDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">New Data Type</property>
+ <property name="title" translatable="yes" context="querydialog|QueryDialog">New Data Type</property>
<property name="type_hint">normal</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">