Reuse existing translation for the "Save" button in the Edit comment form.
This commit is contained in:
parent
ceae1052d7
commit
ab99c5d015
2
news/170.bugfix
Normal file
2
news/170.bugfix
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Reuse existing translation for the "Save" button in the Edit comment form.
|
||||||
|
[vincentfretin]
|
@ -75,7 +75,7 @@ class EditCommentForm(CommentForm):
|
|||||||
target = portal_state.portal_url()
|
target = portal_state.portal_url()
|
||||||
self.request.response.redirect(target)
|
self.request.response.redirect(target)
|
||||||
|
|
||||||
@button.buttonAndHandler(_(u'edit_comment_form_button',
|
@button.buttonAndHandler(_(u'label_save',
|
||||||
default=u'Save'), name='comment')
|
default=u'Save'), name='comment')
|
||||||
def handleComment(self, action):
|
def handleComment(self, action):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user