Improve the dictionary of nce2 articles

This commit is contained in:
zyronon
2023-12-06 01:46:33 +08:00
parent 0de4e519d4
commit 1c92b1a2ae
10 changed files with 124 additions and 35 deletions

View File

@@ -94,7 +94,7 @@ const groupedByCategoryAndTag = $computed(() => {
<div class="translate">
<span>翻译</span>
<el-radio-group v-model="currentTranslateLanguage">
<el-radio-button border v-for="i in translateLanguageList" :label="i">{{ i }}</el-radio-button>
<el-radio-button border v-for="i in translateLanguageList" :label="i">{{ $t(i) }}</el-radio-button>
</el-radio-group>
</div>
<DictGroup

View File

@@ -1,8 +1,7 @@
<script setup lang="ts">
import Dialog from "@/components/dialog/Dialog.vue"
import {useBaseStore} from "@/stores/base.ts"
import {Icon} from '@iconify/vue';
import {watch, ref} from "vue";
import {ref} from "vue";
import {useSettingStore} from "@/stores/setting.ts";
import {getAudioFileUrl, useChangeAllSound, usePlayAudio, useWatchAllSound} from "@/hooks/sound.ts";
import {getShortcutKey, useDisableEventListener, useEventListener} from "@/hooks/event.ts";