Translate lead section of theme settings
This commit is contained in:
parent
64f794256c
commit
78357faed5
|
@ -1,20 +1,13 @@
|
|||
.card
|
||||
.card-body
|
||||
%h1 Theming
|
||||
%p.lead Welcome to the Theme Editor!
|
||||
%p
|
||||
Here you'll be able to modify your Retrospring experience by adjusting all available colors.
|
||||
To further help you with adjusting needs, there are a few example elements using the specified colors, and sections will include
|
||||
descriptions on their general use on the site!
|
||||
|
||||
%p
|
||||
And with that:
|
||||
%b Happy Theming!
|
||||
%h1= t(".heading")
|
||||
%p.lead= t(".lead")
|
||||
= t(".body_html")
|
||||
|
||||
- if current_user.theme
|
||||
.pull-right
|
||||
= button_to 'Delete Theme', delete_user_theme_path, data: { confirm: 'Are you sure?' }, tabindex: -1, method: :delete, class: 'btn btn-danger'
|
||||
= bootstrap_form_for(current_user.theme || Theme.new, url: { action: 'update_theme' }, html: { id: 'update_theme' }, method: :patch) do |f|
|
||||
= button_to t(".delete"), delete_user_theme_path, data: { confirm: t("voc.confirm") }, tabindex: -1, method: :delete, class: "btn btn-danger"
|
||||
= bootstrap_form_for(current_user.theme || Theme.new, url: { action: "update_theme" }, html: { id: "update_theme" }, method: :patch) do |f|
|
||||
.card
|
||||
.card-body
|
||||
%h2 General
|
||||
|
|
|
@ -38,7 +38,6 @@ en:
|
|||
password: "Leave this blank if you don't want to change it"
|
||||
delete:
|
||||
action: "Delete my account"
|
||||
confirm: "Are you sure?"
|
||||
heading: "Unsatisfied?"
|
||||
profile:
|
||||
adjust:
|
||||
|
@ -52,6 +51,15 @@ en:
|
|||
connect: "Connect to %{service}"
|
||||
disconnect: "Disconnect"
|
||||
confirm: "Really disconnect service %{service}?"
|
||||
theme:
|
||||
heading: "Theming"
|
||||
lead: "Welcome to the Theme Editor!"
|
||||
body_html: |
|
||||
<p>Here you'll be able to modify your Retrospring experience by adjusting all available colors.
|
||||
To further help you with adjusting needs, there are a few example elements using the specified colors, and sections will include
|
||||
descriptions on their general use on the site!</p>
|
||||
<p>And with that: <b>Happy Theming!</b>
|
||||
delete: "Delete Theme"
|
||||
user:
|
||||
edit:
|
||||
title: "Profile Settings"
|
||||
|
|
|
@ -2,6 +2,7 @@ en:
|
|||
voc:
|
||||
cancel: "Cancel"
|
||||
close: "Close"
|
||||
confirm: "Are you sure?"
|
||||
delete: "Delete"
|
||||
edit: "Edit"
|
||||
login: "Sign in"
|
||||
|
|
Loading…
Reference in New Issue