feat: add localization support for unknown production date in music productions module
This commit is contained in:
@@ -11,6 +11,7 @@ return [
|
||||
'search_placeholder' => 'Search by title or client name…',
|
||||
'search_no_results' => 'No results found for “:query”.',
|
||||
'card_category_default' => 'Production',
|
||||
'production_date_unknown' => 'Date not specified',
|
||||
'view_details_tooltip' => 'View details',
|
||||
'project_details' => 'Project Details',
|
||||
'back_to_list' => 'Back to List',
|
||||
|
||||
@@ -11,6 +11,7 @@ return [
|
||||
'search_placeholder' => 'Başlık veya müşteri adı ile ara…',
|
||||
'search_no_results' => '“:query” için sonuç bulunamadı.',
|
||||
'card_category_default' => 'Prodüksiyon',
|
||||
'production_date_unknown' => 'Tarih belirtilmedi',
|
||||
'view_details_tooltip' => 'Detayları görüntüle',
|
||||
'project_details' => 'Proje Detayları',
|
||||
'back_to_list' => 'Listeye Geri Dön',
|
||||
|
||||
@@ -121,7 +121,14 @@
|
||||
</figure>
|
||||
<div class="card-body p-7">
|
||||
<div class="post-header">
|
||||
<div class="{{ $variant['label_class'] }}">{{ $categoryLabel }}</div>
|
||||
<div class="d-none {{ $variant['label_class'] }}">
|
||||
@if($production->production_date)
|
||||
{{ $production->production_date->format('d.m.Y') }}
|
||||
@else
|
||||
{{ __('music_productions.production_date_unknown') }}
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<h3 class="!mb-0 truncate" title="{{ $production->translate('title') }}">{{ $production->translate('title') }}</h3>
|
||||
</div>
|
||||
<!-- /.post-header -->
|
||||
|
||||
Reference in New Issue
Block a user