Commit Graph
28 Commits
Author SHA1 Message Date
Caolán McNamara 00657aef09 migrate to boost::gettext
* 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-07-21 08:20:50 +01:00
Caolán McNamara da543e4efb convert starbasic wizards to .properties for translations
Change-Id: I165f85ee993995b54163061c7d378eea90eb276a
2017-05-25 14:53:07 +01:00
Caolán McNamara a95def1aed convert java wizards to .properties for translations
like LibreOffice java extensions, and nlpsolver and librelogo, do, removes the
magic number problem

Change-Id: I561249ccebe41c787cd8cdaa80e1d035f27052cc
Reviewed-on: https://gerrit.libreoffice.org/37986
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-24 16:38:31 +02:00
Caolán McNamara fcf9c22e00 remove wizards bitmaps from .src files
Change-Id: I4e334ac88e1e060bc07af9b174b9b8fb1401fc80
2017-04-27 13:29:58 +01:00
Samuel Mehrbrodt 5b3022860a tdf#99967 Drop Web Wizard
Change-Id: Ibc0f45a03e16f3fe4ee54b24de30ba88e43a4aab
Reviewed-on: https://gerrit.libreoffice.org/26381
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-17 22:21:57 +00:00
Stephan Bergmann 87dd1780a3 Get rid of $(share_subdir_name) again
Quoting 56211a166a "fdo#72394 Don't endlessly
expand $(share_subdir_name) into itself":

* The compile-time variable LIBO_SHARE_FOLDER should not end up as a runtime
  framework path variable, esp. since accidentally re-substituting it for
  "share" segments in unrelated URLs like <file:///export/share/for-all> does
  not make sense.  ac4e19f908 "fdo#68552: Don't
  (attempt to) do run-time expansion of build-time parameters" had already
  attempted a fix for that, but it had to be reverted again with
  791a8b96f7 because it "Unfortunately does not
  work if BUILDDIR is different from SRCDIR."

So this time fix it not via configure-expanded *.in files, but via xsltproc
(for officecfg/registry/ files) and sed (for wizards/soruce/configshare files).

The changes to officecfg/util/alllang.xsl will replace @LIBO_SHARE_FOLDER@ only
in oor:name attribues (and in <value> text), not in any other attributes,
because I have no idea how to write that generically in XSLT and it happens to
be only needed in oor:name for now.

Change-Id: Iec78eb70dcbf1a5bbabf4e42f21c44dc65c3e438
2013-12-10 12:41:36 +01:00
Bjoern Michaelsen 04dead1c6b make l10n buildable separately
- this renames the 'almost' module target to non-l10n
- and adds a l10n target which is intended to only build l10n parts of
  the product
- packagers should then be able to build l10n and non-l10n parts of the
  product independently, thus:
   - enable quicker rebuilds
   - distribution of load
   - updates to l10n without a full rebuild
   - security fixes to binaries without rebuilding all l10n
- the new targets are called build-l10n-only and build-non-l10n-only
- note this is not intended to move a concept of split packages
  upstream -- while this exsists in distros, the number of test
  scenarios for this would explode upstream

Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863

Conflicts:
	filter/Module_filter.mk
2013-11-14 16:45:02 +01:00
Jean-Pierre Ledure 350772317d Access2Base store (wizards + scp2)
License text modified after gerrit review

