summaryrefslogtreecommitdiff
path: root/i18nlangtag/qa
AgeCommit message (Collapse)Author
2019-06-05Related: tdf#125404 alias cmn-CN to zh-CN, cmn-TW to zh-TWEike Rathke
Map 'cmn' Mandarin Chinese with associated country for Simplified and Traditional to the technically used 'zh' macrolanguage code. Change-Id: Ifb8a31e728bbf828f13145513bc56a51684ea134 Reviewed-on: https://gerrit.libreoffice.org/73563 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2019-05-21tdf#42949 Fix IWYU warnings in i18nlangtag/Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I8a40dc89e121bd121c1f90f5636eee65636cad17 Reviewed-on: https://gerrit.libreoffice.org/72014 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-08-17Override [sd-IN] with [sd-Deva-IN]Eike Rathke
Deva is not listed as Suppress-Script for sd in https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry Also, this seems to be what MS expects, see https://msdn.microsoft.com/en-us/library/cc233965 Change-Id: I974b0032c1c0485135690e68ed0a71c43f2adf6e Reviewed-on: https://gerrit.libreoffice.org/59217 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2018-07-30Add missing sal/log.hxx headersGabor Kelemen
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directories from filter to jvmfwk Change-Id: I2a73d63f2aaef5f26d7d08957daaa8a30b412ac5 Reviewed-on: https://gerrit.libreoffice.org/58204 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-06-01loplugin: look for CPPUNIT_ASSERT_EQUALS with params swappedNoel Grandin
idea originally from either tml or moggi, can't remember which Change-Id: Id78d75035036d3aa1666e33469c6eeb38f9e624d Reviewed-on: https://gerrit.libreoffice.org/55126 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-18Use for-range loops in hwpfilter, i18n*, idl* and ioJulien Nabet
Change-Id: I980464162b73ed9ee0a09acbca1b9050af8d1027 Reviewed-on: https://gerrit.libreoffice.org/51492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-12More loplugin:cstylecast: i18nlangtagStephan Bergmann
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I4ffae11ad940c0b4248bc6fb8baa86f17b52c203
2017-09-12Unit tests for 'es_ES_u_co_trad' and 'es_ES_tradnl', tdf#83190Eike Rathke
Change-Id: Iac2b892f3b3e4146101a99d1febb6110c83e56ed
2017-09-05Map MS malformed es-ES_tradnl to proper BCP 47 es-ES-u-co-trad, tdf#83190Eike Rathke
See BCP 47 Extension U https://tools.ietf.org/html/rfc6067 and http://www.unicode.org/repos/cldr/tags/latest/common/bcp47/collation.xml http://www.unicode.org/repos/cldr/trunk/common/bcp47/collation.xml Change-Id: I2b946ab00c2efdc1a877a5e6ce91bc703bcd9db0
2017-06-25loplugin:oncevar in helpcompiler..jvmfwkNoel Grandin
Change-Id: Ia9b20a8ca95684cbeb21e3425972c43ba50df3cd Reviewed-on: https://gerrit.libreoffice.org/39187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-26use strong_int for LanguageTypeNoel Grandin
Change-Id: If99a944f7032180355da291ad283b4cfcea4f448 Reviewed-on: https://gerrit.libreoffice.org/36629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-14tdf#100462 prefer en-GB-oxendict over en-GB-oedEike Rathke
And make en-GB-oed just an alias of en-GB-oxendict. Change-Id: I73c1208f85d06360dbd8def0b8d916cddfe59aca
2017-02-24Always enable liblangtagKhaled Hosny
The license should not be an issue any more since liblangtag now has an LGPL/MPLv2 dual licence. Change-Id: I4dfffcccf5d710bd16b21c3254c1449ae041b8ab Reviewed-on: https://gerrit.libreoffice.org/34511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-12-05loplugin:unnecessaryoverride (dtors) in i18nlangtagStephan Bergmann
Change-Id: Id7c37e6a1966b4e44184391d9207e390d9c8861d
2016-11-17Fix tdf#103855 add language codes and names to language lists from extensionsMartin Hosken
Rationale for changes to languagetag.hxx can be found in the bug tdf#103855. Change-Id: I7fa7c8a3f7b219ce08df69a3965f544ae156beab Reviewed-on: https://gerrit.libreoffice.org/30882 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-07i18nlangtag: fix loplugin:cppunitassertequals warningsMiklos Vajna
Change-Id: I2f7134c8308b68c0a01c83d7f1427d18ec7b164a Reviewed-on: https://gerrit.libreoffice.org/29584 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-04-21unit test 'C' locale shall map to 'en-US'Eike Rathke
Change-Id: Id4772b087add703537b588c961283466436f10c1
2016-04-14Resolves: tdf#73973 it's [crk-Latn-CA] and [crk-Cans-CA]Eike Rathke
Change-Id: I0da8562fc378f873e208919999bfc85f30d26778
2016-04-01tdf#97966 Drop 'static' keywordsWastack
Including no keywords from extern "C" blocks Change-Id: Id9dd5a53d6ea5134ebb473bd0463f8f42965a211 Reviewed-on: https://gerrit.libreoffice.org/23674 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-22tdf#97315 add Basque [eu-ES] and map [eu] to [eu-ES]Eike Rathke
Change-Id: I89641fa82f0d0129aeff0d86a10be26cdc721dfc
2015-10-14Pass ENABLE_LIBLANGTAG into code via config_liblangtag.hStephan Bergmann
...so changes to ENABLE_LIBLANGTAG during configure cause proper recompilation of source code Change-Id: I282623c885b83e3bf7d94f6f364c5031c012f058
2015-10-14Fix various warnings in --disable-liblangtag codeStephan Bergmann
Change-Id: I4dbc7ead359fc4cae0ac9d5eb98523590dd8954e
2015-07-10support en-GB-oxendict additionally to now deprecated en-GB-oedEike Rathke
Have them separated so when saving loaded documents the same tag is used to keep the generator happy. When to switch in UI language listbox? Or should we have both entries? Change-Id: If78600229c4b24f6ee598c25d5a8974fef410bb5
2015-07-08fix langtag test with liblangtag 0.5.7David Tardon
Change-Id: Ic8639daa5a32cf98fa17903424b00916cb6d8c6f
2015-04-27More loplugin:simplifyboolStephan Bergmann
Change-Id: I27dab9c717b0b4d38e1273006002ff595ddf4736
2014-12-18i18nlangtag: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I0c3a20e1d1273944f1f0f2f886d5d951e916336c
2014-06-03add unit test for LanguageTag::isValidBcp47() with bDisallowPrivateEike Rathke
Change-Id: I58089bc00c640bb1d8461d8f482ad623f9566e76
2014-05-21add unit test for static isValidBcp47() methodEike Rathke
Change-Id: Ib234fb1d14087236d337dfe351aea941945e718c
2014-04-05document why the test fails and is disabledEike Rathke
Change-Id: I17bb169f14d225b970014ab26a7f1d9d0d1b0af8
2014-04-05disable build breaker testEike Rathke
Change-Id: I78f3cf06bee431ccfc72a2ecea48383f023488ea
2014-03-17framework: prefer passing OUString by referenceNoel Grandin
Change-Id: I23c2ac9ef6bfc3eedb8ad6cb199c12d42ed642c8
2013-11-18cleaned up ISO code usage for Kurdish, fdo#63460Eike Rathke
* instead of the 'ku' macrolanguage code use proper ISO 639-3 codes and use 'Latn' script with 'kmr' * use MS-LCID 0x0492 for Central Kurdish (Iraq) [ckb-IQ] * added Southern Kurdish (Iraq) [sdh-IQ] Change-Id: Iaee8be98d0659a0e7bbf041e60025dd1f771066f
2013-10-29assume 'ha-*' was indeed used as 'ha-Latn-*'Eike Rathke
Change-Id: I5675bf4ee3d255725c1fda2bdd223d7c9d821ab3
2013-10-25override 'yi-Hebr-*' with 'yi-*' as Hebr is suppress-scriptEike Rathke
Change-Id: Iaae25a7d517404fc9c8186fd1006f9a4af82f584
2013-10-25override 'sr-Cyrl*' with 'sr*'Eike Rathke
which is what we so far always used, though Cyrl is not suppress-script and would be correct, but it's primary usage. Change-Id: If7ce7dfcc6b4cc07c503dd2ff2c2bbe2c55c9338
2013-10-25Sindhi 'sd-PK' => 'sd-Arab-PK'Eike Rathke
Change-Id: I418a991f4555a411ea05237010f64b03552affe5
2013-10-25more flexible language tag override mechanismEike Rathke
* allow overriding higher level lll-Ssss-CC with lower level lll-CC for known MS-LangID mappings that use tags with suppress-script * internal override "canonicalization", e.g. ca-XV => ca-ES-valencia Change-Id: I067d7515fb9144a896697617ad1b079e294f1ced
2013-10-24added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdfEike Rathke
... found at http://msdn.microsoft.com/library/cc233965.aspx (the 5th or 6th place I'm aware of where MS defines LCIDs, all different ...) * a bunch of new definitions up to Windows 8.1 * lots of cross-checks done with SIL, Ethnologue, ... Change-Id: Ifae8e676558c6712fe752856acca600d05d0a63f
2013-10-17solve the 'dz' vs 'bo' and 'nn', 'nb' and 'nn' share primary ID casesEike Rathke
Change-Id: I7ccead4493c9848b55f642c2636daa3c60aeb7a6
2013-10-12for unmapped language-only register primary language ID if availableEike Rathke
... instead of an on-the-fly ID Change-Id: I5cb38e91b67d02f0ccda90feb2ad0c60cd3765c5
2013-09-20now with on-the-fly LangID assignmentEike Rathke
Change-Id: I0766705191176381beaf331de3d10dfc0086a9b4
2013-09-20second wave to register tagsEike Rathke
Change-Id: If71d7bdbe590b66e3642e8815a536482c67dd7c0
2013-09-19'de-1901' is a valid fallback, 'en-oed' is notEike Rathke
Change-Id: I73b821eaff82796080ce123e37466ec53c327141
2013-09-19accept (DIGIT 3*ALNUM) variant in place of (4*ALPHA) scriptEike Rathke
Change-Id: If622619bd2e282ab8298ac8a29f8bb57a8fe968f
2013-09-13added 'en-GB-oed' for "English, OED spelling (UK)"Eike Rathke
Change-Id: Ia51a8503213997ea589f2df79552ef765ecfc748
2013-09-12include legacy tags in fallback stringsEike Rathke
Change-Id: Ice3f4f061b1ae84d2d486e908399550770d5170a
2013-09-10changed all 'sh' language to 'sr-Latn'Eike Rathke
Change-Id: Iafadaea87501bc3675eaf2856b5050a7e3ecaa37
2013-09-10added ca-ES-valencia fallback to ca-XV fallback stringsEike Rathke
Change-Id: Iedc5924cf5100a2e7d014be68dc4897d3c0e76a0
2013-09-10added overrides for fallbacks of legacy codesEike Rathke
Change-Id: I62be84904b3f0f4beeda35e78906604090eefa86