Reuse existing translation for the "Save" button in the Edit comment form.

This commit is contained in:
Vincent Fretin 2020-06-18 11:48:31 +02:00
parent ceae1052d7
commit ab99c5d015
2 changed files with 3 additions and 1 deletions

2
news/170.bugfix Normal file
View File

@ -0,0 +1,2 @@
Reuse existing translation for the "Save" button in the Edit comment form.
[vincentfretin]

View File

@ -75,7 +75,7 @@ class EditCommentForm(CommentForm):
target = portal_state.portal_url()
self.request.response.redirect(target)
@button.buttonAndHandler(_(u'edit_comment_form_button',
@button.buttonAndHandler(_(u'label_save',
default=u'Save'), name='comment')
def handleComment(self, action):