1
0
mirror of https://github.com/django/django.git synced 2025-04-18 06:14:37 +00:00

Fixed -- Removed test-only string from translatable strings

Thanks Alexey Boriskin for the report. Refs .
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
django/contrib/admindocs
locale/en/LC_MESSAGES
tests

@ -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 <en@li.org>\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"

@ -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()),