diff --git a/snikket_web/admin.py b/snikket_web/admin.py index 64f8efd..c2b27c0 100644 --- a/snikket_web/admin.py +++ b/snikket_web/admin.py @@ -733,21 +733,21 @@ def get_system_stats() -> typing.MutableMapping[ class AnnouncementForm(BaseForm): text = wtforms.StringField( - _("Message contents"), + _l("Message contents"), widget=wtforms.widgets.TextArea(), validators=[wtforms.validators.DataRequired()], ) online_only = wtforms.BooleanField( - _("Only send to online users"), + _l("Only send to online users"), ) action_post_all = wtforms.SubmitField( - _("Post to all users"), + _l("Post to all users"), ) action_send_preview = wtforms.SubmitField( - _("Send preview to yourself"), + _l("Send preview to yourself"), )