diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 05:09:21 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 05:09:21 +0000 |
| commit | 85240897695b39e40e36127f8b26c7d0f066c16a (patch) | |
| tree | ff734eaa41c22eb7e4e1ee257f87ba3f1df50356 /tests/regressiontests/comment_tests | |
| parent | 227a93b64f582d62087ecbb19d281b9c6e5a2dcf (diff) | |
Add internationalisation support to the comment templates. Fixed #8868, #8905
Thanks to zgoda for a patch that did most of the internationalisation part.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/comment_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") |
