[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 13/36] localedata: fix en_DK locale LC_MONETARY definition for ISO-8859-15



From: Jakob Bohm <jbj@image.dk>
Date: Tue, 6 Jan 2009 14:49:46 -0600

As an EU-member (but not a Euro country) most Danish users have an ongoing
need to refer to the Euro and amounts expressed in Euros (in addition to
referring to their own currency "Kr").  This is even more common for those
who use the internationally oriented en_DK locale (English is not a native
language in Denmark, en_DK is a way to get English language with Danish
formats for Dates etc.).

To refer to the Euro, the ISO8859-15 character set is needed for the Euro
symbol, and the basic da_DK locale was long ago updated to remove a
placeholder reference to the "Currency" symbol erroneously included in
ISO8859-1 during the cold war era.

Unfortunately this update was never made in the en_DK locale definition
(which appears to be based on a one month older original file).  Fix
this.

Note that building the da_DK@euro locale has not been a problem for a long
time; the patch for SUPPORTED also adds that fact to the config.

Patch submitted through the BTS, 2005-08-15.

[bouzim@gmail.com, 2005-08-22: FWIW da_DK.ISO-8859-15 and
 en_GB.ISO-8859-15 locales are included in Fedora, so maybe
 .ISO-8859-15 suffix should be used instead of @euro for compatibility
 reasons.]
[aurelien@aurel32.net, 2009-01-06: rebase against glibc 2.9]

Fixes: http://bugs.debian.org/323159
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
 localedata/SUPPORTED     |    1 +
 localedata/locales/en_DK |   35 +++++------------------------------
 2 files changed, 6 insertions(+), 30 deletions(-)

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 79c884b..8ec07d0 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -115,6 +115,7 @@ en_BW/ISO-8859-1 \
 en_CA.UTF-8/UTF-8 \
 en_CA/ISO-8859-1 \
 en_DK.UTF-8/UTF-8 \
+en_DK.ISO-8859-15/ISO-8859-15 \
 en_DK/ISO-8859-1 \
 en_GB.UTF-8/UTF-8 \
 en_GB/ISO-8859-1 \
diff --git a/localedata/locales/en_DK b/localedata/locales/en_DK
index 3ec5170..3b367e1 100644
--- a/localedata/locales/en_DK
+++ b/localedata/locales/en_DK
@@ -60,27 +60,11 @@ copy "en_GB"
 END LC_CTYPE
 
 LC_MONETARY
-int_curr_symbol      "<U0044><U004B><U004B><U0020>"
-currency_symbol      "<U00A4>"
-mon_decimal_point    "<U002C>"
-mon_thousands_sep    "<U002E>"
-mon_grouping         3;3
-positive_sign        ""
-negative_sign        "<U002D>"
-int_frac_digits      2
-frac_digits          2
-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          1
+copy "da_DK"
 END LC_MONETARY
 
 LC_NUMERIC
-decimal_point        "<U002C>"
-thousands_sep        "<U002E>"
-grouping             3;3
+copy "da_DK"
 END LC_NUMERIC
 
 LC_TIME
@@ -128,8 +112,7 @@ first_workday 2
 END LC_TIME
 
 LC_MESSAGES
-yesexpr  "<U005E><U005B><U0031><U004A><U006A><U0073><U0053><U0079><U0059><U006F><U004F><U005D><U002E><U002A>"
-noexpr   "<U005E><U005B><U0030><U006E><U004E><U005D><U002E><U002A>"
+copy "da_DK"
 END LC_MESSAGES
 
 LC_PAPER
@@ -145,17 +128,9 @@ copy "da_DK"
 END LC_MEASUREMENT
 
 LC_NAME
-name_fmt    "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
-<U0025><U006D><U0025><U0074><U0025><U0066>"
+copy "da_DK"
 END LC_NAME
 
 LC_ADDRESS
-postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
-<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
-<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
-<U004E><U0025><U007A><U0020><U0025><U0054><U0025>/
-<U004E><U0025><U0063><U0025><U004E>"
-country_ab2 "<U0044><U004B>"
-country_ab3 "<U0044><U004E><U004B>"
-country_num 208
+copy "da_DK"
 END LC_ADDRESS
-- 
1.7.5.1


Reply to: