fix(finance): i18n — remove nav.settings scalar conflicting with [nav.settings] table

Same TOML duplicate-key pattern as nav.analysis: the scalar
settings = "..." in [nav] blocked parsing of the [nav.settings]
sub-table. Removed the scalar; nav dropdown labels now reference
the existing nav.drawer.*_label keys which hold the same strings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gonçalo Rodrigues 2026-06-17 22:51:25 +01:00
parent 7aa510e1f5
commit ccbb60ace9
3 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,6 @@ portfolio = "Portfolio"
goals = "Goals" goals = "Goals"
property = "Property" property = "Property"
people = "People" people = "People"
settings = "Settings"
business = "🏢 Business" business = "🏢 Business"
hub_back = "← Hub" hub_back = "← Hub"

View File

@ -8,7 +8,6 @@ portfolio = "Carteira"
goals = "Objetivos" goals = "Objetivos"
property = "Imóveis" property = "Imóveis"
people = "Pessoas" people = "Pessoas"
settings = "Definições"
business = "🏢 Empresa" business = "🏢 Empresa"
hub_back = "← Hub" hub_back = "← Hub"

View File

@ -601,7 +601,7 @@
{{$settingsActive := or (eq .Route "settings") (eq .Route "auto-import")}} {{$settingsActive := or (eq .Route "settings") (eq .Route "auto-import")}}
<div class="nav-group"> <div class="nav-group">
<button class="nav-group-btn {{if $settingsActive}}active{{end}}"> <button class="nav-group-btn {{if $settingsActive}}active{{end}}">
{{.T.Get "nav.settings"}} <svg viewBox="0 0 10 6" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M1 1l4 4 4-4"/></svg> {{.T.Get "nav.drawer.settings_label"}} <svg viewBox="0 0 10 6" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M1 1l4 4 4-4"/></svg>
</button> </button>
<div class="nav-dropdown"> <div class="nav-dropdown">
<a href="/settings?tab=accounts" class="{{if eq .Route "settings"}}active{{end}}">{{.T.Get "nav.settings.accounts_categories"}}</a> <a href="/settings?tab=accounts" class="{{if eq .Route "settings"}}active{{end}}">{{.T.Get "nav.settings.accounts_categories"}}</a>