From 54ab0eba98150c1914ce1eafb0d47fb3cc5077f8 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Tue, 4 Jun 2024 01:58:03 -0700 Subject: [PATCH] Internationalize "Recent content" --- i18n/en.yaml | 3 +++ layouts/_default/list.rss.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/en.yaml b/i18n/en.yaml index 44718487..2f06d36d 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -29,6 +29,9 @@ paige_pages: paige_pinned_page: other: Pinned page +paige_recent_content: + other: Recent content + paige_search_button: other: Search diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml index bb4b9431..ef864d4f 100644 --- a/layouts/_default/list.rss.xml +++ b/layouts/_default/list.rss.xml @@ -1,7 +1,7 @@ {{ $page := . }} {{ $copyright := site.Copyright | markdownify | plainify | htmlUnescape }} -{{ $description := or $page.Description "Recent content" }} +{{ $description := or $page.Description (i18n "paige_recent_content") }} {{ $format := "Mon, 02 Jan 2006 15:04:05 MST" }} {{ $language := site.LanguageCode | default site.Language.Lang }} {{ $lastbuilddate := false }}