Soften session lineage count badge - #2175
Conversation
|
Pulling the worktree and reading the i18n diff at Code reference
session_meta_messages: (n) => `${n} msg${n === 1 ? '' : 's'}`,
session_meta_children: (n) => `${n} child${n === 1 ? '' : 'ren'}`,
session_meta_segments: (n) => `${n} segment${n === 1 ? '' : 's'}`,The PR rewrites only the third line to What I'd flag
On the broader UX callWorth restating from #2155's thread: PR #2072 ("Show session lineage indicators" toggle, Either way the English-only fix lands cleanly modulo the test brittleness above. I'd block the merge briefly to either fix all 11 locales together, or be explicit in the PR body that this is intentionally English-only and the other locales are tracked separately. The PR's CHANGELOG/refs description doesn't mention either way today. |
|
Correction on point 2 above: I mis-read the locale blocks. Line 8138 is inside the zh-Hant block, not pt. The So points (1) and (3) stand — the English-only rename leaves 10 locales saying "segment" (or its localized equivalent), and the regex test is brittle — but there is no pt-uses-Chinese-character bug to fix here. Apologies for the noise. |
fdbbb0d
Soften session lineage count badge (refs nesquena#2155)
Soften session lineage count badge (refs nesquena#2155)
Soften session lineage count badge (refs nesquena#2155)
Summary
X segmentsto softerX prior turn(s)copy in the English base localesegmentswording failsRefs #2155
Verification
git diff --checkpython -m py_compile api/*.py server.pypytest -q tests -k "session or sidebar or lineage"