Make "Versions" string on the navbar translatable.
This commit is contained in:
parent
0aa224d0bc
commit
a15b40604c
|
|
@ -210,6 +210,9 @@ other = "Your Kubernetes server must be at or later than version "
|
|||
[version_check_tocheck]
|
||||
other = "To check the version, enter "
|
||||
|
||||
[version_menu]
|
||||
other = "Versions"
|
||||
|
||||
[warning]
|
||||
other = "Warning:"
|
||||
|
||||
|
|
|
|||
11
i18n/ja.toml
11
i18n/ja.toml
|
|
@ -58,6 +58,9 @@ other = "このページは役に立ちましたか?"
|
|||
[feedback_yes]
|
||||
other = "はい"
|
||||
|
||||
[input_placeholder_email_address]
|
||||
other = "メールアドレス"
|
||||
|
||||
[latest_version]
|
||||
other = "最新バージョン"
|
||||
|
||||
|
|
@ -187,11 +190,11 @@ other = "作業するKubernetesサーバーは次のバージョン以降のも
|
|||
[version_check_tocheck]
|
||||
other = "バージョンを確認するには次のコマンドを実行してください: "
|
||||
|
||||
[whatsnext_heading]
|
||||
other = "次の項目"
|
||||
[version_menu]
|
||||
other = "バージョン"
|
||||
|
||||
[warning]
|
||||
other = "警告:"
|
||||
|
||||
[input_placeholder_email_address]
|
||||
other = "メールアドレス"
|
||||
[whatsnext_heading]
|
||||
other = "次の項目"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{{ T "version_menu" }}
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
{{ range .Site.Params.versions }}
|
||||
<a class="dropdown-item" href="{{ .url }}">{{ .version }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
Loading…
Reference in New Issue