app/views/settings/edit.html.erb in tkh_admin_panel-0.3.1 vs app/views/settings/edit.html.erb in tkh_admin_panel-0.3.2

- old
+ new

@@ -5,16 +5,16 @@ <%= simple_form_for @setting, :html => { class: 'form-horizontal' } do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :company_name %><br /> - <%= f.input :contact_email, hint: 'this is used to get the messages from the contact form and for other things as well.' %><br /> - <%= f.input :site_name, hint: 'this is often the same as the company name' %><br /> - <%= f.input :site_tagline, hint: 'a small descriptive sentence' %><br /> + <%= f.input :contact_email, hint: t('settings.hint.contact_email') %><br /> + <%= f.input :site_name, hint: t('settings.hint.site_name') %><br /> + <%= f.input :site_tagline, hint: t('settings.hint.site_tagline') %><br /> <%= f.input :enable_comments_in_pages, as: :boolean, inline_label: true, label: false %><br /> - <%= f.input :disable_blog, as: :boolean, inline_label: true, label: false, hint: 'should be checked if you do NOT want a blog' %><br /> + <%= f.input :disable_blog, as: :boolean, inline_label: true, label: false, hint: t('settings.hint.disable_blog') %><br /> <%= f.input :blog_name %><br /> - <%= f.input :blog_tagline, hint: 'a small descriptive sentence' %><br /> + <%= f.input :blog_tagline, hint: t('settings.hint.blog_tagline') %><br /> <%= f.input :enable_comments_in_blog, as: :boolean, inline_label: true, label: false %> </div> <div class="form-actions"> <%= f.button :submit, :class => 'btn btn-primary' %> \ No newline at end of file