mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 07:28:37 +08:00
fix: 修改主题定制器标题,提升语言一致性
This commit is contained in:
@@ -320,9 +320,10 @@ function getThemeLayoutTitle(layout: ThemeCustomizerSettings['layout']) {
|
|||||||
|
|
||||||
const currentThemeSummary = computed(() => {
|
const currentThemeSummary = computed(() => {
|
||||||
const themeTitle = themes.find(theme => theme.name === currentThemeName.value)?.title || t('theme.auto')
|
const themeTitle = themes.find(theme => theme.name === currentThemeName.value)?.title || t('theme.auto')
|
||||||
const layoutTitle = getThemeLayoutTitle(themeCustomizerSettings.value.layout)
|
const layoutTitle = appMode.value ? '' : getThemeLayoutTitle(themeCustomizerSettings.value.layout)
|
||||||
|
|
||||||
return `${themeTitle} · ${layoutTitle}`
|
if (layoutTitle) return `${themeTitle} · ${layoutTitle}`
|
||||||
|
return themeTitle
|
||||||
})
|
})
|
||||||
|
|
||||||
// Ace 跟随 Vuetify 当前生效主题,避免 auto 模式或弹窗打开后切主题时颜色不同步。
|
// Ace 跟随 Vuetify 当前生效主题,避免 auto 模式或弹窗打开后切主题时颜色不同步。
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ export default {
|
|||||||
customCssSaveFailed: '保存自定义CSS到服务端失败',
|
customCssSaveFailed: '保存自定义CSS到服务端失败',
|
||||||
deviceNotSupport: '当前设备不支持监听系统主题变化',
|
deviceNotSupport: '当前设备不支持监听系统主题变化',
|
||||||
customizer: {
|
customizer: {
|
||||||
title: '主题定制器',
|
title: '主题定制',
|
||||||
subtitle: '实时自定义与预览',
|
subtitle: '实时自定义与预览',
|
||||||
theming: '主题',
|
theming: '主题',
|
||||||
primaryColor: '主色',
|
primaryColor: '主色',
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ export default {
|
|||||||
customCssSaveFailed: '保存自定義CSS到服務端失敗',
|
customCssSaveFailed: '保存自定義CSS到服務端失敗',
|
||||||
deviceNotSupport: '當前設備不支持監聽系統主題變化',
|
deviceNotSupport: '當前設備不支持監聽系統主題變化',
|
||||||
customizer: {
|
customizer: {
|
||||||
title: '主題定制器',
|
title: '主題定制',
|
||||||
subtitle: '即時自定義與預覽',
|
subtitle: '即時自定義與預覽',
|
||||||
theming: '主題',
|
theming: '主題',
|
||||||
primaryColor: '主色',
|
primaryColor: '主色',
|
||||||
|
|||||||
Reference in New Issue
Block a user