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:
@@ -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',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user