From 95f637dcc5b6c9730a3f2ec47acb177d6c00c1a4 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Thu, 20 May 2021 09:00:18 +0200 Subject: [PATCH] Change from subscibe to follow and make it translateble. --- i18n/ar.toml | 3 +++ i18n/de.toml | 3 +++ i18n/en.toml | 3 +++ i18n/fr.toml | 3 +++ i18n/he.toml | 3 +++ i18n/id.toml | 3 +++ i18n/nb.toml | 3 +++ i18n/pt.toml | 3 +++ i18n/sv.toml | 3 +++ layouts/partials/feedlinks.html | 2 +- 10 files changed, 28 insertions(+), 1 deletion(-) diff --git a/i18n/ar.toml b/i18n/ar.toml index c1a8069..42f7e3c 100644 --- a/i18n/ar.toml +++ b/i18n/ar.toml @@ -52,6 +52,9 @@ other = "محتوى حديث" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "يجب تفعيل جافاسكريبت في المتصفح لاستخدام هذه الوظيفة." diff --git a/i18n/de.toml b/i18n/de.toml index 07a9385..5eb00be 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -52,6 +52,9 @@ other = "Aktuelle Inhalte" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "Javascript muss aktiviert sein um dieses Kontaktformular zu nutzen." diff --git a/i18n/en.toml b/i18n/en.toml index 1db5c38..4035573 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -52,6 +52,9 @@ other = "Recent content" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "You must have Javascript enabled to use this function." diff --git a/i18n/fr.toml b/i18n/fr.toml index 45ab899..4fc49bc 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -52,6 +52,9 @@ other = "Contenu récent" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "Javascript doit être activé pour utiliser ce formulaire de contact." diff --git a/i18n/he.toml b/i18n/he.toml index 3109f9c..b3431e4 100644 --- a/i18n/he.toml +++ b/i18n/he.toml @@ -52,6 +52,9 @@ other = "תוכן מעודכן" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "javascript פונקציה זו חייבת" diff --git a/i18n/id.toml b/i18n/id.toml index 6cb9654..245754e 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -52,6 +52,9 @@ other = "Konten Terkini" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "Anda harus mengaktifkan Javascript untuk menggunakan fasilitas ini." diff --git a/i18n/nb.toml b/i18n/nb.toml index e50ab88..6aaf6b1 100644 --- a/i18n/nb.toml +++ b/i18n/nb.toml @@ -52,6 +52,9 @@ other = "Siste innhold" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "Du må ha skrudd på Javascript for å bruke denne funksjonen." diff --git a/i18n/pt.toml b/i18n/pt.toml index 818f70d..25ec63a 100644 --- a/i18n/pt.toml +++ b/i18n/pt.toml @@ -53,6 +53,9 @@ other = "Conteúdo recente" [string_see_also] other = "See also" +[string_follow] +other = "Follow" + [js_required] other = "Você deve ter o Javascript habilitado para usar este formulário de contato" diff --git a/i18n/sv.toml b/i18n/sv.toml index f2a8cd8..6579b1d 100644 --- a/i18n/sv.toml +++ b/i18n/sv.toml @@ -52,6 +52,9 @@ other = "Senaste innehåll" [string_see_also] other = "Se också" +[string_follow] +other = "Följ" + [js_required] other = "Du behöver ha Javascript aktiverat för att använda denna funktion." diff --git a/layouts/partials/feedlinks.html b/layouts/partials/feedlinks.html index 5bb25c1..ff3a720 100644 --- a/layouts/partials/feedlinks.html +++ b/layouts/partials/feedlinks.html @@ -1,7 +1,7 @@ {{ $list := .AlternativeOutputFormats -}} {{ $length := (len $list) -}} {{ if $list -}} -

Subscribe{{ with .Section }} to section {{ . }}{{ end }}: {{ range $index, $element := $list -}} +

{{ i18n "string_follow" }}{{ with .Section }} {{ . }}{{ end }}: {{ range $index, $element := $list -}} {{ .Name }}{{ if ne (add $index 1) $length }} | {{ end }} {{- end -}}