summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/resource/OfficeResourceLoader.idl
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-03-19TyposJulien Nabet
Change-Id: I13020539fe121151e884a90d72d47788fb3ae65c Reviewed-on: https://gerrit.libreoffice.org/35436 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2013-08-20Fix doxygen warnings in udkapi and offapiJulien Nabet
Change-Id: If2235c959aa409376397f306145bea0bee713c78
2013-06-04*api: convert <member scope="foo">bar</member>Michael Stahl
sed -i 's,<member scope="\([^"]*\)">\([^<]*::[a-z][^<:]\+[^)]\)</member>,\1::\2(),g' Change-Id: I265ff28fee73a271f205294e59955b3a1c81d95a
2013-06-04*api: convert <member>Foo::bar</member>Michael Stahl
Doxygen would probably recognize these without () too but add them for consistency. sed -i "s,<member>\([^<]*::[a-z][^<:]\+[^)]\)</member>,\1(),g" Change-Id: I2615b99265b75633459e35164e54d9da7fe76b85
2013-06-04*api: convert <type>Foo</type>Michael Stahl
Doxygen does not know type element and will recognize strings that contain capital letter (all API types do) automatically as type. This patch removes 15k doxygen warnings. git ls-files | grep \\.idl | xargs sed -i "s,<type>\([^<]\+\)</type>,\1," Change-Id: I45c07cf0b115d5fb5353f4aa9719839615ea1150
2012-09-27re-base on ALv2 code. Includes:Michael Meeks
linecap: Reintegrating finished LineCap feature Work contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 i118815 - Deprecate service due to removed implementation Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1233320 i118814 - Allow set timeout in Mail API Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1235679 included in the Apache baseline: dr80: #i117511# remove some assertions in xlsx/xlsb import filters Patch contributed by Daniel Rentz
2012-08-12Remove comment art from offapi and udkapiJean-Tiare LE BIGOT
I used this "one-liner" to detect comment lines containing only spaces and '=' or '-' $ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \; Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07
2012-01-05add mode-lines to .idl filesCaolán McNamara
2011-04-02Strip include guards in idl filesJulien Nabet
2011-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky
Conflicts: codemaker/source/bonobowrappermaker/corbaoptions.cxx codemaker/source/cppumaker/cppuoptions.cxx codemaker/source/cunomaker/cunooptions.cxx codemaker/source/idlmaker/idloptions.cxx codemaker/source/javamaker/javaoptions.cxx cppu/source/typelib/typelib.cxx idlc/source/options.cxx offapi/com/sun/star/util/PathSubstitution.idl offapi/drafts/com/sun/star/form/ListEntryEvent.idl offapi/drafts/com/sun/star/form/XBindableValue.idl offapi/drafts/com/sun/star/form/XListEntryListener.idl offapi/drafts/com/sun/star/form/XListEntrySink.idl offapi/drafts/com/sun/star/form/XListEntrySource.idl offapi/drafts/com/sun/star/form/XValueBinding.idl registry/tools/checksingleton.cxx registry/tools/options.hxx registry/tools/regcompare.cxx registry/tools/regmerge.cxx sal/cppunittester/cppunittester.cxx sal/osl/unx/socket.c sal/osl/w32/diagnose.c sal/prj/d.lst sal/rtl/source/alloc_fini.cxx sal/rtl/source/alloc_global.c sal/rtl/source/makefile.mk
2011-01-27Some fixes to documentation (part 3)Aurimas Fišeras
Fixes many spelling errors (checked with en_US spell checker). Unifies spelling of some common words. Replaces single quotes ('') with double quotes (""). Fixes several other errors.
2010-11-02jsc340: i115337: cleanup since tagsJuergen Schmidt
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-11INTEGRATION: CWS changefileheader (1.3.196); FILE MERGEDRüdiger Timm
2008/03/31 16:02:51 rt 1.3.196.1: #i87441# Change license header to LPGL v3.
2007-06-27INTEGRATION: CWS sdblogging (1.2.218); FILE MERGEDJens-Heiner Rechtien
2007/04/05 07:27:55 fs 1.2.218.1: corrected singleton name
2006-03-29INTEGRATION: CWS dba203a (1.1.2); FILE ADDEDOliver Bolte
2006/03/17 15:33:27 fs 1.1.2.5: theOfficeResourceLoader is obsolet 2006/03/17 12:24:35 fs 1.1.2.4: typo 2006/03/17 12:23:45 fs 1.1.2.3: singleton 2006/03/17 11:51:51 fs 1.1.2.2: since-tag 2006/03/17 11:41:32 fs 1.1.2.1: access to the OOo-internal .res files