@exagone313/dsh-podman 1.2.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/card-route.d.ts +8 -0
  2. package/dist/card-route.js +19 -8
  3. package/dist/client/ContainerCard.js +147 -110
  4. package/dist/client/card-protocol.d.ts +4 -0
  5. package/dist/client/card-protocol.js +34 -0
  6. package/dist/client/container-card-caches.d.ts +1 -1
  7. package/dist/client/container-card-caches.js +19 -17
  8. package/dist/client/container-card-config.d.ts +47 -0
  9. package/dist/client/container-card-config.js +160 -0
  10. package/dist/client/container-card-controller.d.ts +35 -3
  11. package/dist/client/container-card-controller.js +263 -41
  12. package/dist/client/container-card-create-modal.d.ts +5 -1
  13. package/dist/client/container-card-create-modal.js +111 -94
  14. package/dist/client/container-card-defaults.d.ts +16 -0
  15. package/dist/client/container-card-defaults.js +147 -0
  16. package/dist/client/container-card-dialog-styles.d.ts +7 -0
  17. package/dist/client/container-card-dialog-styles.js +70 -0
  18. package/dist/client/container-card-dialog.d.ts +12 -0
  19. package/dist/client/container-card-dialog.js +47 -0
  20. package/dist/client/container-card-directory-styles.d.ts +1 -1
  21. package/dist/client/container-card-directory-styles.js +5 -5
  22. package/dist/client/container-card-directory.js +8 -7
  23. package/dist/client/container-card-edit-modal.d.ts +39 -0
  24. package/dist/client/container-card-edit-modal.js +29 -0
  25. package/dist/client/container-card-editors.d.ts +5 -2
  26. package/dist/client/container-card-editors.js +109 -134
  27. package/dist/client/container-card-field-styles.d.ts +7 -0
  28. package/dist/client/container-card-field-styles.js +63 -0
  29. package/dist/client/container-card-form.d.ts +47 -0
  30. package/dist/client/container-card-form.js +61 -0
  31. package/dist/client/container-card-group.d.ts +9 -0
  32. package/dist/client/container-card-group.js +22 -0
  33. package/dist/client/container-card-images.d.ts +6 -2
  34. package/dist/client/container-card-images.js +63 -23
  35. package/dist/client/container-card-paths.js +43 -52
  36. package/dist/client/container-card-ports.d.ts +3 -4
  37. package/dist/client/container-card-ports.js +74 -38
  38. package/dist/client/container-card-resources.d.ts +38 -0
  39. package/dist/client/container-card-resources.js +73 -0
  40. package/dist/client/container-card-row.d.ts +11 -19
  41. package/dist/client/container-card-row.js +122 -122
  42. package/dist/client/container-card-secrets.d.ts +31 -3
  43. package/dist/client/container-card-secrets.js +174 -56
  44. package/dist/client/container-card-shared.d.ts +173 -6
  45. package/dist/client/container-card-shared.js +616 -57
  46. package/dist/client/container-card-status.d.ts +18 -0
  47. package/dist/client/container-card-status.js +166 -0
  48. package/dist/client/container-card-styles.d.ts +49 -7
  49. package/dist/client/container-card-styles.js +396 -40
  50. package/dist/client/container-card-table-styles.d.ts +15 -0
  51. package/dist/client/container-card-table-styles.js +237 -0
  52. package/dist/client/container-card-tabs-styles.d.ts +5 -0
  53. package/dist/client/container-card-tabs-styles.js +46 -0
  54. package/dist/client/container-card-toast.d.ts +5 -0
  55. package/dist/client/container-card-toast.js +10 -0
  56. package/dist/client/container-card-volumes.d.ts +1 -0
  57. package/dist/client/container-card-volumes.js +14 -19
  58. package/dist/client/container-card-workspace.d.ts +8 -12
  59. package/dist/client/container-card-workspace.js +76 -14
  60. package/dist/client/index.js +6491 -3474
  61. package/dist/client/locales.d.ts +10 -1
  62. package/dist/client/locales.js +270 -114
  63. package/dist/client/relative-time.d.ts +10 -0
  64. package/dist/client/relative-time.js +74 -0
  65. package/dist/client/slot-contract.d.ts +8 -0
  66. package/dist/client/tool-views.js +2 -1
  67. package/dist/container-env.js +1 -1
  68. package/dist/env-rows.d.ts +9 -11
  69. package/dist/env-rows.js +72 -40
  70. package/dist/generated/version.d.ts +2 -2
  71. package/dist/generated/version.js +2 -2
  72. package/dist/guest-terminal.js +1 -1
  73. package/dist/mount-enums.d.ts +11 -0
  74. package/dist/mount-enums.js +60 -0
  75. package/dist/subprocess.js +1 -1
  76. package/dist/terminal-sessions.js +2 -2
  77. package/dist/terminal-shells.js +1 -1
  78. package/dist/tool-handlers.js +1 -1
  79. package/dist/workspace-binding.js +2 -2
  80. package/docs/architecture.md +4 -4
  81. package/docs/architecture.zh.md +1 -1
  82. package/docs/configuration.md +26 -25
  83. package/docs/configuration.zh.md +13 -11
  84. package/docs/development-prompt.md +7 -7
  85. package/docs/development-prompt.zh.md +7 -7
  86. package/docs/development.md +20 -16
  87. package/docs/development.zh.md +17 -16
  88. package/docs/install-dsh-and-dsh-podman.md +13 -12
  89. package/docs/install-dsh-and-dsh-podman.zh.md +13 -9
  90. package/docs/usage.md +189 -39
  91. package/docs/usage.zh.md +148 -29
  92. package/package.json +35 -31
  93. package/dist/client/container-card-default-env.d.ts +0 -10
  94. package/dist/client/container-card-default-env.js +0 -69
@@ -1,10 +1,19 @@
1
1
  export declare const NS = "podman";
