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
@@ -247,8 +247,8 @@ class DiffView extends StatelessWidget {
|
||||
child: Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: AppText(
|
||||
file.path ?? trArgs('文件 {0}', [fileIndex + 1]),
|
||||
child: Text(
|
||||
file.path ?? trArgs('File {0}', [fileIndex + 1]),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
@@ -279,7 +279,7 @@ class DiffView extends StatelessWidget {
|
||||
rows.add(Container(
|
||||
color: background,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 1),
|
||||
child: AppText(
|
||||
child: Text(
|
||||
line.text.isEmpty ? ' ' : line.text,
|
||||
style: mono.copyWith(color: foreground),
|
||||
),
|
||||
@@ -290,7 +290,7 @@ class DiffView extends StatelessWidget {
|
||||
rows.add(Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 5),
|
||||
child: AppText(
|
||||
trArgs('仅显示前 {0} 行,共 {1} 行', [maxLines, total]),
|
||||
trArgs('Showing the first {0} of {1} lines', [maxLines, total]),
|
||||
style: TextStyle(fontSize: 11, color: theme.hintColor),
|
||||
),
|
||||
));
|
||||
|
||||
Reference in new issue
Block a user