2018-01-29 19:44:18 +00:00
|
|
|
// Code generated by go generate. DO NOT EDIT.
|
|
|
|
|
|
|
|
// gotext is a tool for managing text in Go source code.
|
|
|
|
//
|
|
|
|
// Usage:
|
|
|
|
//
|
|
|
|
// gotext command [arguments]
|
|
|
|
//
|
|
|
|
// The commands are:
|
|
|
|
//
|
2018-09-05 15:36:14 +00:00
|
|
|
// extract extracts strings to be translated from code
|
|
|
|
// rewrite rewrites fmt functions to use a message Printer
|
|
|
|
// generate generates code to insert translated messages
|
2018-01-29 19:44:18 +00:00
|
|
|
//
|
|
|
|
// Use "go help [command]" for more information about a command.
|
|
|
|
//
|
|
|
|
// Additional help topics:
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Use "gotext help [topic]" for more information about that topic.
|
|
|
|
//
|
|
|
|
//
|
2018-09-05 15:36:14 +00:00
|
|
|
// Extracts strings to be translated from code
|
2018-01-29 19:44:18 +00:00
|
|
|
//
|
|
|
|
// Usage:
|
|
|
|
//
|
|
|
|
// go extract <package>*
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
2018-09-05 15:36:14 +00:00
|
|
|
// Rewrites fmt functions to use a message Printer
|
2018-01-29 19:44:18 +00:00
|
|
|
//
|
|
|
|
// Usage:
|
|
|
|
//
|
2018-09-05 15:36:14 +00:00
|
|
|
// go rewrite <package>
|
2018-01-29 19:44:18 +00:00
|
|
|
//
|
|
|
|
// rewrite is typically done once for a project. It rewrites all usages of
|
|
|
|
// fmt to use x/text's message package whenever a message.Printer is in scope.
|
|
|
|
// It rewrites Print and Println calls with constant strings to the equivalent
|
|
|
|
// using Printf to allow translators to reorder arguments.
|
|
|
|
//
|
|
|
|
//
|
2018-09-05 15:36:14 +00:00
|
|
|
// Generates code to insert translated messages
|
|
|
|
//
|
|
|
|
// Usage:
|
|
|
|
//
|
|
|
|
// go generate <package>
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
2018-01-29 19:44:18 +00:00
|
|
|
package main
|