mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Extract strings for translation.
This commit is contained in:
@@ -24,6 +24,7 @@ import (
|
||||
|
||||
"k8s.io/kubernetes/pkg/kubectl/cmd/templates"
|
||||
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
|
||||
"k8s.io/kubernetes/pkg/util/i18n"
|
||||
)
|
||||
|
||||
var help_long = templates.LongDesc(`
|
||||
@@ -33,7 +34,7 @@ var help_long = templates.LongDesc(`
|
||||
func NewCmdHelp(f cmdutil.Factory, out io.Writer) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "help [command] | STRING_TO_SEARCH",
|
||||
Short: "Help about any command",
|
||||
Short: i18n.T("Help about any command"),
|
||||
Long: help_long,
|
||||
|
||||
Run: RunHelp,
|
||||
|
||||
Reference in New Issue
Block a user