Merge pull request #7668 from afbjorklund/translate-experimental

Make it possible to translate (experimental)
pull/7669/head
Sharif Elgamal 2020-04-14 15:24:32 -07:00 committed by GitHub
commit 9002a70a49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ import (
"sort"
"github.com/golang/glog"
"k8s.io/minikube/pkg/minikube/translate"
)
const (
@ -74,7 +75,8 @@ type DriverState struct {
func (d DriverState) String() string {
if d.Priority == Experimental {
return fmt.Sprintf("%s (experimental)", d.Name)
experimental := translate.T("experimental")
return fmt.Sprintf("%s (%s)", d.Name, experimental)
}
return d.Name
}