summaryrefslogtreecommitdiff
path: root/i18npool/source
AgeCommit message (Collapse)Author
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-26unify the spelling of 'Kazakh' language nameAndras Timar
While 'Kazakh' can be written as 'Kazak' or 'Qazaq', the 'Kazakh' form is the most widespread according to online sources (Wikipedia, LCID list from Microsoft). Also the 'Kazakh' form is preferred by a Kazakh contributor, see http://listarchives.libreoffice.org/global/l10n/msg05444.html In LibreOffice both 'Kazak' and 'Kazakh' was used at different places. Change-Id: Ief83eb05e92af16cb5b795f2bbb1e3d6f7c9659a
2013-01-16Do not hide information about UNO bootstrap failuresStephan Bergmann
Change-Id: I42ce84a00c4de60d30093f58214f76647ff03097
2013-01-15fdo#59197 added Sidama_Ethiopia [sid-ET] locale dataTadele Assefa
Change-Id: Id40a5f1d726b9d2b4cf78fbbf51d980517c743a1
2013-01-15fdo#46808, Convert services in i18npool to XComponentContextNoel Grandin
Change-Id: I3aeaca995bc9a3d865b6955aa47cee4d9eb07750
2013-01-02partly revert 92a9b7780c6e13a4da3b12794342edbc4c09ef51 for ICU < 49Eike Rathke
Re-enable build with ICU 4.6 and 4.8 ICU versions prior to 49 don't know Conditional_Japanese_Starter and Hebrew_Letter Also, the change in i18npool/CustomTarget_breakiterator.mk - -e "s#\[:LineBreak = Close_Punctuation:\]#\[& \[:LineBreak = Close_Parenthesis:\]\]#" \ with i18npool/source/breakiterator/data/line.txt -$CL = [:LineBreak = Close_Punctuation:] ; +$CL = [:LineBreak = Close_Parenthesis:]; did not produce equivalent results. Instead use $CP = [:LineBreak = Close_Parenthesis:]; $CL = [[:LineBreak = Close_Punctuation:] $CP]; Change-Id: I14fc14319ea34f23393264560452a79bb49fc3a7
2012-12-29follow logical consequences of a minimum icu version of 4.6Caolán McNamara
since commit f20ed8959bc0a984177377a734d34f767653625b Change-Id: I4f2fc5d9eb7a581b9ed707a3c3f96be817141846
2012-12-21getFunctionSymbolByName: make fall-back locale actually workMichael Meeks
Change-Id: I7313cca3335e1b41df2a70fe968bc1e6386a1e36
2012-12-21Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21Adapt i18npool saxparser to defaultBootstrap_InitialComponentContextStephan Bergmann
...instead of deprecated cppu::createRegistryServiceFactory. Change-Id: I64431f3d404e24267953de3fb94e3e5241db30a8
2012-12-21fdo#58590 - cleanup and accelerate break-iterators.Michael Meeks
Doing word-count by switching per-word between two different kinds of word iterator was insanely slow. This preserves an ICU break-iterator for each type of word-breaking.
2012-12-19added [hr-HR] D.M.Y. date acceptance pattern (dot after year)Eike Rathke
Change-Id: Ie212f2e91b3ef262997bcd125817769ae24c16c3
2012-12-13introduced [mul] multiple and [und] undetermined language codesEike Rathke
Various places use an empty locale or string to indicate different meanings and/or variants of "this is not a real locale but I didn't know what to use else" or abuse LANGUAGE_DONTKNOW in one or the other way. In preparation of changing that awkward situation now offer the ISO 639 codes for multiple languages [mul] and language undetermined [und], mapping to LANGUAGE_MULTIPLE and LANGUAGE_UNDETERMINED. Change-Id: I687de23ffc00a9a056f2837b024e0a62658e3df2
2012-12-11avoid liblangtag processing for known locales, and know 'qtz'Eike Rathke
For "simple" known (to us) locales avoid the overhead of liblangtag, also in preparation of not having to initialize its database during startup. This also enables recognition of the 'qtz' pseudolocale for key ID resources again, see fdo#57413 Change-Id: Id52a1ddc37b42063e3bf68a6dbeaeacfbfa704ef
2012-12-10fdo#52240 added [hr-HR] date acceptance patterns D/M/Y;D/MEike Rathke
As per https://bugs.freedesktop.org/show_bug.cgi?id=52240#c59 Change-Id: I9f5ba81c5fd6732ca7e90e0480fcc02ed2709674
2012-12-10fdo#52240 added [no-NO] date acceptance patterns D.M;D/M/Y;D/M;D/M YEike Rathke
Also referenced by nb-NO and ny-NO Changes as per http://erack.org/blog/archives/18-comments.html#c351 Change-Id: I9e07f4307800e99fdff21bccde91af4178b244f3
2012-12-06mvoe rtl_(u)string_alloc to salLuboš Luňák
No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-11-30Removed useless method from languagetagPaula Mannes
Change-Id: I683c54ed278d5a6ba12eaefb8040c3753a24f119 Signed-off-by: Paula Mannes <paulamannes@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1204 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30added rtl_Locale convenience ctorEike Rathke
Change-Id: I195506b32a5cbf751ac90ad1ab13680097c8c428
2012-11-30add Sidama (sid) languageAndras Timar
Change-Id: I7c7fb38d7df5aecda8e81443aa7045479e0efceb
2012-11-29resolved fdo#57668 additional date formats using '/' separatorEike Rathke
Change-Id: I0736670512dd54e67fc08b65b9fad56ab904c92d
2012-11-28changes to Congolese localesEike Rathke
Changes to commit a81a9109ed43e0b3880c9bd88e58f2b21065226b The ..._CONGO identifier and "... (Congo)" resource string changes are only to match the current convention that if a locale is not of the default country of a language we mention the country. This helps in case we later add the other locale of a language. Having two Lang-IDs then with different sublanguage and adding the ISO locales is good practice. For axk-CG it should be LANGUAGE_USER_YAKA_CONGO instead of LANGUAGE_USER_AKA and the resource string should be "Aka (Congo)", because it is not the default axk-CF (Central African Republic), see http://www.ethnologue.com/show_language.asp?code=axk For kng-CG it should be LANGUAGE_USER_KIKONGO_CONGO instead of LANGUAGE_USER_KIKONGO and the resource string should be "Kikongo (Congo)", because it is not the default kng-CD (Democratic Republic of the Congo), see http://www.ethnologue.com/show_language.asp?code=kng However, changed name to Koongo instead of Kikongo because that is the default name even for Congo, see http://www.ethnologue.com/show_language.asp?code=kng, and used LANGUAGE_USER_KOONGO_CONGO instead. For njy-CG it should be LANGUAGE_USER_NJYEM_CONGO instead of LANGUAGE_USER_NJYEM and the resource string should be "Njyem (Congo)", because it is not the default njy-CM (Cameroon), see http://www.ethnologue.com/show_language.asp?code=njy For puu-CG it should be LANGUAGE_USER_PUNU_CONGO instead of LANGUAGE_USER_PUNU and the resource string should be "Punu (Congo)", because it is not the default puu-GA (Gabon), see http://www.ethnologue.com/show_language.asp?code=puu For yom-CG it should be LANGUAGE_USER_YOMBE_CONGO instead of LANGUAGE_USER_YOMBE and the resource string should be "Yombe (Congo)", because it is not the default yom-CD (Democratic Republic of the Congo), see http://www.ethnologue.com/show_language.asp?code=yom For each of these ..._CONGO lang-IDs introduced the default ID and made the ..._CONGO ID with sublanguage 0x20, adapted corresponding IDs in *.xml files. All IDs in those *_CG.xml files needed to be corrected anyway as they all had a replaceTo="[$CFA-63A]" copied from sg_CF.xml, the ID needs to match that of the LangID instead. As all LC_FORMAT element section were identical, made them refer to kng_CG instead of having duplicated copies, same for LC_CURRENCY. Removed the executable permission bits from *_CG.xml files. Change-Id: Iae06af5fbf19e3a3c83a4f4b4dcb857213df629e
2012-11-28Add/modify locales & language list entries for Congolese languagesJeremy Brown
Change-Id: I9f65022cee5dc0201ab45192b3731115ba50f27d
2012-11-28fdo#46808, use service constructor for i18n::CollatorNoel Grandin
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
2012-11-27do not resolve LANGUAGE_NONE in MsLangId::getRealLanguage()Eike Rathke
LANGUAGE_NONE was resolved to UI language, don't do that, if desired use LANGUAGE_HID_HUMAN_INTERFACE_DEVICE instead. Change-Id: I4a45653c9dfef7cc2cddb941ea1174189708cea2
2012-11-27fdo#46808, convert i18n::BreakIterator impl to XComponentContextNoel Grandin
Change-Id: I2e6800d0f5a6346fc743d5a57bab34d1e36b4ee4
2012-11-27fdo#46808, use service constructor for i18n::NativeNumberSupplierNoel Grandin
Change-Id: I092ca8f912e26f0743909920c6e740d648b8677e
2012-11-24Move in-build liblangtag data to solver's unittest/installation/shareStephan Bergmann
...let BRAND_BASE_DIR point to solver's unittest/installation during CppUnit tests, and get rid of LIBLANGTAG_SHARE special case. (Intending to add further code to CppUnit tests soon that requires a fake BRAND_BASE_DIR, so clean this up now.) Change-Id: Ia5f0f247e54952f901c37ca31eda53f9c6591458
2012-11-22exclude language(-Script) only tags from pRegionT==NULL checkEike Rathke
Change-Id: Ie5423578e34a295aad3a03d2b29f3a6b1a6572ce
2012-11-21added operator==() and operator!=() to LanguageTagEike Rathke
Change-Id: I4f339ecaeb147a05f8882065e859902f8c14ac47
2012-11-20Blind fix for MACOSX-only MsLangId::convertIsoNamesToLanguage leftoverStephan Bergmann
Change-Id: Iec2845cb3717520e1126ac4e9743413d5f3a5119
2012-11-20slowly stabbing MsLangId::convert...() to deathEike Rathke
Change-Id: I0134593f8ba664b7a8e8a14f54485b96b749418d
2012-11-16added LanguageTag::makeFallback()Eike Rathke
Change-Id: I6a89dd2c5e34035ac1e6c9b7e4723d881c5ceaa9
2012-11-16added LanguageTag::getIsoLanguageCountry() methodEike Rathke
Change-Id: I8917c2958f021f11933d9da7fec8ef01609387c8
2012-11-16added LanguageTag::reset() methodsEike Rathke
Change-Id: Id78a989ab981d658dd8f331b030e00ce201c8bc9
2012-11-16return const reference for getBcp47() and getLocale()Eike Rathke
And use the rtl::Static pattern for statics. Change-Id: I80d8cc0a4a35771f86bec27edf41224d71cdea14
2012-11-15LanguageTag getters with optional bResolveSystem parameterEike Rathke
Added bResolveSystem=true parameter to getBcp47(), getLocale() and getLanguageType(). Other get...() and is...() methods now always resolve to system locale. Change-Id: I2d9718b8bd36aac5e047afd6921d462e52c6a235
2012-11-12fdo#46807: Add LRM before Shekel sign, forcing it to appear left of numbersLior Kaplan
introducing new Currency element and marking previous as legacyOnly Change-Id: I40a762bf03a15f241fc80279bb61be9a2710d2f0 Reviewed-on: https://gerrit.libreoffice.org/967 Reviewed-by: Lior Kaplan <kaplanlior@gmail.com> Tested-by: Lior Kaplan <kaplanlior@gmail.com> Reviewed-by: Eike Rathke <erack@redhat.com>
2012-11-12re-base on ALv2 code. Includes:Michael Meeks
Patches from Herbert Duerr: #i118925# fix old word-boundary emulation http://svn.apache.org/viewvc?view=revision&revision=1301596 #i119031# preserving ASCII in ignore-* transliterations allows full SIMPLE_TRANS_MASK http://svn.apache.org/viewvc?view=revision&revision=1301104 #i118887# ignore zero-length matches in regexp search http://svn.apache.org/viewvc?view=revision&revision=1242235 fix transliteration flags for search pattern preprocessing http://svn.apache.org/viewvc?view=revision&revision=1236199 fix minor typo in comment http://svn.apache.org/viewvc?view=revision&revision=1234799 improve standard conformance regarding unicode UAX#29 word boundaries http://svn.apache.org/viewvc?view=revision&revision=1234786 emulate word boundary matching of old regex engine The new ICU regex engine has much improved unicode capabilities. The old regex engine had the extensions \< and \> for matching word boundaries. For the convenience of a smooth upgrade experience these artifacts now get mapped to \b which is supported by almost all regex engines. http://svn.apache.org/viewvc?view=revision&revision=1234777 #i118723# fill in regexp matcher group details http://svn.apache.org/viewvc?view=revision&revision=1228084 use ICU regexp instead of LGPL i18nregexp http://svn.apache.org/viewvc?view=revision&revision=1177610 #i119031# default to preserve ASCII in ignore-width transliteration http://svn.apache.org/viewvc?view=revision&revision=1301101
2012-11-09adapt to liblangtag 0.4.0 typesEike Rathke
Change-Id: I0ab5a25cafdd246828ba09db8d01bb498e7012ab
2012-11-09ensure lt_error_t is free'd and enable SAL_WARN/INFO againEike Rathke
Change-Id: Ida7914d7301c16ed1771be3d874c716c8fbaf8b4
2012-11-07enhance documentation of Currency legacyOnly attributeEike Rathke
Change-Id: I05f2f5e51490b6830a01fe72b11dd9da174719fd
2012-11-07Put the __attribute__ in the correct placeTor Lillqvist
Change-Id: I8444fe62254cefe950f356e2f0bca5625420cd75
2012-11-06fdo#56346 add a few more Uralic languages to languages dropdownAndras Timar
Change-Id: I4adad5b494e61d033d6525a07260f7b4b8cb4e9c
2012-11-06Try to unbreak the Android buildTor Lillqvist
Change-Id: I8fd77369cab201cd8ba2681398c23e81b186418f
2012-11-06WaE: duplicated variable nameCaolán McNamara
Change-Id: Id42116f2ddfe679b1a995590e35a619ff8d82d7e
2012-11-06fix build with icu-4.0Petr Mladek
use functions already provided by icu-4.0 Change-Id: I238a499ae1bc2a7efeb4d61fbe780e24d7d36a7a
2012-11-06Adapting to liblangtag 0.4.0Fridrich Štrba
Change-Id: Ie70a38a1481a280760a435f4809020ed5a327627
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76