feat(i18n): add localized content for quest map

This commit is contained in:
neilchen0812 committed 2026-09-22 01:22:25 +09:30
1 parent 4a43df9dd9
commit 10c8dd5f0e
5 files changed
+29 -5

No files matched your search

+3 -1
View File
@@ -1,4 +1,5 @@
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import { ref, onMounted, watch, computed } from 'vue'
import { useToast } from 'vue-toastification'
import { DAG } from '../../../packages/utils'
@@ -6,6 +7,7 @@ import { trpc } from '../utils/trpc'
import useUserProfile from '../store/userProfile'
import QuestIntro from './QuestIntro.vue'
const { t } = useI18n()
const store = useUserProfile()
const toast = useToast()
@@ -151,7 +153,7 @@ const edgeStyle = computed(() => {
class="p-10 absolute w-fit z-2 font-mono flex flax-wrap text-xl"
style="width: 30%; height: 6%; font-size: 3vh; color: #00ff00"
>
踏上你的Linux冒險之旅吧!
{{ t('quest_map.intro') }}
</h1>
<svg
:width="svgWidth"