summaryrefslogtreecommitdiff
path: root/sd/inc/sdresid.hxx
AgeCommit message (Collapse)Author
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-05-19make string translation loading more uniformCaolán McNamara
change various ResId classes that use conversion operator to OUString to functions that return a OUString drop various defines drop unnecessary toString calls Change-Id: Ibeccdf2b91a46a2ed5b4b74e6024e301a023bc92 Reviewed-on: https://gerrit.libreoffice.org/37817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23fixincludeguards.sh: sdThomas Arnhold
Change-Id: Ic831838b377656015d645eec9d439424378e08af
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-04-30make ResId::toString a non-static memberCaolán McNamara
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2011-03-29drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito
2011-03-12Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Bjoern Michaelsen
2011-01-17removetooltypes01: #i112600# Remove tools types from sdCarsten Driesner
2010-10-28add modelines to .hxx files as wellCaolán McNamara
Notes: split repo tag: impress_LIBREOFFICE_3_3_FREEZE
2010-10-05more removed include guards using fixguard.pyPetr Mladek
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-10INTEGRATION: CWS changefileheader (1.6.222); FILE MERGEDRüdiger Timm
2008/04/01 12:38:23 thb 1.6.222.2: #i85898# Stripping all external header guards 2008/03/31 13:56:41 rt 1.6.222.1: #i87441# Change license header to LPGL v3.
2007-04-26INTEGRATION: CWS residcleanup (1.5.400); FILE MERGEDRüdiger Timm
2007/03/04 10:26:06 pl 1.5.400.1: #i74635# ResId cleanup
2005-09-09INTEGRATION: CWS ooo19126 (1.4.374); FILE MERGEDRüdiger Timm
2005/09/05 13:20:01 rt 1.4.374.1: #i54170# Change license header: remove SISSL
2004-08-23INTEGRATION: CWS tune03 (1.3.186); FILE MERGEDRüdiger Timm
2004/08/08 12:53:57 mhu 1.3.186.1: #i29979# Added SD_DLLPUBLIC/PRIVATE (see sddllapi.h) to exported symbols/classes.
2004-01-20INTEGRATION: CWS impress1 (1.1.1.1.262); FILE MERGEDOliver Bolte
2003/09/16 12:08:54 af 1.1.1.1.262.1: #111996# Introduction of stacked sub-shells.
2004-01-06INTEGRATION: CWS vclcleanup02 (1.1.1.1.336); FILE MERGEDVladimir Glazounov
2003/12/11 09:17:22 mt 1.1.1.1.336.1: #i23061# VCL cleanup, removed headers, methods and types...
2000-09-18initial importJens-Heiner Rechtien