i18n(finance): full page — tabs/periods/pnl/balance + Expense.CATEGORIES
- All 4 tabs (Overview/Cashflow/P&L/Balanță) built with __() around the text portion, emoji stays in code - 4 period presets wrapped with __() - P&L table Marjă/Marjă piese footer wrapped - Expense::CATEGORIES values look up through __() in the expensesByCat loop so categories show translated (Salariu → Зарплата etc.) - +25 translations covering all UI copy on /app/finance 306 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -45,10 +45,10 @@ class Finance extends Page
|
||||
public function tabs(): array
|
||||
{
|
||||
return [
|
||||
'overview' => '📊 Overview',
|
||||
'cashflow' => '💸 Cashflow',
|
||||
'pnl' => '📈 P&L',
|
||||
'balance' => __('⚖️ Balanță'),
|
||||
'overview' => '📊 ' . __('Overview'),
|
||||
'cashflow' => '💸 ' . __('Cashflow'),
|
||||
'pnl' => '📈 ' . __('P&L'),
|
||||
'balance' => '⚖️ ' . __('Balanță'),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -57,8 +57,8 @@ class Finance extends Page
|
||||
return [
|
||||
'this_month' => __('Luna curentă'),
|
||||
'last_month' => __('Luna trecută'),
|
||||
'this_year' => 'Anul curent',
|
||||
'last_30' => 'Ultimele 30 zile',
|
||||
'this_year' => __('Anul curent'),
|
||||
'last_30' => __('Ultimele 30 zile'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user