lv_LV locale: fix collation [BZ #15537]

[BZ #15537]
	* localedata/locales/lv_LV (LC_COLLATE): Fix collation by
	using “copy "iso14651_t1"” and then implementing the
	collation rules for lv from CLDR on top of that.
	* Makefile: Add lv_LV.UTF-8 to test-input and to the list
	of locales to be built for testing.
	* lv_LV.UTF-8.in: New file with test data to test the Latvian
	sorting.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Mike FABIAN 2017-11-17 10:54:52 +01:00
parent 922bb78c0c
commit 4b7af5fca7
4 changed files with 162 additions and 2057 deletions

View file

@ -1,3 +1,14 @@
2017-11-21 Mike FABIAN <mfabian@redhat.com>
[BZ #15537]
* localedata/locales/lv_LV (LC_COLLATE): Fix collation by
using “copy "iso14651_t1"” and then implementing the
collation rules for lv from CLDR on top of that.
* Makefile: Add lv_LV.UTF-8 to test-input and to the list
of locales to be built for testing.
* lv_LV.UTF-8.in: New file with test data to test the Latvian
sorting.
2017-11-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/hppa/bits/mman.h

View file

@ -37,7 +37,7 @@ test-srcs := collate-test xfrm-test tst-fmon tst-rpmatch tst-trans \
tst-ctype tst-langinfo tst-langinfo-static tst-numeric
test-input := de_DE.ISO-8859-1 en_US.ISO-8859-1 da_DK.ISO-8859-1 \
hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 tr_TR.UTF-8 fr_FR.UTF-8 \
si_LK.UTF-8 uk_UA.UTF-8 hu_HU.UTF-8
si_LK.UTF-8 uk_UA.UTF-8 hu_HU.UTF-8 lv_LV.UTF-8
test-input-data = $(addsuffix .in, $(test-input))
test-output := $(foreach s, .out .xout, \
$(addsuffix $s, $(basename $(test-input))))
@ -106,7 +106,7 @@ LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \
hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 ja_JP.SJIS fr_FR.ISO-8859-1 \
nb_NO.ISO-8859-1 nn_NO.ISO-8859-1 tr_TR.UTF-8 cs_CZ.UTF-8 \
zh_TW.EUC-TW fa_IR.UTF-8 fr_FR.UTF-8 ja_JP.UTF-8 si_LK.UTF-8 \
tr_TR.ISO-8859-9 en_GB.UTF-8 uk_UA.UTF-8 hu_HU.UTF-8
tr_TR.ISO-8859-9 en_GB.UTF-8 uk_UA.UTF-8 hu_HU.UTF-8 lv_LV.UTF-8
include ../gen-locales.mk
endif

File diff suppressed because it is too large Load diff

105
localedata/lv_LV.UTF-8.in Normal file
View file

@ -0,0 +1,105 @@
a
A
å
Å
ā
Ā
aa
Aa
āa
Āa
ab
Ab
āb
Āb
æ
Æ
c
C
ç
Ç
č
Č
D
ģ
Ģ
H
i
I
ī
Ī
y
Y
ia
Ia
īa
Īa
ya
Ya
ib
Ib
īb
Īb
yb
Yb
ĵ
Ĵ
ĵa
Ĵa
ĵb
Ĵb
ķ
Ķ
L
ļ
Ļ
M
ņ
Ņ
O
ø
Ø
ra
Ra
rb
Rb
ŗ
Ŗ
ŗa
Ŗa
ŗb
Ŗb
S
sa
Sa
sb
Sb
š
Š
ša
Ša
šb
Šb
t
T
x
z
Z
ȥ
Ȥ
za
Za
zb
Zb
ž
Ž
ža
Ža
žb
Žb
ʒ
Ʒ
ʒa
Ʒa
ʒb
Ʒb