summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/AllLangMoTarget_cui.mk11
-rw-r--r--cui/AllLangResTarget_cui.mk55
-rw-r--r--cui/Library_cui.mk3
-rw-r--r--cui/Module_cui.mk4
-rw-r--r--cui/inc/pch/precompiled_cui.hxx3
-rw-r--r--cui/inc/personalization.hrc (renamed from cui/source/options/personalization.src)48
-rw-r--r--cui/inc/strings.hrc385
-rw-r--r--cui/inc/strings.hxx17
-rw-r--r--cui/inc/treeopt.hrc155
-rw-r--r--cui/source/customize/SvxMenuConfigPage.cxx1
-rw-r--r--cui/source/customize/acccfg.cxx3
-rw-r--r--cui/source/customize/cfg.cxx1
-rw-r--r--cui/source/customize/cfg.src145
-rw-r--r--cui/source/customize/cfgutil.cxx1
-rw-r--r--cui/source/customize/macropg.cxx3
-rw-r--r--cui/source/customize/macropg.src336
-rw-r--r--cui/source/dialogs/cuicharmap.cxx1
-rw-r--r--cui/source/dialogs/cuifmsearch.cxx12
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx3
-rw-r--r--cui/source/dialogs/cuihyperdlg.cxx1
-rw-r--r--cui/source/dialogs/cuires.src133
-rw-r--r--cui/source/dialogs/fmsearch.hrc38
-rw-r--r--cui/source/dialogs/fmsearch.src77
-rw-r--r--cui/source/dialogs/gallery.src46
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx1
-rw-r--r--cui/source/dialogs/hldocntp.cxx1
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx1
-rw-r--r--cui/source/dialogs/hltpbase.cxx1
-rw-r--r--cui/source/dialogs/hyperdlg.src97
-rw-r--r--cui/source/dialogs/insdlg.cxx23
-rw-r--r--cui/source/dialogs/insrc.cxx1
-rw-r--r--cui/source/dialogs/linkdlg.cxx2
-rw-r--r--cui/source/dialogs/multipat.cxx1
-rw-r--r--cui/source/dialogs/multipat.src47
-rw-r--r--cui/source/dialogs/passwdomdlg.cxx1
-rw-r--r--cui/source/dialogs/passwdomdlg.src42
-rw-r--r--cui/source/dialogs/pastedlg.cxx7
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx1
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.src27
-rw-r--r--cui/source/dialogs/scriptdlg.cxx1
-rw-r--r--cui/source/dialogs/scriptdlg.src104
-rw-r--r--cui/source/dialogs/showcols.cxx2
-rw-r--r--cui/source/dialogs/srchxtra.cxx7
-rw-r--r--cui/source/dialogs/svuidlg.hrc30
-rw-r--r--cui/source/dialogs/svuidlg.src55
-rw-r--r--cui/source/dialogs/thesdlg.cxx1
-rw-r--r--cui/source/factory/cuiresmgr.cxx16
-rw-r--r--cui/source/factory/dlgfact.cxx1
-rw-r--r--cui/source/inc/border.hxx4
-rw-r--r--cui/source/inc/cuires.hrc340
-rw-r--r--cui/source/inc/dialmgr.hxx16
-rw-r--r--cui/source/inc/gallery.hrc28
-rw-r--r--cui/source/inc/macropg.hxx8
-rw-r--r--cui/source/inc/swpossizetabpage.hxx5
-rw-r--r--cui/source/inc/treeopt.hxx35
-rw-r--r--cui/source/options/cfgchart.cxx1
-rw-r--r--cui/source/options/connpooloptions.cxx1
-rw-r--r--cui/source/options/connpooloptions.src43
-rw-r--r--cui/source/options/dbregister.cxx2
-rw-r--r--cui/source/options/dbregister.src32
-rw-r--r--cui/source/options/doclinkdialog.cxx1
-rw-r--r--cui/source/options/doclinkdialog.src42
-rw-r--r--cui/source/options/optchart.src32
-rw-r--r--cui/source/options/optcolor.cxx2
-rw-r--r--cui/source/options/optcolor.src41
-rw-r--r--cui/source/options/optdict.cxx3
-rw-r--r--cui/source/options/optdict.src38
-rw-r--r--cui/source/options/optfltr.cxx1
-rw-r--r--cui/source/options/optfltr.src51
-rw-r--r--cui/source/options/optinet2.cxx1
-rw-r--r--cui/source/options/optinet2.src29
-rw-r--r--cui/source/options/optjava.cxx1
-rw-r--r--cui/source/options/optjava.src43
-rw-r--r--cui/source/options/optlingu.cxx1
-rw-r--r--cui/source/options/optlingu.src87
-rw-r--r--cui/source/options/optopencl.cxx1
-rw-r--r--cui/source/options/optpath.cxx79
-rw-r--r--cui/source/options/optpath.src120
-rw-r--r--cui/source/options/personalization.cxx10
-rw-r--r--cui/source/options/treeopt.cxx207
-rw-r--r--cui/source/options/treeopt.src177
-rw-r--r--cui/source/tabpages/align.cxx1
-rw-r--r--cui/source/tabpages/autocdlg.cxx1
-rw-r--r--cui/source/tabpages/backgrnd.cxx9
-rw-r--r--cui/source/tabpages/border.cxx8
-rw-r--r--cui/source/tabpages/border.src95
-rw-r--r--cui/source/tabpages/chardlg.cxx1
-rw-r--r--cui/source/tabpages/connect.cxx1
-rw-r--r--cui/source/tabpages/frmdirlbox.src61
-rw-r--r--cui/source/tabpages/grfpage.cxx1
-rw-r--r--cui/source/tabpages/measure.cxx10
-rw-r--r--cui/source/tabpages/numfmt.cxx1
-rw-r--r--cui/source/tabpages/numpages.cxx10
-rw-r--r--cui/source/tabpages/page.cxx2
-rw-r--r--cui/source/tabpages/paragrph.cxx1
-rw-r--r--cui/source/tabpages/strings.src195
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx12
-rw-r--r--cui/source/tabpages/tpbitmap.cxx4
-rw-r--r--cui/source/tabpages/tpcolor.cxx2
-rw-r--r--cui/source/tabpages/tpgradnt.cxx2
-rw-r--r--cui/source/tabpages/tphatch.cxx2
-rw-r--r--cui/source/tabpages/tpline.cxx2
-rw-r--r--cui/source/tabpages/tplnedef.cxx17
-rw-r--r--cui/source/tabpages/tplneend.cxx10
-rw-r--r--cui/source/tabpages/tppattern.cxx7
-rw-r--r--cui/uiconfig/ui/aboutconfigdialog.ui18
-rw-r--r--cui/uiconfig/ui/aboutconfigvaluedialog.ui6
-rw-r--r--cui/uiconfig/ui/aboutdialog.ui30
-rw-r--r--cui/uiconfig/ui/accelconfigpage.ui24
-rw-r--r--cui/uiconfig/ui/acorexceptpage.ui22
-rw-r--r--cui/uiconfig/ui/acoroptionspage.ui2
-rw-r--r--cui/uiconfig/ui/acorreplacepage.ui10
-rw-r--r--cui/uiconfig/ui/agingdialog.ui8
-rw-r--r--cui/uiconfig/ui/applyautofmtpage.ui12
-rw-r--r--cui/uiconfig/ui/applylocalizedpage.ui46
-rw-r--r--cui/uiconfig/ui/areadialog.ui10
-rw-r--r--cui/uiconfig/ui/areatabpage.ui14
-rw-r--r--cui/uiconfig/ui/asiantypography.ui10
-rw-r--r--cui/uiconfig/ui/assigncomponentdialog.ui6
-rw-r--r--cui/uiconfig/ui/autocorrectdialog.ui20
-rw-r--r--cui/uiconfig/ui/backgroundpage.ui38
-rw-r--r--cui/uiconfig/ui/baselinksdialog.ui34
-rw-r--r--cui/uiconfig/ui/bitmaptabpage.ui66
-rw-r--r--cui/uiconfig/ui/blackorwhitelistentrydialog.ui24
-rw-r--r--cui/uiconfig/ui/borderareatransparencydialog.ui10
-rw-r--r--cui/uiconfig/ui/borderbackgrounddialog.ui8
-rw-r--r--cui/uiconfig/ui/borderpage.ui46
-rw-r--r--cui/uiconfig/ui/breaknumberoption.ui10
-rw-r--r--cui/uiconfig/ui/calloutdialog.ui10
-rw-r--r--cui/uiconfig/ui/calloutpage.ui42
-rw-r--r--cui/uiconfig/ui/cellalignment.ui64
-rw-r--r--cui/uiconfig/ui/certdialog.ui18
-rw-r--r--cui/uiconfig/ui/charnamepage.ui42
-rw-r--r--cui/uiconfig/ui/colorconfigwin.ui108
-rw-r--r--cui/uiconfig/ui/colorpage.ui64
-rw-r--r--cui/uiconfig/ui/colorpickerdialog.ui32
-rw-r--r--cui/uiconfig/ui/comment.ui16
-rw-r--r--cui/uiconfig/ui/connectortabpage.ui26
-rw-r--r--cui/uiconfig/ui/connpooloptions.ui14
-rw-r--r--cui/uiconfig/ui/croppage.ui30
-rw-r--r--cui/uiconfig/ui/cuiimapdlg.ui14
-rw-r--r--cui/uiconfig/ui/customizedialog.ui14
-rw-r--r--cui/uiconfig/ui/databaselinkdialog.ui12
-rw-r--r--cui/uiconfig/ui/dbregisterpage.ui10
-rw-r--r--cui/uiconfig/ui/dimensionlinestabpage.ui32
-rw-r--r--cui/uiconfig/ui/distributiondialog.ui4
-rw-r--r--cui/uiconfig/ui/distributionpage.ui26
-rw-r--r--cui/uiconfig/ui/editdictionarydialog.ui16
-rw-r--r--cui/uiconfig/ui/editmodulesdialog.ui16
-rw-r--r--cui/uiconfig/ui/effectspage.ui112
-rw-r--r--cui/uiconfig/ui/embossdialog.ui8
-rw-r--r--cui/uiconfig/ui/eventassigndialog.ui4
-rw-r--r--cui/uiconfig/ui/eventassignpage.ui16
-rw-r--r--cui/uiconfig/ui/eventsconfigpage.ui14
-rw-r--r--cui/uiconfig/ui/fmsearchdialog.ui54
-rw-r--r--cui/uiconfig/ui/formatcellsdialog.ui12
-rw-r--r--cui/uiconfig/ui/formatnumberdialog.ui4
-rw-r--r--cui/uiconfig/ui/galleryapplyprogress.ui6
-rw-r--r--cui/uiconfig/ui/galleryfilespage.ui14
-rw-r--r--cui/uiconfig/ui/gallerygeneralpage.ui12
-rw-r--r--cui/uiconfig/ui/gallerysearchprogress.ui8
-rw-r--r--cui/uiconfig/ui/gallerythemedialog.ui8
-rw-r--r--cui/uiconfig/ui/gallerythemeiddialog.ui6
-rw-r--r--cui/uiconfig/ui/gallerytitledialog.ui6
-rw-r--r--cui/uiconfig/ui/galleryupdateprogress.ui6
-rw-r--r--cui/uiconfig/ui/gradientpage.ui40
-rw-r--r--cui/uiconfig/ui/hangulhanjaadddialog.ui8
-rw-r--r--cui/uiconfig/ui/hangulhanjaconversiondialog.ui46
-rw-r--r--cui/uiconfig/ui/hangulhanjaeditdictdialog.ui10
-rw-r--r--cui/uiconfig/ui/hangulhanjaoptdialog.ui18
-rw-r--r--cui/uiconfig/ui/hatchpage.ui28
-rw-r--r--cui/uiconfig/ui/hyperlinkdialog.ui8
-rw-r--r--cui/uiconfig/ui/hyperlinkdocpage.ui34
-rw-r--r--cui/uiconfig/ui/hyperlinkinternetpage.ui28
-rw-r--r--cui/uiconfig/ui/hyperlinkmailpage.ui24
-rw-r--r--cui/uiconfig/ui/hyperlinkmarkdialog.ui10
-rw-r--r--cui/uiconfig/ui/hyperlinknewdocpage.ui28
-rw-r--r--cui/uiconfig/ui/hyphenate.ui12
-rw-r--r--cui/uiconfig/ui/iconchangedialog.ui6
-rw-r--r--cui/uiconfig/ui/iconselectordialog.ui12
-rw-r--r--cui/uiconfig/ui/insertfloatingframe.ui34
-rw-r--r--cui/uiconfig/ui/insertoleobject.ui18
-rw-r--r--cui/uiconfig/ui/insertrowcolumn.ui14
-rw-r--r--cui/uiconfig/ui/javaclasspathdialog.ui12
-rw-r--r--cui/uiconfig/ui/javastartparametersdialog.ui16
-rw-r--r--cui/uiconfig/ui/linedialog.ui12
-rw-r--r--cui/uiconfig/ui/lineendstabpage.ui16
-rw-r--r--cui/uiconfig/ui/linestyletabpage.ui26
-rw-r--r--cui/uiconfig/ui/linetabpage.ui70
-rw-r--r--cui/uiconfig/ui/macroassigndialog.ui4
-rw-r--r--cui/uiconfig/ui/macroassignpage.ui16
-rw-r--r--cui/uiconfig/ui/macroselectordialog.ui20
-rw-r--r--cui/uiconfig/ui/menuassignpage.ui58
-rw-r--r--cui/uiconfig/ui/messbox.ui2
-rw-r--r--cui/uiconfig/ui/mosaicdialog.ui14
-rw-r--r--cui/uiconfig/ui/movemenu.ui12
-rw-r--r--cui/uiconfig/ui/multipathdialog.ui10
-rw-r--r--cui/uiconfig/ui/namedialog.ui4
-rw-r--r--cui/uiconfig/ui/newlibdialog.ui14
-rw-r--r--cui/uiconfig/ui/newtabledialog.ui8
-rw-r--r--cui/uiconfig/ui/newtoolbardialog.ui8
-rw-r--r--cui/uiconfig/ui/numberingformatpage.ui56
-rw-r--r--cui/uiconfig/ui/numberingoptionspage.ui74
-rw-r--r--cui/uiconfig/ui/numberingpositionpage.ui40
-rw-r--r--cui/uiconfig/ui/objectnamedialog.ui6
-rw-r--r--cui/uiconfig/ui/objecttitledescdialog.ui8
-rw-r--r--cui/uiconfig/ui/optaccessibilitypage.ui20
-rw-r--r--cui/uiconfig/ui/optadvancedpage.ui34
-rw-r--r--cui/uiconfig/ui/optappearancepage.ui16
-rw-r--r--cui/uiconfig/ui/optasianpage.ui28
-rw-r--r--cui/uiconfig/ui/optbasicidepage.ui20
-rw-r--r--cui/uiconfig/ui/optchartcolorspage.ui8
-rw-r--r--cui/uiconfig/ui/optctlpage.ui30
-rw-r--r--cui/uiconfig/ui/optemailpage.ui12
-rw-r--r--cui/uiconfig/ui/optfltrembedpage.ui16
-rw-r--r--cui/uiconfig/ui/optfltrpage.ui24
-rw-r--r--cui/uiconfig/ui/optfontspage.ui28
-rw-r--r--cui/uiconfig/ui/optgeneralpage.ui28
-rw-r--r--cui/uiconfig/ui/opthtmlpage.ui38
-rw-r--r--cui/uiconfig/ui/optionsdialog.ui4
-rw-r--r--cui/uiconfig/ui/optjsearchpage.ui44
-rw-r--r--cui/uiconfig/ui/optlanguagespage.ui30
-rw-r--r--cui/uiconfig/ui/optlingupage.ui28
-rw-r--r--cui/uiconfig/ui/optmemorypage.ui26
-rw-r--r--cui/uiconfig/ui/optnewdictionarydialog.ui12
-rw-r--r--cui/uiconfig/ui/optonlineupdatepage.ui32
-rw-r--r--cui/uiconfig/ui/optopenclpage.ui12
-rw-r--r--cui/uiconfig/ui/optpathspage.ui14
-rw-r--r--cui/uiconfig/ui/optproxypage.ui28
-rw-r--r--cui/uiconfig/ui/optsavepage.ui58
-rw-r--r--cui/uiconfig/ui/optsecuritypage.ui40
-rw-r--r--cui/uiconfig/ui/optuserpage.ui78
-rw-r--r--cui/uiconfig/ui/optviewpage.ui114
-rw-r--r--cui/uiconfig/ui/pageformatpage.ui62
-rw-r--r--cui/uiconfig/ui/paragalignpage.ui50
-rw-r--r--cui/uiconfig/ui/paraindentspacing.ui46
-rw-r--r--cui/uiconfig/ui/paratabspage.ui40
-rw-r--r--cui/uiconfig/ui/password.ui22
-rw-r--r--cui/uiconfig/ui/pastespecial.ui8
-rw-r--r--cui/uiconfig/ui/patterntabpage.ui20
-rw-r--r--cui/uiconfig/ui/percentdialog.ui6
-rw-r--r--cui/uiconfig/ui/personalization_tab.ui14
-rw-r--r--cui/uiconfig/ui/pickbulletpage.ui4
-rw-r--r--cui/uiconfig/ui/pickgraphicpage.ui8
-rw-r--r--cui/uiconfig/ui/picknumberingpage.ui4
-rw-r--r--cui/uiconfig/ui/pickoutlinepage.ui4
-rw-r--r--cui/uiconfig/ui/positionpage.ui36
-rw-r--r--cui/uiconfig/ui/positionsizedialog.ui12
-rw-r--r--cui/uiconfig/ui/possizetabpage.ui32
-rw-r--r--cui/uiconfig/ui/posterdialog.ui8
-rw-r--r--cui/uiconfig/ui/querychangelineenddialog.ui8
-rw-r--r--cui/uiconfig/ui/querydeletebitmapdialog.ui6
-rw-r--r--cui/uiconfig/ui/querydeletechartcolordialog.ui8
-rw-r--r--cui/uiconfig/ui/querydeletecolordialog.ui6
-rw-r--r--cui/uiconfig/ui/querydeletedictionarydialog.ui8
-rw-r--r--cui/uiconfig/ui/querydeletegradientdialog.ui6
-rw-r--r--cui/uiconfig/ui/querydeletehatchdialog.ui6
-rw-r--r--cui/uiconfig/ui/querydeletelineenddialog.ui8
-rw-r--r--cui/uiconfig/ui/querydeletelinestyledialog.ui6
-rw-r--r--cui/uiconfig/ui/queryduplicatedialog.ui8
-rw-r--r--cui/uiconfig/ui/querynoloadedfiledialog.ui6
-rw-r--r--cui/uiconfig/ui/querynosavefiledialog.ui6
-rw-r--r--cui/uiconfig/ui/querysavelistdialog.ui8
-rw-r--r--cui/uiconfig/ui/queryupdategalleryfilelistdialog.ui6
-rw-r--r--cui/uiconfig/ui/recordnumberdialog.ui6
-rw-r--r--cui/uiconfig/ui/rotationtabpage.ui20
-rw-r--r--cui/uiconfig/ui/screenshotannotationdialog.ui10
-rw-r--r--cui/uiconfig/ui/scriptorganizer.ui14
-rw-r--r--cui/uiconfig/ui/searchattrdialog.ui4
-rw-r--r--cui/uiconfig/ui/searchformatdialog.ui22
-rw-r--r--cui/uiconfig/ui/securityoptionsdialog.ui26
-rw-r--r--cui/uiconfig/ui/select_persona_dialog.ui10
-rw-r--r--cui/uiconfig/ui/selectpathdialog.ui8
-rw-r--r--cui/uiconfig/ui/shadowtabpage.ui14
-rw-r--r--cui/uiconfig/ui/showcoldialog.ui6
-rw-r--r--cui/uiconfig/ui/similaritysearchdialog.ui12
-rw-r--r--cui/uiconfig/ui/slantcornertabpage.ui22
-rw-r--r--cui/uiconfig/ui/smarttagoptionspage.ui8
-rw-r--r--cui/uiconfig/ui/smoothdialog.ui8
-rw-r--r--cui/uiconfig/ui/solarizedialog.ui10
-rw-r--r--cui/uiconfig/ui/specialcharacters.ui16
-rw-r--r--cui/uiconfig/ui/spellingdialog.ui42
-rw-r--r--cui/uiconfig/ui/spelloptionsdialog.ui4
-rw-r--r--cui/uiconfig/ui/splitcellsdialog.ui16
-rw-r--r--cui/uiconfig/ui/storedwebconnectiondialog.ui14
-rw-r--r--cui/uiconfig/ui/swpossizepage.ui46
-rw-r--r--cui/uiconfig/ui/textanimtabpage.ui50
-rw-r--r--cui/uiconfig/ui/textattrtabpage.ui32
-rw-r--r--cui/uiconfig/ui/textdialog.ui8
-rw-r--r--cui/uiconfig/ui/textflowpage.ui48
-rw-r--r--cui/uiconfig/ui/thesaurus.ui12
-rw-r--r--cui/uiconfig/ui/transparencytabpage.ui40
-rw-r--r--cui/uiconfig/ui/tsaurldialog.ui14
-rw-r--r--cui/uiconfig/ui/twolinespage.ui38
-rw-r--r--cui/uiconfig/ui/wordcompletionpage.ui20
-rw-r--r--cui/uiconfig/ui/zoomdialog.ui30
296 files changed, 2945 insertions, 5126 deletions
diff --git a/cui/AllLangMoTarget_cui.mk b/cui/AllLangMoTarget_cui.mk
new file mode 100644
index 000000000000..a21f043c4ffb
--- /dev/null
+++ b/cui/AllLangMoTarget_cui.mk
@@ -0,0 +1,11 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,cui))
+
+# vim: set noet sw=4 ts=4:
diff --git a/cui/AllLangResTarget_cui.mk b/cui/AllLangResTarget_cui.mk
deleted file mode 100644
index ac6db418161b..000000000000
--- a/cui/AllLangResTarget_cui.mk
+++ /dev/null
@@ -1,55 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-$(eval $(call gb_AllLangResTarget_AllLangResTarget,cui))
-
-$(eval $(call gb_AllLangResTarget_set_reslocation,cui,svx))
-
-$(eval $(call gb_AllLangResTarget_add_srs,cui,\
- cui/res \
-))
-
-$(eval $(call gb_SrsTarget_SrsTarget,cui/res))
-
-$(eval $(call gb_SrsTarget_set_include,cui/res,\
- $$(INCLUDE) \
- -I$(SRCDIR)/cui/source/inc \
-))
-
-$(eval $(call gb_SrsTarget_add_files,cui/res,\
- cui/source/customize/cfg.src \
- cui/source/customize/macropg.src \
- cui/source/dialogs/cuires.src \
- cui/source/dialogs/fmsearch.src \
- cui/source/dialogs/gallery.src \
- cui/source/dialogs/hyperdlg.src \
- cui/source/dialogs/multipat.src \
- cui/source/dialogs/passwdomdlg.src \
- cui/source/dialogs/screenshotannotationdlg.src \
- cui/source/dialogs/scriptdlg.src \
- cui/source/dialogs/svuidlg.src \
- cui/source/options/connpooloptions.src \
- cui/source/options/dbregister.src \
- cui/source/options/doclinkdialog.src \
- cui/source/options/optchart.src \
- cui/source/options/optcolor.src \
- cui/source/options/optdict.src \
- cui/source/options/optfltr.src \
- cui/source/options/optinet2.src \
- cui/source/options/optjava.src \
- cui/source/options/optlingu.src \
- cui/source/options/optpath.src \
- cui/source/options/personalization.src \
- cui/source/options/treeopt.src \
- cui/source/tabpages/border.src \
- cui/source/tabpages/frmdirlbox.src \
- cui/source/tabpages/strings.src \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/cui/Library_cui.mk b/cui/Library_cui.mk
index e308679ae69e..2f3bd0d5881b 100644
--- a/cui/Library_cui.mk
+++ b/cui/Library_cui.mk
@@ -211,7 +211,4 @@ $(eval $(call gb_Library_add_exception_objects,cui,\
cui/source/uno/services \
))
-# Runtime dependency for unit-tests
-$(eval $(call gb_Library_use_restarget,cui,cui))
-
# vim: set noet sw=4 ts=4:
diff --git a/cui/Module_cui.mk b/cui/Module_cui.mk
index c174fb27bd17..888cd2a9f3cd 100644
--- a/cui/Module_cui.mk
+++ b/cui/Module_cui.mk
@@ -11,11 +11,11 @@ $(eval $(call gb_Module_Module,cui))
$(eval $(call gb_Module_add_targets,cui,\
Library_cui \
+ UIConfig_cui \
))
$(eval $(call gb_Module_add_l10n_targets,cui,\
- AllLangResTarget_cui \
- UIConfig_cui \
+ AllLangMoTarget_cui \
))
# screenshots
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx
index ab2431181cc1..9fb83399de3f 100644
--- a/cui/inc/pch/precompiled_cui.hxx
+++ b/cui/inc/pch/precompiled_cui.hxx
@@ -325,8 +325,6 @@
#include <o3tl/cow_wrapper.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <officecfg/Office/Common.hxx>
-#include <rsc/rsc-vcl-shared-types.hxx>
-#include <rsc/rscsfx.hxx>
#include <sfx2/app.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/dllapi.h>
@@ -459,7 +457,6 @@
#include <tools/multisel.hxx>
#include <tools/poly.hxx>
#include <tools/ref.hxx>
-#include <tools/resid.hxx>
#include <tools/resmgr.hxx>
#include <tools/solar.h>
#include <tools/stream.hxx>
diff --git a/cui/source/options/personalization.src b/cui/inc/personalization.hrc
index 5886a61c7464..c7bda2bed3a8 100644
--- a/cui/source/options/personalization.src
+++ b/cui/inc/personalization.hrc
@@ -16,50 +16,26 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#ifndef INCLUDED_CUI_INC_PERSONALIZATION_HRC
+#define INCLUDED_CUI_INC_PERSONALIZATION_HRC
-#include <cuires.hrc>
-
-String RID_SVXSTR_SELECTEDPERSONA
-{
- Text [ en-US ] = "Selected Theme: ";
-};
-
-String RID_SVXSTR_SEARCHING
-{
- Text [ en-US ] = "Searching, please wait...";
-};
-
-String RID_SVXSTR_SEARCHERROR
-{
- Text [ en-US ] = "Cannot open %1, please try again later.";
-};
-
-String RID_SVXSTR_NORESULTS
-{
- Text [ en-US ] = "No results found.";
-};
-
-String RID_SVXSTR_APPLYPERSONA
-{
- Text [ en-US ] = "Applying Theme...";
-};
+#define NC_(Context, String) (Context "\004" u8##String)
/*
* This string array must have exactly the same content
* and the same order as the m_vSuggestionCategories array
* in personalization.cxx file.
*/
-StringArray RID_SVXSTR_PERSONA_CATEGORIES
+const char* RID_SVXSTR_PERSONA_CATEGORIES[] =
{
- ItemList [en-US]=
- {
- < "LibreOffice" ; > ;
- < "Abstract" ; > ;
- < "Color" ; > ;
- < "Music" ; > ;
- < "Nature" ; > ;
- < "Solid" ; > ;
- };
+ NC_("RID_SVXSTR_PERSONA_CATEGORIES", "LibreOffice"),
+ NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Abstract"),
+ NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Color"),
+ NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Music"),
+ NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Nature"),
+ NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Solid")
};
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc
new file mode 100644
index 000000000000..2a82447321d3
--- /dev/null
+++ b/cui/inc/strings.hrc
@@ -0,0 +1,385 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef INCLUDED_CUI_INC_STRINGS_HRC
+#define INCLUDED_CUI_INC_STRINGS_HRC
+
+#define NC_(Context, String) (Context "\004" u8##String)
+
+#define RID_SVXSTR_KEY_CONFIG_DIR NC_("RID_SVXSTR_KEY_CONFIG_DIR", "Configuration")
+#define RID_SVXSTR_KEY_WORK_PATH NC_("RID_SVXSTR_KEY_WORK_PATH", "My Documents")
+#define RID_SVXSTR_KEY_GRAPHICS_PATH NC_("RID_SVXSTR_KEY_GRAPHICS_PATH", "Images")
+#define RID_SVXSTR_KEY_BITMAP_PATH NC_("RID_SVXSTR_KEY_BITMAP_PATH", "Icons")
+#define RID_SVXSTR_KEY_PALETTE_PATH NC_("RID_SVXSTR_KEY_PALETTE_PATH", "Palettes")
+#define RID_SVXSTR_KEY_BACKUP_PATH NC_("RID_SVXSTR_KEY_BACKUP_PATH", "Backups")
+#define RID_SVXSTR_KEY_MODULES_PATH NC_("RID_SVXSTR_KEY_MODULES_PATH", "Modules")
+#define RID_SVXSTR_KEY_TEMPLATE_PATH NC_("RID_SVXSTR_KEY_TEMPLATE_PATH", "Templates")
+#define RID_SVXSTR_KEY_GLOSSARY_PATH NC_("RID_SVXSTR_KEY_GLOSSARY_PATH", "AutoText")
+#define RID_SVXSTR_KEY_DICTIONARY_PATH NC_("RID_SVXSTR_KEY_DICTIONARY_PATH", "Dictionaries")
+#define RID_SVXSTR_KEY_HELP_DIR NC_("RID_SVXSTR_KEY_HELP_DIR", "Help")
+#define RID_SVXSTR_KEY_GALLERY_DIR NC_("RID_SVXSTR_KEY_GALLERY_DIR", "Gallery")
+#define RID_SVXSTR_KEY_STORAGE_DIR NC_("RID_SVXSTR_KEY_STORAGE_DIR", "Message Storage")
+#define RID_SVXSTR_KEY_TEMP_PATH NC_("RID_SVXSTR_KEY_TEMP_PATH", "Temporary files")
+#define RID_SVXSTR_KEY_PLUGINS_PATH NC_("RID_SVXSTR_KEY_PLUGINS_PATH", "Plug-ins")
+#define RID_SVXSTR_KEY_FAVORITES_DIR NC_("RID_SVXSTR_KEY_FAVORITES_DIR", "Folder Bookmarks")
+#define RID_SVXSTR_KEY_FILTER_PATH NC_("RID_SVXSTR_KEY_FILTER_PATH", "Filters")
+#define RID_SVXSTR_KEY_ADDINS_PATH NC_("RID_SVXSTR_KEY_ADDINS_PATH", "Add-ins")
+#define RID_SVXSTR_KEY_USERCONFIG_PATH NC_("RID_SVXSTR_KEY_USERCONFIG_PATH", "User Configuration")
+#define RID_SVXSTR_KEY_USERDICTIONARY_DIR NC_("RID_SVXSTR_KEY_USERDICTIONARY_DIR", "User-defined dictionaries")
+#define RID_SVXSTR_KEY_CLASSIFICATION_PATH NC_("RID_SVXSTR_KEY_CLASSIFICATION_PATH", "Classification")
+#define RID_SVXSTR_KEY_AUTOCORRECT_DIR NC_("RID_SVXSTR_KEY_AUTOCORRECT_DIR", "AutoCorrect")
+#define RID_SVXSTR_KEY_LINGUISTIC_DIR NC_("RID_SVXSTR_KEY_LINGUISTIC_DIR", "Writing aids")
+/* %n will be replaced at runtime by a number starting with 1 and increasing as necessary */
+#define RID_SVXSTR_NEW_MENU NC_("RID_SVXSTR_NEW_MENU", "New Menu %n")
+/* %n will be replaced at runtime by a number starting with 1 and increasing as necessary */
+#define RID_SVXSTR_NEW_TOOLBAR NC_("RID_SVXSTR_NEW_TOOLBAR", "New Toolbar %n")
+#define RID_SVXSTR_MOVE_MENU NC_("RID_SVXSTR_MOVE_MENU", "Move Menu")
+#define RID_SVXSTR_ADD_SUBMENU NC_("RID_SVXSTR_ADD_SUBMENU", "Add Submenu")
+#define RID_SVXSTR_SUBMENU_NAME NC_("RID_SVXSTR_SUBMENU_NAME", "Submenu name")
+#define RID_SVXSTR_MENU_ADDCOMMANDS_DESCRIPTION NC_("RID_SVXSTR_MENU_ADDCOMMANDS_DESCRIPTION", "To add a command to a menu, select the category and then the command. You can also drag the command to the Commands list of the Menus tab page in the Customize dialog.")
+#define RID_SVXSTR_DELETE_ICON_CONFIRM NC_("RID_SVXSTR_DELETE_ICON_CONFIRM", "Are you sure to delete the image?")
+#define RID_SVXSTR_REPLACE_ICON_WARNING NC_("RID_SVXSTR_REPLACE_ICON_WARNING", "The icon %ICONNAME is already contained in the image list.\nWould you like to replace the existing icon?")
+#define RID_SVXSTR_REPLACE_ICON_CONFIRM NC_("RID_SVXSTR_REPLACE_ICON_CONFIRM", "Confirm Icon Replacement")
+#define RID_SVXSTR_YESTOALL NC_("RID_SVXSTR_YESTOALL", "Yes to All")
+#define RID_SVXSTR_PRODUCTNAME_TOOLBARS NC_("RID_SVXSTR_PRODUCTNAME_TOOLBARS", "%PRODUCTNAME %MODULENAME Toolbars")
+#define RID_SVXSTR_PRODUCTNAME_CONTEXTMENUS NC_("RID_SVXSTR_PRODUCTNAME_CONTEXTMENUS", "%PRODUCTNAME %MODULENAME Context Menus")
+#define RID_SVXSTR_TOOLBAR NC_("RID_SVXSTR_TOOLBAR", "Toolbar")
+#define RID_SVXSTR_TOOLBAR_CONTENT NC_("RID_SVXSTR_TOOLBAR_CONTENT", "Toolbar Content")
+#define RID_SVXSTR_COMMANDS NC_("RID_SVXSTR_COMMANDS", "Commands")
+#define RID_SXVSTR_CONFIRM_DELETE_TOOLBAR NC_("RID_SXVSTR_CONFIRM_DELETE_TOOLBAR", "There are no more commands on the toolbar. Do you want to delete the toolbar?")
+/* Translators: Do not translate %SAVE IN SELECTION% It is a placeholder
+ and will be replaced at runtime by the name of the selected application
+ or document.
+*/
+#define RID_SVXSTR_CONFIRM_MENU_RESET NC_("RID_SVXSTR_CONFIRM_MENU_RESET", "The menu configuration for %SAVE IN SELECTION% will be reset to the default settings. Do you want to continue?")
+#define RID_SVXSTR_CONFIRM_TOOLBAR_RESET NC_("RID_SVXSTR_CONFIRM_TOOLBAR_RESET", "The toolbar configuration for %SAVE IN SELECTION% will be reset to the default settings. Do you want to continue?")
+#define RID_SVXSTR_CONFIRM_RESTORE_DEFAULT NC_("RID_SVXSTR_CONFIRM_RESTORE_DEFAULT", "This will delete all changes previously made to this toolbar. Do you really want to reset the toolbar?")
+#define RID_SVXSTR_MNUCFG_ALREADY_INCLUDED NC_("RID_SVXSTR_MNUCFG_ALREADY_INCLUDED", "Function is already included in this popup.")
+#define RID_SVXSTR_LABEL_NEW_NAME NC_("RID_SVXSTR_LABEL_NEW_NAME", "~New name")
+#define RID_SVXSTR_RENAME_MENU NC_("RID_SVXSTR_RENAME_MENU", "Rename Menu")
+#define RID_SVXSTR_RENAME_TOOLBAR NC_("RID_SVXSTR_RENAME_TOOLBAR", "Rename Toolbar")
+
+#define RID_SVXSTR_HYPDLG_CLOSEBUT NC_("RID_SVXSTR_HYPDLG_CLOSEBUT", "Close")
+#define RID_SVXSTR_HYPDLG_MACROACT1 NC_("RID_SVXSTR_HYPDLG_MACROACT1", "Mouse over object")
+#define RID_SVXSTR_HYPDLG_MACROACT2 NC_("RID_SVXSTR_HYPDLG_MACROACT2", "Trigger hyperlink")
+#define RID_SVXSTR_HYPDLG_MACROACT3 NC_("RID_SVXSTR_HYPDLG_MACROACT3", "Mouse leaves object")
+#define RID_SVXSTR_HYPDLG_NOVALIDFILENAME NC_("RID_SVXSTR_HYPDLG_NOVALIDFILENAME", "Please type in a valid file name.")
+#define RID_SVXSTR_HYPERDLG_HLINETTP NC_("RID_SVXSTR_HYPERDLG_HLINETTP", "Internet")
+#define RID_SVXSTR_HYPERDLG_HLINETTP_HELP NC_("RID_SVXSTR_HYPERDLG_HLINETTP_HELP", "This is where you create a hyperlink to a Web page or FTP server connection.")
+#define RID_SVXSTR_HYPERDLG_HLMAILTP NC_("RID_SVXSTR_HYPERDLG_HLMAILTP", "Mail")
+#define RID_SVXSTR_HYPERDLG_HLMAILTP_HELP NC_("RID_SVXSTR_HYPERDLG_HLMAILTP_HELP", "This is where you create a hyperlink to an e-mail address.")
+#define RID_SVXSTR_HYPERDLG_HLDOCTP NC_("RID_SVXSTR_HYPERDLG_HLDOCTP", "Document")
+#define RID_SVXSTR_HYPERDLG_HLDOCTP_HELP NC_("RID_SVXSTR_HYPERDLG_HLDOCTP_HELP", "This is where you create a hyperlink to an existing document or a target within a document.")
+#define RID_SVXSTR_HYPERDLG_HLDOCNTP NC_("RID_SVXSTR_HYPERDLG_HLDOCNTP", "New Document")
+#define RID_SVXSTR_HYPERDLG_HLDOCNTP_HELP NC_("RID_SVXSTR_HYPERDLG_HLDOCNTP_HELP", "This is where you create a new document to which the new link points.")
+#define RID_SVXSTR_HYPERDLG_FORM_BUTTON NC_("RID_SVXSTR_HYPERDLG_FORM_BUTTON", "Button")
+#define RID_SVXSTR_HYPERDLG_FROM_TEXT NC_("RID_SVXSTR_HYPERDLG_FROM_TEXT", "Text")
+#define RID_SVXSTR_HYPERDLG_QUERYOVERWRITE NC_("RID_SVXSTR_HYPERDLG_QUERYOVERWRITE", "The file already exists. Overwrite?")
+
+#define RID_SVXSTR_ERR_TEXTNOTFOUND NC_("RID_SVXSTR_ERR_TEXTNOTFOUND", "No alternatives found.")
+#define RID_SVXSTR_SELECT_FILE_IFRAME NC_("RID_SVXSTR_SELECT_FILE_IFRAME", "Select File for Floating Frame")
+#define RID_SVXSTR_ALLFUNCTIONS NC_("RID_SVXSTR_ALLFUNCTIONS", "All categories")
+#define RID_SVXSTR_MYMACROS NC_("RID_SVXSTR_MYMACROS", "My Macros")
+#define RID_SVXSTR_PRODMACROS NC_("RID_SVXSTR_PRODMACROS", "%PRODUCTNAME Macros")
+#define RID_SVXSTR_SELECTOR_ADD_COMMANDS NC_("RID_SVXSTR_SELECTOR_ADD_COMMANDS", "Add Commands")
+#define RID_SVXSTR_SELECTOR_RUN NC_("RID_SVXSTR_SELECTOR_RUN", "Run")
+#define RID_SVXSTR_ROW NC_("RID_SVXSTR_ROW", "Insert Rows")
+#define RID_SVXSTR_REMOVE_FAVORITES NC_("RID_SVXSTR_REMOVE_FAVORITES", "Remove from Favorites")
+#define RID_SVXSTR_ADD_FAVORITES NC_("RID_SVXSTR_ADD_FAVORITES", "Add to Favorites")
+// PPI is pixel per inch, %1 is a number
+#define RID_SVXSTR_PPI NC_("RID_SVXSTR_PPI", "(%1 PPI)")
+#define RID_SVXSTR_COL NC_("RID_SVXSTR_COL", "Insert Columns")
+#define RID_SVXSTR_AUTO_ENTRY NC_("RID_SVXSTR_AUTO_ENTRY", "Automatic")
+#define RID_SVXSTR_EDIT_GRAPHIC NC_("RID_SVXSTR_EDIT_GRAPHIC", "Link")
+#define RID_SVXSTR_LOADACCELCONFIG NC_("RID_SVXSTR_LOADACCELCONFIG", "Load Keyboard Configuration")
+#define RID_SVXSTR_SAVEACCELCONFIG NC_("RID_SVXSTR_SAVEACCELCONFIG", "Save Keyboard Configuration")
+#define RID_SVXSTR_FILTERNAME_CFG NC_("RID_SVXSTR_FILTERNAME_CFG", "Configuration (*.cfg)")
+#define RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES NC_("RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES", "Targets do not exist in the document.")
+#define RID_SVXSTR_HYPDLG_ERR_LERR_DOCNOTOPEN NC_("RID_SVXSTR_HYPDLG_ERR_LERR_DOCNOTOPEN", "Couldn't open the document.")
+#define RID_SVXSTR_EDITHINT NC_("RID_SVXSTR_EDITHINT", "[Enter text here]")
+#define RID_SVXSTR_HANGUL NC_("RID_SVXSTR_HANGUL", "Hangul")
+#define RID_SVXSTR_HANJA NC_("RID_SVXSTR_HANJA", "Hanja")
+#define RID_SVXSTR_BASICMACROS NC_("RID_SVXSTR_BASICMACROS", "BASIC Macros")
+#define RID_SVXSTR_GROUP_STYLES NC_("RID_SVXSTR_GROUP_STYLES", "Styles")
+
+#define RID_SVXSTR_EVENT_STARTAPP NC_("RID_SVXSTR_EVENT_STARTAPP", "Start Application")
+#define RID_SVXSTR_EVENT_CLOSEAPP NC_("RID_SVXSTR_EVENT_CLOSEAPP", "Close Application")
+#define RID_SVXSTR_EVENT_NEWDOC NC_("RID_SVXSTR_EVENT_NEWDOC", "New Document")
+#define RID_SVXSTR_EVENT_CLOSEDOC NC_("RID_SVXSTR_EVENT_CLOSEDOC", "Document closed")
+#define RID_SVXSTR_EVENT_PREPARECLOSEDOC NC_("RID_SVXSTR_EVENT_PREPARECLOSEDOC", "Document is going to be closed")
+#define RID_SVXSTR_EVENT_OPENDOC NC_("RID_SVXSTR_EVENT_OPENDOC", "Open Document")
+#define RID_SVXSTR_EVENT_SAVEDOC NC_("RID_SVXSTR_EVENT_SAVEDOC", "Save Document")
+#define RID_SVXSTR_EVENT_SAVEASDOC NC_("RID_SVXSTR_EVENT_SAVEASDOC", "Save Document As")
+#define RID_SVXSTR_EVENT_SAVEDOCDONE NC_("RID_SVXSTR_EVENT_SAVEDOCDONE", "Document has been saved")
+#define RID_SVXSTR_EVENT_SAVEASDOCDONE NC_("RID_SVXSTR_EVENT_SAVEASDOCDONE", "Document has been saved as")
+#define RID_SVXSTR_EVENT_ACTIVATEDOC NC_("RID_SVXSTR_EVENT_ACTIVATEDOC", "Activate Document")
+#define RID_SVXSTR_EVENT_DEACTIVATEDOC NC_("RID_SVXSTR_EVENT_DEACTIVATEDOC", "Deactivate Document")
+#define RID_SVXSTR_EVENT_PRINTDOC NC_("RID_SVXSTR_EVENT_PRINTDOC", "Print Document")
+#define RID_SVXSTR_EVENT_MODIFYCHANGED NC_("RID_SVXSTR_EVENT_MODIFYCHANGED", "'Modified' status was changed")
+#define RID_SVXSTR_EVENT_MAILMERGE NC_("RID_SVXSTR_EVENT_MAILMERGE", "Printing of form letters started")
+#define RID_SVXSTR_EVENT_MAILMERGE_END NC_("RID_SVXSTR_EVENT_MAILMERGE_END", "Printing of form letters finished")
+#define RID_SVXSTR_EVENT_FIELDMERGE NC_("RID_SVXSTR_EVENT_FIELDMERGE", "Merging of form fields started")
+#define RID_SVXSTR_EVENT_FIELDMERGE_FINISHED NC_("RID_SVXSTR_EVENT_FIELDMERGE_FINISHED", "Merging of form fields finished")
+#define RID_SVXSTR_EVENT_PAGECOUNTCHANGE NC_("RID_SVXSTR_EVENT_PAGECOUNTCHANGE", "Changing the page count")
+#define RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED NC_("RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED", "Loaded a sub component")
+#define RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED NC_("RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED", "Closed a sub component")
+#define RID_SVXSTR_EVENT_APPROVEPARAMETER NC_("RID_SVXSTR_EVENT_APPROVEPARAMETER", "Fill parameters")
+#define RID_SVXSTR_EVENT_ACTIONPERFORMED NC_("RID_SVXSTR_EVENT_ACTIONPERFORMED", "Execute action")
+#define RID_SVXSTR_EVENT_AFTERUPDATE NC_("RID_SVXSTR_EVENT_AFTERUPDATE", "After updating")
+#define RID_SVXSTR_EVENT_BEFOREUPDATE NC_("RID_SVXSTR_EVENT_BEFOREUPDATE", "Before updating")
+#define RID_SVXSTR_EVENT_APPROVEROWCHANGE NC_("RID_SVXSTR_EVENT_APPROVEROWCHANGE", "Before record action")
+#define RID_SVXSTR_EVENT_ROWCHANGE NC_("RID_SVXSTR_EVENT_ROWCHANGE", "After record action")
+#define RID_SVXSTR_EVENT_CONFIRMDELETE NC_("RID_SVXSTR_EVENT_CONFIRMDELETE", "Confirm deletion")
+#define RID_SVXSTR_EVENT_ERROROCCURRED NC_("RID_SVXSTR_EVENT_ERROROCCURRED", "Error occurred")
+#define RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED NC_("RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED", "While adjusting")
+#define RID_SVXSTR_EVENT_FOCUSGAINED NC_("RID_SVXSTR_EVENT_FOCUSGAINED", "When receiving focus")
+#define RID_SVXSTR_EVENT_FOCUSLOST NC_("RID_SVXSTR_EVENT_FOCUSLOST", "When losing focus")
+#define RID_SVXSTR_EVENT_ITEMSTATECHANGED NC_("RID_SVXSTR_EVENT_ITEMSTATECHANGED", "Item status changed")
+#define RID_SVXSTR_EVENT_KEYTYPED NC_("RID_SVXSTR_EVENT_KEYTYPED", "Key pressed")
+#define RID_SVXSTR_EVENT_KEYUP NC_("RID_SVXSTR_EVENT_KEYUP", "Key released")
+#define RID_SVXSTR_EVENT_LOADED NC_("RID_SVXSTR_EVENT_LOADED", "When loading")
+#define RID_SVXSTR_EVENT_RELOADING NC_("RID_SVXSTR_EVENT_RELOADING", "Before reloading")
+#define RID_SVXSTR_EVENT_RELOADED NC_("RID_SVXSTR_EVENT_RELOADED", "When reloading")
+#define RID_SVXSTR_EVENT_MOUSEDRAGGED NC_("RID_SVXSTR_EVENT_MOUSEDRAGGED", "Mouse moved while key pressed")
+#define RID_SVXSTR_EVENT_MOUSEENTERED NC_("RID_SVXSTR_EVENT_MOUSEENTERED", "Mouse inside")
+#define RID_SVXSTR_EVENT_MOUSEEXITED NC_("RID_SVXSTR_EVENT_MOUSEEXITED", "Mouse outside")
+#define RID_SVXSTR_EVENT_MOUSEMOVED NC_("RID_SVXSTR_EVENT_MOUSEMOVED", "Mouse moved")
+#define RID_SVXSTR_EVENT_MOUSEPRESSED NC_("RID_SVXSTR_EVENT_MOUSEPRESSED", "Mouse button pressed")
+#define RID_SVXSTR_EVENT_MOUSERELEASED NC_("RID_SVXSTR_EVENT_MOUSERELEASED", "Mouse button released")
+#define RID_SVXSTR_EVENT_POSITIONING NC_("RID_SVXSTR_EVENT_POSITIONING", "Before record change")
+#define RID_SVXSTR_EVENT_POSITIONED NC_("RID_SVXSTR_EVENT_POSITIONED", "After record change")
+#define RID_SVXSTR_EVENT_RESETTED NC_("RID_SVXSTR_EVENT_RESETTED", "After resetting")
+#define RID_SVXSTR_EVENT_APPROVERESETTED NC_("RID_SVXSTR_EVENT_APPROVERESETTED", "Prior to reset")
+#define RID_SVXSTR_EVENT_APPROVEACTIONPERFORMED NC_("RID_SVXSTR_EVENT_APPROVEACTIONPERFORMED", "Approve action")
+#define RID_SVXSTR_EVENT_SUBMITTED NC_("RID_SVXSTR_EVENT_SUBMITTED", "Before submitting")
+#define RID_SVXSTR_EVENT_TEXTCHANGED NC_("RID_SVXSTR_EVENT_TEXTCHANGED", "Text modified")
+#define RID_SVXSTR_EVENT_UNLOADING NC_("RID_SVXSTR_EVENT_UNLOADING", "Before unloading")
+#define RID_SVXSTR_EVENT_UNLOADED NC_("RID_SVXSTR_EVENT_UNLOADED", "When unloading")
+#define RID_SVXSTR_EVENT_CHANGED NC_("RID_SVXSTR_EVENT_CHANGED", "Changed")
+#define RID_SVXSTR_EVENT_CREATEDOC NC_("RID_SVXSTR_EVENT_CREATEDOC", "Document created")
+#define RID_SVXSTR_EVENT_LOADDOCFINISHED NC_("RID_SVXSTR_EVENT_LOADDOCFINISHED", "Document loading finished")
+#define RID_SVXSTR_EVENT_SAVEDOCFAILED NC_("RID_SVXSTR_EVENT_SAVEDOCFAILED", "Saving of document failed")
+#define RID_SVXSTR_EVENT_SAVEASDOCFAILED NC_("RID_SVXSTR_EVENT_SAVEASDOCFAILED", "'Save as' has failed")
+#define RID_SVXSTR_EVENT_COPYTODOC NC_("RID_SVXSTR_EVENT_COPYTODOC", "Storing or exporting copy of document")
+#define RID_SVXSTR_EVENT_COPYTODOCDONE NC_("RID_SVXSTR_EVENT_COPYTODOCDONE", "Document copy has been created")
+#define RID_SVXSTR_EVENT_COPYTODOCFAILED NC_("RID_SVXSTR_EVENT_COPYTODOCFAILED", "Creating of document copy failed")
+#define RID_SVXSTR_EVENT_VIEWCREATED NC_("RID_SVXSTR_EVENT_VIEWCREATED", "View created")
+#define RID_SVXSTR_EVENT_PREPARECLOSEVIEW NC_("RID_SVXSTR_EVENT_PREPARECLOSEVIEW", "View is going to be closed")
+#define RID_SVXSTR_EVENT_CLOSEVIEW NC_("RID_SVXSTR_EVENT_CLOSEVIEW", "View closed")
+#define RID_SVXSTR_EVENT_TITLECHANGED NC_("RID_SVXSTR_EVENT_TITLECHANGED", "Document title changed")
+#define RID_SVXSTR_EVENT_SELECTIONCHANGED NC_("RID_SVXSTR_EVENT_SELECTIONCHANGED", "Selection changed")
+#define RID_SVXSTR_EVENT_DOUBLECLICK NC_("RID_SVXSTR_EVENT_DOUBLECLICK", "Double click")
+#define RID_SVXSTR_EVENT_RIGHTCLICK NC_("RID_SVXSTR_EVENT_RIGHTCLICK", "Right click")
+#define RID_SVXSTR_EVENT_CALCULATE NC_("RID_SVXSTR_EVENT_CALCULATE", "Formulas calculated")
+#define RID_SVXSTR_EVENT_CONTENTCHANGED NC_("RID_SVXSTR_EVENT_CONTENTCHANGED", "Content changed")
+
+#define RID_STR_SEARCH_ANYWHERE NC_("RID_STR_SEARCH_ANYWHERE", "anywhere in the field")
+#define RID_STR_SEARCH_BEGINNING NC_("RID_STR_SEARCH_BEGINNING", "beginning of field")
+#define RID_STR_SEARCH_END NC_("RID_STR_SEARCH_END", "end of field")
+#define RID_STR_SEARCH_WHOLE NC_("RID_STR_SEARCH_WHOLE", "entire field")
+#define RID_STR_FROM_TOP NC_("RID_STR_FROM_TOP", "From top")
+#define RID_STR_FROM_BOTTOM NC_("RID_STR_FROM_BOTTOM", "From bottom")
+#define RID_STR_SEARCH_NORECORD NC_("RID_STR_SEARCH_NORECORD", "No records corresponding to your data found.")
+#define RID_STR_SEARCH_GENERAL_ERROR NC_("RID_STR_SEARCH_GENERAL_ERROR", "An unknown error occurred. The search could not be finished.")
+#define RID_STR_OVERFLOW_FORWARD NC_("RID_STR_OVERFLOW_FORWARD", "Overflow, search continued at the beginning")
+#define RID_STR_OVERFLOW_BACKWARD NC_("RID_STR_OVERFLOW_BACKWARD", "Overflow, search continued at the end")
+#define RID_STR_SEARCH_COUNTING NC_("RID_STR_SEARCH_COUNTING", "counting records")
+
+#define RID_SVXSTR_GALLERY_NOFILES NC_("RID_SVXSTR_GALLERY_NOFILES", "<No Files>")
+#define RID_SVXSTR_GALLERYPROPS_OBJECT NC_("RID_SVXSTR_GALLERYPROPS_OBJECT", "Object;Objects")
+#define RID_SVXSTR_GALLERY_READONLY NC_("RID_SVXSTR_GALLERY_READONLY", "(read-only)")
+#define RID_SVXSTR_GALLERY_ALLFILES NC_("RID_SVXSTR_GALLERY_ALLFILES", "<All Files>")
+#define RID_SVXSTR_GALLERY_ID_EXISTS NC_("RID_SVXSTR_GALLERY_ID_EXISTS", "This ID already exists...")
+
+#define RID_MULTIPATH_DBL_ERR NC_("RID_MULTIPATH_DBL_ERR", "The path %1 already exists.")
+#define RID_SVXSTR_ARCHIVE_TITLE NC_("RID_SVXSTR_ARCHIVE_TITLE", "Select Archives")
+#define RID_SVXSTR_ARCHIVE_HEADLINE NC_("RID_SVXSTR_ARCHIVE_HEADLINE", "Archives")
+#define RID_SVXSTR_MULTIFILE_DBL_ERR NC_("RID_SVXSTR_MULTIFILE_DBL_ERR", "The file %1 already exists.")
+#define RID_SVXSTR_ADD_IMAGE NC_("RID_SVXSTR_ADD_IMAGE", "Add Image")
+
+#define RID_SVXSTR_ONE_PASSWORD_MISMATCH NC_("RID_SVXSTR_ONE_PASSWORD_MISMATCH", "The confirmation password did not match the password. Set the password again by entering the same password in both boxes.")
+#define RID_SVXSTR_TWO_PASSWORDS_MISMATCH NC_("RID_SVXSTR_TWO_PASSWORDS_MISMATCH", "The confirmation passwords did not match the original passwords. Set the passwords again.")
+#define RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON NC_("RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON", "Please enter a password to open or to modify, or check the open read-only option to continue.")
+#define RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON_V2 NC_("RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON_V2", "Set the password by entering the same password in both boxes.")
+
+#define STR_AUTOLINK NC_("STR_AUTOLINK", "Automatic")
+#define STR_MANUALLINK NC_("STR_MANUALLINK", "Manual")
+#define STR_BROKENLINK NC_("STR_BROKENLINK", "Not available")
+#define STR_CLOSELINKMSG NC_("STR_CLOSELINKMSG", "Are you sure you want to remove the selected link?")
+#define STR_CLOSELINKMSG_MULTI NC_("STR_CLOSELINKMSG_MULTI", "Are you sure you want to remove the selected link?")
+#define STR_WAITINGLINK NC_("STR_WAITINGLINK", "Waiting")
+
+#define RID_SVXSTR_SAVE_SCREENSHOT_AS NC_("RID_SVXSTR_SAVE_SCREENSHOT_AS", "Save Screenshot As...")
+
+// $(ROW) can be a number or the caption of the row in quotes
+#define RID_SVXSTR_DIAGRAM_ROW NC_("RID_SVXSTR_DIAGRAM_ROW", "Data Series $(ROW)")
+
+#define RID_SVXSTR_DRIVER_NAME NC_("RID_SVXSTR_DRIVER_NAME", "Driver name")
+#define RID_SVXSTR_POOLED_FLAG NC_("RID_SVXSTR_POOLED_FLAG", "Pool")
+#define RID_SVXSTR_POOL_TIMEOUT NC_("RID_SVXSTR_POOL_TIMEOUT", "Timeout")
+#define RID_SVXSTR_YES NC_("RID_SVXSTR_YES", "Yes")
+#define RID_SVXSTR_NO NC_("RID_SVXSTR_NO", "No")
+
+#define STR_LINKEDDOC_DOESNOTEXIST NC_("STR_LINKEDDOC_DOESNOTEXIST", "The file\n$file$\ndoes not exist.")
+#define STR_LINKEDDOC_NO_SYSTEM_FILE NC_("STR_LINKEDDOC_NO_SYSTEM_FILE", "The file\n$file$\ndoes not exist in the local file system.")
+#define STR_NAME_CONFLICT NC_("STR_NAME_CONFLICT", "The name '$file$' is already used for another database.\nPlease choose a different name.")
+#define RID_SVXSTR_QUERY_DELETE_CONFIRM NC_("RID_SVXSTR_QUERY_DELETE_CONFIRM", "Do you want to delete the entry?")
+
+#define RID_SVXSTR_DELQUERY NC_("RID_SVXSTR_DELQUERY", "Do you want to delete the following object?")
+#define RID_SVXSTR_DELQUERY_TITLE NC_("RID_SVXSTR_DELQUERY_TITLE", "Confirm Deletion")
+#define RID_SVXSTR_DELFAILED NC_("RID_SVXSTR_DELFAILED", "The selected object could not be deleted.")
+#define RID_SVXSTR_DELFAILED_TITLE NC_("RID_SVXSTR_DELFAILED_TITLE", "Error Deleting Object")
+#define RID_SVXSTR_CREATEFAILED NC_("RID_SVXSTR_CREATEFAILED", "The object could not be created.")
+#define RID_SVXSTR_CREATEFAILEDDUP NC_("RID_SVXSTR_CREATEFAILEDDUP", " Object with the same name already exists.")
+#define RID_SVXSTR_CREATEFAILED_TITLE NC_("RID_SVXSTR_CREATEFAILED_TITLE", "Error Creating Object")
+#define RID_SVXSTR_RENAMEFAILED NC_("RID_SVXSTR_RENAMEFAILED", "The object could not be renamed.")
+#define RID_SVXSTR_RENAMEFAILED_TITLE NC_("RID_SVXSTR_RENAMEFAILED_TITLE", "Error Renaming Object")
+#define RID_SVXSTR_ERROR_TITLE NC_("RID_SVXSTR_ERROR_TITLE", "%PRODUCTNAME Error")
+#define RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED NC_("RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED", "The scripting language %LANGUAGENAME is not supported.")
+#define RID_SVXSTR_ERROR_RUNNING NC_("RID_SVXSTR_ERROR_RUNNING", "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME.")
+#define RID_SVXSTR_EXCEPTION_RUNNING NC_("RID_SVXSTR_EXCEPTION_RUNNING", "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME.")
+#define RID_SVXSTR_ERROR_AT_LINE NC_("RID_SVXSTR_ERROR_AT_LINE", "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.")
+#define RID_SVXSTR_EXCEPTION_AT_LINE NC_("RID_SVXSTR_EXCEPTION_AT_LINE", "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.")
+#define RID_SVXSTR_FRAMEWORK_ERROR_RUNNING NC_("RID_SVXSTR_FRAMEWORK_ERROR_RUNNING", "A Scripting Framework error occurred while running the %LANGUAGENAME script %SCRIPTNAME.")
+#define RID_SVXSTR_ERROR_TYPE_LABEL NC_("RID_SVXSTR_ERROR_TYPE_LABEL", "Type:")
+#define RID_SVXSTR_ERROR_MESSAGE_LABEL NC_("RID_SVXSTR_ERROR_MESSAGE_LABEL", "Message:")
+
+#define RID_SVXSTR_TYPE NC_("RID_SVXSTR_TYPE", "Registered name")
+#define RID_SVXSTR_PATH NC_("RID_SVXSTR_PATH", "Database file")
+
+//abbreviation for "[Load]"
+#define RID_SVXSTR_HEADER1 NC_("RID_SVXSTR_HEADER1", "[L]")
+//abbreviation for "[Save]"
+#define RID_SVXSTR_HEADER2 NC_("RID_SVXSTR_HEADER2", "[S]")
+#define RID_SVXSTR_CHG_MATH NC_("RID_SVXSTR_CHG_MATH", "MathType to %PRODUCTNAME Math or reverse")
+#define RID_SVXSTR_CHG_WRITER NC_("RID_SVXSTR_CHG_WRITER", "WinWord to %PRODUCTNAME Writer or reverse")
+#define RID_SVXSTR_CHG_CALC NC_("RID_SVXSTR_CHG_CALC", "Excel to %PRODUCTNAME Calc or reverse")
+#define RID_SVXSTR_CHG_IMPRESS NC_("RID_SVXSTR_CHG_IMPRESS", "PowerPoint to %PRODUCTNAME Impress or reverse")
+#define RID_SVXSTR_CHG_SMARTART NC_("RID_SVXSTR_CHG_SMARTART", "SmartArt to %PRODUCTNAME shapes or reverse")
+
+#define RID_SVXSTR_OPT_DOUBLE_DICTS NC_("RID_SVXSTR_OPT_DOUBLE_DICTS", "The specified name already exists.\nPlease enter a new name.")
+#define STR_MODIFY NC_("STR_MODIFY", "~Replace")
+#define RID_SVXSTR_CONFIRM_SET_LANGUAGE NC_("RID_SVXSTR_CONFIRM_SET_LANGUAGE", "Do you want to change the '%1' dictionary language?")
+
+#define RID_SVXSTR_COLOR_CONFIG_DELETE NC_("RID_SVXSTR_COLOR_CONFIG_DELETE", "Do you really want to delete the color scheme?")
+#define RID_SVXSTR_COLOR_CONFIG_DELETE_TITLE NC_("RID_SVXSTR_COLOR_CONFIG_DELETE_TITLE", "Color Scheme Deletion")
+#define RID_SVXSTR_COLOR_CONFIG_SAVE1 NC_("RID_SVXSTR_COLOR_CONFIG_SAVE1", "Save scheme")
+#define RID_SVXSTR_COLOR_CONFIG_SAVE2 NC_("RID_SVXSTR_COLOR_CONFIG_SAVE2", "Name of color scheme")
+
+#define RID_SVXSTR_SPELL NC_("RID_SVXSTR_SPELL", "Spelling")
+#define RID_SVXSTR_HYPH NC_("RID_SVXSTR_HYPH", "Hyphenation")
+#define RID_SVXSTR_THES NC_("RID_SVXSTR_THES", "Thesaurus")
+#define RID_SVXSTR_GRAMMAR NC_("RID_SVXSTR_GRAMMAR", "Grammar")
+#define RID_SVXSTR_CAPITAL_WORDS NC_("RID_SVXSTR_CAPITAL_WORDS", "Check uppercase words")
+#define RID_SVXSTR_WORDS_WITH_DIGITS NC_("RID_SVXSTR_WORDS_WITH_DIGITS", "Check words with numbers ")
+#define RID_SVXSTR_SPELL_SPECIAL NC_("RID_SVXSTR_SPELL_SPECIAL", "Check special regions")
+#define RID_SVXSTR_SPELL_AUTO NC_("RID_SVXSTR_SPELL_AUTO", "Check spelling as you type")
+#define RID_SVXSTR_GRAMMAR_AUTO NC_("RID_SVXSTR_GRAMMAR_AUTO", "Check grammar as you type")
+#define RID_SVXSTR_NUM_MIN_WORDLEN NC_("RID_SVXSTR_NUM_MIN_WORDLEN", "Minimal number of characters for hyphenation: ")
+#define RID_SVXSTR_NUM_PRE_BREAK NC_("RID_SVXSTR_NUM_PRE_BREAK", "Characters before line break: ")
+#define RID_SVXSTR_NUM_POST_BREAK NC_("RID_SVXSTR_NUM_POST_BREAK", "Characters after line break: ")
+#define RID_SVXSTR_HYPH_AUTO NC_("RID_SVXSTR_HYPH_AUTO", "Hyphenate without inquiry")
+#define RID_SVXSTR_HYPH_SPECIAL NC_("RID_SVXSTR_HYPH_SPECIAL", "Hyphenate special regions")
+
+#define RID_SVXSTR_JRE_NOT_RECOGNIZED NC_("RID_SVXSTR_JRE_NOT_RECOGNIZED", "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder.")
+#define RID_SVXSTR_JRE_FAILED_VERSION NC_("RID_SVXSTR_JRE_FAILED_VERSION", "The Java runtime environment you selected is not the required version.\nPlease select a different folder.")
+#define RID_SVXSTR_OPTIONS_RESTART NC_("RID_SVXSTR_OPTIONS_RESTART", "Please restart %PRODUCTNAME now so the new or modified values can take effect.")
+#define RID_SVXSTR_JAVA_START_PARAM NC_("RID_SVXSTR_JAVA_START_PARAM", "Edit Parameter")
+
+#define RID_SVXSTR_OPT_PROXYPORTS NC_("RID_SVXSTR_OPT_PROXYPORTS", "Invalid value!\n\nThe maximum value for a port number is 65535.")
+
+#define RID_SVXSTR_FRAMEDIR_LTR NC_("RID_SVXSTR_FRAMEDIR_LTR", "Left-to-right (LTR)")
+#define RID_SVXSTR_FRAMEDIR_RTL NC_("RID_SVXSTR_FRAMEDIR_RTL", "Right-to-left (RTL)")
+#define RID_SVXSTR_FRAMEDIR_SUPER NC_("RID_SVXSTR_FRAMEDIR_SUPER", "Use superordinate object settings")
+// page direction
+#define RID_SVXSTR_PAGEDIR_LTR_HORI NC_("RID_SVXSTR_PAGEDIR_LTR_HORI", "Left-to-right (horizontal)")
+#define RID_SVXSTR_PAGEDIR_RTL_HORI NC_("RID_SVXSTR_PAGEDIR_RTL_HORI", "Right-to-left (horizontal)")
+#define RID_SVXSTR_PAGEDIR_RTL_VERT NC_("RID_SVXSTR_PAGEDIR_RTL_VERT", "Right-to-left (vertical)")
+#define RID_SVXSTR_PAGEDIR_LTR_VERT NC_("RID_SVXSTR_PAGEDIR_LTR_VERT", "Left-to-right (vertical)")
+
+#define RID_SVXSTR_DESC_GRADIENT NC_("RID_SVXSTR_DESC_GRADIENT", "Please enter a name for the gradient:")
+#define RID_SVXSTR_DESC_NEW_BITMAP NC_("RID_SVXSTR_DESC_NEW_BITMAP", "Please enter a name for the bitmap:")
+#define RID_SVXSTR_DESC_EXT_BITMAP NC_("RID_SVXSTR_DESC_EXT_BITMAP", "Please enter a name for the external bitmap:")
+#define RID_SVXSTR_DESC_NEW_PATTERN NC_("RID_SVXSTR_DESC_NEW_PATTERN", "Please enter a name for the pattern:")
+#define RID_SVXSTR_DESC_LINESTYLE NC_("RID_SVXSTR_DESC_LINESTYLE", "Please enter a name for the line style:")
+#define RID_SVXSTR_ASK_CHANGE_LINESTYLE NC_("RID_SVXSTR_ASK_CHANGE_LINESTYLE", "The line style was modified without saving. \nModify the selected line style or add a new line style.")
+#define RID_SVXSTR_DESC_HATCH NC_("RID_SVXSTR_DESC_HATCH", "Please enter a name for the hatching:")
+#define RID_SVXSTR_CHANGE NC_("RID_SVXSTR_CHANGE", "Modify")
+#define RID_SVXSTR_ADD NC_("RID_SVXSTR_ADD", "Add")
+#define RID_SVXSTR_DESC_COLOR NC_("RID_SVXSTR_DESC_COLOR", "Please enter a name for the new color:")
+#define RID_SVXSTR_TABLE NC_("RID_SVXSTR_TABLE", "Table")
+#define RID_SVXSTR_DESC_LINEEND NC_("RID_SVXSTR_DESC_LINEEND", "Please enter a name for the new arrowhead:")
+#define RID_SVXSTR_CHARNAME_NOSTYLE NC_("RID_SVXSTR_CHARNAME_NOSTYLE", "No %1")
+#define RID_SVXSTR_CHARNAME_FAMILY NC_("RID_SVXSTR_CHARNAME_FAMILY", "Family")
+#define RID_SVXSTR_CHARNAME_FONT NC_("RID_SVXSTR_CHARNAME_FONT", "Font")
+#define RID_SVXSTR_CHARNAME_STYLE NC_("RID_SVXSTR_CHARNAME_STYLE", "Style")
+#define RID_SVXSTR_CHARNAME_TYPEFACE NC_("RID_SVXSTR_CHARNAME_TYPEFACE", "Typeface")
+#define RID_SVXSTR_CHARNAME_HIGHLIGHTING NC_("RID_SVXSTR_CHARNAME_HIGHLIGHTING", "Highlight Color")
+#define RID_SVXSTR_USE_REPLACE NC_("RID_SVXSTR_USE_REPLACE", "Use replacement table")
+#define RID_SVXSTR_CPTL_STT_WORD NC_("RID_SVXSTR_CPTL_STT_WORD", "Correct TWo INitial CApitals")
+#define RID_SVXSTR_CPTL_STT_SENT NC_("RID_SVXSTR_CPTL_STT_SENT", "Capitalize first letter of every sentence")
+#define RID_SVXSTR_BOLD_UNDER NC_("RID_SVXSTR_BOLD_UNDER", "Automatic *bold*, /italic/, -strikeout- and _underline_")
+#define RID_SVXSTR_NO_DBL_SPACES NC_("RID_SVXSTR_NO_DBL_SPACES", "Ignore double spaces")
+#define RID_SVXSTR_DETECT_URL NC_("RID_SVXSTR_DETECT_URL", "URL Recognition")
+#define RID_SVXSTR_DASH NC_("RID_SVXSTR_DASH", "Replace dashes")
+#define RID_SVXSTR_CORRECT_ACCIDENTAL_CAPS_LOCK NC_("RID_SVXSTR_CORRECT_ACCIDENTAL_CAPS_LOCK", "Correct accidental use of cAPS LOCK key")
+#define RID_SVXSTR_NON_BREAK_SPACE NC_("RID_SVXSTR_NON_BREAK_SPACE", "Add non-breaking space before specific punctuation marks in French text")
+#define RID_SVXSTR_ORDINAL NC_("RID_SVXSTR_ORDINAL", "Format ordinal numbers suffixes (1st -> 1^st)")
+#define RID_SVXSTR_DEL_EMPTY_PARA NC_("RID_SVXSTR_DEL_EMPTY_PARA", "Remove blank paragraphs")
+#define RID_SVXSTR_USER_STYLE NC_("RID_SVXSTR_USER_STYLE", "Replace Custom Styles")
+#define RID_SVXSTR_BULLET NC_("RID_SVXSTR_BULLET", "Replace bullets with: ")
+#define RID_SVXSTR_RIGHT_MARGIN NC_("RID_SVXSTR_RIGHT_MARGIN", "Combine single line paragraphs if length greater than")
+#define RID_SVXSTR_NUM NC_("RID_SVXSTR_NUM", "Bulleted and numbered lists. Bullet symbol: ")
+#define RID_SVXSTR_BORDER NC_("RID_SVXSTR_BORDER", "Apply border")
+#define RID_SVXSTR_CREATE_TABLE NC_("RID_SVXSTR_CREATE_TABLE", "Create table")
+#define RID_SVXSTR_REPLACE_TEMPLATES NC_("RID_SVXSTR_REPLACE_TEMPLATES", "Apply Styles")
+#define RID_SVXSTR_DEL_SPACES_AT_STT_END NC_("RID_SVXSTR_DEL_SPACES_AT_STT_END", "Delete spaces and tabs at beginning and end of paragraph")
+#define RID_SVXSTR_DEL_SPACES_BETWEEN_LINES NC_("RID_SVXSTR_DEL_SPACES_BETWEEN_LINES", "Delete spaces and tabs at end and start of line")
+#define RID_SVXSTR_CONNECTOR NC_("RID_SVXSTR_CONNECTOR", "Connector")
+#define RID_SVXSTR_DIMENSION_LINE NC_("RID_SVXSTR_DIMENSION_LINE", "Dimension line")
+#define RID_SVXSTR_LOAD_ERROR NC_("RID_SVXSTR_LOAD_ERROR", "The selected module could not be loaded.")
+#define RID_SVXSTR_STARTQUOTE NC_("RID_SVXSTR_STARTQUOTE", "Start Quote")
+#define RID_SVXSTR_ENDQUOTE NC_("RID_SVXSTR_ENDQUOTE", "End Quote")
+
+#define RID_SVXSTR_SELECTEDPERSONA NC_("RID_SVXSTR_SELECTEDPERSONA", "Selected Theme: ")
+#define RID_SVXSTR_SEARCHING NC_("RID_SVXSTR_SEARCHING", "Searching, please wait...")
+#define RID_SVXSTR_SEARCHERROR NC_("RID_SVXSTR_SEARCHERROR", "Cannot open %1, please try again later.")
+#define RID_SVXSTR_NORESULTS NC_("RID_SVXSTR_NORESULTS", "No results found.")
+#define RID_SVXSTR_APPLYPERSONA NC_("RID_SVXSTR_APPLYPERSONA", "Applying Theme...")
+
+#define RID_SVXSTR_TABLE_PRESET_NONE NC_("RID_SVXSTR_TABLE_PRESET_NONE", "Set No Borders")
+#define RID_SVXSTR_TABLE_PRESET_ONLYOUTER NC_("RID_SVXSTR_TABLE_PRESET_ONLYOUTER", "Set Outer Border Only")
+#define RID_SVXSTR_TABLE_PRESET_OUTERHORI NC_("RID_SVXSTR_TABLE_PRESET_OUTERHORI", "Set Outer Border and Horizontal Lines")
+#define RID_SVXSTR_TABLE_PRESET_OUTERALL NC_("RID_SVXSTR_TABLE_PRESET_OUTERALL", "Set Outer Border and All Inner Lines")
+#define RID_SVXSTR_TABLE_PRESET_OUTERINNER NC_("RID_SVXSTR_TABLE_PRESET_OUTERINNER", "Set Outer Border Without Changing Inner Lines")
+#define RID_SVXSTR_PARA_PRESET_DIAGONAL NC_("RID_SVXSTR_PARA_PRESET_DIAGONAL", "Set Diagonal Lines Only")
+#define RID_SVXSTR_PARA_PRESET_ALL NC_("RID_SVXSTR_PARA_PRESET_ALL", "Set All Four Borders")
+#define RID_SVXSTR_PARA_PRESET_LEFTRIGHT NC_("RID_SVXSTR_PARA_PRESET_LEFTRIGHT", "Set Left and Right Borders Only")
+#define RID_SVXSTR_PARA_PRESET_TOPBOTTOM NC_("RID_SVXSTR_PARA_PRESET_TOPBOTTOM", "Set Top and Bottom Borders Only")
+#define RID_SVXSTR_PARA_PRESET_ONLYLEFT NC_("RID_SVXSTR_PARA_PRESET_ONLYLEFT", "Set Left Border Only")
+#define RID_SVXSTR_HOR_PRESET_ONLYHOR NC_("RID_SVXSTR_HOR_PRESET_ONLYHOR", "Set Top and Bottom Borders, and All Inner Lines")
+#define RID_SVXSTR_VER_PRESET_ONLYVER NC_("RID_SVXSTR_VER_PRESET_ONLYVER", "Set Left and Right Borders, and All Inner Lines")
+#define RID_SVXSTR_SHADOW_STYLE_NONE NC_("RID_SVXSTR_SHADOW_STYLE_NONE", "No Shadow")
+#define RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT NC_("RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT", "Cast Shadow to Bottom Right")
+#define RID_SVXSTR_SHADOW_STYLE_TOPRIGHT NC_("RID_SVXSTR_SHADOW_STYLE_TOPRIGHT", "Cast Shadow to Top Right")
+#define RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT NC_("RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT", "Cast Shadow to Bottom Left")
+#define RID_SVXSTR_SHADOW_STYLE_TOPLEFT NC_("RID_SVXSTR_SHADOW_STYLE_TOPLEFT", "Cast Shadow to Top Left")
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/inc/strings.hxx b/cui/inc/strings.hxx
new file mode 100644
index 000000000000..76d7f06fa0b3
--- /dev/null
+++ b/cui/inc/strings.hxx
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_CUI_INC_STRINGS_HXX
+#define INCLUDED_CUI_INC_STRINGS_HXX
+
+#define RID_SVXSTR_KEY_BASIC_PATH "BASIC"
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/cui/inc/treeopt.hrc b/cui/inc/treeopt.hrc
new file mode 100644
index 000000000000..884a2543e543
--- /dev/null
+++ b/cui/inc/treeopt.hrc
@@ -0,0 +1,155 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_CUI_INC_TREEOPT_HRC
+#define INCLUDED_CUI_INC_TREEOPT_HRC
+
+#define NC_(Context, String) (Context "\004" u8##String)
+
+const std::pair<const char*, sal_uInt16> SID_GENERAL_OPTIONS_RES[] =
+{
+ { NC_("SID_GENERAL_OPTIONS_RES", "%PRODUCTNAME"), 0 },
+ { NC_("SID_GENERAL_OPTIONS_RES", "User Data"), RID_SFXPAGE_GENERAL },
+ { NC_("SID_GENERAL_OPTIONS_RES", "General"), OFA_TP_MISC },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Memory"), OFA_TP_MEMORY },
+ { NC_("SID_GENERAL_OPTIONS_RES", "View"), OFA_TP_VIEW },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Print"), RID_SFXPAGE_PRINTOPTIONS },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Paths"), RID_SFXPAGE_PATH },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Fonts"), RID_SVX_FONT_SUBSTITUTION },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Security"), RID_SVXPAGE_INET_SECURITY },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Personalization"), RID_SVXPAGE_PERSONALIZATION },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Application Colors"), RID_SVXPAGE_COLORCONFIG },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Accessibility"), RID_SVXPAGE_ACCESSIBILITYCONFIG },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Advanced"), RID_SVXPAGE_OPTIONS_JAVA },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Basic IDE Options"), RID_SVXPAGE_BASICIDE_OPTIONS },
+ { NC_("SID_GENERAL_OPTIONS_RES", "Online Update"), RID_SVXPAGE_ONLINEUPDATE },
+ { NC_("SID_GENERAL_OPTIONS_RES", "OpenCL"), RID_SVXPAGE_OPENCL }
+};
+
+const std::pair<const char*, sal_uInt16> SID_LANGUAGE_OPTIONS_RES[] =
+{
+ { NC_("SID_LANGUAGE_OPTIONS_RES", "Language Settings"), 0 },
+ { NC_("SID_LANGUAGE_OPTIONS_RES", "Languages"), OFA_TP_LANGUAGES },
+ { NC_("SID_LANGUAGE_OPTIONS_RES", "Writing Aids"), RID_SFXPAGE_LINGU },
+ { NC_("SID_LANGUAGE_OPTIONS_RES", "Searching in Japanese"), RID_SVXPAGE_JSEARCH_OPTIONS },
+ { NC_("SID_LANGUAGE_OPTIONS_RES", "Asian Layout"), RID_SVXPAGE_ASIAN_LAYOUT },
+ { NC_("SID_LANGUAGE_OPTIONS_RES", "Complex Text Layout"), RID_SVXPAGE_OPTIONS_CTL }
+};
+
+const std::pair<const char*, sal_uInt16> SID_INET_DLG_RES[] =
+{
+ { NC_("SID_INET_DLG_RES", "Internet"), 0 },
+ { NC_("SID_INET_DLG_RES", "Proxy"), RID_SVXPAGE_INET_PROXY },
+ { NC_("SID_INET_DLG_RES", "E-mail"), RID_SVXPAGE_INET_MAIL }
+};
+
+const std::pair<const char*, sal_uInt16> SID_SW_EDITOPTIONS_RES[] =
+{
+ { NC_("SID_SW_EDITOPTIONS_RES", "%PRODUCTNAME Writer"), 0 },
+ { NC_("SID_SW_EDITOPTIONS_RES", "General"), RID_SW_TP_OPTLOAD_PAGE },
+ { NC_("SID_SW_EDITOPTIONS_RES", "View"), RID_SW_TP_CONTENT_OPT },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Formatting Aids"), RID_SW_TP_OPTSHDWCRSR },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Grid"), RID_SVXPAGE_GRID },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Basic Fonts (Western)"),RID_SW_TP_STD_FONT },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Basic Fonts (Asian)"),RID_SW_TP_STD_FONT_CJK },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Basic Fonts (CTL)"), RID_SW_TP_STD_FONT_CTL },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Print"), RID_SW_TP_OPTPRINT_PAGE },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Table"), RID_SW_TP_OPTTABLE_PAGE },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Changes"), RID_SW_TP_REDLINE_OPT },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Comparison"), RID_SW_TP_COMPARISON_OPT },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Compatibility"), RID_SW_TP_OPTCOMPATIBILITY_PAGE },
+ { NC_("SID_SW_EDITOPTIONS_RES", "AutoCaption"), RID_SW_TP_OPTCAPTION_PAGE },
+ { NC_("SID_SW_EDITOPTIONS_RES", "Mail Merge E-mail"), RID_SW_TP_MAILCONFIG }
+};
+
+const std::pair<const char*, sal_uInt16> SID_SW_ONLINEOPTIONS_RES[] =
+{
+ { NC_("SID_SW_ONLINEOPTIONS_RES", "%PRODUCTNAME Writer/Web"), 0 },
+ { NC_("SID_SW_ONLINEOPTIONS_RES", "View"), RID_SW_TP_HTML_CONTENT_OPT },
+ { NC_("SID_SW_ONLINEOPTIONS_RES", "Formatting Aids"), RID_SW_TP_HTML_OPTSHDWCRSR },
+ { NC_("SID_SW_ONLINEOPTIONS_RES", "Grid"), RID_SW_TP_HTML_OPTGRID_PAGE },
+ { NC_("SID_SW_ONLINEOPTIONS_RES", "Print"), RID_SW_TP_HTML_OPTPRINT_PAGE },
+ { NC_("SID_SW_ONLINEOPTIONS_RES", "Table"), RID_SW_TP_HTML_OPTTABLE_PAGE },
+ { NC_("SID_SW_ONLINEOPTIONS_RES", "Background"), RID_SW_TP_BACKGROUND }
+};
+
+const std::pair<const char*, sal_uInt16> SID_SM_EDITOPTIONS_RES[] =
+{
+ { NC_("SID_SM_EDITOPTIONS_RES", "%PRODUCTNAME Math"), 0 },
+ { NC_("SID_SM_EDITOPTIONS_RES", "Settings"), SID_SM_TP_PRINTOPTIONS },
+};
+
+const std::pair<const char*, sal_uInt16> SID_SC_EDITOPTIONS_RES[] =
+{
+ { NC_("SID_SC_EDITOPTIONS_RES", "%PRODUCTNAME Calc"), 0 },
+ { NC_("SID_SC_EDITOPTIONS_RES", "General"), SID_SC_TP_LAYOUT },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Defaults"), RID_SC_TP_DEFAULTS },
+ { NC_("SID_SC_EDITOPTIONS_RES", "View"), SID_SC_TP_CONTENT },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Calculate"), SID_SC_TP_CALC },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Formula"), SID_SC_TP_FORMULA },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Sort Lists"), SID_SC_TP_USERLISTS },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Changes"), SID_SC_TP_CHANGES },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Compatibility"), SID_SC_TP_COMPATIBILITY },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Grid"), SID_SC_TP_GRID },
+ { NC_("SID_SC_EDITOPTIONS_RES", "Print"), RID_SC_TP_PRINT }
+};
+
+const std::pair<const char*, sal_uInt16> SID_SD_EDITOPTIONS_RES[] =
+{
+ { NC_("SID_SD_EDITOPTIONS_RES", "%PRODUCTNAME Impress"), 0 },
+ { NC_("SID_SD_EDITOPTIONS_RES", "General"), SID_SI_TP_MISC },
+ { NC_("SID_SD_EDITOPTIONS_RES", "View"), SID_SI_TP_CONTENTS },
+ { NC_("SID_SD_EDITOPTIONS_RES", "Grid"), SID_SI_TP_SNAP },
+ { NC_("SID_SD_EDITOPTIONS_RES", "Print"), SID_SI_TP_PRINT }
+};
+
+const std::pair<const char*, sal_uInt16> SID_SD_GRAPHIC_OPTIONS_RES[] =
+{
+ { NC_("SID_SD_GRAPHIC_OPTIONS_RES", "%PRODUCTNAME Draw"), 0 },
+ { NC_("SID_SD_GRAPHIC_OPTIONS_RES", "General"), SID_SD_TP_MISC },
+ { NC_("SID_SD_GRAPHIC_OPTIONS_RES", "View"), SID_SD_TP_CONTENTS },
+ { NC_("SID_SD_GRAPHIC_OPTIONS_RES", "Grid"), SID_SD_TP_SNAP },
+ { NC_("SID_SD_GRAPHIC_OPTIONS_RES", "Print"), SID_SD_TP_PRINT }
+};
+
+const std::pair<const char*, sal_uInt16> SID_SCH_EDITOPTIONS_RES[] =
+{
+ { NC_("SID_SCH_EDITOPTIONS_RES", "Charts"), 0 },
+ { NC_("SID_SCH_EDITOPTIONS_RES", "Default Colors"), RID_OPTPAGE_CHART_DEFCOLORS }
+};
+
+const std::pair<const char*, sal_uInt16> SID_FILTER_DLG_RES[] =
+{
+ { NC_("SID_FILTER_DLG_RES", "Load/Save"), 0 },
+ { NC_("SID_FILTER_DLG_RES", "General"), RID_SFXPAGE_SAVE },
+ { NC_("SID_FILTER_DLG_RES", "VBA Properties"), SID_OPTFILTER_MSOFFICE },
+ { NC_("SID_FILTER_DLG_RES", "Microsoft Office"), RID_OFAPAGE_MSFILTEROPT2 },
+ { NC_("SID_FILTER_DLG_RES", "HTML Compatibility"), RID_OFAPAGE_HTMLOPT }
+};
+
+const std::pair<const char*, sal_uInt16> SID_SB_STARBASEOPTIONS_RES[] =
+{
+ { NC_("SID_SB_STARBASEOPTIONS_RES", "%PRODUCTNAME Base"), 0 },
+ { NC_("SID_SB_STARBASEOPTIONS_RES", "Connections"), SID_SB_CONNECTIONPOOLING },
+ { NC_("SID_SB_STARBASEOPTIONS_RES", "Databases"), SID_SB_DBREGISTEROPTIONS }
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/customize/SvxMenuConfigPage.cxx b/cui/source/customize/SvxMenuConfigPage.cxx
index 48ab816a12aa..b51b319b5ae7 100644
--- a/cui/source/customize/SvxMenuConfigPage.cxx
+++ b/cui/source/customize/SvxMenuConfigPage.cxx
@@ -54,6 +54,7 @@
#include <algorithm>
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include "acccfg.hxx"
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index c1c2104b26ee..bf83de09a634 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -36,7 +36,8 @@
#include <vcl/builderfactory.hxx>
#include "cuires.hrc"
-
+#include "strings.hrc"
+#include <sfx2/strings.hrc>
#include <svx/svxids.hrc>
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 31a56d32941d..41c9cf7b6687 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -55,6 +55,7 @@
#include <algorithm>
#include <cuires.hrc>
#include "helpid.hrc"
+#include "strings.hrc"
#include "acccfg.hxx"
#include "cfg.hxx"
diff --git a/cui/source/customize/cfg.src b/cui/source/customize/cfg.src
deleted file mode 100644
index 08d352625cf8..000000000000
--- a/cui/source/customize/cfg.src
+++ /dev/null
@@ -1,145 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#include <cuires.hrc>
-#include "helpid.hrc"
-
-/* %n will be replaced at runtime by a number starting with 1 and increasing as necessary */
-String RID_SVXSTR_NEW_MENU
-{
- Text [ en-US ] = "New Menu %n";
-};
-
-/* %n will be replaced at runtime by a number starting with 1 and increasing as necessary */
-String RID_SVXSTR_NEW_TOOLBAR
-{
- Text [ en-US ] = "New Toolbar %n";
-};
-
-String RID_SVXSTR_MOVE_MENU
-{
- Text [ en-US ] = "Move Menu";
-};
-
-String RID_SVXSTR_ADD_SUBMENU
-{
- Text [ en-US ] = "Add Submenu";
-};
-
-String RID_SVXSTR_SUBMENU_NAME
-{
- Text [ en-US ] = "Submenu name";
-};
-
-String RID_SVXSTR_MENU_ADDCOMMANDS_DESCRIPTION
-{
- Text [ en-US ] = "To add a command to a menu, select the category and then the command. You can also drag the command to the Commands list of the Menus tab page in the Customize dialog.";
-};
-
-// Strings ---------------------------------------------------------------
-
-String RID_SVXSTR_DELETE_ICON_CONFIRM //added for issue73355
-{
- Text [ en-US ] = "Are you sure to delete the image?" ;
-};
-
-String RID_SVXSTR_REPLACE_ICON_WARNING //added for issue73355
-{
- Text [ en-US ] = "The icon %ICONNAME is already contained in the image list.\nWould you like to replace the existing icon?";
-};
-
-String RID_SVXSTR_REPLACE_ICON_CONFIRM //added for issue73355
-{
- Text [ en-US ] = "Confirm Icon Replacement";
-};
-
-String RID_SVXSTR_YESTOALL //added for issue73355
-{
- Text [ en-US ] = "Yes to All";
-};
-
-String RID_SVXSTR_PRODUCTNAME_TOOLBARS
-{
- Text [ en-US ] = "%PRODUCTNAME %MODULENAME Toolbars" ;
-};
-
-String RID_SVXSTR_PRODUCTNAME_CONTEXTMENUS
-{
- Text [ en-US ] = "%PRODUCTNAME %MODULENAME Context Menus" ;
-};
-
-String RID_SVXSTR_TOOLBAR
-{
- Text [ en-US ] = "Toolbar" ;
-};
-
-String RID_SVXSTR_TOOLBAR_CONTENT
-{
- Text [ en-US ] = "Toolbar Content" ;
-};
-
-String RID_SVXSTR_COMMANDS
-{
- Text [ en-US ] = "Commands" ;
-};
-
-String RID_SXVSTR_CONFIRM_DELETE_TOOLBAR
-{
- Text [ en-US ] = "There are no more commands on the toolbar. Do you want to delete the toolbar?";
-};
-
-/* Translators: Do not translate %SAVE IN SELECTION% It is a placeholder
- and will be replaced at runtime by the name of the selected application
- or document.
-*/
-String RID_SVXSTR_CONFIRM_MENU_RESET
-{
- Text [ en-US ] = "The menu configuration for %SAVE IN SELECTION% will be reset to the default settings. Do you want to continue?";
-};
-
-String RID_SVXSTR_CONFIRM_TOOLBAR_RESET
-{
- Text [ en-US ] = "The toolbar configuration for %SAVE IN SELECTION% will be reset to the default settings. Do you want to continue?";
-};
-
-String RID_SVXSTR_CONFIRM_RESTORE_DEFAULT
-{
- Text [ en-US ] = "This will delete all changes previously made to this toolbar. Do you really want to reset the toolbar?";
-};
-
-String RID_SVXSTR_MNUCFG_ALREADY_INCLUDED
-{
- Text [ en-US ] = "Function is already included in this popup." ;
-};
-
-String RID_SVXSTR_LABEL_NEW_NAME
-{
- Text [ en-US ] = "~New name";
-};
-
-String RID_SVXSTR_RENAME_MENU
-{
- Text [ en-US ] = "Rename Menu";
-};
-
-String RID_SVXSTR_RENAME_TOOLBAR
-{
- Text [ en-US ] = "Rename Toolbar";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 399db0ae57de..1c630c16bee1 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -45,6 +45,7 @@
#include <basic/basmgr.hxx>
#include <tools/urlobj.hxx>
#include "cuires.hrc"
+#include "strings.hrc"
#include "bitmaps.hlst"
#include <sfx2/app.hxx>
#include <sfx2/minfitem.hxx>
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index d171411c72d2..2b26eca0a0f1 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -39,6 +39,7 @@
#include "headertablistbox.hxx"
#include "macropg_impl.hxx"
#include <svx/dialogs.hrc>
+#include "strings.hrc"
#include <vcl/builderfactory.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <o3tl/make_unique.hxx>
@@ -529,7 +530,7 @@ void SvxMacroTabPage_::DisplayAppEvents( bool appEvents)
}
OUString eventURL = h_it->second.second;
- OUString displayName(CuiResId(displayableEvent->nEventResourceID));
+ OUString displayName(CuiResId(displayableEvent->pEventResourceID));
displayName += "\t";
diff --git a/cui/source/customize/macropg.src b/cui/source/customize/macropg.src
deleted file mode 100644
index a57fa254be32..000000000000
--- a/cui/source/customize/macropg.src
+++ /dev/null
@@ -1,336 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <sfx2/sfx.hrc>
-#include <cuires.hrc>
-#include "helpid.hrc"
-#include <svx/dialogs.hrc>
-
-//DF
-String RID_SVXSTR_EVENT_STARTAPP
-{
- Text [ en-US ] = "Start Application" ;
-};
-
-String RID_SVXSTR_EVENT_CLOSEAPP
-{
- Text [ en-US ] = "Close Application" ;
-};
-
-String RID_SVXSTR_EVENT_NEWDOC
-{
- Text [ en-US ] = "New Document" ;
-};
-
-String RID_SVXSTR_EVENT_CLOSEDOC
-{
- Text [ en-US ] = "Document closed" ;
-};
-
-String RID_SVXSTR_EVENT_PREPARECLOSEDOC
-{
- Text [ en-US ] = "Document is going to be closed" ;
-};
-
-String RID_SVXSTR_EVENT_OPENDOC
-{
- Text [ en-US ] = "Open Document" ;
-};
-
-String RID_SVXSTR_EVENT_SAVEDOC
-{
- Text [ en-US ] = "Save Document" ;
-};
-
-String RID_SVXSTR_EVENT_SAVEASDOC
-{
- Text [ en-US ] = "Save Document As" ;
-};
-
-String RID_SVXSTR_EVENT_SAVEDOCDONE
-{
- Text [ en-US ] = "Document has been saved" ;
-};
-
-String RID_SVXSTR_EVENT_SAVEASDOCDONE
-{
- Text [ en-US ] = "Document has been saved as" ;
-};
-
-String RID_SVXSTR_EVENT_ACTIVATEDOC
-{
- Text [ en-US ] = "Activate Document" ;
-};
-
-String RID_SVXSTR_EVENT_DEACTIVATEDOC
-{
- Text [ en-US ] = "Deactivate Document" ;
-};
-
-String RID_SVXSTR_EVENT_PRINTDOC
-{
- Text [ en-US ] = "Print Document" ;
-};
-
-String RID_SVXSTR_EVENT_MODIFYCHANGED
-{
- Text [ en-US ] = "'Modified' status was changed" ;
-};
-String RID_SVXSTR_EVENT_MAILMERGE
-{
- Text [ en-US ] = "Printing of form letters started" ;
-};
-String RID_SVXSTR_EVENT_MAILMERGE_END
-{
- Text [ en-US ] = "Printing of form letters finished" ;
-};
-String RID_SVXSTR_EVENT_FIELDMERGE
-{
- Text [ en-US ] = "Merging of form fields started" ;
-};
-String RID_SVXSTR_EVENT_FIELDMERGE_FINISHED
-{
- Text [ en-US ] = "Merging of form fields finished" ;
-};
-String RID_SVXSTR_EVENT_PAGECOUNTCHANGE
-{
- Text [ en-US ] = "Changing the page count" ;
-};
-String RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED
-{
- Text [ en-US ] = "Loaded a sub component" ;
-};
-String RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED
-{
- Text [ en-US ] = "Closed a sub component" ;
-};
-String RID_SVXSTR_EVENT_APPROVEPARAMETER
-{
- Text [ en-US ] = "Fill parameters" ;
-};
-String RID_SVXSTR_EVENT_ACTIONPERFORMED
-{
- Text [ en-US ] = "Execute action" ;
-};
-String RID_SVXSTR_EVENT_AFTERUPDATE
-{
- Text [ en-US ] = "After updating" ;
-};
-String RID_SVXSTR_EVENT_BEFOREUPDATE
-{
- Text [ en-US ] = "Before updating" ;
-};
-String RID_SVXSTR_EVENT_APPROVEROWCHANGE
-{
- Text [ en-US ] = "Before record action" ;
-};
-String RID_SVXSTR_EVENT_ROWCHANGE
-{
- Text [ en-US ] = "After record action" ;
-};
-String RID_SVXSTR_EVENT_CONFIRMDELETE
-{
- Text [ en-US ] = "Confirm deletion" ;
-};
-String RID_SVXSTR_EVENT_ERROROCCURRED
-{
- Text [ en-US ] = "Error occurred" ;
-};
-String RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED
-{
- Text [ en-US ] = "While adjusting";
-};
-String RID_SVXSTR_EVENT_FOCUSGAINED
-{
- Text [ en-US ] = "When receiving focus" ;
-};
-String RID_SVXSTR_EVENT_FOCUSLOST
-{
- Text [ en-US ] = "When losing focus" ;
-};
-String RID_SVXSTR_EVENT_ITEMSTATECHANGED
-{
- Text [ en-US ] = "Item status changed" ;
-};
-String RID_SVXSTR_EVENT_KEYTYPED
-{
- Text [ en-US ] = "Key pressed" ;
-};
-String RID_SVXSTR_EVENT_KEYUP
-{
- Text [ en-US ] = "Key released" ;
-};
-String RID_SVXSTR_EVENT_LOADED
-{
- Text [ en-US ] = "When loading" ;
-};
-String RID_SVXSTR_EVENT_RELOADING
-{
- Text [ en-US ] = "Before reloading" ;
-};
-String RID_SVXSTR_EVENT_RELOADED
-{
- Text [ en-US ] = "When reloading" ;
-};
-String RID_SVXSTR_EVENT_MOUSEDRAGGED
-{
- Text [ en-US ] = "Mouse moved while key pressed" ;
-};
-String RID_SVXSTR_EVENT_MOUSEENTERED
-{
- Text [ en-US ] = "Mouse inside" ;
-};
-String RID_SVXSTR_EVENT_MOUSEEXITED
-{
- Text [ en-US ] = "Mouse outside" ;
-};
-String RID_SVXSTR_EVENT_MOUSEMOVED
-{
- Text [ en-US ] = "Mouse moved" ;
-};
-String RID_SVXSTR_EVENT_MOUSEPRESSED
-{
- Text [ en-US ] = "Mouse button pressed" ;
-};
-String RID_SVXSTR_EVENT_MOUSERELEASED
-{
- Text [ en-US ] = "Mouse button released" ;
-};
-String RID_SVXSTR_EVENT_POSITIONING
-{
- Text [ en-US ] = "Before record change" ;
-};
-String RID_SVXSTR_EVENT_POSITIONED
-{
- Text [ en-US ] = "After record change" ;
-};
-String RID_SVXSTR_EVENT_RESETTED
-{
- Text [ en-US ] = "After resetting" ;
-};
-String RID_SVXSTR_EVENT_APPROVERESETTED
-{
- Text [ en-US ] = "Prior to reset" ;
-};
-String RID_SVXSTR_EVENT_APPROVEACTIONPERFORMED
-{
- Text [ en-US ] = "Approve action" ;
-};
-String RID_SVXSTR_EVENT_SUBMITTED
-{
- Text [ en-US ] = "Before submitting" ;
-};
-String RID_SVXSTR_EVENT_TEXTCHANGED
-{
- Text [ en-US ] = "Text modified" ;
-};
-String RID_SVXSTR_EVENT_UNLOADING
-{
- Text [ en-US ] = "Before unloading" ;
-};
-String RID_SVXSTR_EVENT_UNLOADED
-{
- Text [ en-US ] = "When unloading" ;
-};
-String RID_SVXSTR_EVENT_CHANGED
-{
- Text [ en-US ] = "Changed" ;
-};
-
-String RID_SVXSTR_EVENT_CREATEDOC
-{
- Text [ en-US ] = "Document created" ;
-};
-
-String RID_SVXSTR_EVENT_LOADDOCFINISHED
-{
- Text [ en-US ] = "Document loading finished" ;
-};
-
-String RID_SVXSTR_EVENT_SAVEDOCFAILED
-{
- Text [ en-US ] = "Saving of document failed" ;
-};
-
-String RID_SVXSTR_EVENT_SAVEASDOCFAILED
-{
- Text [ en-US ] = "'Save as' has failed" ;
-};
-
-String RID_SVXSTR_EVENT_COPYTODOC
-{
- Text [ en-US ] = "Storing or exporting copy of document" ;
-};
-
-String RID_SVXSTR_EVENT_COPYTODOCDONE
-{
- Text [ en-US ] = "Document copy has been created" ;
-};
-
-String RID_SVXSTR_EVENT_COPYTODOCFAILED
-{
- Text [ en-US ] = "Creating of document copy failed" ;
-};
-
-String RID_SVXSTR_EVENT_VIEWCREATED
-{
- Text [ en-US ] = "View created" ;
-};
-
-String RID_SVXSTR_EVENT_PREPARECLOSEVIEW
-{
- Text [ en-US ] = "View is going to be closed" ;
-};
-
-String RID_SVXSTR_EVENT_CLOSEVIEW
-{
- Text [ en-US ] = "View closed" ;
-};
-
-String RID_SVXSTR_EVENT_TITLECHANGED
-{
- Text [ en-US ] = "Document title changed" ;
-};
-
-String RID_SVXSTR_EVENT_SELECTIONCHANGED
-{
- Text [ en-US ] = "Selection changed" ;
-};
-
-String RID_SVXSTR_EVENT_DOUBLECLICK
-{
- Text [ en-US ] = "Double click" ;
-};
-
-String RID_SVXSTR_EVENT_RIGHTCLICK
-{
- Text [ en-US ] = "Right click" ;
-};
-
-String RID_SVXSTR_EVENT_CALCULATE
-{
- Text [ en-US ] = "Formulas calculated" ;
-};
-
-String RID_SVXSTR_EVENT_CONTENTCHANGED
-{
- Text [ en-US ] = "Content changed" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 6031af5d85fb..2a0e9053c819 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -45,6 +45,7 @@
#include <sfx2/sfxsids.hrc>
#include <sfx2/app.hxx>
#include <editeng/fontitem.hxx>
+#include "strings.hrc"
#include "macroass.hxx"
using namespace css;
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx
index fd3d9b3ba8df..b45300ef7bee 100644
--- a/cui/source/dialogs/cuifmsearch.cxx
+++ b/cui/source/dialogs/cuifmsearch.cxx
@@ -26,7 +26,7 @@
#include <cuires.hrc>
#include <svx/fmsrccfg.hxx>
#include <svx/fmsrcimp.hxx>
-#include "fmsearch.hrc"
+#include "strings.hrc"
#include "cuifmsearch.hxx"
#include <svx/srchdlg.hxx>
#include <svl/cjkoptions.hxx>
@@ -239,14 +239,14 @@ void FmSearchDialog::Init(const OUString& strVisibleFields, const OUString& sIni
// fill the listboxes
// method of field comparison
- sal_uInt16 nResIds[] = {
+ const char* aResIds[] = {
RID_STR_SEARCH_ANYWHERE,
RID_STR_SEARCH_BEGINNING,
RID_STR_SEARCH_END,
RID_STR_SEARCH_WHOLE
};
- for (unsigned short nResId : nResIds)
- m_plbPosition->InsertEntry( CuiResId( nResId ) );
+ for (auto pResId : aResIds)
+ m_plbPosition->InsertEntry(CuiResId(pResId));
m_plbPosition->SelectEntryPos(MATCHING_ANYWHERE);
// the field listbox
@@ -726,10 +726,10 @@ IMPL_LINK(FmSearchDialog, OnSearchProgress, const FmSearchProgress*, pProgress,
case FmSearchProgress::State::Error:
case FmSearchProgress::State::NothingFound:
{
- sal_uInt16 nErrorId = (FmSearchProgress::State::Error == pProgress->aSearchState)
+ const char* pErrorId = (FmSearchProgress::State::Error == pProgress->aSearchState)
? RID_STR_SEARCH_GENERAL_ERROR
: RID_STR_SEARCH_NORECORD;
- ScopedVclPtrInstance<MessageDialog>(this, CuiResId(nErrorId))->Execute();
+ ScopedVclPtrInstance<MessageDialog>(this, CuiResId(pErrorId))->Execute();
SAL_FALLTHROUGH;
}
case FmSearchProgress::State::Canceled:
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 196d8acd6c73..ebda6d05cdd8 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -47,9 +47,10 @@
#include <com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.hpp>
#include <sfx2/sfxuno.hxx>
#include "dialmgr.hxx"
-#include "gallery.hrc"
+#include "strings.hrc"
#include <svx/dialogs.hrc>
#include <svx/dialmgr.hxx>
+#include <svx/strings.hrc>
using namespace ::ucbhelper;
using namespace ::cppu;
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index 04f3d29418f5..374c4b99643d 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -29,6 +29,7 @@
#include "hldocntp.hxx"
#include "bitmaps.hlst"
#include <svx/svxids.hrc>
+#include "strings.hrc"
#include <vector>
using ::com::sun::star::uno::Reference;
diff --git a/cui/source/dialogs/cuires.src b/cui/source/dialogs/cuires.src
deleted file mode 100644
index 6c22063dee6b..000000000000
--- a/cui/source/dialogs/cuires.src
+++ /dev/null
@@ -1,133 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#include "cuires.hrc"
-
-String RID_SVXSTR_ERR_TEXTNOTFOUND
-{
- Text [ en-US ] = "No alternatives found." ;
-};
-
-String RID_SVXSTR_SELECT_FILE_IFRAME
-{
- Text [ en-US ] = "Select File for Floating Frame" ;
-};
-
-String RID_SVXSTR_ALLFUNCTIONS
-{
- Text [ en-US ] = "All categories";
-};
-
-String RID_SVXSTR_MYMACROS
-{
- Text [ en-US ] = "My Macros";
-};
-
-String RID_SVXSTR_PRODMACROS
-{
- Text [ en-US ] = "%PRODUCTNAME Macros";
-};
-
-String RID_SVXSTR_SELECTOR_ADD_COMMANDS
-{
- Text [ en-US ] = "Add Commands" ;
-};
-
-String RID_SVXSTR_SELECTOR_RUN
-{
- Text [ en-US ] = "Run" ;
-};
-
-String RID_SVXSTR_ROW
-{
- Text [ en-US ] = "Insert Rows" ;
-};
-
-String RID_SVXSTR_REMOVE_FAVORITES
-{
- Text [ en-US ] = "Remove from Favorites" ;
-};
-
-String RID_SVXSTR_ADD_FAVORITES
-{
- Text [ en-US ] = "Add to Favorites" ;
-};
-
-String RID_SVXSTR_PPI
-{
- Text [ x-comment ] = "PPI is pixel per inch, %1 is a number" ;
- Text [ en-US ] = "(%1 PPI)" ;
-};
-
-String RID_SVXSTR_COL
-{
- Text [ en-US ] = "Insert Columns" ;
-};
-
-String RID_SVXSTR_AUTO_ENTRY
-{
- Text [ en-US ] = "Automatic";
-};
-
-String RID_SVXSTR_EDIT_GRAPHIC
-{
- Text [ en-US ] = "Link" ;
-};
-
-String RID_SVXSTR_LOADACCELCONFIG
-{
- Text [ en-US ] = "Load Keyboard Configuration" ;
-};
-
-String RID_SVXSTR_SAVEACCELCONFIG
-{
- Text [ en-US ] = "Save Keyboard Configuration" ;
-};
-
-String RID_SVXSTR_FILTERNAME_CFG
-{
- Text [ en-US ] = "Configuration (*.cfg)" ;
-};
-
-String RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES
-{
- Text [ en-US ] = "Targets do not exist in the document." ;
-};
-
-String RID_SVXSTR_HYPDLG_ERR_LERR_DOCNOTOPEN
-{
- Text [ en-US ] = "Couldn't open the document." ;
-};
-
-String RID_SVXSTR_EDITHINT
-{
- Text [ en-US ] = "[Enter text here]";
-};
-
-String RID_SVXSTR_HANGUL
-{
- Text [ en-US ] = "Hangul";
-};
-
-String RID_SVXSTR_HANJA
-{
- Text [ en-US ] = "Hanja";
-};
-
-String RID_SVXSTR_BASICMACROS
-{
- Text [ en-US ] = "BASIC Macros" ;
-};
-
-String RID_SVXSTR_GROUP_STYLES
-{
- Text [ en-US ] = "Styles" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/fmsearch.hrc b/cui/source/dialogs/fmsearch.hrc
deleted file mode 100644
index 0b4f77a69da8..000000000000
--- a/cui/source/dialogs/fmsearch.hrc
+++ /dev/null
@@ -1,38 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef INCLUDED_CUI_SOURCE_DIALOGS_FMSEARCH_HRC
-#define INCLUDED_CUI_SOURCE_DIALOGS_FMSEARCH_HRC
-
-#include "svl/solar.hrc"
-
-#define RID_STR_SEARCH_ANYWHERE (RID_FORMS_START + 85)
-#define RID_STR_SEARCH_BEGINNING (RID_FORMS_START + 86)
-#define RID_STR_SEARCH_END (RID_FORMS_START + 87)
-#define RID_STR_SEARCH_WHOLE (RID_FORMS_START + 88)
-#define RID_STR_FROM_TOP (RID_FORMS_START + 74)
-#define RID_STR_FROM_BOTTOM (RID_FORMS_START + 75)
-#define RID_STR_SEARCH_NORECORD (RID_FORMS_START + 8)
-#define RID_STR_SEARCH_GENERAL_ERROR (RID_FORMS_START + 9)
-#define RID_STR_OVERFLOW_FORWARD (RID_FORMS_START + 34)
-#define RID_STR_OVERFLOW_BACKWARD (RID_FORMS_START + 35)
-#define RID_STR_SEARCH_COUNTING (RID_FORMS_START + 76)
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/fmsearch.src b/cui/source/dialogs/fmsearch.src
deleted file mode 100644
index 0a8cf0024a58..000000000000
--- a/cui/source/dialogs/fmsearch.src
+++ /dev/null
@@ -1,77 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "fmsearch.hrc"
-#include "helpid.hrc"
-
-String RID_STR_SEARCH_ANYWHERE
-{
- Text [ en-US ] = "anywhere in the field";
-};
-
-String RID_STR_SEARCH_BEGINNING
-{
- Text [ en-US ] = "beginning of field";
-};
-
-String RID_STR_SEARCH_END
-{
- Text [ en-US ] = "end of field";
-};
-
-String RID_STR_SEARCH_WHOLE
-{
- Text [ en-US ] = "entire field";
-};
-
-String RID_STR_FROM_TOP
-{
- Text [ en-US ] = "From top";
-};
-String RID_STR_FROM_BOTTOM
-{
- Text [ en-US ] = "From bottom";
-};
-
-String RID_STR_SEARCH_NORECORD
-{
- Text [ en-US ] = "No records corresponding to your data found.";
-};
-
-String RID_STR_SEARCH_GENERAL_ERROR
-{
- Text [ en-US ] = "An unknown error occurred. The search could not be finished.";
-};
-
-String RID_STR_OVERFLOW_FORWARD
-{
- Text [ en-US ] = "Overflow, search continued at the beginning";
-};
-
-String RID_STR_OVERFLOW_BACKWARD
-{
- Text [ en-US ] = "Overflow, search continued at the end";
-};
-
-String RID_STR_SEARCH_COUNTING
-{
- Text [ en-US ] = "counting records";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/gallery.src b/cui/source/dialogs/gallery.src
deleted file mode 100644
index 43d94175a970..000000000000
--- a/cui/source/dialogs/gallery.src
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <sfx2/sfxsids.hrc>
-#include "helpid.hrc"
-#include "gallery.hrc"
-#include <svx/exthelpid.hrc>
-
-String RID_SVXSTR_GALLERY_NOFILES
-{
- Text [ en-US ] = "<No Files>" ;
-};
-String RID_SVXSTR_GALLERYPROPS_OBJECT
-{
- Text [ en-US ] = "Object;Objects" ;
-};
-String RID_SVXSTR_GALLERY_READONLY
-{
- Text [ en-US ] = "(read-only)" ;
-};
-String RID_SVXSTR_GALLERY_ALLFILES
-{
- Text [ en-US ] = "<All Files>" ;
-};
-String RID_SVXSTR_GALLERY_ID_EXISTS
-{
- Text [ en-US ] = "This ID already exists..." ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index cb610a612807..d5a16bd468aa 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -22,6 +22,7 @@
#include <cuires.hrc>
#include "helpid.hrc"
+#include "strings.hrc"
#include <algorithm>
#include <vcl/controllayout.hxx>
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx
index 269aca763ae1..b2710554399b 100644
--- a/cui/source/dialogs/hldocntp.cxx
+++ b/cui/source/dialogs/hldocntp.cxx
@@ -39,6 +39,7 @@
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include "bitmaps.hlst"
+#include "strings.hrc"
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::ui::dialogs;
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index a055a0a243ad..34c2d9a5fb73 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -40,6 +40,7 @@
#include "svtools/treelistentry.hxx"
#include <cuires.hrc>
+#include <strings.hrc>
#include "hlmarkwn.hxx"
#include "hltpbase.hxx"
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 2a8fcbbf763b..07277d1fed98 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -32,6 +32,7 @@
#include "macroass.hxx"
#include <svx/svxdlg.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <bitmaps.hlst>
#include <vcl/builderfactory.hxx>
diff --git a/cui/source/dialogs/hyperdlg.src b/cui/source/dialogs/hyperdlg.src
deleted file mode 100644
index ff3bd695ada8..000000000000
--- a/cui/source/dialogs/hyperdlg.src
+++ /dev/null
@@ -1,97 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <svtools/controldims.hrc>
-#include <cuires.hrc>
-#include "helpid.hrc"
-
-String RID_SVXSTR_HYPDLG_CLOSEBUT
-{
- Text [ en-US ] = "Close" ;
-};
-String RID_SVXSTR_HYPDLG_MACROACT1
-{
- Text [ en-US ] = "Mouse over object" ;
-};
-String RID_SVXSTR_HYPDLG_MACROACT2
-{
- Text [ en-US ] = "Trigger hyperlink" ;
-};
-String RID_SVXSTR_HYPDLG_MACROACT3
-{
- Text [ en-US ] = "Mouse leaves object" ;
-};
-
-String RID_SVXSTR_HYPDLG_NOVALIDFILENAME
-{
- Text [ en-US ] = "Please type in a valid file name." ;
-};
-
-String RID_SVXSTR_HYPERDLG_HLINETTP
-{
- Text [ en-US ] = "Internet" ;
-};
-String RID_SVXSTR_HYPERDLG_HLINETTP_HELP
-{
- Text [ en-US ] = "This is where you create a hyperlink to a Web page or FTP server connection." ;
-};
-
-String RID_SVXSTR_HYPERDLG_HLMAILTP
-{
- Text [ en-US ] = "Mail" ;
-};
-String RID_SVXSTR_HYPERDLG_HLMAILTP_HELP
-{
- Text [ en-US ] = "This is where you create a hyperlink to an e-mail address." ;
-};
-
-String RID_SVXSTR_HYPERDLG_HLDOCTP
-{
- Text [ en-US ] = "Document" ;
-};
-String RID_SVXSTR_HYPERDLG_HLDOCTP_HELP
-{
- Text [ en-US ] = "This is where you create a hyperlink to an existing document or a target within a document." ;
-};
-
-String RID_SVXSTR_HYPERDLG_HLDOCNTP
-{
- Text [ en-US ] = "New Document" ;
-};
-String RID_SVXSTR_HYPERDLG_HLDOCNTP_HELP
-{
- Text [ en-US ] = "This is where you create a new document to which the new link points." ;
-};
-
-String RID_SVXSTR_HYPERDLG_FORM_BUTTON
-{
- Text [ en-US ] = "Button" ;
-};
-
-String RID_SVXSTR_HYPERDLG_FROM_TEXT
-{
- Text [ en-US ] = "Text" ;
-};
-
-String RID_SVXSTR_HYPERDLG_QUERYOVERWRITE
-{
- Text [ en-US ] = "The file already exists. Overwrite?" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index a5f16c8f6b0d..bc68c29d278f 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -35,7 +35,8 @@
#include "insdlg.hxx"
#include <dialmgr.hxx>
#include <svtools/imagemgr.hxx>
-#include <svtools/sores.hxx>
+#include <svtools/strings.hrc>
+#include <svtools/svtresid.hxx>
#include <tools/urlobj.hxx>
#include <tools/debug.hxx>
@@ -54,6 +55,7 @@
#include <comphelper/seqstream.hxx>
#include "cuires.hrc"
+#include "strings.hrc"
#include <osl/file.hxx>
@@ -67,19 +69,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::ui::dialogs;
-
-static OUString impl_getSvtResString( sal_uInt32 nId )
-{
- OUString aRet;
- ResMgr* pMgr = ResMgr::CreateResMgr( "svt", Application::GetSettings().GetUILanguageTag() );
- if( pMgr )
- {
- aRet = ResId( nId, *pMgr );
- delete pMgr;
- }
- return aRet;
-}
-
bool InsertObjectDialog_Impl::IsCreateNew() const
{
return false;
@@ -278,7 +267,7 @@ short SvInsertOleDlg::Execute()
{
// object couldn't be created from file
// global Resource from svtools (former so3 resource)
- OUString aErr( impl_getSvtResString( STR_ERROR_OBJNOCREATE_FROM_FILE ) );
+ OUString aErr(SvtResId(STR_ERROR_OBJNOCREATE_FROM_FILE));
aErr = aErr.replaceFirst( "%", aFileName );
ScopedVclPtrInstance<MessageDialog>(this, aErr)->Execute();
}
@@ -286,7 +275,7 @@ short SvInsertOleDlg::Execute()
{
// object couldn't be created
// global Resource from svtools (former so3 resource)
- OUString aErr( impl_getSvtResString( STR_ERROR_OBJNOCREATE ) );
+ OUString aErr(SvtResId(STR_ERROR_OBJNOCREATE));
aErr = aErr.replaceFirst( "%", aServerName );
ScopedVclPtrInstance<MessageDialog>(this, aErr)->Execute();
}
@@ -327,7 +316,7 @@ short SvInsertOleDlg::Execute()
{
// object couldn't be created from file
// global Resource from svtools (former so3 resource)
- OUString aErr( impl_getSvtResString( STR_ERROR_OBJNOCREATE_FROM_FILE ) );
+ OUString aErr(SvtResId(STR_ERROR_OBJNOCREATE_FROM_FILE));
aErr = aErr.replaceFirst( "%", aFileName );
ScopedVclPtrInstance<MessageDialog>(this, aErr)->Execute();
}
diff --git a/cui/source/dialogs/insrc.cxx b/cui/source/dialogs/insrc.cxx
index 1f32977a0eb1..d0a36050babb 100644
--- a/cui/source/dialogs/insrc.cxx
+++ b/cui/source/dialogs/insrc.cxx
@@ -20,6 +20,7 @@
#include <dialmgr.hxx>
#include <svx/svxdlg.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include "insrc.hxx"
bool SvxInsRowColDlg::isInsertBefore() const
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 50d6bd047ca2..961ff4f7ad18 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -34,7 +34,7 @@
#include <svtools/svtabbx.hxx>
#include "svtools/treelistentry.hxx"
-#include <svuidlg.hrc>
+#include <strings.hrc>
#include <sfx2/linkmgr.hxx>
#include <sfx2/linksrc.hxx>
#include <svtools/soerr.hxx>
diff --git a/cui/source/dialogs/multipat.cxx b/cui/source/dialogs/multipat.cxx
index c4da4b668a85..7edc03f8b2db 100644
--- a/cui/source/dialogs/multipat.cxx
+++ b/cui/source/dialogs/multipat.cxx
@@ -28,6 +28,7 @@
#include <dialmgr.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/ui/dialogs/FolderPicker.hpp>
diff --git a/cui/source/dialogs/multipat.src b/cui/source/dialogs/multipat.src
deleted file mode 100644
index 0dfc1107d3ec..000000000000
--- a/cui/source/dialogs/multipat.src
+++ /dev/null
@@ -1,47 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String RID_MULTIPATH_DBL_ERR
-{
- Text [ en-US ] = "The path %1 already exists." ;
-};
-
-String RID_SVXSTR_ARCHIVE_TITLE
-{
- Text [ en-US ] = "Select Archives" ;
-};
-
-String RID_SVXSTR_ARCHIVE_HEADLINE
-{
- Text [ en-US ] = "Archives" ;
-};
-
-String RID_SVXSTR_MULTIFILE_DBL_ERR
-{
- Text [ en-US ] = "The file %1 already exists." ;
-};
-
-String RID_SVXSTR_ADD_IMAGE
-{
- Text [ en-US ] = "Add Image" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/passwdomdlg.cxx b/cui/source/dialogs/passwdomdlg.cxx
index 21d058f3f4ff..408613465d23 100644
--- a/cui/source/dialogs/passwdomdlg.cxx
+++ b/cui/source/dialogs/passwdomdlg.cxx
@@ -20,6 +20,7 @@
#include "passwdomdlg.hxx"
#include "cuires.hrc"
+#include "strings.hrc"
#include "dialmgr.hxx"
#include <sfx2/tabdlg.hxx>
diff --git a/cui/source/dialogs/passwdomdlg.src b/cui/source/dialogs/passwdomdlg.src
deleted file mode 100644
index b041e741646e..000000000000
--- a/cui/source/dialogs/passwdomdlg.src
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String RID_SVXSTR_ONE_PASSWORD_MISMATCH
-{
- Text [ en-US ] = "The confirmation password did not match the password. Set the password again by entering the same password in both boxes." ;
-};
-
-String RID_SVXSTR_TWO_PASSWORDS_MISMATCH
-{
- Text [ en-US ] = "The confirmation passwords did not match the original passwords. Set the passwords again." ;
-};
-
-String RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON
-{
- Text [ en-US ] = "Please enter a password to open or to modify, or check the open read-only option to continue." ;
-};
-
-String RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON_V2
-{
- Text [ en-US ] = "Set the password by entering the same password in both boxes." ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx
index 0b8822247d32..3a312da170ee 100644
--- a/cui/source/dialogs/pastedlg.cxx
+++ b/cui/source/dialogs/pastedlg.cxx
@@ -31,7 +31,8 @@
#include <vcl/msgbox.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
-#include <svtools/sores.hxx>
+#include <svtools/strings.hrc>
+#include <svtools/svtresid.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
@@ -176,10 +177,8 @@ SotClipboardFormatId SvPasteObjectDialog::GetFormat( const TransferableDataHelpe
if( aTypeName.isEmpty() && aSourceName.isEmpty() )
{
- std::unique_ptr<ResMgr> pMgr(ResMgr::CreateResMgr( "svt", Application::GetSettings().GetUILanguageTag() ));
// global resource from svtools (former so3 resource)
- if( pMgr )
- aSourceName = OUString( ResId( STR_UNKNOWN_SOURCE, *pMgr ) );
+ aSourceName = SvtResId(STR_UNKNOWN_SOURCE);
}
}
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx
index 412ee78fd2ae..6060252b4152 100644
--- a/cui/source/dialogs/screenshotannotationdlg.cxx
+++ b/cui/source/dialogs/screenshotannotationdlg.cxx
@@ -20,6 +20,7 @@
#include "screenshotannotationdlg.hxx"
#include "cuires.hrc"
+#include "strings.hrc"
#include "dialmgr.hxx"
#include <basegfx/range/b2irange.hxx>
diff --git a/cui/source/dialogs/screenshotannotationdlg.src b/cui/source/dialogs/screenshotannotationdlg.src
deleted file mode 100644
index 62d0ac2ec89e..000000000000
--- a/cui/source/dialogs/screenshotannotationdlg.src
+++ /dev/null
@@ -1,27 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String RID_SVXSTR_SAVE_SCREENSHOT_AS
-{
- Text [ en-US ] = "Save Screenshot As...";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index ec0f4e4c1f1e..6dcba4d31f36 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -27,6 +27,7 @@
#include <o3tl/make_unique.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <bitmaps.hlst>
#include "scriptdlg.hxx"
#include <dialmgr.hxx>
diff --git a/cui/source/dialogs/scriptdlg.src b/cui/source/dialogs/scriptdlg.src
deleted file mode 100644
index d1ad2824449e..000000000000
--- a/cui/source/dialogs/scriptdlg.src
+++ /dev/null
@@ -1,104 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-#include "helpid.hrc"
-
-String RID_SVXSTR_DELQUERY
-{
- Text [ en-US ] = "Do you want to delete the following object?";
-};
-String RID_SVXSTR_DELQUERY_TITLE
-{
- Text [ en-US ] = "Confirm Deletion";
-};
-String RID_SVXSTR_DELFAILED
-{
- Text [ en-US ] = "The selected object could not be deleted.";
-};
-String RID_SVXSTR_DELFAILED_TITLE
-{
- Text [ en-US ] = "Error Deleting Object";
-};
-String RID_SVXSTR_CREATEFAILED
-{
- Text [ en-US ] = "The object could not be created.";
-};
-String RID_SVXSTR_CREATEFAILEDDUP
-{
- Text [ en-US ] = " Object with the same name already exists.";
-};
-String RID_SVXSTR_CREATEFAILED_TITLE
-{
- Text [ en-US ] = "Error Creating Object";
-};
-String RID_SVXSTR_RENAMEFAILED
-{
- Text [ en-US ] = "The object could not be renamed.";
-};
-String RID_SVXSTR_RENAMEFAILED_TITLE
-{
- Text [ en-US ] = "Error Renaming Object";
-};
-
-String RID_SVXSTR_ERROR_TITLE
-{
- Text [ en-US ] = "%PRODUCTNAME Error";
-};
-
-String RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED
-{
- Text [ en-US ] = "The scripting language %LANGUAGENAME is not supported.";
-};
-String RID_SVXSTR_ERROR_RUNNING
-{
- Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
-};
-
-String RID_SVXSTR_EXCEPTION_RUNNING
-{
- Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
-};
-
-String RID_SVXSTR_ERROR_AT_LINE
-{
- Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
-};
-
-String RID_SVXSTR_EXCEPTION_AT_LINE
-{
- Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
-};
-
-String RID_SVXSTR_FRAMEWORK_ERROR_RUNNING
-{
- Text [ en-US ] = "A Scripting Framework error occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
-};
-
-String RID_SVXSTR_ERROR_TYPE_LABEL
-{
- Text [ en-US ] = "Type:";
-};
-
-String RID_SVXSTR_ERROR_MESSAGE_LABEL
-{
- Text [ en-US ] = "Message:";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/showcols.cxx b/cui/source/dialogs/showcols.cxx
index 0f2917fab7f5..50b35c157f6c 100644
--- a/cui/source/dialogs/showcols.cxx
+++ b/cui/source/dialogs/showcols.cxx
@@ -18,7 +18,7 @@
*/
#include "showcols.hxx"
-#include "fmsearch.hrc"
+#include "strings.hrc"
#include <dialmgr.hxx>
#include <vcl/msgbox.hxx>
diff --git a/cui/source/dialogs/srchxtra.cxx b/cui/source/dialogs/srchxtra.cxx
index ea01bcb7a1cc..5ccaa5dd1101 100644
--- a/cui/source/dialogs/srchxtra.cxx
+++ b/cui/source/dialogs/srchxtra.cxx
@@ -18,7 +18,6 @@
*/
#include "srchxtra.hxx"
-#include <tools/rcid.h>
#include <vcl/msgbox.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/whiter.hxx>
@@ -26,6 +25,7 @@
#include <cuires.hrc>
#include <svx/svxitems.hrc>
#include <svx/dialmgr.hxx>
+#include <svx/strarray.hxx>
#include <editeng/flstitem.hxx>
#include "chardlg.hxx"
#include "paragrph.hxx"
@@ -137,7 +137,6 @@ SvxSearchAttributeDialog::SvxSearchAttributeDialog(vcl::Window* pParent,
SfxObjectShell* pSh = SfxObjectShell::Current();
DBG_ASSERT( pSh, "No DocShell" );
- ResStringArray aAttrNames(ResId(RID_ATTR_NAMES, DIALOG_MGR()));
SfxItemPool& rPool = pSh->GetPool();
SfxItemSet aSet( rPool, pWhRanges );
SfxWhichIter aIter( aSet );
@@ -160,10 +159,10 @@ SvxSearchAttributeDialog::SvxSearchAttributeDialog(vcl::Window* pParent,
}
// item resources are in svx
- sal_uInt32 nId = aAttrNames.FindIndex( nSlot );
+ sal_uInt32 nId = SvxAttrNameTable::FindIndex(nSlot);
SvTreeListEntry* pEntry = nullptr;
if ( RESARRAY_INDEX_NOTFOUND != nId )
- pEntry = m_pAttrLB->SvTreeListBox::InsertEntry( aAttrNames.GetString(nId) );
+ pEntry = m_pAttrLB->SvTreeListBox::InsertEntry(SvxAttrNameTable::GetString(nId));
else
SAL_WARN( "cui.dialogs", "no resource for slot id " << static_cast<sal_Int32>(nSlot) );
diff --git a/cui/source/dialogs/svuidlg.hrc b/cui/source/dialogs/svuidlg.hrc
deleted file mode 100644
index 5322c8b0ac54..000000000000
--- a/cui/source/dialogs/svuidlg.hrc
+++ /dev/null
@@ -1,30 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <svl/solar.hrc>
-#include <helpid.hrc>
-
-#define STR_AUTOLINK 32006
-#define STR_MANUALLINK 32007
-#define STR_BROKENLINK 32008
-#define STR_CLOSELINKMSG 32011
-#define STR_CLOSELINKMSG_MULTI 32024
-#define STR_WAITINGLINK 32028
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/svuidlg.src b/cui/source/dialogs/svuidlg.src
deleted file mode 100644
index 81f89aa27707..000000000000
--- a/cui/source/dialogs/svuidlg.src
+++ /dev/null
@@ -1,55 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <svtools/controldims.hrc>
-#include "svuidlg.hrc"
-
-
-String STR_AUTOLINK
-{
- Text [ en-US ] = "Automatic" ;
-};
-
-String STR_MANUALLINK
-{
- Text [ en-US ] = "Manual" ;
-};
-
-String STR_BROKENLINK
-{
- Text [ en-US ] = "Not available" ;
-};
-
-String STR_CLOSELINKMSG
-{
- Text [ en-US ] = "Are you sure you want to remove the selected link?" ;
-};
-
-String STR_CLOSELINKMSG_MULTI
-{
- Text [ en-US ] = "Are you sure you want to remove the selected link?" ;
-};
-
-String STR_WAITINGLINK
-{
- Text [ en-US ] = "Waiting";
-};
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 0bed6ce6f9a2..0bf69e5329ce 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -20,6 +20,7 @@
#include "thesdlg.hxx"
#include "thesdlg_impl.hxx"
#include "cuires.hrc"
+#include "strings.hrc"
#include "dialmgr.hxx"
#include <svl/lngmisc.hxx>
diff --git a/cui/source/factory/cuiresmgr.cxx b/cui/source/factory/cuiresmgr.cxx
index 376d4962483a..c03d3dbbc476 100644
--- a/cui/source/factory/cuiresmgr.cxx
+++ b/cui/source/factory/cuiresmgr.cxx
@@ -18,22 +18,22 @@
*/
#include <dialmgr.hxx>
-#include <svl/solar.hrc>
#include <tools/resmgr.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
-// struct DialogsResMgr --------------------------------------------------
-ResMgr* CuiResMgr::GetResMgr()
+namespace
{
- static ResMgr* pResMgr=nullptr;
-
- if ( !pResMgr )
+ const std::locale& GetResLocale()
{
- pResMgr = ResMgr::CreateResMgr("cui", Application::GetSettings().GetUILanguageTag());
+ static std::locale loc(Translate::Create("cui", Application::GetSettings().GetUILanguageTag()));
+ return loc;
}
+}
- return pResMgr;
+OUString CuiResId(const char *pKey)
+{
+ return Translate::get(pKey, GetResLocale());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index 3c1287180cae..ed48d45f94ed 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -27,7 +27,6 @@
#include <svx/dialogs.hrc>
#include "numfmt.hxx"
#include "splitcelldlg.hxx"
-#include "gallery.hrc"
#include "dstribut.hxx"
#include "cuiimapwnd.hxx"
#include "hlmarkwn.hxx"
diff --git a/cui/source/inc/border.hxx b/cui/source/inc/border.hxx
index c784d2917e3d..6502549ac6d7 100644
--- a/cui/source/inc/border.hxx
+++ b/cui/source/inc/border.hxx
@@ -131,8 +131,8 @@ private:
DECL_LINK( SyncHdl_Impl, Button*, void);
DECL_LINK( RemoveAdjacentCellBorderHdl_Impl, Button*, void);
- sal_uInt16 GetPresetImageId( sal_uInt16 nValueSetIdx ) const;
- sal_uInt16 GetPresetStringId( sal_uInt16 nValueSetIdx ) const;
+ sal_uInt16 GetPresetImageId(sal_uInt16 nValueSetIdx) const;
+ const char* GetPresetStringId(sal_uInt16 nValueSetIdx) const;
void FillPresetVS();
void FillShadowVS();
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index 16cb33c8d6f2..beec430dcd7a 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -25,72 +25,12 @@
// Resource-Id's ------------------------------------------------------------
-// RID_SVX_START + 0 unused
-#define RID_SVXSTR_OPTIONS_RESTART (RID_SVX_START + 1)
-
// Gallery
#define RID_CUI_GALLERY_START (RID_SVX_START + 360)
// RID_CUI_GALLERY_END (RID_SVX_START + 410)
-// used in "tabpages"
-#define RID_SVXSTR_TABLE_PRESET_NONE (RID_SVX_START + 969)
-#define RID_SVXSTR_TABLE_PRESET_ONLYOUTER (RID_SVX_START + 970)
-#define RID_SVXSTR_TABLE_PRESET_OUTERHORI (RID_SVX_START + 971)
-#define RID_SVXSTR_TABLE_PRESET_OUTERALL (RID_SVX_START + 972)
-#define RID_SVXSTR_TABLE_PRESET_OUTERINNER (RID_SVX_START + 973)
-#define RID_SVXSTR_PARA_PRESET_DIAGONAL (RID_SVX_START + 974)
-#define RID_SVXSTR_PARA_PRESET_ALL (RID_SVX_START + 975)
-#define RID_SVXSTR_PARA_PRESET_LEFTRIGHT (RID_SVX_START + 976)
-#define RID_SVXSTR_PARA_PRESET_TOPBOTTOM (RID_SVX_START + 977)
-#define RID_SVXSTR_PARA_PRESET_ONLYLEFT (RID_SVX_START + 978)
-#define RID_SVXSTR_SHADOW_STYLE_NONE (RID_SVX_START + 979)
-#define RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT (RID_SVX_START + 980)
-#define RID_SVXSTR_SHADOW_STYLE_TOPRIGHT (RID_SVX_START + 981)
-#define RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT (RID_SVX_START + 982)
-#define RID_SVXSTR_SHADOW_STYLE_TOPLEFT (RID_SVX_START + 983)
-#define RID_SVXSTR_HOR_PRESET_ONLYHOR (RID_SVX_START + 1113)
-#define RID_SVXSTR_VER_PRESET_ONLYVER (RID_SVX_START + 1114)
-#define RID_SVXSTR_FRAMEDIR_LTR (RID_SVX_START + 960)
-#define RID_SVXSTR_FRAMEDIR_RTL (RID_SVX_START + 961)
-#define RID_SVXSTR_FRAMEDIR_SUPER (RID_SVX_START + 962)
-#define RID_SVXSTR_PAGEDIR_LTR_HORI (RID_SVX_START + 965)
-#define RID_SVXSTR_PAGEDIR_RTL_HORI (RID_SVX_START + 966)
-#define RID_SVXSTR_PAGEDIR_RTL_VERT (RID_SVX_START + 967)
-#define RID_SVXSTR_PAGEDIR_LTR_VERT (RID_SVX_START + 968)
-#define RID_SVXSTR_EDIT_GRAPHIC (RID_SVX_START + 509)
-
-#define RID_SVXSTR_DESC_GRADIENT (RID_SVX_START + 163)
-#define RID_SVXSTR_DESC_NEW_BITMAP (RID_SVX_START + 168)
-#define RID_SVXSTR_DESC_EXT_BITMAP (RID_SVX_START + 169)
-#define RID_SVXSTR_DESC_NEW_PATTERN (RID_SVX_START + 170)
-#define RID_SVXSTR_REMOVE_FAVORITES (RID_SVX_START + 171)
-#define RID_SVXSTR_ADD_FAVORITES (RID_SVX_START + 172)
-#define RID_SVXSTR_DESC_LINESTYLE (RID_SVX_START + 174)
-
-#define RID_SVXSTR_ASK_CHANGE_LINESTYLE (RID_SVX_START + 177)
-#define RID_SVXSTR_DESC_HATCH (RID_SVX_START + 232)
-#define RID_SVXSTR_CHANGE (RID_SVX_START + 181)
-#define RID_SVXSTR_ADD (RID_SVX_START + 182)
-#define RID_SVXSTR_DESC_COLOR (RID_SVX_START + 215)
-#define RID_SVXSTR_TABLE (RID_SVX_START + 220)
-#define RID_SVXSTR_CONNECTOR (RID_SVX_START + 221)
-#define RID_SVXSTR_DIMENSION_LINE (RID_SVX_START + 222)
-
-#define RID_SVXSTR_DESC_LINEEND (RID_SVX_START + 238)
-#define RID_SVXSTR_CHARNAME_NOSTYLE (RID_SVX_START + 239)
-#define RID_SVXSTR_CHARNAME_FAMILY (RID_SVX_START + 240)
-#define RID_SVXSTR_CHARNAME_FONT (RID_SVX_START + 241)
-#define RID_SVXSTR_CHARNAME_STYLE (RID_SVX_START + 242)
-#define RID_SVXSTR_CHARNAME_TYPEFACE (RID_SVX_START + 243)
-#define RID_SVXSTR_CHARNAME_HIGHLIGHTING (RID_SVX_START + 244)
-
// options
-#define RID_SVXSTR_DIAGRAM_ROW (RID_SVX_START + 1162)
-#define RID_SVXSTR_QUERY_DELETE_CONFIRM (RID_SVX_START + 1110)
#define RID_SVXPAGE_JSEARCH_OPTIONS (RID_SVX_START + 840)
-#define STR_LINKEDDOC_DOESNOTEXIST (RID_SVX_START + 1111)
-#define STR_LINKEDDOC_NO_SYSTEM_FILE (RID_SVX_START + 1169)
-#define STR_NAME_CONFLICT (RID_SVX_START + 1112)
#define RID_SVX_FONT_SUBSTITUTION (RID_SVX_START + 18)
// treeopt
@@ -115,293 +55,13 @@
#define RID_OPTPAGE_CHART_DEFCOLORS (RID_SVX_START + 299)
#define RID_SVXPAGE_PERSONALIZATION (RID_SVX_START + 247)
#define RID_SVXPAGE_COLORCONFIG (RID_SVX_START + 249)
-#define RID_SVXSTR_COLOR_CONFIG_DELETE (RID_SVX_START + 324)
-#define RID_SVXSTR_COLOR_CONFIG_SAVE1 (RID_SVX_START + 853)
-#define RID_SVXSTR_COLOR_CONFIG_SAVE2 (RID_SVX_START + 854)
-#define RID_SVXSTR_COLOR_CONFIG_DELETE_TITLE (RID_SVX_START + 855)
-#define RID_SVXSTR_OPT_DOUBLE_DICTS (RID_SVX_START + 320)
-#define RID_SVXSTR_OPT_PROXYPORTS (RID_SVX_START + 224)
-#define RID_SVXSTR_JRE_NOT_RECOGNIZED (RID_SVX_START + 256)
-#define RID_SVXSTR_JRE_FAILED_VERSION (RID_SVX_START + 257)
-#define RID_SVXSTR_JAVA_START_PARAM (RID_SVX_START + 258)
-#define RID_SVXSTR_PATH_NAME_START (RID_SVX_START + 1003)
#define RID_SVXPAGE_BASICIDE_OPTIONS (RID_SVX_START + 209)
-#define RID_SVXSTR_KEY_AUTOCORRECT_DIR (RID_SVX_START + 1004) //?
-#define RID_SVXSTR_KEY_DICTIONARY_PATH (RID_SVX_START + 1010)//?
-#define RID_SVXSTR_KEY_LINGUISTIC_DIR (RID_SVX_START + 1016)//?
-#define RID_SVXSTR_KEY_USERCONFIG_PATH (RID_SVX_START + 1023)//?
-#define RID_SVXSTR_KEY_FILTER_PATH (RID_SVX_START + 1012)//?
-#define RID_SVXSTR_KEY_ADDINS_PATH (RID_SVX_START + 1003)//?
-#define RID_SVXSTR_KEY_FAVORITES_DIR (RID_SVX_START + 1011)//?
-#define RID_SVXSTR_KEY_PLUGINS_PATH (RID_SVX_START + 1019)//?
-#define RID_SVXSTR_KEY_TEMP_PATH (RID_SVX_START + 1021)//?
-#define RID_SVXSTR_KEY_STORAGE_DIR (RID_SVX_START + 1020)//?
-#define RID_SVXSTR_KEY_GALLERY_DIR (RID_SVX_START + 1013)//?
-#define RID_SVXSTR_KEY_HELP_DIR (RID_SVX_START + 1015)//?
-#define RID_SVXSTR_KEY_GLOSSARY_PATH (RID_SVX_START + 1005)//?
-#define RID_SVXSTR_KEY_TEMPLATE_PATH (RID_SVX_START + 1022)//?
-#define RID_SVXSTR_KEY_MODULES_PATH (RID_SVX_START + 1017)//?
-#define RID_SVXSTR_KEY_BACKUP_PATH (RID_SVX_START + 1006)//?
-#define RID_SVXSTR_KEY_PALETTE_PATH (RID_SVX_START + 1018)//?
-#define RID_SVXSTR_KEY_CONFIG_DIR (RID_SVX_START + 1009)//?
-#define RID_SVXSTR_KEY_WORK_PATH (RID_SVX_START + 1024)//?
-#define RID_SVXSTR_KEY_GRAPHICS_PATH (RID_SVX_START + 1014)//?
-#define RID_SVXSTR_KEY_BASIC_PATH (RID_SVX_START + 1007)//?
-#define RID_SVXSTR_KEY_BITMAP_PATH (RID_SVX_START + 1008)//?
-#define RID_SVXSTR_KEY_USERDICTIONARY_DIR (RID_SVX_START + 1025)//?
-#define RID_SVXSTR_KEY_CLASSIFICATION_PATH (RID_SVX_START + 1118)
-
-// dialogs
-#define STR_MODIFY (RID_SVX_START + 336)//from optdict.src
// hyperlink dialog
#define RID_SVXPAGE_HYPERLINK_INTERNET (RID_SVX_START + 228)
#define RID_SVXPAGE_HYPERLINK_MAIL (RID_SVX_START + 229)
#define RID_SVXPAGE_HYPERLINK_DOCUMENT (RID_SVX_START + 230)
#define RID_SVXPAGE_HYPERLINK_NEWDOCUMENT (RID_SVX_START + 231)
-#define RID_SVXSTR_HYPERDLG_HLINETTP (RID_SVX_START + 581)
-#define RID_SVXSTR_HYPERDLG_HLINETTP_HELP (RID_SVX_START + 582)
-#define RID_SVXSTR_HYPERDLG_HLMAILTP (RID_SVX_START + 583)
-#define RID_SVXSTR_HYPERDLG_HLMAILTP_HELP (RID_SVX_START + 584)
-#define RID_SVXSTR_HYPERDLG_HLDOCTP (RID_SVX_START + 585)
-#define RID_SVXSTR_HYPERDLG_HLDOCTP_HELP (RID_SVX_START + 586)
-#define RID_SVXSTR_HYPERDLG_HLDOCNTP (RID_SVX_START + 587)
-#define RID_SVXSTR_HYPERDLG_HLDOCNTP_HELP (RID_SVX_START + 588)
-#define RID_SVXSTR_HYPDLG_CLOSEBUT (RID_SVX_START + 549)
-#define RID_SVXSTR_HYPDLG_NOVALIDFILENAME (RID_SVX_START + 553)
-#define RID_SVXSTR_HYPERDLG_QUERYOVERWRITE (RID_SVX_START + 815)
-#define RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES (RID_SVX_START + 800)
-#define RID_SVXSTR_HYPDLG_ERR_LERR_DOCNOTOPEN (RID_SVX_START + 801)
-#define RID_SVXSTR_HYPDLG_MACROACT1 (RID_SVX_START + 550)
-#define RID_SVXSTR_HYPDLG_MACROACT2 (RID_SVX_START + 551)
-#define RID_SVXSTR_HYPDLG_MACROACT3 (RID_SVX_START + 552)
-#define RID_SVXSTR_HYPERDLG_FORM_BUTTON (RID_SVX_START + 813)
-#define RID_SVXSTR_HYPERDLG_FROM_TEXT (RID_SVX_START + 814)
-#define RID_SVXSTR_MNUCFG_ALREADY_INCLUDED (RID_SVX_START + 816)
-
-// multi path dialog
-#define RID_MULTIPATH_DBL_ERR (RID_SVX_START + 207)
-#define RID_SVXSTR_ARCHIVE_TITLE (RID_SVX_START + 484)
-#define RID_SVXSTR_ARCHIVE_HEADLINE (RID_SVX_START + 485)
-#define RID_SVXSTR_MULTIFILE_DBL_ERR (RID_SVX_START + 486)
-#define RID_SVXSTR_ADD_IMAGE (RID_SVX_START + 487)
-
-// script organizer
-#define RID_SVXSTR_DELQUERY (RID_SVX_START + 1027)
-#define RID_SVXSTR_DELQUERY_TITLE (RID_SVX_START + 1028)
-#define RID_SVXSTR_DELFAILED (RID_SVX_START + 1029)
-#define RID_SVXSTR_DELFAILED_TITLE (RID_SVX_START + 1031)
-#define RID_SVXSTR_CREATEFAILED (RID_SVX_START + 1032)
-#define RID_SVXSTR_CREATEFAILEDDUP (RID_SVX_START + 1034)
-#define RID_SVXSTR_CREATEFAILED_TITLE (RID_SVX_START + 1035)
-#define RID_SVXSTR_RENAMEFAILED (RID_SVX_START + 1036)
-#define RID_SVXSTR_RENAMEFAILED_TITLE (RID_SVX_START + 1038)
-#define RID_SVXSTR_ERROR_TITLE (RID_SVX_START + 1100)
-#define RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED (RID_SVX_START + 1101)
-#define RID_SVXSTR_ERROR_RUNNING (RID_SVX_START + 1102)
-#define RID_SVXSTR_EXCEPTION_RUNNING (RID_SVX_START + 1103)
-#define RID_SVXSTR_ERROR_AT_LINE (RID_SVX_START + 1104)
-#define RID_SVXSTR_EXCEPTION_AT_LINE (RID_SVX_START + 1105)
-#define RID_SVXSTR_FRAMEWORK_ERROR_RUNNING (RID_SVX_START + 1106)
-#define RID_SVXSTR_ERROR_TYPE_LABEL (RID_SVX_START + 1108)
-#define RID_SVXSTR_ERROR_MESSAGE_LABEL (RID_SVX_START + 1109)
-
-#define RID_SVXSTR_PRODUCTNAME_CONTEXTMENUS (RID_SVX_START + 1167)
-#define RID_SVXSTR_NEW_MENU (RID_SVX_START + 1039)
-#define RID_SVXSTR_NEW_TOOLBAR (RID_SVX_START + 1040)
-#define RID_SVXSTR_MOVE_MENU (RID_SVX_START + 1041)
-#define RID_SVXSTR_ADD_SUBMENU (RID_SVX_START + 1048)
-#define RID_SVXSTR_SUBMENU_NAME (RID_SVX_START + 1049)
-#define RID_SVXSTR_MENU_ADDCOMMANDS_DESCRIPTION (RID_SVX_START + 1050)
-#define RID_SVXSTR_DELETE_ICON_CONFIRM (RID_SVX_START + 1163) //added for issue73355
-#define RID_SVXSTR_REPLACE_ICON_WARNING (RID_SVX_START + 1164) //added for issue73355
-#define RID_SVXSTR_REPLACE_ICON_CONFIRM (RID_SVX_START + 1165) //added for issue73355
-#define RID_SVXSTR_YESTOALL (RID_SVX_START + 1166) //added for issue73355
-#define RID_SVXSTR_PRODUCTNAME_TOOLBARS (RID_SVX_START + 1042)
-#define RID_SVXSTR_TOOLBAR (RID_SVX_START + 1043)
-#define RID_SVXSTR_TOOLBAR_CONTENT (RID_SVX_START + 1044)
-#define RID_SVXSTR_COMMANDS (RID_SVX_START + 1045)
-#define RID_SVXSTR_CONFIRM_MENU_RESET (RID_SVX_START + 1115)
-#define RID_SVXSTR_CONFIRM_TOOLBAR_RESET (RID_SVX_START + 1116)
-#define RID_SVXSTR_LABEL_NEW_NAME (RID_SVX_START + 1135)
-#define RID_SVXSTR_RENAME_MENU (RID_SVX_START + 1136)
-#define RID_SVXSTR_RENAME_TOOLBAR (RID_SVX_START + 1137)
-#define RID_SVXSTR_EVENT_STARTAPP (RID_SVX_START + 1051)
-#define RID_SVXSTR_EVENT_CLOSEAPP (RID_SVX_START + 1052)
-#define RID_SVXSTR_EVENT_NEWDOC (RID_SVX_START + 1053)
-#define RID_SVXSTR_EVENT_CLOSEDOC (RID_SVX_START + 1054)
-#define RID_SVXSTR_EVENT_PREPARECLOSEDOC (RID_SVX_START + 1055)
-#define RID_SVXSTR_EVENT_OPENDOC (RID_SVX_START + 1056)
-#define RID_SVXSTR_EVENT_SAVEDOC (RID_SVX_START + 1057)
-#define RID_SVXSTR_EVENT_SAVEASDOC (RID_SVX_START + 1058)
-#define RID_SVXSTR_EVENT_SAVEDOCDONE (RID_SVX_START + 1059)
-#define RID_SVXSTR_EVENT_SAVEASDOCDONE (RID_SVX_START + 1060)
-#define RID_SVXSTR_EVENT_ACTIVATEDOC (RID_SVX_START + 1061)
-#define RID_SVXSTR_EVENT_DEACTIVATEDOC (RID_SVX_START + 1062)
-#define RID_SVXSTR_EVENT_PRINTDOC (RID_SVX_START + 1063)
-#define RID_SVXSTR_EVENT_MODIFYCHANGED (RID_SVX_START + 1064)
-#define RID_SVXSTR_EVENT_MAILMERGE (RID_SVX_START + 1065)
-#define RID_SVXSTR_EVENT_PAGECOUNTCHANGE (RID_SVX_START + 1066)
-#define RID_SVXSTR_EVENT_APPROVEACTIONPERFORMED (RID_SVX_START + 1067)
-#define RID_SVXSTR_EVENT_ACTIONPERFORMED (RID_SVX_START + 1068)
-#define RID_SVXSTR_EVENT_CHANGED (RID_SVX_START + 1069)
-#define RID_SVXSTR_EVENT_TEXTCHANGED (RID_SVX_START + 1070)
-#define RID_SVXSTR_EVENT_ITEMSTATECHANGED (RID_SVX_START + 1071)
-#define RID_SVXSTR_EVENT_FOCUSGAINED (RID_SVX_START + 1072)
-#define RID_SVXSTR_EVENT_FOCUSLOST (RID_SVX_START + 1073)
-#define RID_SVXSTR_EVENT_KEYTYPED (RID_SVX_START + 1074)
-#define RID_SVXSTR_EVENT_KEYUP (RID_SVX_START + 1075)
-#define RID_SVXSTR_EVENT_MOUSEENTERED (RID_SVX_START + 1076)
-#define RID_SVXSTR_EVENT_MOUSEDRAGGED (RID_SVX_START + 1077)
-#define RID_SVXSTR_EVENT_MOUSEMOVED (RID_SVX_START + 1078)
-#define RID_SVXSTR_EVENT_MOUSEPRESSED (RID_SVX_START + 1079)
-#define RID_SVXSTR_EVENT_MOUSERELEASED (RID_SVX_START + 1080)
-#define RID_SVXSTR_EVENT_MOUSEEXITED (RID_SVX_START + 1081)
-#define RID_SVXSTR_EVENT_APPROVERESETTED (RID_SVX_START + 1082)
-#define RID_SVXSTR_EVENT_SUBMITTED (RID_SVX_START + 1083)
-#define RID_SVXSTR_EVENT_BEFOREUPDATE (RID_SVX_START + 1084)
-#define RID_SVXSTR_EVENT_AFTERUPDATE (RID_SVX_START + 1085)
-#define RID_SVXSTR_EVENT_LOADED (RID_SVX_START + 1086)
-#define RID_SVXSTR_EVENT_RELOADING (RID_SVX_START + 1087)
-#define RID_SVXSTR_EVENT_RELOADED (RID_SVX_START + 1088)
-#define RID_SVXSTR_EVENT_UNLOADING (RID_SVX_START + 1089)
-#define RID_SVXSTR_EVENT_UNLOADED (RID_SVX_START + 1090)
-#define RID_SVXSTR_EVENT_CONFIRMDELETE (RID_SVX_START + 1091)
-#define RID_SVXSTR_EVENT_APPROVEROWCHANGE (RID_SVX_START + 1092)
-#define RID_SVXSTR_EVENT_ROWCHANGE (RID_SVX_START + 1093)
-#define RID_SVXSTR_EVENT_POSITIONING (RID_SVX_START + 1094)
-#define RID_SVXSTR_EVENT_POSITIONED (RID_SVX_START + 1095)
-#define RID_SVXSTR_EVENT_APPROVEPARAMETER (RID_SVX_START + 1096)
-#define RID_SVXSTR_EVENT_ERROROCCURRED (RID_SVX_START + 1097)
-#define RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED (RID_SVX_START + 1098)
-#define RID_SVXSTR_EVENT_RESETTED (RID_SVX_START + 1099)
-#define RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED (RID_SVX_START + 1170)
-#define RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED (RID_SVX_START + 1171)
-#define RID_SVXSTR_EVENT_CREATEDOC (RID_SVX_START + 1172)
-#define RID_SVXSTR_EVENT_LOADDOCFINISHED (RID_SVX_START + 1173)
-#define RID_SVXSTR_EVENT_SAVEDOCFAILED (RID_SVX_START + 1174)
-#define RID_SVXSTR_EVENT_SAVEASDOCFAILED (RID_SVX_START + 1175)
-#define RID_SVXSTR_EVENT_COPYTODOC (RID_SVX_START + 1176)
-#define RID_SVXSTR_EVENT_COPYTODOCDONE (RID_SVX_START + 1177)
-#define RID_SVXSTR_EVENT_COPYTODOCFAILED (RID_SVX_START + 1178)
-#define RID_SVXSTR_EVENT_VIEWCREATED (RID_SVX_START + 1179)
-#define RID_SVXSTR_EVENT_PREPARECLOSEVIEW (RID_SVX_START + 1180)
-#define RID_SVXSTR_EVENT_CLOSEVIEW (RID_SVX_START + 1181)
-#define RID_SVXSTR_EVENT_TITLECHANGED (RID_SVX_START + 1182)
-#define RID_SVXSTR_EVENT_MAILMERGE_END (RID_SVX_START + 1186)
-#define RID_SVXSTR_EVENT_FIELDMERGE (RID_SVX_START + 1187)
-#define RID_SVXSTR_EVENT_FIELDMERGE_FINISHED (RID_SVX_START + 1188)
-
-// For now, keep new IDs unique only within cui.
-// Later, cui should perhaps get an own range of IDs.
-#define RID_SVXSTR_EVENT_SELECTIONCHANGED (RID_SVX_START + 1190)
-#define RID_SVXSTR_EVENT_DOUBLECLICK (RID_SVX_START + 1191)
-#define RID_SVXSTR_EVENT_RIGHTCLICK (RID_SVX_START + 1192)
-#define RID_SVXSTR_EVENT_CALCULATE (RID_SVX_START + 1193)
-#define RID_SVXSTR_EVENT_CONTENTCHANGED (RID_SVX_START + 1194)
-
-#define RID_SVXSTR_ERR_TEXTNOTFOUND (RID_SVX_START + 1195)
-#define RID_SVXSTR_SELECT_FILE_IFRAME (RID_SVX_START + 1196)
-#define RID_SVXSTR_MYMACROS (RID_SVX_START + 1197)
-#define RID_SVXSTR_PRODMACROS (RID_SVX_START + 1198)
-#define RID_SVXSTR_SELECTOR_ADD_COMMANDS (RID_SVX_START + 1199)
-#define RID_SVXSTR_SELECTOR_RUN (RID_SVX_START + 1200)
-#define RID_SVXSTR_ROW (RID_SVX_START + 1201)
-#define RID_SVXSTR_COL (RID_SVX_START + 1202)
-#define RID_SVXSTR_AUTO_ENTRY (RID_SVX_START + 1203)
-#define RID_SVXSTR_ALLFUNCTIONS (RID_SVX_START + 1204)
-
-#define RID_SVXSTR_USE_REPLACE (RID_SVX_START + 1205)
-#define RID_SVXSTR_CPTL_STT_WORD (RID_SVX_START + 1206)
-#define RID_SVXSTR_CPTL_STT_SENT (RID_SVX_START + 1207)
-#define RID_SVXSTR_BOLD_UNDER (RID_SVX_START + 1208)
-#define RID_SVXSTR_NO_DBL_SPACES (RID_SVX_START + 1209)
-#define RID_SVXSTR_DETECT_URL (RID_SVX_START + 1210)
-#define RID_SVXSTR_DASH (RID_SVX_START + 1211)
-#define RID_SVXSTR_CORRECT_ACCIDENTAL_CAPS_LOCK (RID_SVX_START + 1212)
-#define RID_SVXSTR_NON_BREAK_SPACE (RID_SVX_START + 1213)
-#define RID_SVXSTR_ORDINAL (RID_SVX_START + 1214)
-#define RID_SVXSTR_DEL_EMPTY_PARA (RID_SVX_START + 1215)
-#define RID_SVXSTR_USER_STYLE (RID_SVX_START + 1216)
-#define RID_SVXSTR_BULLET (RID_SVX_START + 1217)
-#define RID_SVXSTR_RIGHT_MARGIN (RID_SVX_START + 1218)
-#define RID_SVXSTR_NUM (RID_SVX_START + 1219)
-#define RID_SVXSTR_BORDER (RID_SVX_START + 1220)
-#define RID_SVXSTR_CREATE_TABLE (RID_SVX_START + 1221)
-#define RID_SVXSTR_REPLACE_TEMPLATES (RID_SVX_START + 1222)
-#define RID_SVXSTR_DEL_SPACES_AT_STT_END (RID_SVX_START + 1223)
-#define RID_SVXSTR_DEL_SPACES_BETWEEN_LINES (RID_SVX_START + 1224)
-
-#define RID_SVXSTR_CAPITAL_WORDS (RID_SVX_START + 1225)
-#define RID_SVXSTR_WORDS_WITH_DIGITS (RID_SVX_START + 1226)
-#define RID_SVXSTR_SPELL_SPECIAL (RID_SVX_START + 1227)
-#define RID_SVXSTR_SPELL_AUTO (RID_SVX_START + 1228)
-#define RID_SVXSTR_NUM_PRE_BREAK (RID_SVX_START + 1229)
-#define RID_SVXSTR_NUM_POST_BREAK (RID_SVX_START + 1230)
-#define RID_SVXSTR_HYPH_AUTO (RID_SVX_START + 1231)
-#define RID_SVXSTR_HYPH_SPECIAL (RID_SVX_START + 1232)
-#define RID_SVXSTR_NUM_MIN_WORDLEN (RID_SVX_START + 1233)
-#define RID_SVXSTR_GRAMMAR_AUTO (RID_SVX_START + 1234)
-#define RID_SVXSTR_GROUP_STYLES (RID_SVX_START + 1235)
-#define RID_SVXSTR_BASICMACROS (RID_SVX_START + 1236)
-// There is a gap here because of removed strings
-#define RID_SVXSTR_CHG_MATH (RID_SVX_START + 1238)
-#define RID_SVXSTR_CHG_WRITER (RID_SVX_START + 1239)
-#define RID_SVXSTR_CHG_CALC (RID_SVX_START + 1240)
-#define RID_SVXSTR_CHG_IMPRESS (RID_SVX_START + 1241)
-#define RID_SVXSTR_HEADER1 (RID_SVX_START + 1242)
-#define RID_SVXSTR_HEADER2 (RID_SVX_START + 1243)
-
-#define RID_SVXSTR_TYPE (RID_SVX_START + 1244)
-#define RID_SVXSTR_PATH (RID_SVX_START + 1245)
-
-#define RID_SVXSTR_DRIVER_NAME (RID_SVX_START + 1246)
-#define RID_SVXSTR_POOLED_FLAG (RID_SVX_START + 1247)
-#define RID_SVXSTR_POOL_TIMEOUT (RID_SVX_START + 1248)
-#define RID_SVXSTR_YES (RID_SVX_START + 1249)
-#define RID_SVXSTR_NO (RID_SVX_START + 1250)
-
-#define RID_SVXSTR_CHG_SMARTART (RID_SVX_START + 1251)
-
-#define RID_SVXSTR_PPI (RID_SVX_START + 1252)
-#define RID_SVXSTR_SPELL (RID_SVX_START + 1253)
-#define RID_SVXSTR_HYPH (RID_SVX_START + 1254)
-#define RID_SVXSTR_THES (RID_SVX_START + 1255)
-#define RID_SVXSTR_GRAMMAR (RID_SVX_START + 1256)
-
-#define RID_SVXSTR_ONE_PASSWORD_MISMATCH (RID_SVX_START + 1258)
-#define RID_SVXSTR_TWO_PASSWORDS_MISMATCH (RID_SVX_START + 1259)
-#define RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON (RID_SVX_START + 1260)
-#define RID_SVXSTR_INVALID_STATE_FOR_OK_BUTTON_V2 (RID_SVX_START + 1261)
-
-#define RID_SVXSTR_LOADACCELCONFIG (RID_SVX_START + 1262)
-#define RID_SVXSTR_SAVEACCELCONFIG (RID_SVX_START + 1263)
-#define RID_SVXSTR_FILTERNAME_CFG (RID_SVX_START + 1264)
-#define RID_SVXSTR_LOAD_ERROR (RID_SVX_START + 1265)
-
-#define RID_SVXSTR_EDITHINT (RID_SVX_START + 1266)
-#define RID_SVXSTR_SAVE_SCREENSHOT_AS (RID_SVX_START + 1267)
-
-#define RID_SVXSTR_STARTQUOTE (RID_SVX_START + 1268)
-#define RID_SVXSTR_ENDQUOTE (RID_SVX_START + 1269)
-
-// Hangul/Hanja Dialog
-#define RID_SVXSTR_HANGUL (RID_SVX_START + 1270)
-#define RID_SVXSTR_HANJA (RID_SVX_START + 1271)
-
-// Search Persona Dialog
-#define RID_SVXSTR_SELECTEDPERSONA (RID_SVX_START + 1278)
-#define RID_SVXSTR_SEARCHING (RID_SVX_START + 1279)
-#define RID_SVXSTR_SEARCHERROR (RID_SVX_START + 1280)
-#define RID_SVXSTR_NORESULTS (RID_SVX_START + 1281)
-#define RID_SVXSTR_APPLYPERSONA (RID_SVX_START + 1282)
-
-#define RID_SXVSTR_CONFIRM_DELETE_TOOLBAR (RID_SVX_START + 1283)
-#define RID_SVXSTR_CONFIRM_RESTORE_DEFAULT (RID_SVX_START + 1284)
-#define RID_SVXSTR_CONFIRM_SET_LANGUAGE (RID_SVX_START + 1285)
-
-// String Array for Persona Categories
-#define RID_SVXSTR_PERSONA_CATEGORIES (RID_SVX_START + 1286)
#define RID_SVXPAGE_OPENCL (RID_SVX_START + 254)
diff --git a/cui/source/inc/dialmgr.hxx b/cui/source/inc/dialmgr.hxx
index e323ba987c7e..067591a09bab 100644
--- a/cui/source/inc/dialmgr.hxx
+++ b/cui/source/inc/dialmgr.hxx
@@ -19,21 +19,9 @@
#ifndef INCLUDED_CUI_SOURCE_INC_DIALMGR_HXX
#define INCLUDED_CUI_SOURCE_INC_DIALMGR_HXX
-#include <tools/resid.hxx>
+#include <rtl/ustring.hxx>
-// forward ---------------------------------------------------------------
-
-#define CUI_MGR() (*CuiResMgr::GetResMgr())
-
-struct CuiResMgr
-{
- static ResMgr* GetResMgr();
-};
-
-inline OUString CuiResId(sal_uInt16 nId)
-{
- return ResId(nId, CUI_MGR());
-}
+OUString CuiResId(const char *pKey);
#endif
diff --git a/cui/source/inc/gallery.hrc b/cui/source/inc/gallery.hrc
deleted file mode 100644
index 221aa9bd5f6e..000000000000
--- a/cui/source/inc/gallery.hrc
+++ /dev/null
@@ -1,28 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#include <cuires.hrc>
-
-// Gallery-Strings
-#define RID_SVXSTR_GALLERY_NOFILES (RID_CUI_GALLERY_START + 12)
-#define RID_SVXSTR_GALLERYPROPS_OBJECT (RID_CUI_GALLERY_START + 39)
-#define RID_SVXSTR_GALLERY_READONLY (RID_CUI_GALLERY_START + 43)
-#define RID_SVXSTR_GALLERY_ALLFILES (RID_CUI_GALLERY_START + 44)
-#define RID_SVXSTR_GALLERY_ID_EXISTS (RID_CUI_GALLERY_START + 81)
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx
index b2feb3c6dcdc..736c4de3cbcf 100644
--- a/cui/source/inc/macropg.hxx
+++ b/cui/source/inc/macropg.hxx
@@ -41,10 +41,10 @@ typedef std::unordered_map< OUString, std::pair< OUString, OUString >,
struct EventDisplayName
{
const sal_Char* pAsciiEventName;
- sal_uInt16 nEventResourceID;
- EventDisplayName( const sal_Char* _pAsciiName, const sal_uInt16 _nResId )
- : pAsciiEventName( _pAsciiName )
- , nEventResourceID( _nResId )
+ const char* pEventResourceID;
+ EventDisplayName(const sal_Char* pAsciiName, const char* pResId)
+ : pAsciiEventName(pAsciiName)
+ , pEventResourceID(pResId)
{
}
};
diff --git a/cui/source/inc/swpossizetabpage.hxx b/cui/source/inc/swpossizetabpage.hxx
index fdd97c4566d8..ff83afe71892 100644
--- a/cui/source/inc/swpossizetabpage.hxx
+++ b/cui/source/inc/swpossizetabpage.hxx
@@ -73,9 +73,6 @@ class SvxSwPosSizeTabPage : public SfxTabPage
Link<SvxSwFrameValidation&,void> m_aValidateLink;
- //'string provider'
- SvxSwFramePosString m_aFramePosString;
-
::tools::Rectangle m_aRect; //size of all selected objects
::tools::Rectangle m_aWorkArea;
Point m_aAnchorPos;
@@ -110,7 +107,7 @@ class SvxSwPosSizeTabPage : public SfxTabPage
void InitPos(RndStdIds nAnchorType, sal_uInt16 nH, sal_uInt16 nHRel,
sal_uInt16 nV, sal_uInt16 nVRel,
long nX, long nY);
- sal_uInt16 GetMapPos(FrmMap *pMap, ListBox &rAlignLB);
+ static sal_uInt16 GetMapPos(FrmMap *pMap, ListBox &rAlignLB);
static short GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBox &rAlignLB, ListBox &rRelationLB);
static short GetRelation(FrmMap *pMap, ListBox &rRelationLB);
RndStdIds GetAnchorType(bool* pbHasChanged = nullptr);
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx
index a771ef0a206f..d01c1c10e2fe 100644
--- a/cui/source/inc/treeopt.hxx
+++ b/cui/source/inc/treeopt.hxx
@@ -24,7 +24,6 @@
#include <memory>
-#include <tools/resary.hxx>
#include <vcl/fixed.hxx>
class SfxModule;
@@ -196,40 +195,6 @@ public:
static void ApplyLanguageOptions(const SfxItemSet& rSet);
};
-// class OfaPageResource -------------------------------------------------
-
-class OfaPageResource
-{
- ResStringArray aGeneralDlgAry;
- ResStringArray aInetDlgAry;
- ResStringArray aLangDlgAry;
- ResStringArray aTextDlgAry;
- ResStringArray aHTMLDlgAry;
- ResStringArray aCalcDlgAry;
- ResStringArray aStarMathDlgAry;
- ResStringArray aImpressDlgAry;
- ResStringArray aDrawDlgAry;
- ResStringArray aChartDlgAry;
- ResStringArray aFilterDlgAry;
- ResStringArray aDatasourcesDlgAry;
-
-public:
- OfaPageResource();
-
- ResStringArray& GetGeneralArray() {return aGeneralDlgAry;}
- ResStringArray& GetInetArray() {return aInetDlgAry;}
- ResStringArray& GetLangArray() {return aLangDlgAry;}
- ResStringArray& GetTextArray() {return aTextDlgAry;}
- ResStringArray& GetHTMLArray() {return aHTMLDlgAry;}
- ResStringArray& GetCalcArray() {return aCalcDlgAry;}
- ResStringArray& GetStarMathArray() {return aStarMathDlgAry;}
- ResStringArray& GetImpressArray() {return aImpressDlgAry;}
- ResStringArray& GetDrawArray() {return aDrawDlgAry;}
- ResStringArray& GetChartArray() {return aChartDlgAry;}
- ResStringArray& GetFilterArray() {return aFilterDlgAry;}
- ResStringArray& GetDatasourcesArray() {return aDatasourcesDlgAry;}
-};
-
// class ExtensionsTabPage -----------------------------------------------
namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index 8a2e95793b16..4e8666cdac1a 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -22,6 +22,7 @@
#include "cfgchart.hxx"
#include <dialmgr.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#define ROW_COLOR_COUNT 12
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index 850a05d8d2c2..ae3a2538d386 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -25,6 +25,7 @@
#include <svl/eitem.hxx>
#include <cuires.hrc>
#include "helpid.hrc"
+#include <strings.hrc>
#include <dialmgr.hxx>
using ::svt::EditBrowseBox;
diff --git a/cui/source/options/connpooloptions.src b/cui/source/options/connpooloptions.src
deleted file mode 100644
index 5f441079f37f..000000000000
--- a/cui/source/options/connpooloptions.src
+++ /dev/null
@@ -1,43 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String RID_SVXSTR_DRIVER_NAME
-{
- Text [ en-US ] = "Driver name";
-};
-String RID_SVXSTR_POOLED_FLAG
-{
- Text [ en-US ] = "Pool";
-};
-String RID_SVXSTR_POOL_TIMEOUT
-{
- Text [ en-US ] = "Timeout";
-};
-String RID_SVXSTR_YES
-{
- Text [ en-US ] = "Yes";
-};
-String RID_SVXSTR_NO
-{
- Text [ en-US ] = "No";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx
index ce2a4a94dd4b..df307e814396 100644
--- a/cui/source/options/dbregister.cxx
+++ b/cui/source/options/dbregister.cxx
@@ -25,6 +25,7 @@
#include <svtools/editbrowsebox.hxx>
#include "svtools/treelistentry.hxx"
#include <cuires.hrc>
+#include <strings.hrc>
#include <bitmaps.hlst>
#include <vcl/field.hxx>
#include <vcl/layout.hxx>
@@ -442,5 +443,4 @@ IMPL_LINK( DbRegistrationOptionsPage, NameValidator, const OUString&, _rName, bo
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/dbregister.src b/cui/source/options/dbregister.src
deleted file mode 100644
index 7362be056d51..000000000000
--- a/cui/source/options/dbregister.src
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String RID_SVXSTR_TYPE
-{
- Text [ en-US ] = "Registered name" ;
-};
-
-String RID_SVXSTR_PATH
-{
- Text [ en-US ] = "Database file" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/doclinkdialog.cxx b/cui/source/options/doclinkdialog.cxx
index eacfc0319f80..6bb15f5b3aae 100644
--- a/cui/source/options/doclinkdialog.cxx
+++ b/cui/source/options/doclinkdialog.cxx
@@ -22,6 +22,7 @@
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <comphelper/processfactory.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <svl/filenotation.hxx>
#include <vcl/layout.hxx>
#include <ucbhelper/content.hxx>
diff --git a/cui/source/options/doclinkdialog.src b/cui/source/options/doclinkdialog.src
deleted file mode 100644
index 6e93f0c373fa..000000000000
--- a/cui/source/options/doclinkdialog.src
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String STR_LINKEDDOC_DOESNOTEXIST
-{
- Text [ en-US ] = "The file\n$file$\ndoes not exist.";
-};
-
-String STR_LINKEDDOC_NO_SYSTEM_FILE
-{
- Text [ en-US ] = "The file\n$file$\ndoes not exist in the local file system.";
-};
-
-String STR_NAME_CONFLICT
-{
- Text [ en-US ] = "The name '$file$' is already used for another database.\nPlease choose a different name.";
-};
-
-String RID_SVXSTR_QUERY_DELETE_CONFIRM
-{
- Text [ en-US ] = "Do you want to delete the entry?" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optchart.src b/cui/source/options/optchart.src
deleted file mode 100644
index f5ae78182f52..000000000000
--- a/cui/source/options/optchart.src
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-#include "helpid.hrc"
-
-// tab page for setting the default colors used for new charts
-
-String RID_SVXSTR_DIAGRAM_ROW
-{
- // $(ROW) can be a number or the caption of the row in quotes
-
- Text [ en-US ] = "Data Series $(ROW)" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index 33ea45e806c0..1a64c728eddb 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -39,6 +39,7 @@
#include <dialmgr.hxx>
#include "optcolor.hxx"
#include <cuires.hrc>
+#include <strings.hrc>
#include <svx/dlgutil.hxx>
using namespace ::com::sun::star;
@@ -283,7 +284,6 @@ private:
// ctor for default groups
// rParent: parent window (ColorConfigWindow_Impl)
// eGroup: which group is this?
-// rResMgr: resource manager
ColorConfigWindow_Impl::Chapter::Chapter(FixedText* pText, bool bShow)
: m_pText(pText)
{
diff --git a/cui/source/options/optcolor.src b/cui/source/options/optcolor.src
deleted file mode 100644
index 2a9af27e71b1..000000000000
--- a/cui/source/options/optcolor.src
+++ /dev/null
@@ -1,41 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <sfx2/sfx.hrc>
-#include "helpid.hrc"
-#include <cuires.hrc>
-
-String RID_SVXSTR_COLOR_CONFIG_DELETE
-{
- Text [ en-US ] = "Do you really want to delete the color scheme?" ;
-};
-String RID_SVXSTR_COLOR_CONFIG_DELETE_TITLE
-{
- Text [ en-US ] = "Color Scheme Deletion" ;
-};
-String RID_SVXSTR_COLOR_CONFIG_SAVE1
-{
- Text [ en-US ] = "Save scheme" ;
-};
-String RID_SVXSTR_COLOR_CONFIG_SAVE2
-{
- Text [ en-US ] = "Name of color scheme" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index a8beb91cfa46..9f0f8bd434a4 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -34,6 +34,7 @@
#include <linguistic/misc.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include "optdict.hxx"
#include <dialmgr.hxx>
#include <svx/svxerr.hxx>
@@ -177,7 +178,7 @@ IMPL_LINK_NOARG(SvxNewDictionaryDialog, OKHdl_Impl, Button*, void)
xNewDic = nullptr;
// error: couldn't create new dictionary
SfxErrorContext aContext( ERRCTX_SVX_LINGU_DICTIONARY, OUString(),
- this, RID_SVXERRCTX, &DIALOG_MGR() );
+ this, getRID_SVXERRCTX(), &SvxResLocale() );
ErrorHandler::HandleError( *new StringErrorInfo(
ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE, sDict ) );
EndDialog();
diff --git a/cui/source/options/optdict.src b/cui/source/options/optdict.src
deleted file mode 100644
index eeae6311835a..000000000000
--- a/cui/source/options/optdict.src
+++ /dev/null
@@ -1,38 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "helpid.hrc"
-#include <cuires.hrc>
-
-String RID_SVXSTR_OPT_DOUBLE_DICTS
-{
- Text [ en-US ] = "The specified name already exists.\nPlease enter a new name." ;
-};
-
-String STR_MODIFY
-{
- Text [ en-US ] = "~Replace" ;
-};
-
-String RID_SVXSTR_CONFIRM_SET_LANGUAGE
-{
- Text [ en-US ] = "Do you want to change the '%1' dictionary language?" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx
index 8723c18e77be..6964977d3a39 100644
--- a/cui/source/options/optfltr.cxx
+++ b/cui/source/options/optfltr.cxx
@@ -23,6 +23,7 @@
#include "optfltr.hxx"
#include <cuires.hrc>
#include "helpid.hrc"
+#include "strings.hrc"
#include <dialmgr.hxx>
#include "svtools/svlbitm.hxx"
diff --git a/cui/source/options/optfltr.src b/cui/source/options/optfltr.src
deleted file mode 100644
index 41b378c05342..000000000000
--- a/cui/source/options/optfltr.src
+++ /dev/null
@@ -1,51 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String RID_SVXSTR_HEADER1
-{
- Text [ en-US ] = "[L]";
-};
-String RID_SVXSTR_HEADER2
-{
- Text [ en-US ] = "[S]";
-};
-String RID_SVXSTR_CHG_MATH
-{
- Text [ en-US ] = "MathType to %PRODUCTNAME Math or reverse";
-};
-String RID_SVXSTR_CHG_WRITER
-{
- Text [ en-US ] = "WinWord to %PRODUCTNAME Writer or reverse";
-};
-String RID_SVXSTR_CHG_CALC
-{
- Text [ en-US ] = "Excel to %PRODUCTNAME Calc or reverse";
-};
-String RID_SVXSTR_CHG_IMPRESS
-{
- Text [ en-US ] = "PowerPoint to %PRODUCTNAME Impress or reverse";
-};
-String RID_SVXSTR_CHG_SMARTART
-{
- Text [ en-US ] = "SmartArt to %PRODUCTNAME shapes or reverse";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index c28e7aecc901..db2ff453dbd4 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -54,6 +54,7 @@
#include <svx/ofaitem.hxx>
#include <sfx2/htmlmode.hxx>
#include <svx/svxids.hrc>
+#include <strings.hrc>
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
diff --git a/cui/source/options/optinet2.src b/cui/source/options/optinet2.src
deleted file mode 100644
index e1a9ee0f7800..000000000000
--- a/cui/source/options/optinet2.src
+++ /dev/null
@@ -1,29 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <sfx2/sfx.hrc>
-#include "helpid.hrc"
-#include <cuires.hrc>
-
-String RID_SVXSTR_OPT_PROXYPORTS
-{
- Text [ en-US ] = "Invalid value!\n\nThe maximum value for a port number is 65535.";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 732c616df0c5..8141a5b4ccc0 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -33,6 +33,7 @@
#include <cuires.hrc>
#include "helpid.hrc"
+#include <strings.hrc>
#include <vcl/svapp.hxx>
#include <vcl/help.hxx>
#include <tools/urlobj.hxx>
diff --git a/cui/source/options/optjava.src b/cui/source/options/optjava.src
deleted file mode 100644
index f4e931a9fbd8..000000000000
--- a/cui/source/options/optjava.src
+++ /dev/null
@@ -1,43 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-#include "helpid.hrc"
-
-String RID_SVXSTR_JRE_NOT_RECOGNIZED
-{
- Text [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
-};
-
-String RID_SVXSTR_JRE_FAILED_VERSION
-{
- Text [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
-};
-
-String RID_SVXSTR_OPTIONS_RESTART
-{
- Text [ en-US ] = "Please restart %PRODUCTNAME now so the new or modified values can take effect." ;
-};
-
-String RID_SVXSTR_JAVA_START_PARAM
-{
- Text [ en-US ] = "Edit Parameter" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index a67c458e43ec..1c85f8469c07 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -58,6 +58,7 @@
#include <dialmgr.hxx>
#include <cuires.hrc>
#include "helpid.hrc"
+#include <strings.hrc>
#include <ucbhelper/content.hxx>
diff --git a/cui/source/options/optlingu.src b/cui/source/options/optlingu.src
deleted file mode 100644
index 084f3a902de6..000000000000
--- a/cui/source/options/optlingu.src
+++ /dev/null
@@ -1,87 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "helpid.hrc"
-
-#include <svtools/controldims.hrc>
-#include <sfx2/sfx.hrc>
-#include <cuires.hrc>
-
-String RID_SVXSTR_SPELL
-{
- Text [ en-US ] = "Spelling";
-};
-
-String RID_SVXSTR_HYPH
-{
- Text [ en-US ] = "Hyphenation";
-};
-
-String RID_SVXSTR_THES
-{
- Text [ en-US ] = "Thesaurus";
-};
-
-String RID_SVXSTR_GRAMMAR
-{
- Text [ en-US ] = "Grammar";
-};
-
-String RID_SVXSTR_CAPITAL_WORDS
-{
- Text [ en-US ] = "Check uppercase words";
-};
-String RID_SVXSTR_WORDS_WITH_DIGITS
-{
- Text [ en-US ] = "Check words with numbers ";
-};
-String RID_SVXSTR_SPELL_SPECIAL
-{
- Text [ en-US ] = "Check special regions";
-};
-String RID_SVXSTR_SPELL_AUTO
-{
- Text [ en-US ] = "Check spelling as you type";
-};
-String RID_SVXSTR_GRAMMAR_AUTO
-{
- Text [ en-US ] = "Check grammar as you type";
-};
-String RID_SVXSTR_NUM_MIN_WORDLEN
-{
- Text [ en-US ] = "Minimal number of characters for hyphenation: ";
-};
-String RID_SVXSTR_NUM_PRE_BREAK
-{
- Text [ en-US ] = "Characters before line break: ";
-};
-String RID_SVXSTR_NUM_POST_BREAK
-{
- Text [ en-US ] = "Characters after line break: ";
-};
-String RID_SVXSTR_HYPH_AUTO
-{
- Text [ en-US ] = "Hyphenate without inquiry";
-};
-String RID_SVXSTR_HYPH_SPECIAL
-{
- Text [ en-US ] = "Hyphenate special regions";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index b99cd7f04767..0fb1e1a172ee 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/util/XChangesBatch.hpp>
#include <cuires.hrc>
+#include <strings.hrc>
#include <dialmgr.hxx>
#include "optopencl.hxx"
#include <svtools/treelistentry.hxx>
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index ab292153757f..08b0243a6f02 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -36,6 +36,7 @@
#include <dialmgr.hxx>
#include <cuires.hrc>
#include "helpid.hrc"
+#include "strings.hrc"
#include <comphelper/configuration.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
@@ -276,7 +277,6 @@ bool SvxPathTabPage::FillItemSet( SfxItemSet* )
return true;
}
-
void SvxPathTabPage::Reset( const SfxItemSet* )
{
pPathBox->Clear();
@@ -292,51 +292,74 @@ void SvxPathTabPage::Reset( const SfxItemSet* )
&& !SvtModuleOptions().IsModuleInstalled( SvtModuleOptions::EModule::WRITER ) )
continue;
+ const char* pId = nullptr;
+
switch (i)
{
case SvtPathOptions::PATH_AUTOCORRECT:
+ pId = RID_SVXSTR_KEY_AUTOCORRECT_DIR;
+ break;
case SvtPathOptions::PATH_AUTOTEXT:
+ pId = RID_SVXSTR_KEY_GLOSSARY_PATH;
+ break;
case SvtPathOptions::PATH_BACKUP:
+ pId = RID_SVXSTR_KEY_BACKUP_PATH;
+ break;
case SvtPathOptions::PATH_GALLERY:
+ pId = RID_SVXSTR_KEY_GALLERY_DIR;
+ break;
case SvtPathOptions::PATH_GRAPHIC:
+ pId = RID_SVXSTR_KEY_GRAPHICS_PATH;
+ break;
case SvtPathOptions::PATH_TEMP:
+ pId = RID_SVXSTR_KEY_TEMP_PATH;
+ break;
case SvtPathOptions::PATH_TEMPLATE:
+ pId = RID_SVXSTR_KEY_TEMPLATE_PATH;
+ break;
case SvtPathOptions::PATH_DICTIONARY:
+ pId = RID_SVXSTR_KEY_DICTIONARY_PATH;
+ break;
case SvtPathOptions::PATH_CLASSIFICATION:
+ pId = RID_SVXSTR_KEY_CLASSIFICATION_PATH;
+ break;
#if OSL_DEBUG_LEVEL > 1
case SvtPathOptions::PATH_LINGUISTIC:
+ pId = RID_SVXSTR_KEY_LINGUISTIC_DIR;
+ break;
#endif
case SvtPathOptions::PATH_WORK:
+ pId = RID_SVXSTR_KEY_WORK_PATH;
+ break;
+ }
+
+ if (pId)
+ {
+ OUString aStr(CuiResId(pId));
+
+ nWidth1 = std::max(nWidth1, pPathBox->GetTextWidth(aStr));
+ aStr += "\t";
+ OUString sInternal, sUser, sWritable;
+ bool bReadOnly = false;
+ GetPathList( i, sInternal, sUser, sWritable, bReadOnly );
+ OUString sTmpPath = sUser;
+ if ( !sTmpPath.isEmpty() && !sWritable.isEmpty() )
+ sTmpPath += OUStringLiteral1(MULTIPATH_DELIMITER);
+ sTmpPath += sWritable;
+ const OUString aValue = Convert_Impl( sTmpPath );
+ nWidth2 = std::max(nWidth2, pPathBox->GetTextWidth(aValue));
+ aStr += aValue;
+ SvTreeListEntry* pEntry = pPathBox->InsertEntry( aStr );
+ if ( bReadOnly )
{
- sal_uInt32 nId = RID_SVXSTR_PATH_NAME_START + i;
- if (i == SvtPathOptions::PATH_CLASSIFICATION)
- // RID_SVXSTR_KEY_USERDICTIONARY_DIR already took our slot, so name the key explicitly.
- nId = RID_SVXSTR_KEY_CLASSIFICATION_PATH;
- OUString aStr(CuiResId(nId));
-
- nWidth1 = std::max(nWidth1, pPathBox->GetTextWidth(aStr));
- aStr += "\t";
- OUString sInternal, sUser, sWritable;
- bool bReadOnly = false;
- GetPathList( i, sInternal, sUser, sWritable, bReadOnly );
- OUString sTmpPath = sUser;
- if ( !sTmpPath.isEmpty() && !sWritable.isEmpty() )
- sTmpPath += OUStringLiteral1(MULTIPATH_DELIMITER);
- sTmpPath += sWritable;
- const OUString aValue = Convert_Impl( sTmpPath );
- nWidth2 = std::max(nWidth2, pPathBox->GetTextWidth(aValue));
- aStr += aValue;
- SvTreeListEntry* pEntry = pPathBox->InsertEntry( aStr );
- if ( bReadOnly )
- {
- pPathBox->SetCollapsedEntryBmp( pEntry, pImpl->m_aLockImage );
- }
- PathUserData_Impl* pPathImpl = new PathUserData_Impl(i);
- pPathImpl->sUserPath = sUser;
- pPathImpl->sWritablePath = sWritable;
- pEntry->SetUserData( pPathImpl );
+ pPathBox->SetCollapsedEntryBmp( pEntry, pImpl->m_aLockImage );
}
+ PathUserData_Impl* pPathImpl = new PathUserData_Impl(i);
+ pPathImpl->sUserPath = sUser;
+ pPathImpl->sWritablePath = sWritable;
+ pEntry->SetUserData( pPathImpl );
}
+
}
long aTabs[] = {3, 0, 0, 0};
diff --git a/cui/source/options/optpath.src b/cui/source/options/optpath.src
deleted file mode 100644
index 8eae97173416..000000000000
--- a/cui/source/options/optpath.src
+++ /dev/null
@@ -1,120 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#include <cuires.hrc>
-#include <sfx2/sfx.hrc>
-#include "helpid.hrc"
-
-String RID_SVXSTR_KEY_CONFIG_DIR
-{
- Text [ en-US ] = "Configuration" ;
-};
-String RID_SVXSTR_KEY_WORK_PATH
-{
- Text [ en-US ] = "My Documents" ;
-};
-String RID_SVXSTR_KEY_GRAPHICS_PATH
-{
- Text [ en-US ] = "Images" ;
-};
-String RID_SVXSTR_KEY_BITMAP_PATH
-{
- Text [ en-US ] = "Icons" ;
-};
-String RID_SVXSTR_KEY_BASIC_PATH
-{
- Text = "BASIC" ;
-};
-String RID_SVXSTR_KEY_PALETTE_PATH
-{
- Text [ en-US ] = "Palettes" ;
-};
-String RID_SVXSTR_KEY_BACKUP_PATH
-{
- Text [ en-US ] = "Backups" ;
-};
-String RID_SVXSTR_KEY_MODULES_PATH
-{
- Text [ en-US ] = "Modules" ;
-};
-String RID_SVXSTR_KEY_TEMPLATE_PATH
-{
- Text [ en-US ] = "Templates" ;
-};
-String RID_SVXSTR_KEY_GLOSSARY_PATH
-{
- Text [ en-US ] = "AutoText";
-};
-String RID_SVXSTR_KEY_DICTIONARY_PATH
-{
- Text [ en-US ] = "Dictionaries" ;
-};
-String RID_SVXSTR_KEY_HELP_DIR
-{
- Text [ en-US ] = "Help" ;
-};
-String RID_SVXSTR_KEY_GALLERY_DIR
-{
- Text [ en-US ] = "Gallery" ;
-};
-String RID_SVXSTR_KEY_STORAGE_DIR
-{
- Text [ en-US ] = "Message Storage" ;
-};
-String RID_SVXSTR_KEY_TEMP_PATH
-{
- Text [ en-US ] = "Temporary files";
-};
-String RID_SVXSTR_KEY_PLUGINS_PATH
-{
- Text [ en-US ] = "Plug-ins";
-};
-String RID_SVXSTR_KEY_FAVORITES_DIR
-{
- Text [ en-US ] = "Folder Bookmarks";
-};
-String RID_SVXSTR_KEY_FILTER_PATH
-{
- Text [ en-US ] = "Filters";
-};
-String RID_SVXSTR_KEY_ADDINS_PATH
-{
- Text [ en-US ] = "Add-ins";
-};
-String RID_SVXSTR_KEY_USERCONFIG_PATH
-{
- Text [ en-US ] = "User Configuration";
-};
-String RID_SVXSTR_KEY_USERDICTIONARY_DIR
-{
- Text [ en-US ] = "User-defined dictionaries";
-};
-String RID_SVXSTR_KEY_CLASSIFICATION_PATH
-{
- Text [ en-US ] = "Classification" ;
-};
-String RID_SVXSTR_KEY_AUTOCORRECT_DIR
-{
- Text [ en-US ] = "AutoCorrect";
-};
-String RID_SVXSTR_KEY_LINGUISTIC_DIR
-{
- Text [ en-US ] = "Writing aids";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 66f663d68fb4..9594e6c644c0 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -29,6 +29,8 @@
#include <vcl/mnemonic.hxx>
#include <dialmgr.hxx>
#include "cuires.hrc"
+#include "strings.hrc"
+#include "personalization.hrc"
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
@@ -36,7 +38,6 @@
#include <com/sun/star/xml/sax/Parser.hpp>
#include "ucbhelper/content.hxx"
#include <comphelper/simplefileaccessinteraction.hxx>
-#include <tools/resary.hxx>
#define MAX_RESULTS 9
@@ -58,11 +59,10 @@ SelectPersonaDialog::SelectPersonaDialog( vcl::Window *pParent )
get( m_vSearchSuggestions[4], "suggestion5" );
get( m_vSearchSuggestions[5], "suggestion6" );
- ResStringArray aCategoriesArr(ResId(RID_SVXSTR_PERSONA_CATEGORIES, CUI_MGR()));
- assert(aCategoriesArr.Count() >= CATEGORYCOUNT);
+ assert(SAL_N_ELEMENTS(RID_SVXSTR_PERSONA_CATEGORIES) >= CATEGORYCOUNT);
for(sal_uInt32 i = 0; i < CATEGORYCOUNT; ++i)
{
- m_vSearchSuggestions[i]->SetText( aCategoriesArr.GetString(i) );
+ m_vSearchSuggestions[i]->SetText(CuiResId(RID_SVXSTR_PERSONA_CATEGORIES[i]));
m_vSearchSuggestions[i]->SetClickHdl( LINK( this, SelectPersonaDialog, SearchPersonas ) );
}
@@ -127,7 +127,7 @@ IMPL_LINK( SelectPersonaDialog, SearchPersonas, Button*, pButton, void )
/*
* English category names should be used for search.
* These strings should be in sync with the strings of
- * RID_SVXSTR_PERSONA_CATEGORIES in personalization.src
+ * RID_SVXSTR_PERSONA_CATEGORIES in personalization.hrc
*/
static const OUStringLiteral vSuggestionCategories[] =
{"LibreOffice", "Abstract", "Color", "Music", "Nature", "Solid"};
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 97681f0259da..685d2a49e2a0 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -20,11 +20,13 @@
#include <memory>
#include <config_features.h>
+#include <svx/dialogs.hrc>
+
#include "cuires.hrc"
+#include "strings.hrc"
+#include "treeopt.hrc"
#include "helpid.hrc"
-#include <svx/dialogs.hrc>
-
#include "cfgchart.hxx"
#include "connpoolconfig.hxx"
#include "connpooloptions.hxx"
@@ -145,8 +147,6 @@ struct ModuleToGroupNameMap_Impl
sal_uInt16 m_nNodeId;
};
-static OfaPageResource* pPageRes = nullptr;
-
static ModuleToGroupNameMap_Impl ModuleMap[] =
{
{ "ProductName", OUString(), SID_GENERAL_OPTIONS },
@@ -199,23 +199,20 @@ static OUString getGroupName( const OUString& rModule, bool bForced )
if ( sGroupName.isEmpty() && bForced )
{
- if ( !pPageRes )
- pPageRes = new OfaPageResource;
-
if ( rModule == "Writer" )
- sGroupName = pPageRes->GetTextArray().GetString(0);
+ sGroupName = CuiResId(SID_SW_EDITOPTIONS_RES[0].first);
else if ( rModule == "WriterWeb" )
- sGroupName = pPageRes->GetHTMLArray().GetString(0);
+ sGroupName = CuiResId(SID_SW_ONLINEOPTIONS_RES[0].first);
else if ( rModule == "Calc" )
- sGroupName = pPageRes->GetCalcArray().GetString(0);
+ sGroupName = CuiResId(SID_SC_EDITOPTIONS_RES[0].first);
else if ( rModule == "Impress" )
- sGroupName = pPageRes->GetImpressArray().GetString(0);
+ sGroupName = CuiResId(SID_SD_EDITOPTIONS_RES[0].first);
else if ( rModule == "Draw" )
- sGroupName = pPageRes->GetDrawArray().GetString(0);
+ sGroupName = CuiResId(SID_SD_GRAPHIC_OPTIONS_RES[0].first);
else if ( rModule == "Math" )
- sGroupName = pPageRes->GetStarMathArray().GetString(0);
+ sGroupName = CuiResId(SID_SM_EDITOPTIONS_RES[0].first);
else if ( rModule == "Base" )
- sGroupName = pPageRes->GetDatasourcesArray().GetString(0);
+ sGroupName = CuiResId(SID_SB_STARBASEOPTIONS_RES[0].first);
}
return sGroupName;
}
@@ -337,7 +334,7 @@ struct OptionsMapping_Impl
static OptionsMapping_Impl const OptionsMap_Impl[] =
{
// GROUP PAGE PAGE-ID
- { "ProductName", nullptr, SID_GENERAL_OPTIONS },
+ { "ProductName", nullptr, SID_GENERAL_OPTIONS },
{ "ProductName", "UserData", RID_SFXPAGE_GENERAL },
{ "ProductName", "General", OFA_TP_MISC },
{ "ProductName", "Memory", OFA_TP_MEMORY },
@@ -352,21 +349,21 @@ static OptionsMapping_Impl const OptionsMap_Impl[] =
{ "ProductName", "Java", RID_SVXPAGE_OPTIONS_JAVA },
{ "ProductName", "BasicIDEOptions", RID_SVXPAGE_BASICIDE_OPTIONS },
{ "ProductName", "OnlineUpdate", RID_SVXPAGE_ONLINEUPDATE },
- { "LanguageSettings", nullptr, SID_LANGUAGE_OPTIONS },
+ { "LanguageSettings", nullptr, SID_LANGUAGE_OPTIONS },
{ "LanguageSettings", "Languages", OFA_TP_LANGUAGES },
{ "LanguageSettings", "WritingAids", RID_SFXPAGE_LINGU },
{ "LanguageSettings", "SearchingInJapanese", RID_SVXPAGE_JSEARCH_OPTIONS },
{ "LanguageSettings", "AsianLayout", RID_SVXPAGE_ASIAN_LAYOUT },
{ "LanguageSettings", "ComplexTextLayout", RID_SVXPAGE_OPTIONS_CTL },
- { "Internet", nullptr, SID_INET_DLG },
+ { "Internet", nullptr, SID_INET_DLG },
{ "Internet", "Proxy", RID_SVXPAGE_INET_PROXY },
{ "Internet", "Email", RID_SVXPAGE_INET_MAIL },
- { "LoadSave", nullptr, SID_FILTER_DLG },
+ { "LoadSave", nullptr, SID_FILTER_DLG },
{ "LoadSave", "General", RID_SFXPAGE_SAVE },
{ "LoadSave", "VBAProperties", SID_OPTFILTER_MSOFFICE },
{ "LoadSave", "MicrosoftOffice", RID_OFAPAGE_MSFILTEROPT2 },
{ "LoadSave", "HTMLCompatibility", RID_OFAPAGE_HTMLOPT },
- { "Writer", nullptr, SID_SW_EDITOPTIONS },
+ { "Writer", nullptr, SID_SW_EDITOPTIONS },
{ "Writer", "General", RID_SW_TP_OPTLOAD_PAGE },
{ "Writer", "View", RID_SW_TP_CONTENT_OPT },
{ "Writer", "FormattingAids", RID_SW_TP_OPTSHDWCRSR },
@@ -381,16 +378,16 @@ static OptionsMapping_Impl const OptionsMap_Impl[] =
{ "Writer", "Compatibility", RID_SW_TP_OPTCOMPATIBILITY_PAGE },
{ "Writer", "AutoCaption", RID_SW_TP_OPTCAPTION_PAGE },
{ "Writer", "MailMerge", RID_SW_TP_MAILCONFIG },
- { "WriterWeb", nullptr, SID_SW_ONLINEOPTIONS },
+ { "WriterWeb", nullptr, SID_SW_ONLINEOPTIONS },
{ "WriterWeb", "View", RID_SW_TP_HTML_CONTENT_OPT },
{ "WriterWeb", "FormattingAids", RID_SW_TP_HTML_OPTSHDWCRSR },
{ "WriterWeb", "Grid", RID_SW_TP_HTML_OPTGRID_PAGE },
{ "WriterWeb", "Print", RID_SW_TP_HTML_OPTPRINT_PAGE },
{ "WriterWeb", "Table", RID_SW_TP_HTML_OPTTABLE_PAGE },
{ "WriterWeb", "Background", RID_SW_TP_BACKGROUND },
- { "Math", nullptr, SID_SM_EDITOPTIONS },
+ { "Math", nullptr, SID_SM_EDITOPTIONS },
{ "Math", "Settings", SID_SM_TP_PRINTOPTIONS },
- { "Calc", nullptr, SID_SC_EDITOPTIONS },
+ { "Calc", nullptr, SID_SC_EDITOPTIONS },
{ "Calc", "General", SID_SC_TP_LAYOUT },
{ "Calc", "View", SID_SC_TP_CONTENT },
{ "Calc", "Calculate", SID_SC_TP_CALC },
@@ -400,22 +397,22 @@ static OptionsMapping_Impl const OptionsMap_Impl[] =
{ "Calc", "Compatibility", SID_SC_TP_COMPATIBILITY },
{ "Calc", "Grid", SID_SC_TP_GRID },
{ "Calc", "Print", RID_SC_TP_PRINT },
- { "Impress", nullptr, SID_SD_EDITOPTIONS },
+ { "Impress", nullptr, SID_SD_EDITOPTIONS },
{ "Impress", "General", SID_SI_TP_MISC },
{ "Impress", "View", SID_SI_TP_CONTENTS },
{ "Impress", "Grid", SID_SI_TP_SNAP },
{ "Impress", "Print", SID_SI_TP_PRINT },
- { "Draw", nullptr, SID_SD_GRAPHIC_OPTIONS },
+ { "Draw", nullptr, SID_SD_GRAPHIC_OPTIONS },
{ "Draw", "General", SID_SD_TP_MISC },
{ "Draw", "View", SID_SD_TP_CONTENTS },
{ "Draw", "Grid", SID_SD_TP_SNAP },
{ "Draw", "Print", SID_SD_TP_PRINT },
- { "Charts", nullptr, SID_SCH_EDITOPTIONS },
+ { "Charts", nullptr, SID_SCH_EDITOPTIONS },
{ "Charts", "DefaultColors", RID_OPTPAGE_CHART_DEFCOLORS },
- { "Base", nullptr, SID_SB_STARBASEOPTIONS },
+ { "Base", nullptr, SID_SB_STARBASEOPTIONS },
{ "Base", "Connections", SID_SB_CONNECTIONPOOLING },
{ "Base", "Databases", SID_SB_DBREGISTEROPTIONS },
- { nullptr, nullptr, 0 }
+ { nullptr, nullptr, 0 }
};
static bool lcl_getStringFromID( sal_uInt16 _nPageId, OUString& _rGroupName, OUString& _rPageName )
@@ -1098,22 +1095,6 @@ void OfaTreeOptionsDialog::SelectHdl_Impl()
pBox->SetHelpId(sHelpId);
}
-OfaPageResource::OfaPageResource() :
- aGeneralDlgAry(ResId(SID_GENERAL_OPTIONS, CUI_MGR())),
- aInetDlgAry(ResId(SID_INET_DLG, CUI_MGR())),
- aLangDlgAry(ResId(SID_LANGUAGE_OPTIONS, CUI_MGR())),
- aTextDlgAry(ResId(SID_SW_EDITOPTIONS, CUI_MGR())),
- aHTMLDlgAry(ResId(SID_SW_ONLINEOPTIONS, CUI_MGR())),
- aCalcDlgAry(ResId(SID_SC_EDITOPTIONS, CUI_MGR())),
- aStarMathDlgAry(ResId(SID_SM_EDITOPTIONS, CUI_MGR())),
- aImpressDlgAry(ResId(SID_SD_EDITOPTIONS, CUI_MGR())),
- aDrawDlgAry(ResId(SID_SD_GRAPHIC_OPTIONS, CUI_MGR())),
- aChartDlgAry(ResId(SID_SCH_EDITOPTIONS, CUI_MGR())),
- aFilterDlgAry(ResId(SID_FILTER_DLG, CUI_MGR())),
- aDatasourcesDlgAry(ResId(SID_SB_STARBASEOPTIONS, CUI_MGR()))
-{
-}
-
std::unique_ptr<SfxItemSet> OfaTreeOptionsDialog::CreateItemSet( sal_uInt16 nId )
{
Reference< XLinguProperties > xProp( LinguMgr::GetLinguPropertySet() );
@@ -1447,7 +1428,6 @@ OUString getCurrentFactory_Impl( const Reference< XFrame >& _xFrame )
void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
{
- OfaPageResource aDlgResource;
sal_uInt16 nGroup = 0;
SvtOptionsDialogOptions aOptionsDlgOpt;
@@ -1456,15 +1436,14 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
// %PRODUCTNAME options
if ( !lcl_isOptionHidden( SID_GENERAL_OPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rGeneralArray = aDlgResource.GetGeneralArray();
- setGroupName( "ProductName", rGeneralArray.GetString(0) );
- nGroup = AddGroup( rGeneralArray.GetString(0), nullptr, nullptr, SID_GENERAL_OPTIONS );
- sal_uInt16 nEnd = static_cast< sal_uInt16 >( rGeneralArray.Count() );
+ setGroupName("ProductName", CuiResId(SID_GENERAL_OPTIONS_RES[0].first));
+ nGroup = AddGroup(CuiResId(SID_GENERAL_OPTIONS_RES[0].first), nullptr, nullptr, SID_GENERAL_OPTIONS );
+ const sal_uInt16 nEnd = static_cast<sal_uInt16>(SAL_N_ELEMENTS(SID_GENERAL_OPTIONS_RES));
- for ( sal_uInt16 i = 1; i < nEnd; ++i )
+ for (sal_uInt16 i = 1; i < nEnd; ++i)
{
- OUString sNewTitle = rGeneralArray.GetString(i);
- nPageId = (sal_uInt16)rGeneralArray.GetValue(i);
+ OUString sNewTitle = CuiResId(SID_GENERAL_OPTIONS_RES[i].first);
+ nPageId = SID_GENERAL_OPTIONS_RES[i].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
@@ -1498,14 +1477,13 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
// Load and Save options
if ( !lcl_isOptionHidden( SID_FILTER_DLG, aOptionsDlgOpt ) )
{
- ResStringArray& rFilterArray = aDlgResource.GetFilterArray();
- setGroupName( "LoadSave", rFilterArray.GetString(0) );
- nGroup = AddGroup( rFilterArray.GetString(0), nullptr, nullptr, SID_FILTER_DLG );
- for ( sal_uInt32 i = 1; i < rFilterArray.Count(); ++i )
+ setGroupName( "LoadSave", CuiResId(SID_FILTER_DLG_RES[0].first) );
+ nGroup = AddGroup( CuiResId(SID_FILTER_DLG_RES[0].first), nullptr, nullptr, SID_FILTER_DLG );
+ for ( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_FILTER_DLG_RES); ++i )
{
- nPageId = (sal_uInt16)rFilterArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_FILTER_DLG_RES[i].second;
if ( !lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
- AddTabPage( nPageId, rFilterArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_FILTER_DLG_RES[i].first), nGroup );
}
}
@@ -1513,22 +1491,20 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
SvtLanguageOptions aLanguageOptions;
if ( !lcl_isOptionHidden( SID_LANGUAGE_OPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rLangArray = aDlgResource.GetLangArray();
- setGroupName( "LanguageSettings", rLangArray.GetString(0) );
- nGroup = AddGroup( rLangArray.GetString(0), nullptr, nullptr, SID_LANGUAGE_OPTIONS );
- for ( sal_uInt32 i = 1; i < rLangArray.Count(); ++i )
+ setGroupName("LanguageSettings", CuiResId(SID_LANGUAGE_OPTIONS_RES[0].first));
+ nGroup = AddGroup(CuiResId(SID_LANGUAGE_OPTIONS_RES[0].first), nullptr, nullptr, SID_LANGUAGE_OPTIONS );
+ for (sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_LANGUAGE_OPTIONS_RES); ++i)
{
- nPageId = (sal_uInt16)rLangArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_LANGUAGE_OPTIONS_RES[i].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
if ( ( RID_SVXPAGE_JSEARCH_OPTIONS != nPageId || aLanguageOptions.IsJapaneseFindEnabled() ) &&
( RID_SVXPAGE_ASIAN_LAYOUT != nPageId || aLanguageOptions.IsAsianTypographyEnabled() ) &&
( RID_SVXPAGE_OPTIONS_CTL != nPageId || aLanguageOptions.IsCTLFontEnabled() ) )
- AddTabPage( nPageId, rLangArray.GetString(i), nGroup );
+ AddTabPage(nPageId, CuiResId(SID_LANGUAGE_OPTIONS_RES[i].first), nGroup);
}
}
-
OUString aFactory = getCurrentFactory_Impl( _xFrame );
DBG_ASSERT( GetModuleIdentifier( _xFrame ) == aFactory, "S H I T!!!" );
@@ -1537,7 +1513,6 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::WRITER ) )
{
// text document
- ResStringArray& rTextArray = aDlgResource.GetTextArray();
if ( aFactory == "com.sun.star.text.TextDocument"
|| aFactory == "com.sun.star.text.WebDocument"
|| aFactory == "com.sun.star.text.GlobalDocument" )
@@ -1546,19 +1521,19 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
if ( !lcl_isOptionHidden( SID_SW_EDITOPTIONS, aOptionsDlgOpt ) )
{
if ( aFactory == "com.sun.star.text.WebDocument" )
- setGroupName( "WriterWeb", rTextArray.GetString(0) );
+ setGroupName( "WriterWeb", CuiResId(SID_SW_EDITOPTIONS_RES[0].first) );
else
- setGroupName( "Writer", rTextArray.GetString(0) );
- nGroup = AddGroup(rTextArray.GetString(0), pSwMod, pSwMod, SID_SW_EDITOPTIONS );
- for ( sal_uInt32 i = 1; i < rTextArray.Count(); ++i )
+ setGroupName( "Writer", CuiResId(SID_SW_EDITOPTIONS_RES[0].first) );
+ nGroup = AddGroup(CuiResId(SID_SW_EDITOPTIONS_RES[0].first), pSwMod, pSwMod, SID_SW_EDITOPTIONS );
+ for ( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_SW_EDITOPTIONS_RES); ++i )
{
- nPageId = (sal_uInt16)rTextArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SW_EDITOPTIONS_RES[i].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
if ( ( RID_SW_TP_STD_FONT_CJK != nPageId || aLanguageOptions.IsCJKFontEnabled() ) &&
( RID_SW_TP_STD_FONT_CTL != nPageId || aLanguageOptions.IsCTLFontEnabled() ) &&
( RID_SW_TP_MAILCONFIG != nPageId || MailMergeCfg_Impl().IsEmailSupported() ) )
- AddTabPage( nPageId, rTextArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_SW_EDITOPTIONS_RES[i].first), nGroup );
}
#ifdef DBG_UTIL
AddTabPage( RID_SW_TP_OPTTEST_PAGE, "Internal Test", nGroup );
@@ -1568,13 +1543,12 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
// HTML documents
if ( !lcl_isOptionHidden( SID_SW_ONLINEOPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rHTMLArray = aDlgResource.GetHTMLArray();
- nGroup = AddGroup(rHTMLArray.GetString(0), pSwMod, pSwMod, SID_SW_ONLINEOPTIONS );
- for( sal_uInt32 i = 1; i < rHTMLArray.Count(); ++i )
+ nGroup = AddGroup(CuiResId(SID_SW_ONLINEOPTIONS_RES[0].first), pSwMod, pSwMod, SID_SW_ONLINEOPTIONS );
+ for( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_SW_ONLINEOPTIONS_RES); ++i )
{
- nPageId = (sal_uInt16)rHTMLArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SW_ONLINEOPTIONS_RES[i].second;
if ( !lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
- AddTabPage( nPageId, rHTMLArray.GetString(i), nGroup );
+ AddTabPage(nPageId, CuiResId(SID_SW_ONLINEOPTIONS_RES[i].first), nGroup);
}
#ifdef DBG_UTIL
AddTabPage( RID_SW_TP_OPTTEST_PAGE, "Internal Test", nGroup );
@@ -1590,18 +1564,17 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
{
if ( !lcl_isOptionHidden( SID_SC_EDITOPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rCalcArray = aDlgResource.GetCalcArray();
SfxModule* pScMod = SfxApplication::GetModule( SfxToolsModule::Calc );
- setGroupName( "Calc", rCalcArray.GetString(0) );
- nGroup = AddGroup( rCalcArray.GetString( 0 ), pScMod, pScMod, SID_SC_EDITOPTIONS );
- const sal_uInt16 nCount = static_cast< sal_uInt16 >( rCalcArray.Count() );
+ setGroupName( "Calc", CuiResId(SID_SC_EDITOPTIONS_RES[0].first) );
+ nGroup = AddGroup( CuiResId(SID_SC_EDITOPTIONS_RES[0].first), pScMod, pScMod, SID_SC_EDITOPTIONS );
+ const sal_uInt16 nCount = static_cast<sal_uInt16>(SAL_N_ELEMENTS(SID_SC_EDITOPTIONS_RES));
for ( sal_uInt16 i = 1; i < nCount; ++i )
{
- nPageId = (sal_uInt16)rCalcArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SC_EDITOPTIONS_RES[i].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
- AddTabPage( nPageId, rCalcArray.GetString( i ), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_SC_EDITOPTIONS_RES[i].first), nGroup );
}
}
}
@@ -1615,17 +1588,16 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
{
if ( !lcl_isOptionHidden( SID_SD_EDITOPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rImpressArray = aDlgResource.GetImpressArray();
- setGroupName( "Impress", rImpressArray.GetString(0) );
- nGroup = AddGroup( rImpressArray.GetString( 0 ), pSdMod, pSdMod, SID_SD_EDITOPTIONS );
- const sal_uInt16 nCount = static_cast< sal_uInt16 >( rImpressArray.Count() );
+ setGroupName( "Impress", CuiResId(SID_SD_EDITOPTIONS_RES[0].first) );
+ nGroup = AddGroup( CuiResId(SID_SD_EDITOPTIONS_RES[0].first), pSdMod, pSdMod, SID_SD_EDITOPTIONS );
+ const sal_uInt16 nCount = static_cast<sal_uInt16>(SAL_N_ELEMENTS(SID_SD_EDITOPTIONS_RES));
for ( sal_uInt16 i = 1; i < nCount; ++i )
{
- nPageId = (sal_uInt16)rImpressArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SD_EDITOPTIONS_RES[0].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
- AddTabPage( nPageId, rImpressArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_SD_EDITOPTIONS_RES[i].first), nGroup );
}
}
}
@@ -1638,17 +1610,16 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
{
if ( !lcl_isOptionHidden( SID_SD_GRAPHIC_OPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rDrawArray = aDlgResource.GetDrawArray();
- setGroupName( "Draw", rDrawArray.GetString(0) );
- nGroup = AddGroup( rDrawArray.GetString( 0 ), pSdMod, pSdMod, SID_SD_GRAPHIC_OPTIONS );
- const sal_uInt16 nCount = static_cast< sal_uInt16 >( rDrawArray.Count() );
+ setGroupName( "Draw", CuiResId(SID_SD_GRAPHIC_OPTIONS_RES[0].first) );
+ nGroup = AddGroup( CuiResId(SID_SD_GRAPHIC_OPTIONS_RES[0].first), pSdMod, pSdMod, SID_SD_GRAPHIC_OPTIONS );
+ const sal_uInt16 nCount = static_cast<sal_uInt16>(SAL_N_ELEMENTS(SID_SD_GRAPHIC_OPTIONS_RES));
for ( sal_uInt16 i = 1; i < nCount; ++i )
{
- nPageId = (sal_uInt16)rDrawArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SD_GRAPHIC_OPTIONS_RES[0].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
- AddTabPage( nPageId, rDrawArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_SD_GRAPHIC_OPTIONS_RES[i].first), nGroup );
}
}
}
@@ -1661,15 +1632,14 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
{
if ( !lcl_isOptionHidden( SID_SM_EDITOPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rStarMathArray = aDlgResource.GetStarMathArray();
SfxModule* pSmMod = SfxApplication::GetModule(SfxToolsModule::Math);
- setGroupName( "Math", rStarMathArray.GetString(0) );
- nGroup = AddGroup(rStarMathArray.GetString(0), pSmMod, pSmMod, SID_SM_EDITOPTIONS );
- for ( sal_uInt32 i = 1; i < rStarMathArray.Count(); ++i )
+ setGroupName( "Math", CuiResId(SID_SM_EDITOPTIONS_RES[0].first) );
+ nGroup = AddGroup(CuiResId(SID_SM_EDITOPTIONS_RES[0].first), pSmMod, pSmMod, SID_SM_EDITOPTIONS );
+ for ( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_SM_EDITOPTIONS_RES); ++i )
{
- nPageId = (sal_uInt16)rStarMathArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SM_EDITOPTIONS_RES[0].second;
if ( !lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
- AddTabPage( nPageId, rStarMathArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_SM_EDITOPTIONS_RES[i].first), nGroup );
}
}
}
@@ -1682,41 +1652,38 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
|| aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::CALC )
) )
{
- ResStringArray& rDSArray = aDlgResource.GetDatasourcesArray();
- setGroupName( "Base", rDSArray.GetString(0) );
- nGroup = AddGroup( rDSArray.GetString(0), nullptr, nullptr, SID_SB_STARBASEOPTIONS );
- for ( sal_uInt32 i = 1; i < rDSArray.Count(); ++i )
+ setGroupName( "Base", CuiResId(SID_SB_STARBASEOPTIONS_RES[0].first) );
+ nGroup = AddGroup( CuiResId(SID_SB_STARBASEOPTIONS_RES[0].first), nullptr, nullptr, SID_SB_STARBASEOPTIONS );
+ for ( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_SB_STARBASEOPTIONS_RES); ++i )
{
- nPageId = (sal_uInt16)rDSArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SB_STARBASEOPTIONS_RES[i].second;
if ( !lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
- AddTabPage( nPageId, rDSArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_SB_STARBASEOPTIONS_RES[i].first), nGroup );
}
}
// Chart options (always installed and active)
if ( !lcl_isOptionHidden( SID_SCH_EDITOPTIONS, aOptionsDlgOpt ) )
{
- ResStringArray& rChartArray = aDlgResource.GetChartArray();
- setGroupName( "Charts", rChartArray.GetString(0) );
- nGroup = AddGroup( rChartArray.GetString(0), nullptr, nullptr, SID_SCH_EDITOPTIONS );
- for ( sal_uInt32 i = 1; i < rChartArray.Count(); ++i )
+ setGroupName( "Charts", CuiResId(SID_SCH_EDITOPTIONS_RES[0].first) );
+ nGroup = AddGroup( CuiResId(SID_SCH_EDITOPTIONS_RES[0].first), nullptr, nullptr, SID_SCH_EDITOPTIONS );
+ for ( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_SCH_EDITOPTIONS_RES); ++i )
{
- nPageId = (sal_uInt16)rChartArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_SCH_EDITOPTIONS_RES[i].second;
if ( !lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
- AddTabPage( nPageId, rChartArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_SCH_EDITOPTIONS_RES[i].first), nGroup );
}
}
// Internet options
if ( !lcl_isOptionHidden( SID_INET_DLG, aOptionsDlgOpt ) )
{
- ResStringArray& rInetArray = aDlgResource.GetInetArray();
- setGroupName( "Internet", rInetArray.GetString(0) );
- nGroup = AddGroup(rInetArray.GetString(0), nullptr, nullptr, SID_INET_DLG );
+ setGroupName("Internet", CuiResId(SID_INET_DLG_RES[0].first));
+ nGroup = AddGroup(CuiResId(SID_INET_DLG_RES[0].first), nullptr, nullptr, SID_INET_DLG );
- for ( sal_uInt32 i = 1; i < rInetArray.Count(); ++i )
+ for ( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_INET_DLG_RES); ++i )
{
- nPageId = (sal_uInt16)rInetArray.GetValue(i);
+ nPageId = (sal_uInt16)SID_INET_DLG_RES[i].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
#if defined(_WIN32)
@@ -1724,13 +1691,9 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
if ( nPageId == RID_SVXPAGE_INET_MAIL )
continue;
#endif
- AddTabPage( nPageId, rInetArray.GetString(i), nGroup );
+ AddTabPage( nPageId, CuiResId(SID_INET_DLG_RES[i].first), nGroup );
}
}
-
-/*!!!
- ActivateLastSelection();
- */
}
bool isNodeActive( OptionsNode* pNode, Module* pModule )
diff --git a/cui/source/options/treeopt.src b/cui/source/options/treeopt.src
deleted file mode 100644
index 4301f793f543..000000000000
--- a/cui/source/options/treeopt.src
+++ /dev/null
@@ -1,177 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-#include "helpid.hrc"
-#include <svx/dialogs.hrc>
-
-StringArray SID_GENERAL_OPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME" ; 0; > ;
- < "User Data" ; RID_SFXPAGE_GENERAL; > ;
- < "General" ; OFA_TP_MISC; > ;
- < "Memory" ; OFA_TP_MEMORY; > ;
- < "View" ; OFA_TP_VIEW ; > ;
- < "Print" ; RID_SFXPAGE_PRINTOPTIONS; > ;
- < "Paths" ; RID_SFXPAGE_PATH; > ;
- < "Fonts" ; RID_SVX_FONT_SUBSTITUTION ; > ;
- < "Security" ; RID_SVXPAGE_INET_SECURITY ; > ;
- < "Personalization" ; RID_SVXPAGE_PERSONALIZATION ; > ;
- < "Application Colors" ; RID_SVXPAGE_COLORCONFIG ; > ;
- < "Accessibility" ; RID_SVXPAGE_ACCESSIBILITYCONFIG ; > ;
- < "Advanced" ; RID_SVXPAGE_OPTIONS_JAVA ; > ;
- < "Basic IDE Options" ; RID_SVXPAGE_BASICIDE_OPTIONS ; > ;
- < "Online Update" ; RID_SVXPAGE_ONLINEUPDATE ; > ;
- < "OpenCL" ; RID_SVXPAGE_OPENCL ; > ;
- };
-};
-StringArray SID_LANGUAGE_OPTIONS
-{
- ItemList [ en-US ] =
- {
- < "Language Settings" ; 0; > ;
- < "Languages"; OFA_TP_LANGUAGES; > ;
- < "Writing Aids" ; RID_SFXPAGE_LINGU; > ;
- < "Searching in Japanese" ; RID_SVXPAGE_JSEARCH_OPTIONS; > ;
- < "Asian Layout" ; RID_SVXPAGE_ASIAN_LAYOUT; > ;
- < "Complex Text Layout" ; RID_SVXPAGE_OPTIONS_CTL; >;
- };
-};
-StringArray SID_INET_DLG
-{
- ItemList [ en-US ] =
- {
- < "Internet" ; 0; > ;
- < "Proxy" ; RID_SVXPAGE_INET_PROXY; > ;
- < "E-mail" ; RID_SVXPAGE_INET_MAIL; > ;
- };
-};
-StringArray SID_SW_EDITOPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME Writer" ; 0; > ;
- < "General" ; RID_SW_TP_OPTLOAD_PAGE ; > ;
- < "View" ; RID_SW_TP_CONTENT_OPT ;> ;
- < "Formatting Aids" ; RID_SW_TP_OPTSHDWCRSR ; > ;
- < "Grid" ; RID_SVXPAGE_GRID ; > ;
- < "Basic Fonts (Western)" ;RID_SW_TP_STD_FONT ; > ;
- < "Basic Fonts (Asian)" ;RID_SW_TP_STD_FONT_CJK ; > ;
- < "Basic Fonts (CTL)" ; RID_SW_TP_STD_FONT_CTL ; > ;
- < "Print" ; RID_SW_TP_OPTPRINT_PAGE ; > ;
- < "Table" ; RID_SW_TP_OPTTABLE_PAGE ; > ;
- < "Changes" ; RID_SW_TP_REDLINE_OPT ; > ;
- < "Comparison" ; RID_SW_TP_COMPARISON_OPT ; > ;
- < "Compatibility" ; RID_SW_TP_OPTCOMPATIBILITY_PAGE ; > ;
- < "AutoCaption" ; RID_SW_TP_OPTCAPTION_PAGE ; > ;
- < "Mail Merge E-mail" ; RID_SW_TP_MAILCONFIG ; >;
- };
-};
-StringArray SID_SW_ONLINEOPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME Writer/Web" ; 0; > ;
- < "View" ; RID_SW_TP_HTML_CONTENT_OPT ;> ;
- < "Formatting Aids" ; RID_SW_TP_HTML_OPTSHDWCRSR ; > ;
- < "Grid" ; RID_SW_TP_HTML_OPTGRID_PAGE ; > ;
- < "Print" ; RID_SW_TP_HTML_OPTPRINT_PAGE ; > ;
- < "Table" ; RID_SW_TP_HTML_OPTTABLE_PAGE ; > ;
- < "Background" ; RID_SW_TP_BACKGROUND ; > ;
- };
-};
-StringArray SID_SM_EDITOPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME Math" ; 0; > ;
- < "Settings" ; SID_SM_TP_PRINTOPTIONS;> ;
- };
-};
-StringArray SID_SC_EDITOPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME Calc" ; 0; > ;
- < "General" ; SID_SC_TP_LAYOUT ;> ;
- < "Defaults" ; RID_SC_TP_DEFAULTS ;> ;
- < "View" ; SID_SC_TP_CONTENT ;> ;
- < "Calculate" ; SID_SC_TP_CALC ;> ;
- < "Formula" ; SID_SC_TP_FORMULA ;> ;
- < "Sort Lists" ; SID_SC_TP_USERLISTS ;> ;
- < "Changes" ; SID_SC_TP_CHANGES ;> ;
- < "Compatibility" ; SID_SC_TP_COMPATIBILITY ;> ;
- < "Grid" ; SID_SC_TP_GRID ;> ;
- < "Print" ; RID_SC_TP_PRINT ;> ;
- };
-};
-StringArray SID_SD_EDITOPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME Impress" ; 0; > ;
- < "General"; SID_SI_TP_MISC ; > ;
- < "View" ; SID_SI_TP_CONTENTS ; > ;
- < "Grid" ; SID_SI_TP_SNAP ; > ;
- < "Print" ; SID_SI_TP_PRINT ; > ;
- };
-};
-StringArray SID_SD_GRAPHIC_OPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME Draw" ; 0; > ;
- < "General" ; SID_SD_TP_MISC ; > ;
- < "View" ; SID_SD_TP_CONTENTS ; > ;
- < "Grid" ; SID_SD_TP_SNAP ; > ;
- < "Print" ; SID_SD_TP_PRINT ; > ;
- };
-};
-StringArray SID_SCH_EDITOPTIONS
-{
- ItemList [ en-US ] =
- {
- < "Charts" ; 0; > ;
- < "Default Colors" ; RID_OPTPAGE_CHART_DEFCOLORS ; > ;
- };
-};
-StringArray SID_FILTER_DLG
-{
- ItemList [ en-US ] =
- {
- < "Load/Save" ; 0; > ;
- < "General" ; RID_SFXPAGE_SAVE; > ;
- < "VBA Properties" ; SID_OPTFILTER_MSOFFICE; > ;
- < "Microsoft Office" ; RID_OFAPAGE_MSFILTEROPT2; > ;
- < "HTML Compatibility" ; RID_OFAPAGE_HTMLOPT ; > ;
- };
-};
-StringArray SID_SB_STARBASEOPTIONS
-{
- ItemList [ en-US ] =
- {
- < "%PRODUCTNAME Base" ; 0; > ;
- < "Connections" ; SID_SB_CONNECTIONPOOLING; > ;
- < "Databases" ; SID_SB_DBREGISTEROPTIONS; > ;
- };
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx
index 2586a454f71e..dfa4a531870d 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -22,6 +22,7 @@
#include <editeng/svxenum.hxx>
#include <svx/dialogs.hrc>
#include <cuires.hrc>
+#include <strings.hrc>
#include <bitmaps.hlst>
#include <svx/rotmodit.hxx>
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 3b6a24608690..def8d3de5013 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -53,6 +53,7 @@
#include <editeng/svxacorr.hxx>
#include "cuicharmap.hxx"
#include "cuires.hrc"
+#include "strings.hrc"
#include <editeng/unolingu.hxx>
#include <dialmgr.hxx>
#include <svx/svxids.hrc>
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index ec1775251187..343e4ff2722f 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -29,11 +29,12 @@
#include <sfx2/objsh.hxx>
#include <sfx2/docfile.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <cuires.hrc>
+#include <strings.hrc>
#include <svx/dialmgr.hxx>
#include <editeng/memberids.hrc>
-#include <editeng/editrids.hrc>
#include <editeng/eerdll.hxx>
#include <editeng/brushitem.hxx>
@@ -45,7 +46,7 @@
#include <svx/drawitem.hxx>
#include <dialmgr.hxx>
#include <sfx2/htmlmode.hxx>
-#include <svtools/controldims.hrc>
+#include <svtools/controldims.hxx>
#include <svx/flagsdef.hxx>
#include <svl/intitem.hxx>
#include <sfx2/request.hxx>
@@ -822,8 +823,8 @@ void SvxBackgroundTabPage::RaiseLoadError_Impl()
SfxErrorContext aContext( ERRCTX_SVX_BACKGROUND,
OUString(),
this,
- RID_SVXERRCTX,
- &DIALOG_MGR() );
+ getRID_SVXERRCTX(),
+ &SvxResLocale() );
ErrorHandler::HandleError(
*new StringErrorInfo( ERRCODE_SVX_GRAPHIC_NOTREADABLE,
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index e6848ad3bd1a..dbcb814ced3e 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -22,8 +22,10 @@
#include <sfx2/module.hxx>
#include <svx/dialogs.hrc>
#include <svx/dialmgr.hxx>
+#include <svx/strings.hrc>
#include <cuires.hrc>
+#include <strings.hrc>
#include <bitmaps.hlst>
#include "helpid.hrc"
@@ -970,10 +972,10 @@ sal_uInt16 SvxBorderTabPage::GetPresetImageId( sal_uInt16 nValueSetIdx ) const
return ppnImgIds[ nLine ][ nValueSetIdx - 1 ];
}
-sal_uInt16 SvxBorderTabPage::GetPresetStringId( sal_uInt16 nValueSetIdx ) const
+const char* SvxBorderTabPage::GetPresetStringId( sal_uInt16 nValueSetIdx ) const
{
// string resource IDs for each image (in order of the IID_PRE_* image IDs)
- static const sal_uInt16 pnStrIds[] =
+ static const char* pnStrIds[] =
{
RID_SVXSTR_TABLE_PRESET_NONE,
RID_SVXSTR_PARA_PRESET_ALL,
@@ -1029,7 +1031,7 @@ void SvxBorderTabPage::FillShadowVS()
m_pWndShadows->SetColCount( SVX_BORDER_SHADOW_COUNT );
// string resource IDs for each image
- static const sal_uInt16 pnStrIds[ SVX_BORDER_SHADOW_COUNT ] =
+ static const char* pnStrIds[ SVX_BORDER_SHADOW_COUNT ] =
{ RID_SVXSTR_SHADOW_STYLE_NONE, RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT, RID_SVXSTR_SHADOW_STYLE_TOPRIGHT, RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT, RID_SVXSTR_SHADOW_STYLE_TOPLEFT };
// insert images and help texts
diff --git a/cui/source/tabpages/border.src b/cui/source/tabpages/border.src
deleted file mode 100644
index 2dded5a4ded3..000000000000
--- a/cui/source/tabpages/border.src
+++ /dev/null
@@ -1,95 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "helpid.hrc"
-#include <cuires.hrc>
-#include <svx/dialogs.hrc>
-
-String RID_SVXSTR_TABLE_PRESET_NONE
-{
- Text [ en-US ] = "Set No Borders" ;
-};
-String RID_SVXSTR_TABLE_PRESET_ONLYOUTER
-{
- Text [ en-US ] = "Set Outer Border Only" ;
-};
-String RID_SVXSTR_TABLE_PRESET_OUTERHORI
-{
- Text [ en-US ] = "Set Outer Border and Horizontal Lines" ;
-};
-String RID_SVXSTR_TABLE_PRESET_OUTERALL
-{
- Text [ en-US ] = "Set Outer Border and All Inner Lines" ;
-};
-String RID_SVXSTR_TABLE_PRESET_OUTERINNER
-{
- Text [ en-US ] = "Set Outer Border Without Changing Inner Lines" ;
-};
-String RID_SVXSTR_PARA_PRESET_DIAGONAL
-{
- Text [ en-US ] = "Set Diagonal Lines Only" ;
-};
-String RID_SVXSTR_PARA_PRESET_ALL
-{
- Text [ en-US ] = "Set All Four Borders" ;
-};
-String RID_SVXSTR_PARA_PRESET_LEFTRIGHT
-{
- Text [ en-US ] = "Set Left and Right Borders Only" ;
-};
-String RID_SVXSTR_PARA_PRESET_TOPBOTTOM
-{
- Text [ en-US ] = "Set Top and Bottom Borders Only" ;
-};
-String RID_SVXSTR_PARA_PRESET_ONLYLEFT
-{
- Text [ en-US ] = "Set Left Border Only" ;
-};
-String RID_SVXSTR_HOR_PRESET_ONLYHOR
-{
- Text [ en-US ] = "Set Top and Bottom Borders, and All Inner Lines";
-};
-String RID_SVXSTR_VER_PRESET_ONLYVER
-{
- Text [ en-US ] = "Set Left and Right Borders, and All Inner Lines";
-};
-String RID_SVXSTR_SHADOW_STYLE_NONE
-{
- Text [ en-US ] = "No Shadow" ;
-};
-String RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT
-{
- Text [ en-US ] = "Cast Shadow to Bottom Right" ;
-};
-String RID_SVXSTR_SHADOW_STYLE_TOPRIGHT
-{
- Text [ en-US ] = "Cast Shadow to Top Right" ;
-};
-String RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT
-{
- Text [ en-US ] = "Cast Shadow to Bottom Left" ;
-};
-String RID_SVXSTR_SHADOW_STYLE_TOPLEFT
-{
- Text [ en-US ] = "Cast Shadow to Top Left" ;
-};
-
-// **********************************************************************
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 063a9baac2c5..ef454619a8ad 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -69,6 +69,7 @@
#include <officecfg/Office/Common.hxx>
#include <svx/svxdlg.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <svl/intitem.hxx>
#include <sfx2/request.hxx>
#include "svx/flagsdef.hxx"
diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx
index f4d566875385..d5df97d4c037 100644
--- a/cui/source/tabpages/connect.cxx
+++ b/cui/source/tabpages/connect.cxx
@@ -18,6 +18,7 @@
*/
#include <cuires.hrc>
+#include <strings.hrc>
#include <dialmgr.hxx>
#include <sfx2/app.hxx>
#include <sfx2/module.hxx>
diff --git a/cui/source/tabpages/frmdirlbox.src b/cui/source/tabpages/frmdirlbox.src
deleted file mode 100644
index e2470a6a93b0..000000000000
--- a/cui/source/tabpages/frmdirlbox.src
+++ /dev/null
@@ -1,61 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-// frame direction ------------------------------------------------------------
-
-String RID_SVXSTR_FRAMEDIR_LTR
-{
- Text [ en-US ] = "Left-to-right (LTR)";
-};
-
-String RID_SVXSTR_FRAMEDIR_RTL
-{
- Text [ en-US ] = "Right-to-left (RTL)";
-};
-
-String RID_SVXSTR_FRAMEDIR_SUPER
-{
- Text [ en-US ] = "Use superordinate object settings";
-};
-
-// page direction -------------------------------------------------------------
-
-String RID_SVXSTR_PAGEDIR_LTR_HORI
-{
- Text [ en-US ] = "Left-to-right (horizontal)";
-};
-
-String RID_SVXSTR_PAGEDIR_RTL_HORI
-{
- Text [ en-US ] = "Right-to-left (horizontal)";
-};
-
-String RID_SVXSTR_PAGEDIR_RTL_VERT
-{
- Text [ en-US ] = "Right-to-left (vertical)";
-};
-
-String RID_SVXSTR_PAGEDIR_LTR_VERT
-{
- Text [ en-US ] = "Left-to-right (vertical)";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx
index 1938f2705b91..85e2c98e8595 100644
--- a/cui/source/tabpages/grfpage.cxx
+++ b/cui/source/tabpages/grfpage.cxx
@@ -33,6 +33,7 @@
#include <cuires.hrc>
#include <tools/fract.hxx>
#include <svx/dialogs.hrc>
+#include <strings.hrc>
#include <vcl/builderfactory.hxx>
#include <vcl/settings.hxx>
diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx
index c502e077f08d..c41bf6b52286 100644
--- a/cui/source/tabpages/measure.cxx
+++ b/cui/source/tabpages/measure.cxx
@@ -18,6 +18,7 @@
*/
#include <cuires.hrc>
+#include <strings.hrc>
#include <dialmgr.hxx>
#include <sfx2/app.hxx>
#include <sfx2/module.hxx>
@@ -804,17 +805,16 @@ void SvxMeasurePage::ChangeAttrHdl_Impl( void* p )
void SvxMeasurePage::FillUnitLB()
{
// fill ListBox with metrics
- SvxStringArray aMetricArr(ResId(RID_SVXSTR_FIELDUNIT_TABLE, DIALOG_MGR()));
- sal_IntPtr nUnit = FUNIT_NONE;
+ FieldUnit nUnit = FUNIT_NONE;
OUString aStrMetric( m_pFtAutomatic->GetText());
sal_Int32 nPos = m_pLbUnit->InsertEntry( aStrMetric );
m_pLbUnit->SetEntryData( nPos, reinterpret_cast<void*>(nUnit) );
- for( sal_uInt32 i = 0; i < aMetricArr.Count(); ++i )
+ for( sal_uInt32 i = 0; i < SvxFieldUnitTable::Count(); ++i )
{
- aStrMetric = aMetricArr.GetStringByPos( i );
- nUnit = aMetricArr.GetValue( i );
+ aStrMetric = SvxFieldUnitTable::GetString(i);
+ nUnit = SvxFieldUnitTable::GetValue(i);
nPos = m_pLbUnit->InsertEntry( aStrMetric );
m_pLbUnit->SetEntryData( nPos, reinterpret_cast<void*>(nUnit) );
}
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 78cae7475cf6..a4981f5d84cf 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -31,6 +31,7 @@
#include <svtools/colorcfg.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <svx/numinf.hxx>
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index d0bf7386f770..30525c1045c6 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -32,6 +32,7 @@
#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
#include <svx/colorbox.hxx>
+#include <svx/strarray.hxx>
#include <svx/gallery.hxx>
#include <svl/urihelper.hxx>
#include <editeng/brushitem.hxx>
@@ -62,7 +63,6 @@
#include <com/sun/star/text/XNumberingTypeInfo.hpp>
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
-#include <tools/resary.hxx>
#include <algorithm>
#include <memory>
@@ -70,6 +70,7 @@
#include "sfx2/opengrf.hxx"
#include <cuires.hrc>
+#include <strings.hrc>
#include <sfx2/request.hxx>
#include <svl/aeitem.hxx>
#include <svl/stritem.hxx>
@@ -1179,12 +1180,11 @@ SvxNumOptionsTabPage::SvxNumOptionsTabPage(vcl::Window* pParent,
eCoreUnit = rSet.GetPool()->GetMetric(rSet.GetPool()->GetWhich(SID_ATTR_NUMBERING_RULE));
// Fill ListBox with predefined / translated numbering types.
- ResStringArray aNames(ResId(RID_SVXSTRARY_NUMBERINGTYPE, DIALOG_MGR()));
- sal_uInt32 nCount = aNames.Count();
+ sal_uInt32 nCount = SvxNumberingTypeTable::Count();
for (sal_uInt32 i = 0; i < nCount; ++i)
{
- sal_Int32 nPos = m_pFmtLB->InsertEntry( aNames.GetString(i));
- m_pFmtLB->SetEntryData( nPos, reinterpret_cast<void*>(static_cast<sal_uIntPtr>(aNames.GetValue(i))));
+ sal_Int32 nPos = m_pFmtLB->InsertEntry(SvxNumberingTypeTable::GetString(i));
+ m_pFmtLB->SetEntryData( nPos, reinterpret_cast<void*>(static_cast<sal_uIntPtr>(SvxNumberingTypeTable::GetValue(i))));
}
// Get advanced numbering types from the component.
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 50e83e91714b..98f0d12ee183 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -21,7 +21,6 @@
#include <sfx2/app.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/printer.hxx>
-#include <tools/resary.hxx>
#include <vcl/graph.hxx>
#include <sfx2/viewsh.hxx>
#include <svl/itemiter.hxx>
@@ -32,6 +31,7 @@
#include <sal/macros.h>
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include "page.hxx"
#include <svx/pageitem.hxx>
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 4d608a2e4147..a4f83510ae2c 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -30,6 +30,7 @@
#include <svl/cjkoptions.hxx>
#include <editeng/pgrditem.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include "paragrph.hxx"
#include <editeng/frmdiritem.hxx>
#include <editeng/lspcitem.hxx>
diff --git a/cui/source/tabpages/strings.src b/cui/source/tabpages/strings.src
deleted file mode 100644
index 744aa6b60d58..000000000000
--- a/cui/source/tabpages/strings.src
+++ /dev/null
@@ -1,195 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-
-String RID_SVXSTR_DESC_GRADIENT
-{
- Text [ en-US ] = "Please enter a name for the gradient:" ;
-};
-String RID_SVXSTR_DESC_NEW_BITMAP
-{
- Text [ en-US ] = "Please enter a name for the bitmap:" ;
-};
-String RID_SVXSTR_DESC_EXT_BITMAP
-{
- Text [ en-US ] = "Please enter a name for the external bitmap:" ;
-};
-String RID_SVXSTR_DESC_NEW_PATTERN
-{
- Text [ en-US ] = "Please enter a name for the pattern:" ;
-};
-String RID_SVXSTR_DESC_LINESTYLE
-{
- Text [ en-US ] = "Please enter a name for the line style:" ;
-};
-String RID_SVXSTR_ASK_CHANGE_LINESTYLE
-{
- Text [ en-US ] = "The line style was modified without saving. \nModify the selected line style or add a new line style." ;
-};
-String RID_SVXSTR_DESC_HATCH
-{
- Text [ en-US ] = "Please enter a name for the hatching:" ;
-};
-String RID_SVXSTR_CHANGE
-{
- Text [ en-US ] = "Modify" ;
-};
-String RID_SVXSTR_ADD
-{
- Text [ en-US ] = "Add" ;
-};
-String RID_SVXSTR_DESC_COLOR
-{
- Text [ en-US ] = "Please enter a name for the new color:" ;
-};
-String RID_SVXSTR_TABLE
-{
- Text [ en-US ] = "Table" ;
-};
-String RID_SVXSTR_DESC_LINEEND
-{
- Text [ en-US ] = "Please enter a name for the new arrowhead:" ;
-};
-String RID_SVXSTR_CHARNAME_NOSTYLE
-{
- Text [ en-US ] = "No %1";
-};
-String RID_SVXSTR_CHARNAME_FAMILY
-{
- Text [ en-US ] = "Family";
-};
-String RID_SVXSTR_CHARNAME_FONT
-{
- Text [ en-US ] = "Font";
-};
-String RID_SVXSTR_CHARNAME_STYLE
-{
- Text [ en-US ] = "Style";
-};
-String RID_SVXSTR_CHARNAME_TYPEFACE
-{
- Text [ en-US ] = "Typeface";
-};
-String RID_SVXSTR_CHARNAME_HIGHLIGHTING
-{
- Text [ en-US ] = "Highlight Color";
-};
-String RID_SVXSTR_USE_REPLACE
-{
- Text [ en-US ] = "Use replacement table" ;
-};
-String RID_SVXSTR_CPTL_STT_WORD
-{
- Text [ en-US ] = "Correct TWo INitial CApitals" ;
-};
-String RID_SVXSTR_CPTL_STT_SENT
-{
- Text [ en-US ] = "Capitalize first letter of every sentence" ;
-};
-String RID_SVXSTR_BOLD_UNDER
-{
- Text [ en-US ] = "Automatic *bold*, /italic/, -strikeout- and _underline_" ;
-};
-String RID_SVXSTR_NO_DBL_SPACES
-{
- Text [ en-US ] = "Ignore double spaces" ;
-};
-String RID_SVXSTR_DETECT_URL
-{
- Text [ en-US ] = "URL Recognition" ;
-};
-String RID_SVXSTR_DASH
-{
- Text [ en-US ] = "Replace dashes" ;
-};
-String RID_SVXSTR_CORRECT_ACCIDENTAL_CAPS_LOCK
-{
- Text [ en-US ] = "Correct accidental use of cAPS LOCK key" ;
-};
-String RID_SVXSTR_NON_BREAK_SPACE
-{
- Text [ en-US ] = "Add non-breaking space before specific punctuation marks in French text" ;
-};
-String RID_SVXSTR_ORDINAL
-{
- Text [ en-US ] = "Format ordinal numbers suffixes (1st -> 1^st)" ;
-};
-String RID_SVXSTR_DEL_EMPTY_PARA
-{
- Text [ en-US ] = "Remove blank paragraphs" ;
-};
-String RID_SVXSTR_USER_STYLE
-{
- Text [ en-US ] = "Replace Custom Styles" ;
-};
-String RID_SVXSTR_BULLET
-{
- Text [ en-US ] = "Replace bullets with: " ;
-};
-String RID_SVXSTR_RIGHT_MARGIN
-{
- Text [ en-US ] = "Combine single line paragraphs if length greater than" ;
-};
-String RID_SVXSTR_NUM
-{
- Text [ en-US ] = "Bulleted and numbered lists. Bullet symbol: " ;
-};
-String RID_SVXSTR_BORDER
-{
- Text [ en-US ] = "Apply border" ;
-};
-String RID_SVXSTR_CREATE_TABLE
-{
- Text [ en-US ] = "Create table" ;
-};
-String RID_SVXSTR_REPLACE_TEMPLATES
-{
- Text [ en-US ] = "Apply Styles" ;
-};
-String RID_SVXSTR_DEL_SPACES_AT_STT_END
-{
- Text [ en-US ] = "Delete spaces and tabs at beginning and end of paragraph";
-};
-String RID_SVXSTR_DEL_SPACES_BETWEEN_LINES
-{
- Text [ en-US ] = "Delete spaces and tabs at end and start of line";
-};
-String RID_SVXSTR_CONNECTOR
-{
- Text [en-US ] = "Connector";
-};
-String RID_SVXSTR_DIMENSION_LINE
-{
- Text [en-US ] = "Dimension line";
-};
-String RID_SVXSTR_LOAD_ERROR
-{
- Text [ en-US ] = "The selected module could not be loaded.";
-};
-String RID_SVXSTR_STARTQUOTE
-{
- Text [ en-US ] = "Start Quote";
-};
-String RID_SVXSTR_ENDQUOTE
-{
- Text [ en-US ] = "End Quote";
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 3c92d5a7a8f5..9bcd7c1454e1 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -683,7 +683,7 @@ void SvxSwPosSizeTabPage::setOptimalFrmWidth()
for (std::vector<SvxSwFramePosString::StringId>::const_iterator aI = aFrames.begin(), aEnd = aFrames.end();
aI != aEnd; ++aI)
{
- m_pHoriLB->InsertEntry(m_aFramePosString.GetString(*aI));
+ m_pHoriLB->InsertEntry(SvxSwFramePosString::GetString(*aI));
}
Size aBiggest(m_pHoriLB->GetOptimalSize());
@@ -724,7 +724,7 @@ void SvxSwPosSizeTabPage::setOptimalRelWidth()
for (std::vector<SvxSwFramePosString::StringId>::const_iterator aI = aRels.begin(), aEnd = aRels.end();
aI != aEnd; ++aI)
{
- m_pHoriLB->InsertEntry(m_aFramePosString.GetString(*aI));
+ m_pHoriLB->InsertEntry(SvxSwFramePosString::GetString(*aI));
}
Size aBiggest(m_pHoriLB->GetOptimalSize());
@@ -1462,7 +1462,7 @@ sal_uInt16 SvxSwPosSizeTabPage::GetMapPos(FrmMap *pMap, ListBox &rAlignLB)
{
SvxSwFramePosString::StringId eResId = pMap[i].eStrId;
- OUString sEntry = m_aFramePosString.GetString(eResId);
+ OUString sEntry = SvxSwFramePosString::GetString(eResId);
if (sEntry == sSelEntry)
{
@@ -1688,7 +1688,7 @@ void SvxSwPosSizeTabPage::FillRelLB(FrmMap *pMap, sal_uInt16 nMapPos, sal_uInt16
SvxSwFramePosString::StringId sStrId1 = aAsCharRelationMap[nRelPos].eStrId;
sStrId1 = lcl_ChangeResIdToVerticalOrRTL(sStrId1, m_bIsVerticalFrame, m_bIsInRightToLeft);
- OUString sEntry = m_aFramePosString.GetString(sStrId1);
+ OUString sEntry = SvxSwFramePosString::GetString(sStrId1);
sal_Int32 nPos = rLB.InsertEntry(sEntry);
rLB.SetEntryData(nPos, &aAsCharRelationMap[nRelPos]);
if (pMap[_nMapPos].nAlign == nAlign)
@@ -1745,7 +1745,7 @@ void SvxSwPosSizeTabPage::FillRelLB(FrmMap *pMap, sal_uInt16 nMapPos, sal_uInt16
{
SvxSwFramePosString::StringId sStrId1 = m_pHoriMirrorCB->IsChecked() ? aRelationMap[nRelPos].eMirrorStrId : aRelationMap[nRelPos].eStrId;
sStrId1 = lcl_ChangeResIdToVerticalOrRTL(sStrId1, m_bIsVerticalFrame, m_bIsInRightToLeft);
- OUString sEntry = m_aFramePosString.GetString(sStrId1);
+ OUString sEntry = SvxSwFramePosString::GetString(sStrId1);
sal_Int32 nPos = rLB.InsertEntry(sEntry);
rLB.SetEntryData(nPos, &aRelationMap[nRelPos]);
if (sSelEntry.isEmpty() && aRelationMap[nRelPos].nRelation == nRel)
@@ -1826,7 +1826,7 @@ sal_uInt16 SvxSwPosSizeTabPage::FillPosLB(FrmMap *_pMap,
{
SvxSwFramePosString::StringId eStrId = m_pHoriMirrorCB->IsChecked() ? _pMap[i].eMirrorStrId : _pMap[i].eStrId;
eStrId = lcl_ChangeResIdToVerticalOrRTL(eStrId, m_bIsVerticalFrame, m_bIsInRightToLeft);
- OUString sEntry(m_aFramePosString.GetString(eStrId));
+ OUString sEntry(SvxSwFramePosString::GetString(eStrId));
if (_rLB.GetEntryPos(sEntry) == LISTBOX_ENTRY_NOTFOUND)
{
// don't insert duplicate entries at character wrapped borders
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index 5ea3afe39b2f..bc87cf191c8c 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -26,6 +26,7 @@
#include "svx/xattr.hxx"
#include <svx/xpool.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <svx/xflbckit.hxx>
#include <svx/svdattr.hxx>
#include <svx/xtable.hxx>
@@ -758,7 +759,6 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ModifyTileOffsetHdl, Edit&, void)
IMPL_LINK_NOARG(SvxBitmapTabPage, ClickImportHdl, Button*, void)
{
- ResMgr& rMgr = CUI_MGR();
SvxOpenGraphicDialog aDlg( "Import" );
aDlg.EnableLink(false);
long nCount = m_pBitmapList->Count();
@@ -773,7 +773,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ClickImportHdl, Button*, void)
if( !nError )
{
- OUString aDesc( ResId(RID_SVXSTR_DESC_EXT_BITMAP, rMgr) );
+ OUString aDesc(CuiResId(RID_SVXSTR_DESC_EXT_BITMAP));
ScopedVclPtr<MessageDialog> pWarnBox;
// convert file URL to UI name
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index d9b140729036..fb2a1300696b 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -33,6 +33,7 @@
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include "svx/xattr.hxx"
#include <svx/xpool.hxx>
@@ -46,6 +47,7 @@
#include <cuitabline.hxx>
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <osl/file.hxx>
#include <svx/Palette.hxx>
#include <cppu/unotype.hxx>
diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx
index f7f2de67e2ae..8de274563d88 100644
--- a/cui/source/tabpages/tpgradnt.cxx
+++ b/cui/source/tabpages/tpgradnt.cxx
@@ -28,6 +28,7 @@
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include <svx/colorbox.hxx>
#include "svx/xattr.hxx"
@@ -41,6 +42,7 @@
#include <dialmgr.hxx>
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <o3tl/make_unique.hxx>
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index 45b14ec5d2ca..0e78ab78089e 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -29,6 +29,7 @@
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include <svx/colorbox.hxx>
#include "svx/xattr.hxx"
@@ -43,6 +44,7 @@
#include "svx/dlgutil.hxx"
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <o3tl/make_unique.hxx>
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index 0e6c80f070ce..de1526d4b7dc 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -25,6 +25,7 @@
#include <sfx2/module.hxx>
#include <cuires.hrc>
+#include <strings.hrc>
#include <svx/colorbox.hxx>
#include "svx/xattr.hxx"
#include <svx/xpool.hxx>
@@ -51,6 +52,7 @@
#include "sfx2/opengrf.hxx"
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <vcl/settings.hxx>
#include <cuitabarea.hxx>
diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx
index f622e18358e7..1cd1b4f61a01 100644
--- a/cui/source/tabpages/tplnedef.cxx
+++ b/cui/source/tabpages/tplnedef.cxx
@@ -27,6 +27,7 @@
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include "svx/xattr.hxx"
@@ -42,6 +43,7 @@
#include "svx/dlgutil.hxx"
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <o3tl/make_unique.hxx>
#include "cuitabarea.hxx"
@@ -240,15 +242,14 @@ void SvxLineDefTabPage::CheckChanges_Impl()
m_pLbType2->IsValueChangedFromSaved() ||
m_pMtrDistance->IsValueChangedFromSaved() )
{
- ResMgr& rMgr = CUI_MGR();
Image aWarningBoxImage = WarningBox::GetStandardImage();
ScopedVclPtrInstance<SvxMessDialog> aMessDlg( GetParentDialog(),
SvxResId( RID_SVXSTR_LINESTYLE ),
- OUString( ResId( RID_SVXSTR_ASK_CHANGE_LINESTYLE, rMgr ) ),
+ CuiResId(RID_SVXSTR_ASK_CHANGE_LINESTYLE),
&aWarningBoxImage );
DBG_ASSERT(aMessDlg, "Dialog creation failed!");
- aMessDlg->SetButtonText( SvxMessDialogButton::N1, OUString( ResId( RID_SVXSTR_CHANGE, rMgr ) ) );
- aMessDlg->SetButtonText( SvxMessDialogButton::N2, OUString( ResId( RID_SVXSTR_ADD, rMgr ) ) );
+ aMessDlg->SetButtonText( SvxMessDialogButton::N1, CuiResId(RID_SVXSTR_CHANGE) );
+ aMessDlg->SetButtonText( SvxMessDialogButton::N2, CuiResId(RID_SVXSTR_ADD) );
short nRet = aMessDlg->Execute();
@@ -532,9 +533,8 @@ void SvxLineDefTabPage::SelectTypeHdl_Impl(ListBox* p)
IMPL_LINK_NOARG(SvxLineDefTabPage, ClickAddHdl_Impl, Button*, void)
{
- ResMgr& rMgr = CUI_MGR();
- OUString aNewName( SvxResId( RID_SVXSTR_LINESTYLE ) );
- OUString aDesc( ResId( RID_SVXSTR_DESC_LINESTYLE, rMgr ) );
+ OUString aNewName(SvxResId(RID_SVXSTR_LINESTYLE));
+ OUString aDesc(CuiResId(RID_SVXSTR_DESC_LINESTYLE));
OUString aName;
long nCount = pDashList->Count();
@@ -618,8 +618,7 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickModifyHdl_Impl, Button*, void)
if( nPos != LISTBOX_ENTRY_NOTFOUND )
{
- ResMgr& rMgr = CUI_MGR();
- OUString aDesc( ResId( RID_SVXSTR_DESC_LINESTYLE, rMgr ) );
+ OUString aDesc(CuiResId(RID_SVXSTR_DESC_LINESTYLE));
OUString aName( pDashList->GetDash( nPos )->GetName() );
OUString aOldName = aName;
diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx
index df8309d1054c..a5a0579226b7 100644
--- a/cui/source/tabpages/tplneend.cxx
+++ b/cui/source/tabpages/tplneend.cxx
@@ -26,6 +26,7 @@
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include <svx/dialmgr.hxx>
#include <svx/svdobj.hxx>
@@ -45,6 +46,7 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <o3tl/make_unique.hxx>
@@ -310,8 +312,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickModifyHdl_Impl, Button*, void)
if( nPos != LISTBOX_ENTRY_NOTFOUND )
{
- ResMgr& rMgr = CUI_MGR();
- OUString aDesc( ResId( RID_SVXSTR_DESC_LINEEND, rMgr ) );
+ OUString aDesc(CuiResId(RID_SVXSTR_DESC_LINEEND));
OUString aName( m_pEdtName->GetText() );
long nCount = pLineEndList->Count();
bool bDifferent = true;
@@ -417,9 +418,8 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickAddHdl_Impl, Button*, void)
SdrObject::Free( pConvPolyObj );
- ResMgr& rMgr = CUI_MGR();
- OUString aNewName( SvxResId( RID_SVXSTR_LINEEND ) );
- OUString aDesc( ResId( RID_SVXSTR_DESC_LINEEND, rMgr ) );
+ OUString aNewName(SvxResId(RID_SVXSTR_LINEEND));
+ OUString aDesc(CuiResId(RID_SVXSTR_DESC_LINEEND));
OUString aName;
long nCount = pLineEndList->Count();
diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx
index dba1fc108066..9f57f7e5a0d5 100644
--- a/cui/source/tabpages/tppattern.cxx
+++ b/cui/source/tabpages/tppattern.cxx
@@ -33,8 +33,10 @@
#include <vcl/bitmapaccess.hxx>
#include <vcl/settings.hxx>
#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <cuires.hrc>
+#include <strings.hrc>
#include "helpid.hrc"
#include "svx/xattr.hxx"
#include <svx/xpool.hxx>
@@ -468,9 +470,8 @@ IMPL_LINK_NOARG(SvxPatternTabPage, ClickRenameHdl_Impl, SvxPresetListBox*, void)
if ( nPos != VALUESET_ITEM_NOTFOUND )
{
- ResMgr& rMgr = CUI_MGR();
- OUString aDesc( ResId( RID_SVXSTR_DESC_NEW_PATTERN, rMgr ) );
- OUString aName( m_pPatternList->GetBitmap( nPos )->GetName() );
+ OUString aDesc(CuiResId(RID_SVXSTR_DESC_NEW_PATTERN));
+ OUString aName(m_pPatternList->GetBitmap(nPos)->GetName());
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
assert(pFact && "Dialog creation failed!");
diff --git a/cui/uiconfig/ui/aboutconfigdialog.ui b/cui/uiconfig/ui/aboutconfigdialog.ui
index 65cc729dc7f0..876f78a8f5f6 100644
--- a/cui/uiconfig/ui/aboutconfigdialog.ui
+++ b/cui/uiconfig/ui/aboutconfigdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkDialog" id="AboutConfig">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Expert Configuration</property>
+ <property name="title" translatable="yes" context="aboutconfigdialog|AboutConfig">Expert Configuration</property>
<property name="type_hint">normal</property>
<property name="skip_taskbar_hint">True</property>
<child internal-child="vbox">
@@ -45,7 +45,7 @@
</child>
<child>
<object class="GtkButton" id="searchButton">
- <property name="label" translatable="yes">_Search</property>
+ <property name="label" translatable="yes" context="aboutconfigdialog|searchButton">_Search</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -78,7 +78,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="yalign">0.49000000953674316</property>
- <property name="label" translatable="yes">Preference Name</property>
+ <property name="label" translatable="yes" context="aboutconfigdialog|preference">Preference Name</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -93,7 +93,7 @@
<property name="can_focus">False</property>
<property name="xalign">0.51999998092651367</property>
<property name="yalign">0.50999999046325684</property>
- <property name="label" translatable="yes">Property</property>
+ <property name="label" translatable="yes" context="aboutconfigdialog|property">Property</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -106,7 +106,7 @@
<object class="GtkLabel" id="type">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Type</property>
+ <property name="label" translatable="yes" context="aboutconfigdialog|type">Type</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -119,7 +119,7 @@
<object class="GtkLabel" id="value">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Value</property>
+ <property name="label" translatable="yes" context="aboutconfigdialog|value">Value</property>
</object>
<packing>
<property name="left_attach">3</property>
@@ -166,7 +166,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="edit">
- <property name="label" translatable="yes">Edit</property>
+ <property name="label" translatable="yes" context="aboutconfigdialog|edit">Edit</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -179,7 +179,7 @@
</child>
<child>
<object class="GtkButton" id="reset">
- <property name="label" translatable="yes">Reset</property>
+ <property name="label" translatable="yes" context="aboutconfigdialog|reset">Reset</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/cui/uiconfig/ui/aboutconfigvaluedialog.ui b/cui/uiconfig/ui/aboutconfigvaluedialog.ui
index 4024f45f89a0..895124080640 100644
--- a/cui/uiconfig/ui/aboutconfigvaluedialog.ui
+++ b/cui/uiconfig/ui/aboutconfigvaluedialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="AboutConfigValueDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Name</property>
+ <property name="title" translatable="yes" context="aboutconfigvaluedialog|AboutConfigValueDialog">Name</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -84,7 +84,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Value:</property>
+ <property name="label" translatable="yes" context="aboutconfigvaluedialog|label1">Value:</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/cui/uiconfig/ui/aboutdialog.ui b/cui/uiconfig/ui/aboutdialog.ui
index dbbb9d4faa7e..067ca0633d9f 100644
--- a/cui/uiconfig/ui/aboutdialog.ui
+++ b/cui/uiconfig/ui/aboutdialog.ui
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkTextBuffer" id="textbuffer1">
- <property name="text" translatable="yes">Version: %ABOUTBOXPRODUCTVERSION%ABOUTBOXPRODUCTVERSIONSUFFIX</property>
+ <property name="text" translatable="yes" context="aboutdialog|textbuffer1">Version: %ABOUTBOXPRODUCTVERSION%ABOUTBOXPRODUCTVERSIONSUFFIX</property>
</object>
<object class="GtkDialog" id="AboutDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">About %PRODUCTNAME</property>
+ <property name="title" translatable="yes" context="aboutdialog|AboutDialog">About %PRODUCTNAME</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -22,7 +22,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="credits">
- <property name="label" translatable="yes">Cre_dits</property>
+ <property name="label" translatable="yes" context="aboutdialog|credits">Cre_dits</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -37,7 +37,7 @@
</child>
<child>
<object class="GtkButton" id="website">
- <property name="label" translatable="yes">_Website</property>
+ <property name="label" translatable="yes" context="aboutdialog|website">_Website</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -106,7 +106,7 @@
<object class="GtkLabel" id="logoreplacement">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">%PRODUCTNAME</property>
+ <property name="label" translatable="yes" context="aboutdialog|logoreplacement">%PRODUCTNAME</property>
<property name="justify">center</property>
</object>
<packing>
@@ -125,7 +125,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Build ID: $BUILDID</property>
+ <property name="label" translatable="yes" context="aboutdialog|buildid">Build ID: $BUILDID</property>
<property name="justify">center</property>
</object>
<packing>
@@ -138,7 +138,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Locale: $LOCALE</property>
+ <property name="label" translatable="yes" context="aboutdialog|locale">Locale: $LOCALE</property>
<property name="justify">center</property>
</object>
<packing>
@@ -171,7 +171,7 @@
</child>
<child>
<object class="GtkLinkButton" id="buildIdLink">
- <property name="label" translatable="yes">See Log: $GITHASH</property>
+ <property name="label" translatable="yes" context="aboutdialog|buildIdLink">See Log: $GITHASH</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -188,7 +188,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">%PRODUCTNAME is a modern, easy-to-use, open source productivity suite for word processing, spreadsheets, presentations and more.</property>
+ <property name="label" translatable="yes" context="aboutdialog|description">%PRODUCTNAME is a modern, easy-to-use, open source productivity suite for word processing, spreadsheets, presentations and more.</property>
<property name="justify">center</property>
<property name="wrap">True</property>
<property name="max_width_chars">62</property>
@@ -211,7 +211,7 @@
<property name="margin_left">12</property>
<property name="margin_right">12</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Copyright © 2000–2017 LibreOffice contributors.</property>
+ <property name="label" translatable="yes" context="aboutdialog|copyright">Copyright © 2000–2017 LibreOffice contributors.</property>
<property name="justify">center</property>
<property name="wrap">True</property>
</object>
@@ -225,7 +225,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">LibreOffice was based on OpenOffice.org.</property>
+ <property name="label" translatable="yes" context="aboutdialog|libreoffice">LibreOffice was based on OpenOffice.org.</property>
<property name="justify">center</property>
<property name="wrap">True</property>
</object>
@@ -239,7 +239,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">%PRODUCTNAME is derived from LibreOffice which was based on OpenOffice.org.</property>
+ <property name="label" translatable="yes" context="aboutdialog|derived">%PRODUCTNAME is derived from LibreOffice which was based on OpenOffice.org.</property>
<property name="justify">center</property>
<property name="wrap">True</property>
</object>
@@ -253,7 +253,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">This release was supplied by %OOOVENDOR.</property>
+ <property name="label" translatable="yes" context="aboutdialog|vendor">This release was supplied by %OOOVENDOR.</property>
<property name="justify">center</property>
<property name="wrap">True</property>
</object>
@@ -273,7 +273,7 @@
<object class="GtkLabel" id="link">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">https://www.libreoffice.org/about-us/credits/</property>
+ <property name="label" translatable="yes" context="aboutdialog|link">https://www.libreoffice.org/about-us/credits/</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/cui/uiconfig/ui/accelconfigpage.ui b/cui/uiconfig/ui/accelconfigpage.ui
index 68e17b4b01c6..1296e9b01e11 100644
--- a/cui/uiconfig/ui/accelconfigpage.ui
+++ b/cui/uiconfig/ui/accelconfigpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.10"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkGrid" id="AccelConfigPage">
@@ -50,7 +50,7 @@
<object class="GtkLabel" id="label21">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Shortcut Keys</property>
+ <property name="label" translatable="yes" context="accelconfigpage|label21">Shortcut Keys</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -77,7 +77,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkRadioButton" id="office">
- <property name="label" translatable="yes">%PRODUCTNAME</property>
+ <property name="label" translatable="yes" context="accelconfigpage|office">%PRODUCTNAME</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -94,7 +94,7 @@
</child>
<child>
<object class="GtkRadioButton" id="module">
- <property name="label" translatable="yes">$(MODULE)</property>
+ <property name="label" translatable="yes" context="accelconfigpage|module">$(MODULE)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -126,7 +126,7 @@
<property name="layout_style">start</property>
<child>
<object class="GtkButton" id="change">
- <property name="label" translatable="yes">_Modify</property>
+ <property name="label" translatable="yes" context="accelconfigpage|change">_Modify</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -154,7 +154,7 @@
</child>
<child>
<object class="GtkButton" id="load">
- <property name="label" translatable="yes">_Load...</property>
+ <property name="label" translatable="yes" context="accelconfigpage|load">_Load...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -169,7 +169,7 @@
</child>
<child>
<object class="GtkButton" id="save">
- <property name="label" translatable="yes">_Save...</property>
+ <property name="label" translatable="yes" context="accelconfigpage|save">_Save...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -242,7 +242,7 @@
<object class="GtkEntry" id="searchEntry">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="placeholder_text" translatable="yes">Type to search</property>
+ <property name="placeholder_text" translatable="yes" context="accelconfigpage|searchEntry">Type to search</property>
</object>
<packing>
<property name="expand">False</property>
@@ -262,7 +262,7 @@
<object class="GtkLabel" id="label23">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Category</property>
+ <property name="label" translatable="yes" context="accelconfigpage|label23">_Category</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">category:border</property>
<property name="xalign">0</property>
@@ -276,7 +276,7 @@
<object class="GtkLabel" id="label24">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Function</property>
+ <property name="label" translatable="yes" context="accelconfigpage|label24">_Function</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">function:border</property>
<property name="xalign">0</property>
@@ -290,7 +290,7 @@
<object class="GtkLabel" id="label25">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Keys</property>
+ <property name="label" translatable="yes" context="accelconfigpage|label25">_Keys</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">keys:border</property>
<property name="xalign">0</property>
@@ -360,7 +360,7 @@
<object class="GtkLabel" id="label22">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Functions</property>
+ <property name="label" translatable="yes" context="accelconfigpage|label22">Functions</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/acorexceptpage.ui b/cui/uiconfig/ui/acorexceptpage.ui
index f7893aab4aef..0dab0855818e 100644
--- a/cui/uiconfig/ui/acorexceptpage.ui
+++ b/cui/uiconfig/ui/acorexceptpage.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="cui">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="AcorExceptPage">
@@ -47,7 +47,7 @@
</child>
<child>
<object class="GtkCheckButton" id="autoabbrev">
- <property name="label" translatable="yes">_AutoInclude</property>
+ <property name="label" translatable="yes" context="acorexceptpage|autoabbrev">_AutoInclude</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -80,7 +80,7 @@
<property name="use_stock">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="newabbrev-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes">New abbreviations</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="acorexceptpage|newabbrev-atkobject">New abbreviations</property>
</object>
</child>
</object>
@@ -92,7 +92,7 @@
</child>
<child>
<object class="GtkButton" id="replace">
- <property name="label" translatable="yes">_Replace</property>
+ <property name="label" translatable="yes" context="acorexceptpage|replace">_Replace</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
@@ -116,7 +116,7 @@
<property name="use_stock">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="delabbrev-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes">Delete abbreviations</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="acorexceptpage|delabbrev-atkobject">Delete abbreviations</property>
</object>
</child>
</object>
@@ -164,7 +164,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Abbreviations (no Subsequent Capital)</property>
+ <property name="label" translatable="yes" context="acorexceptpage|label1">Abbreviations (no Subsequent Capital)</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -217,7 +217,7 @@
</child>
<child>
<object class="GtkCheckButton" id="autodouble">
- <property name="label" translatable="yes">A_utoInclude</property>
+ <property name="label" translatable="yes" context="acorexceptpage|autodouble">A_utoInclude</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -250,7 +250,7 @@
<property name="use_stock">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="newdouble-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes">New words with two initial capitals</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="acorexceptpage|newdouble-atkobject">New words with two initial capitals</property>
</object>
</child>
</object>
@@ -262,7 +262,7 @@
</child>
<child>
<object class="GtkButton" id="replace1">
- <property name="label" translatable="yes">_Replace</property>
+ <property name="label" translatable="yes" context="acorexceptpage|replace1">_Replace</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
@@ -286,7 +286,7 @@
<property name="use_stock">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="deldouble-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes">Delete words with two initial capitals</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="acorexceptpage|deldouble-atkobject">Delete words with two initial capitals</property>
</object>
</child>
</object>
@@ -334,7 +334,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Words With TWo INitial CApitals</property>
+ <property name="label" translatable="yes" context="acorexceptpage|label2">Words With TWo INitial CApitals</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/acoroptionspage.ui b/cui/uiconfig/ui/acoroptionspage.ui
index b7f090607ae6..5d6ad7accf56 100644
--- a/cui/uiconfig/ui/acoroptionspage.ui
+++ b/cui/uiconfig/ui/acoroptionspage.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="cui">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="AutocorrectOptionsPage">
diff --git a/cui/uiconfig/ui/acorreplacepage.ui b/cui/uiconfig/ui/acorreplacepage.ui
index 2f7c6f836568..4bf945202c3f 100644
--- a/cui/uiconfig/ui/acorreplacepage.ui
+++ b/cui/uiconfig/ui/acorreplacepage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Wed Jan 29 10:50:29 2014 -->
-<interface>
+<interface domain="cui">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkGrid" id="AcorReplacePage">
@@ -35,7 +35,7 @@
</child>
<child>
<object class="GtkButton" id="replace">
- <property name="label" translatable="yes">_Replace</property>
+ <property name="label" translatable="yes" context="acorreplacepage|replace">_Replace</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
@@ -118,7 +118,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Repla_ce</property>
+ <property name="label" translatable="yes" context="acorreplacepage|label1">Repla_ce</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">origtext</property>
</object>
@@ -138,7 +138,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_With:</property>
+ <property name="label" translatable="yes" context="acorreplacepage|label2">_With:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">newtext</property>
</object>
@@ -151,7 +151,7 @@
</child>
<child>
<object class="GtkCheckButton" id="textonly">
- <property name="label" translatable="yes">_Text only</property>
+ <property name="label" translatable="yes" context="acorreplacepage|textonly">_Text only</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
diff --git a/cui/uiconfig/ui/agingdialog.ui b/cui/uiconfig/ui/agingdialog.ui
index a37c8460ed97..42433c4cdab5 100644
--- a/cui/uiconfig/ui/agingdialog.ui
+++ b/cui/uiconfig/ui/agingdialog.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -13,7 +13,7 @@
<object class="GtkDialog" id="AgingDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Aging</property>
+ <property name="title" translatable="yes" context="agingdialog|AgingDialog">Aging</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -134,7 +134,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Aging degree:</property>
+ <property name="label" translatable="yes" context="agingdialog|label2">Aging degree:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">value:%</property>
</object>
@@ -157,7 +157,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Parameters</property>
+ <property name="label" translatable="yes" context="agingdialog|label1">Parameters</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/applyautofmtpage.ui b/cui/uiconfig/ui/applyautofmtpage.ui
index 0ed07bf64f28..c466faf60ae8 100644
--- a/cui/uiconfig/ui/applyautofmtpage.ui
+++ b/cui/uiconfig/ui/applyautofmtpage.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="cui">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="ApplyAutoFmtPage">
@@ -24,7 +24,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkButton" id="edit">
- <property name="label" translatable="yes">_Edit...</property>
+ <property name="label" translatable="yes" context="applyautofmtpage|edit">_Edit...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -43,7 +43,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">[M]: Replace while modifying existing text</property>
+ <property name="label" translatable="yes" context="applyautofmtpage|label1">[M]: Replace while modifying existing text</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -57,7 +57,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">[T]: AutoCorrect while typing</property>
+ <property name="label" translatable="yes" context="applyautofmtpage|label2">[T]: AutoCorrect while typing</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -85,7 +85,7 @@
<object class="GtkLabel" id="m">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">[M]</property>
+ <property name="label" translatable="yes" context="applyautofmtpage|m">[M]</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -98,7 +98,7 @@
<object class="GtkLabel" id="t">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">[T]</property>
+ <property name="label" translatable="yes" context="applyautofmtpage|t">[T]</property>
</object>
<packing>
<property name="left_attach">1</property>
diff --git a/cui/uiconfig/ui/applylocalizedpage.ui b/cui/uiconfig/ui/applylocalizedpage.ui
index d917442473ba..a298a5b08c9b 100644
--- a/cui/uiconfig/ui/applylocalizedpage.ui
+++ b/cui/uiconfig/ui/applylocalizedpage.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="cui">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="ApplyLocalizedPage">
@@ -27,7 +27,7 @@
<object class="GtkLabel" id="m">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">[M]</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|m">[M]</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -40,7 +40,7 @@
<object class="GtkLabel" id="t">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">[T]</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|t">[T]</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -115,7 +115,7 @@
<property name="row_spacing">6</property>
<child>
<object class="GtkCheckButton" id="singlereplace">
- <property name="label" translatable="yes">Repla_ce</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|singlereplace">Repla_ce</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -135,7 +135,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Start quote:</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|startquoteft">_Start quote:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">startsingle</property>
</object>
@@ -159,7 +159,7 @@
<property name="receives_default">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="startsingle-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Start quote of single quotes</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="applylocalizedpage|startsingle-atkobject">Start quote of single quotes</property>
</object>
</child>
</object>
@@ -175,7 +175,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Default</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|singlestartex">Default</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -194,7 +194,7 @@
</child>
<child>
<object class="GtkButton" id="defaultsingle">
- <property name="label" translatable="yes">_Default</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|defaultsingle">_Default</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -202,7 +202,7 @@
<property name="use_underline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="defaultsingle-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Single quotes default</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="applylocalizedpage|defaultsingle-atkobject">Single quotes default</property>
</object>
</child>
</object>
@@ -218,7 +218,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_End quote:</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|endquoteft">_End quote:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">endsingle</property>
</object>
@@ -242,7 +242,7 @@
<property name="receives_default">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="endsingle-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">End quote of single quotes</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="applylocalizedpage|endsingle-atkobject">End quote of single quotes</property>
</object>
</child>
</object>
@@ -258,7 +258,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Default</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|singleendex">Default</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -283,7 +283,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Single Quotes</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|label1">Single Quotes</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -315,7 +315,7 @@
<property name="row_spacing">6</property>
<child>
<object class="GtkCheckButton" id="doublereplace">
- <property name="label" translatable="yes">Repla_ce</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|doublereplace">Repla_ce</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -335,7 +335,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Start quote:</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|label6">_Start quote:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">startdouble</property>
</object>
@@ -359,7 +359,7 @@
<property name="receives_default">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="startdouble-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Start quote of double quotes</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="applylocalizedpage|startdouble-atkobject">Start quote of double quotes</property>
</object>
</child>
</object>
@@ -375,7 +375,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Default</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|doublestartex">Default</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -394,7 +394,7 @@
</child>
<child>
<object class="GtkButton" id="defaultdouble">
- <property name="label" translatable="yes">_Default</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|defaultdouble">_Default</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -402,7 +402,7 @@
<property name="use_underline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="defaultdouble-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Double quotes default</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="applylocalizedpage|defaultdouble-atkobject">Double quotes default</property>
</object>
</child>
</object>
@@ -418,7 +418,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_End quote:</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|label8">_End quote:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">enddouble</property>
</object>
@@ -442,7 +442,7 @@
<property name="receives_default">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="enddouble-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">End quote of double quotes</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="applylocalizedpage|enddouble-atkobject">End quote of double quotes</property>
</object>
</child>
</object>
@@ -458,7 +458,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Default</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|doubleendex">Default</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -483,7 +483,7 @@
<object class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Double Quotes</property>
+ <property name="label" translatable="yes" context="applylocalizedpage|label10">Double Quotes</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/areadialog.ui b/cui/uiconfig/ui/areadialog.ui
index e9c557e8bbd4..5a0c983f7c76 100644
--- a/cui/uiconfig/ui/areadialog.ui
+++ b/cui/uiconfig/ui/areadialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="AreaDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Area</property>
+ <property name="title" translatable="yes" context="areadialog|AreaDialog">Area</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -97,7 +97,7 @@
<object class="GtkLabel" id="RID_SVXPAGE_AREA">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Area</property>
+ <property name="label" translatable="yes" context="areadialog|RID_SVXPAGE_AREA">Area</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -110,7 +110,7 @@
<object class="GtkLabel" id="RID_SVXPAGE_SHADOW">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Shadow</property>
+ <property name="label" translatable="yes" context="areadialog|RID_SVXPAGE_SHADOW">Shadow</property>
</object>
<packing>
<property name="position">1</property>
@@ -124,7 +124,7 @@
<object class="GtkLabel" id="RID_SVXPAGE_TRANSPARENCE">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Transparency</property>
+ <property name="label" translatable="yes" context="areadialog|RID_SVXPAGE_TRANSPARENCE">Transparency</property>
</object>
<packing>
<property name="position">2</property>
diff --git a/cui/uiconfig/ui/areatabpage.ui b/cui/uiconfig/ui/areatabpage.ui
index 405060116ff4..11e939855fa7 100644
--- a/cui/uiconfig/ui/areatabpage.ui
+++ b/cui/uiconfig/ui/areatabpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="AreaTabPage">
@@ -26,7 +26,7 @@
<property name="layout_style">center</property>
<child>
<object class="GtkButton" id="btnnone">
- <property name="label" translatable="yes">None</property>
+ <property name="label" translatable="yes" context="areatabpage|btnnone">None</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -39,7 +39,7 @@
</child>
<child>
<object class="GtkButton" id="btncolor">
- <property name="label" translatable="yes">Color</property>
+ <property name="label" translatable="yes" context="areatabpage|btncolor">Color</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -52,7 +52,7 @@
</child>
<child>
<object class="GtkButton" id="btngradient">
- <property name="label" translatable="yes">Gradient</property>
+ <property name="label" translatable="yes" context="areatabpage|btngradient">Gradient</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -65,7 +65,7 @@
</child>
<child>
<object class="GtkButton" id="btnhatch">
- <property name="label" translatable="yes">Hatch</property>
+ <property name="label" translatable="yes" context="areatabpage|btnhatch">Hatch</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -78,7 +78,7 @@
</child>
<child>
<object class="GtkButton" id="btnbitmap">
- <property name="label" translatable="yes">Bitmap</property>
+ <property name="label" translatable="yes" context="areatabpage|btnbitmap">Bitmap</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="btnpattern">
- <property name="label" translatable="yes">Pattern</property>
+ <property name="label" translatable="yes" context="areatabpage|btnpattern">Pattern</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/cui/uiconfig/ui/asiantypography.ui b/cui/uiconfig/ui/asiantypography.ui
index b25746ffe42b..6f719ea6e3f6 100644
--- a/cui/uiconfig/ui/asiantypography.ui
+++ b/cui/uiconfig/ui/asiantypography.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkFrame" id="AsianTypography">
<property name="visible">True</property>
@@ -22,7 +22,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="checkForbidList">
- <property name="label" translatable="yes">Apply list of forbidden characters to the beginning and end of lines</property>
+ <property name="label" translatable="yes" context="asiantypography|checkForbidList">Apply list of forbidden characters to the beginning and end of lines</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -38,7 +38,7 @@
</child>
<child>
<object class="GtkCheckButton" id="checkHangPunct">
- <property name="label" translatable="yes">Allow hanging punctuation</property>
+ <property name="label" translatable="yes" context="asiantypography|checkHangPunct">Allow hanging punctuation</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -54,7 +54,7 @@
</child>
<child>
<object class="GtkCheckButton" id="checkApplySpacing">
- <property name="label" translatable="yes">Apply spacing between Asian, Latin and complex text</property>
+ <property name="label" translatable="yes" context="asiantypography|checkApplySpacing">Apply spacing between Asian, Latin and complex text</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -76,7 +76,7 @@
<object class="GtkLabel" id="labelLineChange">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Line Change</property>
+ <property name="label" translatable="yes" context="asiantypography|labelLineChange">Line Change</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/assigncomponentdialog.ui b/cui/uiconfig/ui/assigncomponentdialog.ui
index 024f66e336d8..134e32f8f740 100644
--- a/cui/uiconfig/ui/assigncomponentdialog.ui
+++ b/cui/uiconfig/ui/assigncomponentdialog.ui
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="AssignComponent">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Assign Component</property>
+ <property name="title" translatable="yes" context="assigncomponentdialog|AssignComponent">Assign Component</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -88,7 +88,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Component method name:</property>
+ <property name="label" translatable="yes" context="assigncomponentdialog|label1">Component method name:</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/cui/uiconfig/ui/autocorrectdialog.ui b/cui/uiconfig/ui/autocorrectdialog.ui
index 343b1d50c9ec..d8fbf1f30183 100644
--- a/cui/uiconfig/ui/autocorrectdialog.ui
+++ b/cui/uiconfig/ui/autocorrectdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="AutoCorrectDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">AutoCorrect</property>
+ <property name="title" translatable="yes" context="autocorrectdialog|AutoCorrectDialog">AutoCorrect</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -101,7 +101,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Replacements and exceptions for language:</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|label1">Replacements and exceptions for language:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -140,7 +140,7 @@
<object class="GtkLabel" id="replace">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Replace</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|replace">Replace</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -153,7 +153,7 @@
<object class="GtkLabel" id="exceptions">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Exceptions</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|exceptions">Exceptions</property>
</object>
<packing>
<property name="position">1</property>
@@ -167,7 +167,7 @@
<object class="GtkLabel" id="options">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|options">Options</property>
</object>
<packing>
<property name="position">2</property>
@@ -181,7 +181,7 @@
<object class="GtkLabel" id="apply">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|apply">Options</property>
</object>
<packing>
<property name="position">3</property>
@@ -195,7 +195,7 @@
<object class="GtkLabel" id="localized">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Localized Options</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|localized">Localized Options</property>
</object>
<packing>
<property name="position">4</property>
@@ -209,7 +209,7 @@
<object class="GtkLabel" id="wordcompletion">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Word Completion</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|wordcompletion">Word Completion</property>
</object>
<packing>
<property name="position">5</property>
@@ -223,7 +223,7 @@
<object class="GtkLabel" id="smarttags">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Smart Tags</property>
+ <property name="label" translatable="yes" context="autocorrectdialog|smarttags">Smart Tags</property>
</object>
<packing>
<property name="position">6</property>
diff --git a/cui/uiconfig/ui/backgroundpage.ui b/cui/uiconfig/ui/backgroundpage.ui
index 5125e4c066c6..c29f179da611 100644
--- a/cui/uiconfig/ui/backgroundpage.ui
+++ b/cui/uiconfig/ui/backgroundpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -17,11 +17,11 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Color</col>
+ <col id="0" translatable="yes" context="backgroundpage|liststore1">Color</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">Image</col>
+ <col id="0" translatable="yes" context="backgroundpage|liststore1">Image</col>
<col id="1">4</col>
</row>
</data>
@@ -42,7 +42,7 @@
<object class="GtkLabel" id="asft">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">A_s:</property>
+ <property name="label" translatable="yes" context="backgroundpage|asft">A_s:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -68,7 +68,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">F_or:</property>
+ <property name="label" translatable="yes" context="backgroundpage|forft">F_or:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -86,9 +86,9 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<items>
- <item translatable="yes">Cell</item>
- <item translatable="yes">Row</item>
- <item translatable="yes">Table</item>
+ <item translatable="yes" context="backgroundpage|tablelb">Cell</item>
+ <item translatable="yes" context="backgroundpage|tablelb">Row</item>
+ <item translatable="yes" context="backgroundpage|tablelb">Table</item>
</items>
</object>
<packing>
@@ -209,7 +209,7 @@
<object class="GtkLabel" id="background_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Background Color</property>
+ <property name="label" translatable="yes" context="backgroundpage|background_label">Background Color</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -272,7 +272,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Unlinked image</property>
+ <property name="label" translatable="yes" context="backgroundpage|unlinkedft">Unlinked image</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -284,7 +284,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Find images</property>
+ <property name="label" translatable="yes" context="backgroundpage|findgraphicsft">Find images</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -299,7 +299,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkButton" id="browse">
- <property name="label" translatable="yes">_Browse...</property>
+ <property name="label" translatable="yes" context="backgroundpage|browse">_Browse...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -312,7 +312,7 @@
</child>
<child>
<object class="GtkCheckButton" id="link">
- <property name="label" translatable="yes">_Link</property>
+ <property name="label" translatable="yes" context="backgroundpage|link">_Link</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -340,7 +340,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">File</property>
+ <property name="label" translatable="yes" context="backgroundpage|label2">File</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -398,7 +398,7 @@
<property name="valign">start</property>
<child>
<object class="GtkRadioButton" id="positionrb">
- <property name="label" translatable="yes">_Position</property>
+ <property name="label" translatable="yes" context="backgroundpage|positionrb">_Position</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -418,7 +418,7 @@
</child>
<child>
<object class="GtkRadioButton" id="arearb">
- <property name="label" translatable="yes">Ar_ea</property>
+ <property name="label" translatable="yes" context="backgroundpage|arearb">Ar_ea</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -434,7 +434,7 @@
</child>
<child>
<object class="GtkRadioButton" id="tilerb">
- <property name="label" translatable="yes">_Tile</property>
+ <property name="label" translatable="yes" context="backgroundpage|tilerb">_Tile</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -462,7 +462,7 @@
<object class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Type</property>
+ <property name="label" translatable="yes" context="backgroundpage|label8">Type</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -503,7 +503,7 @@
</child>
<child>
<object class="GtkCheckButton" id="showpreview">
- <property name="label" translatable="yes">Pre_view</property>
+ <property name="label" translatable="yes" context="backgroundpage|showpreview">Pre_view</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
diff --git a/cui/uiconfig/ui/baselinksdialog.ui b/cui/uiconfig/ui/baselinksdialog.ui
index 1d77a0a68c54..bd14fce35e68 100644
--- a/cui/uiconfig/ui/baselinksdialog.ui
+++ b/cui/uiconfig/ui/baselinksdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkDialog" id="BaseLinksDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Edit Links</property>
+ <property name="title" translatable="yes" context="baselinksdialog|BaseLinksDialog">Edit Links</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -51,7 +51,7 @@
</child>
<child>
<object class="GtkButton" id="UPDATE_NOW">
- <property name="label" translatable="yes">_Update</property>
+ <property name="label" translatable="yes" context="baselinksdialog|UPDATE_NOW">_Update</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -66,7 +66,7 @@
</child>
<child>
<object class="GtkButton" id="OPEN">
- <property name="label" translatable="yes">_Open</property>
+ <property name="label" translatable="yes" context="baselinksdialog|OPEN">_Open</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -81,7 +81,7 @@
</child>
<child>
<object class="GtkButton" id="CHANGE_SOURCE">
- <property name="label" translatable="yes">_Modify...</property>
+ <property name="label" translatable="yes" context="baselinksdialog|CHANGE_SOURCE">_Modify...</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -96,7 +96,7 @@
</child>
<child>
<object class="GtkButton" id="BREAK_LINK">
- <property name="label" translatable="yes">_Break Link</property>
+ <property name="label" translatable="yes" context="baselinksdialog|BREAK_LINK">_Break Link</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -144,7 +144,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Source file</property>
+ <property name="label" translatable="yes" context="baselinksdialog|FILES">Source file</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -158,7 +158,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Element:</property>
+ <property name="label" translatable="yes" context="baselinksdialog|LINKS">Element:</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -172,7 +172,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Type</property>
+ <property name="label" translatable="yes" context="baselinksdialog|TYPE">Type</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -187,7 +187,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Status</property>
+ <property name="label" translatable="yes" context="baselinksdialog|STATUS">Status</property>
</object>
<packing>
<property name="left_attach">3</property>
@@ -214,7 +214,7 @@
</child>
<child internal-child="accessible">
<object class="AtkObject" id="TB_LINKS:border-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Edit Links</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="baselinksdialog|TB_LINKS-atkobject">Edit Links</property>
</object>
</child>
</object>
@@ -243,7 +243,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Source file</property>
+ <property name="label" translatable="yes" context="baselinksdialog|FILES2">Source file</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">TB_LINKS:border</property>
</object>
@@ -259,7 +259,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Element:</property>
+ <property name="label" translatable="yes" context="baselinksdialog|SOURCE2">Element:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -273,7 +273,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Type:</property>
+ <property name="label" translatable="yes" context="baselinksdialog|TYPE2">Type:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -287,7 +287,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Update:</property>
+ <property name="label" translatable="yes" context="baselinksdialog|UPDATE">Update:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -342,7 +342,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkRadioButton" id="AUTOMATIC">
- <property name="label" translatable="yes">_Automatic</property>
+ <property name="label" translatable="yes" context="baselinksdialog|AUTOMATIC">_Automatic</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -362,7 +362,7 @@
</child>
<child>
<object class="GtkRadioButton" id="MANUAL">
- <property name="label" translatable="yes">Ma_nual</property>
+ <property name="label" translatable="yes" context="baselinksdialog|MANUAL">Ma_nual</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
diff --git a/cui/uiconfig/ui/bitmaptabpage.ui b/cui/uiconfig/ui/bitmaptabpage.ui
index 7b7148fd5604..a18167ed4f0d 100644
--- a/cui/uiconfig/ui/bitmaptabpage.ui
+++ b/cui/uiconfig/ui/bitmaptabpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="BitmapTabPage">
@@ -43,7 +43,7 @@
</child>
<child>
<object class="GtkButton" id="BTN_IMPORT">
- <property name="label" translatable="yes">Add / Import</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|BTN_IMPORT">Add / Import</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</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">Bitmap</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label1">Bitmap</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -108,7 +108,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Style:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label3">Style:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -121,12 +121,12 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<items>
- <item translatable="yes">Original</item>
- <item translatable="yes">Filled</item>
- <item translatable="yes">Stretched</item>
- <item translatable="yes">Zoomed</item>
- <item translatable="yes">Custom</item>
- <item translatable="yes">Tiled</item>
+ <item translatable="yes" context="bitmaptabpage|bitmapstyle">Original</item>
+ <item translatable="yes" context="bitmaptabpage|bitmapstyle">Filled</item>
+ <item translatable="yes" context="bitmaptabpage|bitmapstyle">Stretched</item>
+ <item translatable="yes" context="bitmaptabpage|bitmapstyle">Zoomed</item>
+ <item translatable="yes" context="bitmaptabpage|bitmapstyle">Custom</item>
+ <item translatable="yes" context="bitmaptabpage|bitmapstyle">Tiled</item>
</items>
</object>
<packing>
@@ -153,7 +153,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Size:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label4">Size:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -170,7 +170,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">W:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label5">W:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -194,7 +194,7 @@
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">H:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label6">H:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -223,7 +223,7 @@
</child>
<child>
<object class="GtkCheckButton" id="scaletsb">
- <property name="label" translatable="yes">Scale</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|scaletsb">Scale</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -254,7 +254,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Position:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label7">Position:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -267,15 +267,15 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<items>
- <item translatable="yes">Top Left</item>
- <item translatable="yes">Top Center</item>
- <item translatable="yes">Top Right</item>
- <item translatable="yes">Center Left</item>
- <item translatable="yes">Center</item>
- <item translatable="yes">Center Right</item>
- <item translatable="yes">Bottom Left</item>
- <item translatable="yes">Bottom Center</item>
- <item translatable="yes">Bottom Right</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Top Left</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Top Center</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Top Right</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Center Left</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Center</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Center Right</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Bottom Left</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Bottom Center</item>
+ <item translatable="yes" context="bitmaptabpage|positionlb">Bottom Right</item>
</items>
</object>
<packing>
@@ -302,7 +302,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Tiling Position:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label9">Tiling Position:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -320,7 +320,7 @@
<object class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">X:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label10">X:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -343,7 +343,7 @@
<object class="GtkLabel" id="label11">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Y:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label11">Y:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -387,7 +387,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Tiling Offset:</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label15">Tiling Offset:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -406,8 +406,8 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<items>
- <item translatable="yes">Row</item>
- <item translatable="yes">Column</item>
+ <item translatable="yes" context="bitmaptabpage|tileofflb">Row</item>
+ <item translatable="yes" context="bitmaptabpage|tileofflb">Column</item>
</items>
</object>
<packing>
@@ -450,7 +450,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label2">Options</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -493,7 +493,7 @@
<property name="vexpand">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="CTL_BITMAP_PREVIEW-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Example</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="bitmaptabpage|CTL_BITMAP_PREVIEW-atkobject">Example</property>
</object>
</child>
</object>
@@ -511,7 +511,7 @@
<object class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Preview</property>
+ <property name="label" translatable="yes" context="bitmaptabpage|label8">Preview</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/blackorwhitelistentrydialog.ui b/cui/uiconfig/ui/blackorwhitelistentrydialog.ui
index ecd102812ea2..5649c19a16f4 100644
--- a/cui/uiconfig/ui/blackorwhitelistentrydialog.ui
+++ b/cui/uiconfig/ui/blackorwhitelistentrydialog.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkListStore" id="os-liststore">
<columns>
@@ -11,7 +11,7 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Any</col>
+ <col id="0" translatable="yes" context="blackorwhitelistentrydialog|os-liststore">Any</col>
<col id="1">0</col>
</row>
<row>
@@ -185,7 +185,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="label" translatable="yes">Operating system:</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|label4">Operating system:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -198,7 +198,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="label" translatable="yes">Version:</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|label5">Version:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -211,7 +211,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="label" translatable="yes">OpenCL vendor:</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|label6">OpenCL vendor:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -224,7 +224,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="label" translatable="yes">Device:</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|label7">Device:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -237,7 +237,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="label" translatable="yes">Driver version:</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|label8">Driver version:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -255,7 +255,7 @@
<object class="GtkLabel" id="bledittitle">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Edit OpenCL Blacklist Entry</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|bledittitle">Edit OpenCL Blacklist Entry</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -266,7 +266,7 @@
<object class="GtkLabel" id="bladdtitle">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Create OpenCL Blacklist Entry</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|bladdtitle">Create OpenCL Blacklist Entry</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -277,7 +277,7 @@
<object class="GtkLabel" id="wledittitle">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Edit OpenCL Whitelist Entry</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|wledittitle">Edit OpenCL Whitelist Entry</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -288,7 +288,7 @@
<object class="GtkLabel" id="wladdtitle">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Create OpenCL Whitelist Entry</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|wladdtitle">Create OpenCL Whitelist Entry</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -303,7 +303,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">OpenCL Information</property>
+ <property name="label" translatable="yes" context="blackorwhitelistentrydialog|label1">OpenCL Information</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/borderareatransparencydialog.ui b/cui/uiconfig/ui/borderareatransparencydialog.ui
index a996970ad2b3..a5715ef3fdd7 100644
--- a/cui/uiconfig/ui/borderareatransparencydialog.ui
+++ b/cui/uiconfig/ui/borderareatransparencydialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="BorderAreaTransparencyDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Border / Background</property>
+ <property name="title" translatable="yes" context="borderareatransparencydialog|BorderAreaTransparencyDialog">Border / Background</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -97,7 +97,7 @@
<object class="GtkLabel" id="borders">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Borders</property>
+ <property name="label" translatable="yes" context="borderareatransparencydialog|borders">Borders</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -110,7 +110,7 @@
<object class="GtkLabel" id="area">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Area</property>
+ <property name="label" translatable="yes" context="borderareatransparencydialog|area">Area</property>
</object>
<packing>
<property name="position">1</property>
@@ -124,7 +124,7 @@
<object class="GtkLabel" id="transparence">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Transparency</property>
+ <property name="label" translatable="yes" context="borderareatransparencydialog|transparence">Transparency</property>
</object>
<packing>
<property name="position">2</property>
diff --git a/cui/uiconfig/ui/borderbackgrounddialog.ui b/cui/uiconfig/ui/borderbackgrounddialog.ui
index 4a2ed33258be..99b2fde564ed 100644
--- a/cui/uiconfig/ui/borderbackgrounddialog.ui
+++ b/cui/uiconfig/ui/borderbackgrounddialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="BorderBackgroundDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Border / Background</property>
+ <property name="title" translatable="yes" context="borderbackgrounddialog|BorderBackgroundDialog">Border / Background</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -97,7 +97,7 @@
<object class="GtkLabel" id="borders">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Borders</property>
+ <property name="label" translatable="yes" context="borderbackgrounddialog|borders">Borders</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -110,7 +110,7 @@
<object class="GtkLabel" id="background">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Background</property>
+ <property name="label" translatable="yes" context="borderbackgrounddialog|background">Background</property>
</object>
<packing>
<property name="position">1</property>
diff --git a/cui/uiconfig/ui/borderpage.ui b/cui/uiconfig/ui/borderpage.ui
index a3cb06bb068a..5fbadc551d89 100644
--- a/cui/uiconfig/ui/borderpage.ui
+++ b/cui/uiconfig/ui/borderpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -68,7 +68,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_User-defined:</property>
+ <property name="label" translatable="yes" context="borderpage|userdefft">_User-defined:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">framesel</property>
</object>
@@ -82,7 +82,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Pr_esets:</property>
+ <property name="label" translatable="yes" context="borderpage|label14">Pr_esets:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">presets</property>
</object>
@@ -107,7 +107,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Adjacent Cells:</property>
+ <property name="label" translatable="yes" context="borderpage|rmadjcellbordersft">_Adjacent Cells:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">rmadjcellborders</property>
</object>
@@ -118,7 +118,7 @@
</child>
<child>
<object class="GtkCheckButton" id="rmadjcellborders">
- <property name="label" translatable="yes">Remove border</property>
+ <property name="label" translatable="yes" context="borderpage|rmadjcellborders">Remove border</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -138,7 +138,7 @@
<object class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Line Arrangement</property>
+ <property name="label" translatable="yes" context="borderpage|label8">Line Arrangement</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -172,7 +172,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">St_yle:</property>
+ <property name="label" translatable="yes" context="borderpage|label15">St_yle:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">linestylelb</property>
</object>
@@ -186,7 +186,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Width:</property>
+ <property name="label" translatable="yes" context="borderpage|label16">_Width:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">linewidthmf:0.00pt</property>
</object>
@@ -200,7 +200,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Color:</property>
+ <property name="label" translatable="yes" context="borderpage|label17">_Color:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">linecolorlb</property>
</object>
@@ -250,7 +250,7 @@
<object class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Line</property>
+ <property name="label" translatable="yes" context="borderpage|label9">Line</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -337,7 +337,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Left:</property>
+ <property name="label" translatable="yes" context="borderpage|leftft">_Left:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">leftmf:0.00mm</property>
</object>
@@ -351,7 +351,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Right:</property>
+ <property name="label" translatable="yes" context="borderpage|rightft">Right:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">rightmf:0.00mm</property>
</object>
@@ -365,7 +365,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Top:</property>
+ <property name="label" translatable="yes" context="borderpage|topft">_Top:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">topmf:0.00mm</property>
</object>
@@ -379,7 +379,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Bottom:</property>
+ <property name="label" translatable="yes" context="borderpage|bottomft">_Bottom:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">bottommf:0.00mm</property>
</object>
@@ -390,7 +390,7 @@
</child>
<child>
<object class="GtkCheckButton" id="sync">
- <property name="label" translatable="yes">Synchronize</property>
+ <property name="label" translatable="yes" context="borderpage|sync">Synchronize</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -411,7 +411,7 @@
<object class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Spacing to Contents</property>
+ <property name="label" translatable="yes" context="borderpage|label10">Spacing to Contents</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -454,7 +454,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Position:</property>
+ <property name="label" translatable="yes" context="borderpage|label22">_Position:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">shadows</property>
</object>
@@ -468,7 +468,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Distan_ce:</property>
+ <property name="label" translatable="yes" context="borderpage|distanceft">Distan_ce:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">distancemf:0.00mm</property>
</object>
@@ -482,7 +482,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">C_olor:</property>
+ <property name="label" translatable="yes" context="borderpage|shadowcolorft">C_olor:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">shadowcolorlb</property>
</object>
@@ -534,7 +534,7 @@
<object class="GtkLabel" id="label11">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Shadow Style</property>
+ <property name="label" translatable="yes" context="borderpage|label11">Shadow Style</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -567,7 +567,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkCheckButton" id="mergewithnext">
- <property name="label" translatable="yes">_Merge with next paragraph</property>
+ <property name="label" translatable="yes" context="borderpage|mergewithnext">_Merge with next paragraph</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -582,7 +582,7 @@
</child>
<child>
<object class="GtkCheckButton" id="mergeadjacent">
- <property name="label" translatable="yes">_Merge adjacent line styles</property>
+ <property name="label" translatable="yes" context="borderpage|mergeadjacent">_Merge adjacent line styles</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -603,7 +603,7 @@
<object class="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Properties</property>
+ <property name="label" translatable="yes" context="borderpage|label12">Properties</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/breaknumberoption.ui b/cui/uiconfig/ui/breaknumberoption.ui
index 34a06bfbb17c..2aac625050a3 100644
--- a/cui/uiconfig/ui/breaknumberoption.ui
+++ b/cui/uiconfig/ui/breaknumberoption.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">2</property>
@@ -12,7 +12,7 @@
<object class="GtkDialog" id="BreakNumberOption">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Hyphenation</property>
+ <property name="title" translatable="yes" context="breaknumberoption|BreakNumberOption">Hyphenation</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -94,7 +94,7 @@
<object class="GtkLabel" id="beforelabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Characters Before Break</property>
+ <property name="label" translatable="yes" context="breaknumberoption|beforelabel">Characters Before Break</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -133,7 +133,7 @@
<object class="GtkLabel" id="afterlabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Characters After Break</property>
+ <property name="label" translatable="yes" context="breaknumberoption|afterlabel">Characters After Break</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -172,7 +172,7 @@
<object class="GtkLabel" id="minimallabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Minimal Word Length</property>
+ <property name="label" translatable="yes" context="breaknumberoption|minimallabel">Minimal Word Length</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/calloutdialog.ui b/cui/uiconfig/ui/calloutdialog.ui
index 6208d1c4c296..d01063e819d8 100644
--- a/cui/uiconfig/ui/calloutdialog.ui
+++ b/cui/uiconfig/ui/calloutdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="CalloutDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Position and Size</property>
+ <property name="title" translatable="yes" context="calloutdialog|CalloutDialog">Position and Size</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -97,7 +97,7 @@
<object class="GtkLabel" id="RID_SVXPAGE_POSITION_SIZE">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Position and Size</property>
+ <property name="label" translatable="yes" context="calloutdialog|RID_SVXPAGE_POSITION_SIZE">Position and Size</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -110,7 +110,7 @@
<object class="GtkLabel" id="RID_SVXPAGE_SWPOSSIZE">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Position and Size</property>
+ <property name="label" translatable="yes" context="calloutdialog|RID_SVXPAGE_SWPOSSIZE">Position and Size</property>
</object>
<packing>
<property name="position">1</property>
@@ -124,7 +124,7 @@
<object class="GtkLabel" id="RID_SVXPAGE_CAPTION">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Callout</property>
+ <property name="label" translatable="yes" context="calloutdialog|RID_SVXPAGE_CAPTION">Callout</property>
</object>
<packing>
<property name="position">2</property>
diff --git a/cui/uiconfig/ui/calloutpage.ui b/cui/uiconfig/ui/calloutpage.ui
index 7c2bb8caa260..56f3351ad50b 100644
--- a/cui/uiconfig/ui/calloutpage.ui
+++ b/cui/uiconfig/ui/calloutpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -17,23 +17,23 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Optimal</col>
+ <col id="0" translatable="yes" context="calloutpage|liststore1">Optimal</col>
<col id="1">4</col>
</row>
<row>
- <col id="0" translatable="yes">From top</col>
+ <col id="0" translatable="yes" context="calloutpage|liststore1">From top</col>
<col id="1">3</col>
</row>
<row>
- <col id="0" translatable="yes">From left</col>
+ <col id="0" translatable="yes" context="calloutpage|liststore1">From left</col>
<col id="1">3</col>
</row>
<row>
- <col id="0" translatable="yes">Horizontal</col>
+ <col id="0" translatable="yes" context="calloutpage|liststore1">Horizontal</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">Vertical</col>
+ <col id="0" translatable="yes" context="calloutpage|liststore1">Vertical</col>
<col id="1">2</col>
</row>
</data>
@@ -71,7 +71,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Extension:</property>
+ <property name="label" translatable="yes" context="calloutpage|label2">_Extension:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">extension</property>
</object>
@@ -120,7 +120,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Length:</property>
+ <property name="label" translatable="yes" context="calloutpage|lengthft">_Length:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">length:0.00mm</property>
</object>
@@ -137,7 +137,7 @@
</child>
<child>
<object class="GtkCheckButton" id="optimal">
- <property name="label" translatable="yes">_Optimal</property>
+ <property name="label" translatable="yes" context="calloutpage|optimal">_Optimal</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -161,7 +161,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Position:</property>
+ <property name="label" translatable="yes" context="calloutpage|positionft">_Position:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">position</property>
</object>
@@ -175,7 +175,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_By:</property>
+ <property name="label" translatable="yes" context="calloutpage|byft">_By:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">by:0.00mm</property>
</object>
@@ -189,12 +189,12 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<items>
- <item translatable="yes">Top</item>
- <item translatable="yes">Middle</item>
- <item translatable="yes">Bottom</item>
- <item translatable="yes">Left</item>
- <item translatable="yes">Center</item>
- <item translatable="yes">Right</item>
+ <item translatable="yes" context="calloutpage|position">Top</item>
+ <item translatable="yes" context="calloutpage|position">Middle</item>
+ <item translatable="yes" context="calloutpage|position">Bottom</item>
+ <item translatable="yes" context="calloutpage|position">Left</item>
+ <item translatable="yes" context="calloutpage|position">Center</item>
+ <item translatable="yes" context="calloutpage|position">Right</item>
</items>
</object>
<packing>
@@ -231,7 +231,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Spacing:</property>
+ <property name="label" translatable="yes" context="calloutpage|label1">_Spacing:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spacing:0.00mm</property>
</object>
@@ -309,9 +309,9 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<items>
- <item translatable="yes">Straight Line</item>
- <item translatable="yes">Angled Line</item>
- <item translatable="yes">Angled Connector Line</item>
+ <item translatable="yes" context="calloutpage|linetypes">Straight Line</item>
+ <item translatable="yes" context="calloutpage|linetypes">Angled Line</item>
+ <item translatable="yes" context="calloutpage|linetypes">Angled Connector Line</item>
</items>
</object>
<packing>
diff --git a/cui/uiconfig/ui/cellalignment.ui b/cui/uiconfig/ui/cellalignment.ui
index d5e8b7388018..581523076bd7 100644
--- a/cui/uiconfig/ui/cellalignment.ui
+++ b/cui/uiconfig/ui/cellalignment.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustmentIndent">
@@ -21,31 +21,31 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Default</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreHorzAlign">Default</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">Left</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreHorzAlign">Left</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">Center</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreHorzAlign">Center</col>
<col id="1">2</col>
</row>
<row>
- <col id="0" translatable="yes">Right</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreHorzAlign">Right</col>
<col id="1">3</col>
</row>
<row>
- <col id="0" translatable="yes">Justified</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreHorzAlign">Justified</col>
<col id="1">4</col>
</row>
<row>
- <col id="0" translatable="yes">Filled</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreHorzAlign">Filled</col>
<col id="1">5</col>
</row>
<row>
- <col id="0" translatable="yes">Distributed</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreHorzAlign">Distributed</col>
<col id="1">6</col>
</row>
</data>
@@ -59,27 +59,27 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Default</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreVertAlign">Default</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">Top</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreVertAlign">Top</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">Middle</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreVertAlign">Middle</col>
<col id="1">2</col>
</row>
<row>
- <col id="0" translatable="yes">Bottom</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreVertAlign">Bottom</col>
<col id="1">3</col>
</row>
<row>
- <col id="0" translatable="yes">Justified</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreVertAlign">Justified</col>
<col id="1">4</col>
</row>
<row>
- <col id="0" translatable="yes">Distributed</col>
+ <col id="0" translatable="yes" context="cellalignment|liststoreVertAlign">Distributed</col>
<col id="1">5</col>
</row>
</data>
@@ -120,7 +120,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Degrees:</property>
+ <property name="label" translatable="yes" context="cellalignment|labelDegrees">_Degrees:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -133,7 +133,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Reference edge:</property>
+ <property name="label" translatable="yes" context="cellalignment|labelRefEdge">_Reference edge:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">references</property>
</object>
@@ -193,7 +193,7 @@
<property name="row_spacing">6</property>
<child>
<object class="GtkCheckButton" id="checkVertStack">
- <property name="label" translatable="yes">Vertically s_tacked</property>
+ <property name="label" translatable="yes" context="cellalignment|checkVertStack">Vertically s_tacked</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -209,7 +209,7 @@
</child>
<child>
<object class="GtkCheckButton" id="checkAsianMode">
- <property name="label" translatable="yes">Asian layout _mode</property>
+ <property name="label" translatable="yes" context="cellalignment|checkAsianMode">Asian layout _mode</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -238,7 +238,7 @@
<object class="GtkLabel" id="labelTextOrient">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Text Orientation</property>
+ <property name="label" translatable="yes" context="cellalignment|labelTextOrient">Text Orientation</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -272,7 +272,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkCheckButton" id="checkWrapTextAuto">
- <property name="label" translatable="yes">_Wrap text automatically</property>
+ <property name="label" translatable="yes" context="cellalignment|checkWrapTextAuto">_Wrap text automatically</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -289,7 +289,7 @@
</child>
<child>
<object class="GtkCheckButton" id="checkShrinkFitCellSize">
- <property name="label" translatable="yes">_Shrink to fit cell size</property>
+ <property name="label" translatable="yes" context="cellalignment|checkShrinkFitCellSize">_Shrink to fit cell size</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="GtkCheckButton" id="checkHyphActive">
- <property name="label" translatable="yes">Hyphenation _active</property>
+ <property name="label" translatable="yes" context="cellalignment|checkHyphActive">Hyphenation _active</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -331,7 +331,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Te_xt direction:</property>
+ <property name="label" translatable="yes" context="cellalignment|LabelTxtDir">Te_xt direction:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">comboTextDirBox</property>
</object>
@@ -366,7 +366,7 @@
<object class="GtkLabel" id="labelProperties">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Properties</property>
+ <property name="label" translatable="yes" context="cellalignment|labelProperties">Properties</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -415,7 +415,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Hori_zontal</property>
+ <property name="label" translatable="yes" context="cellalignment|labelHorzAlign">Hori_zontal</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">comboboxHorzAlign</property>
</object>
@@ -429,7 +429,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Vertical</property>
+ <property name="label" translatable="yes" context="cellalignment|labelVertAlign">_Vertical</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">comboboxVertAlign</property>
</object>
@@ -443,7 +443,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">I_ndent</property>
+ <property name="label" translatable="yes" context="cellalignment|labelIndent">I_ndent</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spinIndentFrom:0.00pt</property>
</object>
@@ -484,7 +484,7 @@
<object class="GtkLabel" id="LabelTextAlig">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Text Alignment</property>
+ <property name="label" translatable="yes" context="cellalignment|LabelTextAlig">Text Alignment</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -504,7 +504,7 @@
<child>
<object class="GtkLabel" id="labelSTR_BOTTOMLOCK">
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Text Extension From Lower Cell Border</property>
+ <property name="label" translatable="yes" context="cellalignment|labelSTR_BOTTOMLOCK">Text Extension From Lower Cell Border</property>
</object>
<packing>
<property name="expand">False</property>
@@ -515,7 +515,7 @@
<child>
<object class="GtkLabel" id="labelSTR_TOPLOCK">
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Text Extension From Upper Cell Border</property>
+ <property name="label" translatable="yes" context="cellalignment|labelSTR_TOPLOCK">Text Extension From Upper Cell Border</property>
</object>
<packing>
<property name="expand">False</property>
@@ -526,7 +526,7 @@
<child>
<object class="GtkLabel" id="labelSTR_CELLLOCK">
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Text Extension Inside Cell</property>
+ <property name="label" translatable="yes" context="cellalignment|labelSTR_CELLLOCK">Text Extension Inside Cell</property>
</object>
<packing>
<property name="expand">False</property>
@@ -537,7 +537,7 @@
<child>
<object class="GtkLabel" id="labelABCD">
<property name="can_focus">False</property>
- <property name="label" translatable="yes">ABCD</property>
+ <property name="label" translatable="yes" context="cellalignment|labelABCD">ABCD</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/cui/uiconfig/ui/certdialog.ui b/cui/uiconfig/ui/certdialog.ui
index b8c2ec6a0f70..7cbc1c428ce9 100644
--- a/cui/uiconfig/ui/certdialog.ui
+++ b/cui/uiconfig/ui/certdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkDialog" id="CertDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Certificate Path</property>
+ <property name="title" translatable="yes" context="certdialog|CertDialog">Certificate Path</property>
<property name="type_hint">normal</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -63,7 +63,7 @@
</child>
<child>
<object class="GtkButton" id="add">
- <property name="label" translatable="yes">_Add...</property>
+ <property name="label" translatable="yes" context="certdialog|add">_Add...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -115,7 +115,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <property name="label" translatable="yes">Select or add the correct Network Security Services Certificate directory to use for digital signatures:</property>
+ <property name="label" translatable="yes" context="certdialog|label2">Select or add the correct Network Security Services Certificate directory to use for digital signatures:</property>
<property name="use_underline">True</property>
<property name="wrap">True</property>
<property name="mnemonic_widget">paths</property>
@@ -137,7 +137,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">manual</property>
+ <property name="label" translatable="yes" context="certdialog|manual">manual</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -151,7 +151,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Profile</property>
+ <property name="label" translatable="yes" context="certdialog|profile">Profile</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -165,7 +165,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Directory</property>
+ <property name="label" translatable="yes" context="certdialog|dir">Directory</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -178,7 +178,7 @@
<object class="GtkLabel" id="certdir">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Select a Certificate directory</property>
+ <property name="label" translatable="yes" context="certdialog|certdir">Select a Certificate directory</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -221,7 +221,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Certificate Path</property>
+ <property name="label" translatable="yes" context="certdialog|label1">Certificate Path</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/charnamepage.ui b/cui/uiconfig/ui/charnamepage.ui
index 88e63b8180c7..83041dcf7fca 100644
--- a/cui/uiconfig/ui/charnamepage.ui
+++ b/cui/uiconfig/ui/charnamepage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkBox" id="CharNamePage">
@@ -43,7 +43,7 @@
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Language:</property>
+ <property name="label" translatable="yes" context="charnamepage|westlangft-nocjk">Language:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">westlanglb-nocjk</property>
</object>
@@ -103,7 +103,7 @@
<object class="GtkLabel" id="westfontnameft-nocjk">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Family:</property>
+ <property name="label" translatable="yes" context="charnamepage|westfontnameft-nocjk">Family:</property>
</object>
</child>
</object>
@@ -142,7 +142,7 @@
<object class="GtkLabel" id="weststyleft-nocjk">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Style:</property>
+ <property name="label" translatable="yes" context="charnamepage|weststyleft-nocjk">Style:</property>
</object>
</child>
</object>
@@ -182,7 +182,7 @@
<object class="GtkLabel" id="westsizeft-nocjk">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Size:</property>
+ <property name="label" translatable="yes" context="charnamepage|westsizeft-nocjk">Size:</property>
</object>
</child>
</object>
@@ -224,7 +224,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Family:</property>
+ <property name="label" translatable="yes" context="charnamepage|westfontnameft-cjk">Family:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">westfontnamelb-cjk</property>
</object>
@@ -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">Style:</property>
+ <property name="label" translatable="yes" context="charnamepage|weststyleft-cjk">Style:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">weststylelb-cjk</property>
</object>
@@ -254,7 +254,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Size:</property>
+ <property name="label" translatable="yes" context="charnamepage|westsizeft-cjk">Size:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">westsizelb-cjk</property>
</object>
@@ -269,7 +269,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Language:</property>
+ <property name="label" translatable="yes" context="charnamepage|westlangft-cjk">Language:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">westlanglb-cjk</property>
</object>
@@ -343,7 +343,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Western Text Font</property>
+ <property name="label" translatable="yes" context="charnamepage|label4">Western Text Font</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -382,7 +382,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Family:</property>
+ <property name="label" translatable="yes" context="charnamepage|eastfontnameft">Family:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">eastfontnamelb</property>
</object>
@@ -397,7 +397,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Style:</property>
+ <property name="label" translatable="yes" context="charnamepage|eaststyleft">Style:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">eaststylelb</property>
</object>
@@ -412,7 +412,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Size:</property>
+ <property name="label" translatable="yes" context="charnamepage|eastsizeft">Size:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">eastsizelb</property>
</object>
@@ -427,7 +427,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Language:</property>
+ <property name="label" translatable="yes" context="charnamepage|eastlangft">Language:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">eastlanglb</property>
</object>
@@ -500,7 +500,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Asian Text Font</property>
+ <property name="label" translatable="yes" context="charnamepage|label5">Asian Text Font</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -539,7 +539,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Family:</property>
+ <property name="label" translatable="yes" context="charnamepage|ctlfontnameft">Family:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">ctlfontnamelb</property>
</object>
@@ -554,7 +554,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Style:</property>
+ <property name="label" translatable="yes" context="charnamepage|ctlstyleft">Style:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">ctlstylelb</property>
</object>
@@ -569,7 +569,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Size:</property>
+ <property name="label" translatable="yes" context="charnamepage|ctlsizeft">Size:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">ctlsizelb</property>
</object>
@@ -584,7 +584,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Language:</property>
+ <property name="label" translatable="yes" context="charnamepage|ctllangft">Language:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">ctllanglb</property>
</object>
@@ -658,7 +658,7 @@
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">CTL Font</property>
+ <property name="label" translatable="yes" context="charnamepage|label6">CTL Font</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -685,7 +685,7 @@
<property name="can_focus">False</property>
<child internal-child="accessible">
<object class="AtkObject" id="preview:border-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Preview</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="charnamepage|preview-atkobject">Preview</property>
</object>
</child>
</object>
diff --git a/cui/uiconfig/ui/colorconfigwin.ui b/cui/uiconfig/ui/colorconfigwin.ui
index 6c8dd3f6aedb..dbcbb89dbeb0 100644
--- a/cui/uiconfig/ui/colorconfigwin.ui
+++ b/cui/uiconfig/ui/colorconfigwin.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkGrid" id="ColorConfigWindow">
@@ -11,7 +11,7 @@
<property name="row_homogeneous">True</property>
<child>
<object class="GtkCheckButton" id="docboundaries">
- <property name="label" translatable="yes">Text boundaries</property>
+ <property name="label" translatable="yes" context="colorconfigwin|docboundaries">Text boundaries</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -30,7 +30,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Document background</property>
+ <property name="label" translatable="yes" context="colorconfigwin|doccolor">Document background</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">General</property>
+ <property name="label" translatable="yes" context="colorconfigwin|general">General</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -125,7 +125,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Application background</property>
+ <property name="label" translatable="yes" context="colorconfigwin|appback">Application background</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -134,7 +134,7 @@
</child>
<child>
<object class="GtkCheckButton" id="objboundaries">
- <property name="label" translatable="yes">Object boundaries</property>
+ <property name="label" translatable="yes" context="colorconfigwin|objboundaries">Object boundaries</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -171,7 +171,7 @@
</child>
<child>
<object class="GtkCheckButton" id="tblboundaries">
- <property name="label" translatable="yes">Table boundaries</property>
+ <property name="label" translatable="yes" context="colorconfigwin|tblboundaries">Table boundaries</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -212,7 +212,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Font color</property>
+ <property name="label" translatable="yes" context="colorconfigwin|font">Font color</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -243,7 +243,7 @@
</child>
<child>
<object class="GtkCheckButton" id="unvisitedlinks">
- <property name="label" translatable="yes">Unvisited links</property>
+ <property name="label" translatable="yes" context="colorconfigwin|unvisitedlinks">Unvisited links</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -280,7 +280,7 @@
</child>
<child>
<object class="GtkCheckButton" id="visitedlinks">
- <property name="label" translatable="yes">Visited links</property>
+ <property name="label" translatable="yes" context="colorconfigwin|visitedlinks">Visited links</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -321,7 +321,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">AutoSpellcheck</property>
+ <property name="label" translatable="yes" context="colorconfigwin|autospellcheck">AutoSpellcheck</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -334,7 +334,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Smart Tags</property>
+ <property name="label" translatable="yes" context="colorconfigwin|smarttags">Smart Tags</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -388,7 +388,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Text Document</property>
+ <property name="label" translatable="yes" context="colorconfigwin|writer">Text Document</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -415,7 +415,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Grid</property>
+ <property name="label" translatable="yes" context="colorconfigwin|writergrid">Grid</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -494,7 +494,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Script Indicator</property>
+ <property name="label" translatable="yes" context="colorconfigwin|script">Script Indicator</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -515,7 +515,7 @@
</child>
<child>
<object class="GtkCheckButton" id="field">
- <property name="label" translatable="yes">Field shadings</property>
+ <property name="label" translatable="yes" context="colorconfigwin|field">Field shadings</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -530,7 +530,7 @@
</child>
<child>
<object class="GtkCheckButton" id="index">
- <property name="label" translatable="yes">Index and table shadings</property>
+ <property name="label" translatable="yes" context="colorconfigwin|index">Index and table shadings</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -545,7 +545,7 @@
</child>
<child>
<object class="GtkCheckButton" id="section">
- <property name="label" translatable="yes">Section boundaries</property>
+ <property name="label" translatable="yes" context="colorconfigwin|section">Section boundaries</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -596,7 +596,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Headers and Footer delimiter</property>
+ <property name="label" translatable="yes" context="colorconfigwin|hdft">Headers and Footer delimiter</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -631,7 +631,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Page and column breaks</property>
+ <property name="label" translatable="yes" context="colorconfigwin|pagebreak">Page and column breaks</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -666,7 +666,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Direct Cursor</property>
+ <property name="label" translatable="yes" context="colorconfigwin|direct">Direct Cursor</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -690,7 +690,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">HTML Document</property>
+ <property name="label" translatable="yes" context="colorconfigwin|html">HTML Document</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -717,7 +717,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">SGML syntax highlighting</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sgml">SGML syntax highlighting</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -752,7 +752,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Comment highlighting</property>
+ <property name="label" translatable="yes" context="colorconfigwin|htmlcomment">Comment highlighting</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -787,7 +787,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Keyword highlighting</property>
+ <property name="label" translatable="yes" context="colorconfigwin|htmlkeyword">Keyword highlighting</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -822,7 +822,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Text</property>
+ <property name="label" translatable="yes" context="colorconfigwin|unknown">Text</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -846,7 +846,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Spreadsheet</property>
+ <property name="label" translatable="yes" context="colorconfigwin|calc">Spreadsheet</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -873,7 +873,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Grid lines</property>
+ <property name="label" translatable="yes" context="colorconfigwin|calcgrid">Grid lines</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -908,7 +908,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Page breaks</property>
+ <property name="label" translatable="yes" context="colorconfigwin|brk">Page breaks</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -943,7 +943,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Manual page breaks</property>
+ <property name="label" translatable="yes" context="colorconfigwin|brkmanual">Manual page breaks</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -978,7 +978,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Automatic page breaks</property>
+ <property name="label" translatable="yes" context="colorconfigwin|brkauto">Automatic page breaks</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1013,7 +1013,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Detective</property>
+ <property name="label" translatable="yes" context="colorconfigwin|det">Detective</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1048,7 +1048,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Detective error</property>
+ <property name="label" translatable="yes" context="colorconfigwin|deterror">Detective error</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1083,7 +1083,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">References</property>
+ <property name="label" translatable="yes" context="colorconfigwin|ref">References</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1118,7 +1118,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Notes background</property>
+ <property name="label" translatable="yes" context="colorconfigwin|notes">Notes background</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1142,7 +1142,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Drawing / Presentation</property>
+ <property name="label" translatable="yes" context="colorconfigwin|draw">Drawing / Presentation</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -1169,7 +1169,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Grid</property>
+ <property name="label" translatable="yes" context="colorconfigwin|drawgrid">Grid</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1193,7 +1193,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Basic Syntax Highlighting</property>
+ <property name="label" translatable="yes" context="colorconfigwin|basic">Basic Syntax Highlighting</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -1220,7 +1220,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Identifier</property>
+ <property name="label" translatable="yes" context="colorconfigwin|basicid">Identifier</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1255,7 +1255,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Comment</property>
+ <property name="label" translatable="yes" context="colorconfigwin|basiccomment">Comment</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1290,7 +1290,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Number</property>
+ <property name="label" translatable="yes" context="colorconfigwin|basicnumber">Number</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1325,7 +1325,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">String</property>
+ <property name="label" translatable="yes" context="colorconfigwin|basicstring">String</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1360,7 +1360,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Operator</property>
+ <property name="label" translatable="yes" context="colorconfigwin|basicop">Operator</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1395,7 +1395,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Reserved expression</property>
+ <property name="label" translatable="yes" context="colorconfigwin|basickeyword">Reserved expression</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1430,7 +1430,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Error</property>
+ <property name="label" translatable="yes" context="colorconfigwin|error">Error</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1454,7 +1454,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">SQL Syntax Highlighting</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sql">SQL Syntax Highlighting</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -1481,7 +1481,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Identifier</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sqlid">Identifier</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1516,7 +1516,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Number</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sqlnumber">Number</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1551,7 +1551,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">String</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sqlstring">String</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1586,7 +1586,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Operator</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sqlop">Operator</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1621,7 +1621,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Keyword</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sqlkeyword">Keyword</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1656,7 +1656,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Parameter</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sqlparam">Parameter</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1691,7 +1691,7 @@
<property name="can_focus">False</property>
<property name="margin_left">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Comment</property>
+ <property name="label" translatable="yes" context="colorconfigwin|sqlcomment">Comment</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1736,7 +1736,7 @@
</child>
<child>
<object class="GtkCheckButton" id="shadows">
- <property name="label" translatable="yes">Shadows</property>
+ <property name="label" translatable="yes" context="colorconfigwin|shadows">Shadows</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
diff --git a/cui/uiconfig/ui/colorpage.ui b/cui/uiconfig/ui/colorpage.ui
index e0810b887ca3..b8b77731ec11 100644
--- a/cui/uiconfig/ui/colorpage.ui
+++ b/cui/uiconfig/ui/colorpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkAdjustment" id="adjustment1">
@@ -57,7 +57,7 @@
<property name="valign">center</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <property name="label" translatable="yes">Palette:</property>
+ <property name="label" translatable="yes" context="colorpage|label21">Palette:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">paletteselector</property>
</object>
@@ -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">Recent Colors</property>
+ <property name="label" translatable="yes" context="colorpage|label20">Recent Colors</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">recentcolorset</property>
</object>
@@ -153,7 +153,7 @@
</child>
<child>
<object class="GtkRadioButton" id="RGB">
- <property name="label" translatable="yes">RGB</property>
+ <property name="label" translatable="yes" context="colorpage|RGB">RGB</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
@@ -169,7 +169,7 @@
</child>
<child>
<object class="GtkRadioButton" id="CMYK">
- <property name="label" translatable="yes">CMYK</property>
+ <property name="label" translatable="yes" context="colorpage|CMYK">CMYK</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
@@ -185,7 +185,7 @@
</child>
<child>
<object class="GtkButton" id="delete">
- <property name="label" translatable="yes">Delete</property>
+ <property name="label" translatable="yes" context="colorpage|delete">Delete</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -203,7 +203,7 @@
<property name="can_focus">False</property>
<property name="margin_bottom">3</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Custom Palette</property>
+ <property name="label" translatable="yes" context="colorpage|label22">Custom Palette</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -255,7 +255,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Colors</property>
+ <property name="label" translatable="yes" context="colorpage|label1">Colors</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -300,7 +300,7 @@
<property name="vexpand">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="oldpreview-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Old Color</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="colorpage|oldpreview-atkobject">Old Color</property>
</object>
</child>
</object>
@@ -330,7 +330,7 @@
<object class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">B</property>
+ <property name="label" translatable="yes" context="colorpage|label7">B</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">B_custom</property>
</object>
@@ -345,7 +345,7 @@
<object class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">G</property>
+ <property name="label" translatable="yes" context="colorpage|label8">G</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">G_custom</property>
</object>
@@ -360,7 +360,7 @@
<object class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">R</property>
+ <property name="label" translatable="yes" context="colorpage|label9">R</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">R_custom</property>
</object>
@@ -375,7 +375,7 @@
<object class="GtkLabel" id="label18">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Hex</property>
+ <property name="label" translatable="yes" context="colorpage|label18">Hex</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -455,7 +455,7 @@
<object class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_C</property>
+ <property name="label" translatable="yes" context="colorpage|label10">_C</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">C_custom:0%</property>
</object>
@@ -470,7 +470,7 @@
<object class="GtkLabel" id="label16">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_K</property>
+ <property name="label" translatable="yes" context="colorpage|label16">_K</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">K_custom:0%</property>
</object>
@@ -485,7 +485,7 @@
<object class="GtkLabel" id="label17">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Y</property>
+ <property name="label" translatable="yes" context="colorpage|label17">_Y</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -551,7 +551,7 @@
<object class="GtkLabel" id="label15">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_M</property>
+ <property name="label" translatable="yes" context="colorpage|label15">_M</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -576,7 +576,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Active</property>
+ <property name="label" translatable="yes" context="colorpage|label5">Active</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -622,7 +622,7 @@
<property name="vexpand">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="newpreview-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">New Color</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="colorpage|newpreview-atkobject">New Color</property>
</object>
</child>
</object>
@@ -653,7 +653,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">•</property>
- <property name="primary_icon_tooltip_text" translatable="yes">Blue</property>
+ <property name="primary_icon_tooltip_text" translatable="yes" context="colorpage|B_custom">Blue</property>
<property name="adjustment">adjustment2</property>
</object>
<packing>
@@ -668,7 +668,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">•</property>
- <property name="primary_icon_tooltip_text" translatable="yes">Red</property>
+ <property name="primary_icon_tooltip_text" translatable="yes" context="colorpage|R_custom">Red</property>
<property name="adjustment">adjustment2</property>
</object>
<packing>
@@ -682,7 +682,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_B</property>
+ <property name="label" translatable="yes" context="colorpage|label4">_B</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -696,7 +696,7 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_G</property>
+ <property name="label" translatable="yes" context="colorpage|label3">_G</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -710,7 +710,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_R</property>
+ <property name="label" translatable="yes" context="colorpage|label2">_R</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -725,7 +725,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">•</property>
- <property name="primary_icon_tooltip_text" translatable="yes">Green</property>
+ <property name="primary_icon_tooltip_text" translatable="yes" context="colorpage|G_custom">Green</property>
<property name="adjustment">adjustment2</property>
</object>
<packing>
@@ -739,7 +739,7 @@
<object class="GtkLabel" id="label19">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Hex</property>
+ <property name="label" translatable="yes" context="colorpage|label19">_Hex</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">hex_custom</property>
</object>
@@ -783,7 +783,7 @@
<object class="GtkLabel" id="label11">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_C</property>
+ <property name="label" translatable="yes" context="colorpage|label11">_C</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">C_custom:0%</property>
</object>
@@ -798,7 +798,7 @@
<object class="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_M</property>
+ <property name="label" translatable="yes" context="colorpage|label12">_M</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -812,7 +812,7 @@
<object class="GtkLabel" id="label13">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_K</property>
+ <property name="label" translatable="yes" context="colorpage|label13">_K</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">K_custom:0%</property>
</object>
@@ -855,7 +855,7 @@
<object class="GtkLabel" id="label14">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Y</property>
+ <property name="label" translatable="yes" context="colorpage|label14">_Y</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -902,7 +902,7 @@
</child>
<child>
<object class="GtkButton" id="edit">
- <property name="label" translatable="yes">Pick</property>
+ <property name="label" translatable="yes" context="colorpage|edit">Pick</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -924,7 +924,7 @@
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">New</property>
+ <property name="label" translatable="yes" context="colorpage|label6">New</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/colorpickerdialog.ui b/cui/uiconfig/ui/colorpickerdialog.ui
index cbc5c66fced9..b850cb7274b1 100644
--- a/cui/uiconfig/ui/colorpickerdialog.ui
+++ b/cui/uiconfig/ui/colorpickerdialog.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -23,7 +23,7 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Pick a Color</property>
+ <property name="title" translatable="yes" context="colorpickerdialog|ColorPicker">Pick a Color</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
@@ -241,7 +241,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkRadioButton" id="redRadiobutton">
- <property name="label" translatable="yes">_Red:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|redRadiobutton">_Red:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -259,7 +259,7 @@
</child>
<child>
<object class="GtkRadioButton" id="greenRadiobutton">
- <property name="label" translatable="yes">_Green:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|greenRadiobutton">_Green:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -276,7 +276,7 @@
</child>
<child>
<object class="GtkRadioButton" id="blueRadiobutton">
- <property name="label" translatable="yes">_Blue:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|blueRadiobutton">_Blue:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -332,7 +332,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Hex _#:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label2">Hex _#:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">hexEntry</property>
</object>
@@ -360,7 +360,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">RGB</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label1">RGB</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -399,7 +399,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkRadioButton" id="hueRadiobutton">
- <property name="label" translatable="yes">H_ue:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|hueRadiobutton">H_ue:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -417,7 +417,7 @@
</child>
<child>
<object class="GtkRadioButton" id="satRadiobutton">
- <property name="label" translatable="yes">_Saturation:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|satRadiobutton">_Saturation:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -434,7 +434,7 @@
</child>
<child>
<object class="GtkRadioButton" id="brightRadiobutton">
- <property name="label" translatable="yes">Bright_ness:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|brightRadiobutton">Bright_ness:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -493,7 +493,7 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">HSB</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label3">HSB</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -534,7 +534,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Cyan:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label5">_Cyan:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">cyanSpinbutton:%</property>
</object>
@@ -549,7 +549,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Magenta:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label6">_Magenta:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">magSpinbutton:%</property>
</object>
@@ -564,7 +564,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Yellow:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label7">_Yellow:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">yellowSpinbutton:%</property>
</object>
@@ -579,7 +579,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Key:</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label8">_Key:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">keySpinbutton:%</property>
</object>
@@ -644,7 +644,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">CMYK</property>
+ <property name="label" translatable="yes" context="colorpickerdialog|label4">CMYK</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/comment.ui b/cui/uiconfig/ui/comment.ui
index f25f37f76812..286b2b3308d8 100644
--- a/cui/uiconfig/ui/comment.ui
+++ b/cui/uiconfig/ui/comment.ui
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="cui">
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkDialog" id="CommentDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Insert Comment</property>
+ <property name="title" translatable="yes" context="comment|CommentDialog">Insert Comment</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -150,7 +150,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Author</property>
+ <property name="label" translatable="yes" context="comment|label2">Author</property>
</object>
<packing>
<property name="expand">False</property>
@@ -182,7 +182,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Text</property>
+ <property name="label" translatable="yes" context="comment|label4">_Text</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">edit:border</property>
</object>
@@ -225,7 +225,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Insert</property>
+ <property name="label" translatable="yes" context="comment|label5">_Insert</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">author</property>
</object>
@@ -238,7 +238,7 @@
</child>
<child>
<object class="GtkButton" id="author">
- <property name="label" translatable="yes">Author</property>
+ <property name="label" translatable="yes" context="comment|author">Author</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -261,7 +261,7 @@
<object class="GtkLabel" id="alttitle">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Edit Comment</property>
+ <property name="label" translatable="yes" context="comment|alttitle">Edit Comment</property>
</object>
<packing>
<property name="expand">False</property>
@@ -277,7 +277,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Contents</property>
+ <property name="label" translatable="yes" context="comment|label1">Contents</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/connectortabpage.ui b/cui/uiconfig/ui/connectortabpage.ui
index 9a3947c9e4fc..c91a899c1ff2 100644
--- a/cui/uiconfig/ui/connectortabpage.ui
+++ b/cui/uiconfig/ui/connectortabpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -31,7 +31,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Type:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_TYPE">_Type:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">LB_TYPE</property>
</object>
@@ -82,7 +82,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Line _1:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_LINE_1">Line _1:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_LINE_1:0.00cm</property>
</object>
@@ -96,7 +96,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Line _2:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_LINE_2">Line _2:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_LINE_2:0.00cm</property>
</object>
@@ -110,7 +110,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Line _3:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_LINE_3">Line _3:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_LINE_3:0.00cm</property>
</object>
@@ -167,7 +167,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Line Skew</property>
+ <property name="label" translatable="yes" context="connectortabpage|label2">Line Skew</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -203,7 +203,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Begin horizontal:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_HORZ_1">_Begin horizontal:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_HORZ_1:0.00mm</property>
</object>
@@ -217,7 +217,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">End _horizontal:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_HORZ_2">End _horizontal:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_HORZ_2:0.00mm</property>
</object>
@@ -231,7 +231,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Begin _vertical:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_VERT_1">Begin _vertical:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_VERT_1:0.00mm</property>
</object>
@@ -245,7 +245,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_End vertical:</property>
+ <property name="label" translatable="yes" context="connectortabpage|FT_VERT_2">_End vertical:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_VERT_2:0.00mm</property>
</object>
@@ -315,7 +315,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Line Spacing</property>
+ <property name="label" translatable="yes" context="connectortabpage|label3">Line Spacing</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -339,12 +339,12 @@
<object class="svxlo-SvxXConnectionPreview" id="CTL_PREVIEW:border">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="tooltip_text" translatable="yes">Preview</property>
+ <property name="tooltip_text" translatable="yes" context="connectortabpage|CTL_PREVIEW|tooltip_text">Preview</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="CTL_PREVIEW:border-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Example</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="connectortabpage|CTL_PREVIEW-atkobject">Example</property>
</object>
</child>
</object>
diff --git a/cui/uiconfig/ui/connpooloptions.ui b/cui/uiconfig/ui/connpooloptions.ui
index d8a2d33c985b..fab025fde0e0 100644
--- a/cui/uiconfig/ui/connpooloptions.ui
+++ b/cui/uiconfig/ui/connpooloptions.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkGrid" id="ConnPoolPage">
@@ -36,7 +36,7 @@
<property name="row_spacing">6</property>
<child>
<object class="GtkCheckButton" id="connectionpooling">
- <property name="label" translatable="yes">Connection pooling enabled</property>
+ <property name="label" translatable="yes" context="connpooloptions|connectionpooling">Connection pooling enabled</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -65,7 +65,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Drivers known in %PRODUCTNAME</property>
+ <property name="label" translatable="yes" context="connpooloptions|driverslabel">Drivers known in %PRODUCTNAME</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">driverlist</property>
</object>
@@ -99,7 +99,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Current driver:</property>
+ <property name="label" translatable="yes" context="connpooloptions|driverlabel">Current driver:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -130,7 +130,7 @@
</child>
<child>
<object class="GtkCheckButton" id="enablepooling">
- <property name="label" translatable="yes">Enable pooling for this driver</property>
+ <property name="label" translatable="yes" context="connpooloptions|enablepooling">Enable pooling for this driver</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -156,7 +156,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Timeout (seconds)</property>
+ <property name="label" translatable="yes" context="connpooloptions|timeoutlabel">_Timeout (seconds)</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">timeout</property>
</object>
@@ -205,7 +205,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Connection Pool</property>
+ <property name="label" translatable="yes" context="connpooloptions|label1">Connection Pool</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/croppage.ui b/cui/uiconfig/ui/croppage.ui
index 4fa005a97f74..a45ed6d41bbe 100644
--- a/cui/uiconfig/ui/croppage.ui
+++ b/cui/uiconfig/ui/croppage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -50,7 +50,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkRadioButton" id="keepscale">
- <property name="label" translatable="yes">Keep _scale</property>
+ <property name="label" translatable="yes" context="croppage|keepscale">Keep _scale</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -68,7 +68,7 @@
</child>
<child>
<object class="GtkRadioButton" id="keepsize">
- <property name="label" translatable="yes">Keep image si_ze</property>
+ <property name="label" translatable="yes" context="croppage|keepsize">Keep image si_ze</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -94,7 +94,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Left:</property>
+ <property name="label" translatable="yes" context="croppage|label2">_Left:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">left:0.00cm</property>
</object>
@@ -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">_Right:</property>
+ <property name="label" translatable="yes" context="croppage|label3">_Right:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">right:0.00cm</property>
</object>
@@ -160,7 +160,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Top:</property>
+ <property name="label" translatable="yes" context="croppage|label4">_Top:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">top:0.00cm</property>
</object>
@@ -174,7 +174,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Bottom:</property>
+ <property name="label" translatable="yes" context="croppage|label5">_Bottom:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">bottom:0.00cm</property>
</object>
@@ -223,7 +223,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Crop</property>
+ <property name="label" translatable="yes" context="croppage|label1">Crop</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -258,7 +258,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Width:</property>
+ <property name="label" translatable="yes" context="croppage|label6">_Width:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">widthzoom:0%</property>
</object>
@@ -284,7 +284,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Height:</property>
+ <property name="label" translatable="yes" context="croppage|label7">_Height:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">heightzoom:0%</property>
</object>
@@ -313,7 +313,7 @@
<object class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Scale</property>
+ <property name="label" translatable="yes" context="croppage|label10">Scale</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -348,7 +348,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Width:</property>
+ <property name="label" translatable="yes" context="croppage|label8">_Width:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">width:0.00cm</property>
</object>
@@ -375,7 +375,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Height:</property>
+ <property name="label" translatable="yes" context="croppage|label9">_Height:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">height:0.00cm</property>
</object>
@@ -405,7 +405,7 @@
<object class="GtkLabel" id="label11">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Image Size</property>
+ <property name="label" translatable="yes" context="croppage|label11">Image Size</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -457,7 +457,7 @@
</child>
<child>
<object class="GtkButton" id="origsize">
- <property name="label" translatable="yes">_Original Size</property>
+ <property name="label" translatable="yes" context="croppage|origsize">_Original Size</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/cui/uiconfig/ui/cuiimapdlg.ui b/cui/uiconfig/ui/cuiimapdlg.ui
index 355db5bb8759..c9b18c4c2016 100644
--- a/cui/uiconfig/ui/cuiimapdlg.ui
+++ b/cui/uiconfig/ui/cuiimapdlg.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="IMapDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Properties</property>
+ <property name="title" translatable="yes" context="cuiimapdlg|IMapDialog">Properties</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -93,7 +93,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_URL:</property>
+ <property name="label" translatable="yes" context="cuiimapdlg|label1">_URL:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">urlentry</property>
</object>
@@ -135,7 +135,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">F_rame:</property>
+ <property name="label" translatable="yes" context="cuiimapdlg|label2">F_rame:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">frameCB</property>
</object>
@@ -183,7 +183,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Name:</property>
+ <property name="label" translatable="yes" context="cuiimapdlg|label3">_Name:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">nameentry</property>
</object>
@@ -225,7 +225,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Alternative _text:</property>
+ <property name="label" translatable="yes" context="cuiimapdlg|label4">Alternative _text:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">textentry</property>
</object>
@@ -267,7 +267,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Description:</property>
+ <property name="label" translatable="yes" context="cuiimapdlg|label5">_Description:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">descTV:border</property>
</object>
diff --git a/cui/uiconfig/ui/customizedialog.ui b/cui/uiconfig/ui/customizedialog.ui
index 9f0d188d138e..aaa25c399643 100644
--- a/cui/uiconfig/ui/customizedialog.ui
+++ b/cui/uiconfig/ui/customizedialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.19.0 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="CustomizeDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Customize</property>
+ <property name="title" translatable="yes" context="customizedialog|CustomizeDialog">Customize</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -96,7 +96,7 @@
<object class="GtkLabel" id="menus">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Menus</property>
+ <property name="label" translatable="yes" context="customizedialog|menus">Menus</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -109,7 +109,7 @@
<object class="GtkLabel" id="contextmenus">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Context Menus</property>
+ <property name="label" translatable="yes" context="customizedialog|contextmenus">Context Menus</property>
</object>
<packing>
<property name="position">1</property>
@@ -123,7 +123,7 @@
<object class="GtkLabel" id="keyboard">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Keyboard</property>
+ <property name="label" translatable="yes" context="customizedialog|keyboard">Keyboard</property>
</object>
<packing>
<property name="position">2</property>
@@ -137,7 +137,7 @@
<object class="GtkLabel" id="toolbars">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Toolbars</property>
+ <property name="label" translatable="yes" context="customizedialog|toolbars">Toolbars</property>
</object>
<packing>
<property name="position">3</property>
@@ -151,7 +151,7 @@
<object class="GtkLabel" id="events">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Events</property>
+ <property name="label" translatable="yes" context="customizedialog|events">Events</property>
</object>
<packing>
<property name="position">4</property>
diff --git a/cui/uiconfig/ui/databaselinkdialog.ui b/cui/uiconfig/ui/databaselinkdialog.ui
index 08a48af2e05e..17c49c398212 100644
--- a/cui/uiconfig/ui/databaselinkdialog.ui
+++ b/cui/uiconfig/ui/databaselinkdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="DatabaseLinkDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Create Database Link</property>
+ <property name="title" translatable="yes" context="databaselinkdialog|DatabaseLinkDialog">Create Database Link</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -85,7 +85,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkButton" id="browse">
- <property name="label" translatable="yes">Browse...</property>
+ <property name="label" translatable="yes" context="databaselinkdialog|browse">Browse...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -101,7 +101,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Database file:</property>
+ <property name="label" translatable="yes" context="databaselinkdialog|label1">_Database file:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">url</property>
</object>
@@ -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">Registered _name:</property>
+ <property name="label" translatable="yes" context="databaselinkdialog|label4">Registered _name:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">name</property>
</object>
@@ -176,7 +176,7 @@
<object class="GtkLabel" id="alttitle">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Edit Database Link</property>
+ <property name="label" translatable="yes" context="databaselinkdialog|alttitle">Edit Database Link</property>
</object>
<packing>
<property name="left_attach">0</property>
diff --git a/cui/uiconfig/ui/dbregisterpage.ui b/cui/uiconfig/ui/dbregisterpage.ui
index fad2f6246256..17101a11aa03 100644
--- a/cui/uiconfig/ui/dbregisterpage.ui
+++ b/cui/uiconfig/ui/dbregisterpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkGrid" id="DbRegisterPage">
@@ -59,7 +59,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="new">
- <property name="label" translatable="yes">_New...</property>
+ <property name="label" translatable="yes" context="dbregisterpage|new">_New...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -73,7 +73,7 @@
</child>
<child>
<object class="GtkButton" id="delete">
- <property name="label" translatable="yes">_Delete</property>
+ <property name="label" translatable="yes" context="dbregisterpage|delete">_Delete</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -87,7 +87,7 @@
</child>
<child>
<object class="GtkButton" id="edit">
- <property name="label" translatable="yes">_Edit...</property>
+ <property name="label" translatable="yes" context="dbregisterpage|edit">_Edit...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -114,7 +114,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Registered Databases</property>
+ <property name="label" translatable="yes" context="dbregisterpage|label1">Registered Databases</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/dimensionlinestabpage.ui b/cui/uiconfig/ui/dimensionlinestabpage.ui
index b0caf9ca1ea9..d5247a622d7f 100644
--- a/cui/uiconfig/ui/dimensionlinestabpage.ui
+++ b/cui/uiconfig/ui/dimensionlinestabpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
@@ -50,7 +50,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="yalign">0.4699999988079071</property>
- <property name="label" translatable="yes">Line _distance:</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|FT_LINE_DIST">Line _distance:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_LINE_DIST:0.00mm</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">Guide _overhang:</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|FT_HELPLINE_OVERHANG">Guide _overhang:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_HELPLINE_OVERHANG:0.00mm</property>
</object>
@@ -78,7 +78,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Guide distance:</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|FT_HELPLINE_DIST">_Guide distance:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_HELPLINE_DIST:0.00mm</property>
</object>
@@ -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">_Left guide:</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|FT_HELPLINE1_LEN">_Left guide:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_HELPLINE1_LEN:0.00mm</property>
</object>
@@ -106,7 +106,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Right guide:</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|FT_HELPLINE2_LEN">_Right guide:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_HELPLINE2_LEN:0.00mm</property>
</object>
@@ -120,7 +120,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Decimal _places:</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|FT_DECIMALPLACES">Decimal _places:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">MTR_FLD_DECIMALPLACES:0</property>
</object>
@@ -131,7 +131,7 @@
</child>
<child>
<object class="GtkCheckButton" id="TSB_BELOW_REF_EDGE">
- <property name="label" translatable="yes">Measure _below object</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|TSB_BELOW_REF_EDGE">Measure _below object</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
@@ -233,7 +233,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Line</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|label1">Line</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -269,7 +269,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Text position</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|FT_POSITION">_Text position</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -304,7 +304,7 @@
</child>
<child>
<object class="GtkCheckButton" id="TSB_AUTOPOSV">
- <property name="label" translatable="yes">_AutoVertical</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|TSB_AUTOPOSV">_AutoVertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
@@ -321,7 +321,7 @@
</child>
<child>
<object class="GtkCheckButton" id="TSB_AUTOPOSH">
- <property name="label" translatable="yes">A_utoHorizontal</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|TSB_AUTOPOSH">A_utoHorizontal</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
@@ -347,7 +347,7 @@
</child>
<child>
<object class="GtkCheckButton" id="TSB_PARALLEL">
- <property name="label" translatable="yes">_Parallel to line</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|TSB_PARALLEL">_Parallel to line</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
@@ -364,7 +364,7 @@
</child>
<child>
<object class="GtkCheckButton" id="TSB_SHOW_UNIT">
- <property name="label" translatable="yes">Show _measurement units</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|TSB_SHOW_UNIT">Show _measurement units</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
@@ -401,7 +401,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Legend</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|label2">Legend</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -424,7 +424,7 @@
<child>
<object class="GtkLabel" id="STR_MEASURE_AUTOMATIC">
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Automatic</property>
+ <property name="label" translatable="yes" context="dimensionlinestabpage|STR_MEASURE_AUTOMATIC">Automatic</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/cui/uiconfig/ui/distributiondialog.ui b/cui/uiconfig/ui/distributiondialog.ui
index d9245f621868..dd2b74dd5d52 100644
--- a/cui/uiconfig/ui/distributiondialog.ui
+++ b/cui/uiconfig/ui/distributiondialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="DistributionDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Distribution</property>
+ <property name="title" translatable="yes" context="distributiondialog|DistributionDialog">Distribution</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
diff --git a/cui/uiconfig/ui/distributionpage.ui b/cui/uiconfig/ui/distributionpage.ui
index c278b2f0f463..c07dbe02c2a1 100644
--- a/cui/uiconfig/ui/distributionpage.ui
+++ b/cui/uiconfig/ui/distributionpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.6"/>
<object class="GtkGrid" id="DistributionPage">
<property name="visible">True</property>
@@ -33,7 +33,7 @@
<property name="row_homogeneous">True</property>
<child>
<object class="GtkRadioButton" id="hornone">
- <property name="label" translatable="yes">_None</property>
+ <property name="label" translatable="yes" context="distributionpage|hornone">_None</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -50,7 +50,7 @@
</child>
<child>
<object class="GtkRadioButton" id="horleft">
- <property name="label" translatable="yes">_Left</property>
+ <property name="label" translatable="yes" context="distributionpage|horleft">_Left</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -66,7 +66,7 @@
</child>
<child>
<object class="GtkRadioButton" id="horcenter">
- <property name="label" translatable="yes">_Center</property>
+ <property name="label" translatable="yes" context="distributionpage|horcenter">_Center</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -82,7 +82,7 @@
</child>
<child>
<object class="GtkRadioButton" id="horright">
- <property name="label" translatable="yes">_Right</property>
+ <property name="label" translatable="yes" context="distributionpage|horright">_Right</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -124,7 +124,7 @@
</child>
<child>
<object class="GtkRadioButton" id="hordistance">
- <property name="label" translatable="yes">_Spacing</property>
+ <property name="label" translatable="yes" context="distributionpage|hordistance">_Spacing</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -175,7 +175,7 @@
<object class="GtkLabel" id="label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Horizontal</property>
+ <property name="label" translatable="yes" context="distributionpage|label">Horizontal</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -208,7 +208,7 @@
<property name="row_homogeneous">True</property>
<child>
<object class="GtkRadioButton" id="vernone">
- <property name="label" translatable="yes">N_one</property>
+ <property name="label" translatable="yes" context="distributionpage|vernone">N_one</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -224,7 +224,7 @@
</child>
<child>
<object class="GtkRadioButton" id="vertop">
- <property name="label" translatable="yes">_Top</property>
+ <property name="label" translatable="yes" context="distributionpage|vertop">_Top</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -240,7 +240,7 @@
</child>
<child>
<object class="GtkRadioButton" id="vercenter">
- <property name="label" translatable="yes">C_enter</property>
+ <property name="label" translatable="yes" context="distributionpage|vercenter">C_enter</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -257,7 +257,7 @@
</child>
<child>
<object class="GtkRadioButton" id="verdistance">
- <property name="label" translatable="yes">S_pacing</property>
+ <property name="label" translatable="yes" context="distributionpage|verdistance">S_pacing</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -273,7 +273,7 @@
</child>
<child>
<object class="GtkRadioButton" id="verbottom">
- <property name="label" translatable="yes">_Bottom</property>
+ <property name="label" translatable="yes" context="distributionpage|verbottom">_Bottom</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -350,7 +350,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Vertical</property>
+ <property name="label" translatable="yes" context="distributionpage|label1">Vertical</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/editdictionarydialog.ui b/cui/uiconfig/ui/editdictionarydialog.ui
index d50629d5ae04..5fb319aba1dc 100644
--- a/cui/uiconfig/ui/editdictionarydialog.ui
+++ b/cui/uiconfig/ui/editdictionarydialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="cui">
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkDialog" id="EditDictionaryDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Edit Custom Dictionary</property>
+ <property name="title" translatable="yes" context="editdictionarydialog|EditDictionaryDialog">Edit Custom Dictionary</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -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">_Book:</property>
+ <property name="label" translatable="yes" context="editdictionarydialog|book_label">_Book:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">book</property>
</object>
@@ -107,7 +107,7 @@
<object class="GtkLabel" id="lang_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Language:</property>
+ <property name="label" translatable="yes" context="editdictionarydialog|lang_label">_Language:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">lang</property>
</object>
@@ -179,7 +179,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Word</property>
+ <property name="label" translatable="yes" context="editdictionarydialog|word_label">_Word</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">word</property>
</object>
@@ -195,7 +195,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Replace By</property>
+ <property name="label" translatable="yes" context="editdictionarydialog|replace_label">_Replace By</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">replace</property>
</object>
@@ -248,7 +248,7 @@
<property name="layout_style">start</property>
<child>
<object class="GtkButton" id="newreplace">
- <property name="label" translatable="yes">_New</property>
+ <property name="label" translatable="yes" context="editdictionarydialog|newreplace">_New</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -262,7 +262,7 @@
</child>
<child>
<object class="GtkButton" id="delete">
- <property name="label" translatable="yes">_Delete</property>
+ <property name="label" translatable="yes" context="editdictionarydialog|delete">_Delete</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/cui/uiconfig/ui/editmodulesdialog.ui b/cui/uiconfig/ui/editmodulesdialog.ui
index ac0431ae7f26..5b5b77faca95 100644
--- a/cui/uiconfig/ui/editmodulesdialog.ui
+++ b/cui/uiconfig/ui/editmodulesdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="EditModulesDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Edit Modules</property>
+ <property name="title" translatable="yes" context="editmodulesdialog|EditModulesDialog">Edit Modules</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -81,7 +81,7 @@
<property name="row_spacing">12</property>
<child>
<object class="GtkLinkButton" id="moredictslink">
- <property name="label" translatable="yes">Get more dictionaries online...</property>
+ <property name="label" translatable="yes" context="editmodulesdialog|moredictslink">Get more dictionaries online...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -105,7 +105,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Language:</property>
+ <property name="label" translatable="yes" context="editmodulesdialog|label2">Language:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">language</property>
</object>
@@ -150,7 +150,7 @@
<property name="layout_style">start</property>
<child>
<object class="GtkButton" id="up">
- <property name="label" translatable="yes">Move Up</property>
+ <property name="label" translatable="yes" context="editmodulesdialog|up">Move Up</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -164,7 +164,7 @@
</child>
<child>
<object class="GtkButton" id="down">
- <property name="label" translatable="yes">Move Down</property>
+ <property name="label" translatable="yes" context="editmodulesdialog|down">Move Down</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -178,7 +178,7 @@
</child>
<child>
<object class="GtkButton" id="back">
- <property name="label" translatable="yes">_Back</property>
+ <property name="label" translatable="yes" context="editmodulesdialog|back">_Back</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -225,7 +225,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes" context="editmodulesdialog|label1">Options</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/effectspage.ui b/cui/uiconfig/ui/effectspage.ui
index bf80526b73e2..a699df24ef41 100644
--- a/cui/uiconfig/ui/effectspage.ui
+++ b/cui/uiconfig/ui/effectspage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkListStore" id="liststore1">
@@ -10,19 +10,19 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">(Without)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore1">(Without)</col>
</row>
<row>
- <col id="0" translatable="yes">Capitals</col>
+ <col id="0" translatable="yes" context="effectspage|liststore1">Capitals</col>
</row>
<row>
- <col id="0" translatable="yes">Lowercase</col>
+ <col id="0" translatable="yes" context="effectspage|liststore1">Lowercase</col>
</row>
<row>
- <col id="0" translatable="yes">Title</col>
+ <col id="0" translatable="yes" context="effectspage|liststore1">Title</col>
</row>
<row>
- <col id="0" translatable="yes">Small capitals</col>
+ <col id="0" translatable="yes" context="effectspage|liststore1">Small capitals</col>
</row>
</data>
</object>
@@ -33,13 +33,13 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">(Without)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore2">(Without)</col>
</row>
<row>
- <col id="0" translatable="yes">Embossed</col>
+ <col id="0" translatable="yes" context="effectspage|liststore2">Embossed</col>
</row>
<row>
- <col id="0" translatable="yes">Engraved</col>
+ <col id="0" translatable="yes" context="effectspage|liststore2">Engraved</col>
</row>
</data>
</object>
@@ -50,19 +50,19 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">(Without)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore3">(Without)</col>
</row>
<row>
- <col id="0" translatable="yes">Dot</col>
+ <col id="0" translatable="yes" context="effectspage|liststore3">Dot</col>
</row>
<row>
- <col id="0" translatable="yes">Circle</col>
+ <col id="0" translatable="yes" context="effectspage|liststore3">Circle</col>
</row>
<row>
- <col id="0" translatable="yes">Disc</col>
+ <col id="0" translatable="yes" context="effectspage|liststore3">Disc</col>
</row>
<row>
- <col id="0" translatable="yes">Accent</col>
+ <col id="0" translatable="yes" context="effectspage|liststore3">Accent</col>
</row>
</data>
</object>
@@ -75,11 +75,11 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Above text</col>
+ <col id="0" translatable="yes" context="effectspage|liststore4">Above text</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">Below text</col>
+ <col id="0" translatable="yes" context="effectspage|liststore4">Below text</col>
<col id="1">1</col>
</row>
</data>
@@ -93,27 +93,27 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">(Without)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore5">(Without)</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">Single</col>
+ <col id="0" translatable="yes" context="effectspage|liststore5">Single</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">Double</col>
+ <col id="0" translatable="yes" context="effectspage|liststore5">Double</col>
<col id="1">2</col>
</row>
<row>
- <col id="0" translatable="yes">Bold</col>
+ <col id="0" translatable="yes" context="effectspage|liststore5">Bold</col>
<col id="1">4</col>
</row>
<row>
- <col id="0" translatable="yes">With /</col>
+ <col id="0" translatable="yes" context="effectspage|liststore5">With /</col>
<col id="1">5</col>
</row>
<row>
- <col id="0" translatable="yes">With X</col>
+ <col id="0" translatable="yes" context="effectspage|liststore5">With X</col>
<col id="1">6</col>
</row>
</data>
@@ -127,71 +127,71 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">(Without)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">(Without)</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">Single</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Single</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">Double</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Double</col>
<col id="1">2</col>
</row>
<row>
- <col id="0" translatable="yes">Bold</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Bold</col>
<col id="1">12</col>
</row>
<row>
- <col id="0" translatable="yes">Dotted</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dotted</col>
<col id="1">3</col>
</row>
<row>
- <col id="0" translatable="yes">Dotted (Bold)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dotted (Bold)</col>
<col id="1">13</col>
</row>
<row>
- <col id="0" translatable="yes">Dash</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dash</col>
<col id="1">5</col>
</row>
<row>
- <col id="0" translatable="yes">Dash (Bold)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dash (Bold)</col>
<col id="1">14</col>
</row>
<row>
- <col id="0" translatable="yes">Long Dash</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Long Dash</col>
<col id="1">6</col>
</row>
<row>
- <col id="0" translatable="yes">Long Dash (Bold)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Long Dash (Bold)</col>
<col id="1">15</col>
</row>
<row>
- <col id="0" translatable="yes">Dot Dash</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dot Dash</col>
<col id="1">7</col>
</row>
<row>
- <col id="0" translatable="yes">Dot Dash (Bold)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dot Dash (Bold)</col>
<col id="1">16</col>
</row>
<row>
- <col id="0" translatable="yes">Dot Dot Dash</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dot Dot Dash</col>
<col id="1">8</col>
</row>
<row>
- <col id="0" translatable="yes">Dot Dot Dash (Bold)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Dot Dot Dash (Bold)</col>
<col id="1">17</col>
</row>
<row>
- <col id="0" translatable="yes">Wave</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Wave</col>
<col id="1">10</col>
</row>
<row>
- <col id="0" translatable="yes">Wave (Bold)</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Wave (Bold)</col>
<col id="1">18</col>
</row>
<row>
- <col id="0" translatable="yes">Double Wave</col>
+ <col id="0" translatable="yes" context="effectspage|liststore6">Double Wave</col>
<col id="1">11</col>
</row>
</data>
@@ -215,7 +215,7 @@
<object class="GtkLabel" id="fontcolorft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Font color:</property>
+ <property name="label" translatable="yes" context="effectspage|fontcolorft">Font color:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">fontcolorlb</property>
<property name="xalign">0</property>
@@ -229,7 +229,7 @@
<object class="GtkLabel" id="effectsft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Effects:</property>
+ <property name="label" translatable="yes" context="effectspage|effectsft">Effects:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">effectslb</property>
<property name="xalign">0</property>
@@ -243,7 +243,7 @@
<object class="GtkLabel" id="reliefft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Relief:</property>
+ <property name="label" translatable="yes" context="effectspage|reliefft">Relief:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">relieflb</property>
<property name="xalign">0</property>
@@ -257,7 +257,7 @@
<object class="GtkLabel" id="label46">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Overlining:</property>
+ <property name="label" translatable="yes" context="effectspage|label46">Overlining:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">overlinelb</property>
<property name="xalign">0</property>
@@ -271,7 +271,7 @@
<object class="GtkLabel" id="label47">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Strikethrough:</property>
+ <property name="label" translatable="yes" context="effectspage|label47">Strikethrough:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">strikeoutlb</property>
<property name="xalign">0</property>
@@ -285,7 +285,7 @@
<object class="GtkLabel" id="label48">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Underlining:</property>
+ <property name="label" translatable="yes" context="effectspage|label48">Underlining:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">underlinelb</property>
<property name="xalign">0</property>
@@ -299,7 +299,7 @@
<object class="GtkLabel" id="overlinecolorft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Overline color:</property>
+ <property name="label" translatable="yes" context="effectspage|overlinecolorft">Overline color:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">overlinecolorlb</property>
<property name="xalign">0</property>
@@ -313,7 +313,7 @@
<object class="GtkLabel" id="underlinecolorft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Underline color:</property>
+ <property name="label" translatable="yes" context="effectspage|underlinecolorft">Underline color:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">underlinecolorlb</property>
<property name="xalign">0</property>
@@ -410,7 +410,7 @@
</child>
<child>
<object class="GtkCheckButton" id="outlinecb">
- <property name="label" translatable="yes">Outline</property>
+ <property name="label" translatable="yes" context="effectspage|outlinecb">Outline</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -425,7 +425,7 @@
</child>
<child>
<object class="GtkCheckButton" id="blinkingcb">
- <property name="label" translatable="yes">Blinking</property>
+ <property name="label" translatable="yes" context="effectspage|blinkingcb">Blinking</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="GtkCheckButton" id="hiddencb">
- <property name="label" translatable="yes">Hidden</property>
+ <property name="label" translatable="yes" context="effectspage|hiddencb">Hidden</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -455,7 +455,7 @@
</child>
<child>
<object class="GtkCheckButton" id="individualwordscb">
- <property name="label" translatable="yes">Individual words</property>
+ <property name="label" translatable="yes" context="effectspage|individualwordscb">Individual words</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -493,7 +493,7 @@
<object class="GtkLabel" id="positionft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Position:</property>
+ <property name="label" translatable="yes" context="effectspage|positionft">Position:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">positionlb</property>
<property name="xalign">0</property>
@@ -507,7 +507,7 @@
<object class="GtkLabel" id="emphasisft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Emphasis mark:</property>
+ <property name="label" translatable="yes" context="effectspage|emphasisft">Emphasis mark:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">emphasislb</property>
<property name="xalign">0</property>
@@ -519,7 +519,7 @@
</child>
<child>
<object class="GtkCheckButton" id="shadowcb">
- <property name="label" translatable="yes">Shadow</property>
+ <property name="label" translatable="yes" context="effectspage|shadowcb">Shadow</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -559,7 +559,7 @@
<child>
<object class="GtkLabel" id="a11ywarning">
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Accessibility option "Use automatic font color for screen display" is active. Font color attributes are not currently used to display text.</property>
+ <property name="label" translatable="yes" context="effectspage|a11ywarning">Accessibility option "Use automatic font color for screen display" is active. Font color attributes are not currently used to display text.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
@@ -608,7 +608,7 @@
<property name="can_focus">False</property>
<child internal-child="accessible">
<object class="AtkObject" id="preview:border-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">Preview</property>
+ <property name="AtkObject::accessible-name" translatable="yes" context="effectspage|preview-atkobject">Preview</property>
</object>
</child>
</object>
diff --git a/cui/uiconfig/ui/embossdialog.ui b/cui/uiconfig/ui/embossdialog.ui
index c9a298d0a835..fe52caece92e 100644
--- a/cui/uiconfig/ui/embossdialog.ui
+++ b/cui/uiconfig/ui/embossdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="EmbossDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Emboss</property>
+ <property name="title" translatable="yes" context="embossdialog|EmbossDialog">Emboss</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -117,7 +117,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Light source:</property>
+ <property name="label" translatable="yes" context="embossdialog|label2">_Light source:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">lightsource</property>
</object>
@@ -152,7 +152,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Parameters</property>
+ <property name="label" translatable="yes" context="embossdialog|label1">Parameters</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/cui/uiconfig/ui/eventassigndialog.ui b/cui/uiconfig/ui/eventassigndialog.ui
index 5be57cc782c7..499b5a1610fd 100644
--- a/cui/uiconfig/ui/eventassigndialog.ui
+++ b/cui/uiconfig/ui/eventassigndialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="EventAssignDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Assign Macro</property>
+ <property name="title" translatable="yes" context="eventassigndialog|EventAssignDialog">Assign Macro</property>
<property name="resizable">False</property>
<property name="type_hint">normal</property>
<child internal-child="vbox">
diff --git a/cui/uiconfig/ui/eventassignpage.ui b/cui/uiconfig/ui/eventassignpage.ui
index 1b773857467e..ab0431dde106 100644
--- a/cui/uiconfig/ui/eventassignpage.ui
+++ b/cui/uiconfig/ui/eventassignpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkGrid" id="EventAssignPage">
@@ -44,7 +44,7 @@
<object class="GtkLabel" id="existingmacrosft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Existing Macros</property>
+ <property name="label" translatable="yes" context="eventassignpage|existingmacrosft">Existing Macros</property>
<property name="track_visited_links">False</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -94,7 +94,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Macro From</property>
+ <property name="label" translatable="yes" context="eventassignpage|macrotoft">Macro From</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -156,7 +156,7 @@
<object class="GtkLabel" id="eventft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Event</property>
+ <property name="label" translatable="yes" context="eventassignpage|eventft">Event</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -169,7 +169,7 @@
<object class="GtkLabel" id="assignft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Assigned Action</property>
+ <property name="label" translatable="yes" context="eventassignpage|assignft">Assigned Action</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -194,7 +194,7 @@
<object class="GtkLabel" id="libraryft1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Assignments</property>
+ <property name="label" translatable="yes" context="eventassignpage|libraryft1">Assignments</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -217,7 +217,7 @@
<property name="layout_style">start</property>
<child>
<object class="GtkButton" id="assign">
- <property name="label" translatable="yes">Assign</property>
+ <property name="label" translatable="yes" context="eventassignpage|assign">Assign</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -231,7 +231,7 @@
</child>
<child>
<object class="GtkButton" id="delete">
- <property name="label" translatable="yes">Remove</property>
+ <property name="label" translatable="yes" context="eventassignpage|delete">Remove</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
diff --git a/cui/uiconfig/ui/eventsconfigpage.ui b/cui/uiconfig/ui/eventsconfigpage.ui
index 4adcfae890ec..938380ef5be5 100644
--- a/cui/uiconfig/ui/eventsconfigpage.ui
+++ b/cui/uiconfig/ui/eventsconfigpage.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.10"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkGrid" id="EventsConfigPage">
@@ -28,7 +28,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Assign:</property>
+ <property name="label" translatable="yes" context="eventsconfigpage|label1">Assign:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -46,7 +46,7 @@
<property name="layout_style">start</property>
<child>
<object class="GtkButton" id="macro">
- <property name="label" translatable="yes">M_acro...</property>
+ <property name="label" translatable="yes" context="eventsconfigpage|macro">M_acro...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -60,7 +60,7 @@
</child>
<child>
<object class="GtkButton" id="delete">
- <property name="label" translatable="yes">_Remove</property>
+ <property name="label" translatable="yes" context="eventsconfigpage|delete">_Remove</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -102,7 +102,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Save in:</property>
+ <property name="label" translatable="yes" context="eventsconfigpage|label2">Save in:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">savein</property>
</object>
@@ -153,7 +153,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Event</property>
+ <property name="label" translatable="yes" context="eventsconfigpage|eventft">Event</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -165,7 +165,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes">Assigned Action</property>
+ <property name="label" translatable="yes" context="eventsconfigpage|actionft">Assigned Action</property>
</object>
<packing>
<property name="left_attach">1</property>
diff --git a/cui/uiconfig/ui/fmsearchdialog.ui b/cui/uiconfig/ui/fmsearchdialog.ui
index 33b2ce2bf30d..15411e39d4cc 100644
--- a/cui/uiconfig/ui/fmsearchdialog.ui
+++ b/cui/uiconfig/ui/fmsearchdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="cui">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="RecordSearchDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Record Search</property>
+ <property name="title" translatable="yes" context="fmsearchdialog|RecordSearchDialog">Record Search</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox3">
@@ -18,7 +18,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="pbSearchAgain">
- <property name="label" translatable="yes">S_earch</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|pbSearchAgain">S_earch</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -139,7 +139,7 @@
</child>
<child>
<object class="GtkRadioButton" id="rbSearchForText">
- <property name="label" translatable="yes">_Text:</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|rbSearchForText">_Text:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -163,7 +163,7 @@
</child>
<child>
<object class="GtkRadioButton" id="rbSearchForNull">
- <property name="label" translatable="yes">Field content is _NULL</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|rbSearchForNull">Field content is _NULL</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -182,7 +182,7 @@
</child>
<child>
<object class="GtkRadioButton" id="rbSearchForNotNull">
- <property name="label" translatable="yes">Field content is not NU_LL</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|rbSearchForNotNull">Field content is not NU_LL</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -213,7 +213,7 @@
<object class="GtkLabel" id="flSearchFor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Search for</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|flSearchFor">_Search for</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -269,7 +269,7 @@
<property name="spacing">12</property>
<child>
<object class="GtkRadioButton" id="rbSingleField">
- <property name="label" translatable="yes">_Single field:</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|rbSingleField">_Single field:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -306,7 +306,7 @@
</child>
<child>
<object class="GtkRadioButton" id="rbAllFields">
- <property name="label" translatable="yes">_All fields</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|rbAllFields">_All fields</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -332,7 +332,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Form:</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|ftForm">Form:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">lbForm</property>
</object>
@@ -406,7 +406,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Where to Search</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|label2">Where to Search</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -457,7 +457,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Position:</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|ftPosition">_Position:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">lbPosition</property>
</object>
@@ -493,7 +493,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkCheckButton" id="HalfFullFormsCJK">
- <property name="label" translatable="yes">Match character wi_dth</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|HalfFullFormsCJK">Match character wi_dth</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -514,7 +514,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkCheckButton" id="SoundsLikeCJK">
- <property name="label" translatable="yes">Sounds like (_Japanese)</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|SoundsLikeCJK">Sounds like (_Japanese)</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -530,7 +530,7 @@
</child>
<child>
<object class="GtkButton" id="SoundsLikeCJKSettings">
- <property name="label" translatable="yes">Similarities...</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|SoundsLikeCJKSettings">Similarities...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -555,7 +555,7 @@
<property name="column_spacing">12</property>
<child>
<object class="GtkCheckButton" id="cbApprox">
- <property name="label" translatable="yes">S_imilarity search</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|cbApprox">S_imilarity search</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -571,7 +571,7 @@
</child>
<child>
<object class="GtkButton" id="pbApproxSettings">
- <property name="label" translatable="yes">Similarities...</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|pbApproxSettings">Similarities...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -592,7 +592,7 @@
</child>
<child>
<object class="GtkCheckButton" id="cbCase">
- <property name="label" translatable="yes">_Match case</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|cbCase">_Match case</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -608,7 +608,7 @@
</child>
<child>
<object class="GtkCheckButton" id="cbStartOver">
- <property name="label" translatable="yes">Fr_om top</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|cbStartOver">Fr_om top</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -624,7 +624,7 @@
</child>
<child>
<object class="GtkCheckButton" id="cbRegular">
- <property name="label" translatable="yes">_Regular expression</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|cbRegular">_Regular expression</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -640,7 +640,7 @@
</child>
<child>
<object class="GtkCheckButton" id="cbUseFormat">
- <property name="label" translatable="yes">Appl_y field format</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|cbUseFormat">Appl_y field format</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -656,7 +656,7 @@
</child>
<child>
<object class="GtkCheckButton" id="cbBackwards">
- <property name="label" translatable="yes">Search _backwards</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|cbBackwards">Search _backwards</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -672,7 +672,7 @@
</child>
<child>
<object class="GtkCheckButton" id="cbWildCard">
- <property name="label" translatable="yes">_Wildcard expression</property>
+ <property name="label" translatable="yes" context="fmsearchdialog|cbWildCard">_Wildcard expression</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -701,7 +701,7 @@
<object class="GtkLabel" id="flOptions">