From 39b119641f9d0f895c5eec90d211710117580631 Mon Sep 17 00:00:00 2001
From: Ryan Lei <46210430+YTLLL@users.noreply.github.com>
Date: Thu, 7 May 2026 14:38:24 +0800
Subject: [PATCH] chore(i18n): add zh-Hans translations for scenes settings
(#1784)
---
packages/i18n/src/locales/ru/settings.yaml | 2 +-
.../i18n/src/locales/zh-Hans/settings.yaml | 38 +++++++++----------
packages/stage-ui/src/stores/ai/models/vad.ts | 3 +-
3 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/packages/i18n/src/locales/ru/settings.yaml b/packages/i18n/src/locales/ru/settings.yaml
index 188557b61..6de190904 100644
--- a/packages/i18n/src/locales/ru/settings.yaml
+++ b/packages/i18n/src/locales/ru/settings.yaml
@@ -901,7 +901,7 @@ pages:
description: >-
Провайдеры транскрипции (speech-to-text): Whisper.cpp, OpenAI, Azure Speech
artistry:
- title: Artistry
+ title: Artistry
description: Поставщики моделей генерации и создания изображений, например ComfyUI, Replicate.
items:
comfyui:
diff --git a/packages/i18n/src/locales/zh-Hans/settings.yaml b/packages/i18n/src/locales/zh-Hans/settings.yaml
index fd294bf25..61985aa92 100644
--- a/packages/i18n/src/locales/zh-Hans/settings.yaml
+++ b/packages/i18n/src/locales/zh-Hans/settings.yaml
@@ -685,7 +685,7 @@ pages:
empty: 这里什么都还没有哦,在下面添加一个!
add:
title: 新建
- description: "填写新的服务器配置,然后点击「保存并重启」,完成后将会更新至上方的「已配置」"
+ description: '填写新的服务器配置,然后点击「保存并重启」,完成后将会更新至上方的「已配置」'
pending-badge: 未保存
status:
unknown: 未加载
@@ -1491,27 +1491,27 @@ pages:
credits:
buy: 购买
scene:
- title: Scenes
- description: Customize the virtual environment for your characters.
- beta_label: Scenes System
- beta_description: Each character card specifies its own preferred background from this gallery. Setting it here will set it as the default for the currently active character.
+ title: 场景
+ description: 自定义角色的虚拟环境。
+ beta_label: 场景系统
+ beta_description: 每个角色卡可以从场景库中指定自己偏好的背景。在此设置将作为当前活跃角色的默认背景。
background_image:
- title: Active Character Background
- no_background: No background active for this character. Upload a square or landscape image for best results.
- upload: Upload to Gallery
- change: Change Background
- clear: Clear Default
+ title: 活跃角色背景
+ no_background: 此角色没有活跃背景。上传正方形或横向图片以获得最佳效果。
+ upload: 上传到场景库
+ change: 更换背景
+ clear: 清除默认
gallery:
- title: Scene Gallery
- empty: No images in gallery yet. Upload one above!
- set_as_global: Set as Character Default
- delete: Delete from Gallery
- global_badge: Character Default
- active_badge: Current Scene
- delete_confirm: Are you sure you want to delete this background?
+ title: 场景库
+ empty: 场景库中还没有图片,从上方上传一张吧!
+ set_as_global: 设为角色默认
+ delete: 从场景库删除
+ global_badge: 角色默认
+ active_badge: 当前场景
+ delete_confirm: 确定要删除这张背景吗?
tip:
- label: Tip!
- description: Using a square image will leverage cover cropping in portrait mode, focusing on the center of the scene.
+ label: 提示!
+ description: 使用正方形图片将在竖屏模式下应用封面裁剪,聚焦场景中心。
sections:
section:
general:
diff --git a/packages/stage-ui/src/stores/ai/models/vad.ts b/packages/stage-ui/src/stores/ai/models/vad.ts
index 5cf57b158..d9e4f3122 100644
--- a/packages/stage-ui/src/stores/ai/models/vad.ts
+++ b/packages/stage-ui/src/stores/ai/models/vad.ts
@@ -1,6 +1,7 @@
-import type { BaseVADConfig } from '../../../libs/audio/vad'
import type { MaybeRefOrGetter } from 'vue'
+import type { BaseVADConfig } from '../../../libs/audio/vad'
+
import { merge } from '@moeru/std'
import { ref, toRef, watch } from 'vue'