Commit Graph

3317 Commits

Author SHA1 Message Date
a150d06bc5 added EUR as default currency to Lithuanian locale
Change-Id: I08c82639da2acd5830fa69044b252217b69c5e62
Reviewed-on: https://gerrit.libreoffice.org/11089
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-24 06:29:19 -05:00
0842a2707c use bool directly
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
2014-08-17 05:15:19 +02:00
4d3c9ed257 fdo#81995: fix Outline numbering tab page
The "ParentNumbering" property is not a string.

(regression from 97eb8a6e0eb830f37dcba64a51d725aab4c5ff53)

Change-Id: Ib33e95847b388bb1126a63812e128c96a0c00730
2014-08-11 22:33:31 +02:00
f488aed4a1 coverity#706150 Copy into fixed size buffer
Change-Id: Iee86d6233771a9e07a037257786e928c6f18addd
2014-08-07 18:00:47 +01:00
df29ac9072 drop prepareErrorFormat from LocaleNode::incErrorStr
Change-Id: I3489f84ee66628d2ea9fcdaa1dd89dcd8523aa8a
2014-08-07 18:00:46 +01:00
a3c05bc0c6 incErrorStrStr always called with two %s
so we don't really need prepareErrorFormat

Change-Id: I3f5ae846ad4ba59468f90eba2f8e0eac2a7da9ae
2014-08-07 18:00:46 +01:00
abdae7c281 Fix function types
Change-Id: I295f587e48e2882f87091a3a86610e316cd903fb
2014-08-07 18:29:15 +02:00
252cd689ac add Papiamento (Bonaire) [pap-BQ] locale data, fdo#44112
Derived from [pap-CW] with USD.

Change-Id: I7a64deeae39a22dbbb9d96d45fd15b0aab3c2c1f
2014-08-04 14:57:36 +02:00
7182db5a67 Include <algorithm> for std::min() and max()
Change-Id: I6a46e6466ab56aea14e16902cb51f9c3f088f30e
2014-07-08 02:37:34 +03:00
414540aeca allow build with icu 4.2
Change-Id: I4bbcff7963520426d4c04e15d2239431aff65b56
2014-07-03 08:29:41 +01:00
be8d4a5d8a -fsanitize=function
Change-Id: I29d648c45471e6d3503922ff00f7cd6491bb88f3
2014-07-02 16:10:39 +02:00
e50ef195bc New loplugin:stringconcat
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01 15:45:52 +02:00
712d60f03d fdo#79372, fdo#56392 fix hyphenation
Change-Id: Iacf84d023d3b4795892bc444299a29bfc663345e
2014-07-01 00:18:13 +02:00
c78d948b61 Revert "fdo#79372 fix hyphenation (remove fdo#56392 fix, except hard hyphen part)"
This reverts commit 259d3421d4cf7788d9099daa40fc181c661783ee.
2014-07-01 00:15:11 +02:00
f899ce3db7 ICU's RuleBasedCollator::cloneRuleData is deprecated
Change-Id: Ifc4a74bca5cfe58e420824a8dd85e8c246bbfac3
2014-06-26 17:54:05 +02:00
90b418b759 let YYYY/M/D H:MM be the default datetime format
Change-Id: I1d8af400810b9ffd4586320c706a1f00ef1c1369
2014-06-11 19:05:01 +02:00
a5f62d96b1 Fix to be able to edit seconds in Japanese date/datetime cells
Currently seconds in Japanese date/datetime cells can't be edited.
But i18npool/source/localedata/data/locale.dtd and
offapi/com/sun/star/i18n/NumberFormatIndex.idl say that seconds in
time/datetime cells should be editable. And Japanese users
reported that current behavior is inconvenient.

Also to retain relativity against @formatindex='40', each
[@usage='TIME']/@type are shorten.

For better backward compatibility, @formatindex='55' should be
default format. But since there is implementation limit of
SvNumberFormatter::ImpGenerateFormats, @formatindex>=50 can't
be default one.

These changes are discussed in Japanese ML:
http://listarchives.libreoffice.org/ja/discuss/msg03044.html

Change-Id: I074b8d6d5c9d69b8ba1eb14c29b661d753c003ad
Reviewed-on: https://gerrit.libreoffice.org/9703
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-06-11 14:59:12 +00:00
05eccdfc34 French 'General' keyword should be 'Standard' instead, fdo#79347 related
... as it is in all other fr-* locales.

