# -*- 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_StaticLibrary_StaticLibrary,ulingu)) $(eval $(call gb_StaticLibrary_use_api,ulingu,\ udkapi \ offapi \ )) ifneq ($(SYSTEM_DICTS),) $(eval $(call gb_StaticLibrary_add_defs,ulingu,\ -DSYSTEM_DICTS -DDICT_SYSTEM_DIR=\"$(DICT_SYSTEM_DIR)\" -DHYPH_SYSTEM_DIR=\"$(HYPH_SYSTEM_DIR)\" -DTHES_SYSTEM_DIR=\"$(THES_SYSTEM_DIR)\" \ )) endif $(eval $(call gb_StaticLibrary_use_externals,ulingu,\ boost_headers \ hunspell \ )) $(eval $(call gb_StaticLibrary_add_exception_objects,ulingu,\ lingucomponent/source/lingutil/lingutil \ )) # vim: set noet sw=4 ts=4: randin@collabora.co.uk> move resmgr to unotools 2017-08-01T12:42:21+00:00 Caolán McNamara caolanm@redhat.com 2017-07-31T16:16:27+00:00 b1d829e52e826b6ea4ae884a64fdb68b66c74dd7 and the vast majority of translations is to the ui language so default ctor with that arg and now drop OModuleResourceClient Change-Id: I3b85a560ffdfe5f019c2271ac56a5fe4a361522b
and the vast majority of translations is to the ui language so default
ctor with that arg

and now drop OModuleResourceClient

Change-Id: I3b85a560ffdfe5f019c2271ac56a5fe4a361522b
migrate to boost::gettext 2017-07-21T07:20:50+00:00 Caolán McNamara caolanm@redhat.com 2017-06-11T19:56:30+00:00 00657aef09d854c74fb426a935a3e8b1fc390bb0 * 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
* 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
Cleanup while reading extensions. 2015-11-20T22:16:53+00:00 Michael Meeks michael.meeks@collabora.com 2015-11-14T22:11:26+00:00 c082bf7ad2be15133bf3ca96a9fb5f192032805b Change-Id: I99c630c2b497b695365728ce5a2497ff64ff9f1a
Change-Id: I99c630c2b497b695365728ce5a2497ff64ff9f1a
use SimpleReferenceObject in extensions/update module 2014-07-10T09:04:12+00:00 Noel Grandin noel@peralex.com 2014-07-09T08:29:33+00:00 06d18374deabe00712d80eaee291fc966ce6cd99 to replace hand-rolled version Change-Id: I4cd74b3e95a61c32d3aa52646d654ce306791fae
to replace hand-rolled version

Change-Id: I4cd74b3e95a61c32d3aa52646d654ce306791fae
prefer makefile-gmake-mode 2014-04-28T14:35:42+00:00 Takeshi Abe tabe@fixedpoint.jp 2014-04-28T14:33:04+00:00 541761d7b8c8ec8f1927989c6c0694174de73644 Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034