Author: adrian
Date: 2012-02-17 12:23:42 -0800 (Fri, 17 Feb 2012)
New Revision: 17542

Modified:
   django/trunk/django/conf/locale/cs/formats.py
   django/trunk/django/conf/locale/es_MX/formats.py
   django/trunk/django/conf/locale/fr/formats.py
   django/trunk/django/conf/locale/nb/formats.py
   django/trunk/django/conf/locale/nn/formats.py
   django/trunk/django/conf/locale/ru/formats.py
   django/trunk/django/conf/locale/sk/formats.py
   django/trunk/django/conf/locale/sv/formats.py
   django/trunk/django/contrib/localflavor/de_CH/formats.py
   django/trunk/docs/topics/i18n/formatting.txt
Log:
Changed various non-breaking space characters from [17478] to use the code 
representation rather than the actual character, which is too hard to overlook 
because it just looks like a space

Modified: django/trunk/django/conf/locale/cs/formats.py
===================================================================
--- django/trunk/django/conf/locale/cs/formats.py       2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/cs/formats.py       2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -33,5 +33,5 @@
     '%Y-%m-%d',             # '2006-10-25'
 )
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/django/conf/locale/es_MX/formats.py
===================================================================
--- django/trunk/django/conf/locale/es_MX/formats.py    2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/es_MX/formats.py    2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -24,6 +24,5 @@
     '%d/%m/%y %H:%M',
 )
 DECIMAL_SEPARATOR = '.'   # ',' is also official (less common): 
NOM-008-SCFI-2002
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3
-

Modified: django/trunk/django/conf/locale/fr/formats.py
===================================================================
--- django/trunk/django/conf/locale/fr/formats.py       2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/fr/formats.py       2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -37,5 +37,5 @@
     '%Y-%m-%d',             # '2006-10-25'
 )
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/django/conf/locale/nb/formats.py
===================================================================
--- django/trunk/django/conf/locale/nb/formats.py       2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/nb/formats.py       2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -39,5 +39,5 @@
     '%d.%m.%y',              # '25.10.06'
 )
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/django/conf/locale/nn/formats.py
===================================================================
--- django/trunk/django/conf/locale/nn/formats.py       2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/nn/formats.py       2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -39,5 +39,5 @@
     '%d.%m.%y',              # '25.10.06'
 )
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/django/conf/locale/ru/formats.py
===================================================================
--- django/trunk/django/conf/locale/ru/formats.py       2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/ru/formats.py       2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -36,5 +36,5 @@
     '%Y-%m-%d',           # '2006-10-25'
 )
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/django/conf/locale/sk/formats.py
===================================================================
--- django/trunk/django/conf/locale/sk/formats.py       2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/sk/formats.py       2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -33,5 +33,5 @@
     '%Y-%m-%d',             # '2006-10-25'
 )
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/django/conf/locale/sv/formats.py
===================================================================
--- django/trunk/django/conf/locale/sv/formats.py       2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/django/conf/locale/sv/formats.py       2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -36,5 +36,5 @@
     '%m/%d/%y',              # '10/25/06'
 )
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' ' # non-breaking space
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/django/contrib/localflavor/de_CH/formats.py
===================================================================
--- django/trunk/django/contrib/localflavor/de_CH/formats.py    2012-02-17 
20:09:40 UTC (rev 17541)
+++ django/trunk/django/contrib/localflavor/de_CH/formats.py    2012-02-17 
20:23:42 UTC (rev 17542)
@@ -39,5 +39,5 @@
 # For details, please refer to 
http://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de
 # (in German) and the documentation
 DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = u' '
+THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 NUMBER_GROUPING = 3

Modified: django/trunk/docs/topics/i18n/formatting.txt
===================================================================
--- django/trunk/docs/topics/i18n/formatting.txt        2012-02-17 20:09:40 UTC 
(rev 17541)
+++ django/trunk/docs/topics/i18n/formatting.txt        2012-02-17 20:23:42 UTC 
(rev 17542)
@@ -178,7 +178,7 @@
 
 where :file:`formats.py` contains custom format definitions. For example::
 
-    THOUSAND_SEPARATOR = u' '
+    THOUSAND_SEPARATOR = u'\xa0'
 
 to use a non-breaking space (Unicode ``00A0``) as a thousand separator,
 instead of the default for English, a comma.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to