Enhance settings management: Added support for new form types including color picker, code editor, rich editor, markdown editor, tags input, checkbox list, radio buttons, toggle buttons, and slider in the SettingForm. Updated the Setting model to handle these new types and modified the migration to include them in the type enum. Enhanced localization files to support new type labels in both English and Turkish.
This commit is contained in:
@@ -62,6 +62,16 @@ return [
|
||||
'type_file' => 'Dosya',
|
||||
'type_date' => 'Tarih',
|
||||
'type_datetime' => 'Tarih ve Saat',
|
||||
'type_color_picker' => 'Renk Seçici',
|
||||
'type_code_editor' => 'Kod Editörü',
|
||||
'type_rich_editor' => 'Zengin Metin Editörü',
|
||||
'type_markdown_editor' => 'Markdown Editörü',
|
||||
'type_tags_input' => 'Etiket Girişi',
|
||||
'type_checkbox_list' => 'Çoklu Seçim',
|
||||
'type_radio' => 'Radio Buton',
|
||||
'type_toggle_buttons' => 'Toggle Butonları',
|
||||
'type_slider' => 'Kaydırıcı',
|
||||
'type_key_value' => 'Anahtar-Değer Çiftleri',
|
||||
|
||||
// Groups
|
||||
'group_general' => 'Genel',
|
||||
@@ -91,6 +101,21 @@ return [
|
||||
'array_active' => 'Aktif',
|
||||
'array_add_item' => 'Öğe Ekle',
|
||||
|
||||
// Checkbox options (placeholder, can be customized per setting)
|
||||
'checkbox_option_1' => 'Seçenek 1',
|
||||
'checkbox_option_2' => 'Seçenek 2',
|
||||
'checkbox_option_3' => 'Seçenek 3',
|
||||
|
||||
// Radio options (placeholder, can be customized per setting)
|
||||
'radio_option_1' => 'Seçenek 1',
|
||||
'radio_option_2' => 'Seçenek 2',
|
||||
'radio_option_3' => 'Seçenek 3',
|
||||
|
||||
// Toggle options (placeholder, can be customized per setting)
|
||||
'toggle_option_1' => 'Seçenek 1',
|
||||
'toggle_option_2' => 'Seçenek 2',
|
||||
'toggle_option_3' => 'Seçenek 3',
|
||||
|
||||
// Filters
|
||||
'filter_group' => 'Gruba Göre',
|
||||
'filter_type' => 'Tipe Göre',
|
||||
|
||||
Reference in New Issue
Block a user