From 5f7b0dfb1128b494f3c80fd63d9f16f44007d7d9 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Wed, 4 Apr 2007 15:15:51 +0000 Subject: [PATCH] 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 --- django/contrib/localflavor/de/de_states.py | 2 +- tests/regressiontests/forms/localflavor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/localflavor/de/de_states.py b/django/contrib/localflavor/de/de_states.py index a383378854..c00fd2e293 100644 --- a/django/contrib/localflavor/de/de_states.py +++ b/django/contrib/localflavor/de/de_states.py @@ -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')), diff --git a/tests/regressiontests/forms/localflavor.py b/tests/regressiontests/forms/localflavor.py index 419b597155..e9c027b5c8 100644 --- a/tests/regressiontests/forms/localflavor.py +++ b/tests/regressiontests/forms/localflavor.py @@ -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'' +u'' # DEIdentityCardNumberField #################################################