fix(modules): i18n the intro nav item (sure-design R5)

Hardcoded "Intro" was rendering verbatim as a nav-item label —
sure-design's DS Drift Patrol caught it on the latest scan
(rule R5: i18n bypass). Extract to `layouts.application.nav.intro`
to match the rest of the nav block (Home, Reports, Budgets, etc.).
This commit is contained in:
Guillem Arias
2026-05-23 13:27:50 +02:00
parent 686894bd82
commit 8c6dfb9693
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ module NavigationHelper
def intro_nav_items
[
{ name: t("layouts.application.nav.home"), path: chats_path, icon: "home", icon_custom: false, active: page_active?(chats_path) },
{ name: "Intro", path: intro_path, icon: "sparkles", icon_custom: false, active: page_active?(intro_path) }
{ name: t("layouts.application.nav.intro"), path: intro_path, icon: "sparkles", icon_custom: false, active: page_active?(intro_path) }
]
end
end

View File

@@ -8,6 +8,7 @@ en:
assistant: Assistant
budgets: Budgets
home: Home
intro: Intro
reports: Reports
transactions: Transactions
auth: