Skip to content

Commit

Permalink
i18n: Adds 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 3b0f0a1 commit 2bd3a69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion invenio_accounts/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

from datetime import timedelta

from flask_babelex import lazy_gettext as _

from .profiles import UserPreferencesSchema, UserProfileSchema
from .views import login

Expand Down Expand Up @@ -317,7 +319,7 @@
to reflect the changes.
"""

ACCOUNTS_USERNAME_RULES_TEXT = (
ACCOUNTS_USERNAME_RULES_TEXT = _(
"Username must start with a letter, be at least three characters long and"
" only contain alphanumeric characters, dashes and underscores."
)
Expand Down

0 comments on commit 2bd3a69

Please sign in to comment.