Substitute en.toml for pedefined english shortcodes (#12418)

Rev Substitute en.toml for pedefined english shortcodes

Remove prefix Substitute en.toml for pedefined english shortcodes

Rev minor Substitute en.toml for pedefined english shortcodes
This commit is contained in:
Seokho
2019-02-15 10:32:53 +09:00
committed by Kubernetes Prow Robot
parent faa86d2d01
commit bdd953f0d3
7 changed files with 76 additions and 9 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
<blockquote class="caution">
<div><strong>Caution:</strong> {{ .Inner | markdownify }}</div>
</blockquote>
<div><strong>{{ T "caution" }}</strong> {{ .Inner | markdownify }}</div>
</blockquote>
+3 -2
View File
@@ -3,8 +3,9 @@
<main>
<div class="content deprecation-warning">
<h3>
Documentation for Kubernetes {{ .Page.Param "version" }} is no longer actively maintained. The version you are currently viewing is a static snapshot.
For up-to-date documentation, see the <a href="{{ site.Params.currentUrl }}">latest</a> version.
Kubernetes {{ .Param "version" }}
{{ T "deprecation_warning" }}
<a href="{{ site.Params.currentUrl }}">{{ T "latest_version" }}</a>
</h3>
</div>
</main>
+1 -1
View File
@@ -1,3 +1,3 @@
<blockquote class="note">
<div><strong>Note:</strong> {{ .Inner | markdownify }}</div>
<div><strong>{{ T "note" }}</strong> {{ .Inner | markdownify }}</div>
</blockquote>
+3 -3
View File
@@ -1,6 +1,6 @@
{{ $minVersion := .Page.Param "min-kubernetes-server-version" }}
{{ if eq $minVersion (.Page.Param "version") }}
Your Kubernetes server must be version {{ $minVersion }}.
{{ T "version_check_mustbe" }}{{ $minVersion }}.
{{ else if $minVersion}}
Your Kubernetes server must be version {{ $minVersion }} or later.
{{ end }} To check the version, enter <code>kubectl version</code>.
{{ T "version_check_mustbeorlater" }}{{ $minVersion }}.
{{ end }} {{ T "version_check_tocheck" }}<code>kubectl version</code>.
+1 -1
View File
@@ -1,3 +1,3 @@
<blockquote class="warning">
<div><strong>Warning:</strong> {{ .Inner | markdownify }}</div>
<div><strong>{{ T "warning" }}</strong> {{ .Inner | markdownify }}</div>
</blockquote>