Age | Commit message (Collapse) | Author | Files | Lines |
|
This code got unused after 5b3022860abfe7eefd2e25b60b5b2a563b42b3c0
Change-Id: I6c198ab359f8468a9f4d9041b9bc4feb88eedd74
Reviewed-on: https://gerrit.libreoffice.org/49109
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
* 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
|
|
Change-Id: Id4961341def8cc4c242736580154411b5b137885
|
|
Additional files ported to python for the Common module.
Change-Id: I54afc234b0205c3854e569e691454a6921eb2a9f
|
|
|
|
Change-Id: I93732470733e006b7965c922634cc4f9c1f86fd2
|
|
Change-Id: I76cadd4c15dae8a352053c406839b7ec85c0e7e9
|
|
Change-Id: I7f171e3908eeddb5f24fd82fe7eb5cfbce77affe
|
|
Change-Id: Iabc029091096c82ff2dc79f0fad8f2bf9ee89514
|
|
Change-Id: Ib9855286c68b873f60db7afefecc9c2f4364c53e
|
|
Change-Id: Icacd1addd9e43fb891b0d5cb3c20741380afbd51
|
|
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
|
|
Change-Id: Ie0098f0342a5863ffeb9dec96104efb7d94d7ae2
|
|
Change-Id: I617a4ca3d5dbc1494d26e12c3bbdc59e85995ce2
|
|
Change-Id: Iab0a88ce0812d286b5fc5effa697c3a251bae498
|
|
Change-Id: If74e624bc7677903b7d1cbc0e77284a929583b89
|
|
Change-Id: Iddc7ae6ce49d815e05f3f537569434489e3ccf53
|
|
|
|
|
|
Also improve exception handling and error printing in pythonloader
Allow registration of explicit .py components - the only method that works
|
|
|