localize username input

This commit is contained in:
Moriz Wahl 2023-05-15 21:40:25 +02:00
parent 3492f5bb45
commit 98f6a0c6d6
3 changed files with 7 additions and 1 deletions

View File

@ -33,7 +33,11 @@
</div>
</b-col>
<b-col v-else class="col-12">
<input-username v-model="username" />
<input-username
v-model="username"
:name="$t('form.username')"
:placeholder="$t('form.username-placeholder')"
/>
</b-col>
</b-row>
<b-row class="text-right" v-if="!showUserData">

View File

@ -167,6 +167,7 @@
"to": "bis",
"to1": "an",
"username": "Nutzername",
"username-placeholder": "Gebe einen eindeutigen Nutzernamen ein",
"validation": {
"gddCreationTime": "Das Feld {_field_} muss eine Zahl zwischen {min} und {max} mit höchstens einer Nachkommastelle sein",
"gddSendAmount": "Das Feld {_field_} muss eine Zahl zwischen {min} und {max} mit höchstens zwei Nachkommastellen sein",

View File

@ -167,6 +167,7 @@
"to": "to",
"to1": "to",
"username": "Username",
"username-placeholder": "Enter a unique username",
"validation": {
"gddCreationTime": "The field {_field_} must be a number between {min} and {max} with at most one decimal place.",
"gddSendAmount": "The {_field_} field must be a number between {min} and {max} with at most two digits after the decimal point",