Skip to content

Commit

Permalink
i18n: removes incorrect mark for translation.
Browse files Browse the repository at this point in the history
* Refs: #415
  • Loading branch information
Zeller, Christina committed Jun 9, 2022
1 parent 12c5a9c commit 3b0f0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_accounts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,5 @@ def validate_username(username):
if not re.fullmatch(username_regex, username):
# if validation fails, we raise a ValueError with the configured
# text explaining the validation rules.
message = _(current_app.config["ACCOUNTS_USERNAME_RULES_TEXT"])
message = current_app.config["ACCOUNTS_USERNAME_RULES_TEXT"]
raise ValueError(message)

0 comments on commit 3b0f0a1

Please sign in to comment.