mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
fix: 更新主题定制器翻译,优化用户界面文本
This commit is contained in:
@@ -187,8 +187,6 @@ async function handleResetSettings() {
|
|||||||
|
|
||||||
<PerfectScrollbar class="theme-customizer-body" :options="{ wheelPropagation: false }">
|
<PerfectScrollbar class="theme-customizer-body" :options="{ wheelPropagation: false }">
|
||||||
<section class="theme-customizer-section">
|
<section class="theme-customizer-section">
|
||||||
<span class="theme-customizer-chip">{{ t('theme.customizer.theming') }}</span>
|
|
||||||
|
|
||||||
<h3 class="theme-customizer-section-title">{{ t('theme.customizer.primaryColor') }}</h3>
|
<h3 class="theme-customizer-section-title">{{ t('theme.customizer.primaryColor') }}</h3>
|
||||||
<div class="theme-customizer-color-grid">
|
<div class="theme-customizer-color-grid">
|
||||||
<div
|
<div
|
||||||
@@ -236,6 +234,8 @@ async function handleResetSettings() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<VDivider class="mt-7" />
|
||||||
|
|
||||||
<h3 class="theme-customizer-section-title">{{ t('theme.customizer.skins') }}</h3>
|
<h3 class="theme-customizer-section-title">{{ t('theme.customizer.skins') }}</h3>
|
||||||
<div class="theme-customizer-preview-grid theme-customizer-preview-grid--skins">
|
<div class="theme-customizer-preview-grid theme-customizer-preview-grid--skins">
|
||||||
<div
|
<div
|
||||||
@@ -277,9 +277,7 @@ async function handleResetSettings() {
|
|||||||
<VDivider v-if="showLayoutSection" />
|
<VDivider v-if="showLayoutSection" />
|
||||||
|
|
||||||
<section v-if="showLayoutSection" class="theme-customizer-section">
|
<section v-if="showLayoutSection" class="theme-customizer-section">
|
||||||
<span class="theme-customizer-chip">{{ t('theme.customizer.layout') }}</span>
|
<h3 class="theme-customizer-section-title">{{ t('theme.customizer.layout') }}</h3>
|
||||||
|
|
||||||
<h3 class="theme-customizer-section-title"></h3>
|
|
||||||
<div class="theme-customizer-preview-grid">
|
<div class="theme-customizer-preview-grid">
|
||||||
<div
|
<div
|
||||||
v-for="layout in layoutOptions"
|
v-for="layout in layoutOptions"
|
||||||
@@ -316,13 +314,13 @@ async function handleResetSettings() {
|
|||||||
.theme-customizer-drawer {
|
.theme-customizer-drawer {
|
||||||
position: fixed !important;
|
position: fixed !important;
|
||||||
z-index: 12000 !important;
|
z-index: 12000 !important;
|
||||||
|
overflow: hidden;
|
||||||
block-size: 100dvh !important;
|
block-size: 100dvh !important;
|
||||||
border-inline-start: 1px solid rgba(var(--v-theme-on-surface), 0.08) !important;
|
border-inline-start: 1px solid rgba(var(--v-theme-on-surface), 0.08) !important;
|
||||||
box-shadow: -2px 0 6px rgba(0, 0, 0, 10%) !important;
|
box-shadow: -2px 0 6px rgba(0, 0, 0, 10%) !important;
|
||||||
inset-block: 0 !important;
|
inset-block: 0 !important;
|
||||||
inset-inline-end: 0 !important;
|
inset-inline-end: 0 !important;
|
||||||
max-block-size: 100dvh !important;
|
max-block-size: 100dvh !important;
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
.v-navigation-drawer__content {
|
.v-navigation-drawer__content {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -379,7 +377,6 @@ html[data-theme='transparent'] .theme-customizer-panel--dialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
:is(html[data-theme='transparent'], .v-theme--transparent) .theme-customizer-glass-backdrop {
|
:is(html[data-theme='transparent'], .v-theme--transparent) .theme-customizer-glass-backdrop {
|
||||||
-webkit-backdrop-filter: blur(var(--transparent-blur-heavy, 16px));
|
|
||||||
backdrop-filter: blur(var(--transparent-blur-heavy, 16px));
|
backdrop-filter: blur(var(--transparent-blur-heavy, 16px));
|
||||||
background-color: rgba(var(--v-theme-surface), var(--transparent-opacity-heavy, 0.5));
|
background-color: rgba(var(--v-theme-surface), var(--transparent-opacity-heavy, 0.5));
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@@ -453,26 +450,13 @@ html[data-theme='transparent'] .v-overlay__content:has(.theme-customizer-drawer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
.theme-customizer-section {
|
.theme-customizer-section {
|
||||||
padding-block: 28px;
|
padding-block-end: 28px;
|
||||||
padding-inline: 32px;
|
padding-inline: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-customizer-chip {
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
border-radius: 6px;
|
|
||||||
background: rgba(var(--v-theme-primary), 0.14);
|
|
||||||
color: rgb(var(--v-theme-primary));
|
|
||||||
font-size: 1.25rem;
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 1.1;
|
|
||||||
padding-block: 6px;
|
|
||||||
padding-inline: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.theme-customizer-section-title {
|
.theme-customizer-section-title {
|
||||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||||
font-size: 1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
margin-block: 28px 16px;
|
margin-block: 28px 16px;
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ export default {
|
|||||||
primaryColor: 'Primary Color',
|
primaryColor: 'Primary Color',
|
||||||
usePrimaryColor: 'Use {color} primary color',
|
usePrimaryColor: 'Use {color} primary color',
|
||||||
chooseCustomColor: 'Choose custom primary color',
|
chooseCustomColor: 'Choose custom primary color',
|
||||||
skins: 'Skins',
|
skins: 'Framework',
|
||||||
skinDefault: 'Default',
|
skinDefault: 'Default',
|
||||||
skinBordered: 'Bordered',
|
skinBordered: 'Bordered',
|
||||||
semiDarkMenu: 'Semi Dark Menu',
|
semiDarkMenu: 'Semi Dark Menu',
|
||||||
@@ -1694,8 +1694,10 @@ export default {
|
|||||||
encodingDetectionPerformanceModeHint:
|
encodingDetectionPerformanceModeHint:
|
||||||
'Prioritize detection efficiency, but may reduce encoding detection accuracy',
|
'Prioritize detection efficiency, but may reduce encoding detection accuracy',
|
||||||
rustAccel: 'Rust Acceleration',
|
rustAccel: 'Rust Acceleration',
|
||||||
rustAccelHint: 'Use the backend Rust extension to accelerate filtering, RSS, indexer parsing, and recognition hot paths',
|
rustAccelHint:
|
||||||
rustAccelUnavailableHint: 'The backend Rust acceleration extension is not installed or loaded, so this cannot be enabled',
|
'Use the backend Rust extension to accelerate filtering, RSS, indexer parsing, and recognition hot paths',
|
||||||
|
rustAccelUnavailableHint:
|
||||||
|
'The backend Rust acceleration extension is not installed or loaded, so this cannot be enabled',
|
||||||
transferThreads: 'File Transfer Threads',
|
transferThreads: 'File Transfer Threads',
|
||||||
transferThreadsHint: 'Multi-threaded file transfer can improve speed but may increase system resource usage',
|
transferThreadsHint: 'Multi-threaded file transfer can improve speed but may increase system resource usage',
|
||||||
tokenizedSearch: 'Tokenized Search',
|
tokenizedSearch: 'Tokenized Search',
|
||||||
@@ -2607,7 +2609,8 @@ export default {
|
|||||||
mediaIdHint: 'Query media ID by name, leave empty for auto recognition',
|
mediaIdHint: 'Query media ID by name, leave empty for auto recognition',
|
||||||
mediaIdPlaceholder: 'Leave empty for auto recognition',
|
mediaIdPlaceholder: 'Leave empty for auto recognition',
|
||||||
episodeGroup: 'Episode Group',
|
episodeGroup: 'Episode Group',
|
||||||
episodeGroupHint: 'After entering a TMDB ID, episode groups are queried automatically; group IDs can still be entered manually',
|
episodeGroupHint:
|
||||||
|
'After entering a TMDB ID, episode groups are queried automatically; group IDs can still be entered manually',
|
||||||
episodeGroupPlaceholder: 'Enter TMDB ID first',
|
episodeGroupPlaceholder: 'Enter TMDB ID first',
|
||||||
defaultEpisodeGroup: 'No episode group',
|
defaultEpisodeGroup: 'No episode group',
|
||||||
defaultEpisodeGroupHint: 'Use TMDB default season and episode order',
|
defaultEpisodeGroupHint: 'Use TMDB default season and episode order',
|
||||||
|
|||||||
@@ -162,10 +162,10 @@ export default {
|
|||||||
title: '主题定制',
|
title: '主题定制',
|
||||||
subtitle: '实时自定义与预览',
|
subtitle: '实时自定义与预览',
|
||||||
theming: '主题',
|
theming: '主题',
|
||||||
primaryColor: '主色',
|
primaryColor: '色调',
|
||||||
usePrimaryColor: '使用 {color} 主色',
|
usePrimaryColor: '使用 {color} 色调',
|
||||||
chooseCustomColor: '选择自定义主色',
|
chooseCustomColor: '选择自定义色调',
|
||||||
skins: '皮肤',
|
skins: '框架',
|
||||||
skinDefault: '默认',
|
skinDefault: '默认',
|
||||||
skinBordered: '边框',
|
skinBordered: '边框',
|
||||||
semiDarkMenu: '半暗菜单',
|
semiDarkMenu: '半暗菜单',
|
||||||
|
|||||||
@@ -162,10 +162,10 @@ export default {
|
|||||||
title: '主題定制',
|
title: '主題定制',
|
||||||
subtitle: '即時自定義與預覽',
|
subtitle: '即時自定義與預覽',
|
||||||
theming: '主題',
|
theming: '主題',
|
||||||
primaryColor: '主色',
|
primaryColor: '色调',
|
||||||
usePrimaryColor: '使用 {color} 主色',
|
usePrimaryColor: '使用 {color} 色調',
|
||||||
chooseCustomColor: '選擇自定義主色',
|
chooseCustomColor: '選擇自定義色調',
|
||||||
skins: '皮膚',
|
skins: '框架',
|
||||||
skinDefault: '默認',
|
skinDefault: '默認',
|
||||||
skinBordered: '邊框',
|
skinBordered: '邊框',
|
||||||
semiDarkMenu: '半暗菜單',
|
semiDarkMenu: '半暗菜單',
|
||||||
|
|||||||
Reference in New Issue
Block a user