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:
1 parent
7b5bccf28f
commit
511c3b006b
43 files changed
+1620
-1791
No files matched your search
+2
-2
@@ -170,7 +170,7 @@ class Storage {
|
||||
final entry = (await _terminalMap(connectionId))[directory];
|
||||
if (entry is String && entry.isNotEmpty) {
|
||||
return SavedTerminalTabs(
|
||||
[SavedTerminalTab(entry, tr('终端 1'))], entry);
|
||||
[SavedTerminalTab(entry, tr('Terminal 1'))], entry);
|
||||
}
|
||||
if (entry is! Map) return null;
|
||||
final rawTabs = entry['tabs'];
|
||||
@@ -182,7 +182,7 @@ class Storage {
|
||||
final label = raw['label'];
|
||||
if (id is! String || id.isEmpty) continue;
|
||||
tabs.add(SavedTerminalTab(
|
||||
id, label is String && label.trim().isNotEmpty ? label : tr('终端')));
|
||||
id, label is String && label.trim().isNotEmpty ? label : tr('Terminal')));
|
||||
}
|
||||
if (tabs.isEmpty) return null;
|
||||
final active = entry['active'];
|
||||
|
||||
Reference in new issue
Block a user