copy(tui): use 粗糙 in first-run welcome

This commit is contained in:
NI0317
2026-07-31 13:28:07 +08:00
parent fd718ac126
commit ac19ba2da3
6 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
*/
/** Copy version persisted after the user explicitly continues. */
export const TUI_FIRST_RUN_WELCOME_NOTICE_VERSION = 1
export const TUI_FIRST_RUN_WELCOME_NOTICE_VERSION = 2
/** Locale-shaped text rendered by the first-run welcome overlay. */
export interface TuiFirstRunWelcomeNoticeCopy {
@@ -34,7 +34,7 @@ export const TUI_FIRST_RUN_WELCOME_NOTICE_COPY = Object.freeze({
title: 'DeepSeek Harness',
paragraphs: Object.freeze([
'感谢您愿意拨冗试用 DeepSeek Harness。',
'目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。',
'目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。',
'“如切如磋,如琢如磨。” 产品的成长,离不开一次次真实的碰撞与坦诚的反馈。您在真实使用中暴露的问题,也可能促使我们重新审视,甚至推翻已有的设计。',
'我们尤其希望听见那些失败、困惑与不顺手的时刻——如果它未能帮到您,甚至反而为工作平添了麻烦,请在企业微信群中留言,将使用感受告诉我们。每一条反馈,都会帮助我们把它打磨得更好。',
]),

View File

@@ -18,7 +18,7 @@ overlay 120x30 rows=20
style 0-0 dim
style 4-43 fg=blue
style 119-119 dim
5| "│ ▄██████████████████████▄ ▀█████████▀ 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。 │"
5| "│ ▄██████████████████████▄ ▀█████████▀ 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。 │"
style 0-0 dim
style 4-42 fg=blue
style 119-119 dim

View File

@@ -18,7 +18,7 @@ overlay 160x30 rows=20
style 0-0 dim
style 4-43 fg=blue
style 159-159 dim
5| "│ ▄██████████████████████▄ ▀█████████▀ 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。 │"
5| "│ ▄██████████████████████▄ ▀█████████▀ 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。 │"
style 0-0 dim
style 4-42 fg=blue
style 159-159 dim

View File

@@ -48,7 +48,7 @@ overlay 60x30 rows=27
13| "│ 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验 │"
style 0-0 dim
style 59-59 dim
14| "│ 难免粗。 │"
14| "│ 难免粗。 │"
style 0-0 dim
style 59-59 dim
15| "│ │"

View File

@@ -57,7 +57,7 @@ overlay 80x30 rows=27
15| "│ │"
style 0-0 dim
style 79-79 dim
16| "│ 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。 │"
16| "│ 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗。 │"
style 0-0 dim
style 79-79 dim
17| "│ │"

View File

@@ -124,7 +124,7 @@ describe('TUI first-run welcome composition', () => {
expect(createHash('sha256').update(icon).digest('hex'))
.toBe('deba5f98a5c1796e20fcac3149bcd7eb8a32f0bdd04d048819400b1f28bd1439')
expect(createHash('sha256').update(copy.paragraphs.join('\n')).digest('hex'))
.toBe('c75e395999f572ee231688ef70d5b7f553de3809b57ce8160b4406bd7650f2ec')
.toBe('78d30473a7e3d7afe3157c2f685fd5fd6c94eb9d9d09ac726a36e922c1ff8725')
})
it.each([