about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRafal Luzynski <digitalfreak@lingonborough.com>2018-07-11 23:25:15 +0200
committerRafal Luzynski <digitalfreak@lingonborough.com>2018-07-13 23:06:32 +0200
commit0a83bad2aae6807a108d5bb3eb3389060702265b (patch)
tree7a73d9474ebb4ff4d6b14b50726efd6b8114942b
parent046bfed9dec0d24e7b217bb78e15d1640d572832 (diff)
downloadglibc-0a83bad2aae6807a108d5bb3eb3389060702265b.tar.gz
glibc-0a83bad2aae6807a108d5bb3eb3389060702265b.tar.xz
glibc-0a83bad2aae6807a108d5bb3eb3389060702265b.zip
dsb_DE locale: Fix syntax error and add tests (bug 23208).
Fixed syntax error in the collation rules of Lower Sorbian language.
Collation test added in order to test the bugs like this early.

Reported-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>

	[BZ #23208]
	* localedata/Makefile (test-input): Add dsb_DE.UTF-8.
	(LOCALES): Likewise.
	* localedata/dsb_DE.UTF-8.in: New file.
	* localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
-rw-r--r--ChangeLog8
-rw-r--r--localedata/Makefile2
-rw-r--r--localedata/dsb_DE.UTF-8.in73
-rw-r--r--localedata/locales/dsb_DE4
4 files changed, 85 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e9dd4aead8..981e65ed3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-07-13  Rafal Luzynski  <digitalfreak@lingonborough.com>
+
+	[BZ #23208]
+	* localedata/Makefile (test-input): Add dsb_DE.UTF-8.
+	(LOCALES): Likewise.
+	* localedata/dsb_DE.UTF-8.in: New file.
+	* localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
+
 2018-07-12  Florian Weimer  <fweimer@redhat.com>
 
 	* nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
diff --git a/localedata/Makefile b/localedata/Makefile
index 2e6e0dcb2a..5ac4f74fdf 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -55,6 +55,7 @@ test-input := \
 	cy_GB.UTF-8 \
 	da_DK.ISO-8859-1 \
 	de_DE.ISO-8859-1 \
+	dsb_DE.UTF-8 \
 	dz_BT.UTF-8 \
 	en_US.ISO-8859-1 \
 	eo.UTF-8 \
@@ -200,6 +201,7 @@ LOCALES := \
 	da_DK.ISO-8859-1 \
 	de_DE.ISO-8859-1 \
 	de_DE.UTF-8 \
+	dsb_DE.UTF-8 \
 	dz_BT.UTF-8 \
 	en_GB.UTF-8 \
 	en_US.ANSI_X3.4-1968 \
diff --git a/localedata/dsb_DE.UTF-8.in b/localedata/dsb_DE.UTF-8.in
new file mode 100644
index 0000000000..adc5713165
--- /dev/null
+++ b/localedata/dsb_DE.UTF-8.in
@@ -0,0 +1,73 @@
+a
+A
+b
+B
+c
+C



+d
+D
+dź
+Dź
+e
+E

+f
+F
+g
+G
+h
+H
+ch
+Ch
+i
+I
+j
+J
+k
+K


+l
+L
+m
+M
+n
+N

+o
+O

+p
+P
+q
+Q
+r
+R

+s
+S




+t
+T
+u
+U
+v
+V
+w
+W
+x
+X
+y
+Y
+z
+Z




diff --git a/localedata/locales/dsb_DE b/localedata/locales/dsb_DE
index 419d0b35b6..7f51b82aa8 100644
--- a/localedata/locales/dsb_DE
+++ b/localedata/locales/dsb_DE
@@ -77,8 +77,8 @@ collating-symbol <d-z-acute-digraph>
 collating-symbol <e-caron>
 collating-symbol <c-h-digraph>
 collating-symbol <l-stroke>
-collating symbol <n-acute>
-collating symbol <o-acute>
+collating-symbol <n-acute>
+collating-symbol <o-acute>
 collating-symbol <r-acute>
 collating-symbol <s-caron>
 collating-symbol <s-acute>