summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)AuthorFilesLines
2017-01-18tdf#104950 add English (Malaysia) [en-MY] locale dataEike Rathke3-0/+36
en-MY is a known locale with already assigned LangID and mapping, adding just its locale data will have it appear as 'en-MY' in the number formatter's Language listbox instead of "English (Malaysia)", but solves the users' problem. Change-Id: I32a7e9985d37c962d077531bc8d15162f8e2b48c (cherry picked from commit 4cc33214a5acf278b9549e21627ff44a01ce5f5f) Reviewed-on: https://gerrit.libreoffice.org/33187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-15Resolves: tdf#101924 fatal exception on Sounds like Japanese optionsCaolán McNamara1-2/+2
suspected regression from commit 1a967fead616b201535449fa812775c88d5b2e3b Author: Eike Rathke <erack@redhat.com> Date: Tue Mar 24 15:53:23 2015 +0000 do not include non-mask bits in masks Change-Id: Ic35a4aecc4834fc255eae81d3d83cc4e74618604 Reviewed-on: https://gerrit.libreoffice.org/28764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit abbe7584543ad27e658de515c7dafcc1ce34a18c) Reviewed-on: https://gerrit.libreoffice.org/28877 Reviewed-by: Eike Rathke <erack@redhat.com>
2016-08-18Resolves: tdf#101572 New Belarusian Ruble BYN/Br for [be-BY]Eike Rathke1-1/+8
Change-Id: I742ca7ae410f49cfa84e595433b241c4a7ca9ecb (cherry picked from commit 92ba4bc561293cc29e4e92bc3791dd9db1da6b9c) Reviewed-on: https://gerrit.libreoffice.org/28213 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-27Resolves: tdf#100046 the dreaded 1945-04-02 Double DST, also tdf#79663Eike Rathke2-238/+4
This is a combination of 5 commits. two more testDateInput() dates Found in comments of i18npool/source/calendar/calendar_gregorian.cxx Calendar_gregorian::setValue() (cherry picked from commit 17fb4d43e86bd9622fb1b2c4378ab1e63a0025f0) display data on test failure (cherry picked from commit 4097b95d62db14f738f69e3bb4d1162739f3a06a) add test data from tdf#79663, tdf#100046 related ... before changing anything. (cherry picked from commit 22dceea0ca3cd68463e390395aa8de479b680240) Resolves: tdf#100046 the dreaded 1945-04-02 Double DST, also tdf#79663 A coward not having changed this earlier, partially taken from a patch that was submitted for tdf#79663 but broke API, thanks to Isamu Mogi again. This removes all the clutter around timezone and DST correction that was necessary for early ICU versions, which apparently gets things right now and the clutter can still be confused by corner cases. (cherry picked from commit 8e91b0177cbf6554acf7ccfbcc573f647e7fcf4d) Conflicts: i18npool/inc/calendar_gregorian.hxx i18npool/source/calendar/calendar_gregorian.cxx activate the remaining 1945-04-02 test cases, tdf#100046 (cherry picked from commit 157b56a049a9a5f868d1f3b9856a631a40043a14) 432ba81929dd0badd48d2bd7b4344ceed4df2b43 edf89713de1eb02e501723f679bf059b5a43415e 9a90f933e8db8c6e0db145520ebf71cc27621abc 4d2f3d5602b162924c14348c0307a74ddeb93079 Change-Id: I4ab0aae15b7d97b22bc3a16d039542b5b49d3f14 Reviewed-on: https://gerrit.libreoffice.org/27559 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-25crashtesting: fix tdf92993-1.docx failureCaolán McNamara2-1/+17
Change-Id: I76f09a09fd6c3b114ba74737d4a1ba5dad0fd28f (cherry picked from commit 5e46e382694587e88ecdebc7fa57e90fbaca7a76) Reviewed-on: https://gerrit.libreoffice.org/27435 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-06-16no-break space between number and percent sign, tdf#63272Eike Rathke2-4/+4
Change-Id: Ia240d52ba1edffa70d5e50fee82f48102cc2fe7e (cherry picked from commit cfc22e4614499de3987fcf4ca178e6349666c9af) Reviewed-on: https://gerrit.libreoffice.org/26364 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-06-13remove the correct but unwanted no-break space in percentage, tdf#63272Eike Rathke2-4/+4
As per l10n request https://listarchives.libreoffice.org/global/l10n/msg09997.html Change-Id: I4f83c85abc15c12f77ac478589736cd799760832 (cherry picked from commit ff1edd625709dd8e140e31609158c59a6413f72e) Reviewed-on: https://gerrit.libreoffice.org/26215 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-06-06no-break space between number and percent sign, tdf#63272Eike Rathke36-72/+72
Change-Id: Ifa02ad6bd1d06dc44a776b3a4dbf6c4b366394fc (cherry picked from commit d5146c0e3ca7459db4fdc3b348cec4012555ea35) Reviewed-on: https://gerrit.libreoffice.org/25968 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-06-02tdf#63272 Fix location of percent sign for TurkishMuhammet Kara1-2/+2
Change-Id: I6f2d1c2c947e01a686fdb7a7f175dd7541924afa Reviewed-on: https://gerrit.libreoffice.org/25805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit eee5256e6649c5ccbd26f30b53351c808f6c56e4) Reviewed-on: https://gerrit.libreoffice.org/25813
2016-06-02up the free usage formatindex start from 50 to 60Eike Rathke27-271/+275
In preparation of adding some builtin format codes, actually already NF_FRACTION_3 and NF_FRACTION_4 needed that. (cherry picked from commit a92eddbddee76fdcd9f98464fee26865692940e9) Change-Id: I734a1ef5e6405aceaace7d44e8901a6183dc2a64 Reviewed-on: https://gerrit.libreoffice.org/25834 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-06-01tdf#63272 [cs-CZ] percentage format with no-break spaceEike Rathke1-2/+2
(cherry picked from commit c5c2181a14c6ca9ed47729e6d8dbda2cc3552221) Change-Id: I53968fb15b6e0d6e1ab5cedb7a9b6c4ffae8e534 Reviewed-on: https://gerrit.libreoffice.org/25776 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-31Resolves: tdf#63272 [fi-FI] percentage format with no-break spaceEike Rathke1-2/+2
Caveat, the space needs to be quoted, otherwise it is taken as the group separator that when trailing a number divides the number by 1000. Change-Id: Ic24b90d500a6c9351ef7463b2b1adf9d066442df (cherry picked from commit 5868d927bccfc9594c4f791d0800337a0ce60c18) Reviewed-on: https://gerrit.libreoffice.org/25733 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-28Estonian localization of aboveWord and belowWordMihkel Tõnnov1-2/+2
Change-Id: Ie872c593c531b99360efe7fcf807e76cb88acb79 (cherry picked from commit 91244b95b7826ec5c1075c00e6b4013804c4ab2f)
2016-05-18add D.M.Y date pattern to Gaelic [gd-GB]Eike Rathke1-0/+1
Apparently people don't like to use the defined D/M/Y form. Per request of Michael Bauer. Change-Id: Iea85fb142f97b6a26c9c2f535176bc96ef6af5b5
2016-05-17change Gaelic [gd-GB] QuotationStart to U+2019Eike Rathke1-1/+1
Which is "’" RIGHT SINGLE QUOTATION MARK but due to Gaelic use of ' apostrophe as in a' d' the activated AutoCorrection in an otherwise English context turns it into a typographic left single quotation mark, which looks odd. Per request of Michael Bauer of the l10n team. Change-Id: If6b542636aad2a05b6f4b58f354b96becbf5f8dc
2016-05-11convert MappingType to scoped enumNoel Grandin4-25/+25
Change-Id: I1f00e1fbdb9213d0c2f30da116684b77842282f5 Reviewed-on: https://gerrit.libreoffice.org/24851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-10Add SAL_FALLTHROUGH, where apparently appropriateStephan Bergmann1-0/+1
Change-Id: I041971ad00b6b2e41509fa6b877c0563748f1336
2016-05-10Replace fallthrough comments with new SAL_FALLTHROUGH macroStephan Bergmann7-13/+13
...which (in LIBO_INTERNAL_ONLY) for Clang expands to [[clang::fallthrough]] in preparation of enabling -Wimplicit-fallthrough. (This is only relevant for C++11, as neither C nor old C++ has a way to annotate intended fallthroughs.) Could use BOOST_FALLTHROUGH instead of introducing our own SAL_FALLTHROUGH, but that would require adding back in dependencies on boost_headers to many libraries where we carefully removed any remaining Boost dependencies only recently. (At least make SAL_FALLTHROUGH strictly LIBO_INTERNAL_ONLY, so its future evolution will not have any impact on the stable URE interface.) C++17 will have a proper [[fallthroug]], eventually removing the need for a macro altogether. Change-Id: I342a7610a107db7d7a344ea9cbddfd9714d7e9ca
2016-04-28i18npool: fix Android buildMiklos Vajna1-19/+19
Change-Id: If7321acf4cb8542709cd3f2b418af97586862d46
2016-04-28clang-tidy modernize-loop-convert in h-l/*Noel Grandin9-52/+49
Change-Id: I843528327b25d18476f8959cabba16371213a48a Reviewed-on: https://gerrit.libreoffice.org/24460 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-24unit test for tdf#99468Eike Rathke1-0/+23
Change-Id: I833ad2779d0eda6f5183b2dd062dffaa410a7937
2016-04-24Resolves: tdf#99468 do greedy '*' match if substring match is not allowedEike Rathke1-8/+32
Change-Id: I89ac29b7e8c2e8c567e85a5025dbc1f50050465d
2016-04-21loplugin:salbool: sal_Bool[] -> bool[]Stephan Bergmann2-2/+2
Change-Id: I3c5bf7a53c9ae173f8fce885ecf022f092aa43a9
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann16-34/+34
Change-Id: I3f7f71f05db09219f0de3ec14bdb56bd16fb0c8d
2016-04-18check API call argument valueEike Rathke1-0/+3
Change-Id: I5eb0fbd6a6671c2cded38800c3223bccf0f7ff60
2016-04-18remove old commented out codeEike Rathke1-1/+0
Change-Id: I6871370341c8533e93f820e8f71ce09fe3d4d7be
2016-04-18clang-tidy performance-unnecessary-copy-initializationNoel Grandin1-28/+22
probably not much performance benefit, but it sure is good at identifying leftover intermediate variables from previous refactorings. Change-Id: I3ce16fe496ac2733c1cb0a35f74c0fc9193cc657 Reviewed-on: https://gerrit.libreoffice.org/24026 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-12Avoid reserved identifiersStephan Bergmann1-31/+31
Change-Id: Iac8e8e78c3a3f58e8a45b1f28b7d3bb884dd817e
2016-04-12fix infinite loop in text search, tdf#99208Markus Mohrhard1-2/+2
Change-Id: If77055d6b292d5126165252d7198e8abf9d2c44d Reviewed-on: https://gerrit.libreoffice.org/24029 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-04-11tdf#99110 more improvements for formatting dates for uksunweb1-17/+17
Change-Id: Ie5ce24292d3346aaf28315ef20a626190a3ec664
2016-04-11tdf#99110 use the right caseDavid Tardon1-2/+2
Change-Id: I00cfe81921f0c9c7a3a0c7834491ca0c25e21fca
2016-04-06tdf#99110 translate currency for ukDavid Tardon1-1/+1
Change-Id: I1420d92d7e5ea229b7c1a8d11fa30111ffb62557
2016-04-06tdf#99110 translate reserved words for ukDavid Tardon1-12/+12
Change-Id: I66c866815501f185de4c3ac7296ef42f1a1ab025
2016-04-06tdf#99110 add genitive cases for months for ukDavid Tardon1-0/+62
Change-Id: I77f7b555d17de761d65c4ef3ccc8a502800998f5
2016-04-02cleanup: remove unused Reference.h(xx) includesJochen Nitschke1-1/+0
and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-24Revert "Text General inconsistent with cell formatting dlg", tdf#95385Eike Rathke62-63/+63
This reverts commit 547617955af87640b46211b6715032bc6576279a. Modifying locale datas' number format is a wrong approach.
2016-03-17Text General inconsistent with cell formatting dlgRohan Kumar62-63/+63
I just replaced Standard to General in order to ensure some sort of consistency as mentioned in comment 1 of bug description. Reviewed by the localization team. Change-Id: I7d75e7e9855d43a9ff709478a2f3e867b2a479a2 Reviewed-on: https://gerrit.libreoffice.org/23310 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-03-10Avoid reserved identifiersStephan Bergmann1-4/+4
Change-Id: I33b9966c0d57b4f9b2028352dfbb68359653f976
2016-03-10Avoid reserved identifierStephan Bergmann1-2/+2
Change-Id: Iba05a29b75666a595e58dfe753bba0825d09f61f
2016-03-08Remove unused macrosStephan Bergmann1-8/+0
Change-Id: Icc1f5dbe7bac1d80429cafda7e88061193dd137a
2016-03-08Remove dead codeStephan Bergmann1-5/+0
Change-Id: Iebaf8af5dbf11cd255f67202bbb18f61b1bd39fd
2016-03-08Remove unnecessary includeStephan Bergmann1-4/+0
Change-Id: I5a0b1528a7ad3cff15d185600d4bd74c25fb30bb
2016-03-08tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar3-3/+3
I removed OSL_DEBUG_LEVEL > 1 conditionals in order to reduce debug levels. Change-Id: Ia1890277aec8ba0b57e325564a107d7fe2f6e967 Reviewed-on: https://gerrit.libreoffice.org/23008 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-02-23SearchFlags::WILD_MATCH_SELECTION, SearchOptions2::WildcardEscapeCharacterEike Rathke2-3/+7
At least '\' (search in Word) and '~' (search in Excel) should be supported as escape character. Being able to restrict a match to entire selection instead of substring speeds up the Calc match whole cell scenario. Change-Id: Ice242b9cd59009f172b724e03c2cc08feda4cd3c
2016-02-23new loplugin: commaoperatorNoel Grandin3-7/+17
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
2016-02-17wildcard search unit tests, tdf#72196Eike Rathke1-2/+119
Change-Id: Ifa23592f5e72438267926acf89c113a69a7f0ca0
2016-02-17implement '*' '?' '~' wildcard search, tdf#72196Eike Rathke2-1/+414
Change-Id: Id6122a13423c37e91c9f7561e4d8e5c658d5530e
2016-02-11[API CHANGE] add operator==/!= to UNO structsNoel Grandin3-14/+0
this is useful now that we are storing UNO structs in std::vector Change-Id: Ic558bcd669bd2b3cdf9eb8393269eb906ac52369 Reviewed-on: https://gerrit.libreoffice.org/22257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09Remove excess newlinesChris Sherlock8-19/+0
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-02-05interface to new XTextSearch2 with SearchOptions2, tdf#72196Eike Rathke3-16/+68
Places that had utl::TextSearch::UpgradeToSearchOptions2() introduced are worth an inspection if the new SearchAlgorithms2::WILDCARD search should be supported or at least use SearchOptions2 instead of SearchOptions to eliminate the small performance penalty that conversion involves. Change-Id: I565f73af2b551ae9ad0f488e672823dc6c5c1109