summaryrefslogtreecommitdiffstats
path: root/i18nlangtag/qa
Commit message (Collapse)AuthorAgeFilesLines
* Override [sd-IN] with [sd-Deva-IN]Eike Rathke2018-08-171-0/+1
| | | | | | | | | | | | | 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
* Add missing sal/log.hxx headersGabor Kelemen2018-07-301-0/+1
| | | | | | | | | | | | | | 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>
* loplugin: look for CPPUNIT_ASSERT_EQUALS with params swappedNoel Grandin2018-06-011-1/+1
| | | | | | | | | 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>
* Use for-range loops in hwpfilter, i18n*, idl* and ioJulien Nabet2018-03-181-11/+11
| | | | | | | Change-Id: I980464162b73ed9ee0a09acbca1b9050af8d1027 Reviewed-on: https://gerrit.libreoffice.org/51492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* More loplugin:cstylecast: i18nlangtagStephan Bergmann2018-01-121-2/+2
| | | | | | | | 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
* Unit tests for 'es_ES_u_co_trad' and 'es_ES_tradnl', tdf#83190Eike Rathke2017-09-121-0/+51
| | | | Change-Id: Iac2b892f3b3e4146101a99d1febb6110c83e56ed
* Map MS malformed es-ES_tradnl to proper BCP 47 es-ES-u-co-trad, tdf#83190Eike Rathke2017-09-051-0/+1
| | | | | | | | | | | 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
* loplugin:oncevar in helpcompiler..jvmfwkNoel Grandin2017-06-251-10/+9
| | | | | | | 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>
* use strong_int for LanguageTypeNoel Grandin2017-04-261-31/+31
| | | | | | | 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>
* tdf#100462 prefer en-GB-oxendict over en-GB-oedEike Rathke2017-03-141-10/+14
| | | | | | And make en-GB-oed just an alias of en-GB-oxendict. Change-Id: I73c1208f85d06360dbd8def0b8d916cddfe59aca
* Always enable liblangtagKhaled Hosny2017-02-241-34/+0
| | | | | | | | | | 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>
* loplugin:unnecessaryoverride (dtors) in i18nlangtagStephan Bergmann2016-12-051-1/+0
| | | | Change-Id: Id7c37e6a1966b4e44184391d9207e390d9c8861d
* Fix tdf#103855 add language codes and names to language lists from extensionsMartin Hosken2016-11-171-0/+12
| | | | | | | | | | 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>
* i18nlangtag: fix loplugin:cppunitassertequals warningsMiklos Vajna2016-10-071-227/+227
| | | | | | | Change-Id: I2f7134c8308b68c0a01c83d7f1427d18ec7b164a Reviewed-on: https://gerrit.libreoffice.org/29584 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-131-1/+1
| | | | | | | | | | | | | | | | | 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
* unit test 'C' locale shall map to 'en-US'Eike Rathke2016-04-211-0/+24
| | | | Change-Id: Id4772b087add703537b588c961283466436f10c1
* Resolves: tdf#73973 it's [crk-Latn-CA] and [crk-Cans-CA]Eike Rathke2016-04-141-0/+2
| | | | Change-Id: I0da8562fc378f873e208919999bfc85f30d26778
* tdf#97966 Drop 'static' keywordsWastack2016-04-011-1/+1
| | | | | | | | | 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>
* tdf#97315 add Basque [eu-ES] and map [eu] to [eu-ES]Eike Rathke2016-01-221-0/+1
| | | | Change-Id: I89641fa82f0d0129aeff0d86a10be26cdc721dfc
* Pass ENABLE_LIBLANGTAG into code via config_liblangtag.hStephan Bergmann2015-10-141-12/+5
| | | | | | | ...so changes to ENABLE_LIBLANGTAG during configure cause proper recompilation of source code Change-Id: I282623c885b83e3bf7d94f6f364c5031c012f058
* Fix various warnings in --disable-liblangtag codeStephan Bergmann2015-10-141-4/+4
| | | | Change-Id: I4dbc7ead359fc4cae0ac9d5eb98523590dd8954e
* support en-GB-oxendict additionally to now deprecated en-GB-oedEike Rathke2015-07-101-4/+30
| | | | | | | | | 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
* fix langtag test with liblangtag 0.5.7David Tardon2015-07-081-1/+4
| | | | Change-Id: Ic8639daa5a32cf98fa17903424b00916cb6d8c6f
* More loplugin:simplifyboolStephan Bergmann2015-04-271-39/+39
| | | | Change-Id: I27dab9c717b0b4d38e1273006002ff595ddf4736
* i18nlangtag: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-181-31/+31
| | | | Change-Id: I0c3a20e1d1273944f1f0f2f886d5d951e916336c
* add unit test for LanguageTag::isValidBcp47() with bDisallowPrivateEike Rathke2014-06-031-0/+4
| | | | Change-Id: I58089bc00c640bb1d8461d8f482ad623f9566e76
* add unit test for static isValidBcp47() methodEike Rathke2014-05-211-0/+16
| | | | Change-Id: Ib234fb1d14087236d337dfe351aea941945e718c
* document why the test fails and is disabledEike Rathke2014-04-051-2/+8
| | | | Change-Id: I17bb169f14d225b970014ab26a7f1d9d0d1b0af8
* disable build breaker testEike Rathke2014-04-051-0/+3
| | | | Change-Id: I78f3cf06bee431ccfc72a2ecea48383f023488ea
* framework: prefer passing OUString by referenceNoel Grandin2014-03-171-1/+1
| | | | Change-Id: I23c2ac9ef6bfc3eedb8ad6cb199c12d42ed642c8
* cleaned up ISO code usage for Kurdish, fdo#63460Eike Rathke2013-11-181-0/+8
| | | | | | | | | * 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
* assume 'ha-*' was indeed used as 'ha-Latn-*'Eike Rathke2013-10-291-0/+2
| | | | Change-Id: I5675bf4ee3d255725c1fda2bdd223d7c9d821ab3
* override 'yi-Hebr-*' with 'yi-*' as Hebr is suppress-scriptEike Rathke2013-10-251-1/+3
| | | | Change-Id: Iaae25a7d517404fc9c8186fd1006f9a4af82f584
* override 'sr-Cyrl*' with 'sr*'Eike Rathke2013-10-251-1/+6
| | | | | | | 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
* Sindhi 'sd-PK' => 'sd-Arab-PK'Eike Rathke2013-10-251-0/+1
| | | | Change-Id: I418a991f4555a411ea05237010f64b03552affe5
* more flexible language tag override mechanismEike Rathke2013-10-251-25/+104
| | | | | | | | * 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
* added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdfEike Rathke2013-10-241-4/+28
| | | | | | | | | ... 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
* solve the 'dz' vs 'bo' and 'nn', 'nb' and 'nn' share primary ID casesEike Rathke2013-10-171-1/+23
| | | | Change-Id: I7ccead4493c9848b55f642c2636daa3c60aeb7a6
* for unmapped language-only register primary language ID if availableEike Rathke2013-10-121-0/+18
| | | | | | ... instead of an on-the-fly ID Change-Id: I5cb38e91b67d02f0ccda90feb2ad0c60cd3765c5
* now with on-the-fly LangID assignmentEike Rathke2013-09-201-8/+14
| | | | Change-Id: I0766705191176381beaf331de3d10dfc0086a9b4
* second wave to register tagsEike Rathke2013-09-201-0/+2
| | | | Change-Id: If71d7bdbe590b66e3642e8815a536482c67dd7c0
* 'de-1901' is a valid fallback, 'en-oed' is notEike Rathke2013-09-191-1/+13
| | | | Change-Id: I73b821eaff82796080ce123e37466ec53c327141
* accept (DIGIT 3*ALNUM) variant in place of (4*ALPHA) scriptEike Rathke2013-09-191-1/+19
| | | | Change-Id: If622619bd2e282ab8298ac8a29f8bb57a8fe968f
* added 'en-GB-oed' for "English, OED spelling (UK)"Eike Rathke2013-09-131-0/+16
| | | | Change-Id: Ia51a8503213997ea589f2df79552ef765ecfc748
* include legacy tags in fallback stringsEike Rathke2013-09-121-3/+33
| | | | Change-Id: Ice3f4f061b1ae84d2d486e908399550770d5170a
* changed all 'sh' language to 'sr-Latn'Eike Rathke2013-09-101-5/+29
| | | | Change-Id: Iafadaea87501bc3675eaf2856b5050a7e3ecaa37
* added ca-ES-valencia fallback to ca-XV fallback stringsEike Rathke2013-09-101-2/+5
| | | | Change-Id: Iedc5924cf5100a2e7d014be68dc4897d3c0e76a0
* added overrides for fallbacks of legacy codesEike Rathke2013-09-101-0/+23
| | | | Change-Id: I62be84904b3f0f4beeda35e78906604090eefa86
* include language-only in ISO-only fallback stringsEike Rathke2013-09-101-0/+5
| | | | Change-Id: I6da1b2b46c724c72bff3b1ee9739f2625a0321c2
* getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke2013-09-051-2/+2
| | | | | | | so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5