From 64f794256c271e8d88836d71f971037043262baa Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 12 Feb 2022 23:12:55 +0100 Subject: [PATCH] Translate title of theme settings page --- app/views/user/edit_theme.haml | 6 +++--- config/locales/views.en.yml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/user/edit_theme.haml b/app/views/user/edit_theme.haml index e4060ce2..6dd17ba8 100644 --- a/app/views/user/edit_theme.haml +++ b/app/views/user/edit_theme.haml @@ -1,4 +1,4 @@ -= render 'settings/theme' += render "settings/theme" -- provide(:title, generate_title('Theme Settings')) -- parent_layout 'user/settings' +- provide(:title, generate_title(t(".title"))) +- parent_layout "user/settings" diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index a54a55f5..c6aeb524 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -55,3 +55,5 @@ en: user: edit: title: "Profile Settings" + edit_theme: + title: "Theme Settings"