2
- export type ContainerPluginKey = "cardTitle" | "cardDescription" | "versionMismatchMajor" | "versionMismatchMinor" | "versionsTitle" | "orchestrator" | "gateway" | "gatewayNotRunning" | "gatewayIncompatible" | "versionUnknown" | "dsh" | "copyVersions" | "copied" | "copyFailed" | "reload" | "notice" | "defaultImage" | "defaultImageHint" | "defaultEnvironment" | "defaultEnvironmentHint" | "gitIdentity" | "gitName" | "gitEmail" | "gitIdentityHint" | "applyDefaults" | "confirmApplyDefaults" | "clear" | "save" | "discard" | "workspacesTitle" | "noContainers" | "createContainer" | "containerName" | "image" | "status" | "created" | "projects" | "remove" | "removePod" | "confirmRemovePod" | "recreate" | "recreateWithImage" | "imagesTitle" | "imageId" | "imageTag" | "builtAt" | "packages" | "volumesTitle" | "createVolume" | "removeVolume" | "volumeName" | "secretsTitle" | "createSecret" | "secretName" | "secretCharset" | "selectImage" | "setSecret" | "removeSecret" | "removeImage" | "rebuildImage" | "rebuildAllImages" | "buildImage" | "build" | "buildImageTitle" | "pullImage" | "setDefaultImage" | "setDefaultImageTitle" | "baseImagesTitle" | "customImagesTitle" | "primitive" | "packageManager" | "parent" | "cancel" | "removeTag" | "env" | "secretEnv" | "envTitle" | "envKey" | "envValue" | "addEnv" | "removeEnv" | "secretLength" | "containerSecretsTitle" | "attachSecret" | "secretEnvName" | "detachSecret" | "portsTitle" | "publishPort" | "unpublishPort" | "podPort" | "hostPortOptional" | "invalidPort" | "invalidHostPort" | "publishNeedsGateway" | "containerNotRunning" | "confirmUnpublishPort" | "none" | "unavailable" | "busy" | "confirmTitle" | "confirm" | "confirmRemoveContainer" | "confirmRecreate" | "confirmRemoveImage" | "confirmRebuildImage" | "confirmRebuildAllImages" | "confirmRemoveVolume" | "confirmSetSecret" | "confirmRemoveSecret" | "confirmDetachSecret" | "mountsTitle" | "addMount" | "mountKind" | "mountProject" | "mountProjectPath" | "browse" | "browseTitle" | "browseSelect" | "browseLoading" | "browseError" | "browseUnavailable" | "browseHidden" | "browseTruncated" | "browseOutsideRoot" | "mountDestination" | "pathsTitle" | "noPaths" | "editPaths" | "addPath" | "add" | "moveUp" | "moveDown" | "apply" | "dragToReorder" | "remountWaiting" | "remountApprove" | "remountReject" | "mountVolume" | "mountSecret" | "mountTmpfs" | "mountAt" | "mountMode" | "readOnly" | "readWrite" | "mountReadOnlySuffix" | "mountReadWriteSuffix" | "remountReadOnly" | "remountReadWrite" | "confirmRemountReadOnly" | "confirmRemountReadWrite" | "confirmRemoveMount" | "cachesTitle" | "noCaches" | "cacheUsage" | "cacheKeepLatest" | "confirmCacheKeepLatest" | "cacheRemoveAll" | "confirmCacheRemoveAll" | "addContainer" | "invalidContainerName" | "containerNameTaken" | "invalidName" | "invalidImageId" | "terminalSignal" | "terminalExitCode" | "terminalNoExitCode" | "terminalRunning" | "terminalFailed" | "terminalDone" | "terminalNoOutput" | "terminalCollapseAria" | "terminalExpandAria" | "terminalExpandRest" | "toolTitle_container_bash" | "toolTitle_container_exec" | "toolTitle_container_read" | "toolTitle_container_write" | "toolTitle_container_edit" | "toolTitle_container_glob" | "toolTitle_container_grep" | "toolTitle_container_list" | "toolTitle_container_start" | "toolTitle_container_recreate" | "toolTitle_container_remove" | "toolTitle_container_mount_list" | "toolTitle_container_mount_add" | "toolTitle_container_mount_remove" | "toolTitle_container_mount_update" | "toolTitle_container_path_set" | "toolTitle_container_path_add" | "toolTitle_container_path_remove" | "toolTitle_container_secret_add" | "toolTitle_container_secret_remove" | "toolTitle_container_publish_port" | "toolTitle_container_unpublish_port" | "toolTitle_image_list" | "toolTitle_image_get" | "toolTitle_image_build" | "toolTitle_image_rebuild" | "toolTitle_image_rebuild_all" | "toolTitle_image_remove" | "toolTitle_volume_list" | "toolTitle_volume_create" | "toolTitle_volume_remove" | "toolTitle_secret_list" | "toolTitle_secret_create" | "toolTitle_secret_remove" | "toolTitle_daemon_start" | "toolTitle_daemon_list" | "toolTitle_daemon_logs" | "toolTitle_daemon_restart" | "toolTitle_daemon_stop" | "terminalTabTitle" | "terminalGuideTitle" | "terminalGuideDescription" | "terminalShortcut" | "terminalShortcutNoSession" | "terminalContainer" | "terminalShell" | "terminalDefaultContainer" | "terminalStart" | "terminalConnect" | "terminalReconnect" | "terminalStatusConnecting" | "terminalStatusRunning" | "terminalStatusExited" | "terminalStatusDetached" | "terminalNoShells" | "terminalShellsFailed" | "terminalLoading";
2
+ export type ContainerPluginKey = "cardTitle" | "loading" | "versionMismatchMajor" | "versionMismatchMinor" | "versionIncompatible" | "versionCompatibleDifferent" | "stateReady" | "stateNotReady" | "stateUnknown" | "stateAbsent" | "valueMissing" | "columnComponent" | "columnState" | "columnVersion" | "columnCommit" | "versionsTitle" | "orchestrator" | "gateway" | "gatewayNotRunning" | "gatewayIncompatible" | "dsh" | "copyVersions" | "copied" | "copyFailed" | "copyWorkspaceId" | "reload" | "notice" | "defaultImage" | "noDefaultImage" | "defaultEnvironment" | "addMissingVars" | "applyTo" | "allContainers" | "variablesToAdd" | "addMissingVarsApply" | "gitIdentity" | "gitName" | "gitEmail" | "save" | "discard" | "unsavedChanges" | "stagedChanges" | "recreateContainer" | "updateContainer" | "confirmUpdate" | "discardChanges" | "discardChangesTitle" | "confirmDiscardChanges" | "containerNameReserved" | "invalidSecretLength" | "secretLengthHint" | "portPendingSuffix" | "portDuplicate" | "groupDefaultsTitle" | "groupStatusTitle" | "tabWorkspaces" | "tabImages" | "tabStorage" | "tabDefaults" | "tabStatus" | "settingsTabs" | "statusOverview" | "gatewayReady" | "gatewayNotReady" | "gatewayUnknown" | "edit" | "editContainerTitle" | "done" | "countImageOne" | "countImageMany" | "countVolumeOne" | "countVolumeMany" | "countSecretOne" | "countSecretMany" | "countCacheOne" | "countCacheMany" | "statusRunning" | "statusStopped" | "statusMissing" | "statusPulled" | "statusBuilt" | "countWorkspaceOne" | "countWorkspaceMany" | "countContainerOne" | "countContainerMany" | "countRunningContainerOne" | "countRunningContainerMany" | "countStoppedContainerOne" | "countStoppedContainerMany" | "countVersionOne" | "countVersionMany" | "orchestratorReady" | "orchestratorUnavailable" | "orchestratorNotReady" | "orchestratorUnknown" | "noWorkspaces" | "createContainer" | "containerName" | "image" | "copyImage" | "copyCreated" | "remove" | "removeWorkspace" | "confirmRemoveWorkspace" | "recreate" | "imageName" | "built" | "packages" | "noPackages" | "volumesTitle" | "noVolumes" | "createVolume" | "removeVolume" | "volumeName" | "secretsTitle" | "noSecrets" | "createSecret" | "secretName" | "secretCharset" | "setSecret" | "removeSecret" | "removeImage" | "rebuildImage" | "rebuildAllImages" | "buildImage" | "build" | "buildImageTitle" | "pullImage" | "setDefaultImage" | "baseImagesTitle" | "noBaseImages" | "customImagesTitle" | "noCustomImages" | "parentImage" | "cancel" | "removeTag" | "envTitle" | "envKey" | "copyEnvKey" | "envValue" | "copyEnvValue" | "addEnv" | "removeEnv" | "removeVariable" | "envNameRequired" | "envNameDuplicate" | "secretLength" | "containerSecretsTitle" | "addSecretEnv" | "secretEnvName" | "portsTitle" | "publishPort" | "unpublishPort" | "containerPort" | "copyContainerPort" | "hostPort" | "hostPortOptional" | "copyHostPort" | "protocol" | "copyProtocol" | "invalidPort" | "invalidHostPort" | "publishNeedsGateway" | "containerNotRunning" | "confirmUnpublishPort" | "none" | "unavailable" | "busy" | "confirmRemoveContainer" | "confirmRecreate" | "confirmRemoveImage" | "confirmRebuildImage" | "confirmRebuildAllImages" | "confirmRemoveVolume" | "confirmRemoveSecret" | "mountsTitle" | "addMount" | "mountKind" | "mountProject" | "mountProjectShort" | "mountPath" | "browse" | "browseTitle" | "browseSelect" | "browseLoading" | "browseError" | "browseUnavailable" | "browseHidden" | "browseTruncated" | "browseOutsideRoot" | "mountDestination" | "pathsTitle" | "path" | "copyPathEntry" | "noPaths" | "editPaths" | "addPathEntry" | "moveUp" | "moveDown" | "apply" | "dragToReorder" | "remountWaiting" | "remountApprove" | "remountReject" | "mountVolume" | "mountSecret" | "mountTmpfs" | "mountAt" | "mountMode" | "copyMountPath" | "copyMountName" | "copyMountMode" | "readOnly" | "readWrite" | "mountReadOnlySuffix" | "mountReadWriteSuffix" | "confirmRemoveMount" | "removeContainerTitle" | "removeVolumeTitle" | "removeImageTitle" | "removeSecretTitle" | "removeMountTitle" | "defaultMountNotRemovable" | "rebuildImageTitle" | "rebuildAllImagesTitle" | "setSecretTitle" | "acknowledgeRemoveWorkspace" | "acknowledgeRebuildAllImages" | "cachesTitle" | "noCaches" | "cacheUsage" | "cacheKeepLatest" | "confirmCacheKeepLatest" | "cacheRemoveAll" | "confirmCacheRemoveAll" | "addContainer" | "invalidContainerName" | "containerNameTaken" | "invalidName" | "invalidImageId" | "terminalCommandLine" | "terminalSignal" | "terminalExitCode" | "terminalNoExitCode" | "terminalRunning" | "terminalFailed" | "terminalDone" | "terminalNoOutput" | "terminalCollapseAria" | "terminalExpandAria" | "terminalExpandRest" | "toolTitle_container_bash" | "toolTitle_container_exec" | "toolTitle_container_read" | "toolTitle_container_write" | "toolTitle_container_edit" | "toolTitle_container_glob" | "toolTitle_container_grep" | "toolTitle_container_list" | "toolTitle_container_start" | "toolTitle_container_recreate" | "toolTitle_container_remove" | "toolTitle_container_mount_list" | "toolTitle_container_mount_add" | "toolTitle_container_mount_remove" | "toolTitle_container_mount_update" | "toolTitle_container_path_set" | "toolTitle_container_path_add" | "toolTitle_container_path_remove" | "toolTitle_container_secret_add" | "toolTitle_container_secret_remove" | "toolTitle_container_publish_port" | "toolTitle_container_unpublish_port" | "toolTitle_image_list" | "toolTitle_image_get" | "toolTitle_image_build" | "toolTitle_image_rebuild" | "toolTitle_image_rebuild_all" | "toolTitle_image_remove" | "toolTitle_volume_list" | "toolTitle_volume_create" | "toolTitle_volume_remove" | "toolTitle_secret_list" | "toolTitle_secret_create" | "toolTitle_secret_remove" | "toolTitle_daemon_start" | "toolTitle_daemon_list" | "toolTitle_daemon_logs" | "toolTitle_daemon_restart" | "toolTitle_daemon_stop" | "terminalTabTitle" | "terminalGuideTitle" | "terminalGuideDescription" | "terminalShortcut" | "terminalShortcutNoSession" | "terminalContainer" | "terminalShell" | "terminalDefaultContainer" | "terminalStart" | "terminalConnect" | "terminalReconnect" | "terminalStatusConnecting" | "terminalStatusRunning" | "terminalStatusExited" | "terminalStatusDetached" | "terminalNoShells" | "terminalShellsFailed" | "terminalLoading";
3
3
  /**
4
4
  * Translate one key, interpolating `{name}` placeholders when given. Components
5
5
  * that build dialog copy declare this so they can name their subject.
6
6
  */
