Fix LaborResource breadcrumb/heading to show 'Catalog manopere'

getPluralModelLabel now uses nav.label.Norme-ore (already translated
to 'Catalog manopere'/'Каталог работ') so breadcrumb and page heading
match the sidebar navigation label.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-07 12:15:49 +00:00
parent aba1fcc372
commit 1cf1dc2f54
4 changed files with 22 additions and 19 deletions
@@ -33,14 +33,14 @@ class LaborResource extends Resource
public static function getModelLabel(): string
{
return __('normă');
return __('manoperă');
}
protected static ?string $pluralModelLabel = null;
public static function getPluralModelLabel(): string
{
return __('norme-ore');
return __('nav.label.Norme-ore');
}
protected static ?int $navigationSort = 32;