translations updated

This commit is contained in:
Benjamin Takats
2022-12-14 12:03:38 +01:00
parent 2108b39161
commit 02a1d9d634
4 changed files with 13 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ class Lecturer extends Resource
Images::make('Avatar', 'avatar')
->conversionOnIndexView('thumb'),
Images::make('Images', 'images')
Images::make(__('Images'), 'images')
->conversionOnIndexView('thumb')
->help('Lade hier Bilder hoch, um sie eventuell später in der Markdown Description einzufügen. Du musst vorher aber Speichern.'),

View File

@@ -54,7 +54,7 @@ class Meetup extends Resource
Text::make('Link')
->rules('required', 'string'),
BelongsTo::make('City')->searchable(),
BelongsTo::make(__('City'), 'city', City::class)->searchable(),
];
}

View File

@@ -22,6 +22,11 @@ class MeetupEvent extends Resource
*/
public static $title = 'id';
public static function label()
{
return __('Meetup Event');
}
/**
* The columns that should be searched.
* @var array
@@ -45,10 +50,9 @@ class MeetupEvent extends Resource
DateTime::make(__('Start'), 'start'),
Text::make('Location')
->rules('required', 'string'),
Text::make(__('Location'), 'location'),
Text::make('Description')
Text::make(__('Description'), 'description')
->rules('required', 'string')
->hideFromIndex(),

View File

@@ -7,11 +7,15 @@
"Article": "Artikel",
"Libraries": "Bibliotheken",
"Library Items": "Bibliothekseinträge",
"Images": "Bilder",
"Episodes": "Episoden",
"Book Cases": "Bücher-Schränke",
"Inputs": "Eingaben",
"First name": "Vorname",
"Last name": "Nachname",
"Description": "Beschreibung",
"Location": "Ort",
"Meetup Event": "Meetup-Termin",
"Markdown Article": "Interner Artikel",
"Youtube Video": "Youtube Video",
"Vimeo Video": "Vimeo Video",