+
+
-
+
+
+
diff --git a/src/components/VueColorAvatar.vue b/src/components/VueColorAvatar.vue
index ef08011722b744f44ca8aea956950aefe72a63fc..da793824883ae03bccb6f8fec9535f61555d34a6 100644
--- a/src/components/VueColorAvatar.vue
+++ b/src/components/VueColorAvatar.vue
@@ -24,7 +24,7 @@ export interface VueColorAvatarRef {
import { ref, toRefs, watchEffect } from 'vue'
import { WrapperShape } from '@/enums'
-import { type AvatarOption } from '@/types'
+import type { AvatarOption } from '@/types'
import { getRandomAvatarOption } from '@/utils'
import { AVATAR_LAYER, NONE } from '@/utils/constant'
import { widgetData } from '@/utils/dynamic-data'
diff --git a/src/hooks/useAvatarOption.ts b/src/hooks/useAvatarOption.ts
index ab05fc767f8b20bbf7198f9eb83b5e1dd2bc492e..b204899428c1b08a9c3b2de86d2870119cc64dc4 100644
--- a/src/hooks/useAvatarOption.ts
+++ b/src/hooks/useAvatarOption.ts
@@ -2,7 +2,7 @@ import { computed } from 'vue'
import { useStore } from '@/store'
import { SET_AVATAR_OPTION } from '@/store/mutation-type'
-import { type AvatarOption } from '@/types'
+import type { AvatarOption } from '@/types'
export default function useAvatarOption() {
const store = useStore()
diff --git a/src/i18n/locales/en/index.ts b/src/i18n/locales/en/index.ts
index 57d04120852b0346ca9508366dd958c448c9c941..1cb145556d81e46d5d2f7dbb3f7c7c07d4ec9ee4 100644
--- a/src/i18n/locales/en/index.ts
+++ b/src/i18n/locales/en/index.ts
@@ -8,6 +8,7 @@ export default {
code: 'code',
randomize: 'Randomize',
download: 'Download',
+ downloadMultiple: 'Download multiple',
copyCode: 'Copy',
copied: 'Copied',
downloading: 'Downloading',
@@ -39,5 +40,8 @@ export default {
text: {
codeModalTitle: 'Code',
downloadTip: 'LONG PRESS or RIGHT CLICK to save',
+ downloadMultiple: 'Download',
+ downloadingMultiple: 'Downloading',
+ downloadMultipleTip: 'Automatically generate avatar for you',
},
}
diff --git a/src/i18n/locales/zh/index.ts b/src/i18n/locales/zh/index.ts
index 54c691e94203e455218e843baf0554da7879fa76..1f69f678396e576bb570ecb801baf30c9e41a48c 100644
--- a/src/i18n/locales/zh/index.ts
+++ b/src/i18n/locales/zh/index.ts
@@ -8,6 +8,7 @@ export default {
code: '配置代码',
randomize: '随机生成',
download: '下载头像',
+ downloadMultiple: '批量下载',
copyCode: '复制代码',
copied: '已复制',
downloading: '准备下载',
@@ -39,5 +40,8 @@ export default {
text: {
codeModalTitle: '配置代码',
downloadTip: '长按图片或右键点击下载至本地相册',
+ downloadMultiple: '开始下载',
+ downloadingMultiple: '正在下载',
+ downloadMultipleTip: '已为你自动生成头像',
},
}
diff --git a/src/layouts/Header.vue b/src/layouts/Header.vue
index c97caf206817ff213dcdb7a1fdbd95deaff816e5..c6118ab938dd3f202a75dd3a1376b50158b24ec5 100644
--- a/src/layouts/Header.vue
+++ b/src/layouts/Header.vue
@@ -11,6 +11,7 @@
rel="nofollow noopener noreferrer"
>