From 1da8b503c15b446fab2708ae054989d2682b90e9 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 19 Mar 2023 18:55:45 -0700 Subject: [PATCH] Add paige_pinned_page translation --- i18n/de.yaml | 3 +++ i18n/en.yaml | 3 +++ layouts/partials/paige/page.html | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/de.yaml b/i18n/de.yaml index bf9f3263..b968dfc1 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -20,6 +20,9 @@ paige_noscript: paige_pages: other: Seiten +paige_pinned_page: + other: Angeheftete seite + paige_search_button: other: Suche diff --git a/i18n/en.yaml b/i18n/en.yaml index aecf59f7..c990d854 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -20,6 +20,9 @@ paige_noscript: paige_pages: other: Pages +paige_pinned_page: + other: Pinned page + paige_search_button: other: Search diff --git a/layouts/partials/paige/page.html b/layouts/partials/paige/page.html index 29c191b0..7c0d0d70 100644 --- a/layouts/partials/paige/page.html +++ b/layouts/partials/paige/page.html @@ -48,7 +48,7 @@
{{ with $title }} -

{{ if $pinned -}} Pinned page {{ end }}{{ . }}

+

{{ if $pinned -}} {{ i18n "paige_pinned_page" }} {{ end }}{{ . }}

{{ end }} {{ with $description }}