Fixed #19157 -- Removed test-only string from translatable strings

Thanks Alexey Boriskin for the report. Refs #18240.
This commit is contained in:
Claude Paroz 2012-10-22 09:28:22 +02:00
parent 104ca49c57
commit 58cc3e8484
2 changed files with 2 additions and 6 deletions

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Django\n" "Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: 2010-05-13 15:35+0200\n"
"Last-Translator: Django team\n" "Last-Translator: Django team\n"
"Language-Team: English <en@li.org>\n" "Language-Team: English <en@li.org>\n"
@ -175,10 +175,6 @@ msgstr ""
msgid "Boolean (Either True or False)" msgid "Boolean (Either True or False)"
msgstr "" msgstr ""
#: tests/__init__.py:29
msgid "A custom field type"
msgstr ""
#: tests/__init__.py:33 #: tests/__init__.py:33
#, python-format #, python-format
msgid "Field of type: %(field_type)s" msgid "Field of type: %(field_type)s"

View File

@ -26,7 +26,7 @@ class TestFieldType(unittest.TestCase):
def test_custom_fields(self): def test_custom_fields(self):
self.assertEqual( self.assertEqual(
views.get_readable_field_data_type(fields.CustomField()), views.get_readable_field_data_type(fields.CustomField()),
_('A custom field type') 'A custom field type'
) )
self.assertEqual( self.assertEqual(
views.get_readable_field_data_type(fields.DescriptionLackingField()), views.get_readable_field_data_type(fields.DescriptionLackingField()),