7
7
  export type Translate = (key: ContainerPluginKey, params?: Record<string, string>) => string;
8
+ /**
9
+ * One dictionary key with the placeholders its copy interpolates, so a
10
+ * component can hand a message up to the footer that renders it without
11
+ * translating it itself.
12
+ */
13
+ export interface Translation {
14
+ key: ContainerPluginKey;
15
+ params?: Record<string, string>;
16
+ }
8
17
  export declare const en: Record<ContainerPluginKey, string>;
9
18
  export declare const zh: Record<ContainerPluginKey, string>;
10
19
  declare module "@deepseek-ai/dsh-client-ui-slots" {
@@ -4,96 +4,164 @@
4
4
  export const NS = "podman";
5
5
  export const en = {
6
6
  cardTitle: "dsh-podman",
7
- cardDescription: "Manage the guest containers and their images.",
8
- versionMismatchMajor: "This plugin's major version differs from the orchestrator's; update the dsh image or the orchestrator image so both match.",
9
- versionMismatchMinor: "This plugin and the orchestrator have compatible but different versions; consider updating both images.",
10
- versionsTitle: "Versions",
7
+ versionMismatchMajor: "Image versions are incompatible. Update all three images (dsh, orchestrator, gateway) so they match.",
8
+ versionMismatchMinor: "Some images are on different versions. Update the dsh, orchestrator and gateway images together.",
9
+ versionIncompatible: "incompatible",
10
+ versionCompatibleDifferent: "different versions",
11
+ stateReady: "ready",
12
+ stateNotReady: "not ready",
13
+ stateUnknown: "unknown",
14
+ stateAbsent: "absent",
15
+ valueMissing: "—",
16
+ columnComponent: "Component",
17
+ columnState: "State",
18
+ columnVersion: "Version",
19
+ columnCommit: "Commit",
20
+ versionsTitle: "Components",
11
21
  orchestrator: "dsh-podman-orchestrator",
12
22
  gateway: "dsh-podman-gateway",
13
23
  gatewayNotRunning: "not running",
14
24
  gatewayIncompatible: "incompatible",
15
- versionUnknown: "unknown",
16
25
  dsh: "dsh",
17
26
  copyVersions: "Copy versions",
18
27
  copied: "Copied",
19
28
  copyFailed: "Copy failed",
29
+ copyWorkspaceId: "Copy workspace ID",
20
30
  reload: "Reload this view",
21
31
  notice: "Notice",
22
32
  defaultImage: "Default image",
23
- defaultImageHint: "Image used when a workspace has no image of its own.",
24
- defaultEnvironment: "Default environment",
25
- defaultEnvironmentHint: "Seeded into a container when it is created. Edit a container's own environment and recreate it to change or remove a value for that container.",
33
+ noDefaultImage: "No default image set",
34
+ defaultEnvironment: "Default environment variables",
35
+ addMissingVars: "Add missing variables to containers",
36
+ applyTo: "Apply to",
37
+ allContainers: "All containers",
38
+ variablesToAdd: "Variables to add",
39
+ addMissingVarsApply: "Add to {containers}",
26
40
  gitIdentity: "Git identity",
27
41
  gitName: "Name",
28
42
  gitEmail: "Email",
29
- gitIdentityHint: "Fills GIT_AUTHOR_NAME/EMAIL and GIT_COMMITTER_NAME/EMAIL for new containers, so commits made inside them are attributed to you.",
30
- applyDefaults: "Apply default environment variables",
31
- confirmApplyDefaults: "Add the default environment variables to the containers that are missing them? Matching running containers are recreated (their processes and daemons stop); existing values are kept and stopped containers are left alone.",
32
- clear: "Clear",
33
43
  save: "Save",
34
44
  discard: "Discard",
35
- workspacesTitle: "Workspaces",
36
- noContainers: "This workspace has no containers yet.",
45
+ unsavedChanges: "Unsaved changes",
46
+ stagedChanges: "Changes to apply: {fields}",
47
+ recreateContainer: "Recreate container",
48
+ updateContainer: "Update container",
49
+ confirmUpdate: "Apply these changes to container “{container}” in workspace “{workspace}”?",
50
+ discardChanges: "Discard changes",
51
+ discardChangesTitle: "Discard changes?",
52
+ confirmDiscardChanges: "Close this dialog and discard your unsaved edits?",
53
+ containerNameReserved: '"default" is reserved for the workspace\'s default container.',
54
+ invalidSecretLength: "Length must be between 1 and 1024.",
55
+ secretLengthHint: "Between 1 and 1024; empty uses 32.",
56
+ portPendingSuffix: "(pending)",
57
+ portDuplicate: "That port is already listed.",
58
+ groupDefaultsTitle: "Defaults",
59
+ groupStatusTitle: "Status",
60
+ tabWorkspaces: "Workspaces",
61
+ tabImages: "Images",
62
+ tabStorage: "Storage",
63
+ tabDefaults: "Defaults",
64
+ tabStatus: "Status",
65
+ settingsTabs: "Podman settings tabs",
66
+ statusOverview: "Container status",
67
+ gatewayReady: "gateway ready",
68
+ gatewayNotReady: "gateway not ready",
69
+ gatewayUnknown: "gateway unknown",
70
+ edit: "Edit",
71
+ editContainerTitle: "Edit container",
72
+ done: "Done",
73
+ countImageOne: "1 image",
74
+ countImageMany: "{n} images",
75
+ countVolumeOne: "1 volume",
76
+ countVolumeMany: "{n} volumes",
77
+ countSecretOne: "1 secret",
78
+ countSecretMany: "{n} secrets",
79
+ countCacheOne: "1 cache",
80
+ countCacheMany: "{n} caches",
81
+ statusRunning: "Running",
82
+ statusStopped: "Stopped",
83
+ statusMissing: "Missing",
84
+ statusPulled: "Pulled",
85
+ statusBuilt: "Built",
86
+ countWorkspaceOne: "1 workspace",
87
+ countWorkspaceMany: "{n} workspaces",
88
+ countContainerOne: "1 container",
89
+ countContainerMany: "{n} containers",
90
+ countRunningContainerOne: "1 running container",
91
+ countRunningContainerMany: "{n} running containers",
92
+ countStoppedContainerOne: "1 stopped container",
93
+ countStoppedContainerMany: "{n} stopped containers",
94
+ countVersionOne: "1 version",
95
+ countVersionMany: "{n} versions",
96
+ orchestratorReady: "orchestrator ready",
97
+ orchestratorUnavailable: "orchestrator unavailable",
98
+ orchestratorNotReady: "orchestrator not ready",
99
+ orchestratorUnknown: "orchestrator unknown",
100
+ noWorkspaces: "No workspaces.",
37
101
  createContainer: "Create container",
38
- containerName: "Container",
102
+ containerName: "Name",
39
103
  image: "Image",
40
- status: "Status",
41
- created: "Created",
42
- projects: "Projects",
104
+ copyImage: "Copy image ID",
105
+ copyCreated: "Copy creation time",
43
106
  remove: "Remove",
44
- removePod: "Remove pod",
45
- confirmRemovePod: "Remove the pod of workspace “{workspace}” and all its containers? Volume and project data is kept.",
107
+ removeWorkspace: "Remove containers",
108
+ confirmRemoveWorkspace: "Remove the dsh-podman containers of workspace “{workspace}” (its pod)? The dsh workspace itself is untouched.",
46
109
  recreate: "Recreate",
47
- recreateWithImage: "Recreate with image",
48
- imagesTitle: "Images",
49
- imageId: "Image ID",
50
- imageTag: "Tag",
51
- builtAt: "Built at",
110
+ imageName: "Image name",
111
+ built: "Built",
52
112
  packages: "Packages",
113
+ noPackages: "No packages.",
53
114
  volumesTitle: "Volumes",
115
+ noVolumes: "No volumes.",
54
116
  createVolume: "Create volume",
55
117
  removeVolume: "Remove",
56
118
  volumeName: "Volume name",
57
119
  secretsTitle: "Secrets",
120
+ noSecrets: "No secrets.",
58
121
  createSecret: "Create secret",
59
122
  secretName: "Secret name",
60
123
  secretCharset: "Charset",
61
- setSecret: "Set value",
124
+ setSecret: "New value",
62
125
  removeSecret: "Remove",
63
126
  removeImage: "Remove",
64
127
  rebuildImage: "Rebuild",
65
- rebuildAllImages: "Rebuild all",
66
- buildImage: "Build image",
128
+ rebuildAllImages: "Rebuild all images",
129
+ buildImage: "Build custom image",
67
130
  build: "Build",
68
131
  buildImageTitle: "Build an image",
69
132
  pullImage: "Pull",
70
133
  setDefaultImage: "Set default",
71
- setDefaultImageTitle: "Set default image",
72
134
  baseImagesTitle: "Base images",
135
+ noBaseImages: "No base images.",
73
136
  customImagesTitle: "Custom images",
74
- primitive: "Primitive",
75
- packageManager: "Package manager",
76
- parent: "Parent",
77
- selectImage: "Select an image",
137
+ noCustomImages: "No custom images.",
138
+ parentImage: "Parent image",
78
139
  cancel: "Cancel",
79
140
  removeTag: "Remove",
80
- env: "Env",
81
- secretEnv: "Secret env",
82
141
  envTitle: "Environment variables",
83
142
  envKey: "Key",
143
+ copyEnvKey: "Copy key {key}",
84
144
  envValue: "Value",
85
- addEnv: "Add",
145
+ copyEnvValue: "Copy the value of {key}",
146
+ addEnv: "Add environment variable",
86
147
  removeEnv: "Remove",
148
+ removeVariable: "Remove variable {key}",
149
+ envNameRequired: "An environment variable name is required.",
150
+ envNameDuplicate: "Variable name “{key}” is used twice.",
87
151
  secretLength: "Length",
88
- containerSecretsTitle: "Secret env vars",
89
- attachSecret: "Attach",
90
- secretEnvName: "Env var",
91
- detachSecret: "Detach",
92
- portsTitle: "Ports",
93
- publishPort: "Publish",
152
+ containerSecretsTitle: "Secret environment variables",
153
+ addSecretEnv: "Add secret environment variable",
154
+ secretEnvName: "Variable name",
155
+ portsTitle: "Published ports",
156
+ publishPort: "Publish port",
94
157
  unpublishPort: "Unpublish",
95
- podPort: "Pod port",
158
+ containerPort: "Container port",
159
+ copyContainerPort: "Copy container port {port}",
160
+ hostPort: "Host port",
96
161
  hostPortOptional: "Host port (optional)",
162
+ copyHostPort: "Copy host port {port}",
163
+ protocol: "Protocol",
164
+ copyProtocol: "Copy protocol {protocol}",
97
165
  invalidPort: "Port must be between 1 and 65535",
98
166
  invalidHostPort: "Host port must be between 1024 and 65535",
99
167
  publishNeedsGateway: "The dsh-podman gateway is not running; start the gateway Quadlet to publish ports.",
@@ -102,22 +170,20 @@ export const en = {
102
170
  none: "None",
103
171
  unavailable: "The container plugin is not available.",
104
172
  busy: "Working…",
105
- confirmTitle: "Confirm action",
106
- confirm: "Confirm",
173
+ loading: "Loading the container plugin…",
107
174
  confirmRemoveContainer: "Remove container “{container}” from workspace “{workspace}”?",
108
175
  confirmRecreate: "Recreate container “{container}” in workspace “{workspace}”? Its ephemeral state is lost.",
109
176
  confirmRemoveImage: "Remove image “{image}”? Containers using it must be recreated from another image.",
110
177
  confirmRebuildImage: "Rebuild image “{image}” in place?",
111
178
  confirmRebuildAllImages: "Rebuild every image in dependency order (base first)?",
112
179
  confirmRemoveVolume: "Remove volume “{volume}” and its data?",
113
- confirmSetSecret: "Overwrite the value of secret “{secret}”?",
114
180
  confirmRemoveSecret: "Remove secret “{secret}”? Containers using it must drop it first.",
115
- confirmDetachSecret: "Detach secret “{secret}” from environment variable {env}?",
116
181
  mountsTitle: "Mounts",
117
182
  addMount: "Add mount",
118
183
  mountKind: "Kind",
119
- mountProject: "Project",
120
- mountProjectPath: "Project path",
184
+ mountProject: "Project mount",
185
+ mountProjectShort: "Project",
186
+ mountPath: "Project path",
121
187
  browse: "Browse…",
122
188
  browseTitle: "Select a project directory",
123
189
  browseSelect: "Select this directory",
@@ -128,11 +194,12 @@ export const en = {
128
194
  browseTruncated: "Too many folders to list; only the beginning is shown.",
129
195
  browseOutsideRoot: "Choose a directory inside the projects root.",
130
196
  mountDestination: "Destination",
131
- pathsTitle: "PATH additions",
197
+ pathsTitle: "PATH variable additions",
198
+ path: "Path",
199
+ copyPathEntry: "Copy PATH addition {path}",
132
200
  noPaths: "No PATH additions.",
133
201
  editPaths: "Edit PATH additions",
134
- addPath: "Path to add",
135
- add: "Add",
202
+ addPathEntry: "Add entry",
136
203
  moveUp: "Move up",
137
204
  moveDown: "Move down",
138
205
  apply: "Apply",
@@ -145,27 +212,38 @@ export const en = {
145
212
  mountTmpfs: "tmpfs",
146
213
  mountAt: "at",
147
214
  mountMode: "Mode",
215
+ copyMountPath: "Copy mount path {path}",
216
+ copyMountName: "Copy mount name {name}",
217
+ copyMountMode: "Copy mount mode {mode}",
148
218
  readOnly: "Read-only",
149
219
  readWrite: "Read-write",
150
220
  mountReadOnlySuffix: "(ro)",
151
221
  mountReadWriteSuffix: "(rw)",
152
- remountReadOnly: "Remount as read-only",
153
- remountReadWrite: "Remount as read-write",
154
- confirmRemountReadOnly: "Remount {mount} as read-only and recreate the container?",
155
- confirmRemountReadWrite: "Remount {mount} as read-write and recreate the container?",
156
222
  confirmRemoveMount: "Remove mount {mount} from the container and recreate it?",
223
+ removeContainerTitle: "Remove container",
224
+ removeVolumeTitle: "Remove volume",
225
+ removeImageTitle: "Remove image",
226
+ removeSecretTitle: "Remove secret",
227
+ removeMountTitle: "Remove mount",
228
+ defaultMountNotRemovable: "The default container's main project mount cannot be removed.",
229
+ rebuildImageTitle: "Rebuild image",
230
+ rebuildAllImagesTitle: "Rebuild all images",
231
+ setSecretTitle: "Set secret value",
232
+ acknowledgeRemoveWorkspace: "I understand every container of this workspace is removed.",
233
+ acknowledgeRebuildAllImages: "I understand every image is rebuilt, which can take a long time.",
157
234
  cachesTitle: "Package caches",
158
- noCaches: "No package cache is configured.",
235
+ noCaches: "No package caches.",
159
236
  cacheUsage: "{size} · {n} files",
160
237
  cacheKeepLatest: "Keep latest versions",
161
238
  confirmCacheKeepLatest: "Remove older cached package versions? Current versions are kept.",
162
239
  cacheRemoveAll: "Remove all",
163
240
  confirmCacheRemoveAll: "Remove every cached package? The next build re-downloads what it needs.",
164
241
  addContainer: "Add container",
165
- invalidContainerName: "Invalid container name",
242
+ invalidContainerName: "Invalid container name. Start with a letter or digit; only letters, digits, '.', '_', '-' (max 64).",
166
243
  containerNameTaken: "Container name already exists",
167
244
  invalidName: "Start with a letter or digit; only letters, digits, '.', '_', '-' (max 64).",
168
245
  invalidImageId: "Start with a letter, digit, or '_'; only letters, digits, '.', '_', '-', '/', ':' (max 128).",
246
+ terminalCommandLine: "Command line {n}",
169
247
  terminalSignal: "signal {signal}",
170
248
  terminalExitCode: "exit code {code}",
171
249
  terminalNoExitCode: "no exit code",
@@ -236,96 +314,164 @@ export const en = {
236
314
  };
237
315
  export const zh = {
238
316
  cardTitle: "dsh-podman",
239
- cardDescription: "管理工作区容器及其镜像。",
240
- versionMismatchMajor: "此插件与 orchestrator 的主版本不同;请更新 dsh 镜像或 orchestrator 镜像,使两者一致。",
241
- versionMismatchMinor: "此插件与 orchestrator 的版本不同但兼容;建议同时更新两个镜像。",
242
- versionsTitle: "版本",
317
+ versionMismatchMajor: "镜像版本不兼容。请更新全部三个镜像(dsh、orchestrator、gateway),使其一致。",
318
+ versionMismatchMinor: "部分镜像版本不同。请同时更新 dsh、orchestrator 与 gateway 镜像。",
319
+ versionIncompatible: "不兼容",
320
+ versionCompatibleDifferent: "版本不同",
321
+ stateReady: "就绪",
322
+ stateNotReady: "未就绪",
323
+ stateUnknown: "未知",
324
+ stateAbsent: "不存在",
325
+ valueMissing: "—",
326
+ columnComponent: "组件",
327
+ columnState: "状态",
328
+ columnVersion: "版本",
329
+ columnCommit: "提交",
330
+ versionsTitle: "组件",
243
331
  orchestrator: "dsh-podman-orchestrator",
244
332
  gateway: "dsh-podman-gateway",
245
333
  gatewayNotRunning: "未运行",
246
334
  gatewayIncompatible: "版本不兼容",
247
- versionUnknown: "未知",
248
335
  dsh: "dsh",
249
336
  copyVersions: "复制版本",
250
337
  copied: "已复制",
251
338
  copyFailed: "复制失败",
339
+ copyWorkspaceId: "复制工作区 ID",
252
340
  reload: "刷新此视图",
253
341
  notice: "提示",
254
342
  defaultImage: "默认镜像",
255
- defaultImageHint: "工作区没有自带镜像时使用的镜像。",
343
+ noDefaultImage: "未设置默认镜像",
256
344
  defaultEnvironment: "默认环境变量",
257
- defaultEnvironmentHint: "容器创建时注入的环境变量。编辑容器自身的环境变量后重建该容器,即可修改或移除其中的某一项。",
345
+ addMissingVars: "为容器补上缺失的变量",
346
+ applyTo: "应用到",
347
+ allContainers: "所有容器",
348
+ variablesToAdd: "将添加的变量",
349
+ addMissingVarsApply: "添加到 {containers}",
258
350
  gitIdentity: "Git 身份",
259
351
  gitName: "姓名",
260
352
  gitEmail: "邮箱",
261
- gitIdentityHint: "为新容器填入 GIT_AUTHOR_NAME/EMAIL 与 GIT_COMMITTER_NAME/EMAIL,使容器内提交的提交者信息正确。",
262
- applyDefaults: "应用默认环境变量",
263
- confirmApplyDefaults: "为缺少默认环境变量的容器补上这些变量?匹配的运行中容器会被重建(其进程与守护进程会停止);已有值保持不变,已停止的容器不会被处理。",
264
- clear: "清除",
265
353
  save: "保存",
266
354
  discard: "放弃",
267
- workspacesTitle: "工作区",
268
- noContainers: "该工作区还没有容器。",
355
+ unsavedChanges: "有未保存的更改",
356
+ stagedChanges: "将应用的更改:{fields}",
357
+ recreateContainer: "重建容器",
358
+ updateContainer: "更新容器",
359
+ confirmUpdate: "将更改应用到工作区“{workspace}”中的容器“{container}”?",
360
+ discardChanges: "放弃更改",
361
+ discardChangesTitle: "放弃更改?",
362
+ confirmDiscardChanges: "关闭此对话框并放弃未保存的编辑?",
363
+ containerNameReserved: "“default”是工作区默认容器的保留名称。",
364
+ invalidSecretLength: "长度必须在 1 到 1024 之间。",
365
+ secretLengthHint: "1 到 1024;留空使用 32。",
366
+ portPendingSuffix: "(待发布)",
367
+ portDuplicate: "该端口已在列表中。",
368
+ groupDefaultsTitle: "默认设置",
369
+ groupStatusTitle: "状态",
370
+ tabWorkspaces: "工作区",
371
+ tabImages: "镜像",
372
+ tabStorage: "存储",
373
+ tabDefaults: "默认设置",
374
+ tabStatus: "状态",
375
+ settingsTabs: "Podman 设置标签页",
376
+ statusOverview: "容器状态",
377
+ gatewayReady: "gateway 就绪",
378
+ gatewayNotReady: "gateway 未就绪",
379
+ gatewayUnknown: "gateway 状态未知",
380
+ edit: "编辑",
381
+ editContainerTitle: "编辑容器",
382
+ done: "完成",
383
+ countImageOne: "1 个镜像",
384
+ countImageMany: "{n} 个镜像",
385
+ countVolumeOne: "1 个卷",
386
+ countVolumeMany: "{n} 个卷",
387
+ countSecretOne: "1 个机密",
388
+ countSecretMany: "{n} 个机密",
389
+ countCacheOne: "1 个缓存",
390
+ countCacheMany: "{n} 个缓存",
391
+ statusRunning: "运行中",
392
+ statusStopped: "已停止",
393
+ statusMissing: "缺失",
394
+ statusPulled: "已拉取",
395
+ statusBuilt: "已构建",
396
+ countWorkspaceOne: "1 个工作区",
397
+ countWorkspaceMany: "{n} 个工作区",
398
+ countContainerOne: "1 个容器",
399
+ countContainerMany: "{n} 个容器",
400
+ countRunningContainerOne: "1 个运行中容器",
401
+ countRunningContainerMany: "{n} 个运行中容器",
402
+ countStoppedContainerOne: "1 个已停止容器",
403
+ countStoppedContainerMany: "{n} 个已停止容器",
404
+ countVersionOne: "1 个版本",
405
+ countVersionMany: "{n} 个版本",
406
+ orchestratorReady: "orchestrator 就绪",
407
+ orchestratorUnavailable: "orchestrator 不可用",
408
+ orchestratorNotReady: "orchestrator 未就绪",
409
+ orchestratorUnknown: "orchestrator 状态未知",
410
+ noWorkspaces: "无工作区。",
269
411
  createContainer: "创建容器",
270
- containerName: "容器",
412
+ containerName: "名称",
271
413
  image: "镜像",
272
- status: "状态",
273
- created: "创建时间",
274
- projects: "项目",
414
+ copyImage: "复制镜像 ID",
415
+ copyCreated: "复制创建时间",
275
416
  remove: "移除",
276
- removePod: "移除 Pod",
277
- confirmRemovePod: "移除工作区“{workspace}”的 Pod 及其所有容器?卷和项目数据会保留。",
417
+ removeWorkspace: "移除容器",
418
+ confirmRemoveWorkspace: "移除工作区“{workspace}”的 dsh-podman 容器(其 pod)?dsh 工作区本身不受影响。",
278
419
  recreate: "重建",
279
- recreateWithImage: "使用镜像重建",
280
- imagesTitle: "镜像",
281
- imageId: "镜像 ID",
282
- imageTag: "标签",
283
- builtAt: "构建时间",
420
+ imageName: "镜像名称",
421
+ built: "构建",
284
422
  packages: "软件包",
423
+ noPackages: "无软件包。",
285
424
  volumesTitle: "卷",
425
+ noVolumes: "无卷。",
286
426
  createVolume: "创建卷",
287
427
  removeVolume: "移除",
288
428
  volumeName: "卷名称",
289
429
  secretsTitle: "机密",
430
+ noSecrets: "无机密。",
290
431
  createSecret: "创建机密",
291
432
  secretName: "机密名称",
292
433
  secretCharset: "字符集",
293
- setSecret: "设置值",
434
+ setSecret: "新值",
294
435
  removeSecret: "移除",
295
436
  removeImage: "移除",
296
437
  rebuildImage: "重建",
297
- rebuildAllImages: "重建全部",
298
- buildImage: "构建镜像",
438
+ rebuildAllImages: "重建全部镜像",
439
+ buildImage: "构建自定义镜像",
299
440
  build: "构建",
300
441
  buildImageTitle: "构建镜像",
301
442
  pullImage: "拉取",
302
443
  setDefaultImage: "设为默认",
303
- setDefaultImageTitle: "设置默认镜像",
304
444
  baseImagesTitle: "基础镜像",
445
+ noBaseImages: "无基础镜像。",
305
446
  customImagesTitle: "自定义镜像",
306
- primitive: "源镜像",
307
- packageManager: "包管理器",
308
- parent: "父镜像",
309
- selectImage: "选择镜像",
447
+ noCustomImages: "无自定义镜像。",
448
+ parentImage: "父镜像",
310
449
  cancel: "取消",
311
450
  removeTag: "移除",
312
- env: "环境变量",
313
- secretEnv: "机密环境变量",
314
451
  envTitle: "环境变量",
315
452
  envKey: "键",
453
+ copyEnvKey: "复制键 {key}",
316
454
  envValue: "值",
317
- addEnv: "添加",
455
+ copyEnvValue: "复制 {key} 的值",
456
+ addEnv: "添加环境变量",
318
457
  removeEnv: "移除",
458
+ removeVariable: "移除变量 {key}",
459
+ envNameRequired: "环境变量名称为必填项。",
460
+ envNameDuplicate: "变量名称“{key}”使用了两次。",
319
461
  secretLength: "长度",
320
462
  containerSecretsTitle: "机密环境变量",
321
- attachSecret: "注入",
463
+ addSecretEnv: "添加机密环境变量",
322
464
  secretEnvName: "变量名",
323
- detachSecret: "移除",
324
- portsTitle: "端口",
325
- publishPort: "发布",
465
+ portsTitle: "已发布端口",
466
+ publishPort: "发布端口",
326
467
  unpublishPort: "取消发布",
327
- podPort: "pod 端口",
468
+ containerPort: "容器端口",
469
+ copyContainerPort: "复制容器端口 {port}",
470
+ hostPort: "主机端口",
328
471
  hostPortOptional: "主机端口(可选)",
472
+ copyHostPort: "复制主机端口 {port}",
473
+ protocol: "协议",
474
+ copyProtocol: "复制协议 {protocol}",
329
475
  invalidPort: "端口必须在 1 到 65535 之间",
330
476
  invalidHostPort: "主机端口必须在 1024 到 65535 之间",
331
477
  publishNeedsGateway: "dsh-podman gateway 未运行;请启动 gateway Quadlet 后再发布端口。",
@@ -334,22 +480,20 @@ export const zh = {
334
480
  none: "无",
335
481
  unavailable: "容器插件不可用。",
336
482
  busy: "处理中…",
337
- confirmTitle: "确认操作",
338
- confirm: "确认",
483
+ loading: "正在加载容器插件…",
339
484
  confirmRemoveContainer: "移除工作区“{workspace}”中的容器“{container}”?",
340
485
  confirmRecreate: "重建工作区“{workspace}”中的容器“{container}”?其临时状态将丢失。",
341
486
  confirmRemoveImage: "移除镜像“{image}”?使用它的容器需要用其他镜像重建。",
342
487
  confirmRebuildImage: "就地重建镜像“{image}”?",
343
488
  confirmRebuildAllImages: "按依赖顺序重建全部镜像(先基础镜像)?",
344
489
  confirmRemoveVolume: "移除卷“{volume}”及其数据?",
345
- confirmSetSecret: "覆盖机密“{secret}”的值?",
346
490
  confirmRemoveSecret: "移除机密“{secret}”?使用它的容器需先移除注入。",
347
- confirmDetachSecret: "从环境变量 {env} 上移除机密“{secret}”?",
348
491
  mountsTitle: "挂载",
349
492
  addMount: "添加挂载",
350
493
  mountKind: "类型",
351
- mountProject: "项目",
352
- mountProjectPath: "项目路径",
494
+ mountProject: "项目挂载",
495
+ mountProjectShort: "项目",
496
+ mountPath: "项目路径",
353
497
  browse: "浏览…",
354
498
  browseTitle: "选择项目目录",
355
499
  browseSelect: "选择此目录",
@@ -360,11 +504,12 @@ export const zh = {
360
504
  browseTruncated: "文件夹过多,仅显示开头部分。",
361
505
  browseOutsideRoot: "请选择项目根目录内的目录。",
362
506
  mountDestination: "目标路径",
363
- pathsTitle: "PATH 附加项",
364
- noPaths: "没有 PATH 附加项。",
507
+ pathsTitle: "PATH 变量附加项",
508
+ path: "路径",
509
+ copyPathEntry: "复制 PATH 变量附加项 {path}",
510
+ noPaths: "无 PATH 附加项。",
365
511
  editPaths: "编辑 PATH 附加项",
366
- addPath: "要添加的路径",
367
- add: "添加",
512
+ addPathEntry: "添加条目",
368
513
  moveUp: "上移",
369
514
  moveDown: "下移",
370
515
  apply: "应用",
@@ -377,27 +522,38 @@ export const zh = {
377
522
  mountTmpfs: "tmpfs",
378
523
  mountAt: "位于",
379
524
  mountMode: "模式",
525
+ copyMountPath: "复制挂载路径 {path}",
526
+ copyMountName: "复制挂载名称 {name}",
527
+ copyMountMode: "复制挂载模式 {mode}",
380
528
  readOnly: "只读",
381
529
  readWrite: "读写",
382
530
  mountReadOnlySuffix: "(只读)",
383
531
  mountReadWriteSuffix: "(读写)",
384
- remountReadOnly: "重新挂载为只读",
385
- remountReadWrite: "重新挂载为读写",
386
- confirmRemountReadOnly: "将 {mount} 重新挂载为只读并重建容器?",
387
- confirmRemountReadWrite: "将 {mount} 重新挂载为读写并重建容器?",
388
532
  confirmRemoveMount: "从容器中移除挂载 {mount} 并重建容器?",
533
+ removeContainerTitle: "移除容器",
534
+ removeVolumeTitle: "移除卷",
535
+ removeImageTitle: "移除镜像",
536
+ removeSecretTitle: "移除机密",
537
+ removeMountTitle: "移除挂载",
538
+ defaultMountNotRemovable: "默认容器的主项目挂载无法移除。",
539
+ rebuildImageTitle: "重建镜像",
540
+ rebuildAllImagesTitle: "重建全部镜像",
541
+ setSecretTitle: "设置机密值",
542
+ acknowledgeRemoveWorkspace: "我明白这会移除该工作区的所有容器。",
543
+ acknowledgeRebuildAllImages: "我明白这会重建全部镜像,可能需要较长时间。",
389
544
  cachesTitle: "软件包缓存",
390
- noCaches: "未配置软件包缓存。",
545
+ noCaches: "无软件包缓存。",
391
546
  cacheUsage: "{size} · {n} 个文件",
392
547
  cacheKeepLatest: "保留最新版本",
393
548
  confirmCacheKeepLatest: "移除较旧的缓存软件包版本?当前版本会保留。",
394
549
  cacheRemoveAll: "全部移除",
395
550
  confirmCacheRemoveAll: "移除所有缓存的软件包?下次构建会重新下载所需内容。",
396
551
  addContainer: "添加容器",
397
- invalidContainerName: "容器名称无效",
552
+ invalidContainerName: "容器名称无效。以字母或数字开头,仅可使用字母、数字、'.'、'_'、'-'(最长 64 个字符)。",
398
553
  containerNameTaken: "容器名称已存在",
399
554
  invalidName: "以字母或数字开头,仅可使用字母、数字、'.'、'_'、'-'(最长 64 个字符)。",
400
555
  invalidImageId: "以字母、数字或 '_' 开头,仅可使用字母、数字、'.'、'_'、'-'、'/'、':'(最长 128 个字符)。",
556
+ terminalCommandLine: "命令第 {n} 行",
401
557
  terminalSignal: "信号 {signal}",
402
558
  terminalExitCode: "退出码 {code}",
403
559
  terminalNoExitCode: "无退出码",