summaryrefslogtreecommitdiff
path: root/include/i18nlangtag
AgeCommit message (Collapse)Author
2017-12-04Resolves: tdf#114201 Add Plautdietsch [pdt-CA] to language listboxEike Rathke
(cherry picked from commit 01c7c4e1cb074f88440336068285495743bd6b37) Change-Id: Icf2307649858721a7cde38e8fa892fc3cb1ff08c Reviewed-on: https://gerrit.libreoffice.org/45822 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-11-14Resolves: tdf#113835 add Fon [fon-BJ] to language listEike Rathke
Change-Id: Iee741421d8f6a9a2b9b14439612890426cdf4712
2017-11-10clang-tidy modernize-use-equals-default LanguageTagJochen Nitschke
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 Grandin
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-25loplugin:constmethod in comphelper,ucbhelperNoel Grandin
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-04Add 0xF400 and 0xF800 constants for number format code modifiers, tdf#102075Eike Rathke
Change-Id: Ic379135f2d12023b1d50d70e72b640e2380483b7
2017-10-02Remove now moot comment about comments and .src file inclusionEike Rathke
Since RSC is gone.. Change-Id: I146e6a7284766f0462ba8099458700507d982214
2017-09-05Introduce LanguageTag::getBcp47MS() for writing MS malformed tags, tdf#83190Eike Rathke
Change-Id: I1e2815b9ae60681c7cddc416cc05bf4c70dcc48a
2017-07-21de-hrc various thingsCaolán McNamara
e.g. helpid[s].hrc -> helpids.h and insert include guards where missing move "ordinary" defines into .hxx files remove .hrc entries that are used as arguments to dialog factory when a dedicated method can be added instead Change-Id: I792fb8eb0adfaa63cf354e6e57401fc943e9196e
2017-06-26Fix typosAndrea Gelmini
Change-Id: I2ce725f87ee6f8ebcffbac268cc7e7f8850023e5 Reviewed-on: https://gerrit.libreoffice.org/39232 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-19Add Kituba (Democratic Republic of the Congo) [ktu-CD] to language listEike Rathke
Change-Id: I9ba7a9d104dd6a5e47aa62058d0602101053e9af
2017-06-07tdf#108349: fix LanguageType conversions from UNO "short"Michael Stahl
The bugdoc uses LANGUAGE_USER_LATIN_VATICAN LanguageType(0x8076). The UNO API uses signed "short" for these in various interfaces, and so the LanguageType constructor complains about out-of-(short)-range values. Avoid this by deleting the problematic constructor, so that the places that currently call it with API parameters can be changed to first cast the parameter to unsigned. (Yes, we need to write "template<>" twice in a row. Don't ask me why, i just work here. sberg says we also need to omit the explict <short>.) Change-Id: I2443a89bc8d579504fc707ded3d145f9a625597a Reviewed-on: https://gerrit.libreoffice.org/38473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-30drop LANGUAGE_USER_MALAGASY_PLATEAU defineNoel Grandin
since it's just an alias for LANGUAGE_MALAGASY_PLATEAU, at least as far back as commit 6b678c135da07f34da1bf7b19562366361e95085 "added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdf" Change-Id: I18645160cb1808c967fd6efd36e1d4269e4734ff Reviewed-on: https://gerrit.libreoffice.org/38187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-30teach redundantcast plugin about functional castsNoel Grandin
Change-Id: Iac8ccd17d9e46ebb2cb55db7adb06c469bbd4ea0 Reviewed-on: https://gerrit.libreoffice.org/37910 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-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-04-25make __RSC a builtin define for the RSC compilerNoel Grandin
instead of randomly defining it in only some of .src files Change-Id: Ifec3920740723d248400f451d717b5288c421b8d Reviewed-on: https://gerrit.libreoffice.org/36832 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-24loplugin:checkunusedparams in i18nlangtag and l10ntoolsNoel Grandin
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-03-21Just include rtl/locale.hStephan Bergmann
Change-Id: Ida509af3632bf6dccc139c770bd3cbdee7b71fca
2017-03-15tdf#105448 add Xibe [sjo-CN] to language list (and remove Sibe [nco-PG])Eike Rathke
... the latter which was a misunderstanding and erroneous. Change-Id: I4ec8eaf14348aaaed43ea4578d46b5488279c85b
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-03-03Remove redundant 'inline' keywordStephan Bergmann
...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-01-31a whole bunch of SAL_WARN_UNUSEDNoel Grandin
Change-Id: Iea28debc7d3abc58cca21bd3856cb65b321dc1e6 Reviewed-on: https://gerrit.libreoffice.org/33693 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-30tdf#105448 add Sibe [nco-PG] to language listEike Rathke
Change-Id: If7dfeaa0dd4cf4d164147b8b866f7c493a5af669
2017-01-30tdf#105448 add Manchu [mnc-CN] to language list (CTL)Eike Rathke
Change-Id: Ia19da31a3df0a7d196997eedef07d8a28aa2e72c
2016-12-05loplugin:countusersofdefaultparams in include/drawinglayer..i18nlangtagNoel Grandin
Change-Id: I081ed66a88fc11648f5c63919c3de2a71f1afd59 Reviewed-on: https://gerrit.libreoffice.org/31556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
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-08-29name it Hungarian Rovas, tdf#97406 follow-upEike Rathke
Change-Id: I62d5a503b199922b82e7cec3e0ef971bbbd43d09
2016-08-26add Old Hungarian (Hungarian Rovas) [hu-Hung-HU] to language list, tdf#97406Eike Rathke
Change-Id: I1804a08c69d496d6d1a7a8bb657b65fbfc24beb3
2016-08-16Resolves: tdf#101540 add Silesian [szl-PL] to language listEike Rathke
Change-Id: I7f73a6286d080a5ebf1b7a1bb834a06f51be6529
2016-07-27improve passstuffbyref return analysisNoel Grandin
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-25add English (Mauritius) [en-MU] and French (Mauritius) [fr-MU], tdf#99372Eike Rathke
Change-Id: I98a0bc42a7d7f5c0943c9861556392399b9d0313
2016-04-20explicitly map 'C' locale and other known definitions to LanguageTagEike Rathke
Starting up a dbgutil build with LC_ALL=C gave i18nlangtag/source/languagetag/languagetag.cxx:1362: LanguageTagImpl::convertLocaleToLang: with bAllowOnTheFlyID invalid 'C' i18nlangtag/source/languagetag/languagetag.cxx:1533: LanguageTag::getLanguageFromLangtag: pLangT==NULL for 'C' i18nlangtag/source/languagetag/languagetag.cxx:1593: LanguageTag::getRegionFromLangtag: pRegionT==NULL for 'C' Nothing harmful in this case as the default fallback is 'en-US', but it also indicated that other known non-standard "locales" such as "sr-latin" or "german" were not resolved to the defined values. Likely such weird values are not in use anymore, but.. Change-Id: Ib3469354ceb236552540da5fd11d8f9e9c5ab1fd
2016-04-12Avoid reserved identifiersStephan Bergmann
Change-Id: Ieb94e82b102673fd3c916d09d8390e6528b37c11
2016-04-04loplugin:constantparam in i18nlangtagNoel Grandin
Change-Id: I3d7cbac7ca58f3de9771a1221196f851255f3fb9 Reviewed-on: https://gerrit.libreoffice.org/23802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03loplugin:unuseddefaultparams variousNoel Grandin
Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546 Reviewed-on: https://gerrit.libreoffice.org/22852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-27add a comment about user defined IDsEike Rathke
Change-Id: Ic830342a36360b722e9919506127f70cb8a584a6
2016-01-27tdf#97386 add Apatani [apt-IN] to language listEike Rathke
Change-Id: I8da8a9d1367ee4ef66c75aa13e8e274139f6f2eb
2016-01-22document some naming conventionsEike Rathke
Change-Id: Id73c7b56c58855fc5ae2304274b6da97272037b8
2016-01-08tdf#96647 add Interlingue Occidental [ie] to language listEike Rathke
Change-Id: I79f4581ee5d371f22f94043f1e5fa62a2ad430ff
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Idb2987dc7641c5b07d8bb99546cf5e5402032476
2015-10-23com::sun::star->css in include/i18nlangtag,i18nutilNoel Grandin
Change-Id: I847a5729911474e8dd72e28aea53969f7037ce9b Reviewed-on: https://gerrit.libreoffice.org/19526 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I6dfb5fb468c1305a8f248bf5788c5760135fd835 Reviewed-on: https://gerrit.libreoffice.org/18955 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-14add English (Botswana) [en-BW] 0x9809 to language list, tdf#94207 preparationEike Rathke
Change-Id: I6730352c830fdbbc293830f3567d61096e8d0b6f
2015-08-25tdf#93468 add Arpitan (Switzerland) [frp-CH]Eike Rathke
Change-Id: Icb96b45c936b974938c2dfae48960f727a1dc84d
2015-08-22disentangle the Dzongkha mess a littleEike Rathke
As per [MS-LCID] rev. 7.0 2015-06-30 Change-Id: If4980d2b1149d93b39e5b57f5741bbdfb5680516
2015-08-21MS finally acknowledged CubaEike Rathke
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 Rathke
Change-Id: I3a50722f07f4dbaf89b4e8829dea7b41b829c038
2015-07-27remove some unused definesNoel Grandin
Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: https://gerrit.libreoffice.org/17332 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
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