Refactor and localize settings and resources

- Updated GeneralSettings page to include localized labels and structured sections for better organization.
- Enhanced CarouselSlide, Category, Collection, and Product resources with localized model labels and improved form/table configurations.
- Modified HomeController to utilize query builder for better performance and added collection items retrieval.
- Updated views to reflect localized settings and improved layout for collections and footer.
- Adjusted timezone and locale settings in app configuration for better regional support.
This commit is contained in:
Mekan1206
2026-06-04 22:15:18 +05:00
parent b13d61b342
commit 6ea6701963
119 changed files with 5304 additions and 98 deletions

View File

@@ -0,0 +1,482 @@
<?php
return [
'label' => 'Sorgu oluşturucu',
'form' => [
'operator' => [
'label' => 'Operatör',
],
'or_groups' => [
'label' => 'Gruplar',
'block' => [
'label' => 'Veya (OR)',
'or' => 'VEYA',
],
],
'rules' => [
'label' => 'Kurallar',
'item' => [
'and' => 'VE',
],
],
],
'no_rules' => '(Kural yok)',
'item_separators' => [
'and' => 'VE',
'or' => 'VEYA',
],
'operators' => [
'is_filled' => [
'label' => [
'direct' => 'Dolu',
'inverse' => 'Boş',
],
'summary' => [
'direct' => ':attribute dolu',
'inverse' => ':attribute boş',
],
],
'boolean' => [
'is_true' => [
'label' => [
'direct' => 'Doğru',
'inverse' => 'Yanlış',
],
'summary' => [
'direct' => ':attribute doğru',
'inverse' => ':attribute yanlış',
],
],
],
'date' => [
'is_after' => [
'label' => [
'direct' => 'Sonra',
'inverse' => 'Sonra değil',
],
'summary' => [
'direct' => ':attribute :date tarihinden sonra',
'inverse' => ':attribute :date tarihinden sonra değil',
],
],
'is_before' => [
'label' => [
'direct' => 'Önce',
'inverse' => 'Önce değil',
],
'summary' => [
'direct' => ':attribute :date tarihinden önce',
'inverse' => ':attribute :date tarihinden önce değil',
],
],
'is_date' => [
'label' => [
'direct' => 'Tarihtir',
'inverse' => 'Tarih değildir',
],
'summary' => [
'direct' => ':attribute :date',
'inverse' => ':attribute :date değil',
],
],
'is_month' => [
'label' => [
'direct' => 'Aydır',
'inverse' => 'Ay değildir',
],
'summary' => [
'direct' => ':attribute :month',
'inverse' => ':attribute :month değil',
],
],
'is_year' => [
'label' => [
'direct' => 'Yıldır',
'inverse' => 'Yıl değildir',
],
'summary' => [
'direct' => ':attribute :year',
'inverse' => ':attribute :year değil',
],
],
'form' => [
'date' => [
'label' => 'Tarih',
],
'month' => [
'label' => 'Ay',
],
'year' => [
'label' => 'Yıl',
],
],
],
'number' => [
'equals' => [
'label' => [
'direct' => 'Eşittir',
'inverse' => 'Eşit değildir',
],
'summary' => [
'direct' => ':attribute :number\'a eşittir',
'inverse' => ':attribute :number\'a eşit değildir',
],
],
'is_max' => [
'label' => [
'direct' => 'Maksimum',
'inverse' => 'Büyüktür',
],
'summary' => [
'direct' => ':attribute maksimum :number',
'inverse' => ':attribute :number\'dan büyük',
],
],
'is_min' => [
'label' => [
'direct' => 'Minimum',
'inverse' => 'Küçüktür',
],
'summary' => [
'direct' => ':attribute minimum :number',
'inverse' => ':attribute :number\'dan küçük',
],
],
'aggregates' => [
'average' => [
'label' => 'Ortalama',
'summary' => 'Ortalama :attribute',
],
'max' => [
'label' => 'Maksimum',
'summary' => 'Maksimum :attribute',
],
'min' => [
'label' => 'Min',
'summary' => 'Min :attribute',
],
'sum' => [
'label' => 'Toplam',
'summary' => ':attribute toplamı',
],
],
'form' => [
'aggregate' => [
'label' => 'Toplam',
],
'number' => [
'label' => 'Sayı',
],
],
],
'relationship' => [
'equals' => [
'label' => [
'direct' => 'Sahip',
'inverse' => 'Sahip değil',
],
'summary' => [
'direct' => ':count :relationship mevcut',
'inverse' => ':count :relationship mevcut değil',
],
],
'has_max' => [
'label' => [
'direct' => 'En fazla',
'inverse' => 'Daha fazla',
],
'summary' => [
'direct' => 'En fazla :count :relationship',
'inverse' => ':count adetten fazla :relationship',
],
],
'has_min' => [
'label' => [
'direct' => 'En az',
'inverse' => 'Daha az',
],
'summary' => [
'direct' => 'En az :count :relationship',
'inverse' => ':count adetten az :relationship',
],
],
'is_empty' => [
'label' => [
'direct' => 'Boş',
'inverse' => 'Boş değil',
],
'summary' => [
'direct' => ':relationship boş',
'inverse' => ':relationship boş değil',
],
],
'is_related_to' => [
'label' => [
'single' => [
'direct' => 'Eşittir',
'inverse' => 'Eşit değildir',
],
'multiple' => [
'direct' => 'İçerir',
'inverse' => 'İçermez',
],
],
'summary' => [
'single' => [
'direct' => ':relationship :values',
'inverse' => ':relationship :values değil',
],
'multiple' => [
'direct' => ':relationship :values içerir',
'inverse' => ':relationship :values içermez',
],
'values_glue' => [
0 => ', ',
'final' => ' veya ',
],
],
'form' => [
'value' => [
'label' => 'Değer',
],
'values' => [
'label' => 'Değerler',
],
],
],
'form' => [
'count' => [
'label' => 'Sayı',
],
],
],
'select' => [
'is' => [
'label' => [
'direct' => 'Eşittir',
'inverse' => 'Eşit değildir',
],
'summary' => [
'direct' => ':attribute :values',
'inverse' => ':attribute :values değil',
'values_glue' => [
', ',
'final' => ' veya ',
],
],
'form' => [
'value' => [
'label' => 'Değer',
],
'values' => [
'label' => 'Değerler',
],
],
],
],
'text' => [
'contains' => [
'label' => [
'direct' => 'İçerir',
'inverse' => 'İçermez',
],
'summary' => [
'direct' => ':attribute :text içerir',
'inverse' => ':attribute :text içermez',
],
],
'ends_with' => [
'label' => [
'direct' => 'Şununla biter',
'inverse' => 'Şununla bitmez',
],
'summary' => [
'direct' => ':attribute :text ile biter',
'inverse' => ':attribute :text ile bitmez',
],
],
'equals' => [
'label' => [
'direct' => 'Eşittir',
'inverse' => 'Eşit değildir',
],
'summary' => [
'direct' => ':attribute :text\'e eşittir',
'inverse' => ':attribute :text\'e eşit değildir',
],
],
'starts_with' => [
'label' => [
'direct' => 'Şununla başlar',
'inverse' => 'Şununla başlamaz',
],
'summary' => [
'direct' => ':attribute :text ile başlar',
'inverse' => ':attribute :text ile başlamaz',
],
],
'form' => [
'text' => [
'label' => 'Metin',
],
],
],
],
'actions' => [
'add_rule' => [
'label' => 'Kural ekle',
],
'add_rule_group' => [
'label' => 'Kural grubu ekle',
],
],
];