Make FEATURE STATE localizable

Add i18n string for FEATURE STATE, for ease of localization.
pull/32080/head
Qiming Teng 2022-03-03 18:47:11 +08:00
parent 2623a94d45
commit 8311f4324c
2 changed files with 5 additions and 2 deletions

View File

@ -69,6 +69,9 @@ other = "Were you looking for:"
[examples_heading]
other = "Examples"
[feature_state]
other = "FEATURE STATE:"
[feedback_heading]
other = "Feedback"
@ -269,4 +272,4 @@ other = "Versions"
other = "Warning:"
[whatsnext_heading]
other = "What's next"
other = "What's next"

View File

@ -6,6 +6,6 @@
{{ errorf "%q is not a valid feature-state, use one of %q" $state $valid_states }}
{{ else }}
<div style="margin-top: 10px; margin-bottom: 10px;">
<b>FEATURE STATE:</b> <code>Kubernetes {{ $for_k8s_version }} [{{ $state }}]</code>
<b>{{ T "feature_state" }}</b> <code>Kubernetes {{ $for_k8s_version }} [{{ $state }}]</code>
</div>
{{ end }}