mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix & opt
- fix sftp downloaded page bottom path bg color error - apt/yum add chinese - urltext add textalign
This commit is contained in:
@@ -32,21 +32,23 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
|
||||
static String m4(percent, size) => "${percent}% of ${size}";
|
||||
|
||||
static String m5(code) => "request failed, status code: ${code}";
|
||||
static String m5(count) => "Found ${count} update";
|
||||
|
||||
static String m6(myGithub) => "\nMade with ❤️ by ${myGithub}";
|
||||
static String m6(code) => "request failed, status code: ${code}";
|
||||
|
||||
static String m7(time) => "Spent time: ${time}";
|
||||
static String m7(myGithub) => "\nMade with ❤️ by ${myGithub}";
|
||||
|
||||
static String m8(name) => "Are you sure to delete [${name}]?";
|
||||
static String m8(time) => "Spent time: ${time}";
|
||||
|
||||
static String m9(server) => "Are you sure to delete server [${server}]?";
|
||||
static String m9(name) => "Are you sure to delete [${name}]?";
|
||||
|
||||
static String m10(build) => "Found: v1.0.${build}, click to update";
|
||||
static String m10(server) => "Are you sure to delete server [${server}]?";
|
||||
|
||||
static String m11(build) => "Current: v1.0.${build}";
|
||||
static String m11(build) => "Found: v1.0.${build}, click to update";
|
||||
|
||||
static String m12(build) => "Current: v1.0.${build}, is up to date";
|
||||
static String m12(build) => "Current: v1.0.${build}";
|
||||
|
||||
static String m13(build) => "Current: v1.0.${build}, is up to date";
|
||||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
@@ -83,8 +85,6 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"dl2Local": m1,
|
||||
"dockerStatusRunningAndStoppedFmt": m2,
|
||||
"dockerStatusRunningFmt": m3,
|
||||
"dockerWaitConnection": MessageLookupByLibrary.simpleMessage(
|
||||
"Please wait for the connection to be established."),
|
||||
"download": MessageLookupByLibrary.simpleMessage("Download"),
|
||||
"downloadFinished":
|
||||
MessageLookupByLibrary.simpleMessage("Download finished"),
|
||||
@@ -93,15 +93,18 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"encode": MessageLookupByLibrary.simpleMessage("Encode"),
|
||||
"error": MessageLookupByLibrary.simpleMessage("Error"),
|
||||
"exampleName": MessageLookupByLibrary.simpleMessage("Example name"),
|
||||
"experimentalFeature":
|
||||
MessageLookupByLibrary.simpleMessage("Experimental feature"),
|
||||
"export": MessageLookupByLibrary.simpleMessage("Export"),
|
||||
"fieldMustNotEmpty": MessageLookupByLibrary.simpleMessage(
|
||||
"These fields must not be empty."),
|
||||
"files": MessageLookupByLibrary.simpleMessage("Files"),
|
||||
"foundNUpdate": m5,
|
||||
"go": MessageLookupByLibrary.simpleMessage("Go"),
|
||||
"goSftpDlPage":
|
||||
MessageLookupByLibrary.simpleMessage("Go to SFTP download page?"),
|
||||
"host": MessageLookupByLibrary.simpleMessage("Host"),
|
||||
"httpFailedWithCode": m5,
|
||||
"httpFailedWithCode": m6,
|
||||
"import": MessageLookupByLibrary.simpleMessage("Import"),
|
||||
"importAndExport":
|
||||
MessageLookupByLibrary.simpleMessage("Import and Export"),
|
||||
@@ -116,7 +119,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"loadingFiles":
|
||||
MessageLookupByLibrary.simpleMessage("Loading files..."),
|
||||
"loss": MessageLookupByLibrary.simpleMessage("Loss"),
|
||||
"madeWithLove": m6,
|
||||
"madeWithLove": m7,
|
||||
"max": MessageLookupByLibrary.simpleMessage("max"),
|
||||
"min": MessageLookupByLibrary.simpleMessage("min"),
|
||||
"ms": MessageLookupByLibrary.simpleMessage("ms"),
|
||||
@@ -129,6 +132,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
MessageLookupByLibrary.simpleMessage("No saved snippets."),
|
||||
"noServerAvailable":
|
||||
MessageLookupByLibrary.simpleMessage("No server available."),
|
||||
"noUpdateAvailable":
|
||||
MessageLookupByLibrary.simpleMessage("No update available"),
|
||||
"ok": MessageLookupByLibrary.simpleMessage("OK"),
|
||||
"open": MessageLookupByLibrary.simpleMessage("Open"),
|
||||
"ping": MessageLookupByLibrary.simpleMessage("Ping"),
|
||||
@@ -145,6 +150,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"privateKey": MessageLookupByLibrary.simpleMessage("Private Key"),
|
||||
"pwd": MessageLookupByLibrary.simpleMessage("Password"),
|
||||
"rename": MessageLookupByLibrary.simpleMessage("Rename"),
|
||||
"reportBugsOnGithubIssue": MessageLookupByLibrary.simpleMessage(
|
||||
"Please report bugs on https://github.com/LollipopKit/flutter_server_box/issues"),
|
||||
"result": MessageLookupByLibrary.simpleMessage("Result"),
|
||||
"run": MessageLookupByLibrary.simpleMessage("Run"),
|
||||
"save": MessageLookupByLibrary.simpleMessage("Save"),
|
||||
@@ -168,16 +175,17 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"sftpSSHConnected":
|
||||
MessageLookupByLibrary.simpleMessage("SFTP Connected"),
|
||||
"snippet": MessageLookupByLibrary.simpleMessage("Snippet"),
|
||||
"spentTime": m7,
|
||||
"spentTime": m8,
|
||||
"start": MessageLookupByLibrary.simpleMessage("Start"),
|
||||
"stop": MessageLookupByLibrary.simpleMessage("Stop"),
|
||||
"sureDelete": m8,
|
||||
"sureToDeleteServer": m9,
|
||||
"sureDelete": m9,
|
||||
"sureToDeleteServer": m10,
|
||||
"ttl": MessageLookupByLibrary.simpleMessage("TTL"),
|
||||
"unknown": MessageLookupByLibrary.simpleMessage("unknown"),
|
||||
"unknownError": MessageLookupByLibrary.simpleMessage("Unknown error"),
|
||||
"unkownConvertMode":
|
||||
MessageLookupByLibrary.simpleMessage("Unknown convert mode"),
|
||||
"updateAll": MessageLookupByLibrary.simpleMessage("Update all"),
|
||||
"updateIntervalEqual0": MessageLookupByLibrary.simpleMessage(
|
||||
"You set to 0, will not update automatically.\nYou can pull to refresh manually."),
|
||||
"updateServerStatusInterval": MessageLookupByLibrary.simpleMessage(
|
||||
@@ -185,9 +193,11 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"upsideDown": MessageLookupByLibrary.simpleMessage("Upside Down"),
|
||||
"urlOrJson": MessageLookupByLibrary.simpleMessage("URL or JSON"),
|
||||
"user": MessageLookupByLibrary.simpleMessage("User"),
|
||||
"versionHaveUpdate": m10,
|
||||
"versionUnknownUpdate": m11,
|
||||
"versionUpdated": m12,
|
||||
"versionHaveUpdate": m11,
|
||||
"versionUnknownUpdate": m12,
|
||||
"versionUpdated": m13,
|
||||
"waitConnection": MessageLookupByLibrary.simpleMessage(
|
||||
"Please wait for the connection to be established."),
|
||||
"willTakEeffectImmediately":
|
||||
MessageLookupByLibrary.simpleMessage("Will take effect immediately")
|
||||
};
|
||||
|
||||
@@ -32,21 +32,23 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
|
||||
static String m4(percent, size) => "${size} 的 ${percent}%";
|
||||
|
||||
static String m5(code) => "请求失败, 状态码: ${code}";
|
||||
static String m5(count) => "找到 ${count} 个更新";
|
||||
|
||||
static String m6(myGithub) => "\n用❤️制作 by ${myGithub}";
|
||||
static String m6(code) => "请求失败, 状态码: ${code}";
|
||||
|
||||
static String m7(time) => "耗时: ${time}";
|
||||
static String m7(myGithub) => "\n用❤️制作 by ${myGithub}";
|
||||
|
||||
static String m8(name) => "确定删除[${name}]?";
|
||||
static String m8(time) => "耗时: ${time}";
|
||||
|
||||
static String m9(server) => "你确定要删除服务器 [${server}] 吗?";
|
||||
static String m9(name) => "确定删除[${name}]?";
|
||||
|
||||
static String m10(build) => "找到新版本:v1.0.${build}, 点击更新";
|
||||
static String m10(server) => "你确定要删除服务器 [${server}] 吗?";
|
||||
|
||||
static String m11(build) => "当前:v1.0.${build}";
|
||||
static String m11(build) => "找到新版本:v1.0.${build}, 点击更新";
|
||||
|
||||
static String m12(build) => "当前:v1.0.${build}, 已是最新版本";
|
||||
static String m12(build) => "当前:v1.0.${build}";
|
||||
|
||||
static String m13(build) => "当前:v1.0.${build}, 已是最新版本";
|
||||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
@@ -77,7 +79,6 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"dl2Local": m1,
|
||||
"dockerStatusRunningAndStoppedFmt": m2,
|
||||
"dockerStatusRunningFmt": m3,
|
||||
"dockerWaitConnection": MessageLookupByLibrary.simpleMessage("请等待连接建立"),
|
||||
"download": MessageLookupByLibrary.simpleMessage("下载"),
|
||||
"downloadFinished": MessageLookupByLibrary.simpleMessage("下载完成!"),
|
||||
"downloadStatus": m4,
|
||||
@@ -85,13 +86,15 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"encode": MessageLookupByLibrary.simpleMessage("编码"),
|
||||
"error": MessageLookupByLibrary.simpleMessage("出错了"),
|
||||
"exampleName": MessageLookupByLibrary.simpleMessage("名称示例"),
|
||||
"experimentalFeature": MessageLookupByLibrary.simpleMessage("实验性功能"),
|
||||
"export": MessageLookupByLibrary.simpleMessage("导出"),
|
||||
"fieldMustNotEmpty": MessageLookupByLibrary.simpleMessage("这些输入框不能为空。"),
|
||||
"files": MessageLookupByLibrary.simpleMessage("文件"),
|
||||
"foundNUpdate": m5,
|
||||
"go": MessageLookupByLibrary.simpleMessage("开始"),
|
||||
"goSftpDlPage": MessageLookupByLibrary.simpleMessage("前往下载页?"),
|
||||
"host": MessageLookupByLibrary.simpleMessage("主机"),
|
||||
"httpFailedWithCode": m5,
|
||||
"httpFailedWithCode": m6,
|
||||
"import": MessageLookupByLibrary.simpleMessage("导入"),
|
||||
"importAndExport": MessageLookupByLibrary.simpleMessage("导入或导出"),
|
||||
"install": MessageLookupByLibrary.simpleMessage("安装"),
|
||||
@@ -103,7 +106,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"license": MessageLookupByLibrary.simpleMessage("开源证书"),
|
||||
"loadingFiles": MessageLookupByLibrary.simpleMessage("正在加载目录。。。"),
|
||||
"loss": MessageLookupByLibrary.simpleMessage("丢包率"),
|
||||
"madeWithLove": m6,
|
||||
"madeWithLove": m7,
|
||||
"max": MessageLookupByLibrary.simpleMessage("最大"),
|
||||
"min": MessageLookupByLibrary.simpleMessage("最小"),
|
||||
"ms": MessageLookupByLibrary.simpleMessage("毫秒"),
|
||||
@@ -113,6 +116,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"noSavedPrivateKey": MessageLookupByLibrary.simpleMessage("没有已保存的私钥。"),
|
||||
"noSavedSnippet": MessageLookupByLibrary.simpleMessage("没有已保存的代码片段。"),
|
||||
"noServerAvailable": MessageLookupByLibrary.simpleMessage("没有可用的服务器。"),
|
||||
"noUpdateAvailable": MessageLookupByLibrary.simpleMessage("没有可用更新"),
|
||||
"ok": MessageLookupByLibrary.simpleMessage("好"),
|
||||
"open": MessageLookupByLibrary.simpleMessage("打开"),
|
||||
"ping": MessageLookupByLibrary.simpleMessage("Ping"),
|
||||
@@ -125,6 +129,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"privateKey": MessageLookupByLibrary.simpleMessage("私钥"),
|
||||
"pwd": MessageLookupByLibrary.simpleMessage("密码"),
|
||||
"rename": MessageLookupByLibrary.simpleMessage("重命名"),
|
||||
"reportBugsOnGithubIssue": MessageLookupByLibrary.simpleMessage(
|
||||
"请到 https://github.com/LollipopKit/flutter_server_box/issues 提交问题"),
|
||||
"result": MessageLookupByLibrary.simpleMessage("结果"),
|
||||
"run": MessageLookupByLibrary.simpleMessage("运行"),
|
||||
"save": MessageLookupByLibrary.simpleMessage("保存"),
|
||||
@@ -143,15 +149,16 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"sftpSSHConnected":
|
||||
MessageLookupByLibrary.simpleMessage("SFTP 已连接,即将开始下载..."),
|
||||
"snippet": MessageLookupByLibrary.simpleMessage("代码片段"),
|
||||
"spentTime": m7,
|
||||
"spentTime": m8,
|
||||
"start": MessageLookupByLibrary.simpleMessage("开始"),
|
||||
"stop": MessageLookupByLibrary.simpleMessage("停止"),
|
||||
"sureDelete": m8,
|
||||
"sureToDeleteServer": m9,
|
||||
"sureDelete": m9,
|
||||
"sureToDeleteServer": m10,
|
||||
"ttl": MessageLookupByLibrary.simpleMessage("缓存时间"),
|
||||
"unknown": MessageLookupByLibrary.simpleMessage("未知"),
|
||||
"unknownError": MessageLookupByLibrary.simpleMessage("未知错误"),
|
||||
"unkownConvertMode": MessageLookupByLibrary.simpleMessage("未知转换模式"),
|
||||
"updateAll": MessageLookupByLibrary.simpleMessage("更新全部"),
|
||||
"updateIntervalEqual0": MessageLookupByLibrary.simpleMessage(
|
||||
"你设置为0,服务器状态不会自动刷新。\n你可以手动下拉刷新。"),
|
||||
"updateServerStatusInterval":
|
||||
@@ -159,9 +166,10 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"upsideDown": MessageLookupByLibrary.simpleMessage("上下交换"),
|
||||
"urlOrJson": MessageLookupByLibrary.simpleMessage("链接或JSON"),
|
||||
"user": MessageLookupByLibrary.simpleMessage("用户"),
|
||||
"versionHaveUpdate": m10,
|
||||
"versionUnknownUpdate": m11,
|
||||
"versionUpdated": m12,
|
||||
"versionHaveUpdate": m11,
|
||||
"versionUnknownUpdate": m12,
|
||||
"versionUpdated": m13,
|
||||
"waitConnection": MessageLookupByLibrary.simpleMessage("请等待连接建立"),
|
||||
"willTakEeffectImmediately":
|
||||
MessageLookupByLibrary.simpleMessage("更改将会立即生效")
|
||||
};
|
||||
|
||||
@@ -981,10 +981,10 @@ class S {
|
||||
}
|
||||
|
||||
/// `Please wait for the connection to be established.`
|
||||
String get dockerWaitConnection {
|
||||
String get waitConnection {
|
||||
return Intl.message(
|
||||
'Please wait for the connection to be established.',
|
||||
name: 'dockerWaitConnection',
|
||||
name: 'waitConnection',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
@@ -1130,6 +1130,56 @@ class S {
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Experimental feature`
|
||||
String get experimentalFeature {
|
||||
return Intl.message(
|
||||
'Experimental feature',
|
||||
name: 'experimentalFeature',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Please report bugs on https://github.com/LollipopKit/flutter_server_box/issues`
|
||||
String get reportBugsOnGithubIssue {
|
||||
return Intl.message(
|
||||
'Please report bugs on https://github.com/LollipopKit/flutter_server_box/issues',
|
||||
name: 'reportBugsOnGithubIssue',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `No update available`
|
||||
String get noUpdateAvailable {
|
||||
return Intl.message(
|
||||
'No update available',
|
||||
name: 'noUpdateAvailable',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Found {count} update`
|
||||
String foundNUpdate(Object count) {
|
||||
return Intl.message(
|
||||
'Found $count update',
|
||||
name: 'foundNUpdate',
|
||||
desc: '',
|
||||
args: [count],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Update all`
|
||||
String get updateAll {
|
||||
return Intl.message(
|
||||
'Update all',
|
||||
name: 'updateAll',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||
|
||||
Reference in New Issue
Block a user