Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Have an error message differing from the label for the honeypot
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Aug 26, 2016
1 parent 32e086e commit 4dbe7d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onegov/user/forms/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class RegistrationForm(Form):
roboter_falle = StringField(
label=_("Please leave this field empty"),
validators=[validators.Length(max=0, message=_(
"Please leave this field empty"
"The field is not empty"
))]
)

Expand Down
5 changes: 4 additions & 1 deletion onegov/user/locale/de_ch/LC_MESSAGES/onegov.user.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
"POT-Creation-Date: 2016-08-25 16:31+0200\n"
"POT-Creation-Date: 2016-08-26 09:36+0200\n"
"PO-Revision-Date: 2015-10-15 09:44+0200\n"
"Last-Translator: Denis Krienbühl <denis.krienbuehl@seantis.ch>\n"
"Language-Team: German\n"
Expand Down Expand Up @@ -41,3 +41,6 @@ msgstr "Das Passwort muss mindestens acht Zeichen lang sein"

msgid "Passwords must match"
msgstr "Das Passwort muss mit dem vorgehenden übereinstimmen"

msgid "The field is not empty"
msgstr "Das Feld ist nicht leer"

0 comments on commit 4dbe7d3

Please sign in to comment.