diff --git a/cmd/minikube/cmd/dashboard.go b/cmd/minikube/cmd/dashboard.go index df64665d37..2a04d8201c 100644 --- a/cmd/minikube/cmd/dashboard.go +++ b/cmd/minikube/cmd/dashboard.go @@ -129,7 +129,7 @@ var dashboardCmd = &cobra.Command{ if dashboardURLMode { console.OutLn(url) } else { - console.ErrT(console.Celebrate, "Opening %s in your default browser...", url) + console.ErrT(console.Celebrate, "Opening %s in your default browser...", console.Arg{"url": url}) if err = browser.OpenURL(url); err != nil { exit.WithCodeT(exit.Software, "failed to open browser: {{.error}}", console.Arg{"error": err}) } diff --git a/cmd/minikube/cmd/mount.go b/cmd/minikube/cmd/mount.go index 828549ee91..6135e0ccc4 100644 --- a/cmd/minikube/cmd/mount.go +++ b/cmd/minikube/cmd/mount.go @@ -17,6 +17,7 @@ limitations under the License. package cmd import ( + "fmt" "net" "os" "os/signal" @@ -74,7 +75,7 @@ var mountCmd = &cobra.Command{ mountString := args[0] idx := strings.LastIndex(mountString, ":") if idx == -1 { // no ":" was present - exit.UsageT(`mount argument "{{.value}}" must be in form: :`, console.Arg{"value": amountString}) + exit.UsageT(`mount argument "{{.value}}" must be in form: :`, console.Arg{"value": mountString}) } hostPath := mountString[:idx] vmPath := mountString[idx+1:] @@ -144,12 +145,12 @@ var mountCmd = &cobra.Command{ console.OutT(console.Mounting, "Mounting host path {{.sourcePath}} into VM as {{.destinationPath}} ...", console.Arg{"sourcePath": hostPath, "destinationPath": vmPath}) console.OutT(console.Option, "Mount type: {{.name}}", console.Arg{"type": cfg.Type}) - console.OutT(console.Option, "User ID: {{.userID}}", console.Arg{"userID", cfg.UID}) - console.OutT(console.Option, "Group ID: {{.groupID}}", console.Arg{"groupID", cfg.GID}) - console.OutT(console.Option, "Version: {{.version}}", console.Arg{"version", cfg.Version}) - console.OutT(console.Option, "Message Size: {{.size}}", console.Arg{"size", cfg.MSize}) - console.OutT(console.Option, "Permissions: {{.octalMode}} ({{.writtenMode}})", cfg.Mode, cfg.Mode) - console.OutT(console.Option, "Options: {{.options}}", cfg.Options) + console.OutT(console.Option, "User ID: {{.userID}}", console.Arg{"userID": cfg.UID}) + console.OutT(console.Option, "Group ID: {{.groupID}}", console.Arg{"groupID": cfg.GID}) + console.OutT(console.Option, "Version: {{.version}}", console.Arg{"version": cfg.Version}) + console.OutT(console.Option, "Message Size: {{.size}}", console.Arg{"size": cfg.MSize}) + console.OutT(console.Option, "Permissions: {{.octalMode}} ({{.writtenMode}})", console.Arg{"octalMode": fmt.Sprintf("%o", cfg.Mode), "writtenMode": cfg.Mode}) + console.OutT(console.Option, "Options: {{.options}}", console.Arg{"options": cfg.Options}) // An escape valve to allow future hackers to try NFS, VirtFS, or other FS types. if !supportedFilesystems[cfg.Type] { @@ -183,7 +184,7 @@ var mountCmd = &cobra.Command{ if err != nil { console.ErrT(console.FailureType, "Failed unmount: {{.error}}", console.Arg{"error": err}) } - exit.WithCode(exit.Interrupted, "Received {{.name}} signal", console.Arg{"name": sig}) + exit.WithCodeT(exit.Interrupted, "Received {{.name}} signal", console.Arg{"name": sig}) } }() diff --git a/pkg/minikube/problem/problem.go b/pkg/minikube/problem/problem.go index d08e71d7e8..3f0db8d933 100644 --- a/pkg/minikube/problem/problem.go +++ b/pkg/minikube/problem/problem.go @@ -56,7 +56,7 @@ func (p *Problem) Display() { console.ErrT(console.FailureType, "Error: [{{.id}}] {{.error}}", console.Arg{"id": p.ID, "error": p.Err}) console.ErrT(console.Tip, "Suggestion: {{.advice}}", console.Arg{"advice": translate.T(p.Advice)}) if p.URL != "" { - console.ErrT(console.Documentation, "Documentation: {{.url}}", p.URL) + console.ErrT(console.Documentation, "Documentation: {{.url}}", console.Arg{"url": p.URL}) } if len(p.Issues) == 0 { return @@ -67,7 +67,7 @@ func (p *Problem) Display() { issues = issues[0:3] } for _, i := range issues { - console.ErrT(console.Issue, "{{.url}}", console.Arg{"url": fmt.Sprintf("%s/%s", issueBase, i)}) + console.ErrT(console.Issue, "{{.url}}", console.Arg{"url": fmt.Sprintf("%s/%d", issueBase, i)}) } } diff --git a/translations/fr-FR.json b/translations/fr-FR.json index 2ef265dc93..dbb1c26255 100644 --- a/translations/fr-FR.json +++ b/translations/fr-FR.json @@ -1,28 +1,22 @@ { "\"{{.name}}\" cluster does not exist": "", "%q VM does not exist, nothing to stop": "", - "%q cluster does not exist": "", "%q host does not exist, unable to show an IP": "", "%q profile does not exist": "", "%q stopped.": "", "%s IP has been updated to point at %s": "", "%s IP was already correctly configured for %s": "", "%s has no available configuration options": "", - "%s is not responding properly: %v": "", - "%s is not yet a supported filesystem. We will try anyways!": "", "%s was successfully configured": "", "%s was successfully disabled": "", - "%s was successfully enabled": "", - "%s:%s is not running: %v": "", "'none' driver does not support 'minikube docker-env' command": "", "'none' driver does not support 'minikube mount' command": "", "'none' driver does not support 'minikube ssh' command": "", "A firewall is blocking Docker within the minikube VM from reaching the internet. You may need to configure it to use a proxy.": "", "A firewall is interfering with minikube's ability to make outgoing HTTPS requests. You may need to change the value of the HTTPS_PROXY environment variable.": "", "A firewall is likely blocking minikube from reaching the internet. You may need to configure minikube to use a proxy.": "", - "Advice: %s": "", "Alternatively, you may delete the existing VM using `minikube delete -p %s`": "", - "Cannot find directory %s for mount": "", + "Cannot find directory {{.path}} for mount": "", "Check that minikube is running and that you have specified the correct namespace (-n flag) if required.": "", "Check that your --kubernetes-version has a leading 'v'. For example: 'v1.1.14'": "", "Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "", @@ -35,11 +29,11 @@ "Disable dynamic memory in your VM manager, or pass in a larger --memory value": "", "Disable real-time anti-virus software, reboot, and reinstall VirtualBox if the problem continues.": "", "Docker inside the VM is unavailable. Try running 'minikube delete' to reset the VM.": "", - "Documentation: %s": "", + "Documentation: {{.url}}": "", "Done! kubectl is now configured to use {{.name}}": "Fini! kubectl est maintenant configuré pour utiliser {{.name}}.", "Download complete!": "", - "Downloading %s %s": "", "Downloading Minikube ISO ...": "", + "Downloading {{.name}} {{.version}}": "", "ERROR creating `registry-creds-dpr` secret": "", "ERROR creating `registry-creds-ecr` secret: %v": "", "ERROR creating `registry-creds-gcr` secret: %v": "", @@ -71,6 +65,7 @@ "Error host driver ip status": "", "Error killing mount process": "", "Error loading api": "", + "Error loading profile config": "", "Error opening service": "", "Error parsing minukube version: %v": "", "Error parsing vmDriver version: %v": "", @@ -81,8 +76,7 @@ "Error starting mount": "", "Error unsetting shell variables": "", "Error writing mount pid": "", - "Error: [%s] %v": "", - "Exiting due to %s signal": "", + "Error: [{{.id}}] {{.error}}": "", "Failed to cache ISO": "", "Failed to cache and load images": "", "Failed to cache binaries": "", @@ -101,7 +95,7 @@ "Failed to get driver URL": "", "Failed to get image map": "", "Failed to get machine client": "", - "Failed to get service URL: %v": "", + "Failed to get service URL: {{.error}}": "", "Failed to kill mount process: %v": "", "Failed to list cached images": "", "Failed to remove profile": "", @@ -111,11 +105,12 @@ "Failed to setup kubeconfig": "", "Failed to update cluster": "", "Failed to update config": "", - "Failed unmount: %v": "", + "Failed unmount: {{.error}}": "", "Follow": "", "For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/": "", "For more information, see:": "", "Found network options:": "", + "Group ID: {{.groupID}}": "", "Have you set up libvirt correctly?": "", "If the above advice does not help, please let us know: ": "", "If using the none driver, ensure that systemctl is installed": "", @@ -129,15 +124,16 @@ "Kubernetes downgrade is not supported, will continue to use {{.version}}": "", "Launching Kubernetes ... ": "Lançant Kubernetes ...", "Launching proxy ...": "", - "Mode: %o (%s)": "", - "Mount options:": "", - "Mounting host path %s into VM as %s ...": "", + "Message Size: {{.size}}": "", + "Mount type: {{.name}}": "", + "Mounting host path {{.sourcePath}} into VM as {{.destinationPath}} ...": "", "NOTE: This process must stay alive for the mount to be accessible ...": "", "None of known repositories in your location is accessible. Use %s as fallback.": "", "None of known repositories is accessible. Consider specifying an alternative image repository with --image-repository flag": "", "Opening %s in your default browser...": "", "Opening kubernetes service %s/%s in default browser...": "", - "Options: %s": "", + "Options: {{.options}}": "", + "Permissions: {{.octalMode}} ({{.writtenMode}})": "", "Please check your BIOS, and ensure that you are running without HyperV or other nested virtualization that may interfere": "", "Please don't run minikube as root or with 'sudo' privileges. It isn't necessary with {{.driver}} driver.": "", "Please enter a value:": "", @@ -155,6 +151,7 @@ "Re-using the currently running %s VM for %q ...": "", "Reboot to complete VirtualBox installation, and verify that VirtualBox is not blocked by your system": "", "Rebuild libvirt with virt-network support": "", + "Received {{.name}} signal": "", "Reinstall VirtualBox and verify that it is not blocked: System Preferences -\u003e Security \u0026 Privacy -\u003e General -\u003e Some system software was blocked from loading": "", "Related issues:": "", "Relaunching Kubernetes {{.version}} using {{.bootstrapper}} ... ": "", @@ -171,14 +168,15 @@ "Setting profile failed": "", "Skipped switching kubectl context for %s , because --keep-context": "", "Sorry that minikube crashed. If this was unexpected, we would love to hear from you:": "", - "Sorry, completion support is not yet implemented for %q": "", + "Sorry, completion support is not yet implemented for {{.name}}": "", "Sorry, the kubeadm.%s parameter is currently not supported by --extra-config": "", "Sorry, url provided with --registry-mirror flag is invalid %q": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", "Stopping %q in %s ...": "", - "Successfully mounted %s to %s": "", - "Target directory %q must be an absolute path": "", + "Successfully mounted {{.sourcePath}} to {{.destinationPath}}": "", + "Suggestion: {{.advice}}": "", + "Target directory {{.path}} must be an absolute path": "", "The %q cluster has been deleted.": "", "The 'docker-machine-driver-kvm2' version is old. Please consider upgrading. %s": "", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "", @@ -190,16 +188,15 @@ "The value passed to --format is invalid": "", "The value passed to --format is invalid: %s": "", "The vmwarefusion driver is deprecated and support for it will be removed in a future release.\n\t\t\tPlease consider switching to the new vmware unified driver, which is intended to replace the vmwarefusion driver.\n\t\t\tSee https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver for more information.\n\t\t\tTo disable this message, run [minikube config set ShowDriverDeprecationNotification false]": "", - "There is a newer version of minikube available (%s%s). Download it here:\n%s%s\n\nTo disable this notification, run the following:\nminikube config set WantUpdateNotification false\n": "", "These changes will take effect upon a minikube delete and then a minikube start": "", "This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label %s:%s": "", "This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "", "Tip: Use 'minikube start -p \u003cname\u003e' to create a new cluster, or 'minikube delete' to delete this one.": "", "To connect to this cluster, use: kubectl --context=%s": "", "To connect to this cluster, use: kubectl --context={{.name}}": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'": "", "To switch drivers, you may create a new VM using `minikube start -p \u003cname\u003e --vm-driver=%s`": "", "To use kubectl or minikube commands as your own user, you may": "", - "Type: %s": "", "Unable to bind flags": "", "Unable to enable dashboard": "", "Unable to fetch latest version info": "", @@ -207,17 +204,19 @@ "Unable to get runtime": "", "Unable to kill mount process: %s": "", "Unable to load cached images from config file.": "", - "Unable to load cached images: %v": "", + "Unable to load cached images: {{.error}}": "", "Unable to load config: %v": "", + "Unable to load config: {{.error}}": "", "Unable to parse %q: %v": "", "Unable to pull images, which may be OK: {{.error}}": "", "Unable to start VM": "", "Unable to stop VM": "", "Uninstalling Kubernetes %s using %s ...": "", - "Unmounting %s ...": "", + "Unmounting {{.path}} ...": "", "Update server returned an empty list": "", "Upgrade to QEMU v3.1.0+, run 'virt-host-validate', or ensure that you are not running in a nested VM environment.": "", "Usage: minikube completion SHELL": "", + "User ID: {{.userID}}": "", "Userspace file server is shutdown": "", "Userspace file server: ": "", "Using image repository {{.name}}": "", @@ -225,7 +224,7 @@ "Verifying dashboard health ...": "", "Verifying proxy health ...": "", "Verifying:": "Vérifiant:", - "Version: %s": "", + "Version: {{.version}}": "", "Wait failed": "", "Wait failed: %v": "", "Waiting for SSH access ...": "Attendant l'accès SSH ...", @@ -240,14 +239,15 @@ "bash completion failed": "", "command runner": "", "config view failed": "", + "dashboard service is not running: {{.error}}": "", "disable failed": "", - "enable failed: %v": "", + "enable failed": "", "error creating clientset": "", "error creating machine client": "", "error getting driver": "", "error parsing the input ip address for mount": "", "error starting tunnel": "", - "failed to open browser: %v": "", + "failed to open browser: {{.error}}": "", "kubectl and minikube configuration will be stored in %s": "", "kubectl not found in PATH, but is required for the dashboard. Installation guide: https://kubernetes.io/docs/tasks/tools/install-kubectl/": "", "kubectl proxy": "", @@ -256,8 +256,9 @@ "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "", "minikube profile was successfully set to %s": "", "minikube will upgrade the local cluster from Kubernetes {{.old}} to {{.new}}": "", + "minikube {{.version}} is available! Download it: {{.url}}": "", "minikube {{.version}} on {{.os}} ({{.arch}})": "minikube {{.version}} sur {{.os}} ({{.arch}})", - "mount argument %q must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "", + "mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "", "mount failed": "", "need to relocate them. For example, to overwrite your own settings:": "", "service %s/%s has no node port": "", @@ -266,6 +267,7 @@ "unable to set logtostderr": "", "unset failed": "", "unsupported driver: %s": "", + "unsupported driver: {{.name}}": "", "update config": "", "usage: minikube addons configure ADDON_NAME": "", "usage: minikube addons disable ADDON_NAME": "", @@ -277,5 +279,11 @@ "usage: minikube delete": "", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "", "zsh completion failed": "", - "{{.msg}}: {{.err}}": "" + "{{.addonName}} was successfully enabled": "", + "{{.error}}": "", + "{{.msg}}: {{.err}}": "", + "{{.name}} cluster does not exist": "", + "{{.type}} is not yet a supported filesystem. We will try anyways!": "", + "{{.url}}": "", + "{{.url}} is not accessible: {{.error}}": "" } \ No newline at end of file diff --git a/translations/zh-CN.json b/translations/zh-CN.json index 37282085d4..294f672ec0 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -1,28 +1,22 @@ { "\"{{.name}}\" cluster does not exist": "", "%q VM does not exist, nothing to stop": "", - "%q cluster does not exist": "", "%q host does not exist, unable to show an IP": "", "%q profile does not exist": "", "%q stopped.": "", "%s IP has been updated to point at %s": "", "%s IP was already correctly configured for %s": "", "%s has no available configuration options": "", - "%s is not responding properly: %v": "", - "%s is not yet a supported filesystem. We will try anyways!": "", "%s was successfully configured": "", "%s was successfully disabled": "", - "%s was successfully enabled": "", - "%s:%s is not running: %v": "", "'none' driver does not support 'minikube docker-env' command": "", "'none' driver does not support 'minikube mount' command": "", "'none' driver does not support 'minikube ssh' command": "", "A firewall is blocking Docker within the minikube VM from reaching the internet. You may need to configure it to use a proxy.": "", "A firewall is interfering with minikube's ability to make outgoing HTTPS requests. You may need to change the value of the HTTPS_PROXY environment variable.": "", "A firewall is likely blocking minikube from reaching the internet. You may need to configure minikube to use a proxy.": "", - "Advice: %s": "", "Alternatively, you may delete the existing VM using `minikube delete -p %s`": "", - "Cannot find directory %s for mount": "", + "Cannot find directory {{.path}} for mount": "", "Check that minikube is running and that you have specified the correct namespace (-n flag) if required.": "", "Check that your --kubernetes-version has a leading 'v'. For example: 'v1.1.14'": "", "Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "", @@ -35,11 +29,11 @@ "Disable dynamic memory in your VM manager, or pass in a larger --memory value": "", "Disable real-time anti-virus software, reboot, and reinstall VirtualBox if the problem continues.": "", "Docker inside the VM is unavailable. Try running 'minikube delete' to reset the VM.": "", - "Documentation: %s": "", + "Documentation: {{.url}}": "", "Done! kubectl is now configured to use {{.name}}": "完成!kubectl已经配置至{{.name}}", "Download complete!": "", - "Downloading %s %s": "", "Downloading Minikube ISO ...": "", + "Downloading {{.name}} {{.version}}": "", "ERROR creating `registry-creds-dpr` secret": "", "ERROR creating `registry-creds-ecr` secret: %v": "", "ERROR creating `registry-creds-gcr` secret: %v": "", @@ -71,6 +65,7 @@ "Error host driver ip status": "", "Error killing mount process": "", "Error loading api": "", + "Error loading profile config": "", "Error opening service": "", "Error parsing minukube version: %v": "", "Error parsing vmDriver version: %v": "", @@ -81,8 +76,7 @@ "Error starting mount": "", "Error unsetting shell variables": "", "Error writing mount pid": "", - "Error: [%s] %v": "", - "Exiting due to %s signal": "", + "Error: [{{.id}}] {{.error}}": "", "Failed to cache ISO": "", "Failed to cache and load images": "", "Failed to cache binaries": "", @@ -101,7 +95,7 @@ "Failed to get driver URL": "", "Failed to get image map": "", "Failed to get machine client": "", - "Failed to get service URL: %v": "", + "Failed to get service URL: {{.error}}": "", "Failed to kill mount process: %v": "", "Failed to list cached images": "", "Failed to remove profile": "", @@ -111,11 +105,12 @@ "Failed to setup kubeconfig": "", "Failed to update cluster": "", "Failed to update config": "", - "Failed unmount: %v": "", + "Failed unmount: {{.error}}": "", "Follow": "", "For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/": "", "For more information, see:": "", "Found network options:": "", + "Group ID: {{.groupID}}": "", "Have you set up libvirt correctly?": "", "If the above advice does not help, please let us know: ": "", "If using the none driver, ensure that systemctl is installed": "", @@ -129,15 +124,16 @@ "Kubernetes downgrade is not supported, will continue to use {{.version}}": "", "Launching Kubernetes ... ": "正在启动 Kubernetes ... ", "Launching proxy ...": "", - "Mode: %o (%s)": "", - "Mount options:": "", - "Mounting host path %s into VM as %s ...": "", + "Message Size: {{.size}}": "", + "Mount type: {{.name}}": "", + "Mounting host path {{.sourcePath}} into VM as {{.destinationPath}} ...": "", "NOTE: This process must stay alive for the mount to be accessible ...": "", "None of known repositories in your location is accessible. Use %s as fallback.": "", "None of known repositories is accessible. Consider specifying an alternative image repository with --image-repository flag": "", "Opening %s in your default browser...": "", "Opening kubernetes service %s/%s in default browser...": "", - "Options: %s": "", + "Options: {{.options}}": "", + "Permissions: {{.octalMode}} ({{.writtenMode}})": "", "Please check your BIOS, and ensure that you are running without HyperV or other nested virtualization that may interfere": "", "Please don't run minikube as root or with 'sudo' privileges. It isn't necessary with {{.driver}} driver.": "", "Please enter a value:": "", @@ -155,6 +151,7 @@ "Re-using the currently running %s VM for %q ...": "", "Reboot to complete VirtualBox installation, and verify that VirtualBox is not blocked by your system": "", "Rebuild libvirt with virt-network support": "", + "Received {{.name}} signal": "", "Reinstall VirtualBox and verify that it is not blocked: System Preferences -\u003e Security \u0026 Privacy -\u003e General -\u003e Some system software was blocked from loading": "", "Related issues:": "", "Relaunching Kubernetes {{.version}} using {{.bootstrapper}} ... ": "", @@ -171,14 +168,15 @@ "Setting profile failed": "", "Skipped switching kubectl context for %s , because --keep-context": "", "Sorry that minikube crashed. If this was unexpected, we would love to hear from you:": "", - "Sorry, completion support is not yet implemented for %q": "", + "Sorry, completion support is not yet implemented for {{.name}}": "", "Sorry, the kubeadm.%s parameter is currently not supported by --extra-config": "", "Sorry, url provided with --registry-mirror flag is invalid %q": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", "Stopping %q in %s ...": "", - "Successfully mounted %s to %s": "", - "Target directory %q must be an absolute path": "", + "Successfully mounted {{.sourcePath}} to {{.destinationPath}}": "", + "Suggestion: {{.advice}}": "", + "Target directory {{.path}} must be an absolute path": "", "The %q cluster has been deleted.": "", "The 'docker-machine-driver-kvm2' version is old. Please consider upgrading. %s": "", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "", @@ -190,16 +188,15 @@ "The value passed to --format is invalid": "", "The value passed to --format is invalid: %s": "", "The vmwarefusion driver is deprecated and support for it will be removed in a future release.\n\t\t\tPlease consider switching to the new vmware unified driver, which is intended to replace the vmwarefusion driver.\n\t\t\tSee https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver for more information.\n\t\t\tTo disable this message, run [minikube config set ShowDriverDeprecationNotification false]": "", - "There is a newer version of minikube available (%s%s). Download it here:\n%s%s\n\nTo disable this notification, run the following:\nminikube config set WantUpdateNotification false\n": "", "These changes will take effect upon a minikube delete and then a minikube start": "", "This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label %s:%s": "", "This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "", "Tip: Use 'minikube start -p \u003cname\u003e' to create a new cluster, or 'minikube delete' to delete this one.": "", "To connect to this cluster, use: kubectl --context=%s": "", "To connect to this cluster, use: kubectl --context={{.name}}": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'": "", "To switch drivers, you may create a new VM using `minikube start -p \u003cname\u003e --vm-driver=%s`": "", "To use kubectl or minikube commands as your own user, you may": "", - "Type: %s": "", "Unable to bind flags": "", "Unable to enable dashboard": "", "Unable to fetch latest version info": "", @@ -207,17 +204,19 @@ "Unable to get runtime": "", "Unable to kill mount process: %s": "", "Unable to load cached images from config file.": "", - "Unable to load cached images: %v": "", + "Unable to load cached images: {{.error}}": "", "Unable to load config: %v": "", + "Unable to load config: {{.error}}": "", "Unable to parse %q: %v": "", "Unable to pull images, which may be OK: {{.error}}": "", "Unable to start VM": "", "Unable to stop VM": "", "Uninstalling Kubernetes %s using %s ...": "", - "Unmounting %s ...": "", + "Unmounting {{.path}} ...": "", "Update server returned an empty list": "", "Upgrade to QEMU v3.1.0+, run 'virt-host-validate', or ensure that you are not running in a nested VM environment.": "", "Usage: minikube completion SHELL": "", + "User ID: {{.userID}}": "", "Userspace file server is shutdown": "", "Userspace file server: ": "", "Using image repository {{.name}}": "", @@ -225,7 +224,7 @@ "Verifying dashboard health ...": "", "Verifying proxy health ...": "", "Verifying:": "正在验证:", - "Version: %s": "", + "Version: {{.version}}": "", "Wait failed": "", "Wait failed: %v": "", "Waiting for SSH access ...": "", @@ -240,14 +239,15 @@ "bash completion failed": "", "command runner": "", "config view failed": "", + "dashboard service is not running: {{.error}}": "", "disable failed": "", - "enable failed: %v": "", + "enable failed": "", "error creating clientset": "", "error creating machine client": "", "error getting driver": "", "error parsing the input ip address for mount": "", "error starting tunnel": "", - "failed to open browser: %v": "", + "failed to open browser: {{.error}}": "", "kubectl and minikube configuration will be stored in %s": "", "kubectl not found in PATH, but is required for the dashboard. Installation guide: https://kubernetes.io/docs/tasks/tools/install-kubectl/": "", "kubectl proxy": "", @@ -256,8 +256,9 @@ "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "", "minikube profile was successfully set to %s": "", "minikube will upgrade the local cluster from Kubernetes {{.old}} to {{.new}}": "", + "minikube {{.version}} is available! Download it: {{.url}}": "", "minikube {{.version}} on {{.os}} ({{.arch}})": "您正在使用minikube {{.version}}, 运行平台:{{.os}} ({{.arch}})", - "mount argument %q must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "", + "mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "", "mount failed": "", "need to relocate them. For example, to overwrite your own settings:": "", "service %s/%s has no node port": "", @@ -266,6 +267,7 @@ "unable to set logtostderr": "", "unset failed": "", "unsupported driver: %s": "", + "unsupported driver: {{.name}}": "", "update config": "", "usage: minikube addons configure ADDON_NAME": "", "usage: minikube addons disable ADDON_NAME": "", @@ -277,5 +279,11 @@ "usage: minikube delete": "", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "", "zsh completion failed": "", - "{{.msg}}: {{.err}}": "" + "{{.addonName}} was successfully enabled": "", + "{{.error}}": "", + "{{.msg}}: {{.err}}": "", + "{{.name}} cluster does not exist": "", + "{{.type}} is not yet a supported filesystem. We will try anyways!": "", + "{{.url}}": "", + "{{.url}} is not accessible: {{.error}}": "" } \ No newline at end of file