Ticket #14721: mark_unicode_strings2.diff

File mark_unicode_strings2.diff, 3.0 KB (added by Claude Paroz, 14 years ago)

Also add comments (and en/formats.py)

  • django/conf/locale/bg/formats.py

    commit 89536fef23ad1a720d3885d1e88bf0f0f31bd3b5
    Author: Claude Paroz <claude@2xlibre.net>
    Date:   Thu Nov 18 22:45:14 2010 +0100
    
        Add missing 'u' prefix before Unicode strings in localized formats.py
    
    diff --git a/django/conf/locale/bg/formats.py b/django/conf/locale/bg/formats.py
    index 045543a..ea5f300 100644
    a b SHORT_DATE_FORMAT = 'd.m.Y'  
    1414# TIME_INPUT_FORMATS =
    1515# DATETIME_INPUT_FORMATS =
    1616DECIMAL_SEPARATOR = ','
    17 THOUSAND_SEPARATOR = ' '
     17THOUSAND_SEPARATOR = u' ' # Non-breaking space
    1818# NUMBER_GROUPING =
  • django/conf/locale/en/formats.py

    diff --git a/django/conf/locale/en/formats.py b/django/conf/locale/en/formats.py
    index 141f705..c59a94a 100644
    a b DATETIME_INPUT_FORMATS = (  
    3232    '%m/%d/%y %H:%M',        # '10/25/06 14:30'
    3333    '%m/%d/%y',              # '10/25/06'
    3434)
    35 DECIMAL_SEPARATOR = '.'
    36 THOUSAND_SEPARATOR = ','
     35DECIMAL_SEPARATOR = u'.'
     36THOUSAND_SEPARATOR = u','
    3737NUMBER_GROUPING = 3
    3838
  • django/conf/locale/et/formats.py

    diff --git a/django/conf/locale/et/formats.py b/django/conf/locale/et/formats.py
    index b96420c..101fcee 100644
    a b SHORT_DATE_FORMAT = 'd.m.Y'  
    1414# TIME_INPUT_FORMATS =
    1515# DATETIME_INPUT_FORMATS =
    1616DECIMAL_SEPARATOR = ','
    17 THOUSAND_SEPARATOR = ' '
     17THOUSAND_SEPARATOR = u' ' # Non-breaking space
    1818# NUMBER_GROUPING =
  • django/conf/locale/fi/formats.py

    diff --git a/django/conf/locale/fi/formats.py b/django/conf/locale/fi/formats.py
    index 670e268..d6cc7d7 100644
    a b SHORT_DATE_FORMAT = 'j.n.Y'  
    1414# TIME_INPUT_FORMATS =
    1515# DATETIME_INPUT_FORMATS =
    1616DECIMAL_SEPARATOR = ','
    17 THOUSAND_SEPARATOR = ' '
     17THOUSAND_SEPARATOR = u' ' # Non-breaking space
    1818# NUMBER_GROUPING =
  • django/conf/locale/hu/formats.py

    diff --git a/django/conf/locale/hu/formats.py b/django/conf/locale/hu/formats.py
    index 6ee2db0..cb93e2f 100644
    a b SHORT_DATE_FORMAT = 'Y.m.d.'  
    1414# TIME_INPUT_FORMATS =
    1515# DATETIME_INPUT_FORMATS =
    1616DECIMAL_SEPARATOR = ','
    17 THOUSAND_SEPARATOR = ' '
     17THOUSAND_SEPARATOR = u' ' # Non-breaking space
    1818# NUMBER_GROUPING =
  • django/conf/locale/lv/formats.py

    diff --git a/django/conf/locale/lv/formats.py b/django/conf/locale/lv/formats.py
    index 8328b74..15637d1 100644
    a b DATETIME_INPUT_FORMATS = (  
    3232    '%d.%m.%y',              # '25.10.06'
    3333)
    3434DECIMAL_SEPARATOR = ','
    35 THOUSAND_SEPARATOR = ' '
     35THOUSAND_SEPARATOR = u' ' # Non-breaking space
    3636NUMBER_GROUPING = 3
  • django/conf/locale/uk/formats.py

    diff --git a/django/conf/locale/uk/formats.py b/django/conf/locale/uk/formats.py
    index 8e41bf0..8c01f3d 100644
    a b SHORT_DATE_FORMAT = 'j M Y'  
    1414# TIME_INPUT_FORMATS =
    1515# DATETIME_INPUT_FORMATS =
    1616DECIMAL_SEPARATOR = ','
    17 THOUSAND_SEPARATOR = ' '
     17THOUSAND_SEPARATOR = u' '
    1818# NUMBER_GROUPING =
Back to Top