mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix typo
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 193;
|
||||
static const int build = 198;
|
||||
static const String engine =
|
||||
"Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision b06b8b2710 (5 days ago) • 2023-01-23 16:55:55 -0800\nEngine • revision b24591ed32\nTools • Dart 2.19.0 • DevTools 2.20.1\n";
|
||||
static const String buildAt = "2023-01-28 23:51:19.423469";
|
||||
static const int modifications = 2;
|
||||
static const String buildAt = "2023-01-29 17:51:06.250008";
|
||||
static const int modifications = 8;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ String getDropdownBtnText(S s, String text) {
|
||||
case 'Snippet':
|
||||
return s.snippet;
|
||||
case 'Pkg':
|
||||
return s.pkgManage;
|
||||
return s.pkg;
|
||||
case 'Remove':
|
||||
return s.delete;
|
||||
case 'Start':
|
||||
|
||||
@@ -192,7 +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"),
|
||||
"pkg": MessageLookupByLibrary.simpleMessage("Pkg"),
|
||||
"platformNotSupportUpdate": MessageLookupByLibrary.simpleMessage(
|
||||
"Current platform does not support in app update.\nPlease build from source and install it."),
|
||||
"plzEnterHost":
|
||||
|
||||
@@ -168,7 +168,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"pingInputIP": MessageLookupByLibrary.simpleMessage("请输入目标IP或域名"),
|
||||
"pingNoServer": MessageLookupByLibrary.simpleMessage(
|
||||
"没有服务器可用于Ping\n请在服务器tab添加服务器后再试"),
|
||||
"pkgManager": MessageLookupByLibrary.simpleMessage("包管理"),
|
||||
"pkg": MessageLookupByLibrary.simpleMessage("包管理"),
|
||||
"platformNotSupportUpdate":
|
||||
MessageLookupByLibrary.simpleMessage("当前平台不支持更新,请编译最新源码后手动安装"),
|
||||
"plzEnterHost": MessageLookupByLibrary.simpleMessage("请输入主机"),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,153 +1,153 @@
|
||||
{
|
||||
"server": "Server",
|
||||
"convert": "Convert",
|
||||
"ping": "Ping",
|
||||
"debug": "Debug",
|
||||
"addAServer": "add a server",
|
||||
"setting": "Setting",
|
||||
"license": "License",
|
||||
"snippet": "Snippet",
|
||||
"privateKey": "Private Key",
|
||||
"madeWithLove": "\nMade with ❤️ by {myGithub}",
|
||||
"aboutThanks": "\nAll rights reserved.\n\nThanks to the following people who participated in the test.",
|
||||
"serverTabEmpty": "There is no server.\nClick the fab to add one.",
|
||||
"serverTabLoading": "Loading...",
|
||||
"serverTabPlzSave": "Please 'save' this private key again.",
|
||||
"serverTabFailed": "Failed",
|
||||
"serverTabUnkown": "Unknown state",
|
||||
"serverTabConnecting": "Connecting...",
|
||||
"decode": "Decode",
|
||||
"encode": "Encode",
|
||||
"currentMode": "Current Mode",
|
||||
"unkownConvertMode": "Unknown convert mode",
|
||||
"copy": "Copy",
|
||||
"upsideDown": "Upside Down",
|
||||
"pingAvg": "Avg:",
|
||||
"unknown": "unknown",
|
||||
"min": "min",
|
||||
"max": "max",
|
||||
"ms": "ms",
|
||||
"ttl": "ttl",
|
||||
"loss": "loss",
|
||||
"noResult": "No result",
|
||||
"pingInputIP": "Please input a target IP/domain.",
|
||||
"clear": "Clear",
|
||||
"start": "Start",
|
||||
"appPrimaryColor": "App primary color",
|
||||
"updateServerStatusInterval": "Server status update interval",
|
||||
"willTakEeffectImmediately": "Will take effect immediately",
|
||||
"launchPage": "Launch page",
|
||||
"versionUpdated": "Current: v1.0.{build}, is up to date",
|
||||
"versionUnknownUpdate": "Current: v1.0.{build}",
|
||||
"versionHaveUpdate": "Found: v1.0.{build}, click to update",
|
||||
"second": "s",
|
||||
"updateIntervalEqual0": "You set to 0, will not update automatically.\nCan't calculate CPU status.",
|
||||
"edit": "Edit",
|
||||
"noSavedPrivateKey": "No saved private keys.",
|
||||
"name": "Name",
|
||||
"pwd": "Password",
|
||||
"save": "Save",
|
||||
"delete": "Delete",
|
||||
"fieldMustNotEmpty": "These fields must not be empty.",
|
||||
"importAndExport": "Import and Export",
|
||||
"choose": "Choose",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"ok": "OK",
|
||||
"cancel": "Cancel",
|
||||
"urlOrJson": "URL or JSON",
|
||||
"go": "Go",
|
||||
"httpFailedWithCode": "request failed, status code: {code}",
|
||||
"run": "Run",
|
||||
"noSavedSnippet": "No saved snippets.",
|
||||
"chooseDestination": "Choose destination",
|
||||
"noServerAvailable": "No server available.",
|
||||
"result": "Result",
|
||||
"close": "Close",
|
||||
"attention": "Attention",
|
||||
"sureToDeleteServer": "Are you sure to delete server [{server}]?",
|
||||
"host": "Host",
|
||||
"port": "Port",
|
||||
"user": "User",
|
||||
"keyAuth": "Key Auth",
|
||||
"addAServer": "add a server",
|
||||
"addOne": "Add one",
|
||||
"addPrivateKey": "Add private key",
|
||||
"alreadyLastDir": "Already in last directory.",
|
||||
"appPrimaryColor": "App primary color",
|
||||
"attention": "Attention",
|
||||
"backDir": "Back",
|
||||
"backup": "Backup",
|
||||
"backupTip": "The exported data is simply encrypted. \nPlease keep it safe.\nRestoring will not overwrite existing data (except setting).",
|
||||
"backupVersionNotMatch": "Backup version is not match.",
|
||||
"cancel": "Cancel",
|
||||
"choose": "Choose",
|
||||
"chooseDestination": "Choose destination",
|
||||
"choosePrivateKey": "Choose private key",
|
||||
"plzEnterHost": "Please enter host.",
|
||||
"sureNoPwd": "Are you sure to use no password?",
|
||||
"plzSelectKey": "Please select a key.",
|
||||
"exampleName": "Example name",
|
||||
"stop": "Stop",
|
||||
"download": "Download",
|
||||
"clear": "Clear",
|
||||
"clickSee": "Click here",
|
||||
"close": "Close",
|
||||
"cmd": "Command",
|
||||
"containerStatus": "Container status",
|
||||
"convert": "Convert",
|
||||
"copy": "Copy",
|
||||
"copyPath": "Copy path",
|
||||
"keepForeground": "Keep app foreground!",
|
||||
"createFile": "Create file",
|
||||
"createFolder": "Create folder",
|
||||
"currentMode": "Current Mode",
|
||||
"debug": "Debug",
|
||||
"decode": "Decode",
|
||||
"delete": "Delete",
|
||||
"disconnected": "Disconnected",
|
||||
"dl2Local": "Download [{fileName}] to local?",
|
||||
"dockerContainerName": "Container name",
|
||||
"dockerEditHost": "Edit DOCKER_HOST",
|
||||
"dockerEmptyRunningItems": "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.",
|
||||
"dockerImage": "Image",
|
||||
"dockerImagesFmt": "{count} images",
|
||||
"dockerNotInstalled": "Docker not installed",
|
||||
"dockerStatusRunningAndStoppedFmt": "{runningCount} running, {stoppedCount} container stopped.",
|
||||
"dockerStatusRunningFmt": "{count} container running.",
|
||||
"download": "Download",
|
||||
"downloadFinished": "Download finished",
|
||||
"downloadStatus": "{percent}% of {size}",
|
||||
"sftpDlPrepare": "Preparing to connect...",
|
||||
"sftpSSHConnected": "SFTP Connected",
|
||||
"spentTime": "Spent time: {time}",
|
||||
"backDir": "Back",
|
||||
"alreadyLastDir": "Already in last directory.",
|
||||
"open": "Open",
|
||||
"sureDelete": "Are you sure to delete [{name}]?",
|
||||
"containerStatus": "Container status",
|
||||
"noClient": "No client",
|
||||
"installDockerWithUrl": "Please https://docs.docker.com/engine/install docker first.",
|
||||
"waitConnection": "Please wait for the connection to be established.",
|
||||
"unknownError": "Unknown error",
|
||||
"dockerStatusRunningFmt": "{count} container running.",
|
||||
"dockerStatusRunningAndStoppedFmt": "{runningCount} running, {stoppedCount} container stopped.",
|
||||
"install": "install",
|
||||
"loadingFiles": "Loading files...",
|
||||
"sftpNoDownloadTask": "No download task.",
|
||||
"createFolder": "Create folder",
|
||||
"createFile": "Create file",
|
||||
"rename": "Rename",
|
||||
"dl2Local": "Download [{fileName}] to local?",
|
||||
"edit": "Edit",
|
||||
"encode": "Encode",
|
||||
"error": "Error",
|
||||
"disconnected": "Disconnected",
|
||||
"files": "Files",
|
||||
"exampleName": "Example name",
|
||||
"experimentalFeature": "Experimental feature",
|
||||
"reportBugsOnGithubIssue": "Please report bugs on {url}",
|
||||
"noUpdateAvailable": "No update available",
|
||||
"foundNUpdate": "Found {count} update",
|
||||
"updateAll": "Update all",
|
||||
"platformNotSupportUpdate": "Current platform does not support in app update.\nPlease build from source and install it.",
|
||||
"invalidVersionHelp": "Please make sure that docker is installed correctly, or that you are using a non-self-compiled version. If you don't have the above issues, please submit an issue on {url}.",
|
||||
"noInterface": "No interface",
|
||||
"lastTry": "Last try!",
|
||||
"pingNoServer": "No server to ping.\nPlease add a server in server tab.",
|
||||
"backupTip": "The exported data is simply encrypted. \nPlease keep it safe.\nRestoring will not overwrite existing data (except setting).",
|
||||
"backup": "Backup",
|
||||
"restore": "Restore",
|
||||
"restoreSureWithDate": "Are you sure to restore from {date} ?",
|
||||
"backupVersionNotMatch": "Backup version is not match.",
|
||||
"invalidJson": "Invalid JSON",
|
||||
"restoreSuccess": "Restore success. Restart app to apply.",
|
||||
"clickSee": "Click here",
|
||||
"export": "Export",
|
||||
"extraArgs": "Extra args",
|
||||
"feedback": "Feedback",
|
||||
"feedbackOnGithub": "If you have any questions, please feedback on Github.",
|
||||
"update": "Update",
|
||||
"inputDomainHere": "Input Domain here",
|
||||
"dockerNotInstalled": "Docker not installed",
|
||||
"invalidVersion": "Invalid version",
|
||||
"cmd": "Command",
|
||||
"dockerEmptyRunningItems": "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.",
|
||||
"dockerEditHost": "Edit DOCKER_HOST",
|
||||
"newContainer": "New container",
|
||||
"dockerImage": "Image",
|
||||
"dockerContainerName": "Container name",
|
||||
"extraArgs": "Extra args",
|
||||
"preview": "Preview",
|
||||
"isBusy": "Is busy now",
|
||||
"imagesList": "Images list",
|
||||
"dockerImagesFmt": "{count} images",
|
||||
"path": "Path",
|
||||
"fieldMustNotEmpty": "These fields must not be empty.",
|
||||
"files": "Files",
|
||||
"foundNUpdate": "Found {count} update",
|
||||
"go": "Go",
|
||||
"goto": "Go to",
|
||||
"showDistLogo": "Show distribution logo",
|
||||
"host": "Host",
|
||||
"httpFailedWithCode": "request failed, status code: {code}",
|
||||
"imagesList": "Images list",
|
||||
"import": "Import",
|
||||
"importAndExport": "Import and Export",
|
||||
"inputDomainHere": "Input Domain here",
|
||||
"install": "install",
|
||||
"installDockerWithUrl": "Please https://docs.docker.com/engine/install docker first.",
|
||||
"invalidJson": "Invalid JSON",
|
||||
"invalidVersion": "Invalid version",
|
||||
"invalidVersionHelp": "Please make sure that docker is installed correctly, or that you are using a non-self-compiled version. If you don't have the above issues, please submit an issue on {url}.",
|
||||
"isBusy": "Is busy now",
|
||||
"keepForeground": "Keep app foreground!",
|
||||
"keyAuth": "Key Auth",
|
||||
"lastTry": "Last try!",
|
||||
"launchPage": "Launch page",
|
||||
"license": "License",
|
||||
"loadingFiles": "Loading files...",
|
||||
"loss": "loss",
|
||||
"madeWithLove": "\nMade with ❤️ by {myGithub}",
|
||||
"max": "max",
|
||||
"min": "min",
|
||||
"ms": "ms",
|
||||
"name": "Name",
|
||||
"newContainer": "New container",
|
||||
"noClient": "No client",
|
||||
"noInterface": "No interface",
|
||||
"noResult": "No result",
|
||||
"noSavedPrivateKey": "No saved private keys.",
|
||||
"noSavedSnippet": "No saved snippets.",
|
||||
"noServerAvailable": "No server available.",
|
||||
"noUpdateAvailable": "No update available",
|
||||
"ok": "OK",
|
||||
"onServerDetailPage": "On server detail page",
|
||||
"addOne": "Add one",
|
||||
"open": "Open",
|
||||
"path": "Path",
|
||||
"ping": "Ping",
|
||||
"pingAvg": "Avg:",
|
||||
"pingInputIP": "Please input a target IP/domain.",
|
||||
"pingNoServer": "No server to ping.\nPlease add a server in server tab.",
|
||||
"pkg": "Pkg",
|
||||
"platformNotSupportUpdate": "Current platform does not support in app update.\nPlease build from source and install it.",
|
||||
"plzEnterHost": "Please enter host.",
|
||||
"plzSelectKey": "Please select a key.",
|
||||
"port": "Port",
|
||||
"preview": "Preview",
|
||||
"privateKey": "Private Key",
|
||||
"pwd": "Password",
|
||||
"rename": "Rename",
|
||||
"reportBugsOnGithubIssue": "Please report bugs on {url}",
|
||||
"restore": "Restore",
|
||||
"restoreSuccess": "Restore success. Restart app to apply.",
|
||||
"restoreSureWithDate": "Are you sure to restore from {date} ?",
|
||||
"result": "Result",
|
||||
"run": "Run",
|
||||
"save": "Save",
|
||||
"second": "s",
|
||||
"server": "Server",
|
||||
"serverTabConnecting": "Connecting...",
|
||||
"serverTabEmpty": "There is no server.\nClick the fab to add one.",
|
||||
"serverTabFailed": "Failed",
|
||||
"serverTabLoading": "Loading...",
|
||||
"serverTabPlzSave": "Please 'save' this private key again.",
|
||||
"serverTabUnkown": "Unknown state",
|
||||
"setting": "Setting",
|
||||
"sftpDlPrepare": "Preparing to connect...",
|
||||
"sftpNoDownloadTask": "No download task.",
|
||||
"sftpSSHConnected": "SFTP Connected",
|
||||
"showDistLogo": "Show distribution logo",
|
||||
"snippet": "Snippet",
|
||||
"spentTime": "Spent time: {time}",
|
||||
"sshTip": "This function is now in the experimental stage. \nPlease report bugs on {url} or join our development.",
|
||||
"start": "Start",
|
||||
"stop": "Stop",
|
||||
"sureDelete": "Are you sure to delete [{name}]?",
|
||||
"sureNoPwd": "Are you sure to use no password?",
|
||||
"sureToDeleteServer": "Are you sure to delete server [{server}]?",
|
||||
"ttl": "ttl",
|
||||
"unknown": "unknown",
|
||||
"unknownError": "Unknown error",
|
||||
"unkownConvertMode": "Unknown convert mode",
|
||||
"update": "Update",
|
||||
"updateAll": "Update all",
|
||||
"updateIntervalEqual0": "You set to 0, will not update automatically.\nCan't calculate CPU status.",
|
||||
"updateServerStatusInterval": "Server status update interval",
|
||||
"updateTip": "Update: v1.0.{newest}",
|
||||
"updateTipTooLow": "Current version is too low, please update to v1.0.{newest}",
|
||||
"pkgManager": "Pkg mgr"
|
||||
"upsideDown": "Upside Down",
|
||||
"urlOrJson": "URL or JSON",
|
||||
"user": "User",
|
||||
"versionHaveUpdate": "Found: v1.0.{build}, click to update",
|
||||
"versionUnknownUpdate": "Current: v1.0.{build}",
|
||||
"versionUpdated": "Current: v1.0.{build}, is up to date",
|
||||
"waitConnection": "Please wait for the connection to be established.",
|
||||
"willTakEeffectImmediately": "Will take effect immediately"
|
||||
}
|
||||
@@ -1,153 +1,153 @@
|
||||
{
|
||||
"server": "服务器",
|
||||
"convert": "转换",
|
||||
"ping": "Ping",
|
||||
"debug": "调试",
|
||||
"addAServer": "添加服务器",
|
||||
"setting": "设置",
|
||||
"license": "开源证书",
|
||||
"snippet": "代码片段",
|
||||
"privateKey": "私钥",
|
||||
"madeWithLove": "\n用❤️制作 by {myGithub}",
|
||||
"aboutThanks": "\n保留所有权利。\n\n感谢以下参与软件测试的各位。",
|
||||
"serverTabEmpty": "现在没有服务器。\n点击右下方按钮来添加。",
|
||||
"serverTabLoading": "加载中...",
|
||||
"serverTabPlzSave": "请再次保存该私钥",
|
||||
"serverTabFailed": "失败",
|
||||
"serverTabUnkown": "未知状态",
|
||||
"serverTabConnecting": "连接中...",
|
||||
"decode": "解码",
|
||||
"encode": "编码",
|
||||
"currentMode": "当前模式",
|
||||
"unkownConvertMode": "未知转换模式",
|
||||
"copy": "复制到剪切板",
|
||||
"upsideDown": "上下交换",
|
||||
"pingAvg": "平均:",
|
||||
"unknown": "未知",
|
||||
"min": "最小",
|
||||
"max": "最大",
|
||||
"ms": "毫秒",
|
||||
"ttl": "缓存时间",
|
||||
"loss": "丢包率",
|
||||
"noResult": "无结果",
|
||||
"pingInputIP": "请输入目标IP或域名",
|
||||
"clear": "清除",
|
||||
"start": "开始",
|
||||
"appPrimaryColor": "App主要色",
|
||||
"updateServerStatusInterval": "服务器状态刷新间隔",
|
||||
"willTakEeffectImmediately": "更改将会立即生效",
|
||||
"launchPage": "启动页",
|
||||
"versionUpdated": "当前:v1.0.{build}, 已是最新版本",
|
||||
"versionUnknownUpdate": "当前:v1.0.{build}",
|
||||
"versionHaveUpdate": "找到新版本:v1.0.{build}, 点击更新",
|
||||
"second": "秒",
|
||||
"updateIntervalEqual0": "你设置为0,服务器状态不会自动刷新。\n且不能计算CPU使用情况。",
|
||||
"edit": "编辑",
|
||||
"noSavedPrivateKey": "没有已保存的私钥。",
|
||||
"name": "名称",
|
||||
"pwd": "密码",
|
||||
"save": "保存",
|
||||
"delete": "删除",
|
||||
"fieldMustNotEmpty": "这些输入框不能为空。",
|
||||
"importAndExport": "导入或导出",
|
||||
"choose": "选择",
|
||||
"import": "导入",
|
||||
"export": "导出",
|
||||
"ok": "好",
|
||||
"cancel": "取消",
|
||||
"urlOrJson": "链接或JSON",
|
||||
"go": "开始",
|
||||
"httpFailedWithCode": "请求失败, 状态码: {code}",
|
||||
"run": "运行",
|
||||
"noSavedSnippet": "没有已保存的代码片段。",
|
||||
"chooseDestination": "选择目标",
|
||||
"noServerAvailable": "没有可用的服务器。",
|
||||
"result": "结果",
|
||||
"close": "关闭",
|
||||
"attention": "注意",
|
||||
"sureToDeleteServer": "你确定要删除服务器 [{server}] 吗?",
|
||||
"host": "主机",
|
||||
"port": "端口",
|
||||
"user": "用户",
|
||||
"keyAuth": "公钥认证",
|
||||
"addAServer": "添加服务器",
|
||||
"addOne": "前去新增",
|
||||
"addPrivateKey": "添加一个私钥",
|
||||
"alreadyLastDir": "已经是最上层目录了",
|
||||
"appPrimaryColor": "App主要色",
|
||||
"attention": "注意",
|
||||
"backDir": "返回上一级",
|
||||
"backup": "备份",
|
||||
"backupTip": "导出的数据仅进行了简单加密,请妥善保管。\n除了设置项,恢复的数据不会覆盖现有数据。",
|
||||
"backupVersionNotMatch": "备份版本不匹配,无法恢复",
|
||||
"cancel": "取消",
|
||||
"choose": "选择",
|
||||
"chooseDestination": "选择目标",
|
||||
"choosePrivateKey": "选择私钥",
|
||||
"plzEnterHost": "请输入主机",
|
||||
"sureNoPwd": "确认使用无密码?",
|
||||
"plzSelectKey": "请选择私钥",
|
||||
"exampleName": "名称示例",
|
||||
"stop": "停止",
|
||||
"download": "下载",
|
||||
"clear": "清除",
|
||||
"clickSee": "点击查看",
|
||||
"close": "关闭",
|
||||
"cmd": "命令",
|
||||
"containerStatus": "容器状态",
|
||||
"convert": "转换",
|
||||
"copy": "复制到剪切板",
|
||||
"copyPath": "复制路径",
|
||||
"keepForeground": "请保持应用处于前台!",
|
||||
"createFile": "创建文件",
|
||||
"createFolder": "创建文件夹",
|
||||
"currentMode": "当前模式",
|
||||
"debug": "调试",
|
||||
"decode": "解码",
|
||||
"delete": "删除",
|
||||
"disconnected": "连接断开",
|
||||
"dl2Local": "下载 [{fileName}] 到本地?",
|
||||
"dockerContainerName": "容器名",
|
||||
"dockerEditHost": "编辑 DOCKER_HOST",
|
||||
"dockerEmptyRunningItems": "没有正在运行的容器。\n这可能是因为环境变量 DOCKER_HOST 没有被正确读取。你可以通过在终端内运行 `echo $DOCKER_HOST` 来获取。",
|
||||
"dockerImage": "镜像",
|
||||
"dockerImagesFmt": "共 {count} 个镜像",
|
||||
"dockerNotInstalled": "Docker未安装",
|
||||
"dockerStatusRunningAndStoppedFmt": "{runningCount}个正在运行, {stoppedCount}个已停止",
|
||||
"dockerStatusRunningFmt": "{count}个容器正在运行",
|
||||
"download": "下载",
|
||||
"downloadFinished": "下载完成!",
|
||||
"downloadStatus": "{size} 的 {percent}%",
|
||||
"sftpDlPrepare": "准备连接至服务器...",
|
||||
"sftpSSHConnected": "SFTP 已连接,即将开始下载...",
|
||||
"spentTime": "耗时: {time}",
|
||||
"backDir": "返回上一级",
|
||||
"alreadyLastDir": "已经是最上层目录了",
|
||||
"open": "打开",
|
||||
"sureDelete": "确定删除[{name}]?",
|
||||
"containerStatus": "容器状态",
|
||||
"noClient": "没有SSH连接",
|
||||
"installDockerWithUrl": "请先 https://docs.docker.com/engine/install docker",
|
||||
"waitConnection": "请等待连接建立",
|
||||
"unknownError": "未知错误",
|
||||
"dockerStatusRunningFmt": "{count}个容器正在运行",
|
||||
"dockerStatusRunningAndStoppedFmt": "{runningCount}个正在运行, {stoppedCount}个已停止",
|
||||
"install": "安装",
|
||||
"loadingFiles": "正在加载目录。。。",
|
||||
"sftpNoDownloadTask": "没有下载任务",
|
||||
"createFolder": "创建文件夹",
|
||||
"createFile": "创建文件",
|
||||
"rename": "重命名",
|
||||
"dl2Local": "下载 [{fileName}] 到本地?",
|
||||
"edit": "编辑",
|
||||
"encode": "编码",
|
||||
"error": "出错了",
|
||||
"disconnected": "连接断开",
|
||||
"files": "文件",
|
||||
"exampleName": "名称示例",
|
||||
"experimentalFeature": "实验性功能",
|
||||
"reportBugsOnGithubIssue": "请到 {url} 提交问题",
|
||||
"noUpdateAvailable": "没有可用更新",
|
||||
"foundNUpdate": "找到 {count} 个更新",
|
||||
"updateAll": "更新全部",
|
||||
"platformNotSupportUpdate": "当前平台不支持更新,请编译最新源码后手动安装",
|
||||
"invalidVersionHelp": "请确保正确安装了docker,或者使用的非自编译版本。如果没有以上问题,请在 {url} 提交问题。",
|
||||
"noInterface": "没有可用的接口",
|
||||
"lastTry": "最后尝试",
|
||||
"pingNoServer": "没有服务器可用于Ping\n请在服务器tab添加服务器后再试",
|
||||
"backupTip": "导出的数据仅进行了简单加密,请妥善保管。\n除了设置项,恢复的数据不会覆盖现有数据。",
|
||||
"backup": "备份",
|
||||
"restore": "恢复",
|
||||
"restoreSureWithDate": "确定恢复 {date} 的备份吗?",
|
||||
"backupVersionNotMatch": "备份版本不匹配,无法恢复",
|
||||
"invalidJson": "无效的json,存在格式问题",
|
||||
"restoreSuccess": "恢复成功,需要重启App来应用更改",
|
||||
"clickSee": "点击查看",
|
||||
"export": "导出",
|
||||
"extraArgs": "额外参数",
|
||||
"feedback": "反馈",
|
||||
"feedbackOnGithub": "如果你有任何问题,请在GitHub反馈",
|
||||
"update": "更新",
|
||||
"inputDomainHere": "在这里输入域名",
|
||||
"dockerNotInstalled": "Docker未安装",
|
||||
"invalidVersion": "不支持的版本",
|
||||
"cmd": "命令",
|
||||
"dockerEmptyRunningItems": "没有正在运行的容器。\n这可能是因为环境变量 DOCKER_HOST 没有被正确读取。你可以通过在终端内运行 `echo $DOCKER_HOST` 来获取。",
|
||||
"dockerEditHost": "编辑 DOCKER_HOST",
|
||||
"newContainer": "新建容器",
|
||||
"dockerImage": "镜像",
|
||||
"dockerContainerName": "容器名",
|
||||
"extraArgs": "额外参数",
|
||||
"preview": "预览",
|
||||
"isBusy": "当前正忙",
|
||||
"imagesList": "镜像列表",
|
||||
"dockerImagesFmt": "共 {count} 个镜像",
|
||||
"path": "路径",
|
||||
"fieldMustNotEmpty": "这些输入框不能为空。",
|
||||
"files": "文件",
|
||||
"foundNUpdate": "找到 {count} 个更新",
|
||||
"go": "开始",
|
||||
"goto": "前往",
|
||||
"showDistLogo": "显示发行版 Logo",
|
||||
"host": "主机",
|
||||
"httpFailedWithCode": "请求失败, 状态码: {code}",
|
||||
"imagesList": "镜像列表",
|
||||
"import": "导入",
|
||||
"importAndExport": "导入或导出",
|
||||
"inputDomainHere": "在这里输入域名",
|
||||
"install": "安装",
|
||||
"installDockerWithUrl": "请先 https://docs.docker.com/engine/install docker",
|
||||
"invalidJson": "无效的json,存在格式问题",
|
||||
"invalidVersion": "不支持的版本",
|
||||
"invalidVersionHelp": "请确保正确安装了docker,或者使用的非自编译版本。如果没有以上问题,请在 {url} 提交问题。",
|
||||
"isBusy": "当前正忙",
|
||||
"keepForeground": "请保持应用处于前台!",
|
||||
"keyAuth": "公钥认证",
|
||||
"lastTry": "最后尝试",
|
||||
"launchPage": "启动页",
|
||||
"license": "开源证书",
|
||||
"loadingFiles": "正在加载目录。。。",
|
||||
"loss": "丢包率",
|
||||
"madeWithLove": "\n用❤️制作 by {myGithub}",
|
||||
"max": "最大",
|
||||
"min": "最小",
|
||||
"ms": "毫秒",
|
||||
"name": "名称",
|
||||
"newContainer": "新建容器",
|
||||
"noClient": "没有SSH连接",
|
||||
"noInterface": "没有可用的接口",
|
||||
"noResult": "无结果",
|
||||
"noSavedPrivateKey": "没有已保存的私钥。",
|
||||
"noSavedSnippet": "没有已保存的代码片段。",
|
||||
"noServerAvailable": "没有可用的服务器。",
|
||||
"noUpdateAvailable": "没有可用更新",
|
||||
"ok": "好",
|
||||
"onServerDetailPage": "在服务器详情页",
|
||||
"addOne": "前去新增",
|
||||
"open": "打开",
|
||||
"path": "路径",
|
||||
"ping": "Ping",
|
||||
"pingAvg": "平均:",
|
||||
"pingInputIP": "请输入目标IP或域名",
|
||||
"pingNoServer": "没有服务器可用于Ping\n请在服务器tab添加服务器后再试",
|
||||
"pkg": "包管理",
|
||||
"platformNotSupportUpdate": "当前平台不支持更新,请编译最新源码后手动安装",
|
||||
"plzEnterHost": "请输入主机",
|
||||
"plzSelectKey": "请选择私钥",
|
||||
"port": "端口",
|
||||
"preview": "预览",
|
||||
"privateKey": "私钥",
|
||||
"pwd": "密码",
|
||||
"rename": "重命名",
|
||||
"reportBugsOnGithubIssue": "请到 {url} 提交问题",
|
||||
"restore": "恢复",
|
||||
"restoreSuccess": "恢复成功,需要重启App来应用更改",
|
||||
"restoreSureWithDate": "确定恢复 {date} 的备份吗?",
|
||||
"result": "结果",
|
||||
"run": "运行",
|
||||
"save": "保存",
|
||||
"second": "秒",
|
||||
"server": "服务器",
|
||||
"serverTabConnecting": "连接中...",
|
||||
"serverTabEmpty": "现在没有服务器。\n点击右下方按钮来添加。",
|
||||
"serverTabFailed": "失败",
|
||||
"serverTabLoading": "加载中...",
|
||||
"serverTabPlzSave": "请再次保存该私钥",
|
||||
"serverTabUnkown": "未知状态",
|
||||
"setting": "设置",
|
||||
"sftpDlPrepare": "准备连接至服务器...",
|
||||
"sftpNoDownloadTask": "没有下载任务",
|
||||
"sftpSSHConnected": "SFTP 已连接,即将开始下载...",
|
||||
"showDistLogo": "显示发行版 Logo",
|
||||
"snippet": "代码片段",
|
||||
"spentTime": "耗时: {time}",
|
||||
"sshTip": "该功能目前处于测试阶段,请在 {url} 反馈问题,或者加入我们开发。",
|
||||
"start": "开始",
|
||||
"stop": "停止",
|
||||
"sureDelete": "确定删除[{name}]?",
|
||||
"sureNoPwd": "确认使用无密码?",
|
||||
"sureToDeleteServer": "你确定要删除服务器 [{server}] 吗?",
|
||||
"ttl": "缓存时间",
|
||||
"unknown": "未知",
|
||||
"unknownError": "未知错误",
|
||||
"unkownConvertMode": "未知转换模式",
|
||||
"update": "更新",
|
||||
"updateAll": "更新全部",
|
||||
"updateIntervalEqual0": "你设置为0,服务器状态不会自动刷新。\n且不能计算CPU使用情况。",
|
||||
"updateServerStatusInterval": "服务器状态刷新间隔",
|
||||
"updateTip": "新版本: v1.0.{newest}",
|
||||
"updateTipTooLow": "当前版本过低,请升级至 v1.0.{newest}",
|
||||
"pkgManager": "包管理"
|
||||
"upsideDown": "上下交换",
|
||||
"urlOrJson": "链接或JSON",
|
||||
"user": "用户",
|
||||
"versionHaveUpdate": "找到新版本:v1.0.{build}, 点击更新",
|
||||
"versionUnknownUpdate": "当前:v1.0.{build}",
|
||||
"versionUpdated": "当前:v1.0.{build}, 已是最新版本",
|
||||
"waitConnection": "请等待连接建立",
|
||||
"willTakEeffectImmediately": "更改将会立即生效"
|
||||
}
|
||||
@@ -441,7 +441,7 @@ class _DockerManagePageState extends State<DockerManagePage> {
|
||||
(item) {
|
||||
return ListTile(
|
||||
title: Text(item.name),
|
||||
subtitle: Text('${item.image} ${item.status}'),
|
||||
subtitle: Text('${item.image}\n${item.status}'),
|
||||
trailing: _buildMoreBtn(item, docker.isBusy),
|
||||
);
|
||||
},
|
||||
@@ -474,9 +474,16 @@ class _DockerManagePageState extends State<DockerManagePage> {
|
||||
context,
|
||||
_s.attention,
|
||||
Text(_s.sureDelete(dItem.name)),
|
||||
[],
|
||||
);
|
||||
[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
_docker.delete(dItem.containerId);
|
||||
},
|
||||
child: Text(_s.ok),
|
||||
)
|
||||
],
|
||||
);
|
||||
break;
|
||||
case DockerMenuItems.start:
|
||||
_docker.start(dItem.containerId);
|
||||
|
||||
Reference in New Issue
Block a user