From e1ebc5dcc203fc2f6bc880e3563d4f27cf3cb8fb Mon Sep 17 00:00:00 2001 From: zyronon Date: Mon, 6 Nov 2023 22:50:11 +0800 Subject: [PATCH] save --- package.json | 1 + pnpm-lock.yaml | 36 +++++++++++++++++++ src/components/Practice/Options.vue | 2 +- .../Practice/PracticeWord/TypingWord.vue | 4 +-- src/components/Toolbar/SettingModal.vue | 9 +++-- src/stores/setting.ts | 7 +++- src/types.ts | 25 ++++++------- 7 files changed, 66 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 58962a65..5b02a35b 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "uuid": "^9.0.1", "vue": "^3.3.4", "vue-activity-calendar": "^1.2.2", + "vue-i18n": "9", "vue-virtual-list-v3": "^1.5.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d98a895c..312b749e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -62,6 +62,9 @@ dependencies: vue-activity-calendar: specifier: ^1.2.2 version: 1.2.2 + vue-i18n: + specifier: '9' + version: 9.6.5(vue@3.3.4) vue-virtual-list-v3: specifier: ^1.5.1 version: 1.5.1 @@ -734,6 +737,27 @@ packages: vue: 3.3.4 dev: true + /@intlify/core-base@9.6.5: + resolution: {integrity: sha512-LzbGXiZkMWPIHnHI0g6q554S87Cmh2mmCmjytK/3pDQfjI84l+dgGoeQuKj02q7EbULRuUUgYVZVqAwEUawXGg==} + engines: {node: '>= 16'} + dependencies: + '@intlify/message-compiler': 9.6.5 + '@intlify/shared': 9.6.5 + dev: false + + /@intlify/message-compiler@9.6.5: + resolution: {integrity: sha512-WeJ499thIj0p7JaIO1V3JaJbqdqfBykS5R8fElFs5hNeotHtPAMBs4IiA+8/KGFkAbjJusgFefCq6ajP7F7+4Q==} + engines: {node: '>= 16'} + dependencies: + '@intlify/shared': 9.6.5 + source-map-js: 1.0.2 + dev: false + + /@intlify/shared@9.6.5: + resolution: {integrity: sha512-gD7Ey47Xi4h/t6P+S04ymMSoA3wVRxGqjxuIMglwRO8POki9h164Epu2N8wk/GHXM/hR6ZGcsx2HArCCENjqSQ==} + engines: {node: '>= 16'} + dev: false + /@jridgewell/gen-mapping@0.3.3: resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} @@ -3121,6 +3145,18 @@ packages: vue: 3.3.4 dev: false + /vue-i18n@9.6.5(vue@3.3.4): + resolution: {integrity: sha512-dpUEjKHg7pEsaS7ZPPxp1CflaR7bGmsvZJEhnszHPKl9OTNyno5j/DvMtMSo41kpddq4felLA7GK2prjpnXVlw==} + engines: {node: '>= 16'} + peerDependencies: + vue: ^3.0.0 + dependencies: + '@intlify/core-base': 9.6.5 + '@intlify/shared': 9.6.5 + '@vue/devtools-api': 6.5.0 + vue: 3.3.4 + dev: false + /vue-template-compiler@2.7.14: resolution: {integrity: sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==} dependencies: diff --git a/src/components/Practice/Options.vue b/src/components/Practice/Options.vue index b559b552..05c0d9e5 100644 --- a/src/components/Practice/Options.vue +++ b/src/components/Practice/Options.vue @@ -27,7 +27,7 @@ const settingStore = useSettingStore()