add comment for top level command and add chinese transkations

pull/4464/head
Sharif Elgamal 2019-06-20 09:55:29 -07:00
parent 7fc7b245e1
commit 3be580c97c
2 changed files with 14 additions and 7 deletions

View File

@ -14,6 +14,13 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
/* This file scans all of minikube's code and finds all strings that need to be able to be translated.
It uses the more generic extract.TranslatableStringd, and prints all the translations
into every json file it can find in pkg/minikube/translate/translations.
Usage: from the root minikube directory, go run cmd/extract/extract.go
*/
package main
import (

View File

@ -1,9 +1,9 @@
{
"minikube %s on %s (%s)": "",
"Creating %s VM (CPUs=%d, Memory=%dMB, Disk=%dMB) ...": "",
"Configuring environment for Kubernetes %s on %s %s": "",
"Pulling images ...": "",
"Launching Kubernetes ...": "",
"Verifying:": "",
"Done! kubectl is now configured to use %q": ""
"minikube %s on %s (%s)": "您正在使用minikube %s 运行平台:%s (%s)",
"Creating %s VM (CPUs=%d, Memory=%dMB, Disk=%dMB) ...": "正在创建%s虚拟机CPU =d内存=dMB磁盘=dMB...",
"Configuring environment for Kubernetes %s on %s %s": "开始为Kubernetes %s%s %s 配置环境变量",
"Pulling images ...": "拉取镜像 ...",
"Launching Kubernetes ...": "正在启动 Kubernetes ...",
"Verifying:": "正在验证:",
"Done! kubectl is now configured to use %q": "完成kubectl已经配置至%q"
}