diff --git a/snikket_web/invite.py b/snikket_web/invite.py index 1fed37e..e5fb977 100644 --- a/snikket_web/invite.py +++ b/snikket_web/invite.py @@ -120,7 +120,7 @@ async def register(id_: str) -> typing.Union[str, quart.Response]: except aiohttp.ClientResponseError as exc: if exc.status == 409: form.localpart.errors.append( - _l("That user name is already taken") + _l("That username is already taken") ) elif exc.status == 403: form.localpart.errors.append( @@ -128,7 +128,7 @@ async def register(id_: str) -> typing.Union[str, quart.Response]: ) elif exc.status == 400: form.localpart.errors.append( - _l("The user name was not valid") + _l("The username is not valid") ) elif exc.status == 404: return redirect(url_for(".view", id_=id_)) diff --git a/snikket_web/main.py b/snikket_web/main.py index a26ff22..4968bfd 100644 --- a/snikket_web/main.py +++ b/snikket_web/main.py @@ -69,7 +69,7 @@ async def login() -> typing.Union[str, quart.Response]: await client.login(jid, password) except quart.exceptions.Unauthorized: form.password.errors.append( - _("Invalid user name or password.") + _("Invalid username or password.") ) else: return redirect(url_for('user.index')) diff --git a/snikket_web/translations/messages.pot b/snikket_web/translations/messages.pot index 233df08..65254e8 100644 --- a/snikket_web/translations/messages.pot +++ b/snikket_web/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-01-26 16:27+0100\n" +"POT-Creation-Date: 2021-01-26 20:49+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -114,7 +114,7 @@ msgid "Create account" msgstr "" #: snikket_web/invite.py:123 -msgid "That user name is already taken" +msgid "That username is already taken" msgstr "" #: snikket_web/invite.py:127 @@ -122,7 +122,7 @@ msgid "Registration was declined for unknown reasons" msgstr "" #: snikket_web/invite.py:131 -msgid "The user name was not valid" +msgid "The username is not valid" msgstr "" #: snikket_web/main.py:36 @@ -134,7 +134,7 @@ msgid "Sign in" msgstr "" #: snikket_web/main.py:72 -msgid "Invalid user name or password." +msgid "Invalid username or password." msgstr "" #: snikket_web/user.py:21