Age | Commit message (Collapse) | Author |
|
See tdf#42949 for motivation
Change-Id: I99558e6b6952b3f2c1ee32dd07354ff659ad9cd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131183
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
|
|
because this is often on a hot path, and we can avoid the splitting and
joining of strings like this.
Change-Id: Ia36047209368ca53431178c2e8723a18cfe8260a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119220
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
This patch only fixes the assertion here:
3 0x00007f4d0ae82662 in __GI___assert_fail
(assertion=0x7f4cef73d9d1 "SAL_N_ELEMENTS(RID_SHELLRES_AUTOFMTSTRS) == STR_AUTOFMTREDL_END", file=0x7f4cef73d961 "/home/julien/lo/libreoffice/sw/source/uibase/utlui/initui.cxx", line=186, function=0x7f4cef73d99f "void ShellResource::GetAutoFormatNameLst_() const") at assert.c:101
4 0x00007f4cef2514b8 in ShellResource::GetAutoFormatNameLst_() const (this=0x747f430) at sw/source/uibase/utlui/initui.cxx:186
Regression from da64ec8c8a91db6a6ec9657898f081d5ee67e739
author László Németh <nemeth@numbertext.org> 2020-06-01 19:31:38 +0200
committer László Németh <nemeth@numbertext.org> 2020-06-02 18:40:06 +0200
commit da64ec8c8a91db6a6ec9657898f081d5ee67e739 (patch)
tree 2bd7d3ddf24ce6c5adeb3c29dd46ead2e1215c0a
parent 2d6395b87218cbf3512aa9b54807a859205006f0 (diff)
tdf#133589 AutoCorrect: transliterate to Old Hungarian
Change-Id: Ib606ffcf5f0d6921c41dcb256af12ff54017a590
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112118
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
|
|
u8 literals incompatibly change their type (as implemented by recent Clang
trunk)
Change-Id: Ia4f7b91f5d86656a056303d2754981ab2093a739
Reviewed-on: https://gerrit.libreoffice.org/63494
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I3c6118641a998dbda77d446b0d5a022320fcbc98
|
|
* 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
|