summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/dbu_app.hrc
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-22Translate German comments and debug strings (leftovers in dirs d...)Johnny_M
Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "d". Additionally, one FormatEntry in dtrans/source/win32/ftransl/ftransl.cxx is translated as well. Change-Id: Ia9b3df0210830bd65443883b5f27d56aef811437 Reviewed-on: https://gerrit.libreoffice.org/37600 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-17remove unused defines from HRC files in dbaccessNoel Grandin
Change-Id: Ib6ef44769318e133db5744260ff9103d310ff848 Reviewed-on: https://gerrit.libreoffice.org/35268 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-14remove unused RID constantsNoel Grandin
found with the attached bin/find-unused-rid.py script Change-Id: I1cf79caa6cafedb8bc642f394dc7e7da889d6fdf Reviewed-on: https://gerrit.libreoffice.org/35136 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-04-12Avoid reserved identifiersStephan Bergmann
Change-Id: I15609fb6b11606d865d8817f4a63ba8816f7384e
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
2012-07-14fix typoThomas Arnhold
Change-Id: I39ac02cfc84be133855594c89cf5a5f1db4c7fc6
2012-07-02hrc cleanup: Remove include guardsThomas Arnhold
Also add some missing include guards. Change-Id: I320a3c017ca65d34f2cd516849bcde3dec9b33f1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-14re-base on ALv2 code.Michael Meeks
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-11-27dba33d: #i106772# check if update and refetching works otherwise set iter to ↵Ocke Janssen [oj]
end and some resource handling for error messages
2008-10-01CWS-TOOLING: integrate CWS dba31bVladimir Glazounov
2008-04-10INTEGRATION: CWS changefileheader (1.4.162); FILE MERGEDRüdiger Timm
2008/03/31 13:27:06 rt 1.4.162.1: #i87441# Change license header to LPGL v3.
2007-07-06INTEGRATION: CWS oj14 (1.3.8); FILE MERGEDRüdiger Timm
2006/01/03 07:48:59 oj 1.3.8.1: changed module client
2005-09-08INTEGRATION: CWS ooo19126 (1.2.204); FILE MERGEDRüdiger Timm
2005/09/05 17:33:10 rt 1.2.204.1: #i54170# Change license header: remove SISSL
2004-08-02INTEGRATION: CWS insight01 (1.1.2); FILE ADDEDJens-Heiner Rechtien
2004/07/09 13:14:12 oj 1.1.2.11: #i30416# move some code to UITools 2004/04/26 11:31:58 oj 1.1.2.10: folder handling 2004/03/16 11:06:20 oj 1.1.2.9: #111075# set non existing name when create new object 2004/02/23 14:49:02 oj 1.1.2.8: #111075# use the sfxfilter to get the correct filer name 2004/01/07 13:47:28 oj 1.1.2.7: #111075# ongoing work 2003/12/17 13:47:40 oj 1.1.2.6: #111075# ongoing work 2003/12/17 08:47:07 oj 1.1.2.5: #111075# ongoing work 2003/11/26 12:17:50 oj 1.1.2.4: #111075# ongoing work 2003/11/17 09:43:28 oj 1.1.2.3: #111075# ongoning work 2003/08/15 08:53:57 oj 1.1.2.2: #111075# ongoing new dbaapp work 2003/07/29 12:27:58 oj 1.1.2.1: #111075# new classes for the app controller