refactor: use full i18n keys for quality speed text instead of concatenation
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
"quality1080p": "1080p",
|
||||
"quality720p": "720p",
|
||||
"quality480p": "480p",
|
||||
"qualitySpeed": "Requires"
|
||||
"qualitySpeed1080p": "Requires 320KB/s",
|
||||
"qualitySpeed720p": "Requires 256KB/s",
|
||||
"qualitySpeed480p": "Requires 100KB/s"
|
||||
}
|
||||
}
|
||||
@@ -42,6 +42,8 @@
|
||||
"quality1080p": "超清",
|
||||
"quality720p": "高清",
|
||||
"quality480p": "标清",
|
||||
"qualitySpeed": "需要"
|
||||
"qualitySpeed1080p": "需要 320KB/s",
|
||||
"qualitySpeed720p": "需要 256KB/s",
|
||||
"qualitySpeed480p": "需要 100KB/s"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user