Merge pull request #7668 from afbjorklund/translate-experimental
Make it possible to translate (experimental)pull/7669/head
commit
9002a70a49
|
@ -22,6 +22,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/golang/glog"
|
"github.com/golang/glog"
|
||||||
|
"k8s.io/minikube/pkg/minikube/translate"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -74,7 +75,8 @@ type DriverState struct {
|
||||||
|
|
||||||
func (d DriverState) String() string {
|
func (d DriverState) String() string {
|
||||||
if d.Priority == Experimental {
|
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
|
return d.Name
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue