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

@@ -29,6 +29,7 @@ import (
"k8s.io/kubernetes/pkg/kubectl/cmd/templates"
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/kubectl/resource"
"k8s.io/kubernetes/pkg/util/i18n"
)
type CreateOptions struct {
@@ -59,7 +60,7 @@ func NewCmdCreate(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "create -f FILENAME",
Short: "Create a resource by filename or stdin",
Short: i18n.T("Create a resource by filename or stdin"),
Long: create_long,
Example: create_example,
Run: func(cmd *cobra.Command, args []string) {