From 8557dc4399624ad9b5fe6f68c69c43f08365b60c Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 12 Aug 2020 19:15:14 -0700 Subject: [PATCH] Replace more hardcoded strings with their i18nized versions. --- themes/vanilla/i18n/en.toml | 3 +++ themes/vanilla/i18n/ru.toml | 3 +++ themes/vanilla/layouts/index.html | 2 +- themes/vanilla/layouts/tags/terms.html | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/themes/vanilla/i18n/en.toml b/themes/vanilla/i18n/en.toml index bfe03ad..fa44c4c 100644 --- a/themes/vanilla/i18n/en.toml +++ b/themes/vanilla/i18n/en.toml @@ -10,6 +10,9 @@ other = "Resume" [Tags] other = "Tags" +[RecentPosts] +other = "Recent posts" + [AllPosts] other = "All Posts" diff --git a/themes/vanilla/i18n/ru.toml b/themes/vanilla/i18n/ru.toml index 893a981..5560fad 100644 --- a/themes/vanilla/i18n/ru.toml +++ b/themes/vanilla/i18n/ru.toml @@ -10,6 +10,9 @@ other = "Резюме" [Tags] other = "Метки" +[RecentPosts] +other = "Недавние статьи" + [AllPosts] other = "Все Статьи" diff --git a/themes/vanilla/layouts/index.html b/themes/vanilla/layouts/index.html index f0c3101..dbbe7c9 100644 --- a/themes/vanilla/layouts/index.html +++ b/themes/vanilla/layouts/index.html @@ -1,7 +1,7 @@ {{ define "main" }} {{ .Content }} -Recent posts: +{{ i18n "RecentPosts" }}: