diff --git a/pkg/minikube/bootstrapper/kubeadm/kubeadm.go b/pkg/minikube/bootstrapper/kubeadm/kubeadm.go index 42f9f80417..ce1e2c4720 100644 --- a/pkg/minikube/bootstrapper/kubeadm/kubeadm.go +++ b/pkg/minikube/bootstrapper/kubeadm/kubeadm.go @@ -297,13 +297,12 @@ func outputKubeadmInitSteps(logs io.Reader, wg *sync.WaitGroup) { type step struct { logTag string registerStep register.RegStep - stepMessage string } steps := []step{ - {logTag: "certs", registerStep: register.PreparingKubernetesCerts, stepMessage: "Generating certificates and keys ..."}, - {logTag: "control-plane", registerStep: register.PreparingKubernetesControlPlane, stepMessage: "Booting up control plane ..."}, - {logTag: "bootstrap-token", registerStep: register.PreparingKubernetesBootstrapToken, stepMessage: "Configuring RBAC rules ..."}, + {logTag: "certs", registerStep: register.PreparingKubernetesCerts}, + {logTag: "control-plane", registerStep: register.PreparingKubernetesControlPlane}, + {logTag: "bootstrap-token", registerStep: register.PreparingKubernetesBootstrapToken}, } nextStepIndex := 0 @@ -318,7 +317,17 @@ func outputKubeadmInitSteps(logs io.Reader, wg *sync.WaitGroup) { continue } register.Reg.SetStep(nextStep.registerStep) - out.Step(style.SubStep, nextStep.stepMessage) + // because the translation extract (make extract) needs simple strings to be included in translations we have to pass simple strings + if nextStepIndex == 0 { + out.Step(style.SubStep, "Generating certificates and keys ...") + } + if nextStepIndex == 1 { + out.Step(style.SubStep, "Booting up control plane ...") + } + if nextStepIndex == 2 { + out.Step(style.SubStep, "Configuring RBAC rules ...") + } + nextStepIndex++ } wg.Done() diff --git a/translations/de.json b/translations/de.json index 9f552ac282..604e386163 100644 --- a/translations/de.json +++ b/translations/de.json @@ -63,6 +63,7 @@ "Basic Commands:": "", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", "Bind Address: {{.Address}}": "", + "Booting up control plane ...": "", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -87,6 +88,7 @@ "Configure environment to use minikube's Docker daemon": "", "Configure environment to use minikube's Podman service": "", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "", + "Configuring RBAC rules ...": "", "Configuring local host environment ...": "", "Configuring {{.name}} (Container Networking Interface) ...": "", "Confirm that you have a working internet connection and that your VM has not run out of resources by using: 'minikube logs'": "", @@ -273,6 +275,7 @@ "Generate command completion for a shell": "", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "", "Get or list the current profiles (clusters)": "", "Gets the logs of the running instance, used for debugging minikube, not user code.": "", "Gets the status of a local Kubernetes cluster": "", diff --git a/translations/es.json b/translations/es.json index 11d553bdc3..04d8973ad7 100644 --- a/translations/es.json +++ b/translations/es.json @@ -64,6 +64,7 @@ "Basic Commands:": "Comandos basicos:", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Porque estás usando controlador Docker en {{.operating_system}}, la terminal debe abrirse para ejecutarlo.", "Bind Address: {{.Address}}": "Dirección de enlace: {{.Address}}", + "Booting up control plane ...": "", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "Ambos driver={{.driver}} y vm-driver={{.vmd}} han sido establecidos.\n\n vm-driver ya es obsoleto, el por defecto de minikube será driver={{.driver}}.\n\n Si vm-driver está establecido en la configuracion global, ejecuta \"minikube config unset vm-driver\" para resolver esta advertencia.\n\t\t\t", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -88,6 +89,7 @@ "Configure environment to use minikube's Docker daemon": "Configura un entorno para usar el Docker daemon de minikube", "Configure environment to use minikube's Podman service": "Configura un entorno para usar el servicio Podman de minikube", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "Configura los complementos dentro de minikube con ADDON_NAME (Por ejemplo: minikube addons configure registry-creds). Para ver los complementos disponibles usa: minikube addons list", + "Configuring RBAC rules ...": "", "Configuring local host environment ...": "Configuranto entorno del host local ...", "Configuring {{.name}} (Container Networking Interface) ...": "Configurando CNI {{.name}} ...", "Confirm that you have a working internet connection and that your VM has not run out of resources by using: 'minikube logs'": "Confirma que su conexión a internet funciona y que su VM no se quedó sin recursos con: 'minikube logs'", @@ -278,6 +280,7 @@ "Generate command completion for a shell": "", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "", "Get or list the current profiles (clusters)": "", "Gets the logs of the running instance, used for debugging minikube, not user code.": "", "Gets the status of a local Kubernetes cluster": "", diff --git a/translations/fr.json b/translations/fr.json index 777805cbde..17de29e3bb 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -64,6 +64,7 @@ "Basic Commands:": "Commandes basiques :", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Comme vous utilisez un pilote Docker sur {{.operating_system}}, le terminal doit être ouvert pour l'exécuter.", "Bind Address: {{.Address}}": "Adresse de liaison : {{.Address}}", + "Booting up control plane ...": "Démarrage du plan de contrôle ...", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -88,6 +89,7 @@ "Configure environment to use minikube's Docker daemon": "", "Configure environment to use minikube's Podman service": "", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "", + "Configuring RBAC rules ...": "Configuration des règles RBAC ...", "Configuring environment for Kubernetes {{.k8sVersion}} on {{.runtime}} {{.runtimeVersion}}": "Configuration de l'environment pour Kubernetes {{.k8sVersion}} sur {{.runtime}} {{.runtimeVersion}}", "Configuring local host environment ...": "", "Configuring {{.name}} (Container Networking Interface) ...": "", @@ -142,7 +144,7 @@ "Docs have been saved at - {{.path}}": "", "Documentation: {{.url}}": "", "Done! kubectl is now configured to use \"{{.name}}\"": "Terminé ! kubectl est maintenant configuré pour utiliser \"{{.name}}\".", - "Done! kubectl is now configured to use \"{{.name}}\" cluster and \"{{.ns}}\" namespace by default": "", + "Done! kubectl is now configured to use \"{{.name}}\" cluster and \"{{.ns}}\" namespace by default": "Terminé ! kubectl est maintenant configuré pour utiliser \"{{.name}}\" cluster et espace de noms \"{{.ns}}\" par défaut.", "Download complete!": "Téléchargement terminé !", "Downloading Kubernetes {{.version}} preload ...": "", "Downloading VM boot image ...": "", @@ -160,7 +162,7 @@ "Enable or disable a minikube addon": "", "Enable proxy for NAT DNS requests (virtualbox driver only)": "Active le proxy pour les requêtes DNS NAT (pilote VirtualBox uniquement).", "Enable the default CNI plugin (/etc/cni/net.d/k8s.conf). Used in conjunction with \\\"--network-plugin=cni\\": "Active le plug-in CNI par défaut (/etc/cni/net.d/k8s.conf). Utilisé en association avec \\\"--network-plugin=cni\\\".", - "Enabled addons: {{.addons}}": "", + "Enabled addons: {{.addons}}": "Addons activés: {{.addons}}", "Enables the addon w/ADDON_NAME within minikube. For a list of available addons use: minikube addons list ": "", "Enabling '{{.name}}' returned an error: {{.error}}": "", "Enabling addons: {{.addons}}": "Installation des addons: {{.addons}}", @@ -275,6 +277,7 @@ "Generate command completion for a shell": "", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "Générer des certificats et des clés ...", "Get or list the current profiles (clusters)": "", "Gets the logs of the running instance, used for debugging minikube, not user code.": "", "Gets the status of a local Kubernetes cluster": "", @@ -746,7 +749,7 @@ "Userspace file server is shutdown": "", "Userspace file server: ": "", "Using image repository {{.name}}": "Utilisation du dépôt d'images {{.name}}…", - "Using image {{.registry}}{{.image}}": "", + "Using image {{.registry}}{{.image}}": "Utilisation de l'image {{.registry}}{{.image}}", "Using image {{.registry}}{{.image}} (global image repository)": "", "Using the '{{.runtime}}' runtime with the 'none' driver is an untested configuration!": "", "Using the {{.driver}} driver based on existing profile": "Utilisation du pilote {{.driver}} basé sur le profil existant", @@ -756,7 +759,7 @@ "Validate your KVM networks. Run: virt-host-validate and then virsh net-list --all": "", "Validation unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Verify that your HTTP_PROXY and HTTPS_PROXY environment variables are set correctly.": "", - "Verifying Kubernetes components...": "", + "Verifying Kubernetes components...": "Vérification des composants Kubernetes...", "Verifying dashboard health ...": "", "Verifying proxy health ...": "", "Verifying {{.addon_name}} addon...": "", diff --git a/translations/ja.json b/translations/ja.json index 8848a2c228..1117096f08 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -62,6 +62,7 @@ "Basic Commands:": "基本的なコマンド:", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Dockerドライバーを{{.operating_system}}上で動かしているため、実行するにはターミナルを開く必要があります。", "Bind Address: {{.Address}}": "アドレスをバインドします: {{.Address}}", + "Booting up control plane ...": "", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -86,6 +87,7 @@ "Configure environment to use minikube's Docker daemon": "minikube の Docker デーモンを使うように環境を設定します", "Configure environment to use minikube's Podman service": "minikube の Podman サービスを使うように環境を設定します", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "", + "Configuring RBAC rules ...": "", "Configuring local host environment ...": "", "Configuring {{.name}} (Container Networking Interface) ...": "", "Confirm that you have a working internet connection and that your VM has not run out of resources by using: 'minikube logs'": "", @@ -263,6 +265,7 @@ "Generate command completion for a shell": "シェルのコマンド補完コードを生成します", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "", "Get or list the current profiles (clusters)": "現在指定しているクラスタプロファイルを取得、またはリストアップします", "Gets the logs of the running instance, used for debugging minikube, not user code.": "", "Gets the status of a local Kubernetes cluster": "ローカル Kubernetes クラスタの状態を取得します", diff --git a/translations/ko.json b/translations/ko.json index c9f651a8a1..e9505ffc69 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -69,6 +69,7 @@ "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", "Bind Address: {{.Address}}": "", "Block until the apiserver is servicing API requests": "apiserver 가 API 요청을 서비스할 때까지 막습니다", + "Booting up control plane ...": "", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -95,6 +96,7 @@ "Configure environment to use minikube's Docker daemon": "", "Configure environment to use minikube's Podman service": "", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "", + "Configuring RBAC rules ...": "", "Configuring local host environment ...": "로컬 환경 변수를 구성하는 중 ...", "Configuring {{.name}} (Container Networking Interface) ...": "", "Confirm that you have a working internet connection and that your VM has not run out of resources by using: 'minikube logs'": "", @@ -296,6 +298,7 @@ "Generate command completion for a shell": "", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "", "Get or list the current profiles (clusters)": "", "Gets the logs of the running instance, used for debugging minikube, not user code.": "", "Gets the status of a local Kubernetes cluster": "로컬 쿠버네티스 클러스터의 상태를 가져옵니다", diff --git a/translations/pl.json b/translations/pl.json index 96aa30fe73..46c82fb3b3 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -67,6 +67,7 @@ "Basic Commands:": "Podstawowe polecenia", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", "Bind Address: {{.Address}}": "", + "Booting up control plane ...": "", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -92,6 +93,7 @@ "Configure environment to use minikube's Docker daemon": "", "Configure environment to use minikube's Podman service": "", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "", + "Configuring RBAC rules ...": "", "Configuring environment for Kubernetes {{.k8sVersion}} on {{.runtime}} {{.runtimeVersion}}": "Konfigurowanie środowiska dla Kubernetesa w wersji {{.k8sVersion}} na {{.runtime}} {{.runtimeVersion}}", "Configuring local host environment ...": "Konfigurowanie lokalnego środowiska hosta...", "Configuring {{.name}} (Container Networking Interface) ...": "", @@ -283,6 +285,7 @@ "Generate command completion for a shell": "", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "", "Get or list the current profiles (clusters)": "", "Gets the logs of the running instance, used for debugging minikube, not user code.": "Pobiera logi z aktualnie uruchomionej instancji. Przydatne do debugowania kodu, który nie należy do aplikacji użytkownika", "Gets the status of a local Kubernetes cluster": "", diff --git a/translations/strings.txt b/translations/strings.txt index 19d2272c8a..3f8b308f78 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -59,6 +59,7 @@ "Basic Commands:": "", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", "Bind Address: {{.Address}}": "", + "Booting up control plane ...": "", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -83,6 +84,7 @@ "Configure environment to use minikube's Docker daemon": "", "Configure environment to use minikube's Podman service": "", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "", + "Configuring RBAC rules ...": "", "Configuring local host environment ...": "", "Configuring {{.name}} (Container Networking Interface) ...": "", "Confirm that you have a working internet connection and that your VM has not run out of resources by using: 'minikube logs'": "", @@ -254,6 +256,7 @@ "Generate command completion for a shell": "", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "", "Get or list the current profiles (clusters)": "", "Gets the logs of the running instance, used for debugging minikube, not user code.": "", "Gets the status of a local Kubernetes cluster": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index 520a4de561..c49e7fb82f 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -79,6 +79,7 @@ "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", "Bind Address: {{.Address}}": "绑定地址:{{.Address}}", "Block until the apiserver is servicing API requests": "阻塞直到 apiserver 为 API 请求提供服务", + "Booting up control plane ...": "", "Both driver={{.driver}} and vm-driver={{.vmd}} have been set.\n\n Since vm-driver is deprecated, minikube will default to driver={{.driver}}.\n\n If vm-driver is set in the global config, please run \"minikube config unset vm-driver\" to resolve this warning.\n\t\t\t": "", "Build a container image in minikube": "", "Build a container image, using the container runtime.": "", @@ -109,6 +110,7 @@ "Configure environment to use minikube's Docker daemon": "配置环境以使用 minikube's Docker daemon", "Configure environment to use minikube's Podman service": "配置环境以使用 minikube's Podman service", "Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "在 minikube 中配置插件 w/ADDON_NAME(例如:minikube addons configure registry-creds)。查看相关可用的插件列表,请使用:minikube addons list", + "Configuring RBAC rules ...": "", "Configuring environment for Kubernetes {{.k8sVersion}} on {{.runtime}} {{.runtimeVersion}}": "开始为Kubernetes {{.k8sVersion}},{{.runtime}} {{.runtimeVersion}} 配置环境变量", "Configuring local host environment ...": "开始配置本地主机环境...", "Configuring {{.name}} (Container Networking Interface) ...": "", @@ -348,6 +350,7 @@ "Generate command completion for a shell": "", "Generate unable to parse disk size '{{.diskSize}}': {{.error}}": "", "Generate unable to parse memory '{{.memory}}': {{.error}}": "", + "Generating certificates and keys ...": "", "Get or list the current profiles (clusters)": "", "Gets the kubernetes URL(s) for the specified service in your local cluster": "获取本地集群中指定服务的 kubernetes URL", "Gets the kubernetes URL(s) for the specified service in your local cluster. In the case of multiple URLs they will be printed one at a time.": "获取本地集群中指定服务的 kubernetes URL。如果有多个 URL,他们将一次打印一个",