i18n(reports): wrap Anul curent + auto-translate specialization tokens
- Reports.php periods() had 'this_year' hardcoded; now wrapped in __() - masters tab specialization cell: split by '/' and __()-translate each token so 'Motor / Cutie viteze' auto-renders as «Двигатель / КПП» on RU (and 'Engine / Gearbox' on EN). Users can enter any free-text specialisation; the common keywords now have RU/EN translations. - +12 specialisation vocabulary entries (Motor, Frâne, Suspensie, Anvelope, Cutie viteze, Electrică, Diagnosticare, Vopsitorie, Tinichigerie, Aer condiționat, Roți, Ambreiaj). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -62,7 +62,7 @@ class Reports extends Page
|
||||
'this_week' => __('Săptămâna curentă'),
|
||||
'this_month' => __('Luna curentă'),
|
||||
'last_month' => __('Luna trecută'),
|
||||
'this_year' => 'Anul curent',
|
||||
'this_year' => __('Anul curent'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user