From 3e009e3e8bf68fe3f2b3ebe7f8db3d8206b79b61 Mon Sep 17 00:00:00 2001 From: yheuhtozr <84892012+yheuhtozr@users.noreply.github.com> Date: Tue, 19 Oct 2021 03:32:57 +0900 Subject: [PATCH] views/reading_list_items i18n (#15041) * views/reading_list_items i18n * remove ja.yml * reading list items PR typo fix --- app/views/reading_list_items/index.html.erb | 12 ++++++------ config/locales/views/misc/en.yml | 6 ++++++ config/locales/views/misc/fr.yml | 6 ++++++ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/app/views/reading_list_items/index.html.erb b/app/views/reading_list_items/index.html.erb index 70963f5e9..177ce94cd 100644 --- a/app/views/reading_list_items/index.html.erb +++ b/app/views/reading_list_items/index.html.erb @@ -1,20 +1,20 @@ -<% title "Reading List" %> +<% title t("views.reading_list.meta.title") %> <%= content_for :page_meta do %> " /> - + "> <%= meta_keywords_default %> " /> - - + " /> + " /> "> - - + "> + "> <% end %>
diff --git a/config/locales/views/misc/en.yml b/config/locales/views/misc/en.yml index e4f18785c..0068cdf58 100644 --- a/config/locales/views/misc/en.yml +++ b/config/locales/views/misc/en.yml @@ -26,6 +26,12 @@ en: pinned: "📌 Pinned! (pinned posts display chronologically, 5 max)" removed: "🗑 Pin removed" error: You can only have five pins + reading_list: + meta: + title: Reading List + description: My saved posts. + og: + title: Reading List - %{community} series: meta: description: View %{title} on %{site} diff --git a/config/locales/views/misc/fr.yml b/config/locales/views/misc/fr.yml index bf332480c..14ec29bff 100644 --- a/config/locales/views/misc/fr.yml +++ b/config/locales/views/misc/fr.yml @@ -26,6 +26,12 @@ fr: pinned: "📌 Pinned! (pinned posts display chronologically, 5 max)" removed: "🗑 Pin removed" error: You can only have five pins + reading_list: + meta: + title: Reading List + description: My saved posts. + og: + title: Reading List - %{community} series: meta: description: View %{title} on %{site}