diff --git a/locales/en_US.json b/locales/en_US.json index 1a4a0a0..a747ad5 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -14,7 +14,7 @@ "loginOutContent": "Confirm to log out of current account?", "loginOutTitle": "Sign out", "userCenter": "Personal center", - "lignt": "Light", + "light": "Light", "dark": "Dark", "system": "System", "backTop": "Back to top", diff --git a/locales/zh_CN.json b/locales/zh_CN.json index d985e03..1da4bd3 100644 --- a/locales/zh_CN.json +++ b/locales/zh_CN.json @@ -14,7 +14,7 @@ "loginOutTitle": "退出登录", "loginOutContent": "确认退出当前账号?", "userCenter": "个人中心", - "lignt": "浅色", + "light": "浅色", "dark": "深色", "system": "跟随系统", "backTop": "返回顶部", diff --git a/src/components/common/DarkModeSwitch.vue b/src/components/common/DarkModeSwitch.vue index acd3ff6..bdd651b 100644 --- a/src/components/common/DarkModeSwitch.vue +++ b/src/components/common/DarkModeSwitch.vue @@ -12,7 +12,7 @@ const appStore = useAppStore() const options = computed(() => { return [ { - label: t('app.lignt'), + label: t('app.light'), value: 'light', icon: IconSun, },