Skip to content

Commit

Permalink
Reuse existing translation for the "Save" button in the Edit comment …
Browse files Browse the repository at this point in the history
…form.
  • Loading branch information
vincentfretin committed Jun 18, 2020
1 parent ceae105 commit ab99c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions news/170.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Reuse existing translation for the "Save" button in the Edit comment form.
[vincentfretin]
2 changes: 1 addition & 1 deletion plone/app/discussion/browser/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _redirect(self, target=''):
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):

Expand Down

0 comments on commit ab99c5d

Please sign in to comment.