From 7d19128a1b7ef5faf20cecc61661d0154d684d34 Mon Sep 17 00:00:00 2001 From: fly_mc <me@flymc.cc> Date: Fri, 18 Oct 2024 22:28:52 +0800 Subject: [PATCH] tweak pari plus settings --- packages/frontend/src/pages/settings/index.vue | 2 +- packages/frontend/src/pages/settings/pari.vue | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index 42d4b9b41c..f7ca651db2 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -132,7 +132,7 @@ const menuDef = computed(() => [{ active: currentPage.value?.route.name === 'plugin', }, { icon: 'ti ti-plus', - text: 'Pari Cafe', + text: 'Pari Plus', to: '/settings/pari', active: currentPage.value?.route.name === 'pari', }], diff --git a/packages/frontend/src/pages/settings/pari.vue b/packages/frontend/src/pages/settings/pari.vue index 0933e76376..cf47fe60bf 100644 --- a/packages/frontend/src/pages/settings/pari.vue +++ b/packages/frontend/src/pages/settings/pari.vue @@ -5,11 +5,8 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div class="_gaps_m"> - <MkSwitch v-model="autoTranslateButton"> - <template #label>{{ i18n.ts.autoTranslateButton }}</template> - </MkSwitch> - - </div> + <MkSwitch v-model="autoTranslateButton">{{ i18n.ts.autoTranslateButton }}</MkSwitch> + </div> </template> <script lang="ts" setup> @@ -22,7 +19,7 @@ import MkSwitch from '@/components/MkSwitch.vue'; const autoTranslateButton = computed(defaultStore.makeGetterSetter('autoTranslateButton')); definePageMetadata(() => ({ - title: 'Pari Cafe', + title: 'Pari Plus', icon: 'ti ti-plus', })); </script>