diff --git a/src/renderer/components/common/DownloadModal.vue b/src/renderer/components/common/DownloadModal.vue index 0bce84fd..7b8ff569 100644 --- a/src/renderer/components/common/DownloadModal.vue +++ b/src/renderer/components/common/DownloadModal.vue @@ -3,7 +3,7 @@

{{ info.name }}
{{ info.singer }}

{{getTypeName(type.type)}} {{ type.type.toUpperCase() }}{{ type.size && ` - ${type.size.toUpperCase()}` }} + >{{getTypeName(type.type)}}{{ type.size && ` - ${type.size.toUpperCase()}` }}
@@ -56,15 +56,16 @@ export default { getTypeName(type) { switch (type) { case 'flac32bit': + return this.$t('download__lossless') + ' FLAC Hires' case 'flac': case 'ape': case 'wav': - return this.$t('download__lossless') + return this.$t('download__lossless') + ' ' + type.toUpperCase() case '320k': - return this.$t('download__high_quality') + return this.$t('download__high_quality') + ' ' + type.toUpperCase() case '192k': case '128k': - return this.$t('download__normal') + return this.$t('download__normal') + ' ' + type.toUpperCase() } }, checkSource(type) { diff --git a/src/renderer/components/common/DownloadMultipleModal.vue b/src/renderer/components/common/DownloadMultipleModal.vue index 7a306240..ab92fb36 100644 --- a/src/renderer/components/common/DownloadMultipleModal.vue +++ b/src/renderer/components/common/DownloadMultipleModal.vue @@ -5,7 +5,7 @@ {{$t('download__normal')}} - 128K {{$t('download__high_quality')}} - 320K {{$t('download__lossless')}} - FLAC - {{$t('download__lossless')}} - FLAC 24bit + {{$t('download__lossless')}} - FLAC Hires diff --git a/src/renderer/views/Download.vue b/src/renderer/views/Download.vue index f8fa8e26..42884b66 100644 --- a/src/renderer/views/Download.vue +++ b/src/renderer/views/Download.vue @@ -24,7 +24,7 @@ div(:class="$style.download") span.select {{item.name}} div.list-item-cell(style="width: 20%;") {{item.progress.progress}}% div.list-item-cell(style="width: 22%;" :aria-label="item.statusText") {{item.statusText}} - div.list-item-cell(style="width: 10%;") {{item.metadata.type && item.metadata.type.toUpperCase()}} + div.list-item-cell(style="width: 10%;") {{getTypeName(item.metadata.type)}} div.list-item-cell(style="width: 13%; padding-left: 0; padding-right: 0;") material-list-buttons(:index="index" :download-btn="false" :file-btn="item.status != downloadStatus.ERROR" remove-btn :start-btn="!item.isComplate && item.status != downloadStatus.WAITING && (item.status != downloadStatus.RUN)" @@ -482,6 +482,9 @@ export default { openUrl(url) } }, + getTypeName(type) { + return type == 'flac32bit' ? 'FLAC Hires' : type?.toUpperCase() + }, }, }