Extract strings for translation.

This commit is contained in:
Brendan Burns
2017-01-24 17:00:32 -08:00
parent 9dec47dc28
commit d9c4a289a6
50 changed files with 1289 additions and 66 deletions

View File

@@ -42,6 +42,7 @@ import (
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/kubectl/resource"
uexec "k8s.io/kubernetes/pkg/util/exec"
"k8s.io/kubernetes/pkg/util/i18n"
"k8s.io/kubernetes/pkg/util/interrupt"
)
@@ -91,7 +92,7 @@ func NewCmdRun(f cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) *co
Use: "run NAME --image=image [--env=\"key=value\"] [--port=port] [--replicas=replicas] [--dry-run=bool] [--overrides=inline-json] [--command] -- [COMMAND] [args...]",
// run-container is deprecated
Aliases: []string{"run-container"},
Short: "Run a particular image on the cluster",
Short: i18n.T("Run a particular image on the cluster"),
Long: run_long,
Example: run_example,
Run: func(cmd *cobra.Command, args []string) {