Преглед изворни кода

fix(trajectory): show turn and ordinal step in detail titles

_Kerman пре 3 недеља
родитељ
комит
f36e1a3d1d

+ 1 - 1
packages/client/ui-trajectory/src/client/TrajectoryTable.tsx

@@ -3006,7 +3006,7 @@ export function TrajectoryTable({
                       <span className={css.detailsLocation}>
                         {selected.cell.kind === 'compacted'
                           ? sectionLabel(selected.turn, t)
-                          : selected.group}
+                          : `${sectionLabel(selected.turn, t)} · ${selected.group}`}
                       </span>
                     </>
                   )}

+ 1 - 1
packages/client/ui-trajectory/src/client/locales.ts

@@ -37,7 +37,7 @@ export const zh = {
   'turn.label': '第 {turn} 轮',
   'section.betweenTurns': '轮次之间',
   'group.message': '消息',
-  'group.step': '步骤 {step}',
+  'group.step': '第 {step} 步',
   'group.compaction': '压缩 {seq}',
   'status.failed': '失败',
   'status.pending': '等待中',