translations updated

This commit is contained in:
Benjamin Takats
2022-12-14 11:42:00 +01:00
parent b393a42732
commit a3a95b6bf4
3 changed files with 7 additions and 1 deletions

View File

@@ -26,6 +26,11 @@ class Lecturer extends Resource
*/
public static $title = 'name';
public static function label()
{
return __('Lecturer/Content Creator');
}
/**
* The columns that should be searched.
* @var array

View File

@@ -84,7 +84,7 @@ class LibraryItem extends Resource
->rules('nullable', 'string')
->help('Hier bitte die URL zum Video einfügen, oder den Link zum Blog-Artikel, oder den Link zum Buch, oder das Markdown selbst einfügen.'),
BelongsTo::make('Lecturer'),
BelongsTo::make(__('Lecturer/Content Creator'), 'lecturer', Lecturer::class),
BelongsTo::make('Episode')->nullable(),