Translate title of theme settings page

This commit is contained in:
Andreas Nedbal 2022-02-12 23:12:55 +01:00 committed by Andreas Nedbal
parent 41abdb4967
commit 64f794256c
2 changed files with 5 additions and 3 deletions

View File

@ -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"

View File

@ -55,3 +55,5 @@ en:
user:
edit:
title: "Profile Settings"
edit_theme:
title: "Theme Settings"