Change-Id: I7eec17984428b026ccc48198b0acd7e2eafd959e
2014-06-02 21:07:02 +02:00
483c20b148 add [fr-TG] to libs, fdo#79353
Change-Id: Ia0f648f4ca601d8ecfb57386ca94942a928907e3
2014-06-02 20:34:05 +02:00
22959db96e add French Togo [fr-TG] locale data, fdo#79353
Change-Id: Ia9faa9cd23367e2d379a5aa5daaeb49394db7e40
2014-06-02 20:34:04 +02:00
29146a6791 add [fr-NE] to libs, fdo#79352
Change-Id: Ieae9482da1b3a78e97fb9eac9001dc98867577e7
2014-06-02 20:34:01 +02:00
944abfc9fb derive [fr-NE] from [fr-BF] instead, fdo#79352 related
Change-Id: I908c5ad633f8030cab67cf110de76ba28731078b
2014-06-02 20:34:00 +02:00
bc24aa3796 add French Niger [fr-NE] locale data, fdo#79352
Change-Id: I1f74229521a353402790946aa1e6e4b92d0d2cde
2014-06-02 20:33:59 +02:00
818406fdef add [fr-BJ] to libs, fdo#79351
Change-Id: Ia4f807b4479db9e90c2bb639958742360deb0680
2014-06-02 20:33:56 +02:00
15387a731d derive [fr-BJ] from [fr-BF] instead, fdo#79351 related
Change-Id: Ie6b27d25541c96f3fd148f57b70163cae5ab8d3e
2014-06-02 20:33:53 +02:00
8930b37fb2 add French Benin [fr-BJ] locale data, fdo#79351
Change-Id: I7d171f70878a90b8bae26c852ab032da23fca197
2014-06-02 20:33:51 +02:00
a7eee33dc5 add [fr-SN] to libs, fdo#79350
Change-Id: Ie663b6f91f858451f79a1247f9ba5ba863123125
2014-06-02 20:33:48 +02:00
fc6ea08d66 derive [fr-SN] from [fr-BF] instead, fdo#79350 related
Change-Id: I0491b43e45b2e36745735317fc87c5de0d78ebd6
2014-06-02 20:33:46 +02:00
ff6070b25e add French Senegal [fr-SN] locale data, fdo#79350
Change-Id: I62542d36b582b71b1d4a208bd191097bb6b06b8f
2014-06-02 20:33:45 +02:00
8b4511e5d0 add [fr-ML] to libs, fdo#79349
Change-Id: Ie1edff7a586b8e74c98e7f3b9277fca14f487e94
2014-06-02 20:33:41 +02:00
bfa932dc42 derive [fr-ML] from [fr-BF] instead, fdo#79349 related
Change-Id: I452b23d21c158b92d3ea5a4bdac07654317e43d6
2014-06-02 20:33:39 +02:00
b2713a4023 add French Mali [fr-ML] locale data, fdo#79349
Change-Id: I66194c0604d842f5fcce3da9cdf23f56932ede41
2014-06-02 20:33:38 +02:00
f840848181 derive all [fr-CI] locale data from [fr-BF], fdo#79348 related
Using ref=... spares all the data duplication.

Change-Id: Ibb8339f766e27350d7f0466842590ada63f784c2
2014-06-02 20:33:35 +02:00
61b3df6b4c add [fr-CI] to libs, fdo#79348
Change-Id: I694057f4f9d62b5274da2cd82d52db9e1fade5e5
2014-06-02 20:33:33 +02:00
529c323456 use uppercase LCID, fdo#79348 related
Change-Id: I5e9846c50783cf4944675bd568fa5b837cb200f0
2014-06-02 20:33:32 +02:00
03ee242870 add French Ivory Coast [fr-CI] locale data, fdo#79348
Change-Id: I5ff8279051d822a2c6932a81b5179a88ed5453cc
Edited: added license header and indentation.
2014-06-02 20:33:30 +02:00
dd17adc592 update French Burkina Faso [fr-BF] locale data, fdo#79347
This is a prerequisite to use ref='fr_BF' later on other yet to be added
fr_*.xml locale data files from fdo#[79348-79353]

Doubts lined out in
https://bugs.freedesktop.org/show_bug.cgi?id=79347#c3
can be addressed later.

Change-Id: I5cd5a199d0fc2e833227997d5c353e17a7fbbbff
2014-06-02 20:33:29 +02:00
4452ac2322 Fix hungarian prefix for calendars
Change-Id: I78b3c0a8d32610e86e09ab5ad6da6cc4e0395926
Reviewed-on: https://gerrit.libreoffice.org/9566
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01 16:22:12 +00:00
9e3cc6b474 fdo#68849: Add header guards to all include files
Added header guard to files in directories i18npool/, include/, and io/

Change-Id: I7ba5b5f0ffdf5dedb8fd40e8efa06936e7c23591
Reviewed-on: https://gerrit.libreoffice.org/9558
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-30 01:45:21 -05:00
259d3421d4 fdo#79372 fix hyphenation (remove fdo#56392 fix, except hard hyphen part)
Change-Id: Ia2f482fb7737e61cfc42966dbc7af6e1cdb3b41d
2014-05-29 09:14:06 +02:00
ebc0a15515 remove more unnecesary OUString constructor use
when throwing exceptions

Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02:00
3b24dcc8a8 Remove unnecessary semicolons
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p

@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
    cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>

Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-27 01:19:00 -05:00
3381dfec2c Dispose component context when done
Change-Id: Ic691d1a7136bdb02d3c94fee246920697503d5b0
2014-05-26 16:18:10 +02:00
0eeaf228ab coverity#705186 Missing break in switch
Change-Id: I57e5f96fe9b385de852006e4b5bb830c782f93d6
2014-05-26 10:18:23 +01:00
3c1e30b77d Correct common misspellings, and remove some ASCII art along the way.
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-05-17 12:38:38 +00:00
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
6d1ee0f6fb coverity#1209074 Same on both sides
Change-Id: I2c02ca45ed12ed571a175fb82bc2478eeb02f31f
2014-05-15 10:21:21 +01:00
6e2818a1f8 add DateAcceptancePattern M/D for [mos-BF], fdo#78647
Change-Id: I79af7fdd7bc6b4c95f4b018a373d8a4685226abd
2014-05-13 10:05:43 +02:00
2e687884e7 add locale data for Moore in Burkina Faso [mos-BF], fdo#78647
Change-Id: If6f3134b74c0ef6ca3caf3c508bbcc163d6196fa
2014-05-13 10:05:43 +02:00
33fcda6de7 locale data for Moore in Burkina Faso [mos-BF], fdo#78647
Change-Id: Ice37ec78078e078d9b2f530b0ebfe53f12c6aed8
2014-05-13 10:05:41 +02:00