Merge pull request #45944 from sftim/20240421_localize_icp_license_text

Make ICP license leader text localizable
pull/45770/head
Kubernetes Prow Robot 2024-04-21 20:25:54 -07:00 committed by GitHub
commit 39184d4358
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -24,6 +24,13 @@ other = "Caution:"
[cleanup_heading]
other = "Cleaning up"
# Localization note (no need to translate this note)
# This is always followed by Chinese text, as required by the Kubernetes
# project's ICP license, issued by the government of the People's Republic
# of China.
[china_icp_license]
other = "ICP license:"
[community_events_calendar]
other = "Events Calendar"

View File

@ -30,7 +30,7 @@
<br/>
{{ with .Site.Params.copyright_linux }}<small class="text-white">Copyright &copy; {{ now.Year }} {{ T "main_copyright_notice" | safeHTML }}</small>{{ end }}
<br/>
<small class="text-white">ICP license: 京ICP备17074266号-3</small>
<small class="text-white">{{ T "china_icp_license" }} 京ICP备17074266号-3</small>
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
{{ if not .Site.Params.ui.footer_about_disable }}
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}