Просмотр исходного кода

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

NI0317 2 месяцев назад
Родитель
Сommit
ac19ba2da3

+ 2 - 2
apps/cli/src/tui-first-run-welcome-copy.ts

@@ -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。',
-      '目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗粝。',
+      '目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗糙。',
       '“如切如磋,如琢如磨。” 产品的成长,离不开一次次真实的碰撞与坦诚的反馈。您在真实使用中暴露的问题,也可能促使我们重新审视,甚至推翻已有的设计。',
       '我们尤其希望听见那些失败、困惑与不顺手的时刻——如果它未能帮到您,甚至反而为工作平添了麻烦,请在企业微信群中留言,将使用感受告诉我们。每一条反馈,都会帮助我们把它打磨得更好。',
     ]),

+ 1 - 1
apps/cli/tests/tui-first-run-snapshots/120-columns.expected.txt

@@ -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

+ 1 - 1
apps/cli/tests/tui-first-run-snapshots/160-columns.expected.txt

@@ -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

+ 1 - 1
apps/cli/tests/tui-first-run-snapshots/60-columns.expected.txt

@@ -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| "│                                                          │"

+ 1 - 1
apps/cli/tests/tui-first-run-snapshots/80-columns.expected.txt

@@ -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| "│                                                                              │"

+ 1 - 1
apps/cli/tests/tui-first-run-welcome.spec.ts

@@ -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([