From a3a95b6bf4dbf96f85742bb9d9a28a90999fd617 Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Wed, 14 Dec 2022 11:42:00 +0100 Subject: [PATCH] translations updated --- app/Nova/Lecturer.php | 5 +++++ app/Nova/LibraryItem.php | 2 +- lang/de.json | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Nova/Lecturer.php b/app/Nova/Lecturer.php index 4282c840..12810b74 100644 --- a/app/Nova/Lecturer.php +++ b/app/Nova/Lecturer.php @@ -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 diff --git a/app/Nova/LibraryItem.php b/app/Nova/LibraryItem.php index c9f1a295..e132523f 100644 --- a/app/Nova/LibraryItem.php +++ b/app/Nova/LibraryItem.php @@ -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(), diff --git a/lang/de.json b/lang/de.json index 196aba7d..eb4c27de 100644 --- a/lang/de.json +++ b/lang/de.json @@ -10,6 +10,7 @@ "Downloadable File": "Download", "Done": "Fertig", "Registration": "Anmeldung", + "Lecturer/Content Creator": "Dozent/Content Creator", "Lecturer": "Dozent", "Lecturers": "Dozenten", "Cities": "Städte",