fix: 修改主题定制器标题,提升语言一致性

This commit is contained in:
jxxghp
2026-06-02 17:07:16 +08:00
parent 889a5c9e51
commit d02ece234c
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -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 模式或弹窗打开后切主题时颜色不同步。
+1 -1
View File
@@ -159,7 +159,7 @@ export default {
customCssSaveFailed: '保存自定义CSS到服务端失败', customCssSaveFailed: '保存自定义CSS到服务端失败',
deviceNotSupport: '当前设备不支持监听系统主题变化', deviceNotSupport: '当前设备不支持监听系统主题变化',
customizer: { customizer: {
title: '主题定制', title: '主题定制',
subtitle: '实时自定义与预览', subtitle: '实时自定义与预览',
theming: '主题', theming: '主题',
primaryColor: '主色', primaryColor: '主色',
+1 -1
View File
@@ -159,7 +159,7 @@ export default {
customCssSaveFailed: '保存自定義CSS到服務端失敗', customCssSaveFailed: '保存自定義CSS到服務端失敗',
deviceNotSupport: '當前設備不支持監聽系統主題變化', deviceNotSupport: '當前設備不支持監聽系統主題變化',
customizer: { customizer: {
title: '主題定制', title: '主題定制',
subtitle: '即時自定義與預覽', subtitle: '即時自定義與預覽',
theming: '主題', theming: '主題',
primaryColor: '主色', primaryColor: '主色',