web/admin: remove invalid requirement for usernames

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-06-10 22:59:59 +02:00
parent 6573cbb16c
commit 4d8021c403
12 changed files with 72 additions and 22 deletions

View File

@ -4285,8 +4285,8 @@ msgstr "Erforderlich"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "Erforderlich. 150 Zeichen oder weniger. Nur Buchstaben, Zahlen und @/./+/-/_."
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "Erforderlich. 150 Zeichen oder weniger. Nur Buchstaben, Zahlen und @/./+/-/_."
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6210,6 +6210,11 @@ msgstr "Avatar des Benutzers"
msgid "User's display name."
msgstr "Anzeigename"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4363,8 +4363,8 @@ msgstr "Required."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6336,6 +6336,11 @@ msgstr "User's avatar"
msgid "User's display name."
msgstr "User's display name."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr "User's primary identifier. 150 characters or fewer."
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4278,8 +4278,8 @@ msgstr "Necesario."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "Obligatorio. 150 caracteres o menos. Solo letras, dígitos y @/./+/-/_."
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "Obligatorio. 150 caracteres o menos. Solo letras, dígitos y @/./+/-/_."
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6204,6 +6204,11 @@ msgstr "Avatar del usuario"
msgid "User's display name."
msgstr "Nombre para mostrar del usuario."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4325,8 +4325,8 @@ msgstr "Obligatoire."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "Obligatoire. 150 caractères ou moins. Lettres, chiffres et @/./+/-/_ uniquement."
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "Obligatoire. 150 caractères ou moins. Lettres, chiffres et @/./+/-/_ uniquement."
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6265,6 +6265,11 @@ msgstr "Avatar de l'utilisateu"
msgid "User's display name."
msgstr "Nom d'affichage de l'utilisateur"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4275,8 +4275,8 @@ msgstr "Wymagany."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "Wymagane. 150 znaków lub mniej. Tylko litery, cyfry i @/./+/-/_."
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "Wymagane. 150 znaków lub mniej. Tylko litery, cyfry i @/./+/-/_."
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6201,6 +6201,11 @@ msgstr "Awatar użytkownika"
msgid "User's display name."
msgstr "Wyświetlana nazwa użytkownika."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4343,8 +4343,8 @@ msgstr ""
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr ""
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr ""
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6306,6 +6306,11 @@ msgstr ""
msgid "User's display name."
msgstr ""
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4280,8 +4280,8 @@ msgstr "Zorunlu."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "Gerekli. 150 karakter veya daha az. Harfler, rakamlar ve yalnızca @/./+/-/_."
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "Gerekli. 150 karakter veya daha az. Harfler, rakamlar ve yalnızca @/./+/-/_."
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6206,6 +6206,11 @@ msgstr "Kullanıcının avatarı"
msgid "User's display name."
msgstr "Kullanıcının görünen adı."
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4247,8 +4247,8 @@ msgstr "必需。"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "必填。不超过 150 个字符。仅限字母、数字和 @/./+/-/_ 。"
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "必填。不超过 150 个字符。仅限字母、数字和 @/./+/-/_ 。"
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6163,6 +6163,11 @@ msgstr "用户的头像"
msgid "User's display name."
msgstr "用户的显示名称"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4253,8 +4253,8 @@ msgstr "必需。"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "必填。不超过 150 个字符。仅限字母、数字和 @/./+/-/_ 。"
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "必填。不超过 150 个字符。仅限字母、数字和 @/./+/-/_ 。"
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6172,6 +6172,11 @@ msgstr "用户的头像"
msgid "User's display name."
msgstr "用户的显示名称。"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -4253,8 +4253,8 @@ msgstr "必需。"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "必填。不超过 150 个字符。仅限字母、数字和 @/./+/-/_ 。"
#~ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#~ msgstr "必填。不超过 150 个字符。仅限字母、数字和 @/./+/-/_ 。"
#: src/pages/users/UserViewPage.ts
msgid "Reset Password"
@ -6172,6 +6172,11 @@ msgstr "用户的头像"
msgid "User's display name."
msgstr "用户的显示名称。"
#: src/pages/users/ServiceAccountForm.ts
#: src/pages/users/UserForm.ts
msgid "User's primary identifier. 150 characters or fewer."
msgstr ""
#: src/pages/users/RelatedUserList.ts
#: src/pages/users/UserListPage.ts
msgid "User(s)"

View File

@ -42,7 +42,7 @@ export class ServiceAccountForm extends Form<UserServiceAccountRequest> {
<ak-form-element-horizontal label=${t`Username`} ?required=${true} name="name">
<input type="text" value="" class="pf-c-form-control" required />
<p class="pf-c-form__helper-text">
${t`Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.`}
${t`User's primary identifier. 150 characters or fewer.`}
</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal name="createGroup">

View File

@ -66,7 +66,7 @@ export class UserForm extends ModelForm<User, number> {
required
/>
<p class="pf-c-form__helper-text">
${t`Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.`}
${t`User's primary identifier. 150 characters or fewer.`}
</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal label=${t`Name`} name="name">