summaryrefslogtreecommitdiff
path: root/i18nlangtag
AgeCommit message (Collapse)AuthorFilesLines
2018-05-15Resolves: tdf#117617 Add Iloko [ilo-PH] to language listEike Rathke1-0/+1
Change-Id: If8444a847fa652de8b7b834e08c3e5116721c987
2018-05-08Add Ju|’hoansi [ktz-NA] and Naro [nhr-BW] to language listEike Rathke1-0/+2
Change-Id: I65c048a7d52432a7d268b9a0f58aba7efc12a16e
2018-05-04Add Malay Arabic [ms-Arab-MY] and [ms-Arab-BN] to language list, both CTLEike Rathke3-3/+9
Change-Id: Iac7dddf8b29048c504b9ec695ecd08e5bf12a768 Reviewed-on: https://gerrit.libreoffice.org/53828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2018-03-18Use for-range loops in hwpfilter, i18n*, idl* and ioJulien Nabet2-27/+27
Change-Id: I980464162b73ed9ee0a09acbca1b9050af8d1027 Reviewed-on: https://gerrit.libreoffice.org/51492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-03-01Visually align the table againEike Rathke1-524/+524
Change-Id: I1e68f06cd33608919ac9122521954f330b8cfe93
2018-03-01Generate entries with k0Eike Rathke1-4/+4
Change-Id: I2e1612610989723fa42263e6998c4750fb51c515
2018-03-01Resolves: tdf#116058 add Armenian [hy-IR] [hy-RU] [hyw-AM] [xcl-AM]Eike Rathke1-0/+4
Change-Id: I00890f8a7787c7cb9f6016c4283d38b25523a0c9
2018-03-01Re-generate from 12/1/2017 11.0 revision, no additions/deletionsEike Rathke1-462/+462
Unified layout with uppercase hex digits and single spaces, so the next comparison should be easier. Change-Id: I144a319e5f1e4275aef8ce0a66c82f97ab8070bc
2018-03-01Generate MS-LCID.lst with uppercase hex and unified spacesEike Rathke1-4/+9
As content and layout in the original PDF changes back and forth. Change-Id: I4666343f9c9d1bd779c80b9031f5b85de4363a58
2018-02-01i18nlangtag: MSVC: pragma warning: make more specific, remove obsoleteMike Kaganski1-6/+0
Change-Id: I88e2b2e68fbbc86639db986e8f430a90bd4b94f0 Reviewed-on: https://gerrit.libreoffice.org/48982 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-01-24Remove old comment left overEike Rathke1-1/+0
Change-Id: I5f6d47afc2f27b1033201b3fa280359a215f38b5
2018-01-23Adapt to svtools/inc/langtab.hrcEike Rathke1-5/+6
svtools/source/misc/langtab.src is dead since a while. Change-Id: I373f715d337a47f6ea1e935a7a50565f0e6b3ba2
2018-01-12More loplugin:cstylecast: i18nlangtagStephan Bergmann1-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
2018-01-05ofz#4952 avoid liblangtag config when fuzzing enabledCaolán McNamara1-2/+10
Change-Id: I9f2b0cbb5108f57ec2f80ebe24f748c33ea9cf59 Reviewed-on: https://gerrit.libreoffice.org/47477 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04Add Plautdietsch [pdt-CA] to language listboxEike Rathke1-0/+1
Change-Id: Icf2307649858721a7cde38e8fa892fc3cb1ff08c
2017-11-14Resolves: tdf#113835 add Fon [fon-BJ] to language listEike Rathke1-0/+1
Change-Id: Iee741421d8f6a9a2b9b14439612890426cdf4712
2017-11-10clang-tidy modernize-use-equals-default LanguageTagJochen Nitschke1-32/+0
mbIsFallback was added to ctor but not to copy assignment in commit 258d9fac7544f925c8250bad99b9554cc49578d5 CID#1103756 missing initialization Change-Id: I91ee5daf68c3c3682b5d7007c028eaf3579a0715 Reviewed-on: https://gerrit.libreoffice.org/44563 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-31loplugin:constantparam in i18nlangtagNoel Grandin2-21/+15
Change-Id: I148a47a9b63b78651ec18cd947f45b8f4dbb9345 Reviewed-on: https://gerrit.libreoffice.org/44094 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27loplugin:includeform: i18nlangtag (Windows)Stephan Bergmann1-1/+1
Change-Id: I932552d72767df1b05e2cb8137eb467835b4dbac
2017-10-25loplugin:constmethod in comphelper,ucbhelperNoel Grandin1-8/+16
Change-Id: I27a860fbbedd2174c60c199af18cae76e02abc25 Reviewed-on: https://gerrit.libreoffice.org/43759 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-23loplugin:includeform: i18nlangtagStephan Bergmann5-11/+11
Change-Id: I3a6a384e0116820580ee8b1647dd2a140bd76136
2017-10-23overload std::hash for OUString and OStringNoel Grandin1-1/+1
no need to explicitly specify it anymore Change-Id: I6ad9259cce77201fdd75152533f5151aae83e9ec Reviewed-on: https://gerrit.libreoffice.org/43567 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-09-12Unit tests for 'es_ES_u_co_trad' and 'es_ES_tradnl', tdf#83190Eike Rathke1-0/+51
Change-Id: Iac2b892f3b3e4146101a99d1febb6110c83e56ed
2017-09-12Handle 'es-ES_tradnl' and 'es-ES-u-co-trad' as known, tdf#83190 follow-upEike Rathke1-1/+33
LanguageTagImpl::simpleExtract() needs to handle them because for known tags mpImplLangtag is not used to extract language, country, region; which for the malformed 'es-ES_tradnl' wouldn't work anyway. Change-Id: I1efcf32e90e513d5af4624c7ae15848d1fe951a7
2017-09-11clang-tidy modernize-use-emplace in hwpfilter..lotuswordproNoel Grandin2-43/+43
Change-Id: Ic11634ca28396fd156390c511087bae03bd5fb70 Reviewed-on: https://gerrit.libreoffice.org/42156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-09-05Fix for old GCCStephan Bergmann1-1/+1
Change-Id: I8c1cba6a4418974a28f198d582b05bd829dbb9ff
2017-09-05Map MS malformed es-ES_tradnl to proper BCP 47 es-ES-u-co-trad, tdf#83190Eike Rathke3-6/+3
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-09-05Introduce LanguageTag::getBcp47MS() for writing MS malformed tags, tdf#83190Eike Rathke1-0/+8
Change-Id: I1e2815b9ae60681c7cddc416cc05bf4c70dcc48a
2017-07-21replace localestr with a script for the supported translation targetsCaolán McNamara3-58/+0
Change-Id: Ia0c00f6f978428d68b3c53051e26e1913b207dbe
2017-07-21don't build localestr when cross-compilingCaolán McNamara1-0/+8
Change-Id: Ia776d159aecc3082f46efe5bdd46477b45576b31
2017-07-21migrate to boost::gettextCaolán McNamara4-6/+76
* 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
2017-07-17loplugin:unnecessaryparen: i18nlangtag (clang-cl)Stephan Bergmann1-2/+2
Change-Id: I77d010932d8d56ce295a88d63bee96a9219d4a4d
2017-07-10teach unnecessaryparen loplugin about identifiersNoel Grandin1-1/+1
Change-Id: I5710b51e53779c222cec0bf08cd34bda330fec4b Reviewed-on: https://gerrit.libreoffice.org/39737 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-06use OString::operator== in preference to ::equalsNoel Grandin1-3/+3
Change-Id: Ib291521963a791a9c6175964571e9d9895072acf Reviewed-on: https://gerrit.libreoffice.org/39646 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-25loplugin:oncevar in helpcompiler..jvmfwkNoel Grandin1-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>
2017-06-19Add Kituba (Democratic Republic of the Congo) [ktu-CD] to language listEike Rathke1-0/+1
Change-Id: I9ba7a9d104dd6a5e47aa62058d0602101053e9af
2017-06-05spelling instanciate -> instantiateNoel Grandin1-1/+1
Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81 Reviewed-on: https://gerrit.libreoffice.org/38401 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-08Make kSAME constexpr and move k0 to the same place.Eike Rathke1-2/+2
Change-Id: Id99d2dd799d3ee0cc2badf4aaf1b5acd7fb02c27
2017-05-08Whatever LANGUAGE_SYSTEM may be in future, this has to be 0Eike Rathke1-1/+1
Change-Id: Iddc4dcf3e29919b092560d3bdd81ca85667b224b
2017-05-08Adapt to reality, defines are LanguageType strong_intEike Rathke1-7/+7
... since c70d49c7c888da8cfd73db8585e7be1f37fc398a, so adjust the regex. Change-Id: I460b5983cd7a0d3e4c4368e946bb8b8f6153f9a4
2017-04-26use strong_int for LanguageTypeNoel Grandin4-885/+826
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-04-24loplugin:checkunusedparams in i18nlangtag and l10ntoolsNoel Grandin1-1/+1
Change-Id: If7c7404b1cc1cf9445a2af8106f7326b76524388 Reviewed-on: https://gerrit.libreoffice.org/36883 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-24clang-tidy readability-simplify-boolean-expr in hwpfilter..lotuswordproNoel Grandin1-3/+1
Change-Id: I945d3fe6af5f88937b341dfc3696bf1d36344862 Reviewed-on: https://gerrit.libreoffice.org/36874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2-2/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-03-30remove type decorations on char literalsJochen Nitschke1-3/+3
they are only needed where type deduction fails. left them in defines for now. Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09 Reviewed-on: https://gerrit.libreoffice.org/35893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-19scp2: Removed unused Directory itemsStephan Bergmann1-5/+0
Change-Id: Ib095e8eb9f9b79864f6a50557994f4d24f0bd2a4
2017-03-15tdf#105448 add Xibe [sjo-CN] to language list (and remove Sibe [nco-PG])Eike Rathke2-1/+2
... the latter which was a misunderstanding and erroneous. Change-Id: I4ec8eaf14348aaaed43ea4578d46b5488279c85b
2017-03-14tdf#100462 prefer en-GB-oxendict over en-GB-oedEike Rathke3-23/+56
And make en-GB-oed just an alias of en-GB-oxendict. Change-Id: I73c1208f85d06360dbd8def0b8d916cddfe59aca
2017-03-03Remove redundant 'inline' keywordStephan Bergmann1-1/+1
...from function definitions occurring within class definitions. Done with a rewriting Clang plugin (to be pushed later). Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8 Reviewed-on: https://gerrit.libreoffice.org/34874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-24Always enable liblangtagKhaled Hosny5-637/+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>