summaryrefslogtreecommitdiff
path: root/i18nlangtag/source
AgeCommit message (Collapse)AuthorFilesLines
2014-06-12disallow 'qlt' privateuse codeEike Rathke1-0/+14
... to prevent confusion with our internal usage. Change-Id: I273b80882cbe5029d04ad754c8b0636f5c59a4f6
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin1-4/+0
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-03and some replacement code for lt_tag_get_privateuse(), sigh..Eike Rathke1-0/+24
Change-Id: Ida5064f32a16269b16ec16c0ce9f42ea895641f9
2014-06-03add bDisallowPrivate parameter to LanguageTag::isValidBcp47()Eike Rathke1-3/+12
Change-Id: I0924b0fa268c38c238226d082cf26595bba72f0c
2014-06-02add LANGUAGE_USER_FRENCH_TOGO 0x8C0C [fr-TG] French (Togo), fdo#79353Eike Rathke1-0/+1
Change-Id: Id1e127a3652d4bef280327c2a62d95c17c012656
2014-06-02add LANGUAGE_USER_FRENCH_NIGER 0x880C [fr-NE] French (Niger), fdo#79352Eike Rathke1-0/+1
Change-Id: I6d793317bc1caef4a95275bad263a5b2feac12e4
2014-06-02add LANGUAGE_USER_FRENCH_BENIN 0x840C fr-BJ French (Benin), fdo#79351Eike Rathke1-0/+1
Change-Id: Idc54b0fae9283d795b79231214cf14aae43adca2
2014-05-26Fix refcountingStephan Bergmann1-1/+5
Change-Id: I2225b2a2dc0648ec3b9e2af251cd1a3502199383
2014-05-21add static LanguageTag::isValidBcp47()Eike Rathke1-0/+40
Change-Id: I2c646b3e2f13a6fccc845ce8eb82fccee154f3c6
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante1-1/+1
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-04-16CID#1202769 comfort coverityEike Rathke1-2/+8
Change-Id: I84214dde71883065f1ca3737180f0d739b49d8ee
2014-02-28remove unused code from i18nlangtag/LanguageTagNoel Grandin1-28/+0
Specifically: LanguageTag::LanguageTag() LanguageTag::getRegion() const LanguageTag::reset(_rtl_Locale const&) Change-Id: I8822db6e1df7cd912e9ae82cb9d9f51370d4c583
2014-02-26added Lengo [lgr-SB], fdo#72512Eike Rathke1-0/+1
Change-Id: I8614619224d65118d6057eab6c3f6f7ee8efc617
2014-02-26Remove visual noise from i18nlangtagAlexander Wilms3-5/+5
Change-Id: I82680dea7e6d182d4c8047fce60d2cae09d29891 Reviewed-on: https://gerrit.libreoffice.org/8268 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26added Cree, Plains, Latin [crk-Latn-CN] and Syllabics [crk-Cans-CN], fdo#73973Eike Rathke1-0/+2
Change-Id: I66b2923a59e06c5798d8debb14eb2282c9a4fb1d
2014-02-25added Avar [av-RU], fdo#75161Eike Rathke1-0/+1
Change-Id: Id8e32dab357d0eda90d36ab4e53f3eb2da769029
2014-02-25added Maninkakan, Eastern, Latin [emk-Latn-GN], fdo#74672Eike Rathke1-0/+1
Change-Id: Ib75136c6f0604cb6e3125e39a1514bbcc9ade079
2014-02-25remove unused code LanguageTag::convertLocaleToBcp47()Noel Grandin1-7/+0
Change-Id: I4c655c16850ccfec44010ce8b100eeff0c8c3826
2014-02-25remove unused code LanguageTag::convertLangToBcp47()Noel Grandin1-7/+0
Change-Id: Iebbef192b7a8692003dc3f31d5b905efeae2cf25
2014-02-23Remove unneccessary commentsAlexander Wilms3-16/+16
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-06Resolves: rhbz#975421 wrong chart direction in FarsiCaolán McNamara1-0/+9
Where Farsi (and apparenly Moroccon) are RTL but have LTR math and charts should reportedly follow the math direction Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
2014-01-10IsoLanguageCountryEntry.mnOverride is LanguageType, not boolStephan Bergmann1-1/+1
Change-Id: I7575952918fd28c60bb48bfb6b97df210dca8de2
2013-12-19support ca_ES@valencia glibc locale modifier, fdo#68714Eike Rathke1-0/+1
Change-Id: I2723ee4664844923d7c441cfd33c7bd767f1e7d3
2013-12-18the MS Serbian Latin Neutral messEike Rathke1-1/+1
There are two LangID values mapping to Serbian Latin (without country) which lead to the UI language selector displaying "sr-Latn" instead of "Serbian Latin" because conversion picked the other one. Consistently use LANGUAGE_SERBIAN_LATIN_LSO and don't trap into LANGUAGE_SERBIAN_LATIN_NEUTRAL (whatever that might be). Change-Id: I6ae6c2027048c99096b4d9d703a0dc73784b52f1
2013-12-18resolved fdo#72778 keep setting system locale and LanguageTag in syncEike Rathke2-2/+19
Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara2-2/+2
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-02added Kurdish, Southern (Iran) [sdh-IR] to language list, fdo#63460Eike Rathke2-0/+3
Change-Id: I575c8a51cff1cf451c776818711d2e0fd458a322
2013-11-21removed declared but undefined LanguageTagImpl::convertFromRtlLocale()Eike Rathke1-2/+0
Change-Id: I928fb77181991948216bb18cdfcea0816218a2b9
2013-11-21handleVendorVariant() strip in case some was injectedEike Rathke1-0/+13
Change-Id: I73c42a99671524e9fb186257a9bc943d514958c2
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold1-2/+0
* Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-18cleaned up ISO code usage for Kurdish, fdo#63460Eike Rathke3-7/+77
* 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-11-11added Puinave [pui-CO] to language list, fdo#71454Eike Rathke1-0/+1
Change-Id: Ib188b2a8dbfbc91f2e89952d6df2c0c357091a78
2013-11-08adapted to realityEike Rathke1-40/+124
Change-Id: I79d91598b3104fb50d6c19aca135b8d16347ab79
2013-11-07more cruftEike Rathke1-7/+2
Change-Id: Ia6b975080598a87c5e262374efde9efb186051b1
2013-11-07make this work againEike Rathke1-3/+3
Change-Id: I0ac5dfdea6b5785b1651c3b362bbddea2354e7c1
2013-11-06cut cruftEike Rathke1-37/+10
Change-Id: Ibd1669b22e990d21b3fb35a6d412067e80b602b8
2013-11-05added French (Burkina Faso) [fr-BF] locale data, fdo#71243Eike Rathke1-0/+1
Change-Id: I788d1d1c54cc0a30cbbdc07066bf133c2814304a
2013-10-29assume 'ha-*' was indeed used as 'ha-Latn-*'Eike Rathke1-3/+3
Change-Id: I5675bf4ee3d255725c1fda2bdd223d7c9d821ab3
2013-10-25override 'yi-Hebr-*' with 'yi-*' as Hebr is suppress-scriptEike Rathke1-2/+2
Change-Id: Iaae25a7d517404fc9c8186fd1006f9a4af82f584
2013-10-25override 'sr-Cyrl*' with 'sr*'Eike Rathke1-5/+5
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-25for 'sd' language-only find 'sd-PK' first instead of 'sd-IN'Eike Rathke1-1/+1
which is overridden by sd-Arab-PK and our 'sd' translation is Arabic script. Change-Id: I5d4c90cbb3b7ff82c61301b86fc7cdd494284236
2013-10-25Sindhi 'sd-PK' => 'sd-Arab-PK'Eike Rathke1-3/+3
Change-Id: I418a991f4555a411ea05237010f64b03552affe5
2013-10-25more flexible language tag override mechanismEike Rathke3-563/+691
* 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 isNonLatinWestern()Eike Rathke1-0/+42
Change-Id: Ie2aadab8302f365379a569989bd9640db55b9716
2013-10-24raw LangID list for referenceEike Rathke1-0/+460
... to hopefully be able to generate a diff when the next release of MS-LCID.pdf will be available at http://msdn.microsoft.com/library/cc233965.aspx Change-Id: I10877cdc8d4b90c6b971dfa5e05ad796fd2a2d00
2013-10-24shell script to extract LangIDs and mappings from MS-LCID.pdfEike Rathke1-0/+88
... as downloaded from http://msdn.microsoft.com/library/cc233965.aspx Change-Id: I07f81ca0d6230c38f1f80f93f262debdf939ca87
2013-10-24added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdfEike Rathke3-68/+194
... 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-24adapt to new IsoLanguageCountryEntry structEike Rathke1-6/+6
IsoLanguageScriptCountryEntry and Bcp47CountryEntry are still missing. Change-Id: Ie22c6031a6bf8598ee71f4720b4d4b9d5bac97d4
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist2-3/+3
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-18added Ladin [lld-IT] to language list, fdo#70530Eike Rathke1-0/+1
Change-Id: I9bd65a7f66710d94a2c4dbe6d1b28f8ddef8d9a3