summaryrefslogtreecommitdiff
path: root/i18nlangtag
AgeCommit message (Collapse)AuthorFilesLines
2016-04-14Resolves: tdf#73973 it's [crk-Latn-CA] and [crk-Cans-CA]Eike Rathke2-2/+6
Change-Id: I0da8562fc378f873e208919999bfc85f30d26778 (cherry picked from commit a2b289c403b7759032a2a50ae23b27f7bd74409f) Reviewed-on: https://gerrit.libreoffice.org/24082 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-01-26tdf#97315 add Basque [eu-ES] and map [eu] to [eu-ES]Eike Rathke2-2/+3
(cherry picked from commit 72c5e230f9cda8e18f63f7bbc6567487b4c5a5e0) i18npool: fix build Looks like 72c5e230f9cda8e18f63f7bbc6567487b4c5a5e0 missed the makefile change. (cherry picked from commit a6c8b41c4df79183c5d2c1450c010768ac7d82f6) 2d887ca6cb6c698fdb2d24029f38cce6050e0881 Change-Id: I89641fa82f0d0129aeff0d86a10be26cdc721dfc Reviewed-on: https://gerrit.libreoffice.org/21725 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-11-24cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann3-13/+13
Change-Id: Idb2987dc7641c5b07d8bb99546cf5e5402032476
2015-10-19com::sun::star->css in i18nlangtagNoel Grandin4-45/+45
Change-Id: I8a153a4b3a1bdb8a298c3c76a6b51693c42a0688 Reviewed-on: https://gerrit.libreoffice.org/19444 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-14Pass ENABLE_LIBLANGTAG into code via config_liblangtag.hStephan Bergmann4-15/+6
...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 Bergmann2-8/+8
Change-Id: I4dbc7ead359fc4cae0ac9d5eb98523590dd8954e
2015-09-14add English (Botswana) [en-BW] 0x9809 to language list, tdf#94207 preparationEike Rathke1-0/+1
Change-Id: I6730352c830fdbbc293830f3567d61096e8d0b6f
2015-08-25tdf#93468 add Arpitan (Switzerland) [frp-CH]Eike Rathke1-0/+1
Change-Id: Icb96b45c936b974938c2dfae48960f727a1dc84d
2015-08-23adapt mapping lines to current isolang.cxx entriesEike Rathke1-6/+17
and some usage comments Change-Id: I264d6e1ed52046e58284a2090eff3e8911c87f6a
2015-08-23new list of [MS-LCID] rev. 7.0 2015-06-30Eike Rathke1-460/+462
See http://msdn.microsoft.com/library/cc233965.aspx Change-Id: I5b86a309049806c2c67fe185acc421bf20de89cd
2015-08-23Russian Moldova ru-MD, mo-MD merged with ro-MDEike Rathke1-1/+3
Change-Id: Id168238f85fcec6ead008e0757c584dfd4326883
2015-08-22disentangle the Dzongkha mess a littleEike Rathke3-3/+14
As per [MS-LCID] rev. 7.0 2015-06-30 Change-Id: If4980d2b1149d93b39e5b57f5741bbdfb5680516
2015-08-21MS finally acknowledged CubaEike Rathke2-1/+5
As per http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-LCID%5D.pdf from https://msdn.microsoft.com/library/cc233965.aspx Release: June 30, 2015; Revision 7.0 So do the mapping from the now obsolete user defined LCID. Change-Id: I57cc5f4bb5d5b86d3c056123fdda9bb50b5b8968
2015-08-21Resolves: tdf#93468 add Arpitan (France,Italy) [frp-FR] [frp-IT]Eike Rathke1-0/+2
Change-Id: I3a50722f07f4dbaf89b4e8829dea7b41b829c038
2015-08-11loplugin: defaultparamsNoel Grandin2-6/+6
Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
2015-08-04idl,framework,forms: inline some use-once typedefsNoel Grandin1-2/+1
Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb
2015-08-03re-added accidentally removed LT_HAVE_INLINE defineNoel Grandin1-0/+1
in my commit 0ea54aed15ee17a02c9dff861c16d06505f35741 "remove some unused defines" Change-Id: I2d8d9242eda9f39e1f932b2d9849fefb57b196eb Reviewed-on: https://gerrit.libreoffice.org/17496 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03remove some unused definesNoel Grandin1-1/+0
Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
2015-07-10support en-GB-oxendict additionally to now deprecated en-GB-oedEike Rathke3-5/+41
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-09tdf#90428 add Aranese [oc-ES] to language listEike Rathke1-0/+1
Change-Id: Ieb66fd5d84afd666d66d47c936aa7ebdc7bcb1da
2015-07-08fix langtag test with liblangtag 0.5.7David Tardon1-1/+4
Change-Id: Ic8639daa5a32cf98fa17903424b00916cb6d8c6f
2015-07-03Fix typosAndrea Gelmini1-1/+1
Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-30add English (Gambia) [en-GM] to language list, tdf#92442Eike Rathke1-0/+1
Change-Id: Ifcc2d9c53660f8af92739bd674987acfc1d610d2
2015-06-21Fix typosAndrea Gelmini1-1/+1
Change-Id: I2297bf392a405f02be2450f4624f1c9fc0b512ce Reviewed-on: https://gerrit.libreoffice.org/16373 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-03tdf#91199 add Venetian [vec-IT] to language listEike Rathke1-0/+1
Change-Id: Ide2837739a32142c39e933bda5761d620dcf2a35
2015-05-20teardown is only called from ~LiblangtagDataRef, anywayStephan Bergmann1-24/+12
...so don't obscure that sad reality Change-Id: I0ddd572e55d66f6c23c776ca62885b6ba482bf5e
2015-05-20typoStephan Bergmann1-11/+11
Change-Id: Ic6869491940482e866ec8e803ded89752746ab73
2015-04-29tdf#90802 add Church Slavic [cu-RU] localeAleksandr Andreev1-0/+1
Change-Id: Id8322661f79f4d500fd59c19fc04b13e82c7126d Reviewed-on: https://gerrit.libreoffice.org/15540 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-04-27More loplugin:simplifyboolStephan Bergmann1-39/+39
Change-Id: I27dab9c717b0b4d38e1273006002ff595ddf4736
2015-04-20convert AppleLanguageId to scoped enumNoel Grandin1-118/+118
Change-Id: I6646872f76bb9365a8c2ef809bc942f28b690a32 Reviewed-on: https://gerrit.libreoffice.org/15378 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin1-1/+1
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-03-29loplugin:checkconfigmacrosStephan Bergmann1-1/+1
Change-Id: I2948340c8c0be50543a898f07b125e7eaccc8909
2015-03-29WaE: macro "LT_HAVE_INLINE" is not usedDavid Tardon1-3/+3
Change-Id: I375449ac3068927f525881b0022721130c9c63d6
2015-03-27loplugin:staticfunctionNoel Grandin1-1/+1
Change-Id: Id796b799f8e2fcc3eae98d43800c5e31fec27fef
2015-01-05Add TODO comment for when liblangtag gets updatedStephan Bergmann1-0/+3
Change-Id: Ic90a9e76c5b1ecbe58ff663ec8970841b7e33d2d
2015-01-04boost::unordered_map->std::unordered_mapCaolán McNamara1-2/+2
Change-Id: I82f668ef72e916d2ff11df5cda2a02653999f66f
2014-12-18i18nlangtag: Use appropriate OUString functions on string constantsStephan Bergmann1-31/+31
Change-Id: I0c3a20e1d1273944f1f0f2f886d5d951e916336c
2014-12-02Work around -Werror,-Wkeyword-macroStephan Bergmann1-0/+1
...where liblangtag/lt-macros.h does #undef inline because LT_HAVE_INLINE is not defined---liblangtag has a config.h (that would define it), but for whatever reason does not include it... Change-Id: I6a6f0a3522b7aef12573af7d7c4c00bb0f1368eb
2014-11-18cppu: clean up public headers with include-what-you-useMichael Stahl3-1/+4
Unfortunately iwyu gets quite confused by the weird cyclic dependencies between various foo.h/foo.hxx and cppumaker generated headers, so it's not obvious if any improvement here is realistic... Change-Id: I0bc66f98b146712e28cabc18d56c11c08418c721
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava3-17/+26
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini3-3/+3
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-11for unknown locales check is needed even for ll[l][-CC] tag, fdo#86011 relatedEike Rathke1-16/+11
Found when investigating fdo#86011 where 'du-nl' was accepted and assigned an on-the-fly-ID even if the 'du' language code is not defined in ISO 639. If a tag is not internally known we need to check it using liblangtag and take no short cut assuming it would be alright even not for the simplest case. Change-Id: Ib8c1eb77b6b4a59019c4c8248b596bf53c0f4986
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann1-1/+1
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin1-1/+1
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-09-17add Kven Finnish [fkv-NO] to language list, fdo#83332Eike Rathke1-0/+1
Change-Id: I3faa39ebc32e909bd2e7eeee6ae67c6f3148fb7c
2014-09-16fdo#81357 no fallback for special codes without countryEike Rathke1-0/+4
Thanks to Justin Luth for the hint. Change-Id: I97bde18814368e589e2a1c275457489a0d7392d4
2014-09-12map Apple LanguageId to LanguageTagCaolán McNamara1-0/+367
Change-Id: Ib203264ae89aef66f0e9b011ef9a34a8670500de
2014-08-04suppress legacy locales, fdo#44112 relatedEike Rathke1-0/+16
With MsLangId::isLegacy() locales can be suppressed in language lists and are not offered unless actually used at the current position of the document. Language attribution now handles adding a language/locale to the list on the fly. For example, Serbian (Latin or Cyrillic) for "Serbia and Montenegro" are legacy locales, the confederation doesn't exist anymore. A further candidate would be pap-AN as the Netherlands Antilles ceased to exist, see fdo#44112. Suppressing "Serbian Cyrillic (Serbia and Montenegro)" also has the nice benefit of narrowing the language list box width a little ... Change-Id: Id05cce328622465016901524b759369c18bc4dbd
2014-07-01New loplugin:stringconcatStephan Bergmann1-6/+3
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac