Added new settings

This commit is contained in:
RemixDev 2020-08-21 14:47:51 +02:00
parent c92bc773d2
commit 71b6256dc2
4 changed files with 21 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -194,6 +194,7 @@
<select v-model="settings.overwriteFile">
<option value="y">{{ $t('settings.downloads.overwriteFile.y') }}</option>
<option value="n">{{ $t('settings.downloads.overwriteFile.n') }}</option>
<option value="e">{{ $t('settings.downloads.overwriteFile.e') }}</option>
<option value="b">{{ $t('settings.downloads.overwriteFile.b') }}</option>
<option value="t">{{ $t('settings.downloads.overwriteFile.t') }}</option>
</select>
@ -292,6 +293,12 @@
</select>
</div>
<label class="with_checkbox">
<input type="checkbox" v-model="settings.embeddedArtworkPNG" />
<span class="checkbox_text">{{ $t('settings.covers.embeddedArtworkPNG') }}</span>
</label>
<p v-if="settings.embeddedArtworkPNG" style="opacity: 0.75; color: #ffcc22;"> {{ $t('settings.covers.embeddedPNGWarning') }}</p>
<div class="input_group">
<p class="input_group_text">{{ $t('settings.covers.jpegImageQuality') }}</p>
<input type="number" min="1" max="100" v-model.number="settings.jpegImageQuality" />

View File

@ -226,7 +226,8 @@ const en = {
y: 'Yes, overwrite the file',
n: "No, don't overwrite the file",
t: 'Overwrite only the tags',
b: 'No, keep both files and add a number to the duplicate'
b: 'No, keep both files and add a number to the duplicate',
e: "No, and don't look at the extensions"
},
fallbackBitrate: 'Bitrate fallback',
fallbackSearch: 'Search fallback',
@ -252,6 +253,8 @@ const en = {
both: 'Both a jpeg and a png'
},
jpegImageQuality: 'JPEG image quality',
embeddedArtworkPNG: 'Save embedded artwork as PNG',
embeddedPNGWarning: 'PNGs are not officialy supported by Deezer and can be buggy',
imageSizeWarning: 'Anything above x1200 is not officialy used by Deezer, you may encounter issues'
},
tags: {

View File

@ -232,7 +232,8 @@ const it = {
y: 'Si, sovrascrivi i file',
n: 'No, non sovrascrivere i file',
t: 'Sovrascrivi solo i tag',
b: 'No, mantieni entrambi i file e aggiungi un numero al duplicato'
b: 'No, mantieni entrambi i file e aggiungi un numero al duplicato',
e: "No, e non tener conto della estensione del file"
},
fallbackBitrate: 'Utilizza bitrate più bassi se il bitrate preferito non è disponibile',
fallbackSearch: 'Cerca il brano se il link originale non è disponibile',
@ -258,6 +259,8 @@ const it = {
both: 'Sia in jpeg che in png'
},
jpegImageQuality: 'Qualità immagine JPEG',
embeddedArtworkPNG: 'Salva copertina incorporata come PNG',
embeddedPNGWarning: 'Le immagini PNG non sono usate ufficialmente da Deezer e potrebbero dare problemi',
imageSizeWarning: 'Dimensioni maggiori di x1200 non sono usate ufficialmente da Deezer, potresti incontrare problemi'
},
tags: {