fix & opt

- fix sftp downloaded page bottom path bg color error
- apt/yum add chinese
- urltext add textalign
This commit is contained in:
Junyuan Feng
2022-05-08 09:55:07 +08:00
parent 6f30976ef7
commit 50762d585c
10 changed files with 154 additions and 71 deletions

View File

@@ -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("更改将会立即生效")
};