add t/strings for username and password

This commit is contained in:
vrifox 2023-07-18 17:10:07 +02:00 committed by Shiny Nematoda
parent 615a70e13c
commit 23ea92f124
3 changed files with 12 additions and 4 deletions

View file

@ -462,14 +462,14 @@ onMounted(async () => {
<input <input
class="textbox" class="textbox"
type="text" type="text"
placeholder="username" :placeholder="t('general.username')"
autocomplete="username" autocomplete="username"
@change="user.username = $event.target.value" @change="user.username = $event.target.value"
required /> required />
<input <input
class="textbox" class="textbox"
type="password" type="password"
placeholder="password" :placeholder="t('general.password')"
autocomplete="password" autocomplete="password"
@change="user.password = $event.target.value" @change="user.password = $event.target.value"
required /> required />

View file

@ -88,8 +88,12 @@
"void": "Keine Liedtexte" "void": "Keine Liedtexte"
}, },
"statusBar": { "statusBar": {
"currentPlaylist": "Aktuelle Wiedergabeliste", "currentPlaylist": "Aktuelle Wiedergabeliste",
"loop": "Schleife" "loop": "Schleife"
},
"general": {
"username": "Benutzername",
"password": "Passwort"
}, },
"countries": { "countries": {
"AE": "Vereinigte Arabische Emirate", "AE": "Vereinigte Arabische Emirate",

View file

@ -91,6 +91,10 @@
"currentPlaylist": "Current Playlist", "currentPlaylist": "Current Playlist",
"loop": "Loop" "loop": "Loop"
}, },
"general": {
"username": "username",
"password": "password"
},
"countries": { "countries": {
"AE": "United Arab Emirates", "AE": "United Arab Emirates",
"AR": "Argentina", "AR": "Argentina",