Add localization files for settings module: Created English and Turkish language files for settings, including keys for actions, form fields, messages, table columns, types, groups, and validation. This enhances the localization support for the settings module, ensuring a consistent user experience across languages.

This commit is contained in:
Ümit Tunç
2025-10-20 14:59:15 -03:00
parent 9094e9c729
commit b8c0d6a5c4
2 changed files with 174 additions and 0 deletions
+87
View File
@@ -0,0 +1,87 @@
<?php
return [
'title' => 'Settings',
'navigation_label' => 'Settings',
'model_label' => 'Setting',
'plural_model_label' => 'Settings',
// Actions
'create' => 'Create New Setting',
'edit' => 'Edit Setting',
'delete' => 'Delete Setting',
'restore' => 'Restore Setting',
'force_delete' => 'Force Delete Setting',
'save' => 'Save',
'cancel' => 'Cancel',
// Form fields
'key' => 'Key',
'key_helper' => 'Setting key (e.g: site_name, site_email)',
'value' => 'Value',
'value_helper' => 'Setting value',
'type' => 'Type',
'type_helper' => 'Value type',
'group' => 'Group',
'group_helper' => 'Setting group (e.g: general, email, seo)',
'label' => 'Label',
'label_helper' => 'User-friendly label',
'description' => 'Description',
'description_helper' => 'Setting description',
'is_public' => 'Public',
'is_public_helper' => 'Is this setting public?',
'is_active' => 'Active',
'is_active_helper' => 'Is this setting active?',
// Messages
'created_successfully' => 'Setting created successfully.',
'updated_successfully' => 'Setting updated successfully.',
'deleted_successfully' => 'Setting deleted successfully.',
'restored_successfully' => 'Setting restored successfully.',
'force_deleted_successfully' => 'Setting permanently deleted.',
// Table columns
'table_key' => 'Key',
'table_value' => 'Value',
'table_type' => 'Type',
'table_group' => 'Group',
'table_label' => 'Label',
'table_public' => 'Public',
'table_active' => 'Active',
'table_created_at' => 'Created At',
'table_updated_at' => 'Updated At',
// Types
'type_string' => 'String',
'type_text' => 'Text',
'type_boolean' => 'Boolean',
'type_integer' => 'Integer',
'type_float' => 'Float',
'type_array' => 'Array',
'type_json' => 'JSON',
// Groups
'group_general' => 'General',
'group_email' => 'Email',
'group_seo' => 'SEO',
'group_social' => 'Social Media',
'group_security' => 'Security',
'group_payment' => 'Payment',
'group_notification' => 'Notification',
'group_other' => 'Other',
// Validation messages
'key_required' => 'Key field is required.',
'key_unique' => 'This key is already in use.',
'key_regex' => 'Key can only contain letters, numbers, underscores and hyphens.',
'value_required' => 'Value field is required.',
'type_required' => 'Type field is required.',
'label_required' => 'Label field is required.',
// Filters
'filter_group' => 'By Group',
'filter_type' => 'By Type',
'filter_active' => 'Active',
'filter_public' => 'Public',
];
+87
View File
@@ -0,0 +1,87 @@
<?php
return [
'title' => 'Ayarlar',
'navigation_label' => 'Ayarlar',
'model_label' => 'Ayar',
'plural_model_label' => 'Ayarlar',
// Actions
'create' => 'Yeni Ayar Oluştur',
'edit' => 'Ayarı Düzenle',
'delete' => 'Ayarı Sil',
'restore' => 'Ayarı Geri Yükle',
'force_delete' => 'Ayarı Kalıcı Olarak Sil',
'save' => 'Kaydet',
'cancel' => 'İptal',
// Form fields
'key' => 'Anahtar',
'key_helper' => 'Ayar anahtarı (örn: site_name, site_email)',
'value' => 'Değer',
'value_helper' => 'Ayar değeri',
'type' => 'Tip',
'type_helper' => 'Değer tipi',
'group' => 'Grup',
'group_helper' => 'Ayar grubu (örn: general, email, seo)',
'label' => 'Etiket',
'label_helper' => 'Kullanıcı dostu etiket',
'description' => 'Açıklama',
'description_helper' => 'Ayar açıklaması',
'is_public' => 'Herkese Açık',
'is_public_helper' => 'Bu ayar herkese açık mı?',
'is_active' => 'Aktif',
'is_active_helper' => 'Bu ayar aktif mi?',
// Messages
'created_successfully' => 'Ayar başarıyla oluşturuldu.',
'updated_successfully' => 'Ayar başarıyla güncellendi.',
'deleted_successfully' => 'Ayar başarıyla silindi.',
'restored_successfully' => 'Ayar başarıyla geri yüklendi.',
'force_deleted_successfully' => 'Ayar kalıcı olarak silindi.',
// Table columns
'table_key' => 'Anahtar',
'table_value' => 'Değer',
'table_type' => 'Tip',
'table_group' => 'Grup',
'table_label' => 'Etiket',
'table_public' => 'Herkese Açık',
'table_active' => 'Aktif',
'table_created_at' => 'Oluşturulma',
'table_updated_at' => 'Güncellenme',
// Types
'type_string' => 'Metin',
'type_text' => 'Uzun Metin',
'type_boolean' => 'Evet/Hayır',
'type_integer' => 'Tam Sayı',
'type_float' => 'Ondalıklı Sayı',
'type_array' => 'Dizi',
'type_json' => 'JSON',
// Groups
'group_general' => 'Genel',
'group_email' => 'E-posta',
'group_seo' => 'SEO',
'group_social' => 'Sosyal Medya',
'group_security' => 'Güvenlik',
'group_payment' => 'Ödeme',
'group_notification' => 'Bildirim',
'group_other' => 'Diğer',
// Validation messages
'key_required' => 'Anahtar alanı zorunludur.',
'key_unique' => 'Bu anahtar zaten kullanılıyor.',
'key_regex' => 'Anahtar sadece harf, rakam, alt çizgi ve tire içerebilir.',
'value_required' => 'Değer alanı zorunludur.',
'type_required' => 'Tip alanı zorunludur.',
'label_required' => 'Etiket alanı zorunludur.',
// Filters
'filter_group' => 'Gruba Göre',
'filter_type' => 'Tipe Göre',
'filter_active' => 'Aktif',
'filter_public' => 'Herkese Açık',
];