From e4967c3ece94116159bc582b2d39c56e9bf2f864 Mon Sep 17 00:00:00 2001 From: Jean-Yves Gastaud Date: Wed, 27 Feb 2019 10:45:43 +0100 Subject: [PATCH] Allow translation of kubeweekly block (#12873) --- i18n/en.toml | 6 ++++++ layouts/index.html | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/i18n/en.toml b/i18n/en.toml index 63f7cb7d1f..283eeb7262 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -72,6 +72,12 @@ other = "Kubernetes Features" [main_cncf_project] other = """We are a CNCF graduated project

""" +[main_kubeweekly_baseline] +other = "Interested in receiving the latest Kubernetes news? Sign up for KubeWeekly." + +[main_kubernetes_past_link] +other = "View past newsletters" + [main_kubeweekly_signup] other = "Subscribe" diff --git a/layouts/index.html b/layouts/index.html index 47491aafb0..405eaa2092 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -22,7 +22,7 @@
-

Interested in receiving the latest Kubernetes news? Sign up for KubeWeekly.

+

{{ T "main_kubeweekly_baseline" }}


@@ -30,7 +30,7 @@
-
View past newsletters
+
{{ T "main_kubeweekly_past_link" }}