summaryrefslogtreecommitdiff
path: root/sw/inc/globals.hrc
AgeCommit message (Collapse)Author
2017-07-21de-hrc various thingsCaolán McNamara
e.g. helpid[s].hrc -> helpids.h and insert include guards where missing move "ordinary" defines into .hxx files remove .hrc entries that are used as arguments to dialog factory when a dedicated method can be added instead Change-Id: I792fb8eb0adfaa63cf354e6e57401fc943e9196e
2017-07-21migrate to boost::gettextCaolán McNamara
* 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
2017-04-25tdf#101055 Translate default name of bookmarksGabor Kelemen
Change-Id: I9dd5ab006c7b7e7da7c4c2705925bbf264b58b60 Reviewed-on: https://gerrit.libreoffice.org/36813 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-04-06reinstate removed but inuse resourcesCaolán McNamara
since... commit 6742500ccb2ff6d39f527760152d2b08fd9cfe17 Date: Wed Mar 15 13:16:37 2017 +0200 remove unused defines from HRC files in sw/ Change-Id: Ie9cb54ba854ef04deaf9857468b3dbb171eb9b5a
2017-03-16remove unused defines from HRC files in sw/Noel Grandin
Change-Id: I74fb244b2440ddf7682362444c20730ac0e58cea Reviewed-on: https://gerrit.libreoffice.org/35212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-20unroll IL_VALUES ImageListCaolán McNamara
Change-Id: Id03606deaf207f579ee3c56437b37f4981538d12
2016-12-12remove another imagelistCaolán McNamara
Change-Id: Ica62a13b19134030c6f0e2eeaf41df3c0f1294a4
2016-04-12Avoid reserved identifiersStephan Bergmann
Change-Id: Ib8cbcdff79ad8d621b8e9567df0afe32e9501279
2016-03-31tdf#90855 add table header entries to resourcesJakub Trzebiatowski
removed hardcoded table header entries Change-Id: Ib0268421d1b0035e7764555054377d08ee47a29d Reviewed-on: https://gerrit.libreoffice.org/23520 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-11tdf#96075 Frame alignment buttons not using correct tooltipsSamuel Mehrbrodt
Tooltips change on state change, and they were taken from another source. Unify this to reuse the existing strings from the uno command. Change-Id: I8ff6fc43bc0469f15c9e930695d950f6d664bfdf Reviewed-on: https://gerrit.libreoffice.org/20629 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-10tdf#91665 l10n: replace string lists - by separate stringsJuergen Funk
Convert the stingarray in resource strings. A lot of need a translation in other language Improve a lot of stuff Change-Id: I1c97949fa3a3de17efe0a358370b5a7b6a772686 Reviewed-on: https://gerrit.libreoffice.org/20557 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-11-27missing string resourceCaolán McNamara
content.cxx loops over CONTEXT_COUNT so there can't be holes here regression from commit 63aa32b726e482c49b2aaae9cad8a7beae3653a4 Author: Caolán McNamara <caolanm@redhat.com> Date: Mon Sep 28 17:05:40 2015 +0100 move strings out of widget Change-Id: Ie189e2a910e02a96bc8e1450a2f2b03afaf466ac
2015-09-28move strings out of widgetCaolán McNamara
Change-Id: Ie7818eba636dee7830abba8cbbc4becb95fa8310
2014-09-05convert RID_SCROLL_NAVIGATION_WIN floating window to .uiCaolán McNamara
Change-Id: I92d13856fc4d206323d5517a8a48671bba683fec
2014-08-30fdo#80617 Use complete string to allow translation for page number infoSamuel Mehrbrodt
Change-Id: I8cc899f70ee4dcd65495b8ccc153a8fc3a2cc413 Reviewed-on: https://gerrit.libreoffice.org/11157 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-18InfoBoxes to StringThomas Arnhold
Change-Id: Iccaf0cd1adbe5a2b1ff81c466ca3c81c00390c10
2014-08-18InfoBox MSG_ERROR_PASSWD to StringThomas Arnhold
Change-Id: I88a34ad1d54066c30523c6493cbe5f0502adb3fb
2014-08-09remove now unused tabpage.hrcThomas Arnhold
as TP_WIDTH and TP_HEIGHT are unused now Change-Id: I06ec7af8c2b3386d76e36284eb56ea1ab6b9ec5d
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-02-27Remove visual noise from swAlexander Wilms
Conflicts: sw/inc/unodraw.hxx sw/inc/unoframe.hxx sw/sdi/swriter.sdi sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/ui/inc/unotxvw.hxx sw/source/ui/lingu/hyp.cxx sw/source/ui/lingu/sdrhhcwrap.cxx sw/source/ui/uno/swdetect.hxx Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908 Reviewed-on: https://gerrit.libreoffice.org/8322 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-14convert captions option page to .uiCaolán McNamara
Change-Id: I571cc68bacce315ceafbe54deed6efeac51a6f1f
2013-09-02convert apply styles dialog to .uiCaolán McNamara
Change-Id: Id596ceaebc0dda3be046be89f22b6bf1a304fa4e
2013-08-28convert tox index page to .uiCaolán McNamara
Change-Id: I4929ac3b82af91d8b9cb95b033a9171d46554774
2013-08-26convert token widget to .uiCaolán McNamara
which means that the widgets inside the token window in index/table->entries are no longer truncated at the bottom Change-Id: I4852ce217b6c8f6322391db30501668d035b7d92
2013-08-26split out the custom index widget to simplify conversion to .uiCaolán McNamara
Change-Id: If909ff5e68d9212601d62fd917055cec0538e948
2013-08-23convert toc dialog to .uiCaolán McNamara
this should stop the intermittent redraw glitch and the toc dialog initially appearing shoved up against the left edge of the screen Change-Id: Id1dad162f110cd9140d2603a2b3b43ef64e703ca
2013-08-23drop unused TP idsCaolán McNamara
Change-Id: I8de5aa646fc2c31d1e0a1ebe8ae9263d55c52ef6
2013-08-23convert condition page to .uiCaolán McNamara
Change-Id: Ifd05bdb46cd0cbbce09bd91a3fbf78d6eac0d8c5
2013-08-22convert picture frame to .uiCaolán McNamara
Change-Id: I624a4cfa8a5e8c3c72833ff0c3545deadbe4435d
2013-08-22convert field dialog to .uiCaolán McNamara
Change-Id: I0f956d365242447f39752d544a020cbc77d6ac4c
2013-08-18remove various unused queryboxsCaolán McNamara
Change-Id: Ie8ae7c19b957410517c2a1a4f6463825bafd0e09
2013-08-17finally, some unused dialogsCaolán McNamara
Change-Id: I673a5868db62f391b2186104ff6c641d84bffd8a
2013-08-17convert ole/picture/frame dialogs to .uiCaolán McNamara
Change-Id: I0a0e8e8a03bd86a583b1d43489eb5b1ca8f98592
2013-08-13convert label dialog to .uiCaolán McNamara
Change-Id: I77ce740b1ca7178d8c5f5f2d4ce55920cf18a85b
2013-08-09convert SfxStyleDialogs to .uiCaolán McNamara
Change-Id: I32aa538026669e22e0756cd062b72e67f8d179e5
2013-08-05convert format section dialog to .uiCaolán McNamara
Change-Id: I126a4a03618060f8fe8dbe0f1a8caa6d7e891c73
2013-08-05convert insert section dialog to .uiCaolán McNamara
Change-Id: I85b0c4cd50b287e4965314fdaec50c760532e2f8
2013-07-11make SwMarkPreview available through .ui formatCaolán McNamara
+ move getting size from ctor to Paint + add possibility for border to font preview + add possibility for setting initial text via .ui for font preview + move old .src combobox contents into .ui and re-enable code Change-Id: I0470da54c6764d67bccd5828cce9b11d2e7df3b3
2013-07-09.ui layout for optpage/fonttabpageCsikós Tamás
Change-Id: Ib41ac1b5febbb288f7a05f3823dee6ff32feb315 Reviewed-on: https://gerrit.libreoffice.org/4771 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-09modern .ui widgetlayout for optpageCsikós Tamás
Change-Id: I257f4c5878caabd5394bb2641ebf6d82a833e5f1 Reviewed-on: https://gerrit.libreoffice.org/4756 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-07-04Resolves: fdo#66407 convert writer general options tab to .uiCaolán McNamara
Change-Id: I315c12b94663c0047150eed7ecbd6366f7e57bc4
2013-05-31TP_COMPARISON_OPT is now unusedCaolán McNamara
Change-Id: Ie73070c97f9918511a02e7c4d4073387385e9293
2013-04-26convert rename object dialog to .ui formatCaolán McNamara
Change-Id: I76b5c2d190b268de93973083f1f6ca41804008cf
2013-04-26convert edit section dialog to .uiCaolán McNamara
Change-Id: I7467b0d9f32c0a006bedf88f6658ffffcd28db5f
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-02-21adapt writer to use centralised font dialog and fix some minor bugsNoel Power
fixed incorrect return of EmbeddFonts property and also make sure that NotifyEmbeddedFontRead is called on reload Change-Id: I085f50ff88bbf73b5dcdb9630b6c5844430a47c2
2013-02-18UI option for embedding fonts in a Writer document (fdo#42195)Luboš Luňák
File->Properties. Change-Id: I92757153c8815d17ea9f721a98b22b9088014f31
2013-01-27move SetAccessibleRelationLabeledBy relations into .ui and out of codeCaolán McNamara
Change-Id: Iaf1a4a5ed813f48f9241f9e3ae7a732c22b7b9e5
2013-01-19convert outline numbering tabdialog to .uiCaolán McNamara
Change-Id: I233c43132fe82f65f2f2dda9fc1afee0237610bd
2013-01-19convert character properties tabdialog to .uiCaolán McNamara
Change-Id: I73fc5fc19ae75971b0569b708f4104c79b9a9cc2