diff --git a/lib/data/res/build_data.dart b/lib/data/res/build_data.dart index 1fa35f4c..6e6ff29a 100644 --- a/lib/data/res/build_data.dart +++ b/lib/data/res/build_data.dart @@ -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; } diff --git a/lib/data/res/menu.dart b/lib/data/res/menu.dart index 5b68e860..525c4656 100644 --- a/lib/data/res/menu.dart +++ b/lib/data/res/menu.dart @@ -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': diff --git a/lib/generated/intl/messages_en.dart b/lib/generated/intl/messages_en.dart index afd53b32..b5782d6a 100644 --- a/lib/generated/intl/messages_en.dart +++ b/lib/generated/intl/messages_en.dart @@ -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": diff --git a/lib/generated/intl/messages_zh.dart b/lib/generated/intl/messages_zh.dart index 8db8697c..8f5c4ad3 100644 --- a/lib/generated/intl/messages_zh.dart +++ b/lib/generated/intl/messages_zh.dart @@ -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("请输入主机"), diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index 6bb9a17f..2e66c77e 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -50,41 +50,11 @@ class S { return Localizations.of(context, S); } - /// `Server` - String get server { + /// `\nAll rights reserved.\n\nThanks to the following people who participated in the test.` + String get aboutThanks { return Intl.message( - 'Server', - name: 'server', - desc: '', - args: [], - ); - } - - /// `Convert` - String get convert { - return Intl.message( - 'Convert', - name: 'convert', - desc: '', - args: [], - ); - } - - /// `Ping` - String get ping { - return Intl.message( - 'Ping', - name: 'ping', - desc: '', - args: [], - ); - } - - /// `Debug` - String get debug { - return Intl.message( - 'Debug', - name: 'debug', + '\nAll rights reserved.\n\nThanks to the following people who participated in the test.', + name: 'aboutThanks', desc: '', args: [], ); @@ -100,661 +70,11 @@ class S { ); } - /// `Setting` - String get setting { + /// `Add one` + String get addOne { return Intl.message( - 'Setting', - name: 'setting', - desc: '', - args: [], - ); - } - - /// `License` - String get license { - return Intl.message( - 'License', - name: 'license', - desc: '', - args: [], - ); - } - - /// `Snippet` - String get snippet { - return Intl.message( - 'Snippet', - name: 'snippet', - desc: '', - args: [], - ); - } - - /// `Private Key` - String get privateKey { - return Intl.message( - 'Private Key', - name: 'privateKey', - desc: '', - args: [], - ); - } - - /// `\nMade with ❤️ by {myGithub}` - String madeWithLove(Object myGithub) { - return Intl.message( - '\nMade with ❤️ by $myGithub', - name: 'madeWithLove', - desc: '', - args: [myGithub], - ); - } - - /// `\nAll rights reserved.\n\nThanks to the following people who participated in the test.` - String get aboutThanks { - return Intl.message( - '\nAll rights reserved.\n\nThanks to the following people who participated in the test.', - name: 'aboutThanks', - desc: '', - args: [], - ); - } - - /// `There is no server.\nClick the fab to add one.` - String get serverTabEmpty { - return Intl.message( - 'There is no server.\nClick the fab to add one.', - name: 'serverTabEmpty', - desc: '', - args: [], - ); - } - - /// `Loading...` - String get serverTabLoading { - return Intl.message( - 'Loading...', - name: 'serverTabLoading', - desc: '', - args: [], - ); - } - - /// `Please 'save' this private key again.` - String get serverTabPlzSave { - return Intl.message( - 'Please \'save\' this private key again.', - name: 'serverTabPlzSave', - desc: '', - args: [], - ); - } - - /// `Failed` - String get serverTabFailed { - return Intl.message( - 'Failed', - name: 'serverTabFailed', - desc: '', - args: [], - ); - } - - /// `Unknown state` - String get serverTabUnkown { - return Intl.message( - 'Unknown state', - name: 'serverTabUnkown', - desc: '', - args: [], - ); - } - - /// `Connecting...` - String get serverTabConnecting { - return Intl.message( - 'Connecting...', - name: 'serverTabConnecting', - desc: '', - args: [], - ); - } - - /// `Decode` - String get decode { - return Intl.message( - 'Decode', - name: 'decode', - desc: '', - args: [], - ); - } - - /// `Encode` - String get encode { - return Intl.message( - 'Encode', - name: 'encode', - desc: '', - args: [], - ); - } - - /// `Current Mode` - String get currentMode { - return Intl.message( - 'Current Mode', - name: 'currentMode', - desc: '', - args: [], - ); - } - - /// `Unknown convert mode` - String get unkownConvertMode { - return Intl.message( - 'Unknown convert mode', - name: 'unkownConvertMode', - desc: '', - args: [], - ); - } - - /// `Copy` - String get copy { - return Intl.message( - 'Copy', - name: 'copy', - desc: '', - args: [], - ); - } - - /// `Upside Down` - String get upsideDown { - return Intl.message( - 'Upside Down', - name: 'upsideDown', - desc: '', - args: [], - ); - } - - /// `Avg:` - String get pingAvg { - return Intl.message( - 'Avg:', - name: 'pingAvg', - desc: '', - args: [], - ); - } - - /// `unknown` - String get unknown { - return Intl.message( - 'unknown', - name: 'unknown', - desc: '', - args: [], - ); - } - - /// `min` - String get min { - return Intl.message( - 'min', - name: 'min', - desc: '', - args: [], - ); - } - - /// `max` - String get max { - return Intl.message( - 'max', - name: 'max', - desc: '', - args: [], - ); - } - - /// `ms` - String get ms { - return Intl.message( - 'ms', - name: 'ms', - desc: '', - args: [], - ); - } - - /// `ttl` - String get ttl { - return Intl.message( - 'ttl', - name: 'ttl', - desc: '', - args: [], - ); - } - - /// `loss` - String get loss { - return Intl.message( - 'loss', - name: 'loss', - desc: '', - args: [], - ); - } - - /// `No result` - String get noResult { - return Intl.message( - 'No result', - name: 'noResult', - desc: '', - args: [], - ); - } - - /// `Please input a target IP/domain.` - String get pingInputIP { - return Intl.message( - 'Please input a target IP/domain.', - name: 'pingInputIP', - desc: '', - args: [], - ); - } - - /// `Clear` - String get clear { - return Intl.message( - 'Clear', - name: 'clear', - desc: '', - args: [], - ); - } - - /// `Start` - String get start { - return Intl.message( - 'Start', - name: 'start', - desc: '', - args: [], - ); - } - - /// `App primary color` - String get appPrimaryColor { - return Intl.message( - 'App primary color', - name: 'appPrimaryColor', - desc: '', - args: [], - ); - } - - /// `Server status update interval` - String get updateServerStatusInterval { - return Intl.message( - 'Server status update interval', - name: 'updateServerStatusInterval', - desc: '', - args: [], - ); - } - - /// `Will take effect immediately` - String get willTakEeffectImmediately { - return Intl.message( - 'Will take effect immediately', - name: 'willTakEeffectImmediately', - desc: '', - args: [], - ); - } - - /// `Launch page` - String get launchPage { - return Intl.message( - 'Launch page', - name: 'launchPage', - desc: '', - args: [], - ); - } - - /// `Current: v1.0.{build}, is up to date` - String versionUpdated(Object build) { - return Intl.message( - 'Current: v1.0.$build, is up to date', - name: 'versionUpdated', - desc: '', - args: [build], - ); - } - - /// `Current: v1.0.{build}` - String versionUnknownUpdate(Object build) { - return Intl.message( - 'Current: v1.0.$build', - name: 'versionUnknownUpdate', - desc: '', - args: [build], - ); - } - - /// `Found: v1.0.{build}, click to update` - String versionHaveUpdate(Object build) { - return Intl.message( - 'Found: v1.0.$build, click to update', - name: 'versionHaveUpdate', - desc: '', - args: [build], - ); - } - - /// `s` - String get second { - return Intl.message( - 's', - name: 'second', - desc: '', - args: [], - ); - } - - /// `You set to 0, will not update automatically.\nCan't calculate CPU status.` - String get updateIntervalEqual0 { - return Intl.message( - 'You set to 0, will not update automatically.\nCan\'t calculate CPU status.', - name: 'updateIntervalEqual0', - desc: '', - args: [], - ); - } - - /// `Edit` - String get edit { - return Intl.message( - 'Edit', - name: 'edit', - desc: '', - args: [], - ); - } - - /// `No saved private keys.` - String get noSavedPrivateKey { - return Intl.message( - 'No saved private keys.', - name: 'noSavedPrivateKey', - desc: '', - args: [], - ); - } - - /// `Name` - String get name { - return Intl.message( - 'Name', - name: 'name', - desc: '', - args: [], - ); - } - - /// `Password` - String get pwd { - return Intl.message( - 'Password', - name: 'pwd', - desc: '', - args: [], - ); - } - - /// `Save` - String get save { - return Intl.message( - 'Save', - name: 'save', - desc: '', - args: [], - ); - } - - /// `Delete` - String get delete { - return Intl.message( - 'Delete', - name: 'delete', - desc: '', - args: [], - ); - } - - /// `These fields must not be empty.` - String get fieldMustNotEmpty { - return Intl.message( - 'These fields must not be empty.', - name: 'fieldMustNotEmpty', - desc: '', - args: [], - ); - } - - /// `Import and Export` - String get importAndExport { - return Intl.message( - 'Import and Export', - name: 'importAndExport', - desc: '', - args: [], - ); - } - - /// `Choose` - String get choose { - return Intl.message( - 'Choose', - name: 'choose', - desc: '', - args: [], - ); - } - - /// `Import` - String get import { - return Intl.message( - 'Import', - name: 'import', - desc: '', - args: [], - ); - } - - /// `Export` - String get export { - return Intl.message( - 'Export', - name: 'export', - desc: '', - args: [], - ); - } - - /// `OK` - String get ok { - return Intl.message( - 'OK', - name: 'ok', - desc: '', - args: [], - ); - } - - /// `Cancel` - String get cancel { - return Intl.message( - 'Cancel', - name: 'cancel', - desc: '', - args: [], - ); - } - - /// `URL or JSON` - String get urlOrJson { - return Intl.message( - 'URL or JSON', - name: 'urlOrJson', - desc: '', - args: [], - ); - } - - /// `Go` - String get go { - return Intl.message( - 'Go', - name: 'go', - desc: '', - args: [], - ); - } - - /// `request failed, status code: {code}` - String httpFailedWithCode(Object code) { - return Intl.message( - 'request failed, status code: $code', - name: 'httpFailedWithCode', - desc: '', - args: [code], - ); - } - - /// `Run` - String get run { - return Intl.message( - 'Run', - name: 'run', - desc: '', - args: [], - ); - } - - /// `No saved snippets.` - String get noSavedSnippet { - return Intl.message( - 'No saved snippets.', - name: 'noSavedSnippet', - desc: '', - args: [], - ); - } - - /// `Choose destination` - String get chooseDestination { - return Intl.message( - 'Choose destination', - name: 'chooseDestination', - desc: '', - args: [], - ); - } - - /// `No server available.` - String get noServerAvailable { - return Intl.message( - 'No server available.', - name: 'noServerAvailable', - desc: '', - args: [], - ); - } - - /// `Result` - String get result { - return Intl.message( - 'Result', - name: 'result', - desc: '', - args: [], - ); - } - - /// `Close` - String get close { - return Intl.message( - 'Close', - name: 'close', - desc: '', - args: [], - ); - } - - /// `Attention` - String get attention { - return Intl.message( - 'Attention', - name: 'attention', - desc: '', - args: [], - ); - } - - /// `Are you sure to delete server [{server}]?` - String sureToDeleteServer(Object server) { - return Intl.message( - 'Are you sure to delete server [$server]?', - name: 'sureToDeleteServer', - desc: '', - args: [server], - ); - } - - /// `Host` - String get host { - return Intl.message( - 'Host', - name: 'host', - desc: '', - args: [], - ); - } - - /// `Port` - String get port { - return Intl.message( - 'Port', - name: 'port', - desc: '', - args: [], - ); - } - - /// `User` - String get user { - return Intl.message( - 'User', - name: 'user', - desc: '', - args: [], - ); - } - - /// `Key Auth` - String get keyAuth { - return Intl.message( - 'Key Auth', - name: 'keyAuth', + 'Add one', + name: 'addOne', desc: '', args: [], ); @@ -770,6 +90,106 @@ class S { ); } + /// `Already in last directory.` + String get alreadyLastDir { + return Intl.message( + 'Already in last directory.', + name: 'alreadyLastDir', + desc: '', + args: [], + ); + } + + /// `App primary color` + String get appPrimaryColor { + return Intl.message( + 'App primary color', + name: 'appPrimaryColor', + desc: '', + args: [], + ); + } + + /// `Attention` + String get attention { + return Intl.message( + 'Attention', + name: 'attention', + desc: '', + args: [], + ); + } + + /// `Back` + String get backDir { + return Intl.message( + 'Back', + name: 'backDir', + desc: '', + args: [], + ); + } + + /// `Backup` + String get backup { + return Intl.message( + 'Backup', + name: 'backup', + desc: '', + args: [], + ); + } + + /// `The exported data is simply encrypted. \nPlease keep it safe.\nRestoring will not overwrite existing data (except setting).` + String get backupTip { + return Intl.message( + 'The exported data is simply encrypted. \nPlease keep it safe.\nRestoring will not overwrite existing data (except setting).', + name: 'backupTip', + desc: '', + args: [], + ); + } + + /// `Backup version is not match.` + String get backupVersionNotMatch { + return Intl.message( + 'Backup version is not match.', + name: 'backupVersionNotMatch', + desc: '', + args: [], + ); + } + + /// `Cancel` + String get cancel { + return Intl.message( + 'Cancel', + name: 'cancel', + desc: '', + args: [], + ); + } + + /// `Choose` + String get choose { + return Intl.message( + 'Choose', + name: 'choose', + desc: '', + args: [], + ); + } + + /// `Choose destination` + String get chooseDestination { + return Intl.message( + 'Choose destination', + name: 'chooseDestination', + desc: '', + args: [], + ); + } + /// `Choose private key` String get choosePrivateKey { return Intl.message( @@ -780,61 +200,71 @@ class S { ); } - /// `Please enter host.` - String get plzEnterHost { + /// `Clear` + String get clear { return Intl.message( - 'Please enter host.', - name: 'plzEnterHost', + 'Clear', + name: 'clear', desc: '', args: [], ); } - /// `Are you sure to use no password?` - String get sureNoPwd { + /// `Click here` + String get clickSee { return Intl.message( - 'Are you sure to use no password?', - name: 'sureNoPwd', + 'Click here', + name: 'clickSee', desc: '', args: [], ); } - /// `Please select a key.` - String get plzSelectKey { + /// `Close` + String get close { return Intl.message( - 'Please select a key.', - name: 'plzSelectKey', + 'Close', + name: 'close', desc: '', args: [], ); } - /// `Example name` - String get exampleName { + /// `Command` + String get cmd { return Intl.message( - 'Example name', - name: 'exampleName', + 'Command', + name: 'cmd', desc: '', args: [], ); } - /// `Stop` - String get stop { + /// `Container status` + String get containerStatus { return Intl.message( - 'Stop', - name: 'stop', + 'Container status', + name: 'containerStatus', desc: '', args: [], ); } - /// `Download` - String get download { + /// `Convert` + String get convert { return Intl.message( - 'Download', - name: 'download', + 'Convert', + name: 'convert', + desc: '', + args: [], + ); + } + + /// `Copy` + String get copy { + return Intl.message( + 'Copy', + name: 'copy', desc: '', args: [], ); @@ -850,11 +280,172 @@ class S { ); } - /// `Keep app foreground!` - String get keepForeground { + /// `Create file` + String get createFile { return Intl.message( - 'Keep app foreground!', - name: 'keepForeground', + 'Create file', + name: 'createFile', + desc: '', + args: [], + ); + } + + /// `Create folder` + String get createFolder { + return Intl.message( + 'Create folder', + name: 'createFolder', + desc: '', + args: [], + ); + } + + /// `Current Mode` + String get currentMode { + return Intl.message( + 'Current Mode', + name: 'currentMode', + desc: '', + args: [], + ); + } + + /// `Debug` + String get debug { + return Intl.message( + 'Debug', + name: 'debug', + desc: '', + args: [], + ); + } + + /// `Decode` + String get decode { + return Intl.message( + 'Decode', + name: 'decode', + desc: '', + args: [], + ); + } + + /// `Delete` + String get delete { + return Intl.message( + 'Delete', + name: 'delete', + desc: '', + args: [], + ); + } + + /// `Disconnected` + String get disconnected { + return Intl.message( + 'Disconnected', + name: 'disconnected', + desc: '', + args: [], + ); + } + + /// `Download [{fileName}] to local?` + String dl2Local(Object fileName) { + return Intl.message( + 'Download [$fileName] to local?', + name: 'dl2Local', + desc: '', + args: [fileName], + ); + } + + /// `Container name` + String get dockerContainerName { + return Intl.message( + 'Container name', + name: 'dockerContainerName', + desc: '', + args: [], + ); + } + + /// `Edit DOCKER_HOST` + String get dockerEditHost { + return Intl.message( + 'Edit DOCKER_HOST', + name: 'dockerEditHost', + 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: [], + ); + } + + /// `Image` + String get dockerImage { + return Intl.message( + 'Image', + name: 'dockerImage', + desc: '', + args: [], + ); + } + + /// `{count} images` + String dockerImagesFmt(Object count) { + return Intl.message( + '$count images', + name: 'dockerImagesFmt', + desc: '', + args: [count], + ); + } + + /// `Docker not installed` + String get dockerNotInstalled { + return Intl.message( + 'Docker not installed', + name: 'dockerNotInstalled', + desc: '', + args: [], + ); + } + + /// `{runningCount} running, {stoppedCount} container stopped.` + String dockerStatusRunningAndStoppedFmt( + Object runningCount, Object stoppedCount) { + return Intl.message( + '$runningCount running, $stoppedCount container stopped.', + name: 'dockerStatusRunningAndStoppedFmt', + desc: '', + args: [runningCount, stoppedCount], + ); + } + + /// `{count} container running.` + String dockerStatusRunningFmt(Object count) { + return Intl.message( + '$count container running.', + name: 'dockerStatusRunningFmt', + desc: '', + args: [count], + ); + } + + /// `Download` + String get download { + return Intl.message( + 'Download', + name: 'download', desc: '', args: [], ); @@ -880,217 +471,26 @@ class S { ); } - /// `Preparing to connect...` - String get sftpDlPrepare { + /// `Edit` + String get edit { return Intl.message( - 'Preparing to connect...', - name: 'sftpDlPrepare', + 'Edit', + name: 'edit', desc: '', args: [], ); } - /// `SFTP Connected` - String get sftpSSHConnected { + /// `Encode` + String get encode { return Intl.message( - 'SFTP Connected', - name: 'sftpSSHConnected', + 'Encode', + name: 'encode', desc: '', args: [], ); } - /// `Spent time: {time}` - String spentTime(Object time) { - return Intl.message( - 'Spent time: $time', - name: 'spentTime', - desc: '', - args: [time], - ); - } - - /// `Back` - String get backDir { - return Intl.message( - 'Back', - name: 'backDir', - desc: '', - args: [], - ); - } - - /// `Already in last directory.` - String get alreadyLastDir { - return Intl.message( - 'Already in last directory.', - name: 'alreadyLastDir', - desc: '', - args: [], - ); - } - - /// `Open` - String get open { - return Intl.message( - 'Open', - name: 'open', - desc: '', - args: [], - ); - } - - /// `Are you sure to delete [{name}]?` - String sureDelete(Object name) { - return Intl.message( - 'Are you sure to delete [$name]?', - name: 'sureDelete', - desc: '', - args: [name], - ); - } - - /// `Container status` - String get containerStatus { - return Intl.message( - 'Container status', - name: 'containerStatus', - desc: '', - args: [], - ); - } - - /// `No client` - String get noClient { - return Intl.message( - 'No client', - name: 'noClient', - desc: '', - args: [], - ); - } - - /// `Please https://docs.docker.com/engine/install docker first.` - String get installDockerWithUrl { - return Intl.message( - 'Please https://docs.docker.com/engine/install docker first.', - name: 'installDockerWithUrl', - desc: '', - args: [], - ); - } - - /// `Please wait for the connection to be established.` - String get waitConnection { - return Intl.message( - 'Please wait for the connection to be established.', - name: 'waitConnection', - desc: '', - args: [], - ); - } - - /// `Unknown error` - String get unknownError { - return Intl.message( - 'Unknown error', - name: 'unknownError', - desc: '', - args: [], - ); - } - - /// `{count} container running.` - String dockerStatusRunningFmt(Object count) { - return Intl.message( - '$count container running.', - name: 'dockerStatusRunningFmt', - desc: '', - args: [count], - ); - } - - /// `{runningCount} running, {stoppedCount} container stopped.` - String dockerStatusRunningAndStoppedFmt( - Object runningCount, Object stoppedCount) { - return Intl.message( - '$runningCount running, $stoppedCount container stopped.', - name: 'dockerStatusRunningAndStoppedFmt', - desc: '', - args: [runningCount, stoppedCount], - ); - } - - /// `install` - String get install { - return Intl.message( - 'install', - name: 'install', - desc: '', - args: [], - ); - } - - /// `Loading files...` - String get loadingFiles { - return Intl.message( - 'Loading files...', - name: 'loadingFiles', - desc: '', - args: [], - ); - } - - /// `No download task.` - String get sftpNoDownloadTask { - return Intl.message( - 'No download task.', - name: 'sftpNoDownloadTask', - desc: '', - args: [], - ); - } - - /// `Create folder` - String get createFolder { - return Intl.message( - 'Create folder', - name: 'createFolder', - desc: '', - args: [], - ); - } - - /// `Create file` - String get createFile { - return Intl.message( - 'Create file', - name: 'createFile', - desc: '', - args: [], - ); - } - - /// `Rename` - String get rename { - return Intl.message( - 'Rename', - name: 'rename', - desc: '', - args: [], - ); - } - - /// `Download [{fileName}] to local?` - String dl2Local(Object fileName) { - return Intl.message( - 'Download [$fileName] to local?', - name: 'dl2Local', - desc: '', - args: [fileName], - ); - } - /// `Error` String get error { return Intl.message( @@ -1101,21 +501,11 @@ class S { ); } - /// `Disconnected` - String get disconnected { + /// `Example name` + String get exampleName { return Intl.message( - 'Disconnected', - name: 'disconnected', - desc: '', - args: [], - ); - } - - /// `Files` - String get files { - return Intl.message( - 'Files', - name: 'files', + 'Example name', + name: 'exampleName', desc: '', args: [], ); @@ -1131,171 +521,21 @@ class S { ); } - /// `Please report bugs on {url}` - String reportBugsOnGithubIssue(Object url) { + /// `Export` + String get export { return Intl.message( - 'Please report bugs on $url', - name: 'reportBugsOnGithubIssue', - desc: '', - args: [url], - ); - } - - /// `No update available` - String get noUpdateAvailable { - return Intl.message( - 'No update available', - name: 'noUpdateAvailable', + 'Export', + name: 'export', desc: '', args: [], ); } - /// `Found {count} update` - String foundNUpdate(Object count) { + /// `Extra args` + String get extraArgs { 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: [], - ); - } - - /// `Current platform does not support in app update.\nPlease build from source and install it.` - String get platformNotSupportUpdate { - return Intl.message( - 'Current platform does not support in app update.\nPlease build from source and install it.', - name: 'platformNotSupportUpdate', - desc: '', - args: [], - ); - } - - /// `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}.` - String invalidVersionHelp(Object url) { - return Intl.message( - '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.', - name: 'invalidVersionHelp', - desc: '', - args: [url], - ); - } - - /// `No interface` - String get noInterface { - return Intl.message( - 'No interface', - name: 'noInterface', - desc: '', - args: [], - ); - } - - /// `Last try!` - String get lastTry { - return Intl.message( - 'Last try!', - name: 'lastTry', - desc: '', - args: [], - ); - } - - /// `No server to ping.\nPlease add a server in server tab.` - String get pingNoServer { - return Intl.message( - 'No server to ping.\nPlease add a server in server tab.', - name: 'pingNoServer', - desc: '', - args: [], - ); - } - - /// `The exported data is simply encrypted. \nPlease keep it safe.\nRestoring will not overwrite existing data (except setting).` - String get backupTip { - return Intl.message( - 'The exported data is simply encrypted. \nPlease keep it safe.\nRestoring will not overwrite existing data (except setting).', - name: 'backupTip', - desc: '', - args: [], - ); - } - - /// `Backup` - String get backup { - return Intl.message( - 'Backup', - name: 'backup', - desc: '', - args: [], - ); - } - - /// `Restore` - String get restore { - return Intl.message( - 'Restore', - name: 'restore', - desc: '', - args: [], - ); - } - - /// `Are you sure to restore from {date} ?` - String restoreSureWithDate(Object date) { - return Intl.message( - 'Are you sure to restore from $date ?', - name: 'restoreSureWithDate', - desc: '', - args: [date], - ); - } - - /// `Backup version is not match.` - String get backupVersionNotMatch { - return Intl.message( - 'Backup version is not match.', - name: 'backupVersionNotMatch', - desc: '', - args: [], - ); - } - - /// `Invalid JSON` - String get invalidJson { - return Intl.message( - 'Invalid JSON', - name: 'invalidJson', - desc: '', - args: [], - ); - } - - /// `Restore success. Restart app to apply.` - String get restoreSuccess { - return Intl.message( - 'Restore success. Restart app to apply.', - name: 'restoreSuccess', - desc: '', - args: [], - ); - } - - /// `Click here` - String get clickSee { - return Intl.message( - 'Click here', - name: 'clickSee', + 'Extra args', + name: 'extraArgs', desc: '', args: [], ); @@ -1321,161 +561,41 @@ class S { ); } - /// `Update` - String get update { + /// `These fields must not be empty.` + String get fieldMustNotEmpty { return Intl.message( - 'Update', - name: 'update', + 'These fields must not be empty.', + name: 'fieldMustNotEmpty', desc: '', args: [], ); } - /// `Input Domain here` - String get inputDomainHere { + /// `Files` + String get files { return Intl.message( - 'Input Domain here', - name: 'inputDomainHere', + 'Files', + name: 'files', desc: '', args: [], ); } - /// `Docker not installed` - String get dockerNotInstalled { + /// `Found {count} update` + String foundNUpdate(Object count) { 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: [], - ); - } - - /// `New container` - String get newContainer { - return Intl.message( - 'New container', - name: 'newContainer', - desc: '', - args: [], - ); - } - - /// `Image` - String get dockerImage { - return Intl.message( - 'Image', - name: 'dockerImage', - desc: '', - args: [], - ); - } - - /// `Container name` - String get dockerContainerName { - return Intl.message( - 'Container name', - name: 'dockerContainerName', - desc: '', - args: [], - ); - } - - /// `Extra args` - String get extraArgs { - return Intl.message( - 'Extra args', - name: 'extraArgs', - desc: '', - args: [], - ); - } - - /// `Preview` - String get preview { - return Intl.message( - 'Preview', - name: 'preview', - desc: '', - args: [], - ); - } - - /// `Is busy now` - String get isBusy { - return Intl.message( - 'Is busy now', - name: 'isBusy', - desc: '', - args: [], - ); - } - - /// `Images list` - String get imagesList { - return Intl.message( - 'Images list', - name: 'imagesList', - desc: '', - args: [], - ); - } - - /// `{count} images` - String dockerImagesFmt(Object count) { - return Intl.message( - '$count images', - name: 'dockerImagesFmt', + 'Found $count update', + name: 'foundNUpdate', desc: '', args: [count], ); } - /// `Path` - String get path { + /// `Go` + String get go { return Intl.message( - 'Path', - name: 'path', + 'Go', + name: 'go', desc: '', args: [], ); @@ -1491,11 +611,331 @@ class S { ); } - /// `Show distribution logo` - String get showDistLogo { + /// `Host` + String get host { return Intl.message( - 'Show distribution logo', - name: 'showDistLogo', + 'Host', + name: 'host', + desc: '', + args: [], + ); + } + + /// `request failed, status code: {code}` + String httpFailedWithCode(Object code) { + return Intl.message( + 'request failed, status code: $code', + name: 'httpFailedWithCode', + desc: '', + args: [code], + ); + } + + /// `Images list` + String get imagesList { + return Intl.message( + 'Images list', + name: 'imagesList', + desc: '', + args: [], + ); + } + + /// `Import` + String get import { + return Intl.message( + 'Import', + name: 'import', + desc: '', + args: [], + ); + } + + /// `Import and Export` + String get importAndExport { + return Intl.message( + 'Import and Export', + name: 'importAndExport', + desc: '', + args: [], + ); + } + + /// `Input Domain here` + String get inputDomainHere { + return Intl.message( + 'Input Domain here', + name: 'inputDomainHere', + desc: '', + args: [], + ); + } + + /// `install` + String get install { + return Intl.message( + 'install', + name: 'install', + desc: '', + args: [], + ); + } + + /// `Please https://docs.docker.com/engine/install docker first.` + String get installDockerWithUrl { + return Intl.message( + 'Please https://docs.docker.com/engine/install docker first.', + name: 'installDockerWithUrl', + desc: '', + args: [], + ); + } + + /// `Invalid JSON` + String get invalidJson { + return Intl.message( + 'Invalid JSON', + name: 'invalidJson', + desc: '', + args: [], + ); + } + + /// `Invalid version` + String get invalidVersion { + return Intl.message( + 'Invalid version', + name: 'invalidVersion', + desc: '', + args: [], + ); + } + + /// `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}.` + String invalidVersionHelp(Object url) { + return Intl.message( + '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.', + name: 'invalidVersionHelp', + desc: '', + args: [url], + ); + } + + /// `Is busy now` + String get isBusy { + return Intl.message( + 'Is busy now', + name: 'isBusy', + desc: '', + args: [], + ); + } + + /// `Keep app foreground!` + String get keepForeground { + return Intl.message( + 'Keep app foreground!', + name: 'keepForeground', + desc: '', + args: [], + ); + } + + /// `Key Auth` + String get keyAuth { + return Intl.message( + 'Key Auth', + name: 'keyAuth', + desc: '', + args: [], + ); + } + + /// `Last try!` + String get lastTry { + return Intl.message( + 'Last try!', + name: 'lastTry', + desc: '', + args: [], + ); + } + + /// `Launch page` + String get launchPage { + return Intl.message( + 'Launch page', + name: 'launchPage', + desc: '', + args: [], + ); + } + + /// `License` + String get license { + return Intl.message( + 'License', + name: 'license', + desc: '', + args: [], + ); + } + + /// `Loading files...` + String get loadingFiles { + return Intl.message( + 'Loading files...', + name: 'loadingFiles', + desc: '', + args: [], + ); + } + + /// `loss` + String get loss { + return Intl.message( + 'loss', + name: 'loss', + desc: '', + args: [], + ); + } + + /// `\nMade with ❤️ by {myGithub}` + String madeWithLove(Object myGithub) { + return Intl.message( + '\nMade with ❤️ by $myGithub', + name: 'madeWithLove', + desc: '', + args: [myGithub], + ); + } + + /// `max` + String get max { + return Intl.message( + 'max', + name: 'max', + desc: '', + args: [], + ); + } + + /// `min` + String get min { + return Intl.message( + 'min', + name: 'min', + desc: '', + args: [], + ); + } + + /// `ms` + String get ms { + return Intl.message( + 'ms', + name: 'ms', + desc: '', + args: [], + ); + } + + /// `Name` + String get name { + return Intl.message( + 'Name', + name: 'name', + desc: '', + args: [], + ); + } + + /// `New container` + String get newContainer { + return Intl.message( + 'New container', + name: 'newContainer', + desc: '', + args: [], + ); + } + + /// `No client` + String get noClient { + return Intl.message( + 'No client', + name: 'noClient', + desc: '', + args: [], + ); + } + + /// `No interface` + String get noInterface { + return Intl.message( + 'No interface', + name: 'noInterface', + desc: '', + args: [], + ); + } + + /// `No result` + String get noResult { + return Intl.message( + 'No result', + name: 'noResult', + desc: '', + args: [], + ); + } + + /// `No saved private keys.` + String get noSavedPrivateKey { + return Intl.message( + 'No saved private keys.', + name: 'noSavedPrivateKey', + desc: '', + args: [], + ); + } + + /// `No saved snippets.` + String get noSavedSnippet { + return Intl.message( + 'No saved snippets.', + name: 'noSavedSnippet', + desc: '', + args: [], + ); + } + + /// `No server available.` + String get noServerAvailable { + return Intl.message( + 'No server available.', + name: 'noServerAvailable', + desc: '', + args: [], + ); + } + + /// `No update available` + String get noUpdateAvailable { + return Intl.message( + 'No update available', + name: 'noUpdateAvailable', + desc: '', + args: [], + ); + } + + /// `OK` + String get ok { + return Intl.message( + 'OK', + name: 'ok', desc: '', args: [], ); @@ -1511,16 +951,376 @@ class S { ); } - /// `Add one` - String get addOne { + /// `Open` + String get open { return Intl.message( - 'Add one', - name: 'addOne', + 'Open', + name: 'open', desc: '', args: [], ); } + /// `Path` + String get path { + return Intl.message( + 'Path', + name: 'path', + desc: '', + args: [], + ); + } + + /// `Ping` + String get ping { + return Intl.message( + 'Ping', + name: 'ping', + desc: '', + args: [], + ); + } + + /// `Avg:` + String get pingAvg { + return Intl.message( + 'Avg:', + name: 'pingAvg', + desc: '', + args: [], + ); + } + + /// `Please input a target IP/domain.` + String get pingInputIP { + return Intl.message( + 'Please input a target IP/domain.', + name: 'pingInputIP', + desc: '', + args: [], + ); + } + + /// `No server to ping.\nPlease add a server in server tab.` + String get pingNoServer { + return Intl.message( + 'No server to ping.\nPlease add a server in server tab.', + name: 'pingNoServer', + desc: '', + args: [], + ); + } + + /// `Pkg` + String get pkg { + return Intl.message( + 'Pkg', + name: 'pkg', + desc: '', + args: [], + ); + } + + /// `Current platform does not support in app update.\nPlease build from source and install it.` + String get platformNotSupportUpdate { + return Intl.message( + 'Current platform does not support in app update.\nPlease build from source and install it.', + name: 'platformNotSupportUpdate', + desc: '', + args: [], + ); + } + + /// `Please enter host.` + String get plzEnterHost { + return Intl.message( + 'Please enter host.', + name: 'plzEnterHost', + desc: '', + args: [], + ); + } + + /// `Please select a key.` + String get plzSelectKey { + return Intl.message( + 'Please select a key.', + name: 'plzSelectKey', + desc: '', + args: [], + ); + } + + /// `Port` + String get port { + return Intl.message( + 'Port', + name: 'port', + desc: '', + args: [], + ); + } + + /// `Preview` + String get preview { + return Intl.message( + 'Preview', + name: 'preview', + desc: '', + args: [], + ); + } + + /// `Private Key` + String get privateKey { + return Intl.message( + 'Private Key', + name: 'privateKey', + desc: '', + args: [], + ); + } + + /// `Password` + String get pwd { + return Intl.message( + 'Password', + name: 'pwd', + desc: '', + args: [], + ); + } + + /// `Rename` + String get rename { + return Intl.message( + 'Rename', + name: 'rename', + desc: '', + args: [], + ); + } + + /// `Please report bugs on {url}` + String reportBugsOnGithubIssue(Object url) { + return Intl.message( + 'Please report bugs on $url', + name: 'reportBugsOnGithubIssue', + desc: '', + args: [url], + ); + } + + /// `Restore` + String get restore { + return Intl.message( + 'Restore', + name: 'restore', + desc: '', + args: [], + ); + } + + /// `Restore success. Restart app to apply.` + String get restoreSuccess { + return Intl.message( + 'Restore success. Restart app to apply.', + name: 'restoreSuccess', + desc: '', + args: [], + ); + } + + /// `Are you sure to restore from {date} ?` + String restoreSureWithDate(Object date) { + return Intl.message( + 'Are you sure to restore from $date ?', + name: 'restoreSureWithDate', + desc: '', + args: [date], + ); + } + + /// `Result` + String get result { + return Intl.message( + 'Result', + name: 'result', + desc: '', + args: [], + ); + } + + /// `Run` + String get run { + return Intl.message( + 'Run', + name: 'run', + desc: '', + args: [], + ); + } + + /// `Save` + String get save { + return Intl.message( + 'Save', + name: 'save', + desc: '', + args: [], + ); + } + + /// `s` + String get second { + return Intl.message( + 's', + name: 'second', + desc: '', + args: [], + ); + } + + /// `Server` + String get server { + return Intl.message( + 'Server', + name: 'server', + desc: '', + args: [], + ); + } + + /// `Connecting...` + String get serverTabConnecting { + return Intl.message( + 'Connecting...', + name: 'serverTabConnecting', + desc: '', + args: [], + ); + } + + /// `There is no server.\nClick the fab to add one.` + String get serverTabEmpty { + return Intl.message( + 'There is no server.\nClick the fab to add one.', + name: 'serverTabEmpty', + desc: '', + args: [], + ); + } + + /// `Failed` + String get serverTabFailed { + return Intl.message( + 'Failed', + name: 'serverTabFailed', + desc: '', + args: [], + ); + } + + /// `Loading...` + String get serverTabLoading { + return Intl.message( + 'Loading...', + name: 'serverTabLoading', + desc: '', + args: [], + ); + } + + /// `Please 'save' this private key again.` + String get serverTabPlzSave { + return Intl.message( + 'Please \'save\' this private key again.', + name: 'serverTabPlzSave', + desc: '', + args: [], + ); + } + + /// `Unknown state` + String get serverTabUnkown { + return Intl.message( + 'Unknown state', + name: 'serverTabUnkown', + desc: '', + args: [], + ); + } + + /// `Setting` + String get setting { + return Intl.message( + 'Setting', + name: 'setting', + desc: '', + args: [], + ); + } + + /// `Preparing to connect...` + String get sftpDlPrepare { + return Intl.message( + 'Preparing to connect...', + name: 'sftpDlPrepare', + desc: '', + args: [], + ); + } + + /// `No download task.` + String get sftpNoDownloadTask { + return Intl.message( + 'No download task.', + name: 'sftpNoDownloadTask', + desc: '', + args: [], + ); + } + + /// `SFTP Connected` + String get sftpSSHConnected { + return Intl.message( + 'SFTP Connected', + name: 'sftpSSHConnected', + desc: '', + args: [], + ); + } + + /// `Show distribution logo` + String get showDistLogo { + return Intl.message( + 'Show distribution logo', + name: 'showDistLogo', + desc: '', + args: [], + ); + } + + /// `Snippet` + String get snippet { + return Intl.message( + 'Snippet', + name: 'snippet', + desc: '', + args: [], + ); + } + + /// `Spent time: {time}` + String spentTime(Object time) { + return Intl.message( + 'Spent time: $time', + name: 'spentTime', + desc: '', + args: [time], + ); + } + /// `This function is now in the experimental stage. \nPlease report bugs on {url} or join our development.` String sshTip(Object url) { return Intl.message( @@ -1531,6 +1331,136 @@ class S { ); } + /// `Start` + String get start { + return Intl.message( + 'Start', + name: 'start', + desc: '', + args: [], + ); + } + + /// `Stop` + String get stop { + return Intl.message( + 'Stop', + name: 'stop', + desc: '', + args: [], + ); + } + + /// `Are you sure to delete [{name}]?` + String sureDelete(Object name) { + return Intl.message( + 'Are you sure to delete [$name]?', + name: 'sureDelete', + desc: '', + args: [name], + ); + } + + /// `Are you sure to use no password?` + String get sureNoPwd { + return Intl.message( + 'Are you sure to use no password?', + name: 'sureNoPwd', + desc: '', + args: [], + ); + } + + /// `Are you sure to delete server [{server}]?` + String sureToDeleteServer(Object server) { + return Intl.message( + 'Are you sure to delete server [$server]?', + name: 'sureToDeleteServer', + desc: '', + args: [server], + ); + } + + /// `ttl` + String get ttl { + return Intl.message( + 'ttl', + name: 'ttl', + desc: '', + args: [], + ); + } + + /// `unknown` + String get unknown { + return Intl.message( + 'unknown', + name: 'unknown', + desc: '', + args: [], + ); + } + + /// `Unknown error` + String get unknownError { + return Intl.message( + 'Unknown error', + name: 'unknownError', + desc: '', + args: [], + ); + } + + /// `Unknown convert mode` + String get unkownConvertMode { + return Intl.message( + 'Unknown convert mode', + name: 'unkownConvertMode', + desc: '', + args: [], + ); + } + + /// `Update` + String get update { + return Intl.message( + 'Update', + name: 'update', + desc: '', + args: [], + ); + } + + /// `Update all` + String get updateAll { + return Intl.message( + 'Update all', + name: 'updateAll', + desc: '', + args: [], + ); + } + + /// `You set to 0, will not update automatically.\nCan't calculate CPU status.` + String get updateIntervalEqual0 { + return Intl.message( + 'You set to 0, will not update automatically.\nCan\'t calculate CPU status.', + name: 'updateIntervalEqual0', + desc: '', + args: [], + ); + } + + /// `Server status update interval` + String get updateServerStatusInterval { + return Intl.message( + 'Server status update interval', + name: 'updateServerStatusInterval', + desc: '', + args: [], + ); + } + /// `Update: v1.0.{newest}` String updateTip(Object newest) { return Intl.message( @@ -1551,11 +1481,81 @@ class S { ); } - /// `Pkg mgr` - String get pkgManager { + /// `Upside Down` + String get upsideDown { return Intl.message( - 'Pkg mgr', - name: 'pkgManager', + 'Upside Down', + name: 'upsideDown', + desc: '', + args: [], + ); + } + + /// `URL or JSON` + String get urlOrJson { + return Intl.message( + 'URL or JSON', + name: 'urlOrJson', + desc: '', + args: [], + ); + } + + /// `User` + String get user { + return Intl.message( + 'User', + name: 'user', + desc: '', + args: [], + ); + } + + /// `Found: v1.0.{build}, click to update` + String versionHaveUpdate(Object build) { + return Intl.message( + 'Found: v1.0.$build, click to update', + name: 'versionHaveUpdate', + desc: '', + args: [build], + ); + } + + /// `Current: v1.0.{build}` + String versionUnknownUpdate(Object build) { + return Intl.message( + 'Current: v1.0.$build', + name: 'versionUnknownUpdate', + desc: '', + args: [build], + ); + } + + /// `Current: v1.0.{build}, is up to date` + String versionUpdated(Object build) { + return Intl.message( + 'Current: v1.0.$build, is up to date', + name: 'versionUpdated', + desc: '', + args: [build], + ); + } + + /// `Please wait for the connection to be established.` + String get waitConnection { + return Intl.message( + 'Please wait for the connection to be established.', + name: 'waitConnection', + desc: '', + args: [], + ); + } + + /// `Will take effect immediately` + String get willTakEeffectImmediately { + return Intl.message( + 'Will take effect immediately', + name: 'willTakEeffectImmediately', desc: '', args: [], ); diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 11a42a93..b23d15fb 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -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", - "addPrivateKey": "Add private key", - "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", - "copyPath": "Copy path", - "keepForeground": "Keep app foreground!", - "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?", - "error": "Error", - "disconnected": "Disconnected", - "files": "Files", - "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", - "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", - "goto": "Go to", - "showDistLogo": "Show distribution logo", - "onServerDetailPage": "On server detail page", - "addOne": "Add one", - "sshTip": "This function is now in the experimental stage. \nPlease report bugs on {url} or join our development.", - "updateTip": "Update: v1.0.{newest}", - "updateTipTooLow": "Current version is too low, please update to v1.0.{newest}", - "pkgManager": "Pkg mgr" + "aboutThanks": "\nAll rights reserved.\n\nThanks to the following people who participated in the test.", + "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", + "clear": "Clear", + "clickSee": "Click here", + "close": "Close", + "cmd": "Command", + "containerStatus": "Container status", + "convert": "Convert", + "copy": "Copy", + "copyPath": "Copy path", + "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}", + "edit": "Edit", + "encode": "Encode", + "error": "Error", + "exampleName": "Example name", + "experimentalFeature": "Experimental feature", + "export": "Export", + "extraArgs": "Extra args", + "feedback": "Feedback", + "feedbackOnGithub": "If you have any questions, please feedback on Github.", + "fieldMustNotEmpty": "These fields must not be empty.", + "files": "Files", + "foundNUpdate": "Found {count} update", + "go": "Go", + "goto": "Go to", + "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", + "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}", + "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" } \ No newline at end of file diff --git a/lib/l10n/intl_zh.arb b/lib/l10n/intl_zh.arb index 89911713..d0bb373a 100644 --- a/lib/l10n/intl_zh.arb +++ b/lib/l10n/intl_zh.arb @@ -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": "公钥认证", - "addPrivateKey": "添加一个私钥", - "choosePrivateKey": "选择私钥", - "plzEnterHost": "请输入主机", - "sureNoPwd": "确认使用无密码?", - "plzSelectKey": "请选择私钥", - "exampleName": "名称示例", - "stop": "停止", - "download": "下载", - "copyPath": "复制路径", - "keepForeground": "请保持应用处于前台!", - "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}] 到本地?", - "error": "出错了", - "disconnected": "连接断开", - "files": "文件", - "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": "点击查看", - "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": "路径", - "goto": "前往", - "showDistLogo": "显示发行版 Logo", - "onServerDetailPage": "在服务器详情页", - "addOne": "前去新增", - "sshTip": "该功能目前处于测试阶段,请在 {url} 反馈问题,或者加入我们开发。", - "updateTip": "新版本: v1.0.{newest}", - "updateTipTooLow": "当前版本过低,请升级至 v1.0.{newest}", - "pkgManager": "包管理" + "aboutThanks": "\n保留所有权利。\n\n感谢以下参与软件测试的各位。", + "addAServer": "添加服务器", + "addOne": "前去新增", + "addPrivateKey": "添加一个私钥", + "alreadyLastDir": "已经是最上层目录了", + "appPrimaryColor": "App主要色", + "attention": "注意", + "backDir": "返回上一级", + "backup": "备份", + "backupTip": "导出的数据仅进行了简单加密,请妥善保管。\n除了设置项,恢复的数据不会覆盖现有数据。", + "backupVersionNotMatch": "备份版本不匹配,无法恢复", + "cancel": "取消", + "choose": "选择", + "chooseDestination": "选择目标", + "choosePrivateKey": "选择私钥", + "clear": "清除", + "clickSee": "点击查看", + "close": "关闭", + "cmd": "命令", + "containerStatus": "容器状态", + "convert": "转换", + "copy": "复制到剪切板", + "copyPath": "复制路径", + "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}%", + "edit": "编辑", + "encode": "编码", + "error": "出错了", + "exampleName": "名称示例", + "experimentalFeature": "实验性功能", + "export": "导出", + "extraArgs": "额外参数", + "feedback": "反馈", + "feedbackOnGithub": "如果你有任何问题,请在GitHub反馈", + "fieldMustNotEmpty": "这些输入框不能为空。", + "files": "文件", + "foundNUpdate": "找到 {count} 个更新", + "go": "开始", + "goto": "前往", + "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": "在服务器详情页", + "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}", + "upsideDown": "上下交换", + "urlOrJson": "链接或JSON", + "user": "用户", + "versionHaveUpdate": "找到新版本:v1.0.{build}, 点击更新", + "versionUnknownUpdate": "当前:v1.0.{build}", + "versionUpdated": "当前:v1.0.{build}, 已是最新版本", + "waitConnection": "请等待连接建立", + "willTakEeffectImmediately": "更改将会立即生效" } \ No newline at end of file diff --git a/lib/view/page/docker.dart b/lib/view/page/docker.dart index 5641f46b..c6cdffeb 100644 --- a/lib/view/page/docker.dart +++ b/lib/view/page/docker.dart @@ -441,7 +441,7 @@ class _DockerManagePageState extends State { (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 { context, _s.attention, Text(_s.sureDelete(dItem.name)), - [], + [ + TextButton( + onPressed: () { + Navigator.of(context).pop(); + _docker.delete(dItem.containerId); + }, + child: Text(_s.ok), + ) + ], ); - _docker.delete(dItem.containerId); break; case DockerMenuItems.start: _docker.start(dItem.containerId);