Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2001 17:24:41 +0800
From:      Jing-Tang Keith Jang <keith@gate.jtjang.idv.tw>
To:        freebsd-current@FreeBSD.org
Subject:   monetdef/msgdef/numericdef fixes for zh_* locales
Message-ID:  <20010217172441.A33467@gate.jtjang.idv.tw>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
-current's zh_TW.Big5 and zh_CN.EUC are both broken due to
the lack of LC_MESSAGES, LC_MONETARY, and LC_NUMERIC files.
Can anybody with src/ commit bit send in the attached patch,
so apps like perl or gtk can function as before?

Thanks.
-- 
Less facilities, more enjoyment.

[-- Attachment #2 --]
--- ./share/monetdef/zh_CN.EUC.src.orig	Sat Feb 17 15:38:55 2001
+++ ./share/monetdef/zh_CN.EUC.src	Sat Feb 17 14:33:17 2001
@@ -0,0 +1,35 @@
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol
+CNY
+# currency_symbol
+$
+# mon_decimal_point
+.
+# mon_thousands_sep
+,
+# mon_grouping, separated by ;
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+0
+# frac_digits
+0
+# p_cs_precedes
+1
+# p_sep_by_space
+0
+# n_cs_precedes
+1
+# n_sep_by_space
+0
+# p_sign_posn
+1
+# n_sign_posn
+4
+# EOF
--- ./share/monetdef/zh_TW.Big5.src.orig	Sat Feb 17 15:38:55 2001
+++ ./share/monetdef/zh_TW.Big5.src	Sat Feb 17 14:28:47 2001
@@ -0,0 +1,35 @@
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol
+TWD
+# currency_symbol
+$
+# mon_decimal_point
+.
+# mon_thousands_sep
+,
+# mon_grouping, separated by ;
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+0
+# frac_digits
+0
+# p_cs_precedes
+1
+# p_sep_by_space
+0
+# n_cs_precedes
+1
+# n_sep_by_space
+0
+# p_sign_posn
+1
+# n_sign_posn
+4
+# EOF
--- ./share/monetdef/Makefile.orig	Sat Feb 17 15:39:02 2001
+++ ./share/monetdef/Makefile	Sat Feb 17 14:33:55 2001
@@ -23,7 +23,9 @@
 		ru_RU.KOI8-R \
 		sv_SE.ISO_8859-1 \
 		ko_KR.EUC \
-		ja_JP.EUC
+		ja_JP.EUC \
+		zh_TW.Big5 \
+		zh_CN.EUC
 
 LOCALEDIR=      ${DESTDIR}/usr/share/locale
 
--- ./share/msgdef/zh_CN.EUC.src.orig	Sat Feb 17 15:39:08 2001
+++ ./share/msgdef/zh_CN.EUC.src	Sat Feb 17 15:01:24 2001
@@ -0,0 +1,9 @@
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# yesexpr
+^[yYsS].*
+# noexpr
+^[nN].*
+# EOF
--- ./share/msgdef/zh_TW.Big5.src.orig	Sat Feb 17 15:39:08 2001
+++ ./share/msgdef/zh_TW.Big5.src	Sat Feb 17 14:48:05 2001
@@ -0,0 +1,9 @@
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# yesexpr
+^[yYsS].*
+# noexpr
+^[nN].*
+# EOF
--- ./share/msgdef/Makefile.orig	Sat Feb 17 15:39:19 2001
+++ ./share/msgdef/Makefile	Sat Feb 17 15:02:58 2001
@@ -18,7 +18,9 @@
 		ru_RU.KOI8-R \
 		sv_SE.ISO_8859-1 \
 		ko_KR.EUC \
-		ja_JP.EUC
+		ja_JP.EUC \
+		zh_TW.Big5 \
+		zh_CN.EUC
 
 ENGLISH=	en_US.ISO_8859-1
 ENGLISHLINKS=	en_AU.ISO_8859-1 en_CA.ISO_8859-1 en_GB.ISO_8859-1 \
--- ./share/numericdef/zh_TW.Big5.src.orig	Sat Feb 17 15:38:27 2001
+++ ./share/numericdef/zh_TW.Big5.src	Sat Feb 17 15:03:46 2001
@@ -0,0 +1,11 @@
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+.
+# thousands_sep
+,
+# grouping, separated by ;
+3;3
+# EOF
--- ./share/numericdef/zh_CN.EUC.src.orig	Sat Feb 17 15:38:31 2001
+++ ./share/numericdef/zh_CN.EUC.src	Sat Feb 17 15:03:42 2001
@@ -0,0 +1,11 @@
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+.
+# thousands_sep
+,
+# grouping, separated by ;
+3;3
+# EOF
--- ./share/numericdef/Makefile.orig	Sat Feb 17 15:38:41 2001
+++ ./share/numericdef/Makefile	Sat Feb 17 15:21:55 2001
@@ -18,7 +18,9 @@
 		ru_RU.KOI8-R \
 		sv_SE.ISO_8859-1 \
 		ko_KR.EUC \
-		ja_JP.EUC
+		ja_JP.EUC \
+		zh_TW.Big5 \
+		zh_CN.EUC
 
 LOCALEDIR=      ${DESTDIR}/usr/share/locale
 USENGLISH=	en_US.ISO_8859-1

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010217172441.A33467>