misc/98815: [PATCH] Add euro symbol to pt_PT locale using other
encodings
Rui Lopes
rgl at ruilopes.com
Sun Jun 11 15:30:16 UTC 2006
>Number: 98815
>Category: misc
>Synopsis: [PATCH] Add euro symbol to pt_PT locale using other encodings
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 11 15:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Rui Lopes
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
>Description:
Add the euro symbol encoded in ISO-8859-15 and UTF-8 to the pt_PT locale.
These files are a verbatin copy of
/usr/src/share/monetdef/pt_PT.ISO8859-1.src (after applying PR/98813).
NB: You probably will need to change the $FreeBSD$ tag.
>How-To-Repeat:
>Fix:
--- add_LC_MONETARY_for_pt_PT.patch begins here ---
diff -ruN monetdef.orig/Makefile monetdef/Makefile
--- monetdef.orig/Makefile Fri Mar 4 14:24:29 2005
+++ monetdef/Makefile Sun Jun 11 12:25:26 2006
@@ -51,6 +51,8 @@
pl_PL.UTF-8 \
pt_BR.ISO8859-1 \
pt_PT.ISO8859-1 \
+ pt_PT.ISO8859-15 \
+ pt_PT.UTF-8 \
ro_RO.ISO8859-2 \
ru_RU.CP1251 \
ru_RU.CP866 \
@@ -102,11 +104,11 @@
ISO8859-1_ISO8859-1= es_ES:eu_ES de_CH:fr_CH de_CH:it_CH
ISO8859-1_ISO8859-15= af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA \
en_GB en_NZ en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR \
- is_IS it_IT it_CH nl_BE nl_NL no_NO pt_PT sv_SE
+ is_IS it_IT it_CH nl_BE nl_NL no_NO sv_SE
ISO8859-1_US-ASCII= en_AU en_CA en_GB en_NZ en_US
ISO8859-1_UTF-8= af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_NZ \
en_US es_ES fi_FI fr_BE fr_CA fr_FR is_IS it_IT nl_BE \
- nl_NL no_NO pt_BR pt_PT sv_SE
+ nl_NL no_NO pt_BR sv_SE
ISO8859-2_UTF-8= hr_HR hu_HU ro_RO sk_SK sl_SI sr_YU
ISO8859-7_UTF-8= el_GR
ISO8859-9_UTF-8= tr_TR
diff -ruN monetdef.orig/pt_PT.ISO8859-15.src monetdef/pt_PT.ISO8859-15.src
--- monetdef.orig/pt_PT.ISO8859-15.src Thu Jan 1 01:00:00 1970
+++ monetdef/pt_PT.ISO8859-15.src Sun Jun 11 12:26:50 2006
@@ -0,0 +1,36 @@
+# $FreeBSD: src/share/monetdef/pt_PT.ISO8859-1.src,v 1.2 2002/02/19 18:38:04 phantom Exp $
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol (last character always SPACE)
+EUR
+# currency_symbol
+¤
+# mon_decimal_point
+,
+# mon_thousands_sep
+.
+# mon_grouping, separated by ;
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+2
+# frac_digits
+2
+# p_cs_precedes
+0
+# p_sep_by_space
+1
+# n_cs_precedes
+0
+# n_sep_by_space
+1
+# p_sign_posn
+1
+# n_sign_posn
+1
+# EOF
diff -ruN monetdef.orig/pt_PT.UTF-8.src monetdef/pt_PT.UTF-8.src
--- monetdef.orig/pt_PT.UTF-8.src Thu Jan 1 01:00:00 1970
+++ monetdef/pt_PT.UTF-8.src Sun Jun 11 12:24:33 2006
@@ -0,0 +1,36 @@
+# $FreeBSD: src/share/monetdef/pt_PT.ISO8859-1.src,v 1.2 2002/02/19 18:38:04 phantom Exp $
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol (last character always SPACE)
+EUR
+# currency_symbol
+â¬
+# mon_decimal_point
+,
+# mon_thousands_sep
+.
+# mon_grouping, separated by ;
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+2
+# frac_digits
+2
+# p_cs_precedes
+0
+# p_sep_by_space
+1
+# n_cs_precedes
+0
+# n_sep_by_space
+1
+# p_sign_posn
+1
+# n_sign_posn
+1
+# EOF
--- add_LC_MONETARY_for_pt_PT.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list