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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user