Skip to content

Commit bdd028c

Browse files
authored
Merge pull request #289 from plone/erral-fix-i18n
fix i18n
2 parents 855d865 + ad970dc commit bdd028c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

news/+i18n-2.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Do not create empty translatable strings @erral

src/plone/app/discussion/browser/comments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def updateWidgets(self):
9090
# Widgets
9191
self.widgets["in_reply_to"].mode = interfaces.HIDDEN_MODE
9292
self.widgets["text"].addClass("autoresize")
93-
self.widgets["user_notification"].label = _("")
93+
self.widgets["user_notification"].label = ""
9494
# Reset widget field settings to their defaults, which may be changed
9595
# further on. Otherwise, the email field might get set to required
9696
# when an anonymous user visits, and then remain required when an

0 commit comments

Comments
 (0)