Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Fixed #14721 -- Made the THOUSAND_SEPERATOR a unicode string …

…in a few locales. Thanks, Claude Paroz.

Backport from trunk (r14708).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 537c45e394fbfe21a9170541d3c134524edd6624 1 parent 4b752d6
Jannis Leidel authored November 26, 2010
2  django/conf/locale/bg/formats.py
@@ -14,5 +14,5 @@
14 14
 # TIME_INPUT_FORMATS = 
15 15
 # DATETIME_INPUT_FORMATS = 
16 16
 DECIMAL_SEPARATOR = ','
17  
-THOUSAND_SEPARATOR = ' '
  17
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
18 18
 # NUMBER_GROUPING = 
4  django/conf/locale/en/formats.py
@@ -32,7 +32,7 @@
32 32
     '%m/%d/%y %H:%M',        # '10/25/06 14:30'
33 33
     '%m/%d/%y',              # '10/25/06'
34 34
 )
35  
-DECIMAL_SEPARATOR = '.'
36  
-THOUSAND_SEPARATOR = ','
  35
+DECIMAL_SEPARATOR = u'.'
  36
+THOUSAND_SEPARATOR = u','
37 37
 NUMBER_GROUPING = 3
38 38
 
2  django/conf/locale/et/formats.py
@@ -14,5 +14,5 @@
14 14
 # TIME_INPUT_FORMATS = 
15 15
 # DATETIME_INPUT_FORMATS = 
16 16
 DECIMAL_SEPARATOR = ','
17  
-THOUSAND_SEPARATOR = ' '
  17
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
18 18
 # NUMBER_GROUPING = 
2  django/conf/locale/fi/formats.py
@@ -14,5 +14,5 @@
14 14
 # TIME_INPUT_FORMATS = 
15 15
 # DATETIME_INPUT_FORMATS = 
16 16
 DECIMAL_SEPARATOR = ','
17  
-THOUSAND_SEPARATOR = ' '
  17
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
18 18
 # NUMBER_GROUPING = 
2  django/conf/locale/hu/formats.py
@@ -14,5 +14,5 @@
14 14
 # TIME_INPUT_FORMATS = 
15 15
 # DATETIME_INPUT_FORMATS = 
16 16
 DECIMAL_SEPARATOR = ','
17  
-THOUSAND_SEPARATOR = ' '
  17
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
18 18
 # NUMBER_GROUPING = 
2  django/conf/locale/lv/formats.py
@@ -32,5 +32,5 @@
32 32
     '%d.%m.%y',              # '25.10.06'
33 33
 )
34 34
 DECIMAL_SEPARATOR = ','
35  
-THOUSAND_SEPARATOR = ' '
  35
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
36 36
 NUMBER_GROUPING = 3
2  django/conf/locale/uk/formats.py
@@ -14,5 +14,5 @@
14 14
 # TIME_INPUT_FORMATS = 
15 15
 # DATETIME_INPUT_FORMATS = 
16 16
 DECIMAL_SEPARATOR = ','
17  
-THOUSAND_SEPARATOR = ' '
  17
+THOUSAND_SEPARATOR = u' '
18 18
 # NUMBER_GROUPING = 

0 notes on commit 537c45e

Please sign in to comment.
Something went wrong with that request. Please try again.