From 58cc3e8484c4fb7db787ec2c21d8aeac3d131f3e Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 22 Oct 2012 09:28:22 +0200 Subject: [PATCH] Fixed #19157 -- Removed test-only string from translatable strings Thanks Alexey Boriskin for the report. Refs #18240. --- django/contrib/admindocs/locale/en/LC_MESSAGES/django.po | 6 +----- django/contrib/admindocs/tests/__init__.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/django/contrib/admindocs/locale/en/LC_MESSAGES/django.po b/django/contrib/admindocs/locale/en/LC_MESSAGES/django.po index c2af7901d5..f58586f414 100644 --- a/django/contrib/admindocs/locale/en/LC_MESSAGES/django.po +++ b/django/contrib/admindocs/locale/en/LC_MESSAGES/django.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Django\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-15 10:56+0200\n" +"POT-Creation-Date: 2012-10-22 09:28+0200\n" "PO-Revision-Date: 2010-05-13 15:35+0200\n" "Last-Translator: Django team\n" "Language-Team: English \n" @@ -175,10 +175,6 @@ msgstr "" msgid "Boolean (Either True or False)" msgstr "" -#: tests/__init__.py:29 -msgid "A custom field type" -msgstr "" - #: tests/__init__.py:33 #, python-format msgid "Field of type: %(field_type)s" diff --git a/django/contrib/admindocs/tests/__init__.py b/django/contrib/admindocs/tests/__init__.py index 306475beb1..aa5bd6a8dc 100644 --- a/django/contrib/admindocs/tests/__init__.py +++ b/django/contrib/admindocs/tests/__init__.py @@ -26,7 +26,7 @@ class TestFieldType(unittest.TestCase): def test_custom_fields(self): self.assertEqual( views.get_readable_field_data_type(fields.CustomField()), - _('A custom field type') + 'A custom field type' ) self.assertEqual( views.get_readable_field_data_type(fields.DescriptionLackingField()),