-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
While working on the Ukrainian translation of the minikube UI, I encountered an issue: that not all strings that need to be localized are present in strings.txt and the corresponding language *.json files. Some of them can be added to *.json manually, for example, as shown here.
Line 48 in 71227b2
"A set of key=value pairs that describe configuration that may be passed to different components.\nThe key should be '.' separated, and the first part before the dot is the component to apply the configuration to.\nValid components are: kubelet, kubeadm, apiserver, controller-manager, etcd, proxy, scheduler\nValid kubeadm parameters:": "Eine Reihe von Schlüssel/Wert-Paaren, die eine Konfiguration beschreiben, die an verschiedene Komponenten weitergegeben wird.\nDer Schlüssel sollte durch \".\" getrennt werden. Der erste Teil vor dem Punkt bezeichnet die Komponente, auf die die Konfiguration angewendet wird.\nGültige Komponenten sind: kubelet, kubeadm, apiserver, controller-manager, etcd, proxy, scheduler\nGültige Parameter für kubeadm:", |
source:
minikube/cmd/minikube/cmd/start_flags.go
Lines 220 to 224 in 71227b2
startCmd.Flags().Var(&config.ExtraOptions, "extra-config", | |
`A set of key=value pairs that describe configuration that may be passed to different components. | |
The key should be '.' separated, and the first part before the dot is the component to apply the configuration to. | |
Valid components are: kubelet, kubeadm, apiserver, controller-manager, etcd, proxy, scheduler | |
Valid kubeadm parameters: `+fmt.Sprintf("%s, %s", strings.Join(bsutil.KubeadmExtraArgsAllowed[bsutil.KubeadmCmdParam], ", "), strings.Join(bsutil.KubeadmExtraArgsAllowed[bsutil.KubeadmConfigParam], ","))) |
I would be very grateful if "make extract" would extract all strings that are subject to localization.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.