Merge pull request #36923 from a-mccarthy/fix-36903

Fix URL in navbar-version-selector.html to point to correct localization
pull/37103/head
Kubernetes Prow Robot 2022-09-30 06:08:29 -07:00 committed by GitHub
commit 24540ba388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -298,6 +298,9 @@ other = "End Of Life Date"
[release_full_details_initial_text]
other = "Complete"
[release_information_navbar]
other = "Release Information"
[release_minor_version]
other = "Minor Version"

View File

@ -3,8 +3,8 @@
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
{{ $p := . }}
<a class="dropdown-item" href="/releases">Release Information</a>
<a class="dropdown-item" href="{{ "releases" | relLangURL }}">{{ i18n "release_information_navbar" . }}</a>
{{ range .Site.Params.versions }}
<a class="dropdown-item" href="{{ .url }}{{ $p.RelPermalink }}">{{ .version }}</a>
{{ end }}
</div>
</div>