Merge pull request #32080 from tengqm/feature-state-i18n

Make FEATURE STATE localizable
This commit is contained in:
Kubernetes Prow Robot
2022-03-07 03:06:53 -08:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -69,6 +69,9 @@ other = "Were you looking for:"
[examples_heading] [examples_heading]
other = "Examples" other = "Examples"
[feature_state]
other = "FEATURE STATE:"
[feedback_heading] [feedback_heading]
other = "Feedback" other = "Feedback"
+1 -1
View File
@@ -6,6 +6,6 @@
{{ errorf "%q is not a valid feature-state, use one of %q" $state $valid_states }} {{ errorf "%q is not a valid feature-state, use one of %q" $state $valid_states }}
{{ else }} {{ else }}
<div style="margin-top: 10px; margin-bottom: 10px;"> <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> </div>
{{ end }} {{ end }}