Make ICP license leader text localizable

Don't assume we'll use English text to introduce the ICP license.
pull/45944/head
Tim Bannister 2024-04-21 11:37:58 +01:00
parent 9a9038fb77
commit b0c35d4d24
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 }}