translations updated

This commit is contained in:
Benjamin Takats
2022-12-14 11:57:46 +01:00
parent 92cb9cfe20
commit 2108b39161
4 changed files with 27 additions and 3 deletions

View File

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

View File

@@ -22,6 +22,11 @@ class Venue extends Resource
*/
public static $title = 'name';
public static function label()
{
return __('Venue');
}
/**
* The columns that should be searched.
* @var array
@@ -53,10 +58,10 @@ class Venue extends Resource
Text::make('Slug')
->exceptOnForms(),
Text::make('Street')
Text::make(__('Street'), 'street')
->rules('required', 'string'),
BelongsTo::make('City'),
BelongsTo::make(__('City'), 'city', City::class),
];
}