feat: add quarter labels to company history localization files, improving clarity and user experience in timeline display

This commit is contained in:
Ümit Tunç
2026-05-21 20:21:54 +03:00
parent 2018860c23
commit 506a98163a
3 changed files with 9 additions and 1 deletions
+4
View File
@@ -22,6 +22,10 @@ return [
'quarter_q2' => 'Q2 (Apr Jun)',
'quarter_q3' => 'Q3 (Jul Sep)',
'quarter_q4' => 'Q4 (Oct Dec)',
'quarter_label_q1' => 'Quarter 1',
'quarter_label_q2' => 'Quarter 2',
'quarter_label_q3' => 'Quarter 3',
'quarter_label_q4' => 'Quarter 4',
'title_field' => 'Title',
'content_field' => 'Description',
'color_field' => 'Color',
+4
View File
@@ -22,6 +22,10 @@ return [
'quarter_q2' => 'Q2 (Nisan Haziran)',
'quarter_q3' => 'Q3 (Temmuz Eylül)',
'quarter_q4' => 'Q4 (Ekim Aralık)',
'quarter_label_q1' => '1. Çeyrek',
'quarter_label_q2' => '2. Çeyrek',
'quarter_label_q3' => '3. Çeyrek',
'quarter_label_q4' => '4. Çeyrek',
'title_field' => 'Başlık',
'content_field' => 'Açıklama',
'color_field' => 'Renk',
@@ -67,7 +67,7 @@
<div class="company-history-timeline__year">
<span class="company-history-timeline__year-value">{{ $item->year }}</span>
@if($item->quarter)
<span class="company-history-timeline__quarter">{{ $item->quarter }}</span>
<span class="company-history-timeline__quarter">{{ __('company_history.quarter_label_' . strtolower($item->quarter)) }}</span>
@endif
</div>
@if($titleUpper)