Skip to content

Commit 39184d4

Browse files
authored
Merge pull request #45944 from sftim/20240421_localize_icp_license_text
Make ICP license leader text localizable
2 parents e3b010e + b0c35d4 commit 39184d4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

data/i18n/en/en.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ other = "Caution:"
2424
[cleanup_heading]
2525
other = "Cleaning up"
2626

27+
# Localization note (no need to translate this note)
28+
# This is always followed by Chinese text, as required by the Kubernetes
29+
# project's ICP license, issued by the government of the People's Republic
30+
# of China.
31+
[china_icp_license]
32+
other = "ICP license:"
33+
2734
[community_events_calendar]
2835
other = "Events Calendar"
2936

layouts/partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<br/>
3131
{{ with .Site.Params.copyright_linux }}<small class="text-white">Copyright &copy; {{ now.Year }} {{ T "main_copyright_notice" | safeHTML }}</small>{{ end }}
3232
<br/>
33-
<small class="text-white">ICP license: 京ICP备17074266号-3</small>
33+
<small class="text-white">{{ T "china_icp_license" }} 京ICP备17074266号-3</small>
3434
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
3535
{{ if not .Site.Params.ui.footer_about_disable }}
3636
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}

0 commit comments

Comments
 (0)