diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-11 20:56:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-21 08:20:50 +0100 |
commit | 00657aef09d854c74fb426a935a3e8b1fc390bb0 (patch) | |
tree | fd1a9bb264fe15dcc129498e62060ecd256b1ee7 /filter/uiconfig/ui | |
parent | fa987cbb813cfd729fe490f2f1258b7c8d7fb174 (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 'filter/uiconfig/ui')
-rw-r--r-- | filter/uiconfig/ui/impswfdialog.ui | 20 | ||||
-rw-r--r-- | filter/uiconfig/ui/pdfgeneralpage.ui | 90 | ||||
-rw-r--r-- | filter/uiconfig/ui/pdflinkspage.ui | 18 | ||||
-rw-r--r-- | filter/uiconfig/ui/pdfoptionsdialog.ui | 18 | ||||
-rw-r--r-- | filter/uiconfig/ui/pdfsecuritypage.ui | 54 | ||||
-rw-r--r-- | filter/uiconfig/ui/pdfsignpage.ui | 20 | ||||
-rw-r--r-- | filter/uiconfig/ui/pdfuserinterfacepage.ui | 30 | ||||
-rw-r--r-- | filter/uiconfig/ui/pdfviewpage.ui | 36 | ||||
-rw-r--r-- | filter/uiconfig/ui/testxmlfilter.ui | 28 | ||||
-rw-r--r-- | filter/uiconfig/ui/warnpdfdialog.ui | 6 | ||||
-rw-r--r-- | filter/uiconfig/ui/xmlfiltersettings.ui | 18 | ||||
-rw-r--r-- | filter/uiconfig/ui/xmlfiltertabpagegeneral.ui | 12 | ||||
-rw-r--r-- | filter/uiconfig/ui/xmlfiltertabpagetransformation.ui | 18 | ||||
-rw-r--r-- | filter/uiconfig/ui/xsltfilterdialog.ui | 8 |
14 files changed, 188 insertions, 188 deletions
diff --git a/filter/uiconfig/ui/impswfdialog.ui b/filter/uiconfig/ui/impswfdialog.ui index 756fbe65eb41..c32d4c936c27 100644 --- a/filter/uiconfig/ui/impswfdialog.ui +++ b/filter/uiconfig/ui/impswfdialog.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustmentquality"> <property name="lower">1</property> @@ -11,7 +11,7 @@ <object class="GtkDialog" id="ImpSWFDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Flash (SWF) Options</property> + <property name="title" translatable="yes" context="impswfdialog|ImpSWFDialog">Flash (SWF) Options</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -92,7 +92,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">1: min. quality + <property name="label" translatable="yes" context="impswfdialog|label1">1: min. quality 100: max. quality</property> <property name="use_underline">True</property> <property name="justify">fill</property> @@ -133,7 +133,7 @@ </child> <child> <object class="GtkCheckButton" id="exportall"> - <property name="label" translatable="yes">Export _all slides (uncheck to export current slide)</property> + <property name="label" translatable="yes" context="impswfdialog|exportall">Export _all slides (uncheck to export current slide)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -155,7 +155,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="exportmultiplefiles"> - <property name="label" translatable="yes">Export as _multiple files</property> + <property name="label" translatable="yes" context="impswfdialog|exportmultiplefiles">Export as _multiple files</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -178,7 +178,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="exportbackgrounds"> - <property name="label" translatable="yes">Export _backgrounds</property> + <property name="label" translatable="yes" context="impswfdialog|exportbackgrounds">Export _backgrounds</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -195,7 +195,7 @@ </child> <child> <object class="GtkCheckButton" id="exportbackgroundobjects"> - <property name="label" translatable="yes">Export back_ground objects</property> + <property name="label" translatable="yes" context="impswfdialog|exportbackgroundobjects">Export back_ground objects</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -212,7 +212,7 @@ </child> <child> <object class="GtkCheckButton" id="exportslidecontents"> - <property name="label" translatable="yes">Export _slide contents</property> + <property name="label" translatable="yes" context="impswfdialog|exportslidecontents">Export _slide contents</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -245,7 +245,7 @@ </child> <child> <object class="GtkCheckButton" id="exportsound"> - <property name="label" translatable="yes">Export _Verilogix Slide Annotations</property> + <property name="label" translatable="yes" context="impswfdialog|exportsound">Export _Verilogix Slide Annotations</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -262,7 +262,7 @@ </child> <child> <object class="GtkCheckButton" id="exportoleasjpeg"> - <property name="label" translatable="yes">Export OLE objects as _JPEG images</property> + <property name="label" translatable="yes" context="impswfdialog|exportoleasjpeg">Export OLE objects as _JPEG images</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> diff --git a/filter/uiconfig/ui/pdfgeneralpage.ui b/filter/uiconfig/ui/pdfgeneralpage.ui index 67612f59c197..554d736523af 100644 --- a/filter/uiconfig/ui/pdfgeneralpage.ui +++ b/filter/uiconfig/ui/pdfgeneralpage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">1</property> @@ -40,7 +40,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkRadioButton" id="all"> - <property name="label" translatable="yes">_All</property> + <property name="label" translatable="yes" context="pdfgeneralpage|all">_All</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -58,7 +58,7 @@ </child> <child> <object class="GtkRadioButton" id="range"> - <property name="label" translatable="yes">_Pages:</property> + <property name="label" translatable="yes" context="pdfgeneralpage|range">_Pages:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -77,7 +77,7 @@ </child> <child> <object class="GtkRadioButton" id="selection"> - <property name="label" translatable="yes">_Selection</property> + <property name="label" translatable="yes" context="pdfgeneralpage|selection">_Selection</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -111,7 +111,7 @@ <object class="GtkLabel" id="slides"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">Slides:</property> + <property name="label" translatable="yes" context="pdfgeneralpage|slides">Slides:</property> <property name="xalign">0</property> </object> <packing> @@ -123,7 +123,7 @@ <object class="GtkLabel" id="selectedsheets"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">_Selection/Selected sheet(s)</property> + <property name="label" translatable="yes" context="pdfgeneralpage|selectedsheets">_Selection/Selected sheet(s)</property> <property name="xalign">0</property> </object> <packing> @@ -139,7 +139,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Range</property> + <property name="label" translatable="yes" context="pdfgeneralpage|label1">Range</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -200,7 +200,7 @@ <object class="GtkLabel" id="label6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Quality:</property> + <property name="label" translatable="yes" context="pdfgeneralpage|label6">_Quality:</property> <property name="use_underline">True</property> <property name="xalign">0</property> </object> @@ -225,7 +225,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="reduceresolution"> - <property name="label" translatable="yes">_Reduce image resolution</property> + <property name="label" translatable="yes" context="pdfgeneralpage|reduceresolution">_Reduce image resolution</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -247,17 +247,17 @@ <property name="can_focus">False</property> <property name="has_entry">True</property> <items> - <item translatable="yes">75 DPI</item> - <item translatable="yes">150 DPI</item> - <item translatable="yes">300 DPI</item> - <item translatable="yes">600 DPI</item> - <item translatable="yes">1200 DPI</item> + <item translatable="yes" context="pdfgeneralpage|resolution">75 DPI</item> + <item translatable="yes" context="pdfgeneralpage|resolution">150 DPI</item> + <item translatable="yes" context="pdfgeneralpage|resolution">300 DPI</item> + <item translatable="yes" context="pdfgeneralpage|resolution">600 DPI</item> + <item translatable="yes" context="pdfgeneralpage|resolution">1200 DPI</item> </items> <child internal-child="entry"> <object class="GtkEntry" id="comboboxtext-entry"> <property name="can_focus">False</property> <property name="invisible_char">●</property> - <property name="text" translatable="yes">75 DPI</property> + <property name="text" translatable="yes" context="pdfgeneralpage|comboboxtext-entry">75 DPI</property> </object> </child> </object> @@ -281,7 +281,7 @@ </child> <child> <object class="GtkRadioButton" id="losslesscompress"> - <property name="label" translatable="yes">_Lossless compression</property> + <property name="label" translatable="yes" context="pdfgeneralpage|losslesscompress">_Lossless compression</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -298,7 +298,7 @@ </child> <child> <object class="GtkRadioButton" id="jpegcompress"> - <property name="label" translatable="yes">_JPEG compression</property> + <property name="label" translatable="yes" context="pdfgeneralpage|jpegcompress">_JPEG compression</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -320,7 +320,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Images</property> + <property name="label" translatable="yes" context="pdfgeneralpage|label2">Images</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -352,7 +352,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="watermark"> - <property name="label" translatable="yes">Sign with _watermark</property> + <property name="label" translatable="yes" context="pdfgeneralpage|watermark">Sign with _watermark</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -387,7 +387,7 @@ <object class="GtkLabel" id="watermarklabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Text:</property> + <property name="label" translatable="yes" context="pdfgeneralpage|watermarklabel">Text:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">watermarkentry</property> <property name="xalign">0</property> @@ -407,7 +407,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Watermark</property> + <property name="label" translatable="yes" context="pdfgeneralpage|label3">Watermark</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -444,11 +444,11 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="embed"> - <property name="label" translatable="yes">Hybrid PDF (em_bed ODF file)</property> + <property name="label" translatable="yes" context="pdfgeneralpage|embed">Hybrid PDF (em_bed ODF file)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Creates a PDF that is easily editable in %PRODUCTNAME</property> + <property name="tooltip_text" translatable="yes" context="pdfgeneralpage|embed|tooltip_text">Creates a PDF that is easily editable in %PRODUCTNAME</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -460,11 +460,11 @@ </child> <child> <object class="GtkCheckButton" id="pdfa"> - <property name="label" translatable="yes">Archive P_DF/A-1a (ISO 19005-1)</property> + <property name="label" translatable="yes" context="pdfgeneralpage|pdfa">Archive P_DF/A-1a (ISO 19005-1)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Creates an ISO 19005-1 compliant PDF file, ideal for long-term document preservation</property> + <property name="tooltip_text" translatable="yes" context="pdfgeneralpage|pdfa|tooltip_text">Creates an ISO 19005-1 compliant PDF file, ideal for long-term document preservation</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -476,11 +476,11 @@ </child> <child> <object class="GtkCheckButton" id="tagged"> - <property name="label" translatable="yes">_Tagged PDF (add document structure)</property> + <property name="label" translatable="yes" context="pdfgeneralpage|tagged">_Tagged PDF (add document structure)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Includes a document's content structure information in a PDF</property> + <property name="tooltip_text" translatable="yes" context="pdfgeneralpage|tagged|tooltip_text">Includes a document's content structure information in a PDF</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -492,11 +492,11 @@ </child> <child> <object class="GtkCheckButton" id="forms"> - <property name="label" translatable="yes">_Create PDF form</property> + <property name="label" translatable="yes" context="pdfgeneralpage|forms">_Create PDF form</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Creates a PDF with fields that can be filled out</property> + <property name="tooltip_text" translatable="yes" context="pdfgeneralpage|forms|tooltip_text">Creates a PDF with fields that can be filled out</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -521,7 +521,7 @@ <object class="GtkLabel" id="label7"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Submit _format:</property> + <property name="label" translatable="yes" context="pdfgeneralpage|label7">Submit _format:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">format</property> <property name="xalign">0</property> @@ -536,10 +536,10 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">FDF</item> - <item translatable="yes">PDF</item> - <item translatable="yes">HTML</item> - <item translatable="yes">XML</item> + <item translatable="yes" context="pdfgeneralpage|format">FDF</item> + <item translatable="yes" context="pdfgeneralpage|format">PDF</item> + <item translatable="yes" context="pdfgeneralpage|format">HTML</item> + <item translatable="yes" context="pdfgeneralpage|format">XML</item> </items> </object> <packing> @@ -549,7 +549,7 @@ </child> <child> <object class="GtkCheckButton" id="allowdups"> - <property name="label" translatable="yes">Allow duplicate field _names</property> + <property name="label" translatable="yes" context="pdfgeneralpage|allowdups">Allow duplicate field _names</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -573,7 +573,7 @@ </child> <child> <object class="GtkCheckButton" id="bookmarks"> - <property name="label" translatable="yes">Export _bookmarks</property> + <property name="label" translatable="yes" context="pdfgeneralpage|bookmarks">Export _bookmarks</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -588,7 +588,7 @@ </child> <child> <object class="GtkCheckButton" id="exportplaceholders"> - <property name="label" translatable="yes">Expo_rt placeholders</property> + <property name="label" translatable="yes" context="pdfgeneralpage|exportplaceholders">Expo_rt placeholders</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -603,7 +603,7 @@ </child> <child> <object class="GtkCheckButton" id="comments"> - <property name="label" translatable="yes">_Export comments</property> + <property name="label" translatable="yes" context="pdfgeneralpage|comments">_Export comments</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -618,7 +618,7 @@ </child> <child> <object class="GtkCheckButton" id="emptypages"> - <property name="label" translatable="yes">Exp_ort automatically inserted blank pages</property> + <property name="label" translatable="yes" context="pdfgeneralpage|emptypages">Exp_ort automatically inserted blank pages</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -633,7 +633,7 @@ </child> <child> <object class="GtkCheckButton" id="viewpdf"> - <property name="label" translatable="yes">_View PDF after export</property> + <property name="label" translatable="yes" context="pdfgeneralpage|viewpdf">_View PDF after export</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -648,7 +648,7 @@ </child> <child> <object class="GtkCheckButton" id="usereferencexobject"> - <property name="label" translatable="yes">Use reference XObjects</property> + <property name="label" translatable="yes" context="pdfgeneralpage|usereferencexobject">Use reference XObjects</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -663,7 +663,7 @@ </child> <child> <object class="GtkCheckButton" id="hiddenpages"> - <property name="label" translatable="yes">Export _hidden pages</property> + <property name="label" translatable="yes" context="pdfgeneralpage|hiddenpages">Export _hidden pages</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -678,7 +678,7 @@ </child> <child> <object class="GtkCheckButton" id="notes"> - <property name="label" translatable="yes">Export _notes pages</property> + <property name="label" translatable="yes" context="pdfgeneralpage|notes">Export _notes pages</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -698,7 +698,7 @@ <property name="left_padding">12</property> <child> <object class="GtkCheckButton" id="onlynotes"> - <property name="label" translatable="yes">Export onl_y notes pages</property> + <property name="label" translatable="yes" context="pdfgeneralpage|onlynotes">Export onl_y notes pages</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -721,7 +721,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">General</property> + <property name="label" translatable="yes" context="pdfgeneralpage|label4">General</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/filter/uiconfig/ui/pdflinkspage.ui b/filter/uiconfig/ui/pdflinkspage.ui index f7a5d2e755d1..ba3562afc3df 100644 --- a/filter/uiconfig/ui/pdflinkspage.ui +++ b/filter/uiconfig/ui/pdflinkspage.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="flt"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkBox" id="PdfLinksPage"> <property name="visible">True</property> @@ -26,7 +26,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="export"> - <property name="label" translatable="yes">Export bookmarks as named destinations</property> + <property name="label" translatable="yes" context="pdflinkspage|export">Export bookmarks as named destinations</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -44,7 +44,7 @@ </child> <child> <object class="GtkCheckButton" id="convert"> - <property name="label" translatable="yes">_Convert document references to PDF targets</property> + <property name="label" translatable="yes" context="pdflinkspage|convert">_Convert document references to PDF targets</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -62,7 +62,7 @@ </child> <child> <object class="GtkCheckButton" id="exporturl"> - <property name="label" translatable="yes">Export _URLs relative to file system</property> + <property name="label" translatable="yes" context="pdflinkspage|exporturl">Export _URLs relative to file system</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -86,7 +86,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">General</property> + <property name="label" translatable="yes" context="pdflinkspage|label1">General</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -118,7 +118,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="default"> - <property name="label" translatable="yes">Default mode</property> + <property name="label" translatable="yes" context="pdflinkspage|default">Default mode</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -137,7 +137,7 @@ </child> <child> <object class="GtkRadioButton" id="openpdf"> - <property name="label" translatable="yes">Open with PDF reader application</property> + <property name="label" translatable="yes" context="pdflinkspage|openpdf">Open with PDF reader application</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -155,7 +155,7 @@ </child> <child> <object class="GtkRadioButton" id="openinternet"> - <property name="label" translatable="yes">Open _with Internet browser</property> + <property name="label" translatable="yes" context="pdflinkspage|openinternet">Open _with Internet browser</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -179,7 +179,7 @@ <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Cross-document Links</property> + <property name="label" translatable="yes" context="pdflinkspage|label5">Cross-document Links</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/filter/uiconfig/ui/pdfoptionsdialog.ui b/filter/uiconfig/ui/pdfoptionsdialog.ui index f8a7a409e63b..632ccec0df25 100644 --- a/filter/uiconfig/ui/pdfoptionsdialog.ui +++ b/filter/uiconfig/ui/pdfoptionsdialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.6"/> <object class="GtkDialog" id="PdfOptionsDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">PDF Options</property> + <property name="title" translatable="yes" context="pdfoptionsdialog|PdfOptionsDialog">PDF Options</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -19,7 +19,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="ok"> - <property name="label" translatable="yes">E_xport</property> + <property name="label" translatable="yes" context="pdfoptionsdialog|ok">E_xport</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -83,7 +83,7 @@ <object class="GtkLabel" id="general"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">General</property> + <property name="label" translatable="yes" context="pdfoptionsdialog|general">General</property> </object> <packing> <property name="tab_fill">False</property> @@ -96,7 +96,7 @@ <object class="GtkLabel" id="initialview"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Initial View</property> + <property name="label" translatable="yes" context="pdfoptionsdialog|initialview">Initial View</property> </object> <packing> <property name="position">1</property> @@ -110,7 +110,7 @@ <object class="GtkLabel" id="userinterface"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">User Interface</property> + <property name="label" translatable="yes" context="pdfoptionsdialog|userinterface">User Interface</property> </object> <packing> <property name="position">2</property> @@ -124,7 +124,7 @@ <object class="GtkLabel" id="links"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Links</property> + <property name="label" translatable="yes" context="pdfoptionsdialog|links">Links</property> </object> <packing> <property name="position">3</property> @@ -138,7 +138,7 @@ <object class="GtkLabel" id="security"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Security</property> + <property name="label" translatable="yes" context="pdfoptionsdialog|security">Security</property> </object> <packing> <property name="position">4</property> @@ -152,7 +152,7 @@ <object class="GtkLabel" id="digitalsignatures"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Digital Signatures</property> + <property name="label" translatable="yes" context="pdfoptionsdialog|digitalsignatures">Digital Signatures</property> </object> <packing> <property name="position">5</property> diff --git a/filter/uiconfig/ui/pdfsecuritypage.ui b/filter/uiconfig/ui/pdfsecuritypage.ui index 6d2658dbbe9a..4d9f73f5a5bc 100644 --- a/filter/uiconfig/ui/pdfsecuritypage.ui +++ b/filter/uiconfig/ui/pdfsecuritypage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.6"/> <object class="GtkBox" id="PdfSecurityPage"> <property name="visible">True</property> @@ -28,7 +28,7 @@ <property name="spacing">12</property> <child> <object class="GtkButton" id="setpassword"> - <property name="label" translatable="yes">Set _Passwords…</property> + <property name="label" translatable="yes" context="pdfsecuritypage|setpassword">Set _Passwords…</property> <property name="visible">True</property> <property name="sensitive">False</property> <property name="can_focus">True</property> @@ -51,7 +51,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Open password set</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label5">Open password set</property> </object> <packing> <property name="left_attach">0</property> @@ -63,7 +63,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">PDF document will be encrypted</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label6">PDF document will be encrypted</property> </object> <packing> <property name="left_attach">0</property> @@ -86,7 +86,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">No open password set</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label7">No open password set</property> </object> <packing> <property name="left_attach">0</property> @@ -98,7 +98,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">PDF document will not be encrypted</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label8">PDF document will not be encrypted</property> </object> <packing> <property name="left_attach">0</property> @@ -121,7 +121,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">PDF document will not be encrypted due to PDF/A export.</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label30">PDF document will not be encrypted due to PDF/A export.</property> <property name="wrap">True</property> </object> <packing> @@ -145,7 +145,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Permission password set</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label9">Permission password set</property> </object> <packing> <property name="left_attach">0</property> @@ -157,7 +157,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">PDF document will be restricted</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label11">PDF document will be restricted</property> </object> <packing> <property name="left_attach">0</property> @@ -180,7 +180,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">No permission password set</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label12">No permission password set</property> </object> <packing> <property name="left_attach">0</property> @@ -192,7 +192,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">PDF document will be unrestricted</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label13">PDF document will be unrestricted</property> </object> <packing> <property name="left_attach">0</property> @@ -215,7 +215,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">PDF document will not be restricted due to PDF/A export.</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label14">PDF document will not be restricted due to PDF/A export.</property> <property name="wrap">True</property> </object> <packing> @@ -235,7 +235,7 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Set Passwords</property> + <property name="label" translatable="yes" context="pdfsecuritypage|setpasswordstitle">Set Passwords</property> </object> <packing> <property name="expand">False</property> @@ -251,7 +251,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">File Encryption and Permission</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label2">File Encryption and Permission</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -289,7 +289,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="printnone"> - <property name="label" translatable="yes">_Not permitted</property> + <property name="label" translatable="yes" context="pdfsecuritypage|printnone">_Not permitted</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -305,7 +305,7 @@ </child> <child> <object class="GtkRadioButton" id="printlow"> - <property name="label" translatable="yes">_Low resolution (150 dpi)</property> + <property name="label" translatable="yes" context="pdfsecuritypage|printlow">_Low resolution (150 dpi)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -321,7 +321,7 @@ </child> <child> <object class="GtkRadioButton" id="printhigh"> - <property name="label" translatable="yes">_High resolution</property> + <property name="label" translatable="yes" context="pdfsecuritypage|printhigh">_High resolution</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -344,7 +344,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Printing</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label1">Printing</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -376,7 +376,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="changenone"> - <property name="label" translatable="yes">No_t permitted</property> + <property name="label" translatable="yes" context="pdfsecuritypage|changenone">No_t permitted</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -392,7 +392,7 @@ </child> <child> <object class="GtkRadioButton" id="changeinsdel"> - <property name="label" translatable="yes">_Inserting, deleting, and rotating pages</property> + <property name="label" translatable="yes" context="pdfsecuritypage|changeinsdel">_Inserting, deleting, and rotating pages</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -408,7 +408,7 @@ </child> <child> <object class="GtkRadioButton" id="changeform"> - <property name="label" translatable="yes">_Filling in form fields</property> + <property name="label" translatable="yes" context="pdfsecuritypage|changeform">_Filling in form fields</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -424,7 +424,7 @@ </child> <child> <object class="GtkRadioButton" id="changecomment"> - <property name="label" translatable="yes">_Commenting, filling in form fields</property> + <property name="label" translatable="yes" context="pdfsecuritypage|changecomment">_Commenting, filling in form fields</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -440,7 +440,7 @@ </child> <child> <object class="GtkRadioButton" id="changeany"> - <property name="label" translatable="yes">_Any except extracting pages</property> + <property name="label" translatable="yes" context="pdfsecuritypage|changeany">_Any except extracting pages</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -463,7 +463,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Changes</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label3">Changes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -495,7 +495,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="enablecopy"> - <property name="label" translatable="yes">Ena_ble copying of content</property> + <property name="label" translatable="yes" context="pdfsecuritypage|enablecopy">Ena_ble copying of content</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -511,7 +511,7 @@ </child> <child> <object class="GtkCheckButton" id="enablea11y"> - <property name="label" translatable="yes">Enable text access for acce_ssibility tools</property> + <property name="label" translatable="yes" context="pdfsecuritypage|enablea11y">Enable text access for acce_ssibility tools</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -533,7 +533,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Content</property> + <property name="label" translatable="yes" context="pdfsecuritypage|label4">Content</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/filter/uiconfig/ui/pdfsignpage.ui b/filter/uiconfig/ui/pdfsignpage.ui index fe10e299496a..542bc5eb7dc7 100644 --- a/filter/uiconfig/ui/pdfsignpage.ui +++ b/filter/uiconfig/ui/pdfsignpage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <object class="GtkFrame" id="PdfSignPage"> <property name="visible">True</property> @@ -34,7 +34,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Use this certificate to digitally sign PDF documents:</property> + <property name="label" translatable="yes" context="pdfsignpage|label2">Use this certificate to digitally sign PDF documents:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">cert</property> </object> @@ -57,7 +57,7 @@ </child> <child> <object class="GtkButton" id="select"> - <property name="label" translatable="yes">Select...</property> + <property name="label" translatable="yes" context="pdfsignpage|select">Select...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -156,7 +156,7 @@ <property name="can_focus">True</property> <property name="has_entry">False</property> <items> - <item translatable="yes">None</item> + <item translatable="yes" context="pdfsignpage|tsa">None</item> </items> </object> <packing> @@ -169,7 +169,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Certificate password:</property> + <property name="label" translatable="yes" context="pdfsignpage|label7">Certificate password:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">password</property> </object> @@ -183,7 +183,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="pdfsignpage|label12">Location:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">location</property> </object> @@ -197,7 +197,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Contact information:</property> + <property name="label" translatable="yes" context="pdfsignpage|label13">Contact information:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">contact</property> </object> @@ -211,7 +211,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Reason:</property> + <property name="label" translatable="yes" context="pdfsignpage|label14">Reason:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">reason</property> </object> @@ -225,7 +225,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Time Stamp Authority:</property> + <property name="label" translatable="yes" context="pdfsignpage|label15">Time Stamp Authority:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">reason</property> </object> @@ -248,7 +248,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Certificate</property> + <property name="label" translatable="yes" context="pdfsignpage|label1">Certificate</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/filter/uiconfig/ui/pdfuserinterfacepage.ui b/filter/uiconfig/ui/pdfuserinterfacepage.ui index ab359c815277..199cf8e55d20 100644 --- a/filter/uiconfig/ui/pdfuserinterfacepage.ui +++ b/filter/uiconfig/ui/pdfuserinterfacepage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">1</property> @@ -41,7 +41,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="center"> - <property name="label" translatable="yes">_Center window on screen</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|center">_Center window on screen</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -57,7 +57,7 @@ </child> <child> <object class="GtkCheckButton" id="resize"> - <property name="label" translatable="yes">_Resize window to initial page</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|resize">_Resize window to initial page</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -73,7 +73,7 @@ </child> <child> <object class="GtkCheckButton" id="open"> - <property name="label" translatable="yes">_Open in full screen mode</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|open">_Open in full screen mode</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -89,7 +89,7 @@ </child> <child> <object class="GtkCheckButton" id="display"> - <property name="label" translatable="yes">_Display document title</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|display">_Display document title</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -111,7 +111,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Window Options</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|label1">Window Options</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -142,7 +142,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="toolbar"> - <property name="label" translatable="yes">Hide _toolbar</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|toolbar">Hide _toolbar</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -158,7 +158,7 @@ </child> <child> <object class="GtkCheckButton" id="menubar"> - <property name="label" translatable="yes">Hide _menubar</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|menubar">Hide _menubar</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -174,7 +174,7 @@ </child> <child> <object class="GtkCheckButton" id="window"> - <property name="label" translatable="yes">Hide _window controls</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|window">Hide _window controls</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -196,7 +196,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">User Interface Options</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|label2">User Interface Options</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -226,7 +226,7 @@ <property name="can_focus">False</property> <child> <object class="GtkCheckButton" id="effects"> - <property name="label" translatable="yes">_Use transition effects</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|effects">_Use transition effects</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -248,7 +248,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Transitions</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|label3">Transitions</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -280,7 +280,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkRadioButton" id="allbookmarks"> - <property name="label" translatable="yes">_All bookmark levels</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|allbookmarks">_All bookmark levels</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -297,7 +297,7 @@ </child> <child> <object class="GtkRadioButton" id="visiblebookmark"> - <property name="label" translatable="yes">_Visible bookmark levels:</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|visiblebookmark">_Visible bookmark levels:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -341,7 +341,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Bookmarks</property> + <property name="label" translatable="yes" context="pdfuserinterfacepage|label4">Bookmarks</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/filter/uiconfig/ui/pdfviewpage.ui b/filter/uiconfig/ui/pdfviewpage.ui index 4640de4438aa..d6f6f24834b1 100644 --- a/filter/uiconfig/ui/pdfviewpage.ui +++ b/filter/uiconfig/ui/pdfviewpage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.6"/> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">1</property> @@ -47,7 +47,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="pageonly"> - <property name="label" translatable="yes">_Page only</property> + <property name="label" translatable="yes" context="pdfviewpage|pageonly">_Page only</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -64,7 +64,7 @@ </child> <child> <object class="GtkRadioButton" id="outline"> - <property name="label" translatable="yes">_Bookmarks and page</property> + <property name="label" translatable="yes" context="pdfviewpage|outline">_Bookmarks and page</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -80,7 +80,7 @@ </child> <child> <object class="GtkRadioButton" id="thumbs"> - <property name="label" translatable="yes">_Thumbnails and page</property> + <property name="label" translatable="yes" context="pdfviewpage|thumbs">_Thumbnails and page</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -104,7 +104,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Open on pa_ge:</property> + <property name="label" translatable="yes" context="pdfviewpage|label4">Open on pa_ge:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">page</property> </object> @@ -139,7 +139,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Panes</property> + <property name="label" translatable="yes" context="pdfviewpage|label2">Panes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -171,7 +171,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="fitdefault"> - <property name="label" translatable="yes">_Default</property> + <property name="label" translatable="yes" context="pdfviewpage|fitdefault">_Default</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -188,7 +188,7 @@ </child> <child> <object class="GtkRadioButton" id="fitwin"> - <property name="label" translatable="yes">_Fit in window</property> + <property name="label" translatable="yes" context="pdfviewpage|fitwin">_Fit in window</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -204,7 +204,7 @@ </child> <child> <object class="GtkRadioButton" id="fitwidth"> - <property name="label" translatable="yes">Fit _width</property> + <property name="label" translatable="yes" context="pdfviewpage|fitwidth">Fit _width</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -220,7 +220,7 @@ </child> <child> <object class="GtkRadioButton" id="fitvis"> - <property name="label" translatable="yes">Fit _visible</property> + <property name="label" translatable="yes" context="pdfviewpage|fitvis">Fit _visible</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -241,7 +241,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkRadioButton" id="fitzoom"> - <property name="label" translatable="yes">_Zoom factor:</property> + <property name="label" translatable="yes" context="pdfviewpage|fitzoom">_Zoom factor:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -287,7 +287,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Magnification</property> + <property name="label" translatable="yes" context="pdfviewpage|label3">Magnification</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -326,7 +326,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="defaultlayout"> - <property name="label" translatable="yes">D_efault</property> + <property name="label" translatable="yes" context="pdfviewpage|defaultlayout">D_efault</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -343,7 +343,7 @@ </child> <child> <object class="GtkRadioButton" id="singlelayout"> - <property name="label" translatable="yes">_Single page</property> + <property name="label" translatable="yes" context="pdfviewpage|singlelayout">_Single page</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -359,7 +359,7 @@ </child> <child> <object class="GtkRadioButton" id="contlayout"> - <property name="label" translatable="yes">_Continuous</property> + <property name="label" translatable="yes" context="pdfviewpage|contlayout">_Continuous</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -375,7 +375,7 @@ </child> <child> <object class="GtkRadioButton" id="contfacinglayout"> - <property name="label" translatable="yes">C_ontinuous facing</property> + <property name="label" translatable="yes" context="pdfviewpage|contfacinglayout">C_ontinuous facing</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -391,7 +391,7 @@ </child> <child> <object class="GtkCheckButton" id="firstonleft"> - <property name="label" translatable="yes">First page is _left</property> + <property name="label" translatable="yes" context="pdfviewpage|firstonleft">First page is _left</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -413,7 +413,7 @@ <object class="GtkLabel" id="label1"> <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="pdfviewpage|label1">Page Layout</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/filter/uiconfig/ui/testxmlfilter.ui b/filter/uiconfig/ui/testxmlfilter.ui index fcc3b951192a..c23502c7f29f 100644 --- a/filter/uiconfig/ui/testxmlfilter.ui +++ b/filter/uiconfig/ui/testxmlfilter.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="TestXMLFilterDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Test XML Filter: %s</property> + <property name="title" translatable="yes" context="testxmlfilter|TestXMLFilterDialog">Test XML Filter: %s</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -86,7 +86,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">XSLT for export</property> + <property name="label" translatable="yes" context="testxmlfilter|label3">XSLT for export</property> </object> <packing> <property name="left_attach">0</property> @@ -99,7 +99,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Transform document</property> + <property name="label" translatable="yes" context="testxmlfilter|label4">Transform document</property> </object> <packing> <property name="left_attach">0</property> @@ -108,7 +108,7 @@ </child> <child> <object class="GtkButton" id="exportbrowse"> - <property name="label" translatable="yes">Browse...</property> + <property name="label" translatable="yes" context="testxmlfilter|exportbrowse">Browse...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -120,7 +120,7 @@ </child> <child> <object class="GtkButton" id="currentdocument"> - <property name="label" translatable="yes">Current Document</property> + <property name="label" translatable="yes" context="testxmlfilter|currentdocument">Current Document</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -165,7 +165,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Export</property> + <property name="label" translatable="yes" context="testxmlfilter|label1">Export</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -202,7 +202,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">XSLT for import</property> + <property name="label" translatable="yes" context="testxmlfilter|label5">XSLT for import</property> </object> <packing> <property name="left_attach">0</property> @@ -211,7 +211,7 @@ </child> <child> <object class="GtkButton" id="importbrowse"> - <property name="label" translatable="yes">Browse...</property> + <property name="label" translatable="yes" context="testxmlfilter|importbrowse">Browse...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -223,7 +223,7 @@ </child> <child> <object class="GtkButton" id="recentfile"> - <property name="label" translatable="yes">Recent File</property> + <property name="label" translatable="yes" context="testxmlfilter|recentfile">Recent File</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -239,7 +239,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Template for import</property> + <property name="label" translatable="yes" context="testxmlfilter|templateimport">Template for import</property> </object> <packing> <property name="left_attach">0</property> @@ -259,7 +259,7 @@ </child> <child> <object class="GtkCheckButton" id="displaysource"> - <property name="label" translatable="yes">Display source</property> + <property name="label" translatable="yes" context="testxmlfilter|displaysource">Display source</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -278,7 +278,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Transform file</property> + <property name="label" translatable="yes" context="testxmlfilter|label6">Transform file</property> </object> <packing> <property name="left_attach">0</property> @@ -323,7 +323,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Import</property> + <property name="label" translatable="yes" context="testxmlfilter|label2">Import</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/filter/uiconfig/ui/warnpdfdialog.ui b/filter/uiconfig/ui/warnpdfdialog.ui index 1860e84e99d9..0eda449ff96d 100644 --- a/filter/uiconfig/ui/warnpdfdialog.ui +++ b/filter/uiconfig/ui/warnpdfdialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.6"/> <object class="GtkMessageDialog" id="WarnPDFDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="type">popup</property> - <property name="title" translatable="yes">Problems During PDF Export</property> + <property name="title" translatable="yes" context="warnpdfdialog|WarnPDFDialog">Problems During PDF Export</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">warning</property> <property name="buttons">ok</property> - <property name="text" translatable="yes">During PDF export the following problems occurred:</property> + <property name="text" translatable="yes" context="warnpdfdialog|WarnPDFDialog">During PDF export the following problems occurred:</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/filter/uiconfig/ui/xmlfiltersettings.ui b/filter/uiconfig/ui/xmlfiltersettings.ui index 79de962e1205..bacfeebdaebb 100644 --- a/filter/uiconfig/ui/xmlfiltersettings.ui +++ b/filter/uiconfig/ui/xmlfiltersettings.ui @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="XMLFilterSettingsDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">XML Filter Settings</property> + <property name="title" translatable="yes" context="xmlfiltersettings|XMLFilterSettingsDialog">XML Filter Settings</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -21,7 +21,7 @@ <property name="layout_style">start</property> <child> <object class="GtkButton" id="new"> - <property name="label" translatable="yes">_New...</property> + <property name="label" translatable="yes" context="xmlfiltersettings|new">_New...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -35,7 +35,7 @@ </child> <child> <object class="GtkButton" id="edit"> - <property name="label" translatable="yes">_Edit...</property> + <property name="label" translatable="yes" context="xmlfiltersettings|edit">_Edit...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -49,7 +49,7 @@ </child> <child> <object class="GtkButton" id="test"> - <property name="label" translatable="yes">_Test XSLTs...</property> + <property name="label" translatable="yes" context="xmlfiltersettings|test">_Test XSLTs...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -63,7 +63,7 @@ </child> <child> <object class="GtkButton" id="delete"> - <property name="label" translatable="yes">_Delete...</property> + <property name="label" translatable="yes" context="xmlfiltersettings|delete">_Delete...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -77,7 +77,7 @@ </child> <child> <object class="GtkButton" id="save"> - <property name="label" translatable="yes">_Save as Package...</property> + <property name="label" translatable="yes" context="xmlfiltersettings|save">_Save as Package...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -91,7 +91,7 @@ </child> <child> <object class="GtkButton" id="open"> - <property name="label" translatable="yes">_Open Package...</property> + <property name="label" translatable="yes" context="xmlfiltersettings|open">_Open Package...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -148,7 +148,7 @@ <property name="can_focus">False</property> <child internal-child="accessible"> <object class="AtkObject" id="filterlist-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">XML Filter List</property> + <property name="AtkObject::accessible-name" translatable="yes" context="xmlfiltersettings|filterlist-atkobject">XML Filter List</property> </object> </child> </object> diff --git a/filter/uiconfig/ui/xmlfiltertabpagegeneral.ui b/filter/uiconfig/ui/xmlfiltertabpagegeneral.ui index 9b0f4773bf25..7d0a00304eb8 100644 --- a/filter/uiconfig/ui/xmlfiltertabpagegeneral.ui +++ b/filter/uiconfig/ui/xmlfiltertabpagegeneral.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <object class="GtkBox" id="XmlFilterTabPageGeneral"> <property name="visible">True</property> @@ -20,7 +20,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Filter name:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagegeneral|label2">_Filter name:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">filtername</property> </object> @@ -34,7 +34,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Application:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagegeneral|label3">_Application:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">application</property> </object> @@ -48,7 +48,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Name of file type:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagegeneral|label4">_Name of file type:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">interfacename</property> </object> @@ -62,7 +62,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">File _extension:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagegeneral|label5">File _extension:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">extension</property> </object> @@ -77,7 +77,7 @@ <property name="can_focus">False</property> <property name="xalign">1</property> <property name="yalign">0</property> - <property name="label" translatable="yes">Comment_s:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagegeneral|label6">Comment_s:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">description:border</property> </object> diff --git a/filter/uiconfig/ui/xmlfiltertabpagetransformation.ui b/filter/uiconfig/ui/xmlfiltertabpagetransformation.ui index 44d0e77e9983..9dc0724d7b49 100644 --- a/filter/uiconfig/ui/xmlfiltertabpagetransformation.ui +++ b/filter/uiconfig/ui/xmlfiltertabpagetransformation.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkBox" id="XmlFilterTabPageTransformation"> @@ -22,7 +22,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_DocType:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|label2">_DocType:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">doc</property> </object> @@ -49,7 +49,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_XSLT for export:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|label4">_XSLT for export:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">xsltexport</property> </object> @@ -60,7 +60,7 @@ </child> <child> <object class="GtkButton" id="browseexport"> - <property name="label" translatable="yes">Brows_e...</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|browseexport">Brows_e...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -76,7 +76,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">XSLT _for import:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|label5">XSLT _for import:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">xsltimport</property> </object> @@ -87,7 +87,7 @@ </child> <child> <object class="GtkButton" id="browseimport"> - <property name="label" translatable="yes">B_rowse...</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|browseimport">B_rowse...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</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">Template for _import:</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|label6">Template for _import:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">tempimport</property> </object> @@ -114,7 +114,7 @@ </child> <child> <object class="GtkButton" id="browsetemp"> - <property name="label" translatable="yes">Browse...</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|browsetemp">Browse...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -172,7 +172,7 @@ </child> <child> <object class="GtkCheckButton" id="filtercb"> - <property name="label" translatable="yes">The filter needs XSLT 2.0 processor</property> + <property name="label" translatable="yes" context="xmlfiltertabpagetransformation|filtercb">The filter needs XSLT 2.0 processor</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> diff --git a/filter/uiconfig/ui/xsltfilterdialog.ui b/filter/uiconfig/ui/xsltfilterdialog.ui index 8c68701e9697..baa2b3918292 100644 --- a/filter/uiconfig/ui/xsltfilterdialog.ui +++ b/filter/uiconfig/ui/xsltfilterdialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="flt"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="XSLTFilterDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">XML Filter: %s</property> + <property name="title" translatable="yes" context="xsltfilterdialog|XSLTFilterDialog">XML Filter: %s</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -83,7 +83,7 @@ <object class="GtkLabel" id="general"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">General</property> + <property name="label" translatable="yes" context="xsltfilterdialog|general">General</property> </object> <packing> <property name="tab_fill">False</property> @@ -96,7 +96,7 @@ <object class="GtkLabel" id="transformation"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Transformation</property> + <property name="label" translatable="yes" context="xsltfilterdialog|transformation">Transformation</property> </object> <packing> <property name="position">1</property> |