Change-Id: I193d6d1fd477cca4c2880760f21f8d978643f634
Reviewed-on: https://gerrit.libreoffice.org/6232
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-10-13 23:28:26 +00:00
Tor Lillqvist 08452f1208 Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Michael Meeks 1e4422a4b4 re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer
        gnumake4 work variously
        http://svn.apache.org/viewvc?view=revision&revision=1394707
        http://svn.apache.org/viewvc?view=revision&revision=1394326
        http://svn.apache.org/viewvc?view=revision&revision=1397337
        http://svn.apache.org/viewvc?view=revision&revision=1397315
        http://svn.apache.org/viewvc?view=revision&revision=1396797

	Patches contributed by Andre Fischer
	Fixed getcsym.awk to handle #-comments that contain special regexp chars.
        http://svn.apache.org/viewvc?view=revision&revision=1230971
	118778: Added ADDITIONAL_REPOSITORIES environment variable and its
	automatic setup in configure.
        http://svn.apache.org/viewvc?view=revision&revision=1232004
	118160: Added external CoinMP library.
        http://svn.apache.org/viewvc?view=revision&revision=1233909

	Patches contributed by Herbert Duerr
	#i119168# use generic LICENSE file for langpacks and sdks
        http://svn.apache.org/viewvc?view=revision&revision=1310178
	macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars
        http://svn.apache.org/viewvc?view=revision&revision=1183367
	allow gbuild with empty sysroot on linux
        http://svn.apache.org/viewvc?view=revision&revision=1179186

	Patches contributed by Ingo Schmidt
	native373: #164472# improvements for msi database
        http://svn.apache.org/viewvc?view=revision&revision=1167540
        http://svn.apache.org/viewvc?view=revision&revision=1167539

	Patches contributed by Jurgen Schmidt
	adapt setup package scripts to handle special DS_Store file for
	developer snapshot builds
        http://svn.apache.org/viewvc?view=revision&revision=1232430
	imported patch extensions_i117681.patch
	http://svn.apache.org/viewvc?view=revision&revision=1172102

	Patches contributed by Michael Stahl
	gbuild: RepositoryFixes.mk should be optional
        http://svn.apache.org/viewvc?view=revision&revision=1166123
	xslt filter: remove the FLA horror
	wordml import filter: replace FLA usage with plain XSLT
	http://svn.apache.org/viewvc?view=revision&revision=1363727

	Patch contributed by Oliver-Rainer Wittmann
	i#88652: applied patch, remove unicows deps
	http://svn.apache.org/viewvc?view=revision&revision=1177585

    Remove lots of OS2 conditionals, re-extract Rhino Java, unwind
    cppunit pieces, cleanup Mac image bits, remove coin-mp and
    re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand
    MPLv2 subset checking.

Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03 11:41:36 +01:00
Javier Fernandez 41f89d2236 PyWebWizard: Removed the Jar_web, relaced by the python version.
Change-Id: Ia76a2d4ce93bf338c6ca22fd2cd991b42c195ae4
2013-05-08 11:31:21 +00:00
Javier Fernandez e07a65f92d PyWebWizard: Pack and register the Web wizard.
Change-Id: I8e43d228e842f24b054afc6bf59040667a6703d5
2013-05-08 09:36:42 +00:00
Julien Nabet 0191eb95fb fdo#63197: convert wizards
Change-Id: Ic7fa577fbdb527a75643c4e2919e0527432d5536
Reviewed-on: https://gerrit.libreoffice.org/3439
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-17 19:16:49 +00:00
Julien Nabet 718cd9e46e Remove unused web wizard
Change-Id: I76ed89c4a46e5a7b6a639e2c2717bc53d9b68bc9
Reviewed-on: https://gerrit.libreoffice.org/3438
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-17 18:30:56 +00:00
Julien Nabet 96adcf4b9f Remove unused launcher wizard
Change-Id: I6c071f00eef88d3f56e76efddf6f0c71aa56b089
Reviewed-on: https://gerrit.libreoffice.org/3437
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-17 18:09:01 +00:00
Xisco Fauli 0e34f7e99a pyagenda: Register and Pack python agenda wizard
Change-Id: I3fc2b0f4e014d358d416c230b0450dcbe5d76363
2013-02-14 00:55:16 +01:00
Xisco Fauli 65e104060b pyletter: remove java letter wizard
Change-Id: I63a46f027c8e022dee35f57db19b2538be09b1fc
2012-10-23 01:13:16 +02:00
Xisco Fauli bf51d4c7c3 pyletter: pack and register letter wizard
Change-Id: I4b9e2d22af810db367c705791376c99cb1860172
2012-10-23 01:13:15 +02:00
Xisco Fauli 500edb9878 pyfax: Remove java code
Change-Id: If910b37990677458dcb2c88007ad713b1f208fbe
2012-10-14 21:46:19 +02:00
Thomas Arnhold f6a8cb7ae2 Remove completely commented out file webwizar.src
Change-Id: I4161a7fe929c81ac0bdd8506d2e0697bdc7f9c9e
2012-06-27 13:27:24 +02:00
Caolán McNamara a77b96a8e8 ditch wizards schedule module
a) it doesn't work
b) isn't connected up to any menus
c) is arbitrarily localized to big 12 nations
d) out of date wrt public holidays in those anyway

Change-Id: I4a16490b3ae84c6e5dbe0774ea8eb0000ed6dc3d
2012-06-25 16:24:58 +01:00
Michael Meeks 41b8bad143 wizards: completely work python wizard packaging and registration
Also improve exception handling and error printing in pythonloader
Allow registration of explicit .py components - the only method that works
2011-12-05 20:53:24 +00:00
Xisco Fauli 43e132ef1f add directories to basic/program and makefiles 2011-12-05 20:53:20 +00:00
Xisco Fauli adf772680c Hello world (python) as a component 2011-12-05 20:53:19 +00:00
Takeshi Abe b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Tor Lillqvist f900be1d53 Add consistent Emacs and vim mode lines 2011-07-30 23:01:27 +03:00
Tor Lillqvist 1ebd694a5b Build the jars only of if SOLAR_JAVA is TRUE 2011-07-25 21:58:52 +03:00
Mathias Bauer 2839168cd0 CWS gnumake4: convert wizards to new build system 2011-06-16 10:11:45 +02:00