@exagone313/dsh-podman 1.2.1 → 1.3.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.
- package/dist/card-route.d.ts +8 -0
- package/dist/card-route.js +19 -8
- package/dist/client/ContainerCard.js +147 -110
- package/dist/client/card-protocol.d.ts +4 -0
- package/dist/client/card-protocol.js +34 -0
- package/dist/client/container-card-caches.d.ts +1 -1
- package/dist/client/container-card-caches.js +19 -17
- package/dist/client/container-card-config.d.ts +47 -0
- package/dist/client/container-card-config.js +160 -0
- package/dist/client/container-card-controller.d.ts +35 -3
- package/dist/client/container-card-controller.js +263 -41
- package/dist/client/container-card-create-modal.d.ts +5 -1
- package/dist/client/container-card-create-modal.js +111 -94
- package/dist/client/container-card-defaults.d.ts +16 -0
- package/dist/client/container-card-defaults.js +147 -0
- package/dist/client/container-card-dialog-styles.d.ts +7 -0
- package/dist/client/container-card-dialog-styles.js +70 -0
- package/dist/client/container-card-dialog.d.ts +12 -0
- package/dist/client/container-card-dialog.js +47 -0
- package/dist/client/container-card-directory-styles.d.ts +1 -1
- package/dist/client/container-card-directory-styles.js +5 -5
- package/dist/client/container-card-directory.js +8 -7
- package/dist/client/container-card-edit-modal.d.ts +39 -0
- package/dist/client/container-card-edit-modal.js +29 -0
- package/dist/client/container-card-editors.d.ts +5 -2
- package/dist/client/container-card-editors.js +109 -134
- package/dist/client/container-card-field-styles.d.ts +7 -0
- package/dist/client/container-card-field-styles.js +63 -0
- package/dist/client/container-card-form.d.ts +47 -0
- package/dist/client/container-card-form.js +61 -0
- package/dist/client/container-card-group.d.ts +9 -0
- package/dist/client/container-card-group.js +22 -0
- package/dist/client/container-card-images.d.ts +6 -2
- package/dist/client/container-card-images.js +63 -23
- package/dist/client/container-card-paths.js +43 -52
- package/dist/client/container-card-ports.d.ts +3 -4
- package/dist/client/container-card-ports.js +74 -38
- package/dist/client/container-card-resources.d.ts +38 -0
- package/dist/client/container-card-resources.js +73 -0
- package/dist/client/container-card-row.d.ts +11 -19
- package/dist/client/container-card-row.js +122 -122
- package/dist/client/container-card-secrets.d.ts +31 -3
- package/dist/client/container-card-secrets.js +174 -56
- package/dist/client/container-card-shared.d.ts +173 -6
- package/dist/client/container-card-shared.js +616 -57
- package/dist/client/container-card-status.d.ts +18 -0
- package/dist/client/container-card-status.js +166 -0
- package/dist/client/container-card-styles.d.ts +49 -7
- package/dist/client/container-card-styles.js +396 -40
- package/dist/client/container-card-table-styles.d.ts +15 -0
- package/dist/client/container-card-table-styles.js +237 -0
- package/dist/client/container-card-tabs-styles.d.ts +5 -0
- package/dist/client/container-card-tabs-styles.js +46 -0
- package/dist/client/container-card-toast.d.ts +5 -0
- package/dist/client/container-card-toast.js +10 -0
- package/dist/client/container-card-volumes.d.ts +1 -0
- package/dist/client/container-card-volumes.js +14 -19
- package/dist/client/container-card-workspace.d.ts +8 -12
- package/dist/client/container-card-workspace.js +76 -14
- package/dist/client/index.js +6488 -3474
- package/dist/client/locales.d.ts +10 -1
- package/dist/client/locales.js +268 -114
- package/dist/client/relative-time.d.ts +10 -0
- package/dist/client/relative-time.js +74 -0
- package/dist/client/slot-contract.d.ts +8 -0
- package/dist/client/tool-views.js +1 -1
- package/dist/container-env.js +1 -1
- package/dist/env-rows.d.ts +9 -11
- package/dist/env-rows.js +72 -40
- package/dist/generated/version.d.ts +2 -2
- package/dist/generated/version.js +2 -2
- package/dist/guest-terminal.js +1 -1
- package/dist/mount-enums.d.ts +11 -0
- package/dist/mount-enums.js +60 -0
- package/dist/subprocess.js +1 -1
- package/dist/terminal-sessions.js +2 -2
- package/dist/terminal-shells.js +1 -1
- package/dist/tool-handlers.js +1 -1
- package/dist/workspace-binding.js +2 -2
- package/docs/architecture.md +4 -4
- package/docs/architecture.zh.md +1 -1
- package/docs/configuration.md +26 -25
- package/docs/configuration.zh.md +13 -11
- package/docs/development-prompt.md +7 -7
- package/docs/development-prompt.zh.md +7 -7
- package/docs/development.md +20 -16
- package/docs/development.zh.md +17 -16
- package/docs/install-dsh-and-dsh-podman.md +13 -12
- package/docs/install-dsh-and-dsh-podman.zh.md +13 -9
- package/docs/usage.md +189 -39
- package/docs/usage.zh.md +148 -29
- package/package.json +5 -1
- package/dist/client/container-card-default-env.d.ts +0 -10
- package/dist/client/container-card-default-env.js +0 -69
package/dist/client/locales.d.ts
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
export declare const NS = "podman";
|
|
2
|
-
export type ContainerPluginKey = "cardTitle" | "
|
|
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" | "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" {
|
package/dist/client/locales.js
CHANGED
|
@@ -4,96 +4,164 @@
|
|
|
4
4
|
export const NS = "podman";
|
|
5
5
|
export const en = {
|
|
6
6
|
cardTitle: "dsh-podman",
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
24
|
-
defaultEnvironment: "Default environment",
|
|
25
|
-
|
|
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
|
-
|
|
36
|
-
|
|
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: "
|
|
102
|
+
containerName: "Name",
|
|
39
103
|
image: "Image",
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
projects: "Projects",
|
|
104
|
+
copyImage: "Copy image ID",
|
|
105
|
+
copyCreated: "Copy creation time",
|
|
43
106
|
remove: "Remove",
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
48
|
-
|
|
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: "
|
|
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
|
-
|
|
75
|
-
|
|
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
|
-
|
|
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
|
|
89
|
-
|
|
90
|
-
secretEnvName: "
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
135
|
-
add: "Add",
|
|
202
|
+
addPathEntry: "Add entry",
|
|
136
203
|
moveUp: "Move up",
|
|
137
204
|
moveDown: "Move down",
|
|
138
205
|
apply: "Apply",
|
|
@@ -145,24 +212,34 @@ 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
|
|
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).",
|
|
@@ -236,96 +313,164 @@ export const en = {
|
|
|
236
313
|
};
|
|
237
314
|
export const zh = {
|
|
238
315
|
cardTitle: "dsh-podman",
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
316
|
+
versionMismatchMajor: "镜像版本不兼容。请更新全部三个镜像(dsh、orchestrator、gateway),使其一致。",
|
|
317
|
+
versionMismatchMinor: "部分镜像版本不同。请同时更新 dsh、orchestrator 与 gateway 镜像。",
|
|
318
|
+
versionIncompatible: "不兼容",
|
|
319
|
+
versionCompatibleDifferent: "版本不同",
|
|
320
|
+
stateReady: "就绪",
|
|
321
|
+
stateNotReady: "未就绪",
|
|
322
|
+
stateUnknown: "未知",
|
|
323
|
+
stateAbsent: "不存在",
|
|
324
|
+
valueMissing: "—",
|
|
325
|
+
columnComponent: "组件",
|
|
326
|
+
columnState: "状态",
|
|
327
|
+
columnVersion: "版本",
|
|
328
|
+
columnCommit: "提交",
|
|
329
|
+
versionsTitle: "组件",
|
|
243
330
|
orchestrator: "dsh-podman-orchestrator",
|
|
244
331
|
gateway: "dsh-podman-gateway",
|
|
245
332
|
gatewayNotRunning: "未运行",
|
|
246
333
|
gatewayIncompatible: "版本不兼容",
|
|
247
|
-
versionUnknown: "未知",
|
|
248
334
|
dsh: "dsh",
|
|
249
335
|
copyVersions: "复制版本",
|
|
250
336
|
copied: "已复制",
|
|
251
337
|
copyFailed: "复制失败",
|
|
338
|
+
copyWorkspaceId: "复制工作区 ID",
|
|
252
339
|
reload: "刷新此视图",
|
|
253
340
|
notice: "提示",
|
|
254
341
|
defaultImage: "默认镜像",
|
|
255
|
-
|
|
342
|
+
noDefaultImage: "未设置默认镜像",
|
|
256
343
|
defaultEnvironment: "默认环境变量",
|
|
257
|
-
|
|
344
|
+
addMissingVars: "为容器补上缺失的变量",
|
|
345
|
+
applyTo: "应用到",
|
|
346
|
+
allContainers: "所有容器",
|
|
347
|
+
variablesToAdd: "将添加的变量",
|
|
348
|
+
addMissingVarsApply: "添加到 {containers}",
|
|
258
349
|
gitIdentity: "Git 身份",
|
|
259
350
|
gitName: "姓名",
|
|
260
351
|
gitEmail: "邮箱",
|
|
261
|
-
gitIdentityHint: "为新容器填入 GIT_AUTHOR_NAME/EMAIL 与 GIT_COMMITTER_NAME/EMAIL,使容器内提交的提交者信息正确。",
|
|
262
|
-
applyDefaults: "应用默认环境变量",
|
|
263
|
-
confirmApplyDefaults: "为缺少默认环境变量的容器补上这些变量?匹配的运行中容器会被重建(其进程与守护进程会停止);已有值保持不变,已停止的容器不会被处理。",
|
|
264
|
-
clear: "清除",
|
|
265
352
|
save: "保存",
|
|
266
353
|
discard: "放弃",
|
|
267
|
-
|
|
268
|
-
|
|
354
|
+
unsavedChanges: "有未保存的更改",
|
|
355
|
+
stagedChanges: "将应用的更改:{fields}",
|
|
356
|
+
recreateContainer: "重建容器",
|
|
357
|
+
updateContainer: "更新容器",
|
|
358
|
+
confirmUpdate: "将更改应用到工作区“{workspace}”中的容器“{container}”?",
|
|
359
|
+
discardChanges: "放弃更改",
|
|
360
|
+
discardChangesTitle: "放弃更改?",
|
|
361
|
+
confirmDiscardChanges: "关闭此对话框并放弃未保存的编辑?",
|
|
362
|
+
containerNameReserved: "“default”是工作区默认容器的保留名称。",
|
|
363
|
+
invalidSecretLength: "长度必须在 1 到 1024 之间。",
|
|
364
|
+
secretLengthHint: "1 到 1024;留空使用 32。",
|
|
365
|
+
portPendingSuffix: "(待发布)",
|
|
366
|
+
portDuplicate: "该端口已在列表中。",
|
|
367
|
+
groupDefaultsTitle: "默认设置",
|
|
368
|
+
groupStatusTitle: "状态",
|
|
369
|
+
tabWorkspaces: "工作区",
|
|
370
|
+
tabImages: "镜像",
|
|
371
|
+
tabStorage: "存储",
|
|
372
|
+
tabDefaults: "默认设置",
|
|
373
|
+
tabStatus: "状态",
|
|
374
|
+
settingsTabs: "Podman 设置标签页",
|
|
375
|
+
statusOverview: "容器状态",
|
|
376
|
+
gatewayReady: "gateway 就绪",
|
|
377
|
+
gatewayNotReady: "gateway 未就绪",
|
|
378
|
+
gatewayUnknown: "gateway 状态未知",
|
|
379
|
+
edit: "编辑",
|
|
380
|
+
editContainerTitle: "编辑容器",
|
|
381
|
+
done: "完成",
|
|
382
|
+
countImageOne: "1 个镜像",
|
|
383
|
+
countImageMany: "{n} 个镜像",
|
|
384
|
+
countVolumeOne: "1 个卷",
|
|
385
|
+
countVolumeMany: "{n} 个卷",
|
|
386
|
+
countSecretOne: "1 个机密",
|
|
387
|
+
countSecretMany: "{n} 个机密",
|
|
388
|
+
countCacheOne: "1 个缓存",
|
|
389
|
+
countCacheMany: "{n} 个缓存",
|
|
390
|
+
statusRunning: "运行中",
|
|
391
|
+
statusStopped: "已停止",
|
|
392
|
+
statusMissing: "缺失",
|
|
393
|
+
statusPulled: "已拉取",
|
|
394
|
+
statusBuilt: "已构建",
|
|
395
|
+
countWorkspaceOne: "1 个工作区",
|
|
396
|
+
countWorkspaceMany: "{n} 个工作区",
|
|
397
|
+
countContainerOne: "1 个容器",
|
|
398
|
+
countContainerMany: "{n} 个容器",
|
|
399
|
+
countRunningContainerOne: "1 个运行中容器",
|
|
400
|
+
countRunningContainerMany: "{n} 个运行中容器",
|
|
401
|
+
countStoppedContainerOne: "1 个已停止容器",
|
|
402
|
+
countStoppedContainerMany: "{n} 个已停止容器",
|
|
403
|
+
countVersionOne: "1 个版本",
|
|
404
|
+
countVersionMany: "{n} 个版本",
|
|
405
|
+
orchestratorReady: "orchestrator 就绪",
|
|
406
|
+
orchestratorUnavailable: "orchestrator 不可用",
|
|
407
|
+
orchestratorNotReady: "orchestrator 未就绪",
|
|
408
|
+
orchestratorUnknown: "orchestrator 状态未知",
|
|
409
|
+
noWorkspaces: "无工作区。",
|
|
269
410
|
createContainer: "创建容器",
|
|
270
|
-
containerName: "
|
|
411
|
+
containerName: "名称",
|
|
271
412
|
image: "镜像",
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
projects: "项目",
|
|
413
|
+
copyImage: "复制镜像 ID",
|
|
414
|
+
copyCreated: "复制创建时间",
|
|
275
415
|
remove: "移除",
|
|
276
|
-
|
|
277
|
-
|
|
416
|
+
removeWorkspace: "移除容器",
|
|
417
|
+
confirmRemoveWorkspace: "移除工作区“{workspace}”的 dsh-podman 容器(其 pod)?dsh 工作区本身不受影响。",
|
|
278
418
|
recreate: "重建",
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
imageId: "镜像 ID",
|
|
282
|
-
imageTag: "标签",
|
|
283
|
-
builtAt: "构建时间",
|
|
419
|
+
imageName: "镜像名称",
|
|
420
|
+
built: "构建",
|
|
284
421
|
packages: "软件包",
|
|
422
|
+
noPackages: "无软件包。",
|
|
285
423
|
volumesTitle: "卷",
|
|
424
|
+
noVolumes: "无卷。",
|
|
286
425
|
createVolume: "创建卷",
|
|
287
426
|
removeVolume: "移除",
|
|
288
427
|
volumeName: "卷名称",
|
|
289
428
|
secretsTitle: "机密",
|
|
429
|
+
noSecrets: "无机密。",
|
|
290
430
|
createSecret: "创建机密",
|
|
291
431
|
secretName: "机密名称",
|
|
292
432
|
secretCharset: "字符集",
|
|
293
|
-
setSecret: "
|
|
433
|
+
setSecret: "新值",
|
|
294
434
|
removeSecret: "移除",
|
|
295
435
|
removeImage: "移除",
|
|
296
436
|
rebuildImage: "重建",
|
|
297
|
-
rebuildAllImages: "
|
|
298
|
-
buildImage: "
|
|
437
|
+
rebuildAllImages: "重建全部镜像",
|
|
438
|
+
buildImage: "构建自定义镜像",
|
|
299
439
|
build: "构建",
|
|
300
440
|
buildImageTitle: "构建镜像",
|
|
301
441
|
pullImage: "拉取",
|
|
302
442
|
setDefaultImage: "设为默认",
|
|
303
|
-
setDefaultImageTitle: "设置默认镜像",
|
|
304
443
|
baseImagesTitle: "基础镜像",
|
|
444
|
+
noBaseImages: "无基础镜像。",
|
|
305
445
|
customImagesTitle: "自定义镜像",
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
parent: "父镜像",
|
|
309
|
-
selectImage: "选择镜像",
|
|
446
|
+
noCustomImages: "无自定义镜像。",
|
|
447
|
+
parentImage: "父镜像",
|
|
310
448
|
cancel: "取消",
|
|
311
449
|
removeTag: "移除",
|
|
312
|
-
env: "环境变量",
|
|
313
|
-
secretEnv: "机密环境变量",
|
|
314
450
|
envTitle: "环境变量",
|
|
315
451
|
envKey: "键",
|
|
452
|
+
copyEnvKey: "复制键 {key}",
|
|
316
453
|
envValue: "值",
|
|
317
|
-
|
|
454
|
+
copyEnvValue: "复制 {key} 的值",
|
|
455
|
+
addEnv: "添加环境变量",
|
|
318
456
|
removeEnv: "移除",
|
|
457
|
+
removeVariable: "移除变量 {key}",
|
|
458
|
+
envNameRequired: "环境变量名称为必填项。",
|
|
459
|
+
envNameDuplicate: "变量名称“{key}”使用了两次。",
|
|
319
460
|
secretLength: "长度",
|
|
320
461
|
containerSecretsTitle: "机密环境变量",
|
|
321
|
-
|
|
462
|
+
addSecretEnv: "添加机密环境变量",
|
|
322
463
|
secretEnvName: "变量名",
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
publishPort: "发布",
|
|
464
|
+
portsTitle: "已发布端口",
|
|
465
|
+
publishPort: "发布端口",
|
|
326
466
|
unpublishPort: "取消发布",
|
|
327
|
-
|
|
467
|
+
containerPort: "容器端口",
|
|
468
|
+
copyContainerPort: "复制容器端口 {port}",
|
|
469
|
+
hostPort: "主机端口",
|
|
328
470
|
hostPortOptional: "主机端口(可选)",
|
|
471
|
+
copyHostPort: "复制主机端口 {port}",
|
|
472
|
+
protocol: "协议",
|
|
473
|
+
copyProtocol: "复制协议 {protocol}",
|
|
329
474
|
invalidPort: "端口必须在 1 到 65535 之间",
|
|
330
475
|
invalidHostPort: "主机端口必须在 1024 到 65535 之间",
|
|
331
476
|
publishNeedsGateway: "dsh-podman gateway 未运行;请启动 gateway Quadlet 后再发布端口。",
|
|
@@ -334,22 +479,20 @@ export const zh = {
|
|
|
334
479
|
none: "无",
|
|
335
480
|
unavailable: "容器插件不可用。",
|
|
336
481
|
busy: "处理中…",
|
|
337
|
-
|
|
338
|
-
confirm: "确认",
|
|
482
|
+
loading: "正在加载容器插件…",
|
|
339
483
|
confirmRemoveContainer: "移除工作区“{workspace}”中的容器“{container}”?",
|
|
340
484
|
confirmRecreate: "重建工作区“{workspace}”中的容器“{container}”?其临时状态将丢失。",
|
|
341
485
|
confirmRemoveImage: "移除镜像“{image}”?使用它的容器需要用其他镜像重建。",
|
|
342
486
|
confirmRebuildImage: "就地重建镜像“{image}”?",
|
|
343
487
|
confirmRebuildAllImages: "按依赖顺序重建全部镜像(先基础镜像)?",
|
|
344
488
|
confirmRemoveVolume: "移除卷“{volume}”及其数据?",
|
|
345
|
-
confirmSetSecret: "覆盖机密“{secret}”的值?",
|
|
346
489
|
confirmRemoveSecret: "移除机密“{secret}”?使用它的容器需先移除注入。",
|
|
347
|
-
confirmDetachSecret: "从环境变量 {env} 上移除机密“{secret}”?",
|
|
348
490
|
mountsTitle: "挂载",
|
|
349
491
|
addMount: "添加挂载",
|
|
350
492
|
mountKind: "类型",
|
|
351
|
-
mountProject: "
|
|
352
|
-
|
|
493
|
+
mountProject: "项目挂载",
|
|
494
|
+
mountProjectShort: "项目",
|
|
495
|
+
mountPath: "项目路径",
|
|
353
496
|
browse: "浏览…",
|
|
354
497
|
browseTitle: "选择项目目录",
|
|
355
498
|
browseSelect: "选择此目录",
|
|
@@ -360,11 +503,12 @@ export const zh = {
|
|
|
360
503
|
browseTruncated: "文件夹过多,仅显示开头部分。",
|
|
361
504
|
browseOutsideRoot: "请选择项目根目录内的目录。",
|
|
362
505
|
mountDestination: "目标路径",
|
|
363
|
-
pathsTitle: "PATH
|
|
364
|
-
|
|
506
|
+
pathsTitle: "PATH 变量附加项",
|
|
507
|
+
path: "路径",
|
|
508
|
+
copyPathEntry: "复制 PATH 变量附加项 {path}",
|
|
509
|
+
noPaths: "无 PATH 附加项。",
|
|
365
510
|
editPaths: "编辑 PATH 附加项",
|
|
366
|
-
|
|
367
|
-
add: "添加",
|
|
511
|
+
addPathEntry: "添加条目",
|
|
368
512
|
moveUp: "上移",
|
|
369
513
|
moveDown: "下移",
|
|
370
514
|
apply: "应用",
|
|
@@ -377,24 +521,34 @@ export const zh = {
|
|
|
377
521
|
mountTmpfs: "tmpfs",
|
|
378
522
|
mountAt: "位于",
|
|
379
523
|
mountMode: "模式",
|
|
524
|
+
copyMountPath: "复制挂载路径 {path}",
|
|
525
|
+
copyMountName: "复制挂载名称 {name}",
|
|
526
|
+
copyMountMode: "复制挂载模式 {mode}",
|
|
380
527
|
readOnly: "只读",
|
|
381
528
|
readWrite: "读写",
|
|
382
529
|
mountReadOnlySuffix: "(只读)",
|
|
383
530
|
mountReadWriteSuffix: "(读写)",
|
|
384
|
-
remountReadOnly: "重新挂载为只读",
|
|
385
|
-
remountReadWrite: "重新挂载为读写",
|
|
386
|
-
confirmRemountReadOnly: "将 {mount} 重新挂载为只读并重建容器?",
|
|
387
|
-
confirmRemountReadWrite: "将 {mount} 重新挂载为读写并重建容器?",
|
|
388
531
|
confirmRemoveMount: "从容器中移除挂载 {mount} 并重建容器?",
|
|
532
|
+
removeContainerTitle: "移除容器",
|
|
533
|
+
removeVolumeTitle: "移除卷",
|
|
534
|
+
removeImageTitle: "移除镜像",
|
|
535
|
+
removeSecretTitle: "移除机密",
|
|
536
|
+
removeMountTitle: "移除挂载",
|
|
537
|
+
defaultMountNotRemovable: "默认容器的主项目挂载无法移除。",
|
|
538
|
+
rebuildImageTitle: "重建镜像",
|
|
539
|
+
rebuildAllImagesTitle: "重建全部镜像",
|
|
540
|
+
setSecretTitle: "设置机密值",
|
|
541
|
+
acknowledgeRemoveWorkspace: "我明白这会移除该工作区的所有容器。",
|
|
542
|
+
acknowledgeRebuildAllImages: "我明白这会重建全部镜像,可能需要较长时间。",
|
|
389
543
|
cachesTitle: "软件包缓存",
|
|
390
|
-
noCaches: "
|
|
544
|
+
noCaches: "无软件包缓存。",
|
|
391
545
|
cacheUsage: "{size} · {n} 个文件",
|
|
392
546
|
cacheKeepLatest: "保留最新版本",
|
|
393
547
|
confirmCacheKeepLatest: "移除较旧的缓存软件包版本?当前版本会保留。",
|
|
394
548
|
cacheRemoveAll: "全部移除",
|
|
395
549
|
confirmCacheRemoveAll: "移除所有缓存的软件包?下次构建会重新下载所需内容。",
|
|
396
550
|
addContainer: "添加容器",
|
|
397
|
-
invalidContainerName: "
|
|
551
|
+
invalidContainerName: "容器名称无效。以字母或数字开头,仅可使用字母、数字、'.'、'_'、'-'(最长 64 个字符)。",
|
|
398
552
|
containerNameTaken: "容器名称已存在",
|
|
399
553
|
invalidName: "以字母或数字开头,仅可使用字母、数字、'.'、'_'、'-'(最长 64 个字符)。",
|
|
400
554
|
invalidImageId: "以字母、数字或 '_' 开头,仅可使用字母、数字、'.'、'_'、'-'、'/'、':'(最长 128 个字符)。",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The relative creation time of a container, e.g. "5 minutes ago", "today" or
|
|
3
|
+
* "yesterday". A stamp the browser cannot read, and a runtime without
|
|
4
|
+
* {@link Intl.RelativeTimeFormat}, both fall back to the raw value.
|
|
5
|
+
*
|
|
6
|
+
* @param createdAt - the container's timestamp, as the snapshot reported it.
|
|
7
|
+
* @param locale - the plugin's active locale; "" asks for the runtime default.
|
|
8
|
+
* @param now - the current instant, injected for pure rendering.
|
|
9
|
+
*/
|
|
10
|
+
export declare function relativeTimeLabel(createdAt: string, locale: string, now?: number): string;
|