Add dynamic template system: Implemented header, footer, and section templates with corresponding models, migrations, and Filament resources. Enhanced Page model to support dynamic templates and updated localization files for new terms. Added TemplateService for managing template data and rendering. Comprehensive documentation included for usage and best practices.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Navigation
|
||||
'navigation_group' => 'Şablonlar',
|
||||
'navigation_label' => 'Section Şablonları',
|
||||
'model_label' => 'Section Şablonu',
|
||||
'plural_model_label' => 'Section Şablonları',
|
||||
|
||||
// Sections
|
||||
'section_general' => 'Genel Bilgiler',
|
||||
|
||||
// Form Fields
|
||||
'field_title' => 'Başlık',
|
||||
'field_html_content' => 'HTML İçerik',
|
||||
'field_html_content_help' => 'Placeholder format: {tip.alan_adi} örn: {text.title}, {richtext.content}, {image.banner}',
|
||||
'field_is_active' => 'Aktif',
|
||||
|
||||
// Table Columns
|
||||
'column_title' => 'Başlık',
|
||||
'column_is_active' => 'Aktif',
|
||||
'column_created_at' => 'Oluşturulma',
|
||||
'column_updated_at' => 'Güncellenme',
|
||||
'column_deleted_at' => 'Silinme',
|
||||
|
||||
// Actions
|
||||
'create' => 'Yeni Section Şablonu',
|
||||
'edit' => 'Section Şablonunu Düzenle',
|
||||
'view' => 'Section Şablonunu Görüntüle',
|
||||
'delete' => 'Sil',
|
||||
'restore' => 'Geri Yükle',
|
||||
'force_delete' => 'Kalıcı Sil',
|
||||
|
||||
// Messages
|
||||
'created_successfully' => 'Section şablonu başarıyla oluşturuldu.',
|
||||
'updated_successfully' => 'Section şablonu başarıyla güncellendi.',
|
||||
'deleted_successfully' => 'Section şablonu başarıyla silindi.',
|
||||
'restored_successfully' => 'Section şablonu başarıyla geri yüklendi.',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user