Fix release-data i18n

pull/36375/head
Rolfe Dlugy-Hegwer 2022-08-29 22:41:44 -04:00 committed by Rolfe Dlugy-Hegwer
parent d3f2e3c80b
commit b6299f907b
2 changed files with 27 additions and 4 deletions

View File

@ -1,5 +1,13 @@
# i18n strings for the English (main) site.
# NOTE: Please keep the entries in alphabetical order when editing
# Avoid using conjunction_1.
# Must match the context in layouts/shortcodes/release-data.html
# Appears on https://kubernetes.io/releases/
# For example the "and" in "Complete 1.25 Schedule and Changelog"
[conjunction_1]
other = "and"
[caution]
other = "Caution:"
@ -262,6 +270,21 @@ other = "(released: "
[release_date_format]
other = "2006-01-02"
# Deprecated. Planned for removal in a future release.
# Use [release_full_details_initial_text] instead.
[release_complete]
other = "Complete"
# Replace [release_complete] with [release_full_details_initial_text]
[release_full_details_initial_text]
other = "Complete"
[release_schedule]
other = "Schedule"
[release_changelog]
other = "Changelog"
[seealso_heading]
other = "See Also"

View File

@ -33,10 +33,10 @@
</div>
{{- end -}}
<!-- not yet localized, mark as English -->
<p lang="en">
Complete {{ $dataVersion }} <a href="/releases/patch-releases/#{{ replace $dataVersion `.` `-` }}">Schedule</a>
and <a href="https://git.k8s.io/kubernetes/CHANGELOG/CHANGELOG-{{ $dataVersion }}.md">Changelog</a>
<p>
{{ T "release_full_details_initial_text" }} {{ $dataVersion }}
<a href="/releases/patch-releases/#{{ replace $dataVersion `.` `-` }}">{{ T "release_schedule" }}</a> {{ T "conjunction_1" }}
<a hreflang="en" href="https://git.k8s.io/kubernetes/CHANGELOG/CHANGELOG-{{ $dataVersion }}.md">{{ T "release_changelog" }}</a>
</p>
</div>