fix: i18n

This commit is contained in:
Neko Ayaka
2025-03-17 17:54:04 +08:00
parent 88fcaae0a5
commit edddfeb81e
17 changed files with 23 additions and 23 deletions
@@ -122,7 +122,7 @@ settings:
title: 基础配置
voice:
title: 声音配置
description: LLM演讲提供商等
description: LLM语音合成,语音识别提供商等
provider:
cloudflare-workers-ai:
description: Cloudflare.com
@@ -173,7 +173,7 @@ settings:
voice:
description: 选择首选语音
label: 声线
title: 调试场地
title: 实验平台
validation:
error-missing-api-key: 需要填写 API Key 才能用哦!
title: ElevenLabs (11labs)
@@ -207,7 +207,7 @@ function handleLanguageChange(event: Event) {
</div>
</label>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div v-motion text="40" i-lucide:cog />
</div>
</div>
@@ -67,7 +67,7 @@ async function extractColorsFromModel() {
<Live2DSettings w="50%" h="80vh" :palette="palette" @extract-colors-from-model="extractColorsFromModel" />
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:person-standing />
</div>
</template>
@@ -214,7 +214,7 @@ function updateCustomModelName(value: string) {
</div>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:ghost />
</div>
</template>
@@ -134,7 +134,7 @@ const modulesList = computed<Module[]>(() => [
:configured="module.configured"
/>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:blocks />
</div>
</template>
@@ -392,7 +392,7 @@ function updateSSMLExample() {
</div>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:volume-2 />
</div>
</template>
@@ -50,7 +50,7 @@ const { allProvidersMetadata } = storeToRefs(providersStore)
:configured="provider.configured"
/>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:brain />
</div>
</template>
@@ -368,7 +368,7 @@ function isColorSelected(hexColor: string): boolean {
</Collapsable>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:paintbrush />
</div>
</template>
+2 -2
View File
@@ -130,7 +130,7 @@ settings:
title: 基础配置
voice:
title: 声音配置
description: LLM演讲提供商等
description: LLM语音合成,语音识别提供商等
provider:
cloudflare-workers-ai:
description: Cloudflare.com
@@ -181,7 +181,7 @@ settings:
voice:
description: 选择首选语音
label: 声线
title: 调试场地
title: 实验平台
validation:
error-missing-api-key: 需要填写 API Key 才能用哦!
title: ElevenLabs (11labs)
+5 -5
View File
@@ -95,7 +95,7 @@ function handleLanguageChange(event: Event) {
<div
v-motion
grid="~ cols-[150px_1fr]"
bg="neutral-100 dark:neutral-800"
bg="neutral-50 dark:neutral-800"
hover="bg-neutral-200 dark:bg-neutral-700"
transition="all ease-in-out duration-250" items-center gap-1.5 rounded-lg px-4
py-3
@@ -129,7 +129,7 @@ function handleLanguageChange(event: Event) {
<!-- Theme Setting -->
<label
v-motion
bg="neutral-100 dark:neutral-800"
bg="neutral-50 dark:neutral-800"
hover="bg-neutral-200 dark:bg-neutral-700"
transition="all ease-in-out duration-250"
w-full flex cursor-pointer rounded-lg px-4 py-3
@@ -169,7 +169,7 @@ function handleLanguageChange(event: Event) {
<!-- Developer Settings -->
<label
v-motion
bg="neutral-100 dark:neutral-800"
bg="neutral-50 dark:neutral-800"
hover="bg-neutral-200 dark:bg-neutral-700"
transition="all ease-in-out duration-250"
w-full flex cursor-pointer rounded-lg px-4 py-3
@@ -207,8 +207,8 @@ function handleLanguageChange(event: Event) {
</div>
</label>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div v-motion text="40" i-lucide:cog />
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div v-motion text="60" i-lucide:cog />
</div>
</div>
</template>
@@ -67,7 +67,7 @@ async function extractColorsFromModel() {
<Live2DSettings w="50%" h="80vh" :palette="palette" @extract-colors-from-model="extractColorsFromModel" />
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:person-standing />
</div>
</template>
@@ -214,7 +214,7 @@ function updateCustomModelName(value: string) {
</div>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:ghost />
</div>
</template>
@@ -134,7 +134,7 @@ const modulesList = computed<Module[]>(() => [
:configured="module.configured"
/>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:blocks />
</div>
</template>
@@ -392,7 +392,7 @@ function updateSSMLExample() {
</div>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:volume-2 />
</div>
</template>
@@ -50,7 +50,7 @@ const { allProvidersMetadata } = storeToRefs(providersStore)
:configured="provider.configured"
/>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:brain />
</div>
</template>
@@ -368,7 +368,7 @@ function isColorSelected(hexColor: string): boolean {
</Collapsable>
</div>
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:paintbrush />
</div>
</template>
@@ -29,7 +29,7 @@ defineProps<{
</h1>
</div>
<slot />
<div text="neutral-100/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" :class="providerIcon || providerIconColor" />
</div>
</template>