summaryrefslogtreecommitdiffstats
path: root/i18npool
Commit message (Collapse)AuthorAgeFilesLines
* i18npool: don't break line at slash '/'Michael Stahl2021-04-091-1/+4
| | | | | | | | | | | | | | | | If sw text formatting gets the result of the special-case code added to the "word boundary break" condition, it may call again the next time with the preceding index, and fall into the "Line boundary break" condition, which hence also needs to special case '/'. (regression from ICU 60, 9206a08ada00e8762c4a634f242bd566028964bb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99104 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit a916e2253df2bf1415c25fb7f974e0d16b615d03) Change-Id: I2aaefbc7b25af157e0a6ef15fabaa71bff1e8d9a
* tdf#131464: fix create an index of Writer in Japanese localeJulien Nabet2020-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | in i18npool/source/collator/collator_unicode.cxx, we got: 177 // replace algorithm name to implementation name. 178 if (rAlgorithm == "phonetic (alphanumeric first)") 179 aBuf.append("phonetic_alphanumeric_first"); 180 else if (rAlgorithm == "phonetic (alphanumeric last)") 181 aBuf.append("phonetic_alphanumeric_last"); 182 else 183 aBuf.append(rAlgorithm); So don't add extra ja_ before "phonetic..." Also we already add "ja" in buffer with line: 158 aBuf.append("get_").append(rLocale.Language).append("_"); so right functions from ICU will be retrieved Change-Id: I163c3ca4bb4dcfa1e5d29313190c5ba3e6396c4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90877 Tested-by: Jenkins Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90820 Reviewed-by: Eike Rathke <erack@redhat.com>
* Related: tdf#126931 abbreviated month names should be three lettersEike Rathke2019-08-151-4/+4
| | | | | | | | | | Change-Id: I8d0d54bb70394f9e505d357b1f87aa47ef4d60fe Reviewed-on: https://gerrit.libreoffice.org/77505 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit add2f2e9185a759847f3ccabc2d0cb04306eca85) Reviewed-on: https://gerrit.libreoffice.org/77513 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Resolves: tdf#126931 fix Sorbian date formats and add genitive month namesEike Rathke2019-08-152-12/+136
| | | | | | | | | | Change-Id: I9ece3f55eff79a3eebc294f7ecc8cca0beae650f Reviewed-on: https://gerrit.libreoffice.org/77477 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit d3a565eddffc6e39ffd47f018ec7ab17d2a554cd) Reviewed-on: https://gerrit.libreoffice.org/77481 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Resolves: tdf#124108 localized quotation marks for [fr-BF] and derivedEike Rathke2019-08-151-4/+4
| | | | | | | | | | | | | | | | | | Inherited by fr_BJ fr_CI fr_ML fr_NE fr_SN fr_TG Change-Id: Ic47345fedd0792db213e6584f581ce63b8c5439b Reviewed-on: https://gerrit.libreoffice.org/77470 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 21bffad6bc108f3dc5eee608bf702412a5fcb530) Reviewed-on: https://gerrit.libreoffice.org/77478 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* build failure - disambiguate Calendar return classLionel Elie Mamane2019-07-301-1/+1
| | | | | | | | Change-Id: I892281f85f6cc9c2de2c341ae63240ae85d302c4 Reviewed-on: https://gerrit.libreoffice.org/76595 Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Jenkins
* Fix name clash problemEike Rathke2019-06-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | Reportedly there can be confusion between names css::lang::Locale and icu::Locale if explicit namespaces are omitted due to (the bad habit of using) the using directive, since commit 942de6a01ba990e5f3bc55ce4ab3737a03f67f39 CommitDate: Thu Jun 20 01:57:20 2019 +0200 Resolves: tdf#92503 introduce TimeZone to calendar loading and default to UTC Rightly, because that via inclusion of calendar_gregorian.hxx pulls in unicode/calendar.h which in turn ... Didn't happen in TDF builds so far. Change-Id: Ie7fb7fce0ab5cd4b93fbbfd3abe04d7d18a8a081 Reviewed-on: https://gerrit.libreoffice.org/74795 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 71674ab6a7472132ca2eee1381e3273bd6b35a7b) Reviewed-on: https://gerrit.libreoffice.org/74805
* Resolves: tdf#92503 introduce TimeZone to calendar loading and default to UTCEike Rathke2019-06-204-8/+58
| | | | | | | | | | | | | | | Without that, the system's time zone was used which on DST transition dates leads to non-existent times when switching to/from DST. As the calendar use and number parser/formatter nor conversions or calculations are time zone aware, using not DST afflicted UTC is the better choice. Change-Id: I3303c6620d8c4b9d081555c8293954fb1bd67895 Reviewed-on: https://gerrit.libreoffice.org/74386 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 942de6a01ba990e5f3bc55ce4ab3737a03f67f39) Reviewed-on: https://gerrit.libreoffice.org/74399
* tdf#125620 add Korean Hangul Jamo codepoint rangesDaeHyun Sung2019-06-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In LibreOffice's Korean Hangul part, It check Korean code points only 3 part ranges. (such as, U+AC00 - U+D7AF - Hangul Syllables U+3130 - U+318F - Hangul Compatibility Jamo U+1100 - U+11FF - Hangul Jamo ) So, add Korean Hangul jamo code point ranges. such as, U+A960 - U+A97F: Hangul Jamo Extended-A U+D7B0 - U+D7FF: Hangul Jamo Extended-B Below is Korean Hangul Jamo and Syllables code point ranges on Unicode Consortium Hangul Jamo (Range: U+1100 - U+11FF) http://www.unicode.org/charts/PDF/U1100.pdf Hangul Jamo Extended-A (Range: U+A960 - U+A97F) http://www.unicode.org/charts/PDF/UA960.pdf Hangul Jamo Extended-B (Range: U+D7B0 - U+D7FF) http://www.unicode.org/charts/PDF/UD7B0.pdf Hangul Compatibility Jamo (Range: U+3130 - U+318F) http://www.unicode.org/charts/PDF/U3130.pdf Hangul Syllables (Range: U+AC00 - U+D7AF) http://www.unicode.org/charts/PDF/UAC00.pdf Change-Id: I65da4d9c6c43e01eb61f2e420faf1ad6cd986d86 Reviewed-on: https://gerrit.libreoffice.org/73309 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit d9a31b8e164ad39e8b2f49b8e136cd9108ccac36) Reviewed-on: https://gerrit.libreoffice.org/73733 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Resolves: tdf#96711 RUB currency symbol is ₽ U+20BD RUBLE SIGNEike Rathke2019-06-035-21/+56
| | | | | | | | | | Change-Id: Ie9781713f04076174cdbbc34bf802df45c169727 Reviewed-on: https://gerrit.libreoffice.org/73389 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit d83e831747c1e7a57296c7f1d64a5d51a97cef91) Reviewed-on: https://gerrit.libreoffice.org/73410 Tested-by: Eike Rathke <erack@redhat.com>
* add Dangi calendar locale data for tdf#125446DaeHyun Sung2019-06-011-0/+117
| | | | | | | | | | | | | | For Support Korean Calendar Dangi(단기/檀紀), add Dangi calendar locale data <Calendar unoid="dangi" default="false"> Change-Id: Ifd04be3dbbf3daa1d7f3b1e238e743b697701b6e Reviewed-on: https://gerrit.libreoffice.org/72944 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit e9395f87619af7c9b755ee8ff34ecfaae7df9c98) Reviewed-on: https://gerrit.libreoffice.org/73298 Tested-by: Eike Rathke <erack@redhat.com>
* Support to Korean Dangi Calendar for tdf#125446DaeHyun Sung2019-06-014-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | Support to Korean Traditional Calendar, Dan-gi(단기/檀紀) Calendar The era name, Dangi(단기,檀紀) originating from the foundation of Gojoseon[고조선/古朝鮮] is also widely used in Korea as an indication of long civilization of Korea. Full name: `Dangun-giwon (단군기원, 檀君紀元 "First Age of Lord Dangun")` Abbreviation Name: `Dangi(단기,檀紀)` The Dangi Calendar measures years from the ancient founding of Korea in 2333 B.C. Reference. ICU Library ICU library support Dangi Calendar. ICU4C 50 http://bugs.icu-project.org/trac/ticket/9255 ICU4J 51 http://bugs.icu-project.org/trac/ticket/9616 Change-Id: I490b8b288c68f498eb29d4fcc73251cbef3ac6d4 Reviewed-on: https://gerrit.libreoffice.org/72943 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 5e67aa92a8f08fe488c9344851c2f819d4eaa542) Reviewed-on: https://gerrit.libreoffice.org/73297 Tested-by: Eike Rathke <erack@redhat.com>
* Resolves: tdf#125590 add Silesian [szl-PL] locale dataEike Rathke2019-06-013-0/+246
| | | | | | | | | | | Change-Id: I2e4af60cea41bc4ae0ba5ce87a830ae0ede96727 Co-authored-by: Grzegorz Kulik <gregorykkulik@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/73286 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 73751b825daf8245381553d495dc0819fef933ab) Reviewed-on: https://gerrit.libreoffice.org/73292 Tested-by: Eike Rathke <erack@redhat.com>
* Related: tdf#125590 prepare to derive from pl-PLEike Rathke2019-06-011-6/+6
| | | | | | | | | | | | ... by using replaceFrom="[CURRENCY]" in LC_FORMAT. Change-Id: I9072e278e33de0a935a08bd9deb61109d220043d Reviewed-on: https://gerrit.libreoffice.org/73281 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 00df03966e0030412d6ad234045fd80d2d265af2) Reviewed-on: https://gerrit.libreoffice.org/73291 Tested-by: Eike Rathke <erack@redhat.com>
* Use hasElements to check Sequence emptiness in [e-i]*Arkadiy Illarionov2019-05-314-9/+9
| | | | | | | | | Similar to clang-tidy readability-container-size-empty Change-Id: I79e31919db8f4132216f09a7868d18835eeb154b Reviewed-on: https://gerrit.libreoffice.org/71795 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* i18npool: remove versioned ICU forward declarationsMichael Stahl2019-05-283-3/+7
| | | | (regression from c6b7f5555d5df13eae7aa72dbd3307ad8c9893dc)
* tdf#42949 Fix IWYU warnings in i18npool/Gabor Kelemen2019-05-2882-174/+238
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ic331c845f0a8f06c4a8f8f79b6f87e26ca7c3a7d Reviewed-on: https://gerrit.libreoffice.org/72972 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* New loplugin:dataStephan Bergmann2019-05-221-2/+2
| | | | | | | | | | ...following up on 1453c2c8f13bac64ecd1981af7cebf1c421808ac "prefer vector::data to &vector[0]" Change-Id: I7c113747d92d144a521d49b89384dd8bf1215c01 Reviewed-on: https://gerrit.libreoffice.org/72765 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typosAndrea Gelmini2019-05-201-1/+1
| | | | | | | Change-Id: I4922f95ebc38e80e471139880ed894eda89402a8 Reviewed-on: https://gerrit.libreoffice.org/72142 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
* modified Line Breaking rule in KoreanDaeHyun Sung2019-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Modified Line Break Rule (Korean: 금칙 처리, 漢字hanja: 禁飭處理) I modifed Forbidden Characters(Korean: 금칙 문자, 漢字hanja: 禁飭文字) on LibreOffice Korean locale data xml. Reference1: HWP Guide - 금칙문자(Forbidden Characters) http://help.hancom.com/hoffice/webhelp/9.0/ko_kr/hshow/tool/forbid.htm Reference2: OOXML ISO/IEC 29500–1:2016(E) Korean * Cannot start a line: !%),.:;?]}¢°'"′″℃〉》」』】〕!%),.:;?]}¢ (Unicode character values: U+0021, U+0025, U+0029, U+002C, U+002E, U+003A, U+003B, U+003F, U+005D, U+007D, U+00A2, U+00B0, U+2019, U+201D, U+2032, U+2033, U+2103, U+3009, U+300B, U+300D, U+300F, U+3011, U+3015, U+FF01, U+FF05, U+FF09, U+FF0C, U+FF0E, U+FF1A, U+FF1B, U+FF1F, U+FF3D, U+FF5D and U+FFE0, respectively) * Cannot end a line: $([\{£¥'"〈《「『【〔$([{£¥₩ (Unicode character values: U+0024, U+0028, U+005B, U+005C, U+007B, U+00A3, U+00A5, U+2018, U+201C, U+3008, U+300A, U+300C, U+300E, U+3010, U+3014, U+FF04, U+FF08, U+FF3B, U+FF5B, U+FFE1, U+FFE5, and U+FFE6, respectively) Change-Id: I32077b241f930cc912d0c365fc46c1cd046c59a6 Reviewed-on: https://gerrit.libreoffice.org/72492 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
* Related: tdf#123948 add English (Zambia) [en-ZM] locale dataEike Rathke2019-05-043-0/+52
| | | | | | | | | Inherits en-GB Change-Id: I11febf18959380f9dcc73cb94aa9532ccb1200e7 Reviewed-on: https://gerrit.libreoffice.org/71769 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
* improve loplugin simplifyconstructNoel Grandin2019-04-151-1/+1
| | | | | | | | | | to find stuff like OUString s = OUString("xxx") Change-Id: Ie7ed074c1ae012734c67a2a89c564c1900a4ab04 Reviewed-on: https://gerrit.libreoffice.org/70697 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:sequentialassign in embeddedobj..l10ntoolsNoel Grandin2019-04-133-8/+3
| | | | | | | Change-Id: I69377e2f96a376a7a5ccaec268c4f92c00a250f7 Reviewed-on: https://gerrit.libreoffice.org/70705 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Introduce next Japanese gengou era 'Reiwa'Takeshi Abe2019-04-022-6/+4
| | | | | | | | | | | | starting from 2019-05-01, which has been announced officially. This fills the provisional slot acknowledged at cacbb0faef77ae8462de9ff5c7307a6a2e28b2bb. Change-Id: Ifb12e6afaad4c66d455f664b46ec946e80324e87 Reviewed-on: https://gerrit.libreoffice.org/70028 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
* Assign [kmr-Latn-TR] TRY|₺ currency, TRY|YTL and TRL|TL are legacyOnlyEike Rathke2019-03-261-3/+10
| | | | | | | | | This was done long ago for the tr-TR locale as well. Change-Id: I5bf8595f6d49adb7fd76b3c4924c4d72b3b8ea5e Reviewed-on: https://gerrit.libreoffice.org/69717 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
* tdf#123204 hu_HU collation: don't ignore special charactersLászló Németh2019-03-211-1/+5
| | | | | | | | | | | | to show/handle them in Calc AutoFilter. Partial revert of "tdf#116666 fix Hungarian sorting" (commit 7b1eb6313c0d2621c364df1724c69d28f8267841). Change-Id: Ib135f1eac77780e901fb4c427c3f1bb8a5e090b9 Reviewed-on: https://gerrit.libreoffice.org/68014 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
* new loplugin constvarsNoel Grandin2019-03-081-1/+1
| | | | | | | | | | | | | | | | | | detect static variables that can be made const. Thanks to mike kaganski for suggesting this. Here I introduce a new plugin feature - using markers in nearby comments to disable the plugin for specific vars. Some of this stuff was old debugging code. I removed the stuff that was older than 5 years. Change-Id: I6ec7742a7fdadf28fd128b592fcdf6da8257585c Reviewed-on: https://gerrit.libreoffice.org/68807 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove some unnecessary typedef struct... sugarNoel Grandin2019-03-063-6/+6
| | | | | | | Change-Id: I1576282b0a0a3af8ae14c04725d9c4900073f2c4 Reviewed-on: https://gerrit.libreoffice.org/68758 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Resolves: tdf#123575 treat Katakana middle dots as midletterEike Rathke2019-02-201-2/+6
| | | | | | | | | | | | | | Treat U+30FB KATAKANA MIDDLE DOT U+FF65 HALFWIDTH KATAKANA MIDDLE DOT like U+00B7 MIDDLE DOT and other U_WB_MIDLETTER. Change-Id: Iea18e7582f29edf5d8c5bad047f97ed4088edf7c Reviewed-on: https://gerrit.libreoffice.org/68032 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
* Simplify containers iterations in [f-l]*Arkadiy Illarionov2019-02-182-6/+6
| | | | | | | | | Use range-based loop or replace with STL functions Change-Id: Ib3fab47318d1bfbb4df8f886a8cd9596525a420f Reviewed-on: https://gerrit.libreoffice.org/67914 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski2019-02-111-1/+2
| | | | | | | Change-Id: I67462369d93e9d9ff3c056800947c4b75f71ba5f Reviewed-on: https://gerrit.libreoffice.org/67486 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* loplugin:indentation in helpcompiler..ioNoel Grandin2019-02-094-19/+19
| | | | | | | Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620 Reviewed-on: https://gerrit.libreoffice.org/67558 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Use std::string instead of fixed-size array to hold stringStephan Bergmann2019-01-223-22/+19
| | | | | | | Change-Id: I8477271f4de4d24cf1019c381ab3b56db2016be9 Reviewed-on: https://gerrit.libreoffice.org/66749 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* o3tl::make_unique -> std::make_unique in i18npool...reportdesignGabor Kelemen2019-01-222-7/+5
| | | | | | | | | | Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: I8bee1344f7df82536f31bc5e4ec4fd379cac1d04 Reviewed-on: https://gerrit.libreoffice.org/66704 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Replace OUStringBuffer::appendCopy with append(std::u16string_view)Stephan Bergmann2019-01-112-8/+10
| | | | | | | | | ...which is more general Change-Id: I94f28f8eda887120cf5f143b4549e0339b60e6a7 Reviewed-on: https://gerrit.libreoffice.org/66155 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski2018-12-241-2/+2
| | | | | | | Change-Id: I5ca32214bab4b26208aecaa98eecc2a6297d9093 Reviewed-on: https://gerrit.libreoffice.org/65592 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Fix typo in codeAndrea Gelmini2018-12-201-1/+1
| | | | | | | | | It passed "make check" on Linux Change-Id: I577f6ff01e8216ed85556ce4b3365fd924f75608 Reviewed-on: https://gerrit.libreoffice.org/65468 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* loplugin:useuniqueptr in i18npoolNoel Grandin2018-12-132-18/+16
| | | | | | | Change-Id: I57c6ce2a8c48bc87404e596b8843efd67ea0872d Reviewed-on: https://gerrit.libreoffice.org/65033 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove obsolete SAL_FALLTHROUGH completelyStephan Bergmann2018-12-088-14/+14
| | | | | | | | | | ...after 7ffdd830d5fb52f2ca25aa80277d22ea6d89970b "HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now" Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937 Reviewed-on: https://gerrit.libreoffice.org/64800 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:singlevalfields extend to all static varsNoel Grandin2018-12-071-3/+3
| | | | | | | Change-Id: Ic238bb5291539fd1b7e98cb4afc9b25f37e7d528 Reviewed-on: https://gerrit.libreoffice.org/64710 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* NNNN already includes LongDateDayOfWeekSeparator, do not duplicateEike Rathke2018-12-0413-25/+25
| | | | | | | | | Seems these were always wrong in some locales. Change-Id: I5dfc89a607d57c19034d6fac07a07bf3c5395ed8 Reviewed-on: https://gerrit.libreoffice.org/64541 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
* Fix af_NA wrong separator inheritance, use en_NA instead of af_ZA (en_ZA)Eike Rathke2018-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | It didn't matter originally, but en_ZA separators changed with commit 5c10c448b299faf43d9df28bdb9dc4fbb00540aa CommitDate: Mon Sep 3 13:38:13 2018 +0200 tdf#119613 [*-ZA] decimal separator is comma, group separator is space and commit 464154aa26ae77883dd59fcbaab9e084aa035c9d CommitDate: Mon Sep 3 13:38:23 2018 +0200 Related: tdf#119613 inherit af_ZA separators from identical en_ZA so the separators didn't match the formats inherited from en_NA anymore. Change-Id: Iccf951b27b5575706e0f6bae12b5df4b53e335ac
* Some date format corrections, tdf#116868 follow-upEike Rathke2018-12-041-7/+7
| | | | | | | Order is 'D, MMM YYYY' instead of 'MMM, D YYYY' 'NNNN, ' displays separator twice. Change-Id: Id84af3e1bb94dad0e8405c680e63f48f38415fba
* Resolves: tdf#116868 add Hausa (Nigeria) [ha-Latn-NG] locale dataEike Rathke2018-12-033-1/+338
| | | | | | | | | | Derived from ha_Latn_GH.xml with changes according to CLDR and https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=ha_NG Change-Id: Id7325ab9a2e17d0d5fdad45ce675987695a90ef0 Reviewed-on: https://gerrit.libreoffice.org/64454 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* A leading or trailing group separator character is not a group separatorEike Rathke2018-12-011-2/+12
| | | | | | | | | Also a group separator character followed by a non-digit is not. Change-Id: Id57e43fe7692706c5532fb05ad394224265c2750 Reviewed-on: https://gerrit.libreoffice.org/64358 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
* [API CHANGE] Resolves: tdf#42518 new KParseTokens::GROUP_SEPARATOR_IN_NUMBEREike Rathke2018-11-301-2/+11
| | | | | | | | | | | | | | | | | | Default unset bit now does not accept/skip group separators in numbers. See .idl description comment for why this is incompatible and how. This actually uncovered a "bug" (or at least unexpected) in the Math parser that parsed "0," as one entity instead of "0" followed by ",". As obtaining the text form appends a blank after each entity the sw/qa/extras/rtfexport/rtfexport.cxx testMathEqarray() testcase had to be adapted. Change-Id: I2b605742ab3d8a9bb81ad6880faf050535dc80fa Reviewed-on: https://gerrit.libreoffice.org/64270 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
* tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski2018-11-251-1/+1
| | | | | | | Change-Id: I2ae298f49ceba8059cd7236431db9a4d9a46b125 Reviewed-on: https://gerrit.libreoffice.org/63992 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* loplugin:singlevalfieldsNoel Grandin2018-11-192-4/+4
| | | | | | | Change-Id: If21bdaa8431a4d40bbf70a6e9a119d77a3596012 Reviewed-on: https://gerrit.libreoffice.org/63487 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:buriedassign in dbaccess..ooxNoel Grandin2018-11-162-18/+23
| | | | | | | Change-Id: Ic0ca695a1d9d05418213475a68e233953136cc8e Reviewed-on: https://gerrit.libreoffice.org/63468 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#120703 PVS: V560 Properly compare current to cDecimalSepAltMike Kaganski2018-11-121-1/+1
| | | | | | | | | | | | V560 A part of conditional expression is always false: current == cDecimalSep. Assuming a copypaste error in commit 21052ba2edeef9e16bf90fea62f007b1131c73c0. Compare to a similar case below (line 817). Change-Id: Iebd84aa8df3e37b9a5e4fdc7ce7a25a0704a260f Reviewed-on: https://gerrit.libreoffice.org/63269 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>