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 af95da2 commit cc63fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invenio_accounts/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"""Default configuration for ACCOUNTS."""

from datetime import timedelta
from flask_babelex import lazy_gettext as _

from .profiles import UserPreferencesSchema, UserProfileSchema
from .views import login
Expand Down Expand Up @@ -322,7 +323,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 cc63fa6

Please sign in to comment.