refactor: use full i18n keys for quality speed text instead of concatenation

This commit is contained in:
2026-06-13 20:16:20 +08:00
parent a9929666a5
commit cf3060b7fe
3 changed files with 9 additions and 5 deletions

View File

@@ -25,9 +25,9 @@ const speedOptions = [1, 2, 4]
const showQualityMenu = ref(false)
const qualityOptions = computed(() => [
{ value: '', label: t('ui.qualityAuto'), speed: '' },
{ value: '超清 (1080P)', label: t('ui.quality1080p'), speed: t('ui.qualitySpeed') + ' 320KB/s' },
{ value: '高清 (720P)', label: t('ui.quality720p'), speed: t('ui.qualitySpeed') + ' 256KB/s' },
{ value: '标清 (480P)', label: t('ui.quality480p'), speed: t('ui.qualitySpeed') + ' 100KB/s' },
{ value: '超清 (1080P)', label: t('ui.quality1080p'), speed: t('ui.qualitySpeed1080p') },
{ value: '高清 (720P)', label: t('ui.quality720p'), speed: t('ui.qualitySpeed720p') },
{ value: '标清 (480P)', label: t('ui.quality480p'), speed: t('ui.qualitySpeed480p') },
])
function currentQualityLabel() {