ssh page: rm appbar

This commit is contained in:
lollipopkit
2023-01-29 15:11:01 +08:00
parent 47861b1e0b
commit 49f9b0b179
11 changed files with 162 additions and 107 deletions

View File

@@ -53,11 +53,16 @@ class MessageLookup extends MessageLookupByLibrary {
static String m14(server) => "Are you sure to delete server [${server}]?";
static String m15(build) => "Found: v1.0.${build}, click to update";
static String m15(newest) => "Update: v1.0.${newest}";
static String m16(build) => "Current: v1.0.${build}";
static String m16(newest) =>
"Current version is too low, please update to v1.0.${newest}";
static String m17(build) => "Current: v1.0.${build}, is up to date";
static String m17(build) => "Found: v1.0.${build}, click to update";
static String m18(build) => "Current: v1.0.${build}";
static String m19(build) => "Current: v1.0.${build}, is up to date";
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
@@ -247,12 +252,14 @@ class MessageLookup extends MessageLookupByLibrary {
"You set to 0, will not update automatically.\nCan\'t calculate CPU status."),
"updateServerStatusInterval": MessageLookupByLibrary.simpleMessage(
"Server status update interval"),
"updateTip": m15,
"updateTipTooLow": m16,
"upsideDown": MessageLookupByLibrary.simpleMessage("Upside Down"),
"urlOrJson": MessageLookupByLibrary.simpleMessage("URL or JSON"),
"user": MessageLookupByLibrary.simpleMessage("User"),
"versionHaveUpdate": m15,
"versionUnknownUpdate": m16,
"versionUpdated": m17,
"versionHaveUpdate": m17,
"versionUnknownUpdate": m18,
"versionUpdated": m19,
"waitConnection": MessageLookupByLibrary.simpleMessage(
"Please wait for the connection to be established."),
"willTakEeffectImmediately":

View File

@@ -52,11 +52,15 @@ class MessageLookup extends MessageLookupByLibrary {
static String m14(server) => "你确定要删除服务器 [${server}] 吗?";
static String m15(build) => "找到新版本v1.0.${build}, 点击更新";
static String m15(newest) => "新版本: v1.0.${newest}";
static String m16(build) => "当前v1.0.${build}";
static String m16(newest) => "当前版本过低,请升级至 v1.0.${newest}";
static String m17(build) => "当前v1.0.${build}, 已是最新版本";
static String m17(build) => "找到新版本v1.0.${build}, 点击更新";
static String m18(build) => "当前v1.0.${build}";
static String m19(build) => "当前v1.0.${build}, 已是最新版本";
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
@@ -214,12 +218,14 @@ class MessageLookup extends MessageLookupByLibrary {
"你设置为0服务器状态不会自动刷新。\n且不能计算CPU使用情况。"),
"updateServerStatusInterval":
MessageLookupByLibrary.simpleMessage("服务器状态刷新间隔"),
"updateTip": m15,
"updateTipTooLow": m16,
"upsideDown": MessageLookupByLibrary.simpleMessage("上下交换"),
"urlOrJson": MessageLookupByLibrary.simpleMessage("链接或JSON"),
"user": MessageLookupByLibrary.simpleMessage("用户"),
"versionHaveUpdate": m15,
"versionUnknownUpdate": m16,
"versionUpdated": m17,
"versionHaveUpdate": m17,
"versionUnknownUpdate": m18,
"versionUpdated": m19,
"waitConnection": MessageLookupByLibrary.simpleMessage("请等待连接建立"),
"willTakEeffectImmediately":
MessageLookupByLibrary.simpleMessage("更改将会立即生效")

View File

@@ -1530,6 +1530,26 @@ class S {
args: [url],
);
}
/// `Update: v1.0.{newest}`
String updateTip(Object newest) {
return Intl.message(
'Update: v1.0.$newest',
name: 'updateTip',
desc: '',
args: [newest],
);
}
/// `Current version is too low, please update to v1.0.{newest}`
String updateTipTooLow(Object newest) {
return Intl.message(
'Current version is too low, please update to v1.0.$newest',
name: 'updateTipTooLow',
desc: '',
args: [newest],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {