From 32738ce835858065abd19698657c57b8e4746952 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 1 Jan 2023 12:58:41 -0800 Subject: [PATCH] Add more translations --- i18n/en.toml | 6 ++++++ layouts/partials/group.html | 2 +- layouts/search/single.html | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/i18n/en.toml b/i18n/en.toml index 06de036..caa22d4 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -50,3 +50,9 @@ [note] other = "note" + +[from] + other = "From" + +[searchRequiresJS] + other = "Search (requires JavaScript)" diff --git a/layouts/partials/group.html b/layouts/partials/group.html index f17e544..2a0b25f 100644 --- a/layouts/partials/group.html +++ b/layouts/partials/group.html @@ -1,3 +1,3 @@
-
From {{ path.Base .path }}{{ .comment }}
{{ .content }} +
{{ i18n "from" }} {{ path.Base .path }}{{ .comment }}
{{ .content }}
diff --git a/layouts/search/single.html b/layouts/search/single.html index 415aef5..5fe1735 100644 --- a/layouts/search/single.html +++ b/layouts/search/single.html @@ -7,7 +7,7 @@
- +