diff --git a/src/i18n/locales/text/en-US.ts b/src/i18n/locales/text/en-US.ts index dd90393..adfd9be 100644 --- a/src/i18n/locales/text/en-US.ts +++ b/src/i18n/locales/text/en-US.ts @@ -7,13 +7,13 @@ const enUSText = { result: { completed: 'Assessment Complete', restart: 'Restart Quiz', + shinyRefresh: 'Roll for Shiny!', portraitSource: 'Artwork source: Roco Kingdom World BiliBili WIKI', - shinyHint: 'Tip: refresh multiple times for a chance to encounter a shiny spirit (10% rate).', spiritPartnerLabel: 'Spirit Partner', personality: 'Nature', habitat: 'Habitat', viewWiki: 'View Wiki', - shareResultImage: 'Share Result Image', + shareResultImage: 'Share Result', shareLink: 'Share Link', downloadImage: 'Download Image', downloadSoon: 'Image download will be available soon.', @@ -28,12 +28,6 @@ const enUSText = { shareText: 'My spirit partner in Roco Kingdom is {petName}! Try it here:', personalities: ['Adamant', 'Bold', 'Calm', 'Jolly', 'Relaxed', 'Careful', 'Brave', 'Gentle'], }, - fallbackPet: { - name: 'Starsea Sentinel', - title: 'Default Personality Mirror', - description: 'Fallback result data for exceptional cases only.', - habitat: 'Starsea Nexus', - }, pets: { INTJ: { name: 'Night Owl', diff --git a/src/i18n/locales/text/zh-CN.ts b/src/i18n/locales/text/zh-CN.ts index b941520..a92c1cc 100644 --- a/src/i18n/locales/text/zh-CN.ts +++ b/src/i18n/locales/text/zh-CN.ts @@ -7,13 +7,13 @@ const zhCNText = { result: { completed: '鉴定完成', restart: '重新测试', + shinyRefresh: '我要刷异色!', portraitSource: '立绘来源:洛克王国世界 BiliBili WIKI 图鉴', - shinyHint: '提示:多次刷新结果,有机会遇到异色精灵(10% 概率)', spiritPartnerLabel: '本命精灵', personality: '性格', habitat: '栖息地', viewWiki: '查看 Wiki 资料', - shareResultImage: '分享结果图片', + shareResultImage: '分享结果', shareLink: '分享链接', downloadImage: '下载图片', downloadSoon: '下载图片功能即将上线', @@ -27,12 +27,6 @@ const zhCNText = { shareText: '我在洛克王国的本命精灵是 {petName}!你也快来试试吧:', personalities: ['固执', '大胆', '冷静', '开朗', '悠闲', '慎重', '勇敢', '温和'], }, - fallbackPet: { - name: '星海守望兽', - title: '默认人格镜像', - description: '默认结果数据,仅用于异常兜底展示。', - habitat: '星海中枢', - }, pets: { INTJ: { name: '夜枭', diff --git a/src/router/index.ts b/src/router/index.ts index 56c108c..e6b3577 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,8 +1,8 @@ -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import { useQuizStore } from '@/stores/quiz' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: '/', diff --git a/src/views/result/Overview.vue b/src/views/result/Overview.vue index 91ad810..e674849 100644 --- a/src/views/result/Overview.vue +++ b/src/views/result/Overview.vue @@ -1,12 +1,12 @@