mirror of https://github.com/django/django.git
Removed an umlaut, since our i18n support (creating PO files) doesn't work
smoothly with Python unicode strings at the moment. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bc65445e8d
commit
5f7b0dfb11
|
@ -2,7 +2,7 @@
|
|||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
STATE_CHOICES = (
|
||||
('BW', _(u'Baden-Württemberg')),
|
||||
('BW', _('Baden-Wuerttemberg')),
|
||||
('BY', _('Bavaria')),
|
||||
('BE', _('Berlin')),
|
||||
('BB', _('Brandenburg')),
|
||||
|
|
|
@ -868,7 +868,7 @@ ValidationError: [u'Enter a zip code in the format XXXXX.']
|
|||
>>> from django.contrib.localflavor.de.forms import DEStateSelect
|
||||
>>> w = DEStateSelect()
|
||||
>>> w.render('states', 'TH')
|
||||
u'<select name="states">\n<option value="BW">Baden-W\xfcrttemberg</option>\n<option value="BY">Bavaria</option>\n<option value="BE">Berlin</option>\n<option value="BB">Brandenburg</option>\n<option value="HB">Bremen</option>\n<option value="HH">Hamburg</option>\n<option value="HE">Hessen</option>\n<option value="MV">Mecklenburg-Western Pomerania</option>\n<option value="NI">Lower Saxony</option>\n<option value="NW">North Rhine-Westphalia</option>\n<option value="RP">Rhineland-Palatinate</option>\n<option value="SL">Saarland</option>\n<option value="SN">Saxony</option>\n<option value="ST">Saxony-Anhalt</option>\n<option value="SH">Schleswig-Holstein</option>\n<option value="TH" selected="selected">Thuringia</option>\n</select>'
|
||||
u'<select name="states">\n<option value="BW">Baden-Wuerttemberg</option>\n<option value="BY">Bavaria</option>\n<option value="BE">Berlin</option>\n<option value="BB">Brandenburg</option>\n<option value="HB">Bremen</option>\n<option value="HH">Hamburg</option>\n<option value="HE">Hessen</option>\n<option value="MV">Mecklenburg-Western Pomerania</option>\n<option value="NI">Lower Saxony</option>\n<option value="NW">North Rhine-Westphalia</option>\n<option value="RP">Rhineland-Palatinate</option>\n<option value="SL">Saarland</option>\n<option value="SN">Saxony</option>\n<option value="ST">Saxony-Anhalt</option>\n<option value="SH">Schleswig-Holstein</option>\n<option value="TH" selected="selected">Thuringia</option>\n</select>'
|
||||
|
||||
# DEIdentityCardNumberField #################################################
|
||||
|
||||
|
|
Loading…
Reference in New Issue