Extract some flag description strings to be translated.

This commit is contained in:
Brendan Burns
2017-02-06 22:26:44 -08:00
parent 7d6eba6984
commit f1de40b448
20 changed files with 2048 additions and 56 deletions

View File

@@ -80,7 +80,7 @@ func NewCmdScale(f cmdutil.Factory, out io.Writer) *cobra.Command {
ValidArgs: validArgs,
ArgAliases: argAliases,
}
cmd.Flags().String("resource-version", "", "Precondition for resource version. Requires that the current resource version match this value in order to scale.")
cmd.Flags().String("resource-version", "", i18n.T("Precondition for resource version. Requires that the current resource version match this value in order to scale."))
cmd.Flags().Int("current-replicas", -1, "Precondition for current size. Requires that the current size of the resource match this value in order to scale.")
cmd.Flags().Int("replicas", -1, "The new desired number of replicas. Required.")
cmd.MarkFlagRequired("replicas")