fix & opt.

fix: net iface parse
opt: `ssh` page auto unpress `ctrl or alt` after call
opt: enable translation for menu
opt: add confirm to `docker` page
This commit is contained in:
LollipopKit
2023-01-29 17:39:27 +08:00
parent f3c670d82c
commit 7c0e01d0d5
10 changed files with 122 additions and 51 deletions

View File

@@ -192,6 +192,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Please input a target IP/domain."),
"pingNoServer": MessageLookupByLibrary.simpleMessage(
"No server to ping.\nPlease add a server in server tab."),
"pkgManager": MessageLookupByLibrary.simpleMessage("Pkg mgr"),
"platformNotSupportUpdate": MessageLookupByLibrary.simpleMessage(
"Current platform does not support in app update.\nPlease build from source and install it."),
"plzEnterHost":

View File

@@ -168,6 +168,7 @@ class MessageLookup extends MessageLookupByLibrary {
"pingInputIP": MessageLookupByLibrary.simpleMessage("请输入目标IP或域名"),
"pingNoServer": MessageLookupByLibrary.simpleMessage(
"没有服务器可用于Ping\n请在服务器tab添加服务器后再试"),
"pkgManager": MessageLookupByLibrary.simpleMessage("包管理"),
"platformNotSupportUpdate":
MessageLookupByLibrary.simpleMessage("当前平台不支持更新,请编译最新源码后手动安装"),
"plzEnterHost": MessageLookupByLibrary.simpleMessage("请输入主机"),

View File

@@ -1550,6 +1550,16 @@ class S {
args: [newest],
);
}
/// `Pkg mgr`
String get pkgManager {
return Intl.message(
'Pkg mgr',
name: 'pkgManager',
desc: '',
args: [],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {