summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-11-26 13:32:32 +0000
committerJannis Leidel <jannis@leidel.info>2010-11-26 13:32:32 +0000
commitab578bfe6310072a79bd1214be587354656e7ad8 (patch)
treee4174434353940d13755fedade0fe065ac6d7ccf
parent78be884ea788835ad98ad433862a82cf192c3d4f (diff)
Fixed #14721 -- Made the THOUSAND_SEPERATOR a unicode string in a few locales. Thanks, Claude Paroz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/conf/locale/bg/formats.py2
-rw-r--r--django/conf/locale/en/formats.py4
-rw-r--r--django/conf/locale/et/formats.py2
-rw-r--r--django/conf/locale/fi/formats.py2
-rw-r--r--django/conf/locale/hu/formats.py2
-rw-r--r--django/conf/locale/lv/formats.py2
-rw-r--r--django/conf/locale/uk/formats.py2
7 files changed, 8 insertions, 8 deletions
diff --git a/django/conf/locale/bg/formats.py b/django/conf/locale/bg/formats.py
index 045543a7ac..ea5f300e55 100644
--- a/django/conf/locale/bg/formats.py
+++ b/django/conf/locale/bg/formats.py
@@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'd.m.Y'
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
diff --git a/django/conf/locale/en/formats.py b/django/conf/locale/en/formats.py
index 141f705fb9..c59a94a1c7 100644
--- a/django/conf/locale/en/formats.py
+++ b/django/conf/locale/en/formats.py
@@ -32,7 +32,7 @@ DATETIME_INPUT_FORMATS = (
'%m/%d/%y %H:%M', # '10/25/06 14:30'
'%m/%d/%y', # '10/25/06'
)
-DECIMAL_SEPARATOR = '.'
-THOUSAND_SEPARATOR = ','
+DECIMAL_SEPARATOR = u'.'
+THOUSAND_SEPARATOR = u','
NUMBER_GROUPING = 3
diff --git a/django/conf/locale/et/formats.py b/django/conf/locale/et/formats.py
index b96420c0c1..101fceed1f 100644
--- a/django/conf/locale/et/formats.py
+++ b/django/conf/locale/et/formats.py
@@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'd.m.Y'
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
diff --git a/django/conf/locale/fi/formats.py b/django/conf/locale/fi/formats.py
index 670e26841a..d6cc7d76d9 100644
--- a/django/conf/locale/fi/formats.py
+++ b/django/conf/locale/fi/formats.py
@@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'j.n.Y'
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
diff --git a/django/conf/locale/hu/formats.py b/django/conf/locale/hu/formats.py
index 6ee2db0cd5..cb93e2f91d 100644
--- a/django/conf/locale/hu/formats.py
+++ b/django/conf/locale/hu/formats.py
@@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'Y.m.d.'
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
diff --git a/django/conf/locale/lv/formats.py b/django/conf/locale/lv/formats.py
index 8328b74320..15637d1dbd 100644
--- a/django/conf/locale/lv/formats.py
+++ b/django/conf/locale/lv/formats.py
@@ -32,5 +32,5 @@ DATETIME_INPUT_FORMATS = (
'%d.%m.%y', # '25.10.06'
)
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
NUMBER_GROUPING = 3
diff --git a/django/conf/locale/uk/formats.py b/django/conf/locale/uk/formats.py
index 8e41bf020d..8c01f3ddbd 100644
--- a/django/conf/locale/uk/formats.py
+++ b/django/conf/locale/uk/formats.py
@@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'j M Y'
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' '
# NUMBER_GROUPING =