mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
opt. for docker & apt
This commit is contained in:
@@ -81,6 +81,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"clear": MessageLookupByLibrary.simpleMessage("Clear"),
|
||||
"clickSee": MessageLookupByLibrary.simpleMessage("Click here"),
|
||||
"close": MessageLookupByLibrary.simpleMessage("Close"),
|
||||
"cmd": MessageLookupByLibrary.simpleMessage("Command"),
|
||||
"containerStatus":
|
||||
MessageLookupByLibrary.simpleMessage("Container status"),
|
||||
"convert": MessageLookupByLibrary.simpleMessage("Convert"),
|
||||
@@ -94,6 +95,14 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"delete": MessageLookupByLibrary.simpleMessage("Delete"),
|
||||
"disconnected": MessageLookupByLibrary.simpleMessage("Disconnected"),
|
||||
"dl2Local": m0,
|
||||
"dockerCmdPrefixErr": MessageLookupByLibrary.simpleMessage(
|
||||
"Please make sure that the docker command prefix is correct."),
|
||||
"dockerEditHost":
|
||||
MessageLookupByLibrary.simpleMessage("Edit DOCKER_HOST"),
|
||||
"dockerEmptyRunningItems": MessageLookupByLibrary.simpleMessage(
|
||||
"No running container. \nIt may be that the env DOCKER_HOST is not read correctly. You can found it by running `echo \$DOCKER_HOST` in terminal."),
|
||||
"dockerNotInstalled":
|
||||
MessageLookupByLibrary.simpleMessage("Docker not installed"),
|
||||
"dockerStatusRunningAndStoppedFmt": m1,
|
||||
"dockerStatusRunningFmt": m2,
|
||||
"download": MessageLookupByLibrary.simpleMessage("Download"),
|
||||
@@ -128,6 +137,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"installDockerWithUrl": MessageLookupByLibrary.simpleMessage(
|
||||
"Please https://docs.docker.com/engine/install docker first."),
|
||||
"invalidJson": MessageLookupByLibrary.simpleMessage("Invalid JSON"),
|
||||
"invalidVersion":
|
||||
MessageLookupByLibrary.simpleMessage("Invalid version"),
|
||||
"invalidVersionHelp": m6,
|
||||
"keepForeground":
|
||||
MessageLookupByLibrary.simpleMessage("Keep app foreground!"),
|
||||
|
||||
@@ -76,6 +76,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"clear": MessageLookupByLibrary.simpleMessage("清除"),
|
||||
"clickSee": MessageLookupByLibrary.simpleMessage("点击查看"),
|
||||
"close": MessageLookupByLibrary.simpleMessage("关闭"),
|
||||
"cmd": MessageLookupByLibrary.simpleMessage("命令"),
|
||||
"containerStatus": MessageLookupByLibrary.simpleMessage("容器状态"),
|
||||
"convert": MessageLookupByLibrary.simpleMessage("转换"),
|
||||
"copy": MessageLookupByLibrary.simpleMessage("复制到剪切板"),
|
||||
@@ -88,6 +89,13 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"delete": MessageLookupByLibrary.simpleMessage("删除"),
|
||||
"disconnected": MessageLookupByLibrary.simpleMessage("连接断开"),
|
||||
"dl2Local": m0,
|
||||
"dockerCmdPrefixErr":
|
||||
MessageLookupByLibrary.simpleMessage("命令前缀错误,没有以 `docker` 开头"),
|
||||
"dockerEditHost":
|
||||
MessageLookupByLibrary.simpleMessage("编辑 DOCKER_HOST"),
|
||||
"dockerEmptyRunningItems": MessageLookupByLibrary.simpleMessage(
|
||||
"没有正在运行的容器。\n这可能是因为环境变量 DOCKER_HOST 没有被正确读取。你可以通过在终端内运行 `echo \$DOCKER_HOST` 来获取。"),
|
||||
"dockerNotInstalled": MessageLookupByLibrary.simpleMessage("Docker未安装"),
|
||||
"dockerStatusRunningAndStoppedFmt": m1,
|
||||
"dockerStatusRunningFmt": m2,
|
||||
"download": MessageLookupByLibrary.simpleMessage("下载"),
|
||||
@@ -116,6 +124,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"installDockerWithUrl": MessageLookupByLibrary.simpleMessage(
|
||||
"请先 https://docs.docker.com/engine/install docker"),
|
||||
"invalidJson": MessageLookupByLibrary.simpleMessage("无效的json,存在格式问题"),
|
||||
"invalidVersion": MessageLookupByLibrary.simpleMessage("不支持的版本"),
|
||||
"invalidVersionHelp": m6,
|
||||
"keepForeground": MessageLookupByLibrary.simpleMessage("请保持应用处于前台!"),
|
||||
"keyAuth": MessageLookupByLibrary.simpleMessage("公钥认证"),
|
||||
|
||||
@@ -1350,6 +1350,66 @@ class S {
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Docker not installed`
|
||||
String get dockerNotInstalled {
|
||||
return Intl.message(
|
||||
'Docker not installed',
|
||||
name: 'dockerNotInstalled',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Invalid version`
|
||||
String get invalidVersion {
|
||||
return Intl.message(
|
||||
'Invalid version',
|
||||
name: 'invalidVersion',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Command`
|
||||
String get cmd {
|
||||
return Intl.message(
|
||||
'Command',
|
||||
name: 'cmd',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `No running container. \nIt may be that the env DOCKER_HOST is not read correctly. You can found it by running 'echo $DOCKER_HOST' in terminal.`
|
||||
String get dockerEmptyRunningItems {
|
||||
return Intl.message(
|
||||
'No running container. \nIt may be that the env DOCKER_HOST is not read correctly. You can found it by running `echo \$DOCKER_HOST` in terminal.',
|
||||
name: 'dockerEmptyRunningItems',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Edit DOCKER_HOST`
|
||||
String get dockerEditHost {
|
||||
return Intl.message(
|
||||
'Edit DOCKER_HOST',
|
||||
name: 'dockerEditHost',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Please make sure that the docker command prefix is correct.`
|
||||
String get dockerCmdPrefixErr {
|
||||
return Intl.message(
|
||||
'Please make sure that the docker command prefix is correct.',
|
||||
name: 'dockerCmdPrefixErr',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||
|
||||
Reference in New Issue
Block a user