From 10a7429e0cbb12968a39a9ea03e2ee7a859d3b2c Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 8 Feb 2026 18:12:57 -0800 Subject: [PATCH] views: fix missing interpolations --- app/views/admin/roles/index.html.haml | 2 +- app/views/admin/webhooks/index.html.haml | 2 +- app/views/auth/registrations/_sessions.html.haml | 2 +- app/views/settings/privacy/show.html.haml | 4 ++-- app/views/settings/verifications/show.html.haml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/admin/roles/index.html.haml b/app/views/admin/roles/index.html.haml index 90a647cc8..46a65ed10 100644 --- a/app/views/admin/roles/index.html.haml +++ b/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/ diff --git a/app/views/admin/webhooks/index.html.haml b/app/views/admin/webhooks/index.html.haml index 603d0edd2..bdd669f25 100644 --- a/app/views/admin/webhooks/index.html.haml +++ b/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/ diff --git a/app/views/auth/registrations/_sessions.html.haml b/app/views/auth/registrations/_sessions.html.haml index 929129a5a..d0bd8fccc 100644 --- a/app/views/auth/registrations/_sessions.html.haml +++ b/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/ diff --git a/app/views/settings/privacy/show.html.haml b/app/views/settings/privacy/show.html.haml index f9e91156f..7d45e797d 100644 --- a/app/views/settings/privacy/show.html.haml +++ b/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 diff --git a/app/views/settings/verifications/show.html.haml b/app/views/settings/verifications/show.html.haml index ac8778a7e..d2e50534d 100644 --- a/app/views/settings/verifications/show.html.haml +++ b/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