Browse Source

views: fix missing interpolations

pull/1371/head
Misty De Meo 1 month ago
parent
commit
10a7429e0c
No known key found for this signature in database
GPG Key ID: 76CF846A2F674B2C
  1. 2
      app/views/admin/roles/index.html.haml
  2. 2
      app/views/admin/webhooks/index.html.haml
  3. 2
      app/views/auth/registrations/_sessions.html.haml
  4. 4
      app/views/settings/privacy/show.html.haml
  5. 4
      app/views/settings/verifications/show.html.haml

2
app/views/admin/roles/index.html.haml

@ -4,7 +4,7 @@
- content_for :heading_actions do
= link_to t('admin.roles.add_new'), new_admin_role_path, class: 'button' if can?(:create, :user_role)
%p= t('admin.roles.description_html')
%p= t('admin.roles.description_html', title: Setting.site_title)
%hr.spacer/

2
app/views/admin/webhooks/index.html.haml

@ -4,7 +4,7 @@
- content_for :heading_actions do
= link_to t('admin.webhooks.add_new'), new_admin_webhook_path, class: 'button' if can?(:create, :webhook)
%p= t('admin.webhooks.description_html')
%p= t('admin.webhooks.description_html', title: Setting.site_title)
%hr.spacer/

2
app/views/auth/registrations/_sessions.html.haml

@ -1,6 +1,6 @@
%h3= t 'sessions.title'
%p.muted-hint
= t 'sessions.explanation'
= t 'sessions.explanation', title: Setting.site_title
= link_to t('sessions.view_authentication_history'), settings_login_activities_path
%hr.spacer/

4
app/views/settings/privacy/show.html.haml

@ -7,7 +7,7 @@
= simple_form_for @account, url: settings_privacy_path do |f|
= render 'shared/error_messages', object: @account
%p.lead= t('privacy.hint_html')
%p.lead= t('privacy.hint_html', title: Setting.site_title)
%h4= t('privacy.reach')
@ -25,7 +25,7 @@
%h4= t('privacy.search')
%p.lead= t('privacy.search_hint_html')
%p.lead= t('privacy.search_hint_html', title: Setting.site_title)
.fields-group
= f.input :indexable, as: :boolean, wrapper: :with_label

4
app/views/settings/verifications/show.html.haml

@ -8,7 +8,7 @@
.simple_form.form-section
%h3= t('verification.website_verification')
%p.lead= t('verification.hint_html')
%p.lead= t('verification.hint_html', title: Setting.site_title)
%h4= t('verification.here_is_how')
@ -36,7 +36,7 @@
%h3= t('author_attribution.title')
%p.lead= t('author_attribution.hint_html')
%p.lead= t('author_attribution.hint_html', title: Setting.site_title)
.fields-group.fade-out-top
%div

Loading…
Cancel
Save