Skip to content

Commit a44513f

Browse files
authored
feat(i18n): BeatSync zh , fix helpinfo (#739)
1 parent 02cbbf4 commit a44513f

File tree

2 files changed

+56
-5
lines changed

2 files changed

+56
-5
lines changed

packages/i18n/src/locales/zh-Hans/settings.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,53 @@ pages:
154154
title: VRM
155155
description: 配置 3D VRM 模型
156156
modules:
157+
beat_sync:
158+
description: 随音源节拍律动
159+
title: 同步音律
160+
sections:
161+
audio_source:
162+
actions:
163+
start_screen_capture: 开始屏幕录制
164+
stop: 停止
165+
description: 选择音频来源以检测其中的节拍
166+
title: 音频来源
167+
beat_visualizer:
168+
title: 节拍可视化
169+
parameters:
170+
advanced_parameters: 高级参数
171+
description: 调整节拍检测参数
172+
title: 参数
173+
parameters:
174+
adaptive_threshold:
175+
description: >-
176+
是否根据信号随时间变化的方差应用自适应阈值
177+
label: 自适应阈值
178+
buffer_duration:
179+
description: 内部分析缓冲区的持续时间
180+
label: 缓冲时长
181+
envelope_filter_frequency:
182+
description: >-
183+
应用于平滑能量变化的包络滤波器频率
184+
label: 包络滤波器频率
185+
highpass_filter_frequency:
186+
description: >-
187+
高通滤波器的频率设置,用于抑制低频噪声(如次低频噪声)
188+
label: 高通滤波器频率
189+
lowpass_filter_frequency:
190+
description: >-
191+
低通滤波器的频率设置,用于削减高频信号(如人声)
192+
label: 低通滤波器频率
193+
min_beat_interval:
194+
description: 最大每分钟节拍数(BPM)或检测到的节拍之间最小间隔
195+
label: 最大BPM / 最小节拍间隔
196+
sensitivity:
197+
label: 灵敏度
198+
spectral_flux:
199+
description: 启用基于频谱流的节拍起始检测。
200+
label: 频谱流
201+
warmup:
202+
description: 在检测节拍之前进行预热,以提高准确性
203+
label: 预热
157204
consciousness:
158205
description: 人格设定、使用的模型等配置
159206
sections:

packages/stage-pages/src/pages/settings/providers/index.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@ useScrollToHash(() => route.hash, {
2626
<div mb-6 flex flex-col gap-5>
2727
<div bg="primary-500/10 dark:primary-800/25" rounded-lg p-4>
2828
<div mb-2 text-xl font-normal text="primary-800 dark:primary-100">
29-
First time here?
29+
{{ $t('settings.pages.providers.helpinfo.title') }}
3030
</div>
3131
<div text="primary-700 dark:primary-300">
32-
AIRI requires at least one <div bg="primary-500/10 dark:primary-800/25" inline-flex items-center gap-1 rounded-lg px-2 py-0.5 translate-y="[0.25lh]">
33-
<div i-solar:chat-square-like-bold-duotone /><strong font-normal>Chat</strong>
34-
</div> provider to be configured to think, and behave properly. You could think of
35-
it as the brain of the characters living in AIRI system.
32+
<i18n-t keypath="settings.pages.providers.helpinfo.description">
33+
<template #chat>
34+
<div bg="primary-500/10 dark:primary-800/25" inline-flex items-center gap-1 rounded-lg px-2 py-0.5 translate-y="[0.25lh]">
35+
<div i-solar:chat-square-like-bold-duotone />
36+
<strong class="font-normal">Chat</strong>
37+
</div>
38+
</template>
39+
</i18n-t>
3640
</div>
3741
</div>
3842
<div flex="~ row items-center gap-2">

0 commit comments

Comments
 (0)