fix: add i18n to autoplay option

This commit is contained in:
Bnyro 2025-01-09 14:32:31 +01:00
parent c2b00596f8
commit e863b0fa41
2 changed files with 7 additions and 4 deletions

View File

@ -213,9 +213,9 @@
<br /> <br />
<label for="chkAutoPlay"><strong v-text="`${$t('actions.auto_play_next_video')}:`" /></label> <label for="chkAutoPlay"><strong v-text="`${$t('actions.auto_play_next_video')}:`" /></label>
<select id="chkAutoPlay" v-model="selectedAutoPlay" class="select ml-1.5" @change="onChange($event)"> <select id="chkAutoPlay" v-model="selectedAutoPlay" class="select ml-1.5" @change="onChange($event)">
<option value="0">none</option> <option v-t="'actions.never'" value="0" />
<option value="1">playlist only</option> <option v-t="'actions.playlists_only'" value="1" />
<option value="2">playlist and recommendations</option> <option v-t="'actions.always'" value="2" />
</select> </select>
<hr /> <hr />

View File

@ -169,7 +169,10 @@
"file_format": "File format", "file_format": "File format",
"override": "Override", "override": "Override",
"import": "Import", "import": "Import",
"export": "Export" "export": "Export",
"never": "Never",
"playlists_only": "Playlists only",
"always": "Always"
}, },
"comment": { "comment": {
"pinned_by": "Pinned by {author}", "pinned_by": "Pinned by {author}",