From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 26 03:40:26 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39BE416A4CE for ; Sun, 26 Dec 2004 03:40:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A68B43D55 for ; Sun, 26 Dec 2004 03:40:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBQ3ePfj037297 for ; Sun, 26 Dec 2004 03:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBQ3ePoT037296; Sun, 26 Dec 2004 03:40:25 GMT (envelope-from gnats) Resent-Date: Sun, 26 Dec 2004 03:40:25 GMT Resent-Message-Id: <200412260340.iBQ3ePoT037296@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Benjamin Lutz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FD3B16A4CE for ; Sun, 26 Dec 2004 03:38:51 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBDF943D49 for ; Sun, 26 Dec 2004 03:38:50 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBQ3cocI066813 for ; Sun, 26 Dec 2004 03:38:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iBQ3copa066812; Sun, 26 Dec 2004 03:38:50 GMT (envelope-from nobody) Message-Id: <200412260338.iBQ3copa066812@www.freebsd.org> Date: Sun, 26 Dec 2004 03:38:50 GMT From: Benjamin Lutz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: conf/75502: Fix LC_NUMERIC and LC_MONETARY for de_CH locale (patch) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2004 03:40:26 -0000 >Number: 75502 >Category: conf >Synopsis: Fix LC_NUMERIC and LC_MONETARY for de_CH locale (patch) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 26 03:40:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Benjamin Lutz >Release: FreeBSD 5.3-RELEASE-p2 i386 >Organization: >Environment: FreeBSD merlin 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Thu Dec 23 16:41:30 CET 2004 maxlor@merlin:/usr/src/sys/i386/compile/MERLIN i386 >Description: With the de_CH (swiss german) locale, numbers should look like this: numbers: 1'234.45 monetary values: Fr. 1'234.45 Previously, the thousands separator was missing for numbers, and "." for monetary values, and "," was incorrectly used as decimal point. >How-To-Repeat: >Fix: this patch adds a new file, share/numericdef/de_CH.ISO8859-1.src. diff -ruN share.orig/monetdef/de_CH.ISO8859-1.src share/monetdef/de_CH.ISO8859-1.src --- share.orig/monetdef/de_CH.ISO8859-1.src Tue Dec 25 19:50:48 2001 +++ share/monetdef/de_CH.ISO8859-1.src Sun Dec 26 04:14:50 2004 @@ -8,9 +8,9 @@ # currency_symbol Fr. # mon_decimal_point -, -# mon_thousands_sep . +# mon_thousands_sep +' # mon_grouping, separated by ; 3;3 # positive_sign diff -ruN share.orig/numericdef/Makefile share/numericdef/Makefile --- share.orig/numericdef/Makefile Sun Sep 5 06:21:07 2004 +++ share/numericdef/Makefile Sun Dec 26 04:14:50 2004 @@ -10,6 +10,7 @@ ca_ES.ISO8859-1 \ cs_CZ.ISO8859-2 \ da_DK.ISO8859-1 \ + de_CH.ISO8859-1 \ de_DE.ISO8859-1 \ el_GR.ISO8859-7 \ en_US.ISO8859-1 \ @@ -47,11 +48,11 @@ LOCALEDIR= ${DESTDIR}/usr/share/locale ASCIILINKS= en_US -LATIN15LINKS= af_ZA ca_ES da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR is_IS \ - it_CH it_IT nl_NL no_NO pt_PT sv_SE +LATIN15LINKS= af_ZA ca_ES da_DK de_CH de_DE en_US es_ES fi_FI fr_BE fr_FR \ + is_IS it_CH it_IT nl_NL no_NO pt_PT sv_SE -UTF8_LATIN1LINKS= af_ZA ca_ES da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR \ - is_IS it_IT nl_NL no_NO pt_BR pt_PT sv_SE +UTF8_LATIN1LINKS= af_ZA ca_ES da_DK de_CH de_DE en_US es_ES fi_FI fr_BE \ + fr_FR is_IS it_IT nl_NL no_NO pt_BR pt_PT sv_SE UTF8_LATIN2LINKS= cs_CZ hr_HR hu_HU pl_PL ro_RO sk_SK sl_SI UTF8_LATIN5LINKS= sr_YU uk_UA UTF8_LATIN7LINKS= el_GR @@ -63,7 +64,7 @@ US_LINKS= en_CA en_GB GB_LINKS= en_AU en_NZ FR_LINKS= fr_CA fr_CH -DE_LINKS= de_AT de_CH +DE_LINKS= de_AT IT_LINKS= it_CH BE_LINKS= nl_BE RU_LINKS= ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 diff -ruN share.orig/numericdef/de_CH.ISO8859-1.src share/numericdef/de_CH.ISO8859-1.src --- share.orig/numericdef/de_CH.ISO8859-1.src Thu Jan 1 01:00:00 1970 +++ share/numericdef/de_CH.ISO8859-1.src Sun Dec 26 04:14:50 2004 @@ -0,0 +1,12 @@ +# $FreeBSD: $ +# +# 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 >Release-Note: >Audit-Trail: >Unformatted: