[web] Fix missing translations in modal dialog playlist view

The path and the playlist types are now translated.
This commit is contained in:
Alain Nussbaumer 2023-06-10 13:48:58 +02:00
parent 0bc13e7c63
commit 3b81791cd0
4 changed files with 26 additions and 2 deletions

View File

@ -15,12 +15,15 @@
</p> </p>
<div class="content is-small"> <div class="content is-small">
<p> <p>
<span class="heading">Path</span> <span class="heading" v-text="$t('dialog.playlist.path')" />
<span class="title is-6" v-text="playlist.path" /> <span class="title is-6" v-text="playlist.path" />
</p> </p>
<p> <p>
<span class="heading" v-text="$t('dialog.playlist.type')" /> <span class="heading" v-text="$t('dialog.playlist.type')" />
<span class="title is-6" v-text="playlist.type" /> <span
class="title is-6"
v-text="$t('playlist.type.' + playlist.type)"
/>
</p> </p>
<p v-if="!playlist.folder"> <p v-if="!playlist.folder">
<span <span

View File

@ -74,6 +74,7 @@
"playlist": { "playlist": {
"add-next": "Als nächstes hinzufügen", "add-next": "Als nächstes hinzufügen",
"add": "Hinzufügen", "add": "Hinzufügen",
"path": "Pfad",
"play": "Spielen", "play": "Spielen",
"track-count": "Tracknummer", "track-count": "Tracknummer",
"type": "Art", "type": "Art",
@ -543,6 +544,12 @@
} }
} }
}, },
"playlist": {
"type": {
"plain": "Einfache",
"smart": "Intelligente"
}
},
"player": { "player": {
"button": { "button": {
"consume": "Verlauf löschen", "consume": "Verlauf löschen",

View File

@ -75,6 +75,7 @@
"add-next": "Add Next", "add-next": "Add Next",
"add": "Add", "add": "Add",
"play": "Play", "play": "Play",
"path": "Path",
"track-count": "Track Count", "track-count": "Track Count",
"type": "Type", "type": "Type",
"save": { "save": {
@ -543,6 +544,12 @@
} }
} }
}, },
"playlist": {
"type": {
"plain": "Plain",
"smart": "Smart"
}
},
"player": { "player": {
"button": { "button": {
"consume": "Clear history", "consume": "Clear history",

View File

@ -75,6 +75,7 @@
"add-next": "Ajouter ensuite", "add-next": "Ajouter ensuite",
"add": "Ajouter", "add": "Ajouter",
"play": "Lire", "play": "Lire",
"path": "Emplacement",
"track-count": "Pistes", "track-count": "Pistes",
"type": "Type", "type": "Type",
"save": { "save": {
@ -543,6 +544,12 @@
} }
} }
}, },
"playlist": {
"type": {
"plain": "Simple",
"smart": "Intelligente"
}
},
"player": { "player": {
"button": { "button": {
"consume": "Effacer lhistorique", "consume": "Effacer lhistorique",