diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 05:20:00 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 05:20:00 +0000 |
| commit | ccc2387fd21f5a93e8467f2fbb6462c6fae195c5 (patch) | |
| tree | c33bfb007f9a5ed1f147d1853f03c59bdd6f580f /tests | |
| parent | 389307025fcea7c183406e329c7e71d193f8c5a3 (diff) | |
[1.0.X] Add internationalisation support to the comment templates. Fixed #8868, #8905
Thanks to zgoda for a patch that did most of the internationalisation part.
Backport of r9119 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/comment_tests/tests/comment_view_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/comment_tests/tests/comment_view_tests.py b/tests/regressiontests/comment_tests/tests/comment_view_tests.py index f82a5e17d8..0c975116ef 100644 --- a/tests/regressiontests/comment_tests/tests/comment_view_tests.py +++ b/tests/regressiontests/comment_tests/tests/comment_view_tests.py @@ -45,7 +45,7 @@ class CommentViewTests(CommentTestCase): def testCommentPreview(self): a = Article.objects.get(pk=1) data = self.getValidData(a) - data["submit"] = "preview" + data["preview"] = "Preview" response = self.client.post("/post/", data) self.assertEqual(response.status_code, 200) self.assertTemplateUsed(response, "comments/preview.html") |
