new: support pick ssh term theme

This commit is contained in:
lollipopkit
2023-02-02 16:52:30 +08:00
parent c479d18714
commit 82a201d3dc
15 changed files with 366 additions and 63 deletions

View File

@@ -67,7 +67,7 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"aboutThanks": MessageLookupByLibrary.simpleMessage(
"\nAll rights reserved.\n\nThanks to the following people who participated in the test."),
"\n\nThanks to the following people who participated in the test."),
"addAServer": MessageLookupByLibrary.simpleMessage("add a server"),
"addOne": MessageLookupByLibrary.simpleMessage("Add one"),
"addPrivateKey":
@@ -242,6 +242,7 @@ class MessageLookup extends MessageLookupByLibrary {
"sureNoPwd": MessageLookupByLibrary.simpleMessage(
"Are you sure to use no password?"),
"sureToDeleteServer": m14,
"termTheme": MessageLookupByLibrary.simpleMessage("Terminal theme"),
"ttl": MessageLookupByLibrary.simpleMessage("ttl"),
"unknown": MessageLookupByLibrary.simpleMessage("unknown"),
"unknownError": MessageLookupByLibrary.simpleMessage("Unknown error"),

View File

@@ -66,7 +66,7 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"aboutThanks":
MessageLookupByLibrary.simpleMessage("\n保留所有权利。\n\n感谢以下参与软件测试的各位。"),
MessageLookupByLibrary.simpleMessage("\n\n感谢以下参与软件测试的各位。"),
"addAServer": MessageLookupByLibrary.simpleMessage("添加服务器"),
"addOne": MessageLookupByLibrary.simpleMessage("前去新增"),
"addPrivateKey": MessageLookupByLibrary.simpleMessage("添加一个私钥"),
@@ -210,6 +210,7 @@ class MessageLookup extends MessageLookupByLibrary {
"sureDelete": m13,
"sureNoPwd": MessageLookupByLibrary.simpleMessage("确认使用无密码?"),
"sureToDeleteServer": m14,
"termTheme": MessageLookupByLibrary.simpleMessage("终端主题"),
"ttl": MessageLookupByLibrary.simpleMessage("缓存时间"),
"unknown": MessageLookupByLibrary.simpleMessage("未知"),
"unknownError": MessageLookupByLibrary.simpleMessage("未知错误"),

View File

@@ -50,10 +50,10 @@ class S {
return Localizations.of<S>(context, S);
}
/// `\nAll rights reserved.\n\nThanks to the following people who participated in the test.`
/// `\n\nThanks to the following people who participated in the test.`
String get aboutThanks {
return Intl.message(
'\nAll rights reserved.\n\nThanks to the following people who participated in the test.',
'\n\nThanks to the following people who participated in the test.',
name: 'aboutThanks',
desc: '',
args: [],
@@ -1381,6 +1381,16 @@ class S {
);
}
/// `Terminal theme`
String get termTheme {
return Intl.message(
'Terminal theme',
name: 'termTheme',
desc: '',
args: [],
);
}
/// `ttl`
String get ttl {
return Intl.message(