Skip to content

Commit 3668b41

Browse files
authored
Merge pull request #32080 from tengqm/feature-state-i18n
Make FEATURE STATE localizable
2 parents 9a9870b + 8311f43 commit 3668b41

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

data/i18n/en/en.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ other = "Were you looking for:"
6969
[examples_heading]
7070
other = "Examples"
7171

72+
[feature_state]
73+
other = "FEATURE STATE:"
74+
7275
[feedback_heading]
7376
other = "Feedback"
7477

@@ -269,4 +272,4 @@ other = "Versions"
269272
other = "Warning:"
270273

271274
[whatsnext_heading]
272-
other = "What's next"
275+
other = "What's next"

layouts/shortcodes/feature-state.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
{{ errorf "%q is not a valid feature-state, use one of %q" $state $valid_states }}
77
{{ else }}
88
<div style="margin-top: 10px; margin-bottom: 10px;">
9-
<b>FEATURE STATE:</b> <code>Kubernetes {{ $for_k8s_version }} [{{ $state }}]</code>
9+
<b>{{ T "feature_state" }}</b> <code>Kubernetes {{ $for_k8s_version }} [{{ $state }}]</code>
1010
</div>
1111
{{ end }}

0 commit comments

Comments
 (0)