feat: write the UI in English, select only conversation content

- source strings are English again; Chinese comes from lib/l10n/zh.dart
  through tr()/trArgs() and AppText, and a language without a table
  (Spanish, ...) reads English instead of Chinese
- server and user data (titles, messages, file names, notes, task names)
  is drawn with plain Text, so it is never looked up in the table
- SelectionArea moved from the whole message list to the messages, the
  answer text, an opened tool call's details and the turn footer; status
  lines and folded tool rows no longer start a selection
- a message the transcript does not know (its start event was lost while
  the stream was down) fetches the tail once, so a turn continued from
  another client comes in with its prompt
- bump to 0.5.3
This commit is contained in:
blumia committed 2026-11-26 11:48:16 +08:00
1 parent 7b5bccf28f
commit 511c3b006b
43 files changed
+1620 -1791

No files matched your search

+8 -8
View File
@@ -94,15 +94,15 @@ String formatTokenCount(int tokens) {
/// The Chinese label for an effort variant; unknown ids keep their own name.
String effortLabel(String? variant) {
if (variant == null || variant.isEmpty) return tr('默认');
if (variant == null || variant.isEmpty) return tr('Default');
return switch (variant.toLowerCase()) {
'default' => tr('默认'),
'none' => tr('无'),
'minimal' => tr('极低'),
'low' => tr('低'),
'medium' || 'mid' => tr('中'),
'high' => tr('高'),
'xhigh' || 'max' => tr('极高'),
'default' => tr('Default'),
'none' => tr('None'),
'minimal' => tr('Minimal'),
'low' => tr('Low'),
'medium' || 'mid' => tr('Medium'),
'high' => tr('High'),
'xhigh' || 'max' => tr('Extra high'),
_ => variant,
};
}