v7.0.0-beta.1 release
This commit is contained in:
commit
6595fd0eb5
3967 files changed
+1875383
No files matched your search
@@ -0,0 +1,322 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Activity log messages
|
||||
'fetch_success' => 'Activity log information retrieved successfully.',
|
||||
'fetch_failed' => 'Failed to retrieve activity log information.',
|
||||
'delete_success' => 'Activity log has been deleted.',
|
||||
'bulk_delete_success' => 'Selected activity logs have been deleted.',
|
||||
'delete_failed' => 'Failed to delete activity log.',
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
'ids_required' => 'Please select activity logs to delete.',
|
||||
'ids_min' => 'Please select at least one activity log to delete.',
|
||||
'id_not_found' => 'The selected activity log was not found.',
|
||||
],
|
||||
|
||||
// Log type labels
|
||||
'type' => [
|
||||
'admin' => 'Admin',
|
||||
'user' => 'User',
|
||||
'system' => 'System',
|
||||
],
|
||||
|
||||
// Action labels (last segment based)
|
||||
'action' => [
|
||||
'created' => 'Created',
|
||||
'create' => 'Created',
|
||||
'updated' => 'Updated',
|
||||
'update' => 'Updated',
|
||||
'deleted' => 'Deleted',
|
||||
'delete' => 'Deleted',
|
||||
'login' => 'Login',
|
||||
'logout' => 'Logout',
|
||||
'export' => 'Export',
|
||||
'import' => 'Import',
|
||||
'index' => 'List Viewed',
|
||||
'show' => 'Details Viewed',
|
||||
'search' => 'Search',
|
||||
'install' => 'Installed',
|
||||
'activate' => 'Activated',
|
||||
'deactivate' => 'Deactivated',
|
||||
'uninstall' => 'Uninstalled',
|
||||
'save' => 'Saved',
|
||||
'run' => 'Executed',
|
||||
'duplicate' => 'Duplicated',
|
||||
'upload' => 'Uploaded',
|
||||
'reorder' => 'Reordered',
|
||||
'toggle_status' => 'Status Toggled',
|
||||
'toggle_active' => 'Active Status Changed',
|
||||
'bulk_update' => 'Bulk Updated',
|
||||
'bulk_delete' => 'Bulk Deleted',
|
||||
'bulk_status' => 'Bulk Status Changed',
|
||||
'bulk_update_status' => 'Bulk Status Changed',
|
||||
'cancel' => 'Cancelled',
|
||||
'partial_cancel' => 'Partially Cancelled',
|
||||
'refund' => 'Refunded',
|
||||
'restore' => 'Restored',
|
||||
'blind' => 'Blinded',
|
||||
'publish' => 'Published',
|
||||
'register' => 'Registered',
|
||||
'reset_password' => 'Password Reset',
|
||||
'forgot_password' => 'Password Recovery',
|
||||
'record_consents' => 'Consent Recorded',
|
||||
'check' => 'Checked',
|
||||
'sync_permissions' => 'Permissions Synchronized',
|
||||
'sync_roles' => 'Roles Synchronized',
|
||||
'copy' => 'Copied',
|
||||
'reply' => 'Replied',
|
||||
'toggle' => 'Toggled',
|
||||
'download' => 'Downloaded',
|
||||
'earn' => 'Earned',
|
||||
'use' => 'Used',
|
||||
|
||||
// Additional actions
|
||||
'withdraw' => 'Withdrawn',
|
||||
'update_order' => 'Order Changed',
|
||||
'refresh_layouts' => 'Layouts Refreshed',
|
||||
'version_update' => 'Version Updated',
|
||||
'version_restore' => 'Version Restored',
|
||||
'reset' => 'Reset',
|
||||
|
||||
// Ecommerce/Board common
|
||||
'bulk_price_update' => 'Bulk Price Updated',
|
||||
'bulk_stock_update' => 'Bulk Stock Updated',
|
||||
'stock_sync' => 'Stock Synchronized',
|
||||
'bulk_status_update' => 'Bulk Status Updated',
|
||||
'bulk_shipping_update' => 'Bulk Shipping Updated',
|
||||
'update_shipping_address' => 'Shipping Address Updated',
|
||||
'send_email' => 'Email Sent',
|
||||
'payment_complete' => 'Payment Completed',
|
||||
'payment_failed' => 'Payment Failed',
|
||||
'status_change' => 'Status Changed',
|
||||
'bulk_status_change' => 'Bulk Status Changed',
|
||||
'confirm' => 'Confirmed',
|
||||
'set_default' => 'Set as Default',
|
||||
'bulk_toggle_active' => 'Bulk Active Status Changed',
|
||||
'bulk_create' => 'Bulk Created',
|
||||
'add' => 'Added',
|
||||
'update_quantity' => 'Quantity Updated',
|
||||
'change_option' => 'Option Changed',
|
||||
'delete_all' => 'All Deleted',
|
||||
'add_to_menu' => 'Added to Menu',
|
||||
'bulk_apply' => 'Bulk Applied',
|
||||
'update_status' => 'Status Updated',
|
||||
'restore_content' => 'Content Restored',
|
||||
'blind_content' => 'Content Blinded',
|
||||
'delete_content' => 'Content Deleted',
|
||||
],
|
||||
|
||||
// Description templates (used as description_key)
|
||||
'description' => [
|
||||
// User management
|
||||
'user_index' => 'User list viewed',
|
||||
'user_create' => 'User created (ID: :user_id)',
|
||||
'user_show' => 'User details viewed (ID: :user_id)',
|
||||
'user_update' => 'User updated (ID: :user_id)',
|
||||
'user_delete' => 'User deleted (ID: :user_id)',
|
||||
'user_withdraw' => 'User withdrawn (ID: :user_id)',
|
||||
'user_statistics' => 'User statistics viewed',
|
||||
'user_recent' => 'Recent users viewed',
|
||||
'user_search' => 'User search performed',
|
||||
'user_check_email' => 'Email duplication checked',
|
||||
'user_update_language' => 'User language setting changed',
|
||||
'user_bulk_update_status' => 'Users status bulk updated (:count items)',
|
||||
|
||||
// Role management
|
||||
'role_index' => 'Role list viewed',
|
||||
'role_active' => 'Active role list viewed',
|
||||
'role_show' => 'Role details viewed (ID: :role_id)',
|
||||
'role_create' => 'Role created (ID: :role_id)',
|
||||
'role_update' => 'Role updated (ID: :role_id)',
|
||||
'role_delete' => 'Role deleted (ID: :role_id)',
|
||||
'role_toggle_status' => 'Role status toggled (ID: :role_id)',
|
||||
'role_sync_permissions' => 'Role permissions synchronized (ID: :role_id)',
|
||||
|
||||
// Permission management
|
||||
'permission_index' => 'Permission list viewed',
|
||||
|
||||
// Menu management
|
||||
'menu_index' => 'Menu list viewed',
|
||||
'menu_hierarchy' => 'Menu hierarchy viewed',
|
||||
'menu_active' => 'Active menu list viewed',
|
||||
'menu_show' => 'Menu details viewed (ID: :menu_id)',
|
||||
'menu_create' => 'Menu created (ID: :menu_id)',
|
||||
'menu_update' => 'Menu updated (ID: :menu_id)',
|
||||
'menu_delete' => 'Menu deleted (ID: :menu_id)',
|
||||
'menu_update_order' => 'Menu order changed',
|
||||
'menu_toggle_status' => 'Menu status toggled (ID: :menu_id)',
|
||||
'menu_sync_roles' => 'Menu roles synchronized (ID: :menu_id)',
|
||||
'menu_get_by_extension' => 'Menus by extension viewed (:extension_type: :extension_identifier)',
|
||||
|
||||
// Settings management
|
||||
'settings_index' => 'Settings list viewed',
|
||||
'settings_save' => 'Settings saved',
|
||||
'settings_show' => 'Setting viewed',
|
||||
'settings_update' => 'Setting updated',
|
||||
'settings_system_info' => 'System information viewed',
|
||||
'settings_clear_cache' => 'Cache cleared',
|
||||
'settings_optimize_system' => 'System optimized',
|
||||
'settings_backup_database' => 'Database backed up',
|
||||
'settings_get_app_key' => 'App key viewed',
|
||||
'settings_app_key_regenerated' => 'App key regenerated',
|
||||
'settings_backup' => 'Backup created',
|
||||
'settings_restore' => 'Backup restored',
|
||||
'settings_test_mail' => 'Mail sending tested',
|
||||
'settings_test_driver_connection' => 'Driver connection tested',
|
||||
|
||||
// Authentication
|
||||
'auth_login' => 'Admin login',
|
||||
'auth_logout' => 'Admin logout',
|
||||
'auth_register' => 'User registered',
|
||||
'auth_forgot_password' => 'Password reset requested',
|
||||
'auth_reset_password' => 'Password reset',
|
||||
'auth_record_consents' => 'Consent recorded',
|
||||
|
||||
// Schedule management
|
||||
'schedule_index' => 'Schedule list viewed',
|
||||
'schedule_show' => 'Schedule details viewed (ID: :schedule_id)',
|
||||
'schedule_create' => 'Schedule created (ID: :schedule_id)',
|
||||
'schedule_update' => 'Schedule updated (ID: :schedule_id)',
|
||||
'schedule_delete' => 'Schedule deleted (ID: :schedule_id)',
|
||||
'schedule_run' => 'Schedule manually executed (ID: :schedule_id)',
|
||||
'schedule_duplicate' => 'Schedule duplicated',
|
||||
'schedule_bulk_update_status' => 'Schedule status bulk updated (:count items)',
|
||||
'schedule_bulk_delete' => 'Schedules bulk deleted (:count items)',
|
||||
'schedule_statistics' => 'Schedule statistics viewed',
|
||||
'schedule_history' => 'Schedule execution history viewed (ID: :schedule_id)',
|
||||
'schedule_delete_history' => 'Schedule history deleted',
|
||||
|
||||
// Dashboard
|
||||
'dashboard_stats' => 'Dashboard statistics viewed',
|
||||
'dashboard_resources' => 'Dashboard resources viewed',
|
||||
'dashboard_activities' => 'Dashboard activities viewed',
|
||||
'dashboard_alerts' => 'Dashboard alerts viewed',
|
||||
|
||||
// Attachment management
|
||||
'attachment_upload' => 'File uploaded',
|
||||
'attachment_upload_batch' => 'Files batch uploaded',
|
||||
'attachment_delete' => 'File deleted',
|
||||
'attachment_bulk_delete' => 'Files bulk deleted',
|
||||
'attachment_reorder' => 'File order changed',
|
||||
|
||||
// Layout management
|
||||
'layout_index' => 'Layout list viewed',
|
||||
'layout_show' => 'Layout details viewed (:layout_path)',
|
||||
'layout_update' => 'Layout updated (:layout_path)',
|
||||
'layout_versions_index' => 'Layout versions viewed (:layout_path)',
|
||||
'layout_version_show' => 'Layout version viewed (:layout_path)',
|
||||
'layout_version_restore' => 'Layout version restored (:layout_path)',
|
||||
|
||||
// Mail template management
|
||||
'mail_template_update' => 'Mail template updated (:template_name)',
|
||||
'mail_template_toggle_active' => 'Mail template status toggled (:template_name)',
|
||||
|
||||
// Module management
|
||||
'module_index' => 'Module list viewed',
|
||||
'module_installed' => 'Installed module list viewed',
|
||||
'module_uninstalled' => 'Uninstalled module list viewed',
|
||||
'module_show' => 'Module details viewed (:module_name)',
|
||||
'module_install' => 'Module installed (:module_name)',
|
||||
'module_activate' => 'Module activated (:module_name)',
|
||||
'module_deactivate' => 'Module deactivated (:module_name)',
|
||||
'module_uninstall' => 'Module uninstalled (:module_name)',
|
||||
'module_uninstall_info' => 'Module uninstall info viewed (Module: :module_name)',
|
||||
'module_check_updates' => 'Module updates checked',
|
||||
'module_update' => 'Module updated (:module_name)',
|
||||
'module_refresh_layouts' => 'Module layouts refreshed (:module_name)',
|
||||
'module_dependent_templates' => 'Module dependent templates viewed',
|
||||
'module_install_from_file' => 'Module installed from file',
|
||||
'module_install_from_github' => 'Module installed from GitHub',
|
||||
|
||||
// Module settings
|
||||
'module_settings_save' => 'Module settings saved (:module_name)',
|
||||
'module_settings_reset' => 'Module settings reset (:module_name)',
|
||||
|
||||
// Plugin management
|
||||
'plugin_index' => 'Plugin list viewed',
|
||||
'plugin_installed' => 'Installed plugin list viewed',
|
||||
'plugin_show' => 'Plugin details viewed (:plugin_name)',
|
||||
'plugin_install' => 'Plugin installed (:plugin_name)',
|
||||
'plugin_activate' => 'Plugin activated (:plugin_name)',
|
||||
'plugin_deactivate' => 'Plugin deactivated (:plugin_name)',
|
||||
'plugin_uninstall' => 'Plugin uninstalled (:plugin_name)',
|
||||
'plugin_uninstall_info' => 'Plugin uninstall info viewed (Plugin: :plugin_name)',
|
||||
'plugin_check_updates' => 'Plugin updates checked',
|
||||
'plugin_update' => 'Plugin updated (:plugin_name)',
|
||||
'plugin_refresh_layouts' => 'Plugin layouts refreshed (:plugin_name)',
|
||||
'plugin_dependent_templates' => 'Plugin dependent templates viewed',
|
||||
|
||||
// Plugin settings
|
||||
'plugin_settings_save' => 'Plugin settings saved (:plugin_name)',
|
||||
'plugin_settings_reset' => 'Plugin settings reset (:plugin_name)',
|
||||
|
||||
// Template management
|
||||
'template_index' => 'Template list viewed',
|
||||
'template_show' => 'Template details viewed (:template_name)',
|
||||
'template_install' => 'Template installed (:template_name)',
|
||||
'template_activate' => 'Template activated (:template_name)',
|
||||
'template_deactivate' => 'Template deactivated (:template_name)',
|
||||
'template_uninstall' => 'Template uninstalled (:template_name)',
|
||||
'template_check_updates' => 'Template updates checked',
|
||||
'template_check_modified_layouts' => 'Template modified layouts checked (:template_name)',
|
||||
'template_update' => 'Template updated (:template_name)',
|
||||
'template_version_update' => 'Template version updated (:template_name)',
|
||||
'template_install_from_file' => 'Template installed from file',
|
||||
'template_install_from_github' => 'Template installed from GitHub',
|
||||
'template_refresh_layouts' => 'Template layouts refreshed (:template_name)',
|
||||
|
||||
// Core update
|
||||
'core_update_check' => 'Core update checked',
|
||||
'core_update_update' => 'Core update executed',
|
||||
|
||||
// Activity log
|
||||
'activity_log_index' => 'Activity log list viewed',
|
||||
'activity_log_delete' => 'Activity log deleted (ID: :log_id)',
|
||||
'activity_log_bulk_delete' => 'Activity logs bulk deleted (:count entries)',
|
||||
],
|
||||
|
||||
// ChangeDetector field labels
|
||||
'fields' => [
|
||||
// User
|
||||
'name' => 'Name',
|
||||
'nickname' => 'Nickname',
|
||||
'email' => 'Email',
|
||||
'language' => 'Language',
|
||||
'timezone' => 'Timezone',
|
||||
'country' => 'Country',
|
||||
'status' => 'Status',
|
||||
'is_super' => 'Super Admin',
|
||||
'homepage' => 'Homepage',
|
||||
'mobile' => 'Mobile',
|
||||
'phone' => 'Phone',
|
||||
'zipcode' => 'Zip Code',
|
||||
'address' => 'Address',
|
||||
'address_detail' => 'Address Detail',
|
||||
'bio' => 'Bio',
|
||||
'admin_memo' => 'Admin Memo',
|
||||
|
||||
// Role
|
||||
'identifier' => 'Identifier',
|
||||
'is_active' => 'Active',
|
||||
|
||||
// Menu
|
||||
'url' => 'URL',
|
||||
'icon' => 'Icon',
|
||||
'parent_id' => 'Parent',
|
||||
'order' => 'Order',
|
||||
|
||||
// Schedule
|
||||
'command' => 'Command',
|
||||
'expression' => 'Expression',
|
||||
'without_overlapping' => 'Without Overlapping',
|
||||
'run_in_maintenance' => 'Run in Maintenance',
|
||||
'timeout' => 'Timeout',
|
||||
|
||||
// MailTemplate
|
||||
'subject' => 'Subject',
|
||||
'body' => 'Body',
|
||||
'is_default' => 'Default',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'validation' => [
|
||||
'success' => 'admin_layout.json validation completed successfully.',
|
||||
'schema_failed' => 'JSON schema validation failed: :errors',
|
||||
'unexpected_error' => 'An unexpected error occurred: :message',
|
||||
'schema_not_found' => 'JSON schema file not found: :path',
|
||||
'schema_parse_error' => 'JSON schema file parsing error: :error',
|
||||
'file_not_found' => 'File not found: :path',
|
||||
'json_parse_error' => 'JSON parsing error (:file): :error',
|
||||
'version_unknown' => 'Unknown version',
|
||||
'version_error' => 'Unable to retrieve version information',
|
||||
'module_required' => 'Module name is required',
|
||||
'module_string' => 'Module name must be a string',
|
||||
'module_format' => 'Module name must start with a letter and contain only letters, numbers, underscores, and hyphens',
|
||||
'module_max_length' => 'Module name cannot exceed 50 characters',
|
||||
|
||||
'log' => [
|
||||
'success' => 'admin_layout.json validation successful',
|
||||
'failed' => 'admin_layout.json validation failed',
|
||||
'exception' => 'Exception occurred during admin_layout.json validation',
|
||||
'version_error' => 'Failed to retrieve schema version information',
|
||||
],
|
||||
],
|
||||
|
||||
'loader' => [
|
||||
'validation_failed' => 'Layout validation failed for module :module: :errors',
|
||||
'file_not_found' => 'Layout file not found: :path',
|
||||
'json_parse_error' => 'JSON parsing error (:file): :error',
|
||||
'file_load_error' => 'Error occurred while loading file (:path): :error',
|
||||
|
||||
'log' => [
|
||||
'cache_hit' => 'Layout data loaded from cache',
|
||||
'cache_invalidated' => 'Cache invalidated',
|
||||
'loaded' => 'Layout file loaded successfully',
|
||||
'cached' => 'Layout data cached',
|
||||
'cache_manually_invalidated' => 'Cache manually invalidated',
|
||||
'all_cache_invalidated' => 'All cache invalidated',
|
||||
'file_load_error' => 'File load error',
|
||||
],
|
||||
],
|
||||
|
||||
'command' => [
|
||||
'starting' => 'Starting admin_layout.json file validation',
|
||||
'validating_module' => 'Validating module :module...',
|
||||
'validating_all_modules' => 'Starting validation of :count modules',
|
||||
'module_layout_not_found' => 'admin_layout.json file not found for module :module',
|
||||
'module_valid' => 'Module :module validation successful',
|
||||
'module_invalid' => 'Module :module validation failed: :error',
|
||||
'unexpected_error' => 'Unexpected error in module :module: :error',
|
||||
'modules_directory_not_found' => 'Modules directory not found',
|
||||
'no_modules_found' => 'No modules found to validate',
|
||||
'module_summary' => 'Module :module Summary',
|
||||
'menu_name' => 'Menu Name',
|
||||
'menu_route' => 'Route',
|
||||
'data_sources_count' => 'Data Sources Count',
|
||||
'layout_type' => 'Layout Type',
|
||||
'validation_summary' => 'Validation Summary',
|
||||
'valid_modules_count' => 'Valid Modules',
|
||||
'invalid_modules_count' => 'Invalid Modules',
|
||||
'missing_layouts_count' => 'Missing Layouts',
|
||||
'invalid_modules_details' => 'Invalid Modules Details:',
|
||||
'missing_layouts_details' => 'Modules with Missing Layouts:',
|
||||
'cache_stats' => 'Cache Statistics',
|
||||
'total_cached_modules' => 'Total Cached Modules',
|
||||
'cache_expiration' => 'Cache Expiration',
|
||||
'cached_modules_details' => 'Cached Modules Details:',
|
||||
'clearing_cache' => 'Clearing cache...',
|
||||
'cache_cleared' => 'Cache has been cleared',
|
||||
],
|
||||
|
||||
// API related messages
|
||||
'success' => [
|
||||
'loaded' => 'admin_layout.json loaded successfully',
|
||||
'cached' => 'Layout data has been cached',
|
||||
],
|
||||
|
||||
'error' => [
|
||||
'module_not_found' => 'The requested module was not found',
|
||||
'json_parse_error' => 'An error occurred during JSON parsing',
|
||||
'file_not_readable' => 'File is not readable',
|
||||
'json_parse_failed' => 'JSON parsing failed',
|
||||
'validation_failed' => 'Layout validation failed',
|
||||
'server_error' => 'Internal server error occurred',
|
||||
],
|
||||
|
||||
'log' => [
|
||||
'cache_hit' => 'Layout data retrieved from cache',
|
||||
'cache_updated' => 'Cache has been updated',
|
||||
'layout_loaded' => 'Layout loaded successfully',
|
||||
'validation_completed' => 'Layout validation completed',
|
||||
'layout_load_error' => 'Error occurred while loading layout',
|
||||
'validation_error' => 'Error occurred during layout validation',
|
||||
'service_cache_invalidated' => 'Service cache invalidated',
|
||||
'service_all_cache_invalidated' => 'Service all cache invalidated',
|
||||
'cache_invalidated' => 'Cache invalidated',
|
||||
'all_cache_invalidated' => 'All cache invalidated',
|
||||
'file_read_error' => 'Error occurred while reading file',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Source types
|
||||
'source_type' => [
|
||||
'core' => 'Core',
|
||||
'module' => 'Module',
|
||||
'plugin' => 'Plugin',
|
||||
],
|
||||
|
||||
// Permission types
|
||||
'permission_type' => [
|
||||
'read' => 'Read/Download',
|
||||
'update' => 'Update',
|
||||
'delete' => 'Delete',
|
||||
],
|
||||
|
||||
// Default policies
|
||||
'default_policy' => [
|
||||
'public' => 'Public (All authenticated users)',
|
||||
'owner_only' => 'Owner and Admin only',
|
||||
'read_only' => 'Read only',
|
||||
],
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
'file_required' => 'Please select a file.',
|
||||
'file_invalid' => 'The file is not valid.',
|
||||
'file_max' => 'The file size cannot exceed :max MB.',
|
||||
'files_required' => 'Please select files.',
|
||||
'files_array' => 'The files format is invalid.',
|
||||
'files_min' => 'Please select at least one file.',
|
||||
'type_invalid' => 'The attachmentable type is invalid.',
|
||||
'id_invalid' => 'The attachmentable ID is invalid.',
|
||||
'role_ids_required' => 'Please select roles.',
|
||||
'role_ids_invalid' => 'The role IDs format is invalid.',
|
||||
'role_id_integer' => 'The role ID must be an integer.',
|
||||
'role_id_exists' => 'The selected role does not exist.',
|
||||
'order_required' => 'Order data is required.',
|
||||
'order_array' => 'The order data format is invalid.',
|
||||
'order_id_required' => 'The attachment ID is required.',
|
||||
'order_id_exists' => 'The selected attachment does not exist.',
|
||||
'order_value_required' => 'The order value is required.',
|
||||
'order_value_integer' => 'The order value must be an integer.',
|
||||
'permissions_required' => 'Permissions data is required.',
|
||||
'permissions_invalid' => 'The permissions format is invalid.',
|
||||
'permission_roles_invalid' => 'The permission roles format is invalid.',
|
||||
],
|
||||
|
||||
// Response messages
|
||||
'upload_success' => 'File uploaded successfully.',
|
||||
'upload_batch_success' => 'Files uploaded successfully.',
|
||||
'upload_failed' => 'File upload failed.',
|
||||
'delete_success' => 'File deleted successfully.',
|
||||
'delete_failed' => 'File deletion failed.',
|
||||
'reorder_success' => 'File order updated successfully.',
|
||||
'reorder_failed' => 'File reorder failed.',
|
||||
'sync_roles_success' => 'Roles synchronized successfully.',
|
||||
'sync_roles_failed' => 'Role synchronization failed.',
|
||||
'sync_permissions_success' => 'Permissions synchronized successfully.',
|
||||
'sync_permissions_failed' => 'Permission synchronization failed.',
|
||||
'not_found' => 'Attachment not found.',
|
||||
'access_denied' => 'You do not have permission to access this attachment.',
|
||||
'update_denied' => 'You do not have permission to update this attachment.',
|
||||
'delete_denied' => 'You do not have permission to delete this attachment.',
|
||||
];
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Authentication related messages
|
||||
'login_success' => 'Login successful.',
|
||||
'login_failed' => 'Authentication failed.',
|
||||
'register_success' => 'Registration successful.',
|
||||
'register_failed' => 'Registration failed.',
|
||||
'logout_success' => 'Logout successful.',
|
||||
'logout_all_devices_success' => 'Logged out from all devices.',
|
||||
'password_reset_success' => 'Password has been successfully reset.',
|
||||
'password_reset_failed' => 'Password reset failed.',
|
||||
'invalid_credentials' => 'Invalid credentials.',
|
||||
'admin_login_success' => 'Admin login successful.',
|
||||
'admin_required' => 'Administrator privileges required.',
|
||||
'unauthenticated' => 'Authentication required.',
|
||||
'permission_denied' => 'Permission denied.',
|
||||
'layout_permission_denied' => 'You do not have permission to access this layout. (Required: :required_permissions)',
|
||||
'layout_guest_permission_denied' => 'Authentication required to access this layout. (Required: :required_permissions)',
|
||||
'invalid_permission_type' => 'Invalid permission type.',
|
||||
'role_denied' => 'Role access denied.',
|
||||
'email_not_registered' => 'Email address is not registered.',
|
||||
'guest_permission_denied' => 'Guests are not allowed to perform this action. Login required.',
|
||||
'scope_denied' => 'You do not have access to this resource.',
|
||||
'scope_type_all' => 'All',
|
||||
'scope_type_self' => 'Self only',
|
||||
'scope_type_role' => 'Shared roles',
|
||||
'invalid_token' => 'Invalid authentication token.',
|
||||
'token_expired' => 'Authentication token has expired. Please login again.',
|
||||
'user_not_found' => 'User not found.',
|
||||
'account_inactive' => 'Your account is inactive. Please contact the administrator.',
|
||||
'account_blocked' => 'Your account has been blocked. Please contact the administrator.',
|
||||
'account_withdrawn' => 'This account has been withdrawn.',
|
||||
|
||||
// Password reset
|
||||
'reset_token_invalid' => 'Invalid password reset token.',
|
||||
'reset_token_expired' => 'Password reset token has expired. Please request again.',
|
||||
'password_reset_email_sent' => 'Password reset email has been sent.',
|
||||
'email_send_failed' => 'Failed to send email. Please try again later.',
|
||||
|
||||
// Mail template messages (template body managed in DB)
|
||||
'mail_template_not_found' => 'Mail template not found: :type',
|
||||
'mail_template_updated' => 'Mail template has been updated.',
|
||||
'mail_template_toggled' => 'Mail template active status has been changed.',
|
||||
'mail_template_reset' => 'Mail template has been reset to default.',
|
||||
'mail_template_reset_not_found' => 'Default template data not found: :type',
|
||||
];
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// General response messages
|
||||
'success' => 'Successfully processed.',
|
||||
'failed' => 'Processing failed.',
|
||||
'error_occurred' => 'An error occurred.',
|
||||
'not_found' => 'The requested resource was not found.',
|
||||
'unauthorized' => 'Authentication is required.',
|
||||
'forbidden' => 'Access denied.',
|
||||
'validation_failed' => 'Input validation failed.',
|
||||
|
||||
// Button states
|
||||
'saving' => 'Saving...',
|
||||
'deleting' => 'Deleting...',
|
||||
'processing' => 'Processing...',
|
||||
|
||||
// System labels
|
||||
'system' => 'System',
|
||||
'yes' => 'Yes',
|
||||
'no' => 'No',
|
||||
|
||||
// Common error messages
|
||||
'errors' => [
|
||||
'github_url_empty' => 'GitHub URL is empty.',
|
||||
'github_url_invalid' => 'Invalid GitHub URL format.',
|
||||
'github_api_failed' => 'GitHub API call failed.',
|
||||
'github_download_failed' => 'Failed to download from GitHub.',
|
||||
'github_archive_download_failed' => 'Failed to download archive. (:url)',
|
||||
'zip_file_not_found' => 'ZIP file not found.',
|
||||
'zip_open_failed' => 'Failed to open ZIP file.',
|
||||
],
|
||||
|
||||
// Common validation error label
|
||||
'validation_error' => 'Validation Error',
|
||||
|
||||
// Changelog validation
|
||||
'changelog_validation' => [
|
||||
'source_in' => 'Source must be one of: active, bundled, github.',
|
||||
'version_format' => 'The :attribute format is invalid. (e.g., 1.0.0, 1.0.0-beta.1)',
|
||||
'to_version_required' => 'End version is required when start version is specified.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Dashboard Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Strings used in dashboard API responses and messages.
|
||||
|
|
||||
*/
|
||||
|
||||
// API response messages
|
||||
'stats_loaded' => 'Dashboard statistics loaded successfully.',
|
||||
'stats_failed' => 'Failed to load dashboard statistics.',
|
||||
'resources_loaded' => 'System resources loaded successfully.',
|
||||
'resources_failed' => 'Failed to load system resources.',
|
||||
'activities_loaded' => 'Recent activities loaded successfully.',
|
||||
'activities_failed' => 'Failed to load recent activities.',
|
||||
'alerts_loaded' => 'System alerts loaded successfully.',
|
||||
'alerts_failed' => 'Failed to load system alerts.',
|
||||
|
||||
// Stats card
|
||||
'stats' => [
|
||||
'status_normal' => 'Normal',
|
||||
'status_warning' => 'Warning',
|
||||
],
|
||||
|
||||
// Recent activities
|
||||
'activities' => [
|
||||
'user_registered' => ':name has registered.',
|
||||
],
|
||||
|
||||
// System alerts
|
||||
'alerts' => [
|
||||
'system_update_available' => 'System Update Available',
|
||||
'system_update_message' => 'A new version of Gnuboard7 is available. Please check for updates.',
|
||||
'disk_space_low' => 'Disk Space Low',
|
||||
'disk_space_message' => 'Disk usage has exceeded 90%. Please clean up unnecessary files.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Error Page Translations
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'back_home' => 'Back to Home',
|
||||
|
||||
'401' => [
|
||||
'title' => 'Authentication Required',
|
||||
'message' => 'You need to log in to access this page.',
|
||||
],
|
||||
|
||||
'403' => [
|
||||
'title' => 'Access Denied',
|
||||
'message' => 'You do not have permission to access this page.',
|
||||
],
|
||||
|
||||
'404' => [
|
||||
'title' => 'Page Not Found',
|
||||
'message' => 'The page you requested does not exist or has been moved.',
|
||||
],
|
||||
|
||||
'500' => [
|
||||
'title' => 'Server Error',
|
||||
'message' => 'Something went wrong while processing your request. Please try again later.',
|
||||
],
|
||||
|
||||
'503' => [
|
||||
'title' => 'Service Unavailable',
|
||||
'message' => 'The service is currently unavailable. Please try again later.',
|
||||
'unmet_dependencies' => 'Unmet Dependencies',
|
||||
'template' => 'Template',
|
||||
'modules' => 'Modules',
|
||||
'plugins' => 'Plugins',
|
||||
'contact_admin' => 'If the problem persists, please contact the administrator.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// User related exceptions
|
||||
'cannot_delete_super_admin' => 'Super admin cannot be deleted.',
|
||||
|
||||
'circular_reference' => 'Layout circular reference detected: :trace',
|
||||
'max_depth_exceeded' => 'Layout nesting depth exceeds maximum allowed depth (:max).',
|
||||
'template_file_copy_failed' => 'Template file copy failed: :source → :destination',
|
||||
'template_build_directory_creation_failed' => 'Template build directory creation failed: :path',
|
||||
'template_dist_directory_not_found' => 'Template dist directory not found: :path',
|
||||
'template_not_found' => 'Template not found: :identifier',
|
||||
'template_not_active' => 'Template is not active: :identifier (status: :status)',
|
||||
|
||||
// Layout related exceptions
|
||||
'layout' => [
|
||||
'duplicate_data_source_id' => 'Duplicate data_sources ID: :id',
|
||||
'duplicate_data_source_id_in_file' => 'Duplicate data_sources ID in layout file: :ids (file: :file)',
|
||||
'duplicate_data_source_id_extends' => 'Duplicate data_sources ID in extends inheritance: :ids (child: :child, parent: :parent)',
|
||||
'not_found' => 'Layout not found: :name',
|
||||
'parent_not_found' => 'Parent layout not found: :parent (requested layout: :child)',
|
||||
|
||||
// Include related exceptions
|
||||
'include_file_not_found' => 'Include file not found: :path (resolved: :resolved)',
|
||||
'invalid_include_json' => 'Invalid JSON in include file: :path (error: :error)',
|
||||
'circular_include' => 'Circular include detected: :trace',
|
||||
'max_include_depth_exceeded' => 'Maximum include depth exceeded (max: :max)',
|
||||
'include_outside_directory' => 'Include path outside allowed directory: :path (allowed: :allowed_dir)',
|
||||
],
|
||||
|
||||
// Layout version related exceptions
|
||||
'layout_version' => [
|
||||
'save_failed_after_retries' => 'Failed to save layout version after :attempts attempts.',
|
||||
'save_failed_unexpected' => 'Unexpected error occurred while saving layout version.',
|
||||
],
|
||||
|
||||
// Settings related exceptions
|
||||
'settings' => [
|
||||
'backup_creation_failed' => 'Failed to create settings backup file.',
|
||||
'restore_failed' => 'Failed to restore settings.',
|
||||
'category_not_found' => 'Settings category not found: :category',
|
||||
'save_failed' => 'Failed to save settings: :category',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'core' => 'Core',
|
||||
'module' => 'Module',
|
||||
'plugin' => 'Plugin',
|
||||
];
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'types' => [
|
||||
'module' => 'Module',
|
||||
'plugin' => 'Plugin',
|
||||
'template' => 'Template',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'core_version_mismatch' => ':extension (:type) requires Gnuboard7 core version :required or higher. (Current: :installed)',
|
||||
'version_check_failed' => 'Version check failed.',
|
||||
'operation_in_progress' => 'Cannot process the request because ":name" has an operation in progress (:status).',
|
||||
],
|
||||
|
||||
'warnings' => [
|
||||
'auto_deactivated' => ':type ":identifier" has been automatically deactivated due to core version incompatibility.',
|
||||
],
|
||||
|
||||
'alerts' => [
|
||||
'incompatible_deactivated' => ':type ":name" auto-deactivated',
|
||||
'incompatible_message' => 'Required: :required, Installed: :installed',
|
||||
],
|
||||
|
||||
'commands' => [
|
||||
'clear_cache_success' => 'Extension version check cache has been cleared.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Version compatibility warnings
|
||||
'version_warning_title' => 'Compatibility Warning',
|
||||
'version_incompatible' => 'Override ":source" is incompatible with module version (required: :constraint, current: :current_version)',
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'Layout Management',
|
||||
|
||||
'messages' => [
|
||||
'retrieved' => 'Layout information retrieved successfully.',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'not_found' => 'Layout not found.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// List
|
||||
'fetch_success' => 'Mail send logs loaded successfully.',
|
||||
'fetch_failed' => 'Failed to load mail send logs.',
|
||||
|
||||
// Statistics
|
||||
'stats_success' => 'Mail send statistics loaded successfully.',
|
||||
'stats_failed' => 'Failed to load mail send statistics.',
|
||||
|
||||
// Delete
|
||||
'delete_success' => 'Mail send log deleted successfully.',
|
||||
'bulk_delete_success' => 'Selected mail send logs deleted successfully.',
|
||||
'delete_failed' => 'Failed to delete mail send log.',
|
||||
|
||||
// Validation
|
||||
'validation' => [
|
||||
'status_invalid' => 'Invalid send status.',
|
||||
'date_range_invalid' => 'End date must be after or equal to start date.',
|
||||
'per_page_min' => 'Items per page must be at least 1.',
|
||||
'per_page_max' => 'Items per page must not exceed 100.',
|
||||
'ids_required' => 'Please select items to delete.',
|
||||
'ids_min' => 'Please select at least one item to delete.',
|
||||
'id_not_found' => 'Mail send log not found.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// List
|
||||
'fetch_success' => 'Mail templates loaded successfully.',
|
||||
'fetch_failed' => 'Failed to load mail templates.',
|
||||
|
||||
// Update
|
||||
'save_success' => 'Mail template has been updated.',
|
||||
'save_error' => 'Failed to update mail template.',
|
||||
|
||||
// Toggle active
|
||||
'toggle_success' => 'Mail template active status has been changed.',
|
||||
'toggle_failed' => 'Failed to change mail template active status.',
|
||||
|
||||
// Preview
|
||||
'preview_success' => 'Preview generated successfully.',
|
||||
'preview_failed' => 'Failed to generate preview.',
|
||||
|
||||
// Reset to default
|
||||
'reset_success' => 'Mail template has been reset to default.',
|
||||
'reset_failed' => 'Failed to reset mail template to default.',
|
||||
'reset_no_default' => 'Default template data not found.',
|
||||
|
||||
// Validation
|
||||
'validation' => [
|
||||
'subject_required' => 'Mail subject is required.',
|
||||
'subject_ko_required' => 'Mail subject (Korean) is required.',
|
||||
'body_required' => 'Mail body is required.',
|
||||
'body_ko_required' => 'Mail body (Korean) is required.',
|
||||
'per_page_min' => 'Items per page must be at least 1.',
|
||||
'per_page_max' => 'Items per page must not exceed 100.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'Under Maintenance',
|
||||
'message' => 'The system is currently being updated.',
|
||||
'description' => 'Please try again later. We apologize for the inconvenience.',
|
||||
];
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Menu related messages
|
||||
'fetch_success' => 'Menu retrieved successfully.',
|
||||
'fetch_failed' => 'Failed to retrieve menu.',
|
||||
'active_fetch_failed' => 'Failed to retrieve active menus.',
|
||||
'create_success' => 'Menu created successfully.',
|
||||
'create_failed' => 'Failed to create menu.',
|
||||
'create_error' => 'An error occurred while creating menu.',
|
||||
'update_success' => 'Menu updated successfully.',
|
||||
'update_failed' => 'Failed to update menu.',
|
||||
'update_error' => 'An error occurred while updating menu.',
|
||||
'delete_success' => 'Menu deleted successfully.',
|
||||
'delete_failed' => 'Failed to delete menu.',
|
||||
'delete_error' => 'An error occurred while deleting menu.',
|
||||
'order_update_success' => 'Menu order updated successfully.',
|
||||
'order_update_failed' => 'Failed to update menu order.',
|
||||
'slug_already_exists' => 'Slug is already in use.',
|
||||
'parent_menu_not_found' => 'Parent menu does not exist.',
|
||||
'cannot_set_self_as_parent' => 'Cannot set itself as parent.',
|
||||
'cannot_delete_menu_with_children' => 'Cannot delete menu with children.',
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
'is_active_boolean' => 'The active status must be a boolean value.',
|
||||
'sort_by_invalid' => 'The sort field is invalid.',
|
||||
'sort_order_invalid' => 'The sort order is invalid.',
|
||||
'filters_array' => 'Filters must be an array.',
|
||||
'filters_max' => 'Maximum of 10 filters can be specified.',
|
||||
'filter_field_required' => 'Filter field is required.',
|
||||
'filter_field_invalid' => 'Invalid filter field.',
|
||||
'filter_value_required' => 'Filter value is required.',
|
||||
'filter_value_max' => 'Filter value cannot exceed 255 characters.',
|
||||
'filter_operator_invalid' => 'Invalid filter operator.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Module management messages
|
||||
'not_found' => 'Module :module not found.',
|
||||
'dependency_not_active' => 'Dependency module :dependency is not installed or active.',
|
||||
|
||||
// Module operation messages
|
||||
'fetch_success' => 'Module retrieved successfully.',
|
||||
'fetch_failed' => 'Failed to retrieve module.',
|
||||
'install_success' => 'Module installed successfully.',
|
||||
'install_failed' => 'Failed to install module.',
|
||||
'uninstall_success' => 'Module uninstalled successfully.',
|
||||
'uninstall_failed' => 'Failed to uninstall module.',
|
||||
'activate_success' => 'Module activated successfully.',
|
||||
'activate_failed' => 'Failed to activate module.',
|
||||
'deactivate_success' => 'Module deactivated successfully.',
|
||||
'deactivate_failed' => 'Failed to deactivate module.',
|
||||
'update_success' => 'Module updated successfully.',
|
||||
'update_failed' => 'Failed to update module.',
|
||||
'refresh_layouts_success' => 'Module layouts refreshed successfully.',
|
||||
'refresh_layouts_failed' => 'Failed to refresh module layouts.',
|
||||
'uninstall_info_success' => 'Module uninstall information retrieved successfully.',
|
||||
'uninstall_info_failed' => 'Failed to retrieve module uninstall information.',
|
||||
'license_not_found' => 'Module license file not found.',
|
||||
|
||||
// Status
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'installing' => 'Installing',
|
||||
'uninstalling' => 'Uninstalling'
|
||||
],
|
||||
|
||||
// Error messages
|
||||
'errors' => [
|
||||
'module_class_not_found' => 'Module class not found.',
|
||||
'migration_failed' => 'Failed to run migrations.',
|
||||
'dependency_check_failed' => 'Dependency check failed.',
|
||||
'database_error' => 'Database error occurred.',
|
||||
'module_not_found' => 'Module :name not found.',
|
||||
'module_not_active' => 'Module :name is not active.',
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,226 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Common messages
|
||||
'not_found' => 'Module ":module" not found.',
|
||||
'dependency_not_active' => 'Dependency module ":dependency" is not installed or inactive.',
|
||||
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'updating' => 'Updating',
|
||||
],
|
||||
|
||||
'commands' => [
|
||||
'list' => [
|
||||
'headers' => [
|
||||
'identifier' => 'Identifier',
|
||||
'name' => 'Name',
|
||||
'vendor' => 'Vendor',
|
||||
'version' => 'Version',
|
||||
'status' => 'Status',
|
||||
],
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'uninstalled' => 'Not Installed',
|
||||
],
|
||||
'no_modules' => 'No modules found.',
|
||||
'summary' => 'Total :total modules (Installed: :installed, Active: :active)',
|
||||
'invalid_status' => 'Invalid status. (installed, uninstalled, active, inactive)',
|
||||
],
|
||||
'install' => [
|
||||
'success' => 'Module ":module" installed successfully',
|
||||
'vendor' => 'Vendor: :vendor',
|
||||
'version' => 'Version: :version',
|
||||
'roles_created' => ':count roles created',
|
||||
'permissions_created' => ':count permissions created',
|
||||
'menus_created' => ':count menus created',
|
||||
'already_installed' => 'Module ":module" is already installed.',
|
||||
],
|
||||
'activate' => [
|
||||
'success' => 'Module ":module" activated successfully',
|
||||
'not_installed' => 'Module ":module" is not installed.',
|
||||
'already_active' => 'Module ":module" is already active.',
|
||||
'layouts_registered' => ':count layouts registered',
|
||||
],
|
||||
'deactivate' => [
|
||||
'success' => 'Module ":module" deactivated successfully',
|
||||
'not_installed' => 'Module ":module" is not installed.',
|
||||
'not_active' => 'Module ":module" is not active.',
|
||||
'warning' => 'Module routes and features have been deactivated.',
|
||||
'layouts_deleted' => ':count layouts deleted',
|
||||
],
|
||||
'uninstall' => [
|
||||
'success' => 'Module ":module" uninstalled successfully',
|
||||
'roles_deleted' => ':count roles deleted',
|
||||
'permissions_deleted' => ':count permissions deleted',
|
||||
'menus_deleted' => ':count menus deleted',
|
||||
'layouts_deleted' => ':count layouts deleted',
|
||||
'confirm_prompt' => 'Are you sure you want to uninstall module ":module"?',
|
||||
'confirm_details' => [
|
||||
'roles' => '- :count roles will be deleted.',
|
||||
'permissions' => '- :count permissions will be deleted.',
|
||||
'menus' => '- :count menus will be deleted.',
|
||||
'layouts' => '- :count layouts will be deleted.',
|
||||
'data' => '- All module data will be deleted.',
|
||||
],
|
||||
'confirm_question' => 'Do you really want to delete?',
|
||||
'aborted' => 'Module uninstallation cancelled.',
|
||||
'not_installed' => 'Module ":module" is not installed.',
|
||||
],
|
||||
'cache_clear' => [
|
||||
'clearing_all' => 'Clearing all module caches...',
|
||||
'clearing_single' => 'Clearing module ":module" cache...',
|
||||
'success_all' => 'Module cache cleared (:count items)',
|
||||
'success_single' => 'Module ":module" cache cleared (:count items)',
|
||||
],
|
||||
'check_updates' => [
|
||||
'not_installed' => 'Module ":module" is not installed.',
|
||||
'no_installed' => 'No installed modules found.',
|
||||
'update_available' => 'Update available',
|
||||
'up_to_date' => 'Up to date',
|
||||
'headers' => [
|
||||
'identifier' => 'Identifier',
|
||||
'current_version' => 'Current Version',
|
||||
'latest_version' => 'Latest Version',
|
||||
'source' => 'Source',
|
||||
'status' => 'Status',
|
||||
],
|
||||
'summary' => 'Total :total checked (Updates available: :updates)',
|
||||
'single_up_to_date' => 'Module ":module" is up to date. (v:version)',
|
||||
'single_update_available' => 'Module ":module" update available: v:current → v:latest (:source)',
|
||||
],
|
||||
'update' => [
|
||||
'success' => 'Module ":module" updated successfully',
|
||||
'version_change' => 'v:from → v:to',
|
||||
'no_update' => 'No update available for module ":module".',
|
||||
'not_installed' => 'Module ":module" is not installed.',
|
||||
'current_version' => 'Current version: :version',
|
||||
'latest_version' => 'Latest version: :version',
|
||||
'update_source' => 'Update source: :source',
|
||||
'confirm_question' => 'Do you want to proceed with the update?',
|
||||
'aborted' => 'Update cancelled.',
|
||||
'backup_restored' => 'Previous version has been restored from backup.',
|
||||
'force_mode' => 'Force update mode: Skipping version comparison and reinstalling.',
|
||||
],
|
||||
],
|
||||
|
||||
// Composer dependency installation messages
|
||||
'composer_install' => [
|
||||
'start' => 'Installing Composer dependencies for module ":module"...',
|
||||
'success' => 'Composer dependencies installed for module ":module"',
|
||||
'no_dependencies' => 'Module ":module" has no Composer dependencies to install.',
|
||||
'failed' => 'Failed to install Composer dependencies for module ":module".',
|
||||
'summary' => '📊 Result: :success succeeded, :skip skipped, :fail failed',
|
||||
],
|
||||
|
||||
// Update related messages
|
||||
'update_success' => 'Module ":module" has been updated to version :version.',
|
||||
'update_failed' => 'Module update failed: :error',
|
||||
'update_hook_failed' => 'Module update hook execution failed.',
|
||||
'no_update_available' => 'No update available.',
|
||||
'check_updates_success' => 'Update check completed.',
|
||||
'check_updates_failed' => 'Update check failed.',
|
||||
'not_installed' => 'Module ":module" is not installed.',
|
||||
|
||||
// _pending related messages
|
||||
'pending_not_found' => 'Module ":module" not found in pending list.',
|
||||
'already_exists' => 'Module ":module" already exists.',
|
||||
'move_failed' => 'Failed to move module ":module".',
|
||||
|
||||
// Module service error messages
|
||||
'deactivate_warning' => 'There are active templates that depend on this module.',
|
||||
'installation_failed' => 'Module installation failed: :error',
|
||||
'activation_failed' => 'Module activation failed: :error',
|
||||
'deactivation_failed' => 'Module deactivation failed: :error',
|
||||
'uninstallation_failed' => 'Module uninstallation failed: :error',
|
||||
'refresh_layouts_failed' => 'Failed to refresh layouts: :error',
|
||||
|
||||
// Warning messages
|
||||
'warnings' => [
|
||||
'has_dependent_templates' => 'There are active templates that depend on this module. Use force option to deactivate.',
|
||||
'has_dependents' => 'There are active extensions that depend on this module.',
|
||||
'deactivation_warning' => 'Deactivating will affect the following templates:',
|
||||
'confirm_deactivation' => 'Do you still want to deactivate?',
|
||||
'missing_dependencies' => 'The following dependencies are required to activate this module.',
|
||||
],
|
||||
|
||||
// Activation warning message
|
||||
'activate_warning' => 'Required dependencies are not met for module activation.',
|
||||
|
||||
// Deactivation warning message (extended)
|
||||
'deactivate_warning_extended' => 'There are active extensions (templates, modules, plugins) that depend on this module.',
|
||||
|
||||
// Error messages
|
||||
'errors' => [
|
||||
'zip_open_failed' => 'Failed to open ZIP file.',
|
||||
'module_json_not_found' => 'module.json file not found.',
|
||||
'module_json_invalid' => 'Invalid module.json file format.',
|
||||
'identifier_missing' => 'Module identifier is missing.',
|
||||
'already_installed' => 'Module is already installed.',
|
||||
'install_failed' => 'Failed to install module.',
|
||||
'github_url_invalid' => 'Invalid GitHub URL format.',
|
||||
'github_download_failed' => 'Failed to download from GitHub.',
|
||||
'github_repo_not_found' => 'GitHub repository not found.',
|
||||
'module_not_found' => 'Module :name not found.',
|
||||
'module_not_active' => 'Module :name is not active.',
|
||||
// Asset serving error messages
|
||||
'not_found' => 'Module :module not found.',
|
||||
'file_not_found' => 'File not found.',
|
||||
'file_type_not_allowed' => 'File type not allowed.',
|
||||
'unknown_error' => 'An unknown error occurred.',
|
||||
'invalid_permission_structure' => 'Invalid permission structure for module ":identifier": :reason',
|
||||
'invalid_translation_path' => 'Invalid translation path for module ":identifier". Use ":correct_path" instead of ":wrong_path".',
|
||||
'layout_validation_json_error' => 'Failed to parse JSON in layout file :file: :error',
|
||||
'layout_validation_missing_name' => 'Layout file :file is missing layout_name.',
|
||||
'layout_validation_partial_error' => 'Failed to process partial in layout file :file: :error (partial: :partial)',
|
||||
'layout_validation_validation_failed' => 'Layout validation failed for module :identifier. :count errors found.',
|
||||
'operation_in_progress' => 'Module ":name" is currently :status. Please wait until the operation is complete.',
|
||||
'github_api_failed' => 'GitHub API call failed.',
|
||||
'invalid_github_url' => 'Invalid GitHub URL.',
|
||||
'zip_url_not_found' => 'ZIP download URL not found.',
|
||||
'download_failed' => 'Failed to download module ":module" version :version.',
|
||||
'zip_extract_failed' => 'ZIP extraction failed.',
|
||||
'extracted_dir_not_found' => 'Extracted directory not found.',
|
||||
'reload_failed' => 'Failed to reload module.',
|
||||
'delete_directory_failed' => 'Failed to delete module directory.',
|
||||
'update_failed' => 'Failed to update module ":module": :error',
|
||||
],
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
// Basic module fields
|
||||
'name_required' => 'Module name is required.',
|
||||
'name_string' => 'Module name must be a string.',
|
||||
'name_max' => 'Module name cannot exceed 255 characters.',
|
||||
|
||||
// Search filters
|
||||
'search_max' => 'Search term cannot exceed 255 characters.',
|
||||
'filters_max' => 'Maximum 10 search filters are allowed.',
|
||||
'filter_field_required' => 'Search field is required.',
|
||||
'filter_field_invalid' => 'Invalid search field.',
|
||||
'filter_value_required' => 'Search value is required.',
|
||||
'filter_value_max' => 'Search value cannot exceed 255 characters.',
|
||||
'filter_operator_invalid' => 'Invalid search operator.',
|
||||
'status_invalid' => 'Invalid status.',
|
||||
'per_page_min' => 'Items per page must be at least 1.',
|
||||
'per_page_max' => 'Items per page cannot exceed 100.',
|
||||
'page_min' => 'Page number must be at least 1.',
|
||||
|
||||
// File upload
|
||||
'file_required' => 'Module file is required.',
|
||||
'file_invalid' => 'Invalid file.',
|
||||
'file_must_be_zip' => 'Module file must be in ZIP format.',
|
||||
'file_max_size' => 'Module file size cannot exceed :sizeMB.',
|
||||
|
||||
// GitHub
|
||||
'github_url_required' => 'GitHub URL is required.',
|
||||
'github_url_invalid' => 'Invalid URL format.',
|
||||
'github_url_format' => 'Invalid GitHub repository URL format.',
|
||||
|
||||
// with parameter
|
||||
'with_max' => 'Maximum 10 with relationships are allowed.',
|
||||
'with_invalid' => 'Invalid with relationship.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Navigation menu translations
|
||||
'dashboard' => 'Dashboard',
|
||||
'settings' => 'Settings',
|
||||
'modules' => 'Module Management',
|
||||
'plugins' => 'Plugin Management',
|
||||
'themes' => 'Theme Management',
|
||||
'menus' => 'Menu Management',
|
||||
'users' => 'User Management',
|
||||
|
||||
// User menu
|
||||
'profile' => 'Profile',
|
||||
'logout' => 'Logout',
|
||||
|
||||
// Common
|
||||
'home' => 'Home',
|
||||
'back' => 'Back',
|
||||
'loading' => 'Loading...',
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Permission management messages
|
||||
'fetch_success' => 'Permission information has been fetched successfully.',
|
||||
'fetch_failed' => 'Failed to fetch permission information.',
|
||||
|
||||
// Permission types
|
||||
'type' => [
|
||||
'admin' => 'Admin Permissions',
|
||||
'user' => 'User Permissions',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,257 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Plugin related messages
|
||||
'list_success' => 'Plugin list retrieved successfully.',
|
||||
'list_failed' => 'Failed to retrieve plugin list.',
|
||||
'fetch_success' => 'Plugin information retrieved successfully.',
|
||||
'fetch_failed' => 'Failed to retrieve plugin information.',
|
||||
'not_found' => 'Plugin :plugin not found.',
|
||||
'install_success' => 'Plugin installed successfully.',
|
||||
'install_failed' => 'Failed to install plugin.',
|
||||
'install_validation_failed' => 'Plugin installation validation failed.',
|
||||
'install_error' => 'An error occurred while installing plugin.',
|
||||
'uninstall_success' => 'Plugin uninstalled successfully.',
|
||||
'uninstall_failed' => 'Failed to uninstall plugin.',
|
||||
'uninstall_validation_failed' => 'Plugin uninstallation validation failed.',
|
||||
'uninstall_error' => 'An error occurred while uninstalling plugin.',
|
||||
'activate_success' => 'Plugin activated successfully.',
|
||||
'activate_failed' => 'Failed to activate plugin.',
|
||||
'activate_validation_failed' => 'Plugin activation validation failed.',
|
||||
'activate_error' => 'An error occurred while activating plugin.',
|
||||
'deactivate_success' => 'Plugin deactivated successfully.',
|
||||
'deactivate_failed' => 'Failed to deactivate plugin.',
|
||||
'deactivate_validation_failed' => 'Plugin deactivation validation failed.',
|
||||
'deactivate_error' => 'An error occurred while deactivating plugin.',
|
||||
'refresh_layouts_success' => 'Plugin layouts refreshed successfully.',
|
||||
'refresh_layouts_failed' => 'Failed to refresh plugin layouts: :error',
|
||||
'uninstall_info_success' => 'Plugin uninstall information retrieved successfully.',
|
||||
'uninstall_info_failed' => 'Failed to retrieve plugin uninstall information.',
|
||||
'license_not_found' => 'Plugin license file not found.',
|
||||
'refresh_layouts_validation_failed' => 'Plugin layouts refresh validation failed.',
|
||||
'refresh_layouts_error' => 'An error occurred while refreshing plugin layouts.',
|
||||
|
||||
// Status
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'updating' => 'Updating',
|
||||
],
|
||||
|
||||
// Update related messages
|
||||
'update_success' => 'Plugin ":plugin" has been updated to version :version.',
|
||||
'update_failed' => 'Plugin update failed: :error',
|
||||
'update_hook_failed' => 'Plugin update hook execution failed.',
|
||||
'no_update_available' => 'No update available.',
|
||||
'check_updates_success' => 'Update check completed.',
|
||||
'check_updates_failed' => 'Update check failed.',
|
||||
'not_installed' => 'Plugin ":plugin" is not installed.',
|
||||
|
||||
// _pending related messages
|
||||
'pending_not_found' => 'Plugin ":plugin" not found in pending list.',
|
||||
'already_exists' => 'Plugin ":plugin" already exists.',
|
||||
'move_failed' => 'Failed to move plugin ":plugin".',
|
||||
|
||||
// Dependency messages
|
||||
'dependency_not_active' => 'Dependency ":dependency" is not installed or inactive.',
|
||||
|
||||
// Plugin service error messages
|
||||
'installation_failed' => 'Plugin installation failed: :error',
|
||||
'activation_failed' => 'Plugin activation failed: :error',
|
||||
'deactivation_failed' => 'Plugin deactivation failed: :error',
|
||||
'uninstallation_failed' => 'Plugin uninstallation failed: :error',
|
||||
|
||||
// Warning messages
|
||||
'warnings' => [
|
||||
'has_dependent_templates' => 'There are active templates that depend on this plugin. Use force option to deactivate.',
|
||||
'has_dependents' => 'There are active extensions that depend on this plugin.',
|
||||
'deactivation_warning' => 'Deactivating will affect the following templates:',
|
||||
'confirm_deactivation' => 'Do you still want to deactivate?',
|
||||
'missing_dependencies' => 'The following dependencies are required to activate this plugin.',
|
||||
],
|
||||
|
||||
// Activation warning message
|
||||
'activate_warning' => 'Required dependencies are not met for plugin activation.',
|
||||
|
||||
// Deactivation warning message
|
||||
'deactivate_warning' => 'There are active extensions that depend on this plugin.',
|
||||
|
||||
// Deactivation warning message (extended)
|
||||
'deactivate_warning_extended' => 'There are active extensions (templates, modules, plugins) that depend on this plugin.',
|
||||
|
||||
// Error messages
|
||||
'errors' => [
|
||||
'invalid_permission_structure' => 'Invalid permission structure for plugin ":identifier": :reason',
|
||||
'invalid_translation_path' => 'Invalid translation path for plugin ":identifier". Use ":correct_path" instead of ":wrong_path".',
|
||||
'plugin_not_found' => 'Plugin ":name" not found.',
|
||||
'plugin_not_active' => 'Plugin ":name" is not active.',
|
||||
// Asset serving error messages
|
||||
'not_found' => 'Plugin :plugin not found.',
|
||||
'file_not_found' => 'File not found.',
|
||||
'file_type_not_allowed' => 'File type not allowed.',
|
||||
'unknown_error' => 'An unknown error occurred.',
|
||||
'layout_validation_json_error' => 'Failed to parse JSON in layout file :file: :error',
|
||||
'layout_validation_missing_name' => 'layout_name is missing in layout file :file.',
|
||||
'layout_validation_partial_error' => 'Failed to process partial in layout file :file: :error (partial: :partial)',
|
||||
'layout_validation_validation_failed' => 'Layout validation failed for plugin :identifier. :count error(s) found.',
|
||||
'operation_in_progress' => 'Plugin ":name" is currently :status. Please wait until the operation is complete.',
|
||||
'github_api_failed' => 'GitHub API call failed.',
|
||||
'invalid_github_url' => 'Invalid GitHub URL.',
|
||||
'zip_url_not_found' => 'ZIP download URL not found.',
|
||||
'download_failed' => 'Failed to download plugin ":plugin" version :version.',
|
||||
'zip_extract_failed' => 'ZIP extraction failed.',
|
||||
'extracted_dir_not_found' => 'Extracted directory not found.',
|
||||
'reload_failed' => 'Failed to reload plugin.',
|
||||
'delete_directory_failed' => 'Failed to delete plugin directory.',
|
||||
'update_failed' => 'Failed to update plugin ":plugin": :error',
|
||||
'github_url_invalid' => 'Invalid GitHub URL format.',
|
||||
'github_download_failed' => 'Failed to download from GitHub.',
|
||||
'github_repo_not_found' => 'GitHub repository not found.',
|
||||
'zip_open_failed' => 'Unable to open ZIP file.',
|
||||
'plugin_json_not_found' => 'plugin.json file not found.',
|
||||
'plugin_json_invalid' => 'Invalid plugin.json file format.',
|
||||
'identifier_missing' => 'Plugin identifier is missing.',
|
||||
'already_installed' => 'Plugin ":plugin" is already installed.',
|
||||
'install_failed' => 'Plugin installation failed.',
|
||||
],
|
||||
|
||||
// Validation messages (FormRequest)
|
||||
'validation' => [
|
||||
'github_url_required' => 'GitHub URL is required.',
|
||||
'github_url_invalid' => 'Invalid URL format.',
|
||||
'github_url_format' => 'Must be a GitHub repository URL. (e.g., https://github.com/owner/repo)',
|
||||
'file_required' => 'Please select a file to install.',
|
||||
'file_invalid' => 'Invalid file.',
|
||||
'file_must_be_zip' => 'Only ZIP files can be uploaded.',
|
||||
'file_max_size' => 'File size must not exceed :sizeMB.',
|
||||
],
|
||||
|
||||
// Artisan command messages
|
||||
'commands' => [
|
||||
'list' => [
|
||||
'headers' => [
|
||||
'identifier' => 'Identifier',
|
||||
'name' => 'Name',
|
||||
'vendor' => 'Vendor',
|
||||
'version' => 'Version',
|
||||
'status' => 'Status',
|
||||
],
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'uninstalled' => 'Not Installed',
|
||||
],
|
||||
'no_plugins' => 'No plugins found.',
|
||||
'summary' => 'Total :total plugins (Installed: :installed, Active: :active)',
|
||||
'invalid_status' => 'Invalid status. (installed, uninstalled, active, inactive)',
|
||||
],
|
||||
'install' => [
|
||||
'success' => 'Plugin ":plugin" installed successfully',
|
||||
'vendor' => 'Vendor: :vendor',
|
||||
'version' => 'Version: :version',
|
||||
'roles_created' => ':count roles created',
|
||||
'permissions_created' => ':count permissions created',
|
||||
'already_installed' => 'Plugin ":plugin" is already installed.',
|
||||
],
|
||||
'activate' => [
|
||||
'success' => 'Plugin ":plugin" activated successfully',
|
||||
'not_installed' => 'Plugin ":plugin" is not installed.',
|
||||
'already_active' => 'Plugin ":plugin" is already active.',
|
||||
'layouts_registered' => ':count layouts registered',
|
||||
],
|
||||
'deactivate' => [
|
||||
'success' => 'Plugin ":plugin" deactivated successfully',
|
||||
'not_installed' => 'Plugin ":plugin" is not installed.',
|
||||
'not_active' => 'Plugin ":plugin" is not active.',
|
||||
'warning' => 'Plugin routes and features have been deactivated.',
|
||||
'layouts_deleted' => ':count layouts deleted',
|
||||
],
|
||||
'uninstall' => [
|
||||
'success' => 'Plugin ":plugin" uninstalled successfully',
|
||||
'roles_deleted' => ':count roles deleted',
|
||||
'permissions_deleted' => ':count permissions deleted',
|
||||
'layouts_deleted' => ':count layouts deleted',
|
||||
'confirm_prompt' => 'Are you sure you want to uninstall plugin ":plugin"?',
|
||||
'confirm_details' => [
|
||||
'roles' => '- :count roles will be deleted.',
|
||||
'permissions' => '- :count permissions will be deleted.',
|
||||
'layouts' => '- :count layouts will be deleted.',
|
||||
'data' => '- All plugin data will be deleted.',
|
||||
],
|
||||
'confirm_question' => 'Do you really want to delete?',
|
||||
'aborted' => 'Plugin uninstallation cancelled.',
|
||||
'not_installed' => 'Plugin ":plugin" is not installed.',
|
||||
],
|
||||
'cache_clear' => [
|
||||
'clearing_all' => 'Clearing all plugin caches...',
|
||||
'clearing_single' => 'Clearing plugin ":plugin" cache...',
|
||||
'success_all' => 'Plugin cache cleared (:count items)',
|
||||
'success_single' => 'Plugin ":plugin" cache cleared (:count items)',
|
||||
],
|
||||
'check_updates' => [
|
||||
'not_installed' => 'Plugin ":plugin" is not installed.',
|
||||
'no_installed' => 'No installed plugins found.',
|
||||
'update_available' => 'Update available',
|
||||
'up_to_date' => 'Up to date',
|
||||
'headers' => [
|
||||
'identifier' => 'Identifier',
|
||||
'current_version' => 'Current Version',
|
||||
'latest_version' => 'Latest Version',
|
||||
'source' => 'Source',
|
||||
'status' => 'Status',
|
||||
],
|
||||
'summary' => 'Total :total checked (Updates available: :updates)',
|
||||
'single_up_to_date' => 'Plugin ":plugin" is up to date. (v:version)',
|
||||
'single_update_available' => 'Plugin ":plugin" update available: v:current → v:latest (:source)',
|
||||
],
|
||||
'update' => [
|
||||
'success' => 'Plugin ":plugin" updated successfully',
|
||||
'version_change' => 'v:from → v:to',
|
||||
'no_update' => 'No update available for plugin ":plugin".',
|
||||
'not_installed' => 'Plugin ":plugin" is not installed.',
|
||||
'current_version' => 'Current version: :version',
|
||||
'latest_version' => 'Latest version: :version',
|
||||
'update_source' => 'Update source: :source',
|
||||
'confirm_question' => 'Do you want to proceed with the update?',
|
||||
'aborted' => 'Update cancelled.',
|
||||
'backup_restored' => 'Previous version has been restored from backup.',
|
||||
'force_mode' => 'Force update mode: Skipping version comparison and reinstalling.',
|
||||
],
|
||||
],
|
||||
|
||||
// Composer dependency installation messages
|
||||
'composer_install' => [
|
||||
'start' => 'Installing Composer dependencies for plugin ":plugin"...',
|
||||
'success' => 'Composer dependencies installed for plugin ":plugin"',
|
||||
'no_dependencies' => 'Plugin ":plugin" has no Composer dependencies to install.',
|
||||
'failed' => 'Failed to install Composer dependencies for plugin ":plugin".',
|
||||
'summary' => '📊 Result: :success succeeded, :skip skipped, :fail failed',
|
||||
],
|
||||
|
||||
// Plugin settings related messages
|
||||
'settings' => [
|
||||
'update_failed' => 'Failed to update plugin settings.',
|
||||
'updated' => 'Plugin settings updated successfully.',
|
||||
],
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
'plugin_name_required' => 'Plugin name is required.',
|
||||
'plugin_name_string' => 'Plugin name must be a string.',
|
||||
'plugin_name_max' => 'Plugin name must not exceed :max characters.',
|
||||
'name_required' => 'Plugin name is required.',
|
||||
'name_string' => 'Plugin name must be a string.',
|
||||
'name_max' => 'Plugin name must not exceed 255 characters.',
|
||||
'search_max' => 'Search term must not exceed 255 characters.',
|
||||
'filters_max' => 'You can set up to 10 search filters.',
|
||||
'filter_field_required' => 'Search field is required.',
|
||||
'filter_field_invalid' => 'Invalid search field.',
|
||||
'filter_value_required' => 'Search value is required.',
|
||||
'filter_value_max' => 'Search value must not exceed 255 characters.',
|
||||
'filter_operator_invalid' => 'Invalid search operator.',
|
||||
'status_invalid' => 'Invalid status value.',
|
||||
'per_page_min' => 'Items per page must be at least 1.',
|
||||
'per_page_max' => 'Items per page must not exceed 100.',
|
||||
'page_min' => 'Page number must be at least 1.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Role management messages
|
||||
'fetch_success' => 'Role information has been fetched successfully.',
|
||||
'fetch_failed' => 'Failed to fetch role information.',
|
||||
'create_success' => 'Role has been created successfully.',
|
||||
'create_failed' => 'Failed to create role.',
|
||||
'update_success' => 'Role has been updated successfully.',
|
||||
'update_failed' => 'Failed to update role.',
|
||||
'delete_success' => 'Role has been deleted successfully.',
|
||||
'delete_failed' => 'Failed to delete role.',
|
||||
'system_role_delete_error' => 'System roles cannot be deleted.',
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
'name_required' => 'Role name is required.',
|
||||
'identifier_required' => 'Identifier is required.',
|
||||
'identifier_format' => 'Identifier must start with a lowercase letter and contain only lowercase letters, numbers, and underscores.',
|
||||
'identifier_unique' => 'This identifier is already in use.',
|
||||
'identifier_max' => 'Identifier must not exceed 100 characters.',
|
||||
'permission_ids_array' => 'Permission list must be an array.',
|
||||
'permission_ids_exists' => 'One or more selected permissions are invalid.',
|
||||
'permission_ids_integer' => 'Permission ID must be an integer.',
|
||||
],
|
||||
|
||||
// Error messages
|
||||
'errors' => [
|
||||
'system_role_delete' => 'System roles cannot be deleted.',
|
||||
'extension_owned_role_delete' => 'Roles owned by extensions (modules/plugins) cannot be deleted. They will be cleaned up when the extension is removed.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Messages
|
||||
'fetch_success' => 'Schedules retrieved successfully.',
|
||||
'fetch_failed' => 'Failed to retrieve schedules.',
|
||||
'create_success' => 'Schedule created successfully.',
|
||||
'create_failed' => 'Failed to create schedule.',
|
||||
'update_success' => 'Schedule updated successfully.',
|
||||
'update_failed' => 'Failed to update schedule.',
|
||||
'delete_success' => 'Schedule deleted successfully.',
|
||||
'delete_failed' => 'Failed to delete schedule.',
|
||||
'run_success' => 'Schedule executed successfully.',
|
||||
'run_failed' => 'Failed to execute schedule.',
|
||||
'duplicate_success' => 'Schedule duplicated successfully.',
|
||||
'duplicate_failed' => 'Failed to duplicate schedule.',
|
||||
'bulk_status_updated' => 'Selected schedules status updated.',
|
||||
'bulk_update_status_failed' => 'Failed to update schedules status.',
|
||||
'bulk_delete_success' => 'Selected schedules deleted successfully.',
|
||||
'bulk_delete_failed' => 'Failed to delete schedules.',
|
||||
'statistics_success' => 'Schedule statistics retrieved successfully.',
|
||||
'statistics_failed' => 'Failed to retrieve schedule statistics.',
|
||||
'history_fetch_success' => 'Execution history retrieved successfully.',
|
||||
'history_fetch_failed' => 'Failed to retrieve execution history.',
|
||||
'history_delete_success' => 'Execution history deleted successfully.',
|
||||
'history_delete_failed' => 'Failed to delete execution history.',
|
||||
'history_not_found' => 'Execution history not found.',
|
||||
'copy' => 'Copy',
|
||||
'shell_command_failed' => 'Shell command execution failed.',
|
||||
'http_request_failed' => 'HTTP request failed with status: :status',
|
||||
|
||||
// Task types
|
||||
'type' => [
|
||||
'artisan' => 'Artisan Command',
|
||||
'shell' => 'Shell Command',
|
||||
'url' => 'URL Call',
|
||||
],
|
||||
|
||||
// Frequencies
|
||||
'frequency' => [
|
||||
'everyMinute' => 'Every Minute',
|
||||
'hourly' => 'Hourly',
|
||||
'daily' => 'Daily',
|
||||
'weekly' => 'Weekly',
|
||||
'monthly' => 'Monthly',
|
||||
'custom' => 'Custom',
|
||||
],
|
||||
|
||||
// Results
|
||||
'result' => [
|
||||
'success' => 'Success',
|
||||
'failed' => 'Failed',
|
||||
'running' => 'Running',
|
||||
'never' => 'Never Run',
|
||||
],
|
||||
|
||||
// Trigger types
|
||||
'trigger_type' => [
|
||||
'scheduled' => 'Scheduled',
|
||||
'manual' => 'Manual',
|
||||
],
|
||||
|
||||
// Duration
|
||||
'duration' => [
|
||||
'seconds' => 's',
|
||||
'minutes' => 'm',
|
||||
],
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
'page_integer' => 'Page number must be an integer.',
|
||||
'page_min' => 'Page number must be at least 1.',
|
||||
'per_page_integer' => 'Items per page must be an integer.',
|
||||
'per_page_min' => 'Items per page must be at least 1.',
|
||||
'per_page_max' => 'Items per page must not exceed 100.',
|
||||
'type_invalid' => 'Invalid task type.',
|
||||
'frequency_invalid' => 'Invalid frequency.',
|
||||
'status_invalid' => 'Invalid status.',
|
||||
'last_result_invalid' => 'Invalid execution result.',
|
||||
'history_status_invalid' => 'Invalid history status.',
|
||||
'trigger_type_invalid' => 'Invalid trigger type.',
|
||||
'created_from_invalid' => 'Invalid start date format.',
|
||||
'created_to_invalid' => 'Invalid end date format.',
|
||||
'created_to_after_from' => 'End date must be after start date.',
|
||||
'started_from_invalid' => 'Invalid start date format.',
|
||||
'started_to_invalid' => 'Invalid end date format.',
|
||||
'started_to_after_from' => 'End date must be after start date.',
|
||||
'sort_by_invalid' => 'Invalid sort field.',
|
||||
'sort_order_invalid' => 'Invalid sort order.',
|
||||
'name_required' => 'Task name is required.',
|
||||
'name_max' => 'Task name must not exceed 255 characters.',
|
||||
'type_required' => 'Task type is required.',
|
||||
'command_required' => 'Command is required.',
|
||||
'command_max' => 'Command must not exceed 2000 characters.',
|
||||
'expression_required' => 'Cron expression is required.',
|
||||
'expression_max' => 'Cron expression must not exceed 100 characters.',
|
||||
'frequency_required' => 'Frequency is required.',
|
||||
'timeout_integer' => 'Timeout must be an integer.',
|
||||
'timeout_min' => 'Timeout must be at least 1 second.',
|
||||
'timeout_max' => 'Timeout must not exceed 86400 seconds (24 hours).',
|
||||
'ids_required' => 'ID list is required.',
|
||||
'ids_array' => 'ID list must be an array.',
|
||||
'ids_min' => 'At least 1 ID is required.',
|
||||
'id_integer' => 'ID must be an integer.',
|
||||
'id_exists' => 'Schedule not found.',
|
||||
'is_active_required' => 'Active status is required.',
|
||||
'is_active_boolean' => 'Active status must be true or false.',
|
||||
],
|
||||
|
||||
// Permissions
|
||||
'permissions' => [
|
||||
'read' => 'View Schedules',
|
||||
'create' => 'Create Schedules',
|
||||
'update' => 'Update Schedules',
|
||||
'delete' => 'Delete Schedules',
|
||||
'run' => 'Run Schedules',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Search related messages (English)
|
||||
*/
|
||||
|
||||
return [
|
||||
'empty_keyword' => 'Please enter a search keyword.',
|
||||
'results_found' => ':count results found.',
|
||||
'no_results' => 'No results found.',
|
||||
'view_more' => 'View more',
|
||||
];
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Cache clear
|
||||
'cache_cleared_all' => 'All SEO cache has been cleared.',
|
||||
'cache_cleared_layout' => ':count SEO cache entries for layout :layout have been cleared.',
|
||||
|
||||
// Cache warmup
|
||||
'warmup_started' => 'SEO cache warmup started.',
|
||||
'warmup_started_layout' => 'SEO cache warmup started for layout :layout.',
|
||||
'warmup_dispatched' => 'SEO cache warmup has been dispatched.',
|
||||
|
||||
// Cache stats
|
||||
'stats_period' => 'SEO cache statistics for the last :days days',
|
||||
'stats_overall' => 'Overall Statistics',
|
||||
'stats_metric' => 'Metric',
|
||||
'stats_value' => 'Value',
|
||||
'stats_total_entries' => 'Total Entries',
|
||||
'stats_hits' => 'Hits',
|
||||
'stats_misses' => 'Misses',
|
||||
'stats_hit_rate' => 'Hit Rate',
|
||||
'stats_avg_response_time' => 'Avg Response Time',
|
||||
'stats_by_layout' => 'Statistics by Layout',
|
||||
'stats_layout_name' => 'Layout',
|
||||
'stats_total' => 'Total',
|
||||
'stats_by_module' => 'Statistics by Module',
|
||||
'stats_module_identifier' => 'Module',
|
||||
];
|
||||
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Settings related messages
|
||||
'fetch_success' => 'Settings retrieved successfully.',
|
||||
'fetch_failed' => 'Failed to retrieve settings.',
|
||||
'save_success' => 'Settings saved successfully.',
|
||||
'save_failed' => 'Failed to save settings.',
|
||||
'update_success' => 'Settings updated successfully.',
|
||||
'update_failed' => 'Failed to update settings.',
|
||||
'delete_success' => 'Settings deleted successfully.',
|
||||
'delete_failed' => 'Failed to delete settings.',
|
||||
'save_error' => 'An error occurred while saving settings.',
|
||||
'update_error' => 'An error occurred while updating settings.',
|
||||
'cache_clear_success' => 'Cache cleared successfully.',
|
||||
'cache_clear_failed' => 'Failed to clear cache.',
|
||||
'cache_clear_error' => 'An error occurred while clearing cache.',
|
||||
'optimize_success' => 'System optimized successfully.',
|
||||
'optimize_failed' => 'Failed to optimize system.',
|
||||
'optimize_error' => 'An error occurred while optimizing system.',
|
||||
'backup_success' => 'Database backup started successfully.',
|
||||
'backup_failed' => 'Failed to start database backup.',
|
||||
'backup_error' => 'An error occurred while backing up database.',
|
||||
'save_individual_failed' => 'Settings save failed: :error',
|
||||
|
||||
// App key related messages
|
||||
'invalid_password' => 'Password does not match.',
|
||||
'password_required' => 'Please enter your password.',
|
||||
'app_key_regenerated' => 'Application key has been successfully regenerated.',
|
||||
'app_key_regenerate_failed' => 'Failed to regenerate application key.',
|
||||
'app_key_regenerate_warning' => 'Regenerating the key will invalidate all sessions. Do you want to continue?',
|
||||
|
||||
// System info related
|
||||
'seconds' => 's',
|
||||
|
||||
// Driver connection test messages
|
||||
'driver_test_success' => 'All driver connection tests passed.',
|
||||
'driver_test_partial' => 'Some driver connection tests failed.',
|
||||
'driver_test_error' => 'An error occurred while testing driver connections.',
|
||||
'unknown_driver' => 'Unknown driver.',
|
||||
|
||||
// S3 test messages
|
||||
's3_test_success' => 'Successfully connected to S3 bucket.',
|
||||
's3_test_failed' => 'Failed to connect to S3 bucket.',
|
||||
's3_missing_config' => 'S3 configuration is missing. (bucket, region, access key, secret key)',
|
||||
's3_sdk_missing' => 'AWS SDK is not installed.',
|
||||
's3_bucket_not_found' => 'S3 bucket not found.',
|
||||
's3_access_denied' => 'Access to S3 bucket was denied.',
|
||||
's3_invalid_credentials' => 'S3 credentials are invalid.',
|
||||
|
||||
// Redis test messages
|
||||
'redis_test_success' => 'Successfully connected to Redis server.',
|
||||
'redis_test_failed' => 'Failed to connect to Redis server.',
|
||||
'redis_extension_missing' => 'Redis PHP extension is not installed.',
|
||||
'redis_connection_failed' => 'Could not connect to Redis server.',
|
||||
'redis_auth_failed' => 'Redis authentication failed.',
|
||||
'redis_ping_failed' => 'No response from Redis PING.',
|
||||
|
||||
// Memcached test messages
|
||||
'memcached_test_success' => 'Successfully connected to Memcached server.',
|
||||
'memcached_test_failed' => 'Failed to connect to Memcached server.',
|
||||
'memcached_extension_missing' => 'Memcached PHP extension is not installed.',
|
||||
'memcached_connection_failed' => 'Could not connect to Memcached server.',
|
||||
|
||||
// Websocket test messages
|
||||
'websocket_test_success' => 'Successfully connected to Websocket server.',
|
||||
'websocket_test_failed' => 'Failed to connect to Websocket server.',
|
||||
'websocket_connection_refused' => 'Could not connect to Websocket server. Please check if the server is running.',
|
||||
|
||||
// Test mail related messages
|
||||
'invalid_email' => 'Invalid email address.',
|
||||
'test_mail_subject' => ':app_name Test Mail',
|
||||
'test_mail_body' => 'This is a test email from Gnuboard7. If you received this email, your mail settings are configured correctly.',
|
||||
'test_mail_sent' => 'Test email sent successfully.',
|
||||
'test_mail_failed' => 'Failed to send test email.',
|
||||
'test_mail_error' => 'An error occurred while sending the test email.',
|
||||
|
||||
// Core update related messages
|
||||
'core_update' => [
|
||||
'check_success' => 'Update check completed.',
|
||||
'check_failed' => 'Update check failed.',
|
||||
'update_available' => 'A new update is available.',
|
||||
'no_update' => 'You are on the latest version.',
|
||||
'maintenance_mode_active' => 'System is under maintenance. Please try again later.',
|
||||
'invalid_github_url' => 'Invalid GitHub repository URL.',
|
||||
'download_failed' => 'Failed to download version :version.',
|
||||
'zip_extract_failed' => 'Failed to extract ZIP file.',
|
||||
'invalid_package' => 'Downloaded package is invalid.',
|
||||
'invalid_package_not_g7' => 'The specified directory is not a Gnuboard7 project. config/app.php file with version setting is required.',
|
||||
'composer_failed' => 'composer install failed.',
|
||||
'pending_path_create_failed' => 'Failed to create pending directory (:path): :error',
|
||||
'pending_path_not_writable' => 'Pending directory (:path) is not writable.',
|
||||
'downloading' => 'Downloading update...',
|
||||
'extracting' => 'Extracting...',
|
||||
'validating' => 'Validating package...',
|
||||
'running_composer' => 'Running composer install...',
|
||||
'step_check' => 'Checking for updates...',
|
||||
'step_validate_pending' => 'Validating environment...',
|
||||
'step_maintenance' => 'Enabling maintenance mode...',
|
||||
'step_download' => 'Downloading...',
|
||||
'step_backup' => 'Creating backup...',
|
||||
'step_apply' => 'Applying files...',
|
||||
'step_composer' => 'Running composer install...',
|
||||
'step_migration' => 'Running migrations...',
|
||||
'step_upgrade' => 'Running upgrade steps...',
|
||||
'step_composer_prod' => 'Running composer install in production directory...',
|
||||
'step_cleanup' => 'Cleaning up...',
|
||||
|
||||
// GitHub API error messages
|
||||
'github_url_not_configured' => 'GitHub repository URL is not configured.',
|
||||
'github_api_failed' => 'Unable to connect to GitHub API.',
|
||||
'github_token_required' => 'This is a private repository. Please configure a GitHub access token.',
|
||||
'github_token_invalid' => 'GitHub access token is invalid or has insufficient permissions. (HTTP :status — :message)',
|
||||
'github_repo_not_found' => 'GitHub repository not found. (HTTP :status — :message)',
|
||||
'github_repo_not_found_no_token' => 'GitHub repository not found. If the repository is private, please configure an access token. (HTTP :status — :message)',
|
||||
'github_api_error' => 'GitHub API error occurred. (HTTP :status — :message)',
|
||||
'no_releases_found' => 'No releases found in the GitHub repository. (HTTP :status — :message)',
|
||||
|
||||
// Log messages
|
||||
'log_api_call_failed' => 'Core update: GitHub API call failed',
|
||||
'log_auth_failed' => 'Core update: GitHub authentication failed',
|
||||
'log_not_found' => 'Core update: GitHub repository/release not found',
|
||||
'log_unexpected_status' => 'Core update: Unexpected HTTP status code',
|
||||
'log_version_check_error' => 'Core update: Error checking latest version',
|
||||
|
||||
'unknown_error' => 'An unknown error occurred.',
|
||||
|
||||
// System requirements
|
||||
'system_requirements_failed' => 'System requirements are not met:',
|
||||
'no_extract_method_available' => 'No archive extraction method available. Requires one of: PHP zip extension (ZipArchive) or unzip command (Linux). You can also use the --source option for manual update.',
|
||||
'manual_update_guide' => 'Manual update: Download the release ZIP from GitHub, extract it, then run: php artisan core:update --source=/path/to/extracted',
|
||||
|
||||
// Extraction fallback chain
|
||||
'archive_url_not_found' => ':type archive URL not found. Trying next method.',
|
||||
'extracting_with' => 'Extracting with :method...',
|
||||
'extract_empty' => 'Extracted directory is empty.',
|
||||
'extract_fallback' => ':method failed: :error — Trying next method.',
|
||||
'all_extract_methods_failed' => 'All archive extraction methods failed. Try manual update with --source option.',
|
||||
'unzip_command_failed' => 'unzip command failed (exit code: :code). :output',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,308 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'Template Management',
|
||||
|
||||
'errors' => [
|
||||
'not_found' => 'Template not found. (:template)',
|
||||
'not_installed' => 'Template is not installed. (:template)',
|
||||
'already_active' => 'Template is already active.',
|
||||
'invalid_format' => 'Invalid template format.',
|
||||
'activation_failed' => 'Failed to activate template.',
|
||||
'file_copy_failed' => 'Failed to copy files.',
|
||||
'dist_directory_not_found' => 'Template build output (dist) not found.',
|
||||
'invalid_directory_name' => 'Invalid directory name. Use vendor-name format.',
|
||||
'dependency_not_met' => 'Required dependency :dependency (:type) not met.',
|
||||
'version_mismatch' => ':dependency version mismatch. (Required: :required, Installed: :installed)',
|
||||
'deactivation_failed' => 'Failed to deactivate template.',
|
||||
'installation_failed' => 'Failed to install template.',
|
||||
'uninstallation_failed' => 'Failed to uninstall template.',
|
||||
'template_json_not_found' => 'template.json file not found.',
|
||||
'template_json_invalid' => 'template.json file is invalid.',
|
||||
'missing_required_fields' => 'Required fields are missing.',
|
||||
'invalid_type' => 'Invalid template type. (Only admin or user allowed)',
|
||||
'copy_rollback_failed' => 'Failed to rollback file copy.',
|
||||
'invalid_layout_json' => 'Invalid layout JSON file.',
|
||||
'missing_layout_name' => 'Missing layout_name field in layout JSON.',
|
||||
'layout_registration_failed' => 'Failed to register layout.',
|
||||
'layout_validation_failed' => 'Layout validation failed for :template template. (:count errors)',
|
||||
'layout_validation_json_error' => ':file - JSON parsing error: :error',
|
||||
'layout_validation_missing_name' => ':file - Missing layout_name field.',
|
||||
'layout_validation_partial_error' => ':file - Partial processing error (:partial): :error',
|
||||
'override_layout_registration_failed' => 'Failed to register override layout.',
|
||||
'file_not_found' => 'File not found.',
|
||||
'file_type_not_allowed' => 'File type not allowed.',
|
||||
'components_not_found' => 'Components definition file not found.',
|
||||
'locale_not_supported' => ':template template does not support :locale language.',
|
||||
'language_file_not_found' => ':locale language file not found.',
|
||||
'invalid_json' => 'Invalid JSON format.',
|
||||
'invalid_cache_data' => 'Cache data is corrupted. Please try again.',
|
||||
'unknown_error' => 'An unknown error occurred.',
|
||||
'zip_open_failed' => 'Failed to open ZIP file.',
|
||||
'identifier_missing' => 'Template identifier is missing.',
|
||||
'already_installed' => 'Template is already installed.',
|
||||
'install_failed' => 'Failed to install template.',
|
||||
'github_url_invalid' => 'Invalid GitHub URL format.',
|
||||
'github_download_failed' => 'Failed to download from GitHub.',
|
||||
'github_repo_not_found' => 'GitHub repository not found.',
|
||||
'refresh_layouts_failed' => 'Failed to refresh layouts.',
|
||||
'routes_not_found' => 'Routes file not found.',
|
||||
|
||||
// Template engine error messages
|
||||
'no_active_template' => 'No active template found',
|
||||
'layout_load_failed' => 'Failed to load layout',
|
||||
'component_load_failed' => 'Failed to load component',
|
||||
'translation_load_failed' => 'Failed to load translation file',
|
||||
'template_init_error' => 'An error occurred while initializing the template engine',
|
||||
'contact_admin_for_template' => 'Please contact your system administrator to activate a template.',
|
||||
|
||||
// Error layout validation messages
|
||||
'missing_error_config' => 'Template is missing error_config section. Error page layout configuration is required.',
|
||||
'missing_error_layout' => 'Error layout for :code is not defined.',
|
||||
'error_layout_not_found' => 'Error layout file for :code not found: :path',
|
||||
|
||||
// Template status errors
|
||||
'template_not_found' => 'Template not found: :identifier',
|
||||
'template_not_active' => 'Template is not active: :identifier',
|
||||
|
||||
// Dependency related errors
|
||||
'dependencies_not_met' => 'Template dependencies are not satisfied.',
|
||||
'service_unavailable' => 'Service temporarily unavailable.',
|
||||
'contact_admin' => 'Please contact the administrator.',
|
||||
|
||||
// Update related errors
|
||||
'operation_in_progress' => 'Template ":name" is currently :status. Please wait until the operation is complete.',
|
||||
'github_api_failed' => 'GitHub API call failed.',
|
||||
'invalid_github_url' => 'Invalid GitHub URL.',
|
||||
'zip_url_not_found' => 'ZIP download URL not found.',
|
||||
'download_failed' => 'Failed to download template ":template" version :version.',
|
||||
'zip_extract_failed' => 'ZIP extraction failed.',
|
||||
'extracted_dir_not_found' => 'Extracted directory not found.',
|
||||
'reload_failed' => 'Failed to reload template.',
|
||||
'delete_directory_failed' => 'Failed to delete template directory.',
|
||||
'update_failed' => 'Failed to update template ":template": :error',
|
||||
'invalid_layout_strategy' => 'Invalid layout strategy. (Only overwrite or keep allowed)',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'activated' => 'Template activated successfully.',
|
||||
'deactivated' => 'Template deactivated successfully.',
|
||||
'installed' => 'Template installed successfully.',
|
||||
'uninstalled' => 'Template uninstalled successfully.',
|
||||
'previous_template_deactivated' => 'Previous active template has been deactivated.',
|
||||
'files_copied' => 'Template files copied successfully.',
|
||||
'files_removed' => 'Template files removed successfully.',
|
||||
'routes_retrieved' => 'Template routes retrieved successfully.',
|
||||
'routes_not_found' => 'Template routes not found.',
|
||||
'layout_served' => 'Layout served successfully.',
|
||||
'config_retrieved' => 'Template configuration retrieved successfully.',
|
||||
'template_activated' => 'Template activated successfully.',
|
||||
'template_deactivated' => 'Template deactivated successfully.',
|
||||
'template_uninstalled' => 'Template uninstalled successfully.',
|
||||
],
|
||||
|
||||
'not_found' => 'Template :template not found.',
|
||||
'layout_not_found' => 'Layout not found.',
|
||||
|
||||
'info' => [
|
||||
'scanning' => 'Scanning template directory...',
|
||||
'loading' => 'Loading templates...',
|
||||
'validating_dependencies' => 'Validating dependencies...',
|
||||
'copying_files' => 'Copying files...',
|
||||
'removing_files' => 'Removing files...',
|
||||
'template_found' => 'Template found.',
|
||||
'no_templates_found' => 'No templates found.',
|
||||
'public_directory_cleaned' => 'Public directory cleaned.',
|
||||
'no_layouts_directory' => 'Layouts directory does not exist.',
|
||||
'no_layout_files' => 'No layout JSON files found.',
|
||||
'layout_registered' => 'Layout registered successfully.',
|
||||
'layouts_deleted' => 'Layouts deleted successfully.',
|
||||
'cache_cleared' => 'Template cache cleared successfully.',
|
||||
'cache_warmed' => 'Template cache warmed successfully.',
|
||||
'no_overrides_directory' => 'Overrides directory does not exist.',
|
||||
'no_override_modules' => 'No module directories found for overrides.',
|
||||
'no_override_layouts_for_module' => 'No override layouts found for this module.',
|
||||
'override_layout_registered' => 'Override layout registered successfully.',
|
||||
'override_layouts_registered' => 'Override layouts registered successfully.',
|
||||
'override_layouts_cache_invalidated' => 'Override layouts cache invalidated successfully.',
|
||||
'override_layouts_cache_invalidation_error' => 'Error occurred while invalidating override layouts cache.',
|
||||
],
|
||||
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'installing' => 'Installing',
|
||||
'uninstalling' => 'Uninstalling',
|
||||
'updating' => 'Updating',
|
||||
],
|
||||
|
||||
'types' => [
|
||||
'admin' => 'Admin',
|
||||
'user' => 'User',
|
||||
],
|
||||
|
||||
'dependencies' => [
|
||||
'section_title' => 'Dependencies',
|
||||
'modules' => 'Required Modules',
|
||||
'plugins' => 'Required Plugins',
|
||||
'status_met' => 'Met',
|
||||
'status_unmet' => 'Unmet',
|
||||
'no_dependencies' => 'No dependencies',
|
||||
'version_required' => 'Required: :version',
|
||||
'version_installed' => 'Installed: :version',
|
||||
'not_installed' => 'Not installed',
|
||||
'not_active' => 'Inactive',
|
||||
],
|
||||
|
||||
'validation' => [
|
||||
'name_required' => 'Template name is required.',
|
||||
'name_string' => 'Template name must be a string.',
|
||||
'name_max' => 'Template name cannot exceed 255 characters.',
|
||||
'file_required' => 'File is required.',
|
||||
'file_invalid' => 'Invalid file.',
|
||||
'file_must_be_zip' => 'Only ZIP files are allowed.',
|
||||
'file_max_size' => 'File size cannot exceed :sizeMB.',
|
||||
'github_url_required' => 'GitHub URL is required.',
|
||||
'github_url_invalid' => 'GitHub URL is invalid.',
|
||||
'github_url_format' => 'GitHub URL format is invalid. (e.g., https://github.com/owner/repo)',
|
||||
|
||||
// List query validation
|
||||
'type_in' => 'Template type must be either user or admin.',
|
||||
'search_max' => 'Search query cannot exceed 255 characters.',
|
||||
'filters_max' => 'Maximum of 10 filters allowed.',
|
||||
'filter_field_required' => 'Filter field is required.',
|
||||
'filter_field_invalid' => 'Invalid filter field.',
|
||||
'filter_value_required' => 'Filter value is required.',
|
||||
'filter_value_max' => 'Filter value cannot exceed 255 characters.',
|
||||
'filter_operator_invalid' => 'Invalid filter operator. (Only like, eq, starts_with, ends_with allowed)',
|
||||
'status_invalid' => 'Invalid status value. (Only installed, not_installed, active, inactive allowed)',
|
||||
'per_page_min' => 'Items per page must be at least 1.',
|
||||
'per_page_max' => 'Items per page cannot exceed 100.',
|
||||
'page_min' => 'Page number must be at least 1.',
|
||||
],
|
||||
|
||||
'install_success' => 'Template has been successfully installed.',
|
||||
'install_failed' => 'Template installation failed.',
|
||||
'uninstall_success' => 'Template has been successfully uninstalled.',
|
||||
'uninstall_failed' => 'Template uninstallation failed.',
|
||||
'activate_success' => 'Template has been activated.',
|
||||
'activate_failed' => 'Template activation failed.',
|
||||
'activate_warning' => 'Required dependencies are not met for template activation.',
|
||||
|
||||
// Warning messages
|
||||
'warnings' => [
|
||||
'missing_dependencies' => 'The following dependencies are required to activate this template.',
|
||||
],
|
||||
|
||||
'deactivate_success' => 'Template has been deactivated.',
|
||||
'deactivate_failed' => 'Template deactivation failed.',
|
||||
'fetch_success' => 'Template information retrieved successfully.',
|
||||
'license_not_found' => 'Template license file not found.',
|
||||
'refresh_layouts_success' => 'Template layouts have been refreshed successfully.',
|
||||
'refresh_layouts_failed' => 'Failed to refresh template layouts.',
|
||||
|
||||
// Update related messages
|
||||
'update_success' => 'Template ":template" has been updated to version :version.',
|
||||
'update_failed' => 'Template update failed: :error',
|
||||
'update_hook_failed' => 'Template update hook execution failed.',
|
||||
'no_update_available' => 'No update available.',
|
||||
'check_updates_success' => 'Update check completed.',
|
||||
'check_updates_failed' => 'Update check failed.',
|
||||
'not_installed' => 'Template ":template" is not installed.',
|
||||
'check_modified_layouts_success' => 'Modified layouts check completed.',
|
||||
'check_modified_layouts_failed' => 'Failed to check modified layouts.',
|
||||
|
||||
// _pending related messages
|
||||
'pending_not_found' => 'Template ":template" not found in pending list.',
|
||||
'already_exists' => 'Template ":template" already exists.',
|
||||
'move_failed' => 'Failed to move template ":template".',
|
||||
|
||||
'commands' => [
|
||||
'install' => [
|
||||
'success' => 'Template ":template" installed successfully',
|
||||
'already_installed' => 'Template ":template" is already installed.',
|
||||
'layouts_created' => ':count layout(s) created',
|
||||
'type' => 'Type: :type',
|
||||
'version' => 'Version: :version',
|
||||
'directory_not_found' => 'Template directory not found: :path',
|
||||
'config_not_found' => 'template.json file not found',
|
||||
],
|
||||
'activate' => [
|
||||
'success' => 'Template ":template" activated successfully',
|
||||
'not_installed' => 'Template ":template" is not installed.',
|
||||
'deactivated_previous' => 'Previous :type template ":previous" deactivated',
|
||||
],
|
||||
'deactivate' => [
|
||||
'success' => 'Template ":template" deactivated successfully',
|
||||
'not_active' => 'Template ":template" is not active.',
|
||||
'no_active_warning' => 'No active :type template currently.',
|
||||
],
|
||||
'uninstall' => [
|
||||
'success' => 'Template ":template" uninstalled successfully',
|
||||
'confirm_prompt' => 'Are you sure you want to uninstall template ":template"?',
|
||||
'confirm_details' => [
|
||||
'layouts' => '- :count layout(s) will be deleted',
|
||||
'versions' => '- Version history will also be deleted for user type templates',
|
||||
],
|
||||
'confirm_question' => 'Do you want to continue?',
|
||||
'layouts_deleted' => ':count layout(s) deleted',
|
||||
'versions_deleted' => ':count version(s) deleted',
|
||||
'aborted' => 'Uninstall aborted.',
|
||||
],
|
||||
'list' => [
|
||||
'no_templates' => 'No templates found.',
|
||||
'invalid_type' => 'Invalid type. Only admin or user allowed.',
|
||||
'invalid_status' => 'Invalid status. Only installed, uninstalled, active, inactive allowed.',
|
||||
'headers' => [
|
||||
'identifier' => 'Identifier',
|
||||
'name' => 'Name',
|
||||
'type' => 'Type',
|
||||
'version' => 'Version',
|
||||
'status' => 'Status',
|
||||
],
|
||||
'status' => [
|
||||
'uninstalled' => 'Not Installed',
|
||||
],
|
||||
'summary' => 'Total :total template(s) (Installed: :installed, Active: :active)',
|
||||
],
|
||||
'cache_clear' => [
|
||||
'clearing_single' => 'Clearing cache for template ":template"...',
|
||||
'clearing_all' => 'Clearing all template caches...',
|
||||
'success_single' => 'Cleared :count cache(s) for template ":template"',
|
||||
'success_all' => 'Cleared :count template cache(s) total',
|
||||
],
|
||||
'check_updates' => [
|
||||
'not_installed' => 'Template ":template" is not installed.',
|
||||
'no_installed' => 'No installed templates found.',
|
||||
'update_available' => 'Update available',
|
||||
'up_to_date' => 'Up to date',
|
||||
'headers' => [
|
||||
'identifier' => 'Identifier',
|
||||
'current_version' => 'Current Version',
|
||||
'latest_version' => 'Latest Version',
|
||||
'source' => 'Source',
|
||||
'status' => 'Status',
|
||||
],
|
||||
'summary' => 'Total :total checked (Updates available: :updates)',
|
||||
'single_up_to_date' => 'Template ":template" is up to date. (v:version)',
|
||||
'single_update_available' => 'Template ":template" update available: v:current → v:latest (:source)',
|
||||
],
|
||||
'update' => [
|
||||
'success' => 'Template ":template" updated successfully',
|
||||
'version_change' => 'v:from → v:to',
|
||||
'no_update' => 'No update available for template ":template".',
|
||||
'not_installed' => 'Template ":template" is not installed.',
|
||||
'invalid_strategy' => 'Invalid layout strategy. Only overwrite or keep are allowed.',
|
||||
'current_version' => 'Current version: :version',
|
||||
'latest_version' => 'Latest version: :version',
|
||||
'update_source' => 'Update source: :source',
|
||||
'layout_strategy' => 'Layout strategy: :strategy',
|
||||
'modified_layouts_warning' => ':count modified layout(s) will be overwritten:',
|
||||
'modified_layout_item' => ' - :name (modified: :date)',
|
||||
'confirm_question' => 'Do you want to proceed with the update?',
|
||||
'aborted' => 'Update cancelled.',
|
||||
'backup_restored' => 'Previous version has been restored from backup.',
|
||||
'force_mode' => 'Force update mode: Skipping version comparison and reinstalling.',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Theme related messages
|
||||
'not_found' => 'Active theme not found.',
|
||||
'retrieved' => 'Theme information retrieved successfully.',
|
||||
'list_retrieved' => 'Theme list retrieved successfully.',
|
||||
'config_retrieved' => 'Theme configuration retrieved successfully.',
|
||||
'assets_retrieved' => 'Theme assets information retrieved successfully.',
|
||||
'assets_failed' => 'Failed to retrieve theme assets information.',
|
||||
'asset_list_retrieved' => 'Theme asset list retrieved successfully.',
|
||||
'list_failed' => 'Failed to retrieve theme list.',
|
||||
'installed' => 'Theme installed successfully.',
|
||||
'install_failed' => 'Failed to install theme.',
|
||||
'install_error' => 'An error occurred while installing theme.',
|
||||
'activated' => 'Theme activated successfully.',
|
||||
'activate_failed' => 'Failed to activate theme.',
|
||||
'activate_error' => 'An error occurred while activating theme.',
|
||||
'deactivated' => 'Theme deactivated successfully.',
|
||||
'deactivate_failed' => 'Failed to deactivate theme.',
|
||||
'deactivate_error' => 'An error occurred while deactivating theme.',
|
||||
'uninstalled' => 'Theme uninstalled successfully.',
|
||||
'uninstall_failed' => 'Failed to uninstall theme.',
|
||||
'uninstall_error' => 'An error occurred while uninstalling theme.',
|
||||
'active_theme_retrieved' => 'Active theme information retrieved successfully.',
|
||||
'active_theme_failed' => 'Failed to retrieve active theme information.',
|
||||
];
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'not_found' => 'Theme not found: :theme',
|
||||
'name_required' => 'Theme name is required.',
|
||||
'name_string' => 'Theme name must be a string.',
|
||||
'name_max' => 'Theme name may not be greater than 255 characters.',
|
||||
'type_required' => 'Theme type is required.',
|
||||
'type_invalid' => 'Theme type must be core or module.',
|
||||
'target_required' => 'Theme target is required.',
|
||||
'target_invalid' => 'Theme target must be admin or user.',
|
||||
'module_name_required' => 'Module name is required for module themes.',
|
||||
'module_name_string' => 'Module name must be a string.',
|
||||
'module_name_max' => 'Module name may not be greater than 255 characters.',
|
||||
'cannot_uninstall_active' => 'Cannot uninstall active theme.',
|
||||
];
|
||||
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Status labels
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'blocked' => 'Blocked',
|
||||
'withdrawn' => 'Withdrawn',
|
||||
],
|
||||
|
||||
// Language labels
|
||||
'language' => [
|
||||
'ko' => '한국어',
|
||||
'en' => 'English',
|
||||
],
|
||||
|
||||
// User management messages
|
||||
'not_found' => 'User not found.',
|
||||
'withdrawn_user' => 'Deleted User',
|
||||
'fetch_success' => 'User information retrieved successfully.',
|
||||
'fetch_failed' => 'Failed to retrieve user information.',
|
||||
'create_success' => 'User created successfully.',
|
||||
'create_failed' => 'Failed to create user: :error',
|
||||
'update_success' => 'User information updated successfully.',
|
||||
'update_failed' => 'Failed to update user information: :error',
|
||||
'delete_success' => 'User deleted successfully.',
|
||||
'delete_failed' => 'Failed to delete user: :error',
|
||||
'delete_admin_forbidden' => 'Administrator account cannot be deleted.',
|
||||
'statistics_success' => 'User statistics retrieved successfully.',
|
||||
'statistics_failed' => 'Failed to retrieve user statistics.',
|
||||
'search_success' => 'User search completed successfully.',
|
||||
'search_failed' => 'User search failed.',
|
||||
'search_name_required' => 'Please enter a name to search.',
|
||||
'search_keyword_required' => 'Please enter a keyword to search.',
|
||||
'email_available' => 'Email is available.',
|
||||
'email_unavailable' => 'Email is already in use.',
|
||||
'email_required' => 'Please enter an email.',
|
||||
'email_check_failed' => 'Failed to check email availability.',
|
||||
'profile_success' => 'Profile information retrieved successfully.',
|
||||
'profile_failed' => 'Failed to retrieve profile information.',
|
||||
'language_update_success' => 'Language setting updated successfully.',
|
||||
'language_update_failed' => 'Failed to update language setting.',
|
||||
'invalid_language' => 'Unsupported language.',
|
||||
'activity_log_success' => 'Activity log retrieved successfully.',
|
||||
'activity_log_failed' => 'Failed to retrieve activity log.',
|
||||
'bulk_status_updated' => ':count user(s) status updated successfully.',
|
||||
'bulk_update_status_failed' => 'Failed to update user status in bulk.',
|
||||
'last_admin_role_cannot_remove' => 'Cannot remove the admin role because you are the only user with the admin role in the system.',
|
||||
|
||||
// Avatar messages
|
||||
'avatar_upload_success' => 'Profile image uploaded successfully.',
|
||||
'avatar_upload_failed' => 'Failed to upload profile image.',
|
||||
'avatar_delete_success' => 'Profile image deleted successfully.',
|
||||
'avatar_delete_failed' => 'Failed to delete profile image.',
|
||||
'avatar_not_found' => 'No profile image to delete.',
|
||||
|
||||
// Marketing consent messages
|
||||
'marketing_consent_update_success' => 'Marketing consent settings updated successfully.',
|
||||
'marketing_consent_update_failed' => 'Failed to update marketing consent settings.',
|
||||
|
||||
// Password verification messages
|
||||
'password_verified' => 'Password verified successfully.',
|
||||
'password_incorrect' => 'Password is incorrect.',
|
||||
'password_verify_failed' => 'Failed to verify password.',
|
||||
|
||||
// Password change messages
|
||||
'password_change_success' => 'Password changed successfully.',
|
||||
'password_change_failed' => 'Failed to change password.',
|
||||
|
||||
// Withdraw messages
|
||||
'withdraw_success' => 'Account withdrawal completed successfully.',
|
||||
'withdraw_failed' => 'Failed to withdraw account: :error',
|
||||
'withdraw_admin_forbidden' => 'Administrator account cannot be withdrawn.',
|
||||
|
||||
// Validation messages
|
||||
'validation' => [
|
||||
'page_integer' => 'Page number must be an integer.',
|
||||
'page_min' => 'Page number must be at least 1.',
|
||||
'per_page_integer' => 'Items per page must be an integer.',
|
||||
'per_page_min' => 'Items per page must be at least 1.',
|
||||
'per_page_max' => 'Items per page must not exceed 100.',
|
||||
'search_string' => 'Search term must be a string.',
|
||||
'search_max' => 'Search term must not exceed 255 characters.',
|
||||
'search_field_invalid' => 'Invalid search field.',
|
||||
'start_date_invalid' => 'Invalid start date format.',
|
||||
'end_date_invalid' => 'Invalid end date format.',
|
||||
'end_date_after_start' => 'End date must be after start date.',
|
||||
'date_filter_invalid' => 'Invalid date filter.',
|
||||
'sort_by_invalid' => 'Invalid sort field.',
|
||||
'sort_order_invalid' => 'Invalid sort order.',
|
||||
'name_required' => 'Name is required.',
|
||||
'name_string' => 'Name must be a string.',
|
||||
'name_max' => 'Name must not exceed 255 characters.',
|
||||
'nickname_string' => 'Nickname must be a string.',
|
||||
'nickname_max' => 'Nickname must not exceed 50 characters.',
|
||||
'email_required' => 'Email is required.',
|
||||
'email_invalid' => 'Invalid email format.',
|
||||
'email_unique' => 'Email is already in use.',
|
||||
'email_max' => 'Email must not exceed 255 characters.',
|
||||
'password_required' => 'Password is required.',
|
||||
'password_confirmed' => 'Password confirmation does not match.',
|
||||
'password_min' => 'Password must be at least 8 characters.',
|
||||
'current_password_required' => 'Current password is required.',
|
||||
'current_password_invalid' => 'Current password is incorrect.',
|
||||
'password_confirmation_required' => 'Password confirmation is required.',
|
||||
'language_required' => 'Please select a language.',
|
||||
'language_invalid' => 'Unsupported language.',
|
||||
'country_required' => 'Please select a country.',
|
||||
'country_size' => 'Country code must be exactly 2 characters.',
|
||||
'country_alpha' => 'Country code must contain only letters.',
|
||||
'timezone_invalid' => 'Please select a valid timezone.',
|
||||
'status_invalid' => 'Invalid account status.',
|
||||
'homepage_url' => 'Invalid URL format.',
|
||||
'homepage_max' => 'Homepage URL must not exceed 255 characters.',
|
||||
'mobile_max' => 'Mobile number must not exceed 20 characters.',
|
||||
'mobile_regex' => 'Mobile number can only contain numbers, hyphens, and spaces.',
|
||||
'phone_max' => 'Phone number must not exceed 20 characters.',
|
||||
'phone_regex' => 'Phone number can only contain numbers, hyphens, and spaces.',
|
||||
'avatar_required' => 'Please select a profile image.',
|
||||
'avatar_image' => 'Profile image must be an image file.',
|
||||
'avatar_mimes' => 'Profile image must be JPG, PNG, GIF, or WEBP format.',
|
||||
'avatar_max' => 'Profile image must not exceed 2MB.',
|
||||
'zipcode_max' => 'Zipcode must not exceed 10 characters.',
|
||||
'address_max' => 'Address must not exceed 255 characters.',
|
||||
'address_detail_max' => 'Address detail must not exceed 255 characters.',
|
||||
'signature_max' => 'Signature must not exceed 1000 characters.',
|
||||
'bio_max' => 'Bio must not exceed 5000 characters.',
|
||||
'admin_memo_max' => 'Admin memo must not exceed 5000 characters.',
|
||||
// Role information
|
||||
'roles_required' => 'Please select at least one role.',
|
||||
'roles_min' => 'Please select at least one role.',
|
||||
// Multiple search filter messages
|
||||
'filters_array' => 'Filters must be an array.',
|
||||
'filters_max' => 'Maximum of 10 filters allowed.',
|
||||
'filter_field_required' => 'Filter field is required.',
|
||||
'filter_field_invalid' => 'Invalid filter field.',
|
||||
'filter_value_required' => 'Filter value is required.',
|
||||
'filter_value_max' => 'Filter value must not exceed 255 characters.',
|
||||
'filter_operator_invalid' => 'Invalid filter operator.',
|
||||
'search_name_required' => 'Please enter a name to search.',
|
||||
'search_keyword_required' => 'Please enter a keyword to search.',
|
||||
'exclude_user_id_uuid' => 'Exclude user ID must be a valid UUID.',
|
||||
'exclude_user_id_exists' => 'The specified user does not exist.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,886 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel Default Validation Messages
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Default validation messages for Laravel's validation rules.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'The :attribute field must be accepted.',
|
||||
'accepted_if' => 'The :attribute field must be accepted when :other is :value.',
|
||||
'active_url' => 'The :attribute field must be a valid URL.',
|
||||
'after' => 'The :attribute field must be a date after :date.',
|
||||
'after_or_equal' => 'The :attribute field must be a date after or equal to :date.',
|
||||
'alpha' => 'The :attribute field must only contain letters.',
|
||||
'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
|
||||
'alpha_num' => 'The :attribute field must only contain letters and numbers.',
|
||||
'array' => 'The :attribute field must be an array.',
|
||||
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
|
||||
'before' => 'The :attribute field must be a date before :date.',
|
||||
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'array' => 'The :attribute field must have between :min and :max items.',
|
||||
'file' => 'The :attribute field must be between :min and :max kilobytes.',
|
||||
'numeric' => 'The :attribute field must be between :min and :max.',
|
||||
'string' => 'The :attribute field must be between :min and :max characters.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'can' => 'The :attribute field contains an unauthorized value.',
|
||||
'confirmed' => 'The :attribute field confirmation does not match.',
|
||||
'contains' => 'The :attribute field is missing a required value.',
|
||||
'current_password' => 'The password is incorrect.',
|
||||
'date' => 'The :attribute field must be a valid date.',
|
||||
'date_equals' => 'The :attribute field must be a date equal to :date.',
|
||||
'date_format' => 'The :attribute field must match the format :format.',
|
||||
'decimal' => 'The :attribute field must have :decimal decimal places.',
|
||||
'declined' => 'The :attribute field must be declined.',
|
||||
'declined_if' => 'The :attribute field must be declined when :other is :value.',
|
||||
'different' => 'The :attribute field and :other must be different.',
|
||||
'digits' => 'The :attribute field must be :digits digits.',
|
||||
'digits_between' => 'The :attribute field must be between :min and :max digits.',
|
||||
'dimensions' => 'The :attribute field has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.',
|
||||
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
|
||||
'email' => 'The :attribute field must be a valid email address.',
|
||||
'ends_with' => 'The :attribute field must end with one of the following: :values.',
|
||||
'enum' => 'The selected :attribute is invalid.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'extensions' => 'The :attribute field must have one of the following extensions: :values.',
|
||||
'file' => 'The :attribute field must be a file.',
|
||||
'filled' => 'The :attribute field must have a value.',
|
||||
'gt' => [
|
||||
'array' => 'The :attribute field must have more than :value items.',
|
||||
'file' => 'The :attribute field must be greater than :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be greater than :value.',
|
||||
'string' => 'The :attribute field must be greater than :value characters.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'The :attribute field must have :value items or more.',
|
||||
'file' => 'The :attribute field must be greater than or equal to :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be greater than or equal to :value.',
|
||||
'string' => 'The :attribute field must be greater than or equal to :value characters.',
|
||||
],
|
||||
'hex_color' => 'The :attribute field must be a valid hexadecimal color.',
|
||||
'image' => 'The :attribute field must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'in_array' => 'The :attribute field must exist in :other.',
|
||||
'integer' => 'The :attribute field must be an integer.',
|
||||
'ip' => 'The :attribute field must be a valid IP address.',
|
||||
'ipv4' => 'The :attribute field must be a valid IPv4 address.',
|
||||
'ipv6' => 'The :attribute field must be a valid IPv6 address.',
|
||||
'json' => 'The :attribute field must be a valid JSON string.',
|
||||
'list' => 'The :attribute field must be a list.',
|
||||
'lowercase' => 'The :attribute field must be lowercase.',
|
||||
'lt' => [
|
||||
'array' => 'The :attribute field must have less than :value items.',
|
||||
'file' => 'The :attribute field must be less than :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be less than :value.',
|
||||
'string' => 'The :attribute field must be less than :value characters.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'The :attribute field must not have more than :value items.',
|
||||
'file' => 'The :attribute field must be less than or equal to :value kilobytes.',
|
||||
'numeric' => 'The :attribute field must be less than or equal to :value.',
|
||||
'string' => 'The :attribute field must be less than or equal to :value characters.',
|
||||
],
|
||||
'mac_address' => 'The :attribute field must be a valid MAC address.',
|
||||
'max' => [
|
||||
'array' => 'The :attribute field must not have more than :max items.',
|
||||
'file' => 'The :attribute field must not be greater than :max kilobytes.',
|
||||
'numeric' => 'The :attribute field must not be greater than :max.',
|
||||
'string' => 'The :attribute field must not be greater than :max characters.',
|
||||
],
|
||||
'max_digits' => 'The :attribute field must not have more than :max digits.',
|
||||
'mimes' => 'The :attribute field must be a file of type: :values.',
|
||||
'mimetypes' => 'The :attribute field must be a file of type: :values.',
|
||||
'min' => [
|
||||
'array' => 'The :attribute field must have at least :min items.',
|
||||
'file' => 'The :attribute field must be at least :min kilobytes.',
|
||||
'numeric' => 'The :attribute field must be at least :min.',
|
||||
'string' => 'The :attribute field must be at least :min characters.',
|
||||
],
|
||||
'min_digits' => 'The :attribute field must have at least :min digits.',
|
||||
'missing' => 'The :attribute field must be missing.',
|
||||
'missing_if' => 'The :attribute field must be missing when :other is :value.',
|
||||
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
|
||||
'missing_with' => 'The :attribute field must be missing when :values is present.',
|
||||
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
|
||||
'multiple_of' => 'The :attribute field must be a multiple of :value.',
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'not_regex' => 'The :attribute field format is invalid.',
|
||||
'numeric' => 'The :attribute field must be a number.',
|
||||
'password' => [
|
||||
'letters' => 'The :attribute field must contain at least one letter.',
|
||||
'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.',
|
||||
'numbers' => 'The :attribute field must contain at least one number.',
|
||||
'symbols' => 'The :attribute field must contain at least one symbol.',
|
||||
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
|
||||
],
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'present_if' => 'The :attribute field must be present when :other is :value.',
|
||||
'present_unless' => 'The :attribute field must be present unless :other is :value.',
|
||||
'present_with' => 'The :attribute field must be present when :values is present.',
|
||||
'present_with_all' => 'The :attribute field must be present when :values are present.',
|
||||
'prohibited' => 'The :attribute field is prohibited.',
|
||||
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
|
||||
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
|
||||
'prohibits' => 'The :attribute field prohibits :other from being present.',
|
||||
'regex' => 'The :attribute field format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
|
||||
'required_if_declined' => 'The :attribute field is required when :other is declined.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values are present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute field must match :other.',
|
||||
'size' => [
|
||||
'array' => 'The :attribute field must contain :size items.',
|
||||
'file' => 'The :attribute field must be :size kilobytes.',
|
||||
'numeric' => 'The :attribute field must be :size.',
|
||||
'string' => 'The :attribute field must be :size characters.',
|
||||
],
|
||||
'starts_with' => 'The :attribute field must start with one of the following: :values.',
|
||||
'string' => 'The :attribute field must be a string.',
|
||||
'timezone' => 'The :attribute field must be a valid timezone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'uploaded' => 'The :attribute failed to upload.',
|
||||
'uppercase' => 'The :attribute field must be uppercase.',
|
||||
'url' => 'The :attribute field must be a valid URL.',
|
||||
'ulid' => 'The :attribute field must be a valid ULID.',
|
||||
'uuid' => 'The :attribute field must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Project Validation Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// Layout structure validation messages
|
||||
'layout' => [
|
||||
'invalid_json' => 'Invalid JSON format.',
|
||||
'must_be_array' => 'Layout data must be an array.',
|
||||
'required_field_missing' => "Required field ':field' is missing.",
|
||||
'version_must_be_string' => 'The version field must be a string.',
|
||||
'layout_name_must_be_string' => 'The layout_name field must be a string.',
|
||||
'components_must_be_array' => 'The components field must be an array.',
|
||||
'components_or_slots_required' => 'Inherited layouts require either components or slots.',
|
||||
'component_must_be_array' => 'components[:index] must be an array.',
|
||||
'max_depth_exceeded' => 'Component nesting depth exceeds maximum allowed depth (:max).',
|
||||
'component_required_field_missing' => "Required field ':field' is missing in components[:index].",
|
||||
'component_field_must_be_string' => 'components[:index].component must be a string.',
|
||||
'props_must_be_object' => 'components[:index].props must be an object (array).',
|
||||
'children_must_be_array' => 'components[:index].children must be an array.',
|
||||
'permissions_must_be_array' => 'components[:index].permissions must be an array.',
|
||||
'permissions_must_be_array_or_object' => 'permissions must be an array or a structured object (or/and).',
|
||||
'permissions_invalid_operator' => 'Only "or" and "and" operators are allowed in permissions structure. Exactly one key is required.',
|
||||
'permissions_operator_must_be_array' => 'The value of ":operator" operator in permissions must be an array.',
|
||||
'permissions_operator_min_items' => 'The ":operator" operator in permissions requires at least :min items.',
|
||||
'permissions_max_depth_exceeded' => 'Permissions structure exceeds maximum nesting depth (:max).',
|
||||
'permission_must_be_string' => 'components[:index].permissions[:perm_index] must be a string.',
|
||||
'permission_must_be_string_or_group' => 'Item [:index] in permissions must be a string (permission identifier) or a structured object (or/and).',
|
||||
'permission_invalid_format' => '":permission" in components[:index].permissions is not a valid permission identifier format.',
|
||||
'actions_must_be_array' => 'components[:index].actions must be an array.',
|
||||
'action_must_be_array' => 'components[:index].actions[:actionIndex] must be an array.',
|
||||
'action_type_missing' => "Required field 'type' is missing in components[:index].actions[:actionIndex].",
|
||||
'action_type_or_event_missing' => "Either 'type' or 'event' is required in components[:index].actions[:actionIndex].",
|
||||
'action_type_must_be_string' => 'components[:index].actions[:actionIndex].type must be a string.',
|
||||
'action_event_must_be_string' => 'components[:index].actions[:actionIndex].event must be a string.',
|
||||
// UpdateLayoutRequest validation messages
|
||||
'content' => [
|
||||
'required' => 'The layout content is required.',
|
||||
'array' => 'The layout content must be an array.',
|
||||
],
|
||||
'version' => [
|
||||
'required' => 'The layout version is required.',
|
||||
'string' => 'The layout version must be a string.',
|
||||
],
|
||||
'layout_name' => [
|
||||
'required' => 'The layout name is required.',
|
||||
'string' => 'The layout name must be a string.',
|
||||
'max' => 'The layout name may not be greater than :max characters.',
|
||||
],
|
||||
'endpoint' => [
|
||||
'required' => 'The API endpoint is required.',
|
||||
'string' => 'The API endpoint must be a string.',
|
||||
],
|
||||
'extends' => [
|
||||
'string' => 'The extends field must be a string.',
|
||||
],
|
||||
'slots' => [
|
||||
'array' => 'The slots field must be an array.',
|
||||
],
|
||||
'components' => [
|
||||
'required' => 'The components array is required.',
|
||||
'array' => 'The components field must be an array.',
|
||||
],
|
||||
'data_sources' => [
|
||||
'array' => 'The data_sources field must be an array.',
|
||||
],
|
||||
'metadata' => [
|
||||
'array' => 'The metadata field must be an array.',
|
||||
],
|
||||
'meta' => [
|
||||
'array' => 'The meta field must be an array.',
|
||||
'title' => [
|
||||
'string' => 'The meta.title must be a string.',
|
||||
],
|
||||
'description' => [
|
||||
'string' => 'The meta.description must be a string.',
|
||||
],
|
||||
'auth_required' => [
|
||||
'boolean' => 'The meta.auth_required must be a boolean.',
|
||||
],
|
||||
'is_base' => [
|
||||
'boolean' => 'The meta.is_base must be a boolean.',
|
||||
],
|
||||
],
|
||||
'modals' => [
|
||||
'array' => 'The modals field must be an array.',
|
||||
],
|
||||
'state' => [
|
||||
'array' => 'The state field must be an array.',
|
||||
],
|
||||
'init_actions' => [
|
||||
'array' => 'The init_actions field must be an array.',
|
||||
],
|
||||
'defines' => [
|
||||
'array' => 'The defines field must be an array.',
|
||||
],
|
||||
'init_state' => [
|
||||
'array' => 'The init_state field must be an array.',
|
||||
],
|
||||
'routes' => [
|
||||
'array' => 'The routes field must be an array.',
|
||||
],
|
||||
'computed' => [
|
||||
'array' => 'The computed field must be an array.',
|
||||
],
|
||||
'permissions' => [
|
||||
'array' => 'The permissions field must be an array.',
|
||||
'string' => 'Each permission identifier must be a string.',
|
||||
'regex' => 'Invalid permission identifier format. (e.g., module.entity.action)',
|
||||
],
|
||||
'globalHeaders' => [
|
||||
'array' => 'The globalHeaders field must be an array.',
|
||||
'pattern' => [
|
||||
'required' => 'Each globalHeaders rule requires a pattern field.',
|
||||
'string' => 'The globalHeaders pattern must be a string.',
|
||||
],
|
||||
'headers' => [
|
||||
'required' => 'Each globalHeaders rule requires a headers field.',
|
||||
'array' => 'The globalHeaders headers must be an array.',
|
||||
'string' => 'Header values must be strings.',
|
||||
],
|
||||
],
|
||||
'transition_overlay' => [
|
||||
'enabled' => [
|
||||
'boolean' => 'The transition overlay enabled must be true or false.',
|
||||
],
|
||||
'style' => [
|
||||
'string' => 'The transition overlay style must be a string.',
|
||||
'in' => 'The transition overlay style must be one of: opaque, blur, fade, skeleton.',
|
||||
],
|
||||
'target' => [
|
||||
'string' => 'The transition overlay target must be a string.',
|
||||
'max' => 'The transition overlay target must not exceed :max characters.',
|
||||
],
|
||||
'fallback_target' => [
|
||||
'string' => 'The transition overlay fallback target must be a string.',
|
||||
'max' => 'The transition overlay fallback target must not exceed :max characters.',
|
||||
],
|
||||
'skeleton' => [
|
||||
'array' => 'The skeleton configuration must be an array.',
|
||||
'component' => [
|
||||
'string' => 'The skeleton component name must be a string.',
|
||||
'max' => 'The skeleton component name must not exceed :max characters.',
|
||||
],
|
||||
'animation' => [
|
||||
'string' => 'The skeleton animation must be a string.',
|
||||
'in' => 'The skeleton animation must be one of: pulse, wave, none.',
|
||||
],
|
||||
'iteration_count' => [
|
||||
'integer' => 'The skeleton iteration count must be an integer.',
|
||||
'min' => 'The skeleton iteration count must be at least :min.',
|
||||
'max' => 'The skeleton iteration count must not exceed :max.',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
// API endpoint validation messages
|
||||
'endpoint' => [
|
||||
'must_be_string' => 'The API endpoint must be a string.',
|
||||
'external_url_not_allowed' => 'External URLs are not allowed.',
|
||||
'not_whitelisted' => 'API endpoint is not whitelisted. Allowed pattern: :pattern',
|
||||
'path_traversal_detected' => 'Path traversal attack detected.',
|
||||
],
|
||||
|
||||
// External URL blocking messages
|
||||
'external_url' => [
|
||||
'detected_in_props' => 'External URL detected in props: :url',
|
||||
'detected_in_actions' => 'External URL detected in actions: :url',
|
||||
'http_not_allowed' => 'HTTP protocol URLs are not allowed.',
|
||||
'https_not_allowed' => 'HTTPS protocol URLs are not allowed.',
|
||||
'data_uri_not_allowed' => 'Data URI scheme is not allowed.',
|
||||
'javascript_uri_not_allowed' => 'JavaScript URI scheme is not allowed.',
|
||||
'dangerous_scheme_detected' => 'Dangerous URI scheme detected: :scheme',
|
||||
],
|
||||
|
||||
// Component existence validation messages
|
||||
'component' => [
|
||||
'template_id_required' => 'template_id is required for component validation.',
|
||||
'manifest_not_found' => 'Component manifest (components.json) not found for template :templateId.',
|
||||
'name_empty' => 'components[:index].component name cannot be empty.',
|
||||
'not_found' => "Component ':component' is not registered in the template. (components[:index])",
|
||||
],
|
||||
|
||||
// FormRequest field validation messages
|
||||
'request' => [
|
||||
'template_id' => [
|
||||
'required' => 'Template ID is required.',
|
||||
'integer' => 'Template ID must be an integer.',
|
||||
'exists' => 'Template does not exist.',
|
||||
],
|
||||
'layout_name' => [
|
||||
'required' => 'Layout name is required.',
|
||||
'string' => 'Layout name must be a string.',
|
||||
'max' => 'Layout name may not be greater than :max characters.',
|
||||
'unique' => 'This layout name already exists.',
|
||||
],
|
||||
'content' => [
|
||||
'required' => 'Layout content is required.',
|
||||
'array' => 'Layout content must be an array (object).',
|
||||
],
|
||||
],
|
||||
|
||||
// Layout inheritance validation messages
|
||||
'layout_inheritance' => [
|
||||
// Parent layout validation
|
||||
'parent_not_found' => 'Parent layout ":parent" not found.',
|
||||
'parent_not_in_same_template' => 'Parent layout must be in the same template.',
|
||||
'circular_reference' => 'Circular layout reference detected: :trace',
|
||||
'max_depth_exceeded' => 'Layout inheritance depth exceeds maximum allowed depth (:max).',
|
||||
'extends_must_be_string' => 'The extends field must be a string.',
|
||||
|
||||
// Slot validation
|
||||
'slots_must_be_object' => 'The slots field must be an object.',
|
||||
'slot_name_must_be_string' => 'Slot name must be a string.',
|
||||
'slot_value_must_be_array' => 'slots[:slotName] must be an array.',
|
||||
'slot_not_defined_in_parent' => 'Slot ":slotName" is not defined in parent layout.',
|
||||
'parent_has_no_slots' => 'Parent layout has no slots defined.',
|
||||
|
||||
// Data source merge validation
|
||||
'data_source_id_duplicate' => 'Duplicate ID ":id" found in data_sources.',
|
||||
'data_sources_must_be_array' => 'data_sources must be an array.',
|
||||
'data_source_must_have_id' => 'Required field "id" is missing in data_sources[:index].',
|
||||
'data_source_id_must_be_string' => 'data_sources[:index].id must be a string.',
|
||||
],
|
||||
|
||||
// Translatable field validation messages
|
||||
'translatable' => [
|
||||
'must_be_array' => 'Translatable field must be an array.',
|
||||
'unsupported_language' => "Unsupported language code: ':lang'",
|
||||
'must_be_string' => "The ':lang' translation must be a string.",
|
||||
'max_length' => "The ':lang' translation may not be greater than :max characters.",
|
||||
'min_length' => "The ':lang' translation must be at least :min characters.",
|
||||
'at_least_one_required' => 'At least one translation is required.',
|
||||
'current_locale_required' => 'The :locale language value is required.',
|
||||
],
|
||||
|
||||
// Template validation messages
|
||||
'template' => [
|
||||
'type' => [
|
||||
'in' => 'The type parameter must be either user or admin.',
|
||||
],
|
||||
'description' => [
|
||||
'string' => 'The template description must be a string.',
|
||||
'max' => 'The template description may not be greater than :max characters.',
|
||||
],
|
||||
'metadata' => [
|
||||
'array' => 'metadata must be an array.',
|
||||
],
|
||||
'status' => [
|
||||
'in' => 'status must be either active or inactive.',
|
||||
],
|
||||
],
|
||||
|
||||
// Menu validation messages
|
||||
'menu' => [
|
||||
'name' => [
|
||||
'required' => 'Please enter a menu name.',
|
||||
],
|
||||
'slug' => [
|
||||
'required' => 'Please enter a slug.',
|
||||
'unique' => 'This slug is already in use.',
|
||||
'max' => 'The slug may not be greater than :max characters.',
|
||||
],
|
||||
'url' => [
|
||||
'required' => 'The URL is required.',
|
||||
'max' => 'The URL may not be greater than :max characters.',
|
||||
],
|
||||
'icon' => [
|
||||
'max' => 'The icon may not be greater than :max characters.',
|
||||
],
|
||||
'order' => [
|
||||
'integer' => 'The order must be an integer.',
|
||||
'min' => 'The order must be at least :min.',
|
||||
],
|
||||
'parent_id' => [
|
||||
'exists' => 'The parent menu does not exist.',
|
||||
],
|
||||
'is_active' => [
|
||||
'boolean' => 'The active status must be a true or false value.',
|
||||
],
|
||||
'extension_type' => [
|
||||
'in' => 'The extension type must be one of: core, module, plugin.',
|
||||
],
|
||||
'extension_identifier' => [
|
||||
'max' => 'The extension identifier must not exceed 255 characters.',
|
||||
'must_be_string' => 'The extension identifier must be a string.',
|
||||
'min_parts' => 'The extension identifier must be in vendor-name format (e.g., sirsoft-board).',
|
||||
'empty_part' => 'The extension identifier has an empty part. Hyphens cannot be consecutive or at the edges.',
|
||||
'invalid_characters' => 'The extension identifier may only contain lowercase letters, numbers, and underscores (_).',
|
||||
'empty_word' => 'The extension identifier has consecutive or edge underscores.',
|
||||
'word_starts_with_digit' => 'Each word in the extension identifier must not start with a digit.',
|
||||
],
|
||||
'parent_menus' => [
|
||||
'required' => 'The parent menu order array is required.',
|
||||
'array' => 'The parent menu order must be an array.',
|
||||
'min' => 'At least one parent menu is required.',
|
||||
'id' => [
|
||||
'required' => 'Each parent menu ID is required.',
|
||||
'integer' => 'The parent menu ID must be an integer.',
|
||||
'exists' => 'Invalid parent menu ID found.',
|
||||
],
|
||||
'order' => [
|
||||
'required' => 'Each parent menu order is required.',
|
||||
'integer' => 'The parent menu order must be an integer.',
|
||||
'min' => 'The menu order must be at least 1.',
|
||||
],
|
||||
],
|
||||
'child_menus' => [
|
||||
'array' => 'The child menu order must be an array.',
|
||||
'id' => [
|
||||
'required' => 'Each child menu ID is required.',
|
||||
'integer' => 'The child menu ID must be an integer.',
|
||||
'exists' => 'Invalid child menu ID found.',
|
||||
],
|
||||
'order' => [
|
||||
'required' => 'Each child menu order is required.',
|
||||
'integer' => 'The child menu order must be an integer.',
|
||||
'min' => 'The menu order must be at least 1.',
|
||||
],
|
||||
],
|
||||
'moved_items' => [
|
||||
'array' => 'The moved items must be an array.',
|
||||
'id' => [
|
||||
'required' => 'Each moved menu ID is required.',
|
||||
'integer' => 'The menu ID must be an integer.',
|
||||
'exists' => 'Invalid menu ID found.',
|
||||
],
|
||||
'new_parent_id' => [
|
||||
'integer' => 'The new parent menu ID must be an integer.',
|
||||
'exists' => 'Invalid parent menu ID.',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
// Permission validation messages
|
||||
'permission' => [
|
||||
'name' => [
|
||||
'required' => 'Please enter a permission name.',
|
||||
],
|
||||
'description' => [
|
||||
'max' => 'The permission description may not be greater than :max characters.',
|
||||
],
|
||||
],
|
||||
|
||||
// Role validation messages
|
||||
'role' => [
|
||||
'name' => [
|
||||
'required' => 'Please enter a role name.',
|
||||
],
|
||||
'description' => [
|
||||
'max' => 'The role description may not be greater than :max characters.',
|
||||
],
|
||||
],
|
||||
|
||||
// Template validation messages
|
||||
'template' => [
|
||||
'name' => [
|
||||
'max' => 'The template name may not be greater than :max characters.',
|
||||
],
|
||||
'description' => [
|
||||
'max' => 'The template description may not be greater than :max characters.',
|
||||
],
|
||||
'metadata' => [
|
||||
'array' => 'metadata must be an array.',
|
||||
],
|
||||
'status' => [
|
||||
'in' => 'status must be either active or inactive.',
|
||||
],
|
||||
],
|
||||
|
||||
// Module validation messages
|
||||
'module' => [
|
||||
'status' => [
|
||||
'in' => 'status must be one of: active, inactive, installed, uninstalled.',
|
||||
],
|
||||
],
|
||||
|
||||
// Plugin validation messages
|
||||
'plugin' => [
|
||||
'status' => [
|
||||
'in' => 'status must be one of: active, inactive, installed, uninstalled.',
|
||||
],
|
||||
],
|
||||
|
||||
// Template path validation messages
|
||||
'template_path' => [
|
||||
'must_be_string' => 'The template path must be a string.',
|
||||
'traversal_detected' => 'Path traversal pattern detected: :pattern',
|
||||
'absolute_path_not_allowed' => 'Absolute paths are not allowed.',
|
||||
'null_byte_detected' => 'NULL byte attack detected.',
|
||||
'outside_base_directory' => 'Paths outside the base directory are not allowed.',
|
||||
'file_type_not_allowed' => 'File type not allowed. Extension: :extension (Allowed: :allowed)',
|
||||
],
|
||||
|
||||
// Module path validation messages
|
||||
'module_path' => [
|
||||
'must_be_string' => 'The path must be a string.',
|
||||
'traversal_detected' => 'Path traversal detected: :pattern',
|
||||
'absolute_path_not_allowed' => 'Absolute paths are not allowed.',
|
||||
'null_byte_detected' => 'NULL byte detected.',
|
||||
'outside_base_directory' => 'Access outside the base directory is not allowed.',
|
||||
],
|
||||
|
||||
// Plugin path validation messages
|
||||
'plugin_path' => [
|
||||
'must_be_string' => 'The path must be a string.',
|
||||
'traversal_detected' => 'Path traversal detected: :pattern',
|
||||
'absolute_path_not_allowed' => 'Absolute paths are not allowed.',
|
||||
'null_byte_detected' => 'NULL byte detected.',
|
||||
'outside_base_directory' => 'Access outside the base directory is not allowed.',
|
||||
],
|
||||
|
||||
// Auth validation messages
|
||||
'auth' => [
|
||||
'email' => [
|
||||
'required' => 'Email is required.',
|
||||
'email' => 'Please enter a valid email address.',
|
||||
'exists' => 'This email is not registered.',
|
||||
'unique' => 'This email is already in use.',
|
||||
],
|
||||
'password' => [
|
||||
'required' => 'Password is required.',
|
||||
'min' => 'Password must be at least :min characters.',
|
||||
'confirmed' => 'Password confirmation does not match.',
|
||||
],
|
||||
'name' => [
|
||||
'required' => 'Name is required.',
|
||||
'min' => 'Name must be at least :min characters.',
|
||||
'max' => 'Name may not be greater than :max characters.',
|
||||
],
|
||||
'nickname' => [
|
||||
'max' => 'Nickname may not be greater than :max characters.',
|
||||
],
|
||||
'agree_terms' => [
|
||||
'accepted' => 'You must agree to the Terms of Service.',
|
||||
],
|
||||
'agree_privacy' => [
|
||||
'accepted' => 'You must agree to the Privacy Policy.',
|
||||
],
|
||||
'token' => [
|
||||
'required' => 'Token is required.',
|
||||
'string' => 'Token must be a string.',
|
||||
],
|
||||
],
|
||||
|
||||
// Asset validation messages
|
||||
'asset' => [
|
||||
'identifier' => [
|
||||
'required' => 'Identifier is required.',
|
||||
'string' => 'Identifier must be a string.',
|
||||
],
|
||||
'path' => [
|
||||
'required' => 'Path is required.',
|
||||
'string' => 'Path must be a string.',
|
||||
],
|
||||
],
|
||||
|
||||
// Setting value validation messages
|
||||
'setting' => [
|
||||
'value' => [
|
||||
'required' => 'Setting value is required.',
|
||||
'string' => 'Setting value must be a string.',
|
||||
'max' => 'Setting value may not be greater than :max characters.',
|
||||
],
|
||||
],
|
||||
|
||||
// User validation messages
|
||||
'exclude_current_user' => 'The currently logged in user cannot be included in bulk changes.',
|
||||
|
||||
// Hierarchy validation messages
|
||||
'not_self_parent' => 'Cannot set self as parent.',
|
||||
'not_circular_parent' => 'Cannot move a menu under its own descendant.',
|
||||
|
||||
// Settings validation messages
|
||||
'settings' => [
|
||||
// General settings - Required fields
|
||||
'site_name_required' => 'Please enter the site name.',
|
||||
'site_name_max' => 'Site name may not be greater than 100 characters.',
|
||||
'site_url_required' => 'Please enter the site URL.',
|
||||
'site_url_invalid' => 'Invalid URL format.',
|
||||
'site_url_max' => 'Site URL may not be greater than 255 characters.',
|
||||
'site_description_max' => 'Site description may not be greater than 500 characters.',
|
||||
'admin_email_required' => 'Please enter the admin email.',
|
||||
'admin_email_invalid' => 'Invalid email format.',
|
||||
'admin_email_max' => 'Admin email may not be greater than 255 characters.',
|
||||
'timezone_required' => 'Please select a timezone.',
|
||||
'timezone_invalid' => 'Please select a valid timezone.',
|
||||
'language_required' => 'Please select a default language.',
|
||||
'language_invalid' => 'Please select a valid language.',
|
||||
'currency_max' => 'Currency code may not be greater than 10 characters.',
|
||||
'maintenance_mode_boolean' => 'Maintenance mode must be true or false.',
|
||||
|
||||
// Security settings
|
||||
'force_https_required' => 'Please select the Force HTTPS setting.',
|
||||
'force_https_boolean' => 'Force HTTPS must be true or false.',
|
||||
'login_attempt_enabled_required' => 'Please select the login attempt limit setting.',
|
||||
'login_attempt_enabled_boolean' => 'Login attempt limit must be true or false.',
|
||||
'auth_token_lifetime_integer' => 'Auth token lifetime must be an integer.',
|
||||
'auth_token_lifetime_min' => 'Auth token lifetime must be at least 0.',
|
||||
'auth_token_lifetime_max' => 'Auth token lifetime may not be greater than 3600 minutes (60 hours).',
|
||||
'auth_token_lifetime_range' => 'Auth token lifetime must be 0 (unlimited) or between 30 and 3600 minutes.',
|
||||
'max_login_attempts_integer' => 'Max login attempts must be an integer.',
|
||||
'max_login_attempts_min' => 'Max login attempts must be at least 0.',
|
||||
'max_login_attempts_max' => 'Max login attempts may not be greater than 100.',
|
||||
'login_lockout_time_integer' => 'Login lockout time must be an integer.',
|
||||
'login_lockout_time_min' => 'Login lockout time must be at least 0.',
|
||||
'login_lockout_time_max' => 'Login lockout time may not be greater than 1440 minutes (24 hours).',
|
||||
|
||||
// Cache settings
|
||||
'cache_enabled_required' => 'Please select the cache enabled setting.',
|
||||
'cache_enabled_boolean' => 'Cache enabled must be true or false.',
|
||||
'layout_cache_enabled_required' => 'Please select the layout cache setting.',
|
||||
'layout_cache_enabled_boolean' => 'Layout cache must be true or false.',
|
||||
'layout_cache_ttl_required' => 'Please enter the layout cache TTL.',
|
||||
'layout_cache_ttl_integer' => 'Layout cache TTL must be an integer.',
|
||||
'layout_cache_ttl_min' => 'Layout cache TTL must be at least 0 seconds.',
|
||||
'layout_cache_ttl_max' => 'Layout cache TTL may not be greater than 14400 seconds (4 hours).',
|
||||
'stats_cache_enabled_required' => 'Please select the stats cache setting.',
|
||||
'stats_cache_enabled_boolean' => 'Stats cache must be true or false.',
|
||||
'stats_cache_ttl_required' => 'Please enter the stats cache TTL.',
|
||||
'stats_cache_ttl_integer' => 'Stats cache TTL must be an integer.',
|
||||
'stats_cache_ttl_min' => 'Stats cache TTL must be at least 0 seconds.',
|
||||
'stats_cache_ttl_max' => 'Stats cache TTL may not be greater than 14400 seconds (4 hours).',
|
||||
'seo_cache_enabled_required' => 'Please select the SEO cache setting.',
|
||||
'seo_cache_enabled_boolean' => 'SEO cache must be true or false.',
|
||||
'seo_cache_ttl_required' => 'Please enter the SEO cache TTL.',
|
||||
'seo_cache_ttl_integer' => 'SEO cache TTL must be an integer.',
|
||||
'seo_cache_ttl_min' => 'SEO cache TTL must be at least 0 seconds.',
|
||||
'seo_cache_ttl_max' => 'SEO cache TTL may not be greater than 14400 seconds (4 hours).',
|
||||
|
||||
// Debug settings
|
||||
'debug_mode_required' => 'Please select the debug mode setting.',
|
||||
'debug_mode_boolean' => 'Debug mode must be true or false.',
|
||||
'sql_query_log_required' => 'Please select the SQL query log setting.',
|
||||
'sql_query_log_boolean' => 'SQL query log must be true or false.',
|
||||
|
||||
// Core update settings
|
||||
'core_update_github_url_invalid' => 'The GitHub repository URL format is invalid.',
|
||||
'core_update_github_url_max' => 'The GitHub repository URL may not be greater than 500 characters.',
|
||||
'core_update_github_token_max' => 'The GitHub access token may not be greater than 500 characters.',
|
||||
|
||||
// Mail settings
|
||||
'mailer_required' => 'Please select a mailer.',
|
||||
'mailer_invalid' => 'Please select a valid mailer.',
|
||||
'host_required' => 'Please enter the SMTP host.',
|
||||
'host_max' => 'SMTP host may not be greater than 255 characters.',
|
||||
'port_required' => 'Please enter the port number.',
|
||||
'port_integer' => 'SMTP port must be an integer.',
|
||||
'port_min' => 'SMTP port must be at least 1.',
|
||||
'port_max' => 'SMTP port may not be greater than 65535.',
|
||||
'username_max' => 'SMTP username may not be greater than 255 characters.',
|
||||
'password_max' => 'SMTP password may not be greater than 255 characters.',
|
||||
'encryption_invalid' => 'Please select a valid encryption type.',
|
||||
'from_address_required' => 'Please enter the sender email address.',
|
||||
'from_address_invalid' => 'Please enter a valid sender email address.',
|
||||
'from_address_max' => 'Sender email address may not be greater than 255 characters.',
|
||||
'from_name_required' => 'Please enter the sender name.',
|
||||
'from_name_max' => 'Sender name may not be greater than 255 characters.',
|
||||
|
||||
// Upload settings
|
||||
'max_file_size_required' => 'Please enter the max file size.',
|
||||
'max_file_size_integer' => 'Max file size must be an integer.',
|
||||
'max_file_size_min' => 'Max file size must be at least 1MB.',
|
||||
'max_file_size_max' => 'Max file size may not be greater than 1024MB.',
|
||||
'allowed_extensions_required' => 'Please enter the allowed extensions.',
|
||||
'allowed_extensions_max' => 'Allowed extensions may not be greater than 500 characters.',
|
||||
'allowed_extensions_invalid_type' => 'Allowed extensions must be a string or an array.',
|
||||
'image_max_width_integer' => 'Max image width must be an integer.',
|
||||
'image_max_width_min' => 'Max image width must be at least 100 pixels.',
|
||||
'image_max_width_max' => 'Max image width may not be greater than 10000 pixels.',
|
||||
'image_max_height_integer' => 'Max image height must be an integer.',
|
||||
'image_max_height_min' => 'Max image height must be at least 100 pixels.',
|
||||
'image_max_height_max' => 'Max image height may not be greater than 10000 pixels.',
|
||||
'image_quality_integer' => 'Image quality must be an integer.',
|
||||
'image_quality_min' => 'Image quality must be at least 1.',
|
||||
'image_quality_max' => 'Image quality may not be greater than 100.',
|
||||
|
||||
// SEO settings
|
||||
'meta_title_suffix_max' => 'Meta title suffix may not be greater than 100 characters.',
|
||||
'meta_description_max' => 'Meta description may not be greater than 160 characters.',
|
||||
'meta_keywords_max' => 'Meta keywords may not be greater than 255 characters.',
|
||||
'google_analytics_id_max' => 'Google Analytics ID may not be greater than 50 characters.',
|
||||
'google_site_verification_max' => 'Google site verification code may not be greater than 100 characters.',
|
||||
'naver_site_verification_max' => 'Naver site verification code may not be greater than 100 characters.',
|
||||
'bot_user_agents_array' => 'Bot user agents must be an array.',
|
||||
'bot_user_agents_item_string' => 'Each bot user agent must be a string.',
|
||||
'bot_user_agents_item_max' => 'Each bot user agent may not be greater than 100 characters.',
|
||||
'bot_detection_enabled_boolean' => 'Bot detection setting must be true or false.',
|
||||
'seo_cache_enabled_boolean' => 'SEO cache setting must be true or false.',
|
||||
'seo_cache_ttl_integer' => 'SEO cache TTL must be an integer.',
|
||||
'seo_cache_ttl_min' => 'SEO cache TTL must be at least 60 seconds.',
|
||||
'seo_cache_ttl_max' => 'SEO cache TTL may not be greater than 86400 seconds (24 hours).',
|
||||
'sitemap_enabled_boolean' => 'Sitemap generation setting must be true or false.',
|
||||
'sitemap_cache_ttl_integer' => 'Sitemap cache TTL must be an integer.',
|
||||
'sitemap_cache_ttl_min' => 'Sitemap cache TTL must be at least 3600 seconds (1 hour).',
|
||||
'sitemap_cache_ttl_max' => 'Sitemap cache TTL may not be greater than 604800 seconds (7 days).',
|
||||
'sitemap_schedule_invalid' => 'Please select a valid sitemap generation schedule.',
|
||||
'sitemap_schedule_time_invalid' => 'Sitemap generation time must be in HH:mm format.',
|
||||
|
||||
// Misc
|
||||
'session_lifetime_integer' => 'Session lifetime must be an integer.',
|
||||
'session_lifetime_min' => 'Session lifetime must be at least 1 minute.',
|
||||
'session_lifetime_max' => 'Session lifetime may not be greater than 525600 minutes (1 year).',
|
||||
|
||||
// Driver settings - Storage
|
||||
'storage_driver_required' => 'Please select a storage driver.',
|
||||
'storage_driver_invalid' => 'Please select a valid storage driver.',
|
||||
's3_bucket_required' => 'S3 bucket name is required.',
|
||||
's3_bucket_max' => 'S3 bucket name may not be greater than 255 characters.',
|
||||
's3_region_required' => 'Please select an S3 region.',
|
||||
's3_region_invalid' => 'Please select a valid S3 region.',
|
||||
's3_access_key_required' => 'S3 access key is required.',
|
||||
's3_access_key_max' => 'S3 access key may not be greater than 255 characters.',
|
||||
's3_secret_key_required' => 'S3 secret key is required.',
|
||||
's3_secret_key_max' => 'S3 secret key may not be greater than 255 characters.',
|
||||
's3_url_url' => 'S3 URL must be a valid URL.',
|
||||
's3_url_max' => 'S3 URL may not be greater than 255 characters.',
|
||||
|
||||
// Driver settings - Cache
|
||||
'cache_driver_required' => 'Please select a cache driver.',
|
||||
'cache_driver_invalid' => 'Please select a valid cache driver.',
|
||||
'redis_host_required' => 'Redis host is required.',
|
||||
'redis_host_max' => 'Redis host may not be greater than 255 characters.',
|
||||
'redis_port_required' => 'Redis port is required.',
|
||||
'redis_port_integer' => 'Redis port must be an integer.',
|
||||
'redis_port_min' => 'Redis port must be at least 1.',
|
||||
'redis_port_max' => 'Redis port may not be greater than 65535.',
|
||||
'redis_password_max' => 'Redis password may not be greater than 255 characters.',
|
||||
'redis_database_required' => 'Redis database number is required.',
|
||||
'redis_database_integer' => 'Redis database must be an integer.',
|
||||
'redis_database_min' => 'Redis database must be at least 0.',
|
||||
'redis_database_max' => 'Redis database may not be greater than 15.',
|
||||
'memcached_host_required' => 'Memcached host is required.',
|
||||
'memcached_host_max' => 'Memcached host may not be greater than 255 characters.',
|
||||
'memcached_port_required' => 'Memcached port is required.',
|
||||
'memcached_port_integer' => 'Memcached port must be an integer.',
|
||||
'memcached_port_min' => 'Memcached port must be at least 1.',
|
||||
'memcached_port_max' => 'Memcached port may not be greater than 65535.',
|
||||
|
||||
// Driver settings - Session
|
||||
'session_driver_required' => 'Please select a session driver.',
|
||||
'session_driver_invalid' => 'Please select a valid session driver.',
|
||||
'session_lifetime_required' => 'Session lifetime is required.',
|
||||
|
||||
// Driver settings - Queue
|
||||
'queue_driver_required' => 'Please select a queue driver.',
|
||||
'queue_driver_invalid' => 'Please select a valid queue driver.',
|
||||
|
||||
// Driver settings - WebSocket
|
||||
'websocket_enabled_boolean' => 'WebSocket enabled must be true or false.',
|
||||
'websocket_app_key_required' => 'WebSocket app key is required.',
|
||||
'websocket_app_key_max' => 'WebSocket app key may not be greater than 255 characters.',
|
||||
'websocket_host_required' => 'WebSocket host is required.',
|
||||
'websocket_host_max' => 'WebSocket host may not be greater than 255 characters.',
|
||||
'websocket_port_required' => 'WebSocket port is required.',
|
||||
'websocket_port_integer' => 'WebSocket port must be an integer.',
|
||||
'websocket_port_min' => 'WebSocket port must be at least 1.',
|
||||
'websocket_port_max' => 'WebSocket port may not be greater than 65535.',
|
||||
'websocket_scheme_required' => 'Please select a WebSocket scheme.',
|
||||
'websocket_scheme_invalid' => 'Please select a valid WebSocket scheme.',
|
||||
'search_engine_driver_invalid' => 'Please select a valid search engine driver.',
|
||||
],
|
||||
|
||||
// Validation attribute names (validation.attributes)
|
||||
'attributes' => [
|
||||
'ids' => 'user ID list',
|
||||
'user_id' => 'user ID',
|
||||
'status' => 'status',
|
||||
// Settings fields
|
||||
'site_name' => 'site name',
|
||||
'site_url' => 'site URL',
|
||||
'site_description' => 'site description',
|
||||
'admin_email' => 'admin email',
|
||||
'timezone' => 'timezone',
|
||||
'language' => 'default language',
|
||||
// Mail settings
|
||||
'mailer' => 'mailer',
|
||||
'host' => 'SMTP host',
|
||||
'port' => 'SMTP port',
|
||||
'username' => 'SMTP username',
|
||||
'password' => 'SMTP password',
|
||||
'encryption' => 'encryption',
|
||||
'from_address' => 'sender email',
|
||||
'from_name' => 'sender name',
|
||||
// Upload settings
|
||||
'max_file_size' => 'max file size',
|
||||
'allowed_extensions' => 'allowed extensions',
|
||||
'image_max_width' => 'max image width',
|
||||
'image_max_height' => 'max image height',
|
||||
'image_quality' => 'image quality',
|
||||
// SEO settings
|
||||
'meta_title_suffix' => 'meta title suffix',
|
||||
'meta_description' => 'meta description',
|
||||
'meta_keywords' => 'meta keywords',
|
||||
'google_analytics_id' => 'Google Analytics ID',
|
||||
'google_site_verification' => 'Google site verification',
|
||||
'naver_site_verification' => 'Naver site verification',
|
||||
// Driver settings
|
||||
'storage_driver' => 'storage driver',
|
||||
's3_bucket' => 'S3 bucket',
|
||||
's3_region' => 'S3 region',
|
||||
's3_access_key' => 'S3 access key',
|
||||
's3_secret_key' => 'S3 secret key',
|
||||
's3_url' => 'S3 URL',
|
||||
'cache_driver' => 'cache driver',
|
||||
'redis_host' => 'Redis host',
|
||||
'redis_port' => 'Redis port',
|
||||
'redis_password' => 'Redis password',
|
||||
'redis_database' => 'Redis database',
|
||||
'memcached_host' => 'Memcached host',
|
||||
'memcached_port' => 'Memcached port',
|
||||
'session_driver' => 'session driver',
|
||||
'session_lifetime' => 'session lifetime',
|
||||
'queue_driver' => 'queue driver',
|
||||
'websocket_enabled' => 'WebSocket enabled',
|
||||
'websocket_app_key' => 'WebSocket app key',
|
||||
'websocket_host' => 'WebSocket host',
|
||||
'websocket_port' => 'WebSocket port',
|
||||
'websocket_scheme' => 'WebSocket scheme',
|
||||
// Changelog fields
|
||||
'from_version' => 'start version',
|
||||
'to_version' => 'end version',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,322 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 활동 로그 관련 메시지
|
||||
'fetch_success' => '활동 로그 정보를 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '활동 로그 정보를 가져오는데 실패했습니다.',
|
||||
'delete_success' => '활동 로그가 삭제되었습니다.',
|
||||
'bulk_delete_success' => '선택한 활동 로그가 삭제되었습니다.',
|
||||
'delete_failed' => '활동 로그 삭제에 실패했습니다.',
|
||||
|
||||
// 유효성 검증 메시지
|
||||
'validation' => [
|
||||
'ids_required' => '삭제할 활동 로그를 선택해주세요.',
|
||||
'ids_min' => '삭제할 활동 로그를 하나 이상 선택해주세요.',
|
||||
'id_not_found' => '선택한 활동 로그를 찾을 수 없습니다.',
|
||||
],
|
||||
|
||||
// 로그 유형 라벨
|
||||
'type' => [
|
||||
'admin' => '관리자',
|
||||
'user' => '사용자',
|
||||
'system' => '시스템',
|
||||
],
|
||||
|
||||
// 액션 라벨 (마지막 세그먼트 기준)
|
||||
'action' => [
|
||||
'created' => '생성',
|
||||
'create' => '생성',
|
||||
'updated' => '수정',
|
||||
'update' => '수정',
|
||||
'deleted' => '삭제',
|
||||
'delete' => '삭제',
|
||||
'login' => '로그인',
|
||||
'logout' => '로그아웃',
|
||||
'export' => '내보내기',
|
||||
'import' => '가져오기',
|
||||
'index' => '목록 조회',
|
||||
'show' => '상세 조회',
|
||||
'search' => '검색',
|
||||
'install' => '설치',
|
||||
'activate' => '활성화',
|
||||
'deactivate' => '비활성화',
|
||||
'uninstall' => '제거',
|
||||
'save' => '저장',
|
||||
'run' => '실행',
|
||||
'duplicate' => '복제',
|
||||
'upload' => '업로드',
|
||||
'reorder' => '순서 변경',
|
||||
'toggle_status' => '상태 전환',
|
||||
'toggle_active' => '활성 상태 변경',
|
||||
'bulk_update' => '일괄 수정',
|
||||
'bulk_delete' => '일괄 삭제',
|
||||
'bulk_status' => '일괄 상태 변경',
|
||||
'bulk_update_status' => '일괄 상태 변경',
|
||||
'cancel' => '취소',
|
||||
'partial_cancel' => '부분 취소',
|
||||
'refund' => '환불',
|
||||
'restore' => '복원',
|
||||
'blind' => '블라인드',
|
||||
'publish' => '발행',
|
||||
'register' => '회원가입',
|
||||
'reset_password' => '비밀번호 재설정',
|
||||
'forgot_password' => '비밀번호 찾기',
|
||||
'record_consents' => '동의 기록',
|
||||
'check' => '확인',
|
||||
'sync_permissions' => '권한 동기화',
|
||||
'sync_roles' => '역할 동기화',
|
||||
'copy' => '복사',
|
||||
'reply' => '답변',
|
||||
'toggle' => '토글',
|
||||
'download' => '다운로드',
|
||||
'earn' => '적립',
|
||||
'use' => '사용',
|
||||
|
||||
// 추가 액션
|
||||
'withdraw' => '탈퇴',
|
||||
'update_order' => '순서 변경',
|
||||
'refresh_layouts' => '레이아웃 갱신',
|
||||
'version_update' => '버전 업데이트',
|
||||
'version_restore' => '버전 복원',
|
||||
'reset' => '초기화',
|
||||
|
||||
// 이커머스/게시판 공용
|
||||
'bulk_price_update' => '일괄 가격 수정',
|
||||
'bulk_stock_update' => '일괄 재고 수정',
|
||||
'stock_sync' => '재고 동기화',
|
||||
'bulk_status_update' => '일괄 상태 변경',
|
||||
'bulk_shipping_update' => '운송장 일괄 입력',
|
||||
'update_shipping_address' => '배송지 변경',
|
||||
'send_email' => '이메일 발송',
|
||||
'payment_complete' => '결제 완료',
|
||||
'payment_failed' => '결제 실패',
|
||||
'status_change' => '상태 변경',
|
||||
'bulk_status_change' => '일괄 상태 변경',
|
||||
'confirm' => '구매 확정',
|
||||
'set_default' => '기본값 설정',
|
||||
'bulk_toggle_active' => '일괄 활성 상태 변경',
|
||||
'bulk_create' => '일괄 생성',
|
||||
'add' => '추가',
|
||||
'update_quantity' => '수량 변경',
|
||||
'change_option' => '옵션 변경',
|
||||
'delete_all' => '전체 삭제',
|
||||
'add_to_menu' => '메뉴 추가',
|
||||
'bulk_apply' => '일괄 적용',
|
||||
'update_status' => '상태 변경',
|
||||
'restore_content' => '콘텐츠 복원',
|
||||
'blind_content' => '콘텐츠 블라인드',
|
||||
'delete_content' => '콘텐츠 삭제',
|
||||
],
|
||||
|
||||
// 설명 템플릿 (description_key로 사용)
|
||||
'description' => [
|
||||
// 사용자 관리
|
||||
'user_index' => '사용자 목록 조회',
|
||||
'user_create' => '사용자 생성 (ID: :user_id)',
|
||||
'user_show' => '사용자 상세 조회 (ID: :user_id)',
|
||||
'user_update' => '사용자 수정 (ID: :user_id)',
|
||||
'user_delete' => '사용자 삭제 (ID: :user_id)',
|
||||
'user_withdraw' => '사용자 탈퇴 (ID: :user_id)',
|
||||
'user_statistics' => '사용자 통계 조회',
|
||||
'user_recent' => '최근 사용자 조회',
|
||||
'user_search' => '사용자 검색',
|
||||
'user_check_email' => '이메일 중복 확인',
|
||||
'user_update_language' => '사용자 언어 설정 변경',
|
||||
'user_bulk_update_status' => '사용자 일괄 상태 변경 (:count건)',
|
||||
|
||||
// 역할 관리
|
||||
'role_index' => '역할 목록 조회',
|
||||
'role_active' => '활성 역할 목록 조회',
|
||||
'role_show' => '역할 상세 조회 (ID: :role_id)',
|
||||
'role_create' => '역할 생성 (ID: :role_id)',
|
||||
'role_update' => '역할 수정 (ID: :role_id)',
|
||||
'role_delete' => '역할 삭제 (ID: :role_id)',
|
||||
'role_toggle_status' => '역할 상태 전환 (ID: :role_id)',
|
||||
'role_sync_permissions' => '역할 권한 동기화 (ID: :role_id)',
|
||||
|
||||
// 권한 관리
|
||||
'permission_index' => '권한 목록 조회',
|
||||
|
||||
// 메뉴 관리
|
||||
'menu_index' => '메뉴 목록 조회',
|
||||
'menu_hierarchy' => '메뉴 계층 조회',
|
||||
'menu_active' => '활성 메뉴 목록 조회',
|
||||
'menu_show' => '메뉴 상세 조회 (ID: :menu_id)',
|
||||
'menu_create' => '메뉴 생성 (ID: :menu_id)',
|
||||
'menu_update' => '메뉴 수정 (ID: :menu_id)',
|
||||
'menu_delete' => '메뉴 삭제 (ID: :menu_id)',
|
||||
'menu_update_order' => '메뉴 순서 변경',
|
||||
'menu_toggle_status' => '메뉴 상태 전환 (ID: :menu_id)',
|
||||
'menu_sync_roles' => '메뉴 역할 동기화 (ID: :menu_id)',
|
||||
'menu_get_by_extension' => '확장별 메뉴 조회 (:extension_type: :extension_identifier)',
|
||||
|
||||
// 설정 관리
|
||||
'settings_index' => '설정 목록 조회',
|
||||
'settings_save' => '설정 저장',
|
||||
'settings_show' => '설정 조회',
|
||||
'settings_update' => '설정 수정',
|
||||
'settings_system_info' => '시스템 정보 조회',
|
||||
'settings_clear_cache' => '캐시 초기화',
|
||||
'settings_optimize_system' => '시스템 최적화',
|
||||
'settings_backup_database' => '데이터베이스 백업',
|
||||
'settings_get_app_key' => '앱 키 조회',
|
||||
'settings_app_key_regenerated' => '앱 키 재생성',
|
||||
'settings_backup' => '백업 생성',
|
||||
'settings_restore' => '백업 복원',
|
||||
'settings_test_mail' => '메일 전송 테스트',
|
||||
'settings_test_driver_connection' => '드라이버 연결 테스트',
|
||||
|
||||
// 인증
|
||||
'auth_login' => '관리자 로그인',
|
||||
'auth_logout' => '관리자 로그아웃',
|
||||
'auth_register' => '회원가입',
|
||||
'auth_forgot_password' => '비밀번호 찾기 요청',
|
||||
'auth_reset_password' => '비밀번호 재설정',
|
||||
'auth_record_consents' => '이용약관 동의 기록',
|
||||
|
||||
// 스케줄 관리
|
||||
'schedule_index' => '스케줄 목록 조회',
|
||||
'schedule_show' => '스케줄 상세 조회 (ID: :schedule_id)',
|
||||
'schedule_create' => '스케줄 생성 (ID: :schedule_id)',
|
||||
'schedule_update' => '스케줄 수정 (ID: :schedule_id)',
|
||||
'schedule_delete' => '스케줄 삭제 (ID: :schedule_id)',
|
||||
'schedule_run' => '스케줄 수동 실행 (ID: :schedule_id)',
|
||||
'schedule_duplicate' => '스케줄 복제',
|
||||
'schedule_bulk_update_status' => '스케줄 일괄 상태 변경 (:count건)',
|
||||
'schedule_bulk_delete' => '스케줄 일괄 삭제 (:count건)',
|
||||
'schedule_statistics' => '스케줄 통계 조회',
|
||||
'schedule_history' => '스케줄 실행 이력 조회 (ID: :schedule_id)',
|
||||
'schedule_delete_history' => '스케줄 이력 삭제',
|
||||
|
||||
// 대시보드
|
||||
'dashboard_stats' => '대시보드 통계 조회',
|
||||
'dashboard_resources' => '대시보드 리소스 조회',
|
||||
'dashboard_activities' => '대시보드 활동 조회',
|
||||
'dashboard_alerts' => '대시보드 알림 조회',
|
||||
|
||||
// 첨부파일 관리
|
||||
'attachment_upload' => '파일 업로드',
|
||||
'attachment_upload_batch' => '파일 일괄 업로드',
|
||||
'attachment_delete' => '파일 삭제',
|
||||
'attachment_bulk_delete' => '파일 일괄 삭제',
|
||||
'attachment_reorder' => '파일 순서 변경',
|
||||
|
||||
// 레이아웃 관리
|
||||
'layout_index' => '레이아웃 목록 조회',
|
||||
'layout_show' => '레이아웃 상세 조회 (:layout_path)',
|
||||
'layout_update' => '레이아웃 수정 (:layout_path)',
|
||||
'layout_versions_index' => '레이아웃 버전 목록 조회 (:layout_path)',
|
||||
'layout_version_show' => '레이아웃 버전 상세 조회 (:layout_path)',
|
||||
'layout_version_restore' => '레이아웃 버전 복원 (:layout_path)',
|
||||
|
||||
// 메일 템플릿 관리
|
||||
'mail_template_update' => '메일 템플릿 수정 (:template_name)',
|
||||
'mail_template_toggle_active' => '메일 템플릿 활성 상태 변경 (:template_name)',
|
||||
|
||||
// 모듈 관리
|
||||
'module_index' => '모듈 목록 조회',
|
||||
'module_installed' => '설치된 모듈 목록 조회',
|
||||
'module_uninstalled' => '미설치 모듈 목록 조회',
|
||||
'module_show' => '모듈 상세 조회 (:module_name)',
|
||||
'module_install' => '모듈 설치 (:module_name)',
|
||||
'module_activate' => '모듈 활성화 (:module_name)',
|
||||
'module_deactivate' => '모듈 비활성화 (:module_name)',
|
||||
'module_uninstall' => '모듈 제거 (:module_name)',
|
||||
'module_uninstall_info' => '모듈 삭제 정보 조회 (모듈: :module_name)',
|
||||
'module_check_updates' => '모듈 업데이트 확인',
|
||||
'module_update' => '모듈 업데이트 (:module_name)',
|
||||
'module_refresh_layouts' => '모듈 레이아웃 갱신 (:module_name)',
|
||||
'module_dependent_templates' => '모듈 종속 템플릿 조회',
|
||||
'module_install_from_file' => '파일에서 모듈 설치',
|
||||
'module_install_from_github' => 'GitHub에서 모듈 설치',
|
||||
|
||||
// 모듈 설정
|
||||
'module_settings_save' => '모듈 설정 저장 (:module_name)',
|
||||
'module_settings_reset' => '모듈 설정 초기화 (:module_name)',
|
||||
|
||||
// 플러그인 관리
|
||||
'plugin_index' => '플러그인 목록 조회',
|
||||
'plugin_installed' => '설치된 플러그인 목록 조회',
|
||||
'plugin_show' => '플러그인 상세 조회 (:plugin_name)',
|
||||
'plugin_install' => '플러그인 설치 (:plugin_name)',
|
||||
'plugin_activate' => '플러그인 활성화 (:plugin_name)',
|
||||
'plugin_deactivate' => '플러그인 비활성화 (:plugin_name)',
|
||||
'plugin_uninstall' => '플러그인 제거 (:plugin_name)',
|
||||
'plugin_uninstall_info' => '플러그인 삭제 정보 조회 (플러그인: :plugin_name)',
|
||||
'plugin_check_updates' => '플러그인 업데이트 확인',
|
||||
'plugin_update' => '플러그인 업데이트 (:plugin_name)',
|
||||
'plugin_refresh_layouts' => '플러그인 레이아웃 갱신 (:plugin_name)',
|
||||
'plugin_dependent_templates' => '플러그인 종속 템플릿 조회',
|
||||
|
||||
// 플러그인 설정
|
||||
'plugin_settings_save' => '플러그인 설정 저장 (:plugin_name)',
|
||||
'plugin_settings_reset' => '플러그인 설정 초기화 (:plugin_name)',
|
||||
|
||||
// 템플릿 관리
|
||||
'template_index' => '템플릿 목록 조회',
|
||||
'template_show' => '템플릿 상세 조회 (:template_name)',
|
||||
'template_install' => '템플릿 설치 (:template_name)',
|
||||
'template_activate' => '템플릿 활성화 (:template_name)',
|
||||
'template_deactivate' => '템플릿 비활성화 (:template_name)',
|
||||
'template_uninstall' => '템플릿 제거 (:template_name)',
|
||||
'template_check_updates' => '템플릿 업데이트 확인',
|
||||
'template_check_modified_layouts' => '템플릿 수정된 레이아웃 확인 (:template_name)',
|
||||
'template_update' => '템플릿 업데이트 (:template_name)',
|
||||
'template_version_update' => '템플릿 버전 업데이트 (:template_name)',
|
||||
'template_install_from_file' => '파일에서 템플릿 설치',
|
||||
'template_install_from_github' => 'GitHub에서 템플릿 설치',
|
||||
'template_refresh_layouts' => '템플릿 레이아웃 갱신 (:template_name)',
|
||||
|
||||
// 코어 업데이트
|
||||
'core_update_check' => '코어 업데이트 확인',
|
||||
'core_update_update' => '코어 업데이트 실행',
|
||||
|
||||
// 활동 로그
|
||||
'activity_log_index' => '활동 로그 목록 조회',
|
||||
'activity_log_delete' => '활동 로그 삭제 (ID: :log_id)',
|
||||
'activity_log_bulk_delete' => '활동 로그 일괄 삭제 (:count건)',
|
||||
],
|
||||
|
||||
// ChangeDetector 필드 라벨
|
||||
'fields' => [
|
||||
// User
|
||||
'name' => '이름',
|
||||
'nickname' => '닉네임',
|
||||
'email' => '이메일',
|
||||
'language' => '언어',
|
||||
'timezone' => '시간대',
|
||||
'country' => '국가',
|
||||
'status' => '상태',
|
||||
'is_super' => '최고관리자',
|
||||
'homepage' => '홈페이지',
|
||||
'mobile' => '휴대폰',
|
||||
'phone' => '전화번호',
|
||||
'zipcode' => '우편번호',
|
||||
'address' => '주소',
|
||||
'address_detail' => '상세주소',
|
||||
'bio' => '소개',
|
||||
'admin_memo' => '관리자 메모',
|
||||
|
||||
// Role
|
||||
'identifier' => '식별자',
|
||||
'is_active' => '활성 여부',
|
||||
|
||||
// Menu
|
||||
'url' => 'URL',
|
||||
'icon' => '아이콘',
|
||||
'parent_id' => '상위 항목',
|
||||
'order' => '순서',
|
||||
|
||||
// Schedule
|
||||
'command' => '명령어',
|
||||
'expression' => '실행 주기',
|
||||
'without_overlapping' => '중복 실행 방지',
|
||||
'run_in_maintenance' => '점검 모드 실행',
|
||||
'timeout' => '타임아웃',
|
||||
|
||||
// MailTemplate
|
||||
'subject' => '제목',
|
||||
'body' => '본문',
|
||||
'is_default' => '기본값',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'validation' => [
|
||||
'success' => 'admin_layout.json 검증이 성공적으로 완료되었습니다.',
|
||||
'schema_failed' => 'JSON 스키마 검증에 실패했습니다: :errors',
|
||||
'unexpected_error' => '예상치 못한 오류가 발생했습니다: :message',
|
||||
'schema_not_found' => 'JSON 스키마 파일을 찾을 수 없습니다: :path',
|
||||
'schema_parse_error' => 'JSON 스키마 파일 파싱 오류: :error',
|
||||
'file_not_found' => '파일을 찾을 수 없습니다: :path',
|
||||
'json_parse_error' => 'JSON 파싱 오류 (:file): :error',
|
||||
'version_unknown' => '알 수 없는 버전',
|
||||
'version_error' => '버전 정보를 가져올 수 없습니다',
|
||||
'module_required' => '모듈명은 필수입니다',
|
||||
'module_string' => '모듈명은 문자열이어야 합니다',
|
||||
'module_format' => '모듈명은 영문자로 시작하고 영문자, 숫자, 언더스코어, 하이픈만 포함할 수 있습니다',
|
||||
'module_max_length' => '모듈명은 50자를 초과할 수 없습니다',
|
||||
|
||||
'log' => [
|
||||
'success' => 'admin_layout.json 검증 성공',
|
||||
'failed' => 'admin_layout.json 검증 실패',
|
||||
'exception' => 'admin_layout.json 검증 중 예외 발생',
|
||||
'version_error' => '스키마 버전 정보 가져오기 실패',
|
||||
],
|
||||
],
|
||||
|
||||
'loader' => [
|
||||
'validation_failed' => '모듈 :module의 레이아웃 검증에 실패했습니다: :errors',
|
||||
'file_not_found' => '레이아웃 파일을 찾을 수 없습니다: :path',
|
||||
'json_parse_error' => 'JSON 파싱 오류 (:file): :error',
|
||||
'file_load_error' => '파일 로드 중 오류가 발생했습니다 (:path): :error',
|
||||
|
||||
'log' => [
|
||||
'cache_hit' => '캐시에서 레이아웃 데이터 로드',
|
||||
'cache_invalidated' => '캐시 무효화됨',
|
||||
'loaded' => '레이아웃 파일 로드 완료',
|
||||
'cached' => '레이아웃 데이터 캐시 저장',
|
||||
'cache_manually_invalidated' => '캐시 수동 무효화',
|
||||
'all_cache_invalidated' => '모든 캐시 무효화',
|
||||
'file_load_error' => '파일 로드 오류',
|
||||
],
|
||||
],
|
||||
|
||||
'command' => [
|
||||
'starting' => 'admin_layout.json 파일 검증을 시작합니다',
|
||||
'validating_module' => '모듈 :module 검증 중...',
|
||||
'validating_all_modules' => ':count개 모듈 검증을 시작합니다',
|
||||
'module_layout_not_found' => '모듈 :module의 admin_layout.json 파일을 찾을 수 없습니다',
|
||||
'module_valid' => '모듈 :module 검증 성공',
|
||||
'module_invalid' => '모듈 :module 검증 실패: :error',
|
||||
'unexpected_error' => '모듈 :module에서 예상치 못한 오류 발생: :error',
|
||||
'modules_directory_not_found' => 'modules 디렉토리를 찾을 수 없습니다',
|
||||
'no_modules_found' => '검증할 모듈이 없습니다',
|
||||
'module_summary' => '모듈 :module 요약',
|
||||
'menu_name' => '메뉴명',
|
||||
'menu_route' => '라우트',
|
||||
'data_sources_count' => '데이터 소스 개수',
|
||||
'layout_type' => '레이아웃 타입',
|
||||
'validation_summary' => '검증 결과 요약',
|
||||
'valid_modules_count' => '유효한 모듈',
|
||||
'invalid_modules_count' => '무효한 모듈',
|
||||
'missing_layouts_count' => '레이아웃 파일 없음',
|
||||
'invalid_modules_details' => '무효한 모듈 상세:',
|
||||
'missing_layouts_details' => '레이아웃 파일이 없는 모듈:',
|
||||
'cache_stats' => '캐시 통계',
|
||||
'total_cached_modules' => '캐시된 모듈 수',
|
||||
'cache_expiration' => '캐시 만료 시간',
|
||||
'cached_modules_details' => '캐시된 모듈 상세:',
|
||||
'clearing_cache' => '캐시를 무효화하는 중...',
|
||||
'cache_cleared' => '캐시가 무효화되었습니다',
|
||||
],
|
||||
|
||||
// API 관련 메시지
|
||||
'success' => [
|
||||
'loaded' => 'admin_layout.json을 성공적으로 불러왔습니다',
|
||||
'cached' => '레이아웃 데이터가 캐시에 저장되었습니다',
|
||||
],
|
||||
|
||||
'error' => [
|
||||
'module_not_found' => '요청한 모듈을 찾을 수 없습니다',
|
||||
'json_parse_error' => 'JSON 파싱 중 오류가 발생했습니다',
|
||||
'file_not_readable' => '파일을 읽을 수 없습니다',
|
||||
'json_parse_failed' => 'JSON 파싱에 실패했습니다',
|
||||
'validation_failed' => '레이아웃 검증에 실패했습니다',
|
||||
'server_error' => '서버 내부 오류가 발생했습니다',
|
||||
],
|
||||
|
||||
'log' => [
|
||||
'cache_hit' => '캐시에서 레이아웃 데이터를 가져왔습니다',
|
||||
'cache_updated' => '캐시가 업데이트되었습니다',
|
||||
'layout_loaded' => '레이아웃이 성공적으로 로드되었습니다',
|
||||
'validation_completed' => '레이아웃 검증이 완료되었습니다',
|
||||
'layout_load_error' => '레이아웃 로드 중 오류가 발생했습니다',
|
||||
'validation_error' => '레이아웃 검증 중 오류가 발생했습니다',
|
||||
'service_cache_invalidated' => '서비스에서 캐시를 무효화했습니다',
|
||||
'service_all_cache_invalidated' => '서비스에서 모든 캐시를 무효화했습니다',
|
||||
'cache_invalidated' => '캐시가 무효화되었습니다',
|
||||
'all_cache_invalidated' => '모든 캐시가 무효화되었습니다',
|
||||
'file_read_error' => '파일 읽기 중 오류가 발생했습니다',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 소스 타입
|
||||
'source_type' => [
|
||||
'core' => '코어',
|
||||
'module' => '모듈',
|
||||
'plugin' => '플러그인',
|
||||
],
|
||||
|
||||
// 권한 타입
|
||||
'permission_type' => [
|
||||
'read' => '조회/다운로드',
|
||||
'update' => '수정',
|
||||
'delete' => '삭제',
|
||||
],
|
||||
|
||||
// 기본 정책
|
||||
'default_policy' => [
|
||||
'public' => '공개 (모든 인증 사용자)',
|
||||
'owner_only' => '업로더/관리자만',
|
||||
'read_only' => '읽기 전용',
|
||||
],
|
||||
|
||||
// 검증 메시지
|
||||
'validation' => [
|
||||
'file_required' => '파일을 선택해주세요.',
|
||||
'file_invalid' => '유효한 파일이 아닙니다.',
|
||||
'file_max' => '파일 크기는 :maxMB를 초과할 수 없습니다.',
|
||||
'files_required' => '파일을 선택해주세요.',
|
||||
'files_array' => '파일 형식이 올바르지 않습니다.',
|
||||
'files_min' => '최소 1개 이상의 파일을 선택해주세요.',
|
||||
'type_invalid' => '첨부 대상 타입이 올바르지 않습니다.',
|
||||
'id_invalid' => '첨부 대상 ID가 올바르지 않습니다.',
|
||||
'role_ids_required' => '역할을 선택해주세요.',
|
||||
'role_ids_invalid' => '역할 형식이 올바르지 않습니다.',
|
||||
'role_id_integer' => '역할 ID는 정수여야 합니다.',
|
||||
'role_id_exists' => '존재하지 않는 역할입니다.',
|
||||
'order_required' => '순서 데이터가 필요합니다.',
|
||||
'order_array' => '순서 데이터 형식이 올바르지 않습니다.',
|
||||
'order_id_required' => '첨부파일 ID가 필요합니다.',
|
||||
'order_id_exists' => '존재하지 않는 첨부파일입니다.',
|
||||
'order_value_required' => '순서 값이 필요합니다.',
|
||||
'order_value_integer' => '순서 값은 정수여야 합니다.',
|
||||
'permissions_required' => '권한 정보가 필요합니다.',
|
||||
'permissions_invalid' => '권한 형식이 올바르지 않습니다.',
|
||||
'permission_roles_invalid' => '권한별 역할 형식이 올바르지 않습니다.',
|
||||
],
|
||||
|
||||
// 응답 메시지
|
||||
'upload_success' => '파일이 업로드되었습니다.',
|
||||
'upload_batch_success' => '파일이 일괄 업로드되었습니다.',
|
||||
'upload_failed' => '파일 업로드에 실패했습니다.',
|
||||
'delete_success' => '파일이 삭제되었습니다.',
|
||||
'delete_failed' => '파일 삭제에 실패했습니다.',
|
||||
'reorder_success' => '파일 순서가 변경되었습니다.',
|
||||
'reorder_failed' => '파일 순서 변경에 실패했습니다.',
|
||||
'sync_roles_success' => '역할이 동기화되었습니다.',
|
||||
'sync_roles_failed' => '역할 동기화에 실패했습니다.',
|
||||
'sync_permissions_success' => '권한이 동기화되었습니다.',
|
||||
'sync_permissions_failed' => '권한 동기화에 실패했습니다.',
|
||||
'not_found' => '첨부파일을 찾을 수 없습니다.',
|
||||
'access_denied' => '이 첨부파일에 대한 접근 권한이 없습니다.',
|
||||
'update_denied' => '이 첨부파일에 대한 수정 권한이 없습니다.',
|
||||
'delete_denied' => '이 첨부파일에 대한 삭제 권한이 없습니다.',
|
||||
];
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 인증 관련 메시지
|
||||
'login_success' => '로그인이 성공했습니다.',
|
||||
'login_failed' => '인증에 실패했습니다.',
|
||||
'register_success' => '회원가입이 성공했습니다.',
|
||||
'register_failed' => '회원가입에 실패했습니다.',
|
||||
'logout_success' => '로그아웃이 성공했습니다.',
|
||||
'logout_all_devices_success' => '모든 디바이스에서 로그아웃되었습니다.',
|
||||
'password_reset_success' => '비밀번호가 성공적으로 재설정되었습니다.',
|
||||
'password_reset_failed' => '비밀번호 재설정에 실패했습니다.',
|
||||
'invalid_credentials' => '잘못된 인증 정보입니다.',
|
||||
'admin_login_success' => '관리자 로그인이 성공했습니다.',
|
||||
'admin_required' => '관리자 권한이 필요합니다.',
|
||||
'unauthenticated' => '인증이 필요합니다.',
|
||||
'permission_denied' => '해당 권한이 없습니다.',
|
||||
'layout_permission_denied' => '레이아웃 접근 권한이 없습니다. (필요 권한: :required_permissions)',
|
||||
'layout_guest_permission_denied' => '로그인이 필요한 레이아웃입니다. (필요 권한: :required_permissions)',
|
||||
'invalid_permission_type' => '유효하지 않은 권한 타입입니다.',
|
||||
'role_denied' => '해당 역할이 없습니다.',
|
||||
'email_not_registered' => '등록되지 않은 이메일입니다.',
|
||||
'guest_permission_denied' => '비회원은 해당 작업을 수행할 수 없습니다. 로그인이 필요합니다.',
|
||||
'scope_denied' => '이 리소스에 대한 접근 권한이 없습니다.',
|
||||
'scope_type_all' => '전체',
|
||||
'scope_type_self' => '본인만',
|
||||
'scope_type_role' => '소유역할',
|
||||
'invalid_token' => '유효하지 않은 인증 토큰입니다.',
|
||||
'token_expired' => '인증 토큰이 만료되었습니다. 다시 로그인해주세요.',
|
||||
'user_not_found' => '사용자를 찾을 수 없습니다.',
|
||||
'account_inactive' => '비활성화된 계정입니다. 관리자에게 문의해주세요.',
|
||||
'account_blocked' => '차단된 계정입니다. 관리자에게 문의해주세요.',
|
||||
'account_withdrawn' => '탈퇴한 계정입니다.',
|
||||
|
||||
// 비밀번호 재설정
|
||||
'reset_token_invalid' => '유효하지 않은 비밀번호 재설정 토큰입니다.',
|
||||
'reset_token_expired' => '비밀번호 재설정 토큰이 만료되었습니다. 다시 요청해주세요.',
|
||||
'password_reset_email_sent' => '비밀번호 재설정 이메일이 발송되었습니다.',
|
||||
'email_send_failed' => '이메일 발송에 실패했습니다. 잠시 후 다시 시도해주세요.',
|
||||
|
||||
// 메일 템플릿 관련 메시지 (템플릿 본문은 DB 관리)
|
||||
'mail_template_not_found' => '메일 템플릿을 찾을 수 없습니다: :type',
|
||||
'mail_template_updated' => '메일 템플릿이 수정되었습니다.',
|
||||
'mail_template_toggled' => '메일 템플릿 활성 상태가 변경되었습니다.',
|
||||
'mail_template_reset' => '메일 템플릿이 기본값으로 복원되었습니다.',
|
||||
'mail_template_reset_not_found' => '기본 템플릿 데이터를 찾을 수 없습니다: :type',
|
||||
];
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 일반적인 응답 메시지
|
||||
'success' => '성공적으로 처리되었습니다.',
|
||||
'failed' => '처리에 실패했습니다.',
|
||||
'error_occurred' => '오류가 발생했습니다.',
|
||||
'not_found' => '요청한 리소스를 찾을 수 없습니다.',
|
||||
'unauthorized' => '인증이 필요합니다.',
|
||||
'forbidden' => '권한이 없습니다.',
|
||||
'validation_failed' => '입력 값 검증에 실패했습니다.',
|
||||
|
||||
// 버튼 상태
|
||||
'saving' => '저장 중...',
|
||||
'deleting' => '삭제 중...',
|
||||
'processing' => '처리 중...',
|
||||
|
||||
// 시스템 라벨
|
||||
'system' => '시스템',
|
||||
'yes' => '예',
|
||||
'no' => '아니오',
|
||||
|
||||
// 공통 에러 메시지
|
||||
'errors' => [
|
||||
'github_url_empty' => 'GitHub URL이 비어있습니다.',
|
||||
'github_url_invalid' => '유효하지 않은 GitHub URL 형식입니다.',
|
||||
'github_api_failed' => 'GitHub API 호출에 실패했습니다.',
|
||||
'github_download_failed' => 'GitHub에서 다운로드에 실패했습니다.',
|
||||
'github_archive_download_failed' => '아카이브 다운로드에 실패했습니다. (:url)',
|
||||
'zip_file_not_found' => 'ZIP 파일을 찾을 수 없습니다.',
|
||||
'zip_open_failed' => 'ZIP 파일을 열 수 없습니다.',
|
||||
],
|
||||
|
||||
// 공통 검증 에러 라벨
|
||||
'validation_error' => '입력 값 검증 오류',
|
||||
|
||||
// Changelog 검증
|
||||
'changelog_validation' => [
|
||||
'source_in' => '소스는 active, bundled, github 중 하나여야 합니다.',
|
||||
'version_format' => ':attribute 형식이 올바르지 않습니다. (예: 1.0.0, 1.0.0-beta.1)',
|
||||
'to_version_required' => '시작 버전이 지정된 경우 종료 버전도 필수입니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 대시보드 언어 파일
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| 대시보드 API 응답 및 메시지에 사용되는 문자열입니다.
|
||||
|
|
||||
*/
|
||||
|
||||
// API 응답 메시지
|
||||
'stats_loaded' => '대시보드 통계를 성공적으로 조회했습니다.',
|
||||
'stats_failed' => '대시보드 통계 조회에 실패했습니다.',
|
||||
'resources_loaded' => '시스템 리소스 정보를 성공적으로 조회했습니다.',
|
||||
'resources_failed' => '시스템 리소스 정보 조회에 실패했습니다.',
|
||||
'activities_loaded' => '최근 활동을 성공적으로 조회했습니다.',
|
||||
'activities_failed' => '최근 활동 조회에 실패했습니다.',
|
||||
'alerts_loaded' => '시스템 알림을 성공적으로 조회했습니다.',
|
||||
'alerts_failed' => '시스템 알림 조회에 실패했습니다.',
|
||||
|
||||
// 통계 카드
|
||||
'stats' => [
|
||||
'status_normal' => '정상',
|
||||
'status_warning' => '경고',
|
||||
],
|
||||
|
||||
// 최근 활동
|
||||
'activities' => [
|
||||
'user_registered' => ':name 님이 가입했습니다.',
|
||||
],
|
||||
|
||||
// 시스템 알림
|
||||
'alerts' => [
|
||||
'system_update_available' => '시스템 업데이트 가능',
|
||||
'system_update_message' => '새로운 버전의 그누보드7이 출시되었습니다. 업데이트를 확인해 주세요.',
|
||||
'disk_space_low' => '디스크 공간 부족',
|
||||
'disk_space_message' => '디스크 사용량이 90%를 초과했습니다. 불필요한 파일을 정리해 주세요.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 에러 페이지 다국어
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'back_home' => '홈으로 돌아가기',
|
||||
|
||||
'401' => [
|
||||
'title' => '인증이 필요합니다',
|
||||
'message' => '이 페이지에 접근하려면 로그인이 필요합니다.',
|
||||
],
|
||||
|
||||
'403' => [
|
||||
'title' => '접근이 거부되었습니다',
|
||||
'message' => '이 페이지에 접근할 권한이 없습니다.',
|
||||
],
|
||||
|
||||
'404' => [
|
||||
'title' => '페이지를 찾을 수 없습니다',
|
||||
'message' => '요청하신 페이지가 존재하지 않거나 이동되었습니다.',
|
||||
],
|
||||
|
||||
'500' => [
|
||||
'title' => '서버 오류가 발생했습니다',
|
||||
'message' => '요청을 처리하는 중 문제가 발생했습니다. 잠시 후 다시 시도해 주세요.',
|
||||
],
|
||||
|
||||
'503' => [
|
||||
'title' => '서비스 일시 중단',
|
||||
'message' => '현재 서비스를 이용할 수 없습니다. 잠시 후 다시 시도해 주세요.',
|
||||
'unmet_dependencies' => '미충족 의존성 목록',
|
||||
'template' => '템플릿',
|
||||
'modules' => '모듈',
|
||||
'plugins' => '플러그인',
|
||||
'contact_admin' => '문제가 지속되면 관리자에게 문의해 주세요.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 사용자 관련 예외
|
||||
'cannot_delete_super_admin' => '슈퍼 관리자는 삭제할 수 없습니다.',
|
||||
|
||||
'circular_reference' => '레이아웃 순환 참조 감지: :trace',
|
||||
'max_depth_exceeded' => '레이아웃 중첩 깊이가 최대 허용 깊이(:max)를 초과했습니다.',
|
||||
'template_file_copy_failed' => '템플릿 파일 복사 실패: :source → :destination',
|
||||
'template_build_directory_creation_failed' => '템플릿 빌드 디렉토리 생성 실패: :path',
|
||||
'template_dist_directory_not_found' => '템플릿 dist 디렉토리를 찾을 수 없습니다: :path',
|
||||
'template_not_found' => '템플릿을 찾을 수 없습니다: :identifier',
|
||||
'template_not_active' => '템플릿이 활성화되지 않았습니다: :identifier (상태: :status)',
|
||||
|
||||
// 레이아웃 관련 예외
|
||||
'layout' => [
|
||||
'duplicate_data_source_id' => 'data_sources ID 중복: :id',
|
||||
'duplicate_data_source_id_in_file' => '레이아웃 파일 내 data_sources ID 중복: :ids (파일: :file)',
|
||||
'duplicate_data_source_id_extends' => 'extends 상속 관계에서 data_sources ID 중복: :ids (자식: :child, 부모: :parent)',
|
||||
'not_found' => '레이아웃을 찾을 수 없습니다: :name',
|
||||
'parent_not_found' => '부모 레이아웃을 찾을 수 없습니다: :parent (요청 레이아웃: :child)',
|
||||
|
||||
// include 관련 예외
|
||||
'include_file_not_found' => 'include 파일을 찾을 수 없습니다: :path (해석된 경로: :resolved)',
|
||||
'invalid_include_json' => 'include 파일의 JSON 형식이 올바르지 않습니다: :path (오류: :error)',
|
||||
'circular_include' => 'include 순환 참조가 감지되었습니다: :trace',
|
||||
'max_include_depth_exceeded' => 'include 최대 깊이를 초과했습니다 (최대: :max단계)',
|
||||
'include_outside_directory' => 'include 경로가 허용된 디렉토리 외부입니다: :path (허용: :allowed_dir)',
|
||||
],
|
||||
|
||||
// 레이아웃 버전 관련 예외
|
||||
'layout_version' => [
|
||||
'save_failed_after_retries' => '레이아웃 버전 저장에 실패했습니다. :attempts회 재시도 후에도 실패했습니다.',
|
||||
'save_failed_unexpected' => '레이아웃 버전 저장 중 예기치 않은 오류가 발생했습니다.',
|
||||
],
|
||||
|
||||
// 설정 관련 예외
|
||||
'settings' => [
|
||||
'backup_creation_failed' => '설정 백업 파일 생성에 실패했습니다.',
|
||||
'restore_failed' => '설정 복원에 실패했습니다.',
|
||||
'category_not_found' => '설정 카테고리를 찾을 수 없습니다: :category',
|
||||
'save_failed' => '설정 저장에 실패했습니다: :category',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'core' => '코어',
|
||||
'module' => '모듈',
|
||||
'plugin' => '플러그인',
|
||||
];
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'types' => [
|
||||
'module' => '모듈',
|
||||
'plugin' => '플러그인',
|
||||
'template' => '템플릿',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'core_version_mismatch' => ':extension (:type)은(는) 그누보드7 코어 버전 :required 이상을 요구합니다. (현재: :installed)',
|
||||
'version_check_failed' => '버전 검증에 실패했습니다.',
|
||||
'operation_in_progress' => '":name"에 대해 진행 중인 작업(:status)이 있어 요청을 처리할 수 없습니다.',
|
||||
],
|
||||
|
||||
'warnings' => [
|
||||
'auto_deactivated' => ':type ":identifier"이(가) 코어 버전 호환성 문제로 자동 비활성화되었습니다.',
|
||||
],
|
||||
|
||||
'alerts' => [
|
||||
'incompatible_deactivated' => ':type ":name" 자동 비활성화됨',
|
||||
'incompatible_message' => '필요 버전: :required, 현재 설치됨: :installed',
|
||||
],
|
||||
|
||||
'commands' => [
|
||||
'clear_cache_success' => '확장 버전 검증 캐시가 삭제되었습니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 버전 호환성 경고
|
||||
'version_warning_title' => '호환성 경고',
|
||||
'version_incompatible' => '오버라이드 ":source"가 모듈 버전과 호환되지 않습니다 (요구: :constraint, 현재: :current_version)',
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => '레이아웃 관리',
|
||||
|
||||
'messages' => [
|
||||
'retrieved' => '레이아웃 정보를 조회했습니다.',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'not_found' => '레이아웃을 찾을 수 없습니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 목록 조회
|
||||
'fetch_success' => '메일 발송 이력을 조회했습니다.',
|
||||
'fetch_failed' => '메일 발송 이력 조회에 실패했습니다.',
|
||||
|
||||
// 통계
|
||||
'stats_success' => '메일 발송 통계를 조회했습니다.',
|
||||
'stats_failed' => '메일 발송 통계 조회에 실패했습니다.',
|
||||
|
||||
// 삭제
|
||||
'delete_success' => '메일 발송 이력이 삭제되었습니다.',
|
||||
'bulk_delete_success' => '선택한 메일 발송 이력이 삭제되었습니다.',
|
||||
'delete_failed' => '메일 발송 이력 삭제에 실패했습니다.',
|
||||
|
||||
// 검증
|
||||
'validation' => [
|
||||
'status_invalid' => '유효하지 않은 발송 상태입니다.',
|
||||
'date_range_invalid' => '종료일은 시작일 이후여야 합니다.',
|
||||
'per_page_min' => '페이지당 항목 수는 1 이상이어야 합니다.',
|
||||
'per_page_max' => '페이지당 항목 수는 100 이하여야 합니다.',
|
||||
'ids_required' => '삭제할 항목을 선택해주세요.',
|
||||
'ids_min' => '삭제할 항목을 1개 이상 선택해주세요.',
|
||||
'id_not_found' => '존재하지 않는 발송 이력입니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 목록 조회
|
||||
'fetch_success' => '메일 템플릿 목록을 조회했습니다.',
|
||||
'fetch_failed' => '메일 템플릿 목록 조회에 실패했습니다.',
|
||||
|
||||
// 수정
|
||||
'save_success' => '메일 템플릿이 수정되었습니다.',
|
||||
'save_error' => '메일 템플릿 수정에 실패했습니다.',
|
||||
|
||||
// 활성 토글
|
||||
'toggle_success' => '메일 템플릿 활성 상태가 변경되었습니다.',
|
||||
'toggle_failed' => '메일 템플릿 활성 상태 변경에 실패했습니다.',
|
||||
|
||||
// 미리보기
|
||||
'preview_success' => '미리보기를 생성했습니다.',
|
||||
'preview_failed' => '미리보기 생성에 실패했습니다.',
|
||||
|
||||
// 기본값 복원
|
||||
'reset_success' => '메일 템플릿이 기본값으로 복원되었습니다.',
|
||||
'reset_failed' => '메일 템플릿 기본값 복원에 실패했습니다.',
|
||||
'reset_no_default' => '기본 템플릿 데이터를 찾을 수 없습니다.',
|
||||
|
||||
// 검증
|
||||
'validation' => [
|
||||
'subject_required' => '메일 제목은 필수입니다.',
|
||||
'subject_ko_required' => '메일 제목(한국어)은 필수입니다.',
|
||||
'body_required' => '메일 본문은 필수입니다.',
|
||||
'body_ko_required' => '메일 본문(한국어)은 필수입니다.',
|
||||
'per_page_min' => '페이지당 표시 건수는 1 이상이어야 합니다.',
|
||||
'per_page_max' => '페이지당 표시 건수는 100 이하여야 합니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => '시스템 점검 중',
|
||||
'message' => '현재 시스템 업데이트가 진행 중입니다.',
|
||||
'description' => '잠시 후 다시 시도해 주세요. 불편을 드려 죄송합니다.',
|
||||
];
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 메뉴 관련 메시지
|
||||
'fetch_success' => '메뉴를 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '메뉴를 가져오는데 실패했습니다.',
|
||||
'active_fetch_failed' => '활성화된 메뉴를 가져오는데 실패했습니다.',
|
||||
'create_success' => '메뉴가 성공적으로 생성되었습니다.',
|
||||
'create_failed' => '메뉴 생성에 실패했습니다.',
|
||||
'create_error' => '메뉴 생성 중 오류가 발생했습니다.',
|
||||
'update_success' => '메뉴가 성공적으로 업데이트되었습니다.',
|
||||
'update_failed' => '메뉴 업데이트에 실패했습니다.',
|
||||
'update_error' => '메뉴 업데이트 중 오류가 발생했습니다.',
|
||||
'delete_success' => '메뉴가 성공적으로 삭제되었습니다.',
|
||||
'delete_failed' => '메뉴 삭제에 실패했습니다.',
|
||||
'delete_error' => '메뉴 삭제 중 오류가 발생했습니다.',
|
||||
'order_update_success' => '메뉴 순서가 성공적으로 업데이트되었습니다.',
|
||||
'order_update_failed' => '메뉴 순서 업데이트에 실패했습니다.',
|
||||
'slug_already_exists' => '이미 사용 중인 슬러그입니다.',
|
||||
'parent_menu_not_found' => '존재하지 않는 부모 메뉴입니다.',
|
||||
'cannot_set_self_as_parent' => '자기 자신을 부모로 설정할 수 없습니다.',
|
||||
'cannot_delete_menu_with_children' => '자식 메뉴가 있는 메뉴는 삭제할 수 없습니다.',
|
||||
|
||||
// 검증 메시지
|
||||
'validation' => [
|
||||
'is_active_boolean' => '활성화 상태는 참/거짓 값이어야 합니다.',
|
||||
'sort_by_invalid' => '정렬 기준이 유효하지 않습니다.',
|
||||
'sort_order_invalid' => '정렬 순서가 유효하지 않습니다.',
|
||||
'filters_array' => '필터는 배열 형식이어야 합니다.',
|
||||
'filters_max' => '필터는 최대 10개까지 지정할 수 있습니다.',
|
||||
'filter_field_required' => '필터 필드는 필수입니다.',
|
||||
'filter_field_invalid' => '유효하지 않은 필터 필드입니다.',
|
||||
'filter_value_required' => '필터 값은 필수입니다.',
|
||||
'filter_value_max' => '필터 값은 최대 255자까지 입력할 수 있습니다.',
|
||||
'filter_operator_invalid' => '유효하지 않은 필터 연산자입니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 모듈 관리 메시지
|
||||
'not_found' => '모듈 :module을(를) 찾을 수 없습니다.',
|
||||
'dependency_not_active' => '의존성 모듈 :dependency이(가) 설치되지 않았거나 활성화되지 않았습니다.',
|
||||
|
||||
// 모듈 작업 메시지
|
||||
'fetch_success' => '모듈을 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '모듈을 가져오는데 실패했습니다.',
|
||||
'install_success' => '모듈이 성공적으로 설치되었습니다.',
|
||||
'install_failed' => '모듈 설치에 실패했습니다.',
|
||||
'uninstall_success' => '모듈이 성공적으로 제거되었습니다.',
|
||||
'uninstall_failed' => '모듈 제거에 실패했습니다.',
|
||||
'activate_success' => '모듈이 성공적으로 활성화되었습니다.',
|
||||
'activate_failed' => '모듈 활성화에 실패했습니다.',
|
||||
'deactivate_success' => '모듈이 성공적으로 비활성화되었습니다.',
|
||||
'deactivate_failed' => '모듈 비활성화에 실패했습니다.',
|
||||
'update_success' => '모듈이 성공적으로 업데이트되었습니다.',
|
||||
'update_failed' => '모듈 업데이트에 실패했습니다.',
|
||||
'refresh_layouts_success' => '모듈 레이아웃이 성공적으로 갱신되었습니다.',
|
||||
'refresh_layouts_failed' => '모듈 레이아웃 갱신에 실패했습니다.',
|
||||
'uninstall_info_success' => '모듈 삭제 정보를 성공적으로 조회했습니다.',
|
||||
'uninstall_info_failed' => '모듈 삭제 정보 조회에 실패했습니다.',
|
||||
'license_not_found' => '모듈 라이선스 파일을 찾을 수 없습니다.',
|
||||
|
||||
// 상태
|
||||
'status' => [
|
||||
'active' => '활성',
|
||||
'inactive' => '비활성',
|
||||
'installing' => '설치 중',
|
||||
'uninstalling' => '제거 중'
|
||||
],
|
||||
|
||||
// 오류 메시지
|
||||
'errors' => [
|
||||
'module_class_not_found' => '모듈 클래스를 찾을 수 없습니다.',
|
||||
'migration_failed' => '마이그레이션 실행에 실패했습니다.',
|
||||
'dependency_check_failed' => '의존성 확인에 실패했습니다.',
|
||||
'database_error' => '데이터베이스 오류가 발생했습니다.',
|
||||
'module_not_found' => '모듈 :name을(를) 찾을 수 없습니다.',
|
||||
'module_not_active' => '모듈 :name이(가) 활성화되어 있지 않습니다.',
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,226 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 기존 메시지
|
||||
'not_found' => '모듈 ":module"을(를) 찾을 수 없습니다.',
|
||||
'dependency_not_active' => '의존성 모듈 ":dependency"이(가) 설치되지 않았거나 비활성 상태입니다.',
|
||||
|
||||
'status' => [
|
||||
'active' => '활성',
|
||||
'inactive' => '비활성',
|
||||
'updating' => '업데이트 중',
|
||||
],
|
||||
|
||||
'commands' => [
|
||||
'list' => [
|
||||
'headers' => [
|
||||
'identifier' => '식별자',
|
||||
'name' => '이름',
|
||||
'vendor' => '벤더',
|
||||
'version' => '버전',
|
||||
'status' => '상태',
|
||||
],
|
||||
'status' => [
|
||||
'active' => '활성',
|
||||
'inactive' => '비활성',
|
||||
'uninstalled' => '미설치',
|
||||
],
|
||||
'no_modules' => '모듈이 없습니다.',
|
||||
'summary' => '총 :total개 모듈 (설치: :installed, 활성: :active)',
|
||||
'invalid_status' => '잘못된 상태입니다. (installed, uninstalled, active, inactive)',
|
||||
],
|
||||
'install' => [
|
||||
'success' => '모듈 ":module" 설치 완료',
|
||||
'vendor' => '벤더: :vendor',
|
||||
'version' => '버전: :version',
|
||||
'roles_created' => ':count개 역할 생성됨',
|
||||
'permissions_created' => ':count개 권한 생성됨',
|
||||
'menus_created' => ':count개 메뉴 생성됨',
|
||||
'already_installed' => '모듈 ":module"이(가) 이미 설치되어 있습니다.',
|
||||
],
|
||||
'activate' => [
|
||||
'success' => '모듈 ":module" 활성화 완료',
|
||||
'not_installed' => '모듈 ":module"이(가) 설치되지 않았습니다.',
|
||||
'already_active' => '모듈 ":module"은(는) 이미 활성화되어 있습니다.',
|
||||
'layouts_registered' => ':count개 레이아웃 등록됨',
|
||||
],
|
||||
'deactivate' => [
|
||||
'success' => '모듈 ":module" 비활성화 완료',
|
||||
'not_installed' => '모듈 ":module"이(가) 설치되지 않았습니다.',
|
||||
'not_active' => '모듈 ":module"은(는) 활성화되어 있지 않습니다.',
|
||||
'warning' => '모듈의 라우트와 기능이 비활성화되었습니다.',
|
||||
'layouts_deleted' => ':count개 레이아웃 삭제됨',
|
||||
],
|
||||
'uninstall' => [
|
||||
'success' => '모듈 ":module" 삭제 완료',
|
||||
'roles_deleted' => ':count개 역할 삭제됨',
|
||||
'permissions_deleted' => ':count개 권한 삭제됨',
|
||||
'menus_deleted' => ':count개 메뉴 삭제됨',
|
||||
'layouts_deleted' => ':count개 레이아웃 삭제됨',
|
||||
'confirm_prompt' => '모듈 ":module"을(를) 삭제하시겠습니까?',
|
||||
'confirm_details' => [
|
||||
'roles' => '- :count개의 역할이 삭제됩니다.',
|
||||
'permissions' => '- :count개의 권한이 삭제됩니다.',
|
||||
'menus' => '- :count개의 메뉴가 삭제됩니다.',
|
||||
'layouts' => '- :count개의 레이아웃이 삭제됩니다.',
|
||||
'data' => '- 모든 모듈 데이터가 삭제됩니다.',
|
||||
],
|
||||
'confirm_question' => '정말로 삭제하시겠습니까?',
|
||||
'aborted' => '모듈 삭제가 취소되었습니다.',
|
||||
'not_installed' => '모듈 ":module"이(가) 설치되지 않았습니다.',
|
||||
],
|
||||
'cache_clear' => [
|
||||
'clearing_all' => '모든 모듈 캐시를 삭제합니다...',
|
||||
'clearing_single' => '모듈 ":module" 캐시를 삭제합니다...',
|
||||
'success_all' => '모듈 캐시 삭제 완료 (:count개 항목)',
|
||||
'success_single' => '모듈 ":module" 캐시 삭제 완료 (:count개 항목)',
|
||||
],
|
||||
'check_updates' => [
|
||||
'not_installed' => '모듈 ":module"이(가) 설치되지 않았습니다.',
|
||||
'no_installed' => '설치된 모듈이 없습니다.',
|
||||
'update_available' => '업데이트 가능',
|
||||
'up_to_date' => '최신',
|
||||
'headers' => [
|
||||
'identifier' => '식별자',
|
||||
'current_version' => '현재 버전',
|
||||
'latest_version' => '최신 버전',
|
||||
'source' => '소스',
|
||||
'status' => '상태',
|
||||
],
|
||||
'summary' => '총 :total개 확인 (업데이트 가능: :updates개)',
|
||||
'single_up_to_date' => '모듈 ":module"은(는) 최신 버전입니다. (v:version)',
|
||||
'single_update_available' => '모듈 ":module" 업데이트 가능: v:current → v:latest (:source)',
|
||||
],
|
||||
'update' => [
|
||||
'success' => '모듈 ":module" 업데이트 완료',
|
||||
'version_change' => 'v:from → v:to',
|
||||
'no_update' => '모듈 ":module"에 사용 가능한 업데이트가 없습니다.',
|
||||
'not_installed' => '모듈 ":module"이(가) 설치되지 않았습니다.',
|
||||
'current_version' => '현재 버전: :version',
|
||||
'latest_version' => '최신 버전: :version',
|
||||
'update_source' => '업데이트 소스: :source',
|
||||
'confirm_question' => '업데이트를 진행하시겠습니까?',
|
||||
'aborted' => '업데이트가 취소되었습니다.',
|
||||
'backup_restored' => '백업에서 이전 버전이 복원되었습니다.',
|
||||
'force_mode' => '강제 업데이트 모드: 버전 비교를 건너뛰고 재설치합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// Composer 의존성 설치 메시지
|
||||
'composer_install' => [
|
||||
'start' => '모듈 ":module"의 Composer 의존성을 설치합니다...',
|
||||
'success' => '모듈 ":module"의 Composer 의존성 설치 완료',
|
||||
'no_dependencies' => '모듈 ":module"에 설치할 Composer 의존성이 없습니다.',
|
||||
'failed' => '모듈 ":module"의 Composer 의존성 설치에 실패했습니다.',
|
||||
'summary' => '📊 결과: 성공 :success개, 스킵 :skip개, 실패 :fail개',
|
||||
],
|
||||
|
||||
// 업데이트 관련 메시지
|
||||
'update_success' => '모듈 ":module"이(가) :version 버전으로 업데이트되었습니다.',
|
||||
'update_failed' => '모듈 업데이트에 실패했습니다: :error',
|
||||
'update_hook_failed' => '모듈 업데이트 훅 실행에 실패했습니다.',
|
||||
'no_update_available' => '업데이트할 내용이 없습니다.',
|
||||
'check_updates_success' => '업데이트 확인이 완료되었습니다.',
|
||||
'check_updates_failed' => '업데이트 확인에 실패했습니다.',
|
||||
'not_installed' => '모듈 ":module"이(가) 설치되지 않았습니다.',
|
||||
|
||||
// _pending 관련 메시지
|
||||
'pending_not_found' => '설치 대기 목록에서 모듈 ":module"을(를) 찾을 수 없습니다.',
|
||||
'already_exists' => '모듈 ":module"이(가) 이미 존재합니다.',
|
||||
'move_failed' => '모듈 ":module" 이동에 실패했습니다.',
|
||||
|
||||
// 모듈 서비스 오류 메시지
|
||||
'deactivate_warning' => '이 모듈에 의존하는 활성 템플릿이 있습니다.',
|
||||
'installation_failed' => '모듈 설치에 실패했습니다: :error',
|
||||
'activation_failed' => '모듈 활성화에 실패했습니다: :error',
|
||||
'deactivation_failed' => '모듈 비활성화에 실패했습니다: :error',
|
||||
'uninstallation_failed' => '모듈 제거에 실패했습니다: :error',
|
||||
'refresh_layouts_failed' => '레이아웃 갱신에 실패했습니다: :error',
|
||||
|
||||
// 경고 메시지
|
||||
'warnings' => [
|
||||
'has_dependent_templates' => '이 모듈에 의존하는 활성화된 템플릿이 있습니다. 비활성화하려면 강제 옵션을 사용하세요.',
|
||||
'has_dependents' => '이 모듈에 의존하는 활성화된 확장이 있습니다.',
|
||||
'deactivation_warning' => '비활성화하면 다음 템플릿이 영향을 받습니다:',
|
||||
'confirm_deactivation' => '그래도 비활성화하시겠습니까?',
|
||||
'missing_dependencies' => '이 모듈을 활성화하려면 다음 의존성이 필요합니다.',
|
||||
],
|
||||
|
||||
// 활성화 경고 메시지
|
||||
'activate_warning' => '모듈 활성화를 위해 필요한 의존성이 충족되지 않았습니다.',
|
||||
|
||||
// 비활성화 경고 메시지 (확장)
|
||||
'deactivate_warning_extended' => '이 모듈에 의존하는 활성화된 확장(템플릿, 모듈, 플러그인)이 있습니다.',
|
||||
|
||||
// 오류 메시지
|
||||
'errors' => [
|
||||
'zip_open_failed' => 'ZIP 파일을 열 수 없습니다.',
|
||||
'module_json_not_found' => 'module.json 파일을 찾을 수 없습니다.',
|
||||
'module_json_invalid' => 'module.json 파일 형식이 올바르지 않습니다.',
|
||||
'identifier_missing' => '모듈 식별자가 누락되었습니다.',
|
||||
'already_installed' => '이미 설치된 모듈입니다.',
|
||||
'install_failed' => '모듈 설치에 실패했습니다.',
|
||||
'github_url_invalid' => '유효하지 않은 GitHub URL 형식입니다.',
|
||||
'github_download_failed' => 'GitHub에서 다운로드에 실패했습니다.',
|
||||
'github_repo_not_found' => 'GitHub 저장소를 찾을 수 없습니다.',
|
||||
'module_not_found' => '모듈 :name을(를) 찾을 수 없습니다.',
|
||||
'module_not_active' => '모듈 :name이(가) 활성화되어 있지 않습니다.',
|
||||
// 에셋 서빙 관련 오류 메시지
|
||||
'not_found' => '모듈 :module을(를) 찾을 수 없습니다.',
|
||||
'file_not_found' => '파일을 찾을 수 없습니다.',
|
||||
'file_type_not_allowed' => '허용되지 않은 파일 형식입니다.',
|
||||
'unknown_error' => '알 수 없는 오류가 발생했습니다.',
|
||||
'invalid_permission_structure' => '모듈 ":identifier"의 권한 구조가 올바르지 않습니다: :reason',
|
||||
'invalid_translation_path' => '모듈 ":identifier"의 언어 파일 경로가 올바르지 않습니다. ":wrong_path" 대신 ":correct_path"를 사용해야 합니다.',
|
||||
'layout_validation_json_error' => '레이아웃 파일 :file의 JSON 파싱에 실패했습니다: :error',
|
||||
'layout_validation_missing_name' => '레이아웃 파일 :file에 layout_name이 누락되었습니다.',
|
||||
'layout_validation_partial_error' => '레이아웃 파일 :file의 partial 처리에 실패했습니다: :error (partial: :partial)',
|
||||
'layout_validation_validation_failed' => '모듈 :identifier의 레이아웃 검증에 실패했습니다. :count개의 오류가 발견되었습니다.',
|
||||
'operation_in_progress' => '모듈 ":name"이(가) 현재 :status 상태입니다. 작업이 완료될 때까지 기다려 주세요.',
|
||||
'github_api_failed' => 'GitHub API 호출에 실패했습니다.',
|
||||
'invalid_github_url' => '유효하지 않은 GitHub URL입니다.',
|
||||
'zip_url_not_found' => 'ZIP 다운로드 URL을 찾을 수 없습니다.',
|
||||
'download_failed' => '모듈 ":module" :version 버전 다운로드에 실패했습니다.',
|
||||
'zip_extract_failed' => 'ZIP 압축 해제에 실패했습니다.',
|
||||
'extracted_dir_not_found' => '압축 해제된 디렉토리를 찾을 수 없습니다.',
|
||||
'reload_failed' => '모듈 다시 로드에 실패했습니다.',
|
||||
'delete_directory_failed' => '모듈 디렉토리 삭제에 실패했습니다.',
|
||||
'update_failed' => '모듈 ":module" 업데이트에 실패했습니다: :error',
|
||||
],
|
||||
|
||||
// 유효성 검사 메시지
|
||||
'validation' => [
|
||||
// 기본 모듈 필드
|
||||
'name_required' => '모듈 이름은 필수입니다.',
|
||||
'name_string' => '모듈 이름은 문자열이어야 합니다.',
|
||||
'name_max' => '모듈 이름은 255자를 초과할 수 없습니다.',
|
||||
|
||||
// 검색 필터
|
||||
'search_max' => '검색어는 255자를 초과할 수 없습니다.',
|
||||
'filters_max' => '검색 조건은 최대 10개까지만 지정할 수 있습니다.',
|
||||
'filter_field_required' => '검색 필드는 필수입니다.',
|
||||
'filter_field_invalid' => '유효하지 않은 검색 필드입니다.',
|
||||
'filter_value_required' => '검색 값은 필수입니다.',
|
||||
'filter_value_max' => '검색 값은 255자를 초과할 수 없습니다.',
|
||||
'filter_operator_invalid' => '유효하지 않은 검색 연산자입니다.',
|
||||
'status_invalid' => '유효하지 않은 상태입니다.',
|
||||
'per_page_min' => '페이지당 항목 수는 최소 1개입니다.',
|
||||
'per_page_max' => '페이지당 항목 수는 최대 100개입니다.',
|
||||
'page_min' => '페이지 번호는 최소 1입니다.',
|
||||
|
||||
// 파일 업로드
|
||||
'file_required' => '모듈 파일은 필수입니다.',
|
||||
'file_invalid' => '유효한 파일이 아닙니다.',
|
||||
'file_must_be_zip' => '모듈 파일은 ZIP 형식이어야 합니다.',
|
||||
'file_max_size' => '모듈 파일 크기는 :sizeMB를 초과할 수 없습니다.',
|
||||
|
||||
// GitHub
|
||||
'github_url_required' => 'GitHub URL은 필수입니다.',
|
||||
'github_url_invalid' => '유효한 URL 형식이 아닙니다.',
|
||||
'github_url_format' => 'GitHub 저장소 URL 형식이 올바르지 않습니다.',
|
||||
|
||||
// with 파라미터
|
||||
'with_max' => 'with 파라미터는 최대 10개까지 지정할 수 있습니다.',
|
||||
'with_invalid' => '유효하지 않은 with 관계입니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 네비게이션 메뉴 번역
|
||||
'dashboard' => '대시보드',
|
||||
'settings' => '설정',
|
||||
'modules' => '모듈 관리',
|
||||
'plugins' => '플러그인 관리',
|
||||
'themes' => '테마 관리',
|
||||
'menus' => '메뉴 관리',
|
||||
'users' => '사용자 관리',
|
||||
|
||||
// 사용자 메뉴
|
||||
'profile' => '프로필',
|
||||
'logout' => '로그아웃',
|
||||
|
||||
// 공통
|
||||
'home' => '홈',
|
||||
'back' => '뒤로',
|
||||
'loading' => '로딩 중...',
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 권한 관리 메시지
|
||||
'fetch_success' => '권한 정보를 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '권한 정보를 가져오는데 실패했습니다.',
|
||||
|
||||
// 권한 타입
|
||||
'type' => [
|
||||
'admin' => '관리자 권한',
|
||||
'user' => '사용자 권한',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,257 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 플러그인 관련 메시지
|
||||
'list_success' => '플러그인 목록을 성공적으로 가져왔습니다.',
|
||||
'list_failed' => '플러그인 목록을 가져오는데 실패했습니다.',
|
||||
'fetch_success' => '플러그인 정보를 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '플러그인 정보를 가져오는데 실패했습니다.',
|
||||
'not_found' => '플러그인 :plugin을(를) 찾을 수 없습니다.',
|
||||
'install_success' => '플러그인이 성공적으로 설치되었습니다.',
|
||||
'install_failed' => '플러그인 설치에 실패했습니다.',
|
||||
'install_validation_failed' => '플러그인 설치 검증에 실패했습니다.',
|
||||
'install_error' => '플러그인 설치 중 오류가 발생했습니다.',
|
||||
'uninstall_success' => '플러그인이 성공적으로 제거되었습니다.',
|
||||
'uninstall_failed' => '플러그인 제거에 실패했습니다.',
|
||||
'uninstall_validation_failed' => '플러그인 제거 검증에 실패했습니다.',
|
||||
'uninstall_error' => '플러그인 제거 중 오류가 발생했습니다.',
|
||||
'activate_success' => '플러그인이 성공적으로 활성화되었습니다.',
|
||||
'activate_failed' => '플러그인 활성화에 실패했습니다.',
|
||||
'activate_validation_failed' => '플러그인 활성화 검증에 실패했습니다.',
|
||||
'activate_error' => '플러그인 활성화 중 오류가 발생했습니다.',
|
||||
'deactivate_success' => '플러그인이 성공적으로 비활성화되었습니다.',
|
||||
'deactivate_failed' => '플러그인 비활성화에 실패했습니다.',
|
||||
'deactivate_validation_failed' => '플러그인 비활성화 검증에 실패했습니다.',
|
||||
'deactivate_error' => '플러그인 비활성화 중 오류가 발생했습니다.',
|
||||
'refresh_layouts_success' => '플러그인 레이아웃이 성공적으로 갱신되었습니다.',
|
||||
'refresh_layouts_failed' => '플러그인 레이아웃 갱신에 실패했습니다: :error',
|
||||
'uninstall_info_success' => '플러그인 삭제 정보를 성공적으로 조회했습니다.',
|
||||
'uninstall_info_failed' => '플러그인 삭제 정보 조회에 실패했습니다.',
|
||||
'license_not_found' => '플러그인 라이선스 파일을 찾을 수 없습니다.',
|
||||
'refresh_layouts_validation_failed' => '플러그인 레이아웃 갱신 검증에 실패했습니다.',
|
||||
'refresh_layouts_error' => '플러그인 레이아웃 갱신 중 오류가 발생했습니다.',
|
||||
|
||||
// 상태
|
||||
'status' => [
|
||||
'active' => '활성',
|
||||
'inactive' => '비활성',
|
||||
'updating' => '업데이트 중',
|
||||
],
|
||||
|
||||
// 업데이트 관련 메시지
|
||||
'update_success' => '플러그인 ":plugin"이(가) :version 버전으로 업데이트되었습니다.',
|
||||
'update_failed' => '플러그인 업데이트에 실패했습니다: :error',
|
||||
'update_hook_failed' => '플러그인 업데이트 훅 실행에 실패했습니다.',
|
||||
'no_update_available' => '업데이트할 내용이 없습니다.',
|
||||
'check_updates_success' => '업데이트 확인이 완료되었습니다.',
|
||||
'check_updates_failed' => '업데이트 확인에 실패했습니다.',
|
||||
'not_installed' => '플러그인 ":plugin"이(가) 설치되지 않았습니다.',
|
||||
|
||||
// _pending 관련 메시지
|
||||
'pending_not_found' => '설치 대기 목록에서 플러그인 ":plugin"을(를) 찾을 수 없습니다.',
|
||||
'already_exists' => '플러그인 ":plugin"이(가) 이미 존재합니다.',
|
||||
'move_failed' => '플러그인 ":plugin" 이동에 실패했습니다.',
|
||||
|
||||
// 의존성 관련 메시지
|
||||
'dependency_not_active' => '의존성 ":dependency"이(가) 설치되지 않았거나 비활성 상태입니다.',
|
||||
|
||||
// 플러그인 서비스 오류 메시지
|
||||
'installation_failed' => '플러그인 설치에 실패했습니다: :error',
|
||||
'activation_failed' => '플러그인 활성화에 실패했습니다: :error',
|
||||
'deactivation_failed' => '플러그인 비활성화에 실패했습니다: :error',
|
||||
'uninstallation_failed' => '플러그인 제거에 실패했습니다: :error',
|
||||
|
||||
// 경고 메시지
|
||||
'warnings' => [
|
||||
'has_dependent_templates' => '이 플러그인에 의존하는 활성화된 템플릿이 있습니다. 비활성화하려면 강제 옵션을 사용하세요.',
|
||||
'has_dependents' => '이 플러그인에 의존하는 활성화된 확장이 있습니다.',
|
||||
'deactivation_warning' => '비활성화하면 다음 템플릿이 영향을 받습니다:',
|
||||
'confirm_deactivation' => '그래도 비활성화하시겠습니까?',
|
||||
'missing_dependencies' => '이 플러그인을 활성화하려면 다음 의존성이 필요합니다.',
|
||||
],
|
||||
|
||||
// 활성화 경고 메시지
|
||||
'activate_warning' => '플러그인 활성화를 위해 필요한 의존성이 충족되지 않았습니다.',
|
||||
|
||||
// 비활성화 경고 메시지
|
||||
'deactivate_warning' => '이 플러그인에 의존하는 활성화된 확장이 있습니다.',
|
||||
|
||||
// 비활성화 경고 메시지 (확장)
|
||||
'deactivate_warning_extended' => '이 플러그인에 의존하는 활성화된 확장(템플릿, 모듈, 플러그인)이 있습니다.',
|
||||
|
||||
// 오류 메시지
|
||||
'errors' => [
|
||||
'invalid_permission_structure' => '플러그인 ":identifier"의 권한 구조가 올바르지 않습니다: :reason',
|
||||
'invalid_translation_path' => '플러그인 ":identifier"의 언어 파일 경로가 올바르지 않습니다. ":wrong_path" 대신 ":correct_path"를 사용해야 합니다.',
|
||||
'plugin_not_found' => '플러그인 ":name"을(를) 찾을 수 없습니다.',
|
||||
'plugin_not_active' => '플러그인 ":name"이(가) 활성화 상태가 아닙니다.',
|
||||
// 에셋 서빙 관련 오류 메시지
|
||||
'not_found' => '플러그인 :plugin을(를) 찾을 수 없습니다.',
|
||||
'file_not_found' => '파일을 찾을 수 없습니다.',
|
||||
'file_type_not_allowed' => '허용되지 않은 파일 형식입니다.',
|
||||
'unknown_error' => '알 수 없는 오류가 발생했습니다.',
|
||||
'layout_validation_json_error' => '레이아웃 파일 :file의 JSON 파싱에 실패했습니다: :error',
|
||||
'layout_validation_missing_name' => '레이아웃 파일 :file에 layout_name이 누락되었습니다.',
|
||||
'layout_validation_partial_error' => '레이아웃 파일 :file의 partial 처리에 실패했습니다: :error (partial: :partial)',
|
||||
'layout_validation_validation_failed' => '플러그인 :identifier의 레이아웃 검증에 실패했습니다. :count개의 오류가 발견되었습니다.',
|
||||
'operation_in_progress' => '플러그인 ":name"이(가) 현재 :status 상태입니다. 작업이 완료될 때까지 기다려 주세요.',
|
||||
'github_api_failed' => 'GitHub API 호출에 실패했습니다.',
|
||||
'invalid_github_url' => '유효하지 않은 GitHub URL입니다.',
|
||||
'zip_url_not_found' => 'ZIP 다운로드 URL을 찾을 수 없습니다.',
|
||||
'download_failed' => '플러그인 ":plugin" :version 버전 다운로드에 실패했습니다.',
|
||||
'zip_extract_failed' => 'ZIP 압축 해제에 실패했습니다.',
|
||||
'extracted_dir_not_found' => '압축 해제된 디렉토리를 찾을 수 없습니다.',
|
||||
'reload_failed' => '플러그인 다시 로드에 실패했습니다.',
|
||||
'delete_directory_failed' => '플러그인 디렉토리 삭제에 실패했습니다.',
|
||||
'update_failed' => '플러그인 ":plugin" 업데이트에 실패했습니다: :error',
|
||||
'github_url_invalid' => '유효하지 않은 GitHub URL 형식입니다.',
|
||||
'github_download_failed' => 'GitHub에서 다운로드에 실패했습니다.',
|
||||
'github_repo_not_found' => 'GitHub 저장소를 찾을 수 없습니다.',
|
||||
'zip_open_failed' => 'ZIP 파일을 열 수 없습니다.',
|
||||
'plugin_json_not_found' => 'plugin.json 파일을 찾을 수 없습니다.',
|
||||
'plugin_json_invalid' => 'plugin.json 파일 형식이 올바르지 않습니다.',
|
||||
'identifier_missing' => '플러그인 식별자가 누락되었습니다.',
|
||||
'already_installed' => '플러그인 ":plugin"이(가) 이미 설치되어 있습니다.',
|
||||
'install_failed' => '플러그인 설치에 실패했습니다.',
|
||||
],
|
||||
|
||||
// validation 메시지 (FormRequest)
|
||||
'validation' => [
|
||||
'github_url_required' => 'GitHub URL은 필수입니다.',
|
||||
'github_url_invalid' => '유효한 URL 형식이 아닙니다.',
|
||||
'github_url_format' => 'GitHub 저장소 URL 형식이어야 합니다. (예: https://github.com/owner/repo)',
|
||||
'file_required' => '설치할 파일을 선택해 주세요.',
|
||||
'file_invalid' => '유효한 파일이 아닙니다.',
|
||||
'file_must_be_zip' => 'ZIP 파일만 업로드할 수 있습니다.',
|
||||
'file_max_size' => '파일 크기는 :sizeMB를 초과할 수 없습니다.',
|
||||
],
|
||||
|
||||
// Artisan 커맨드 메시지
|
||||
'commands' => [
|
||||
'list' => [
|
||||
'headers' => [
|
||||
'identifier' => '식별자',
|
||||
'name' => '이름',
|
||||
'vendor' => '벤더',
|
||||
'version' => '버전',
|
||||
'status' => '상태',
|
||||
],
|
||||
'status' => [
|
||||
'active' => '활성',
|
||||
'inactive' => '비활성',
|
||||
'uninstalled' => '미설치',
|
||||
],
|
||||
'no_plugins' => '플러그인이 없습니다.',
|
||||
'summary' => '총 :total개 플러그인 (설치: :installed, 활성: :active)',
|
||||
'invalid_status' => '잘못된 상태입니다. (installed, uninstalled, active, inactive)',
|
||||
],
|
||||
'install' => [
|
||||
'success' => '플러그인 ":plugin" 설치 완료',
|
||||
'vendor' => '벤더: :vendor',
|
||||
'version' => '버전: :version',
|
||||
'roles_created' => ':count개 역할 생성됨',
|
||||
'permissions_created' => ':count개 권한 생성됨',
|
||||
'already_installed' => '플러그인 ":plugin"이(가) 이미 설치되어 있습니다.',
|
||||
],
|
||||
'activate' => [
|
||||
'success' => '플러그인 ":plugin" 활성화 완료',
|
||||
'not_installed' => '플러그인 ":plugin"이(가) 설치되지 않았습니다.',
|
||||
'already_active' => '플러그인 ":plugin"은(는) 이미 활성화되어 있습니다.',
|
||||
'layouts_registered' => ':count개 레이아웃 등록됨',
|
||||
],
|
||||
'deactivate' => [
|
||||
'success' => '플러그인 ":plugin" 비활성화 완료',
|
||||
'not_installed' => '플러그인 ":plugin"이(가) 설치되지 않았습니다.',
|
||||
'not_active' => '플러그인 ":plugin"은(는) 활성화되어 있지 않습니다.',
|
||||
'warning' => '플러그인의 라우트와 기능이 비활성화되었습니다.',
|
||||
'layouts_deleted' => ':count개 레이아웃 삭제됨',
|
||||
],
|
||||
'uninstall' => [
|
||||
'success' => '플러그인 ":plugin" 삭제 완료',
|
||||
'roles_deleted' => ':count개 역할 삭제됨',
|
||||
'permissions_deleted' => ':count개 권한 삭제됨',
|
||||
'layouts_deleted' => ':count개 레이아웃 삭제됨',
|
||||
'confirm_prompt' => '플러그인 ":plugin"을(를) 삭제하시겠습니까?',
|
||||
'confirm_details' => [
|
||||
'roles' => '- :count개의 역할이 삭제됩니다.',
|
||||
'permissions' => '- :count개의 권한이 삭제됩니다.',
|
||||
'layouts' => '- :count개의 레이아웃이 삭제됩니다.',
|
||||
'data' => '- 모든 플러그인 데이터가 삭제됩니다.',
|
||||
],
|
||||
'confirm_question' => '정말로 삭제하시겠습니까?',
|
||||
'aborted' => '플러그인 삭제가 취소되었습니다.',
|
||||
'not_installed' => '플러그인 ":plugin"이(가) 설치되지 않았습니다.',
|
||||
],
|
||||
'cache_clear' => [
|
||||
'clearing_all' => '모든 플러그인 캐시를 삭제합니다...',
|
||||
'clearing_single' => '플러그인 ":plugin" 캐시를 삭제합니다...',
|
||||
'success_all' => '플러그인 캐시 삭제 완료 (:count개 항목)',
|
||||
'success_single' => '플러그인 ":plugin" 캐시 삭제 완료 (:count개 항목)',
|
||||
],
|
||||
'check_updates' => [
|
||||
'not_installed' => '플러그인 ":plugin"이(가) 설치되지 않았습니다.',
|
||||
'no_installed' => '설치된 플러그인이 없습니다.',
|
||||
'update_available' => '업데이트 가능',
|
||||
'up_to_date' => '최신',
|
||||
'headers' => [
|
||||
'identifier' => '식별자',
|
||||
'current_version' => '현재 버전',
|
||||
'latest_version' => '최신 버전',
|
||||
'source' => '소스',
|
||||
'status' => '상태',
|
||||
],
|
||||
'summary' => '총 :total개 확인 (업데이트 가능: :updates개)',
|
||||
'single_up_to_date' => '플러그인 ":plugin"은(는) 최신 버전입니다. (v:version)',
|
||||
'single_update_available' => '플러그인 ":plugin" 업데이트 가능: v:current → v:latest (:source)',
|
||||
],
|
||||
'update' => [
|
||||
'success' => '플러그인 ":plugin" 업데이트 완료',
|
||||
'version_change' => 'v:from → v:to',
|
||||
'no_update' => '플러그인 ":plugin"에 사용 가능한 업데이트가 없습니다.',
|
||||
'not_installed' => '플러그인 ":plugin"이(가) 설치되지 않았습니다.',
|
||||
'current_version' => '현재 버전: :version',
|
||||
'latest_version' => '최신 버전: :version',
|
||||
'update_source' => '업데이트 소스: :source',
|
||||
'confirm_question' => '업데이트를 진행하시겠습니까?',
|
||||
'aborted' => '업데이트가 취소되었습니다.',
|
||||
'backup_restored' => '백업에서 이전 버전이 복원되었습니다.',
|
||||
'force_mode' => '강제 업데이트 모드: 버전 비교를 건너뛰고 재설치합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// Composer 의존성 설치 메시지
|
||||
'composer_install' => [
|
||||
'start' => '플러그인 ":plugin"의 Composer 의존성을 설치합니다...',
|
||||
'success' => '플러그인 ":plugin"의 Composer 의존성 설치 완료',
|
||||
'no_dependencies' => '플러그인 ":plugin"에 설치할 Composer 의존성이 없습니다.',
|
||||
'failed' => '플러그인 ":plugin"의 Composer 의존성 설치에 실패했습니다.',
|
||||
'summary' => '📊 결과: 성공 :success개, 스킵 :skip개, 실패 :fail개',
|
||||
],
|
||||
|
||||
// 플러그인 설정 관련 메시지
|
||||
'settings' => [
|
||||
'update_failed' => '플러그인 설정 업데이트에 실패했습니다.',
|
||||
'updated' => '플러그인 설정이 성공적으로 업데이트되었습니다.',
|
||||
],
|
||||
|
||||
// 검증 메시지
|
||||
'validation' => [
|
||||
'plugin_name_required' => '플러그인 이름은 필수입니다.',
|
||||
'plugin_name_string' => '플러그인 이름은 문자열이어야 합니다.',
|
||||
'plugin_name_max' => '플러그인 이름은 최대 :max자까지 입력할 수 있습니다.',
|
||||
'name_required' => '플러그인 이름은 필수입니다.',
|
||||
'name_string' => '플러그인 이름은 문자열이어야 합니다.',
|
||||
'name_max' => '플러그인 이름은 최대 255자까지 입력할 수 있습니다.',
|
||||
'search_max' => '검색어는 최대 255자까지 입력할 수 있습니다.',
|
||||
'filters_max' => '검색 조건은 최대 10개까지 설정할 수 있습니다.',
|
||||
'filter_field_required' => '검색 필드는 필수입니다.',
|
||||
'filter_field_invalid' => '유효하지 않은 검색 필드입니다.',
|
||||
'filter_value_required' => '검색 값은 필수입니다.',
|
||||
'filter_value_max' => '검색 값은 최대 255자까지 입력할 수 있습니다.',
|
||||
'filter_operator_invalid' => '유효하지 않은 검색 연산자입니다.',
|
||||
'status_invalid' => '유효하지 않은 상태 값입니다.',
|
||||
'per_page_min' => '페이지당 항목 수는 최소 1개 이상이어야 합니다.',
|
||||
'per_page_max' => '페이지당 항목 수는 최대 100개까지 설정할 수 있습니다.',
|
||||
'page_min' => '페이지 번호는 최소 1 이상이어야 합니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 역할 관리 메시지
|
||||
'fetch_success' => '역할 정보를 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '역할 정보를 가져오는데 실패했습니다.',
|
||||
'create_success' => '역할이 성공적으로 생성되었습니다.',
|
||||
'create_failed' => '역할 생성에 실패했습니다.',
|
||||
'update_success' => '역할이 성공적으로 수정되었습니다.',
|
||||
'update_failed' => '역할 수정에 실패했습니다.',
|
||||
'delete_success' => '역할이 성공적으로 삭제되었습니다.',
|
||||
'delete_failed' => '역할 삭제에 실패했습니다.',
|
||||
'system_role_delete_error' => '시스템 역할은 삭제할 수 없습니다.',
|
||||
|
||||
// 검증 메시지
|
||||
'validation' => [
|
||||
'name_required' => '역할 이름은 필수입니다.',
|
||||
'identifier_required' => '식별자는 필수입니다.',
|
||||
'identifier_format' => '식별자는 소문자로 시작하며, 소문자, 숫자, 밑줄(_)만 사용할 수 있습니다.',
|
||||
'identifier_unique' => '이미 사용 중인 식별자입니다.',
|
||||
'identifier_max' => '식별자는 최대 100자까지 입력할 수 있습니다.',
|
||||
'permission_ids_array' => '권한 목록은 배열 형태여야 합니다.',
|
||||
'permission_ids_exists' => '선택한 권한 중 유효하지 않은 권한이 있습니다.',
|
||||
'permission_ids_integer' => '권한 ID는 정수여야 합니다.',
|
||||
],
|
||||
|
||||
// 에러 메시지
|
||||
'errors' => [
|
||||
'system_role_delete' => '시스템 역할은 삭제할 수 없습니다.',
|
||||
'extension_owned_role_delete' => '확장(모듈/플러그인)이 소유한 역할은 삭제할 수 없습니다. 해당 확장을 제거하면 자동으로 정리됩니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 메시지
|
||||
'fetch_success' => '스케줄 목록을 조회했습니다.',
|
||||
'fetch_failed' => '스케줄 목록 조회에 실패했습니다.',
|
||||
'create_success' => '스케줄이 생성되었습니다.',
|
||||
'create_failed' => '스케줄 생성에 실패했습니다.',
|
||||
'update_success' => '스케줄이 수정되었습니다.',
|
||||
'update_failed' => '스케줄 수정에 실패했습니다.',
|
||||
'delete_success' => '스케줄이 삭제되었습니다.',
|
||||
'delete_failed' => '스케줄 삭제에 실패했습니다.',
|
||||
'run_success' => '스케줄이 실행되었습니다.',
|
||||
'run_failed' => '스케줄 실행에 실패했습니다.',
|
||||
'duplicate_success' => '스케줄이 복제되었습니다.',
|
||||
'duplicate_failed' => '스케줄 복제에 실패했습니다.',
|
||||
'bulk_status_updated' => '선택한 스케줄의 상태가 변경되었습니다.',
|
||||
'bulk_update_status_failed' => '스케줄 상태 일괄 변경에 실패했습니다.',
|
||||
'bulk_delete_success' => '선택한 스케줄이 삭제되었습니다.',
|
||||
'bulk_delete_failed' => '스케줄 일괄 삭제에 실패했습니다.',
|
||||
'statistics_success' => '스케줄 통계를 조회했습니다.',
|
||||
'statistics_failed' => '스케줄 통계 조회에 실패했습니다.',
|
||||
'history_fetch_success' => '실행 이력을 조회했습니다.',
|
||||
'history_fetch_failed' => '실행 이력 조회에 실패했습니다.',
|
||||
'history_delete_success' => '실행 이력이 삭제되었습니다.',
|
||||
'history_delete_failed' => '실행 이력 삭제에 실패했습니다.',
|
||||
'history_not_found' => '실행 이력을 찾을 수 없습니다.',
|
||||
'copy' => '복사본',
|
||||
'shell_command_failed' => '쉘 명령 실행에 실패했습니다.',
|
||||
'http_request_failed' => 'HTTP 요청 실패 (상태: :status)',
|
||||
|
||||
// 작업 유형
|
||||
'type' => [
|
||||
'artisan' => 'Artisan 커맨드',
|
||||
'shell' => '쉘 명령',
|
||||
'url' => 'URL 호출',
|
||||
],
|
||||
|
||||
// 실행 주기
|
||||
'frequency' => [
|
||||
'everyMinute' => '매분',
|
||||
'hourly' => '매시간',
|
||||
'daily' => '매일',
|
||||
'weekly' => '매주',
|
||||
'monthly' => '매월',
|
||||
'custom' => '사용자 정의',
|
||||
],
|
||||
|
||||
// 실행 결과
|
||||
'result' => [
|
||||
'success' => '성공',
|
||||
'failed' => '실패',
|
||||
'running' => '실행 중',
|
||||
'never' => '미실행',
|
||||
],
|
||||
|
||||
// 트리거 유형
|
||||
'trigger_type' => [
|
||||
'scheduled' => '예약 실행',
|
||||
'manual' => '수동 실행',
|
||||
],
|
||||
|
||||
// 소요 시간
|
||||
'duration' => [
|
||||
'seconds' => '초',
|
||||
'minutes' => '분',
|
||||
],
|
||||
|
||||
// 검증 메시지
|
||||
'validation' => [
|
||||
'page_integer' => '페이지 번호는 정수여야 합니다.',
|
||||
'page_min' => '페이지 번호는 1 이상이어야 합니다.',
|
||||
'per_page_integer' => '페이지당 항목 수는 정수여야 합니다.',
|
||||
'per_page_min' => '페이지당 항목 수는 1 이상이어야 합니다.',
|
||||
'per_page_max' => '페이지당 항목 수는 100 이하여야 합니다.',
|
||||
'type_invalid' => '유효하지 않은 작업 유형입니다.',
|
||||
'frequency_invalid' => '유효하지 않은 실행 주기입니다.',
|
||||
'status_invalid' => '유효하지 않은 상태입니다.',
|
||||
'last_result_invalid' => '유효하지 않은 실행 결과입니다.',
|
||||
'history_status_invalid' => '유효하지 않은 이력 상태입니다.',
|
||||
'trigger_type_invalid' => '유효하지 않은 트리거 유형입니다.',
|
||||
'created_from_invalid' => '시작일 형식이 올바르지 않습니다.',
|
||||
'created_to_invalid' => '종료일 형식이 올바르지 않습니다.',
|
||||
'created_to_after_from' => '종료일은 시작일 이후여야 합니다.',
|
||||
'started_from_invalid' => '시작일 형식이 올바르지 않습니다.',
|
||||
'started_to_invalid' => '종료일 형식이 올바르지 않습니다.',
|
||||
'started_to_after_from' => '종료일은 시작일 이후여야 합니다.',
|
||||
'sort_by_invalid' => '유효하지 않은 정렬 기준입니다.',
|
||||
'sort_order_invalid' => '유효하지 않은 정렬 순서입니다.',
|
||||
'name_required' => '작업명은 필수입니다.',
|
||||
'name_max' => '작업명은 255자 이하여야 합니다.',
|
||||
'type_required' => '작업 유형은 필수입니다.',
|
||||
'command_required' => '명령어는 필수입니다.',
|
||||
'command_max' => '명령어는 2000자 이하여야 합니다.',
|
||||
'expression_required' => 'Cron 표현식은 필수입니다.',
|
||||
'expression_max' => 'Cron 표현식은 100자 이하여야 합니다.',
|
||||
'frequency_required' => '실행 주기는 필수입니다.',
|
||||
'timeout_integer' => '제한 시간은 정수여야 합니다.',
|
||||
'timeout_min' => '제한 시간은 1초 이상이어야 합니다.',
|
||||
'timeout_max' => '제한 시간은 86400초(24시간) 이하여야 합니다.',
|
||||
'ids_required' => 'ID 목록은 필수입니다.',
|
||||
'ids_array' => 'ID 목록은 배열이어야 합니다.',
|
||||
'ids_min' => '최소 1개 이상의 ID가 필요합니다.',
|
||||
'id_integer' => 'ID는 정수여야 합니다.',
|
||||
'id_exists' => '존재하지 않는 스케줄입니다.',
|
||||
'is_active_required' => '활성화 여부는 필수입니다.',
|
||||
'is_active_boolean' => '활성화 여부는 참/거짓이어야 합니다.',
|
||||
],
|
||||
|
||||
// 권한
|
||||
'permissions' => [
|
||||
'read' => '스케줄 조회',
|
||||
'create' => '스케줄 생성',
|
||||
'update' => '스케줄 수정',
|
||||
'delete' => '스케줄 삭제',
|
||||
'run' => '스케줄 실행',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 통합 검색 관련 다국어 메시지 (한국어)
|
||||
*/
|
||||
|
||||
return [
|
||||
'empty_keyword' => '검색어를 입력해주세요.',
|
||||
'results_found' => ':count건의 검색 결과를 찾았습니다.',
|
||||
'no_results' => '검색 결과가 없습니다.',
|
||||
'view_more' => '더보기',
|
||||
];
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 캐시 삭제
|
||||
'cache_cleared_all' => 'SEO 캐시가 모두 삭제되었습니다.',
|
||||
'cache_cleared_layout' => ':layout 레이아웃의 SEO 캐시 :count건이 삭제되었습니다.',
|
||||
|
||||
// 캐시 워밍업
|
||||
'warmup_started' => 'SEO 캐시 워밍업을 시작합니다.',
|
||||
'warmup_started_layout' => ':layout 레이아웃의 SEO 캐시 워밍업을 시작합니다.',
|
||||
'warmup_dispatched' => 'SEO 캐시 워밍업이 시작되었습니다.',
|
||||
|
||||
// 캐시 통계
|
||||
'stats_period' => '최근 :days일간 SEO 캐시 통계',
|
||||
'stats_overall' => '전체 통계',
|
||||
'stats_metric' => '항목',
|
||||
'stats_value' => '값',
|
||||
'stats_total_entries' => '총 캐시 항목',
|
||||
'stats_hits' => '캐시 히트',
|
||||
'stats_misses' => '캐시 미스',
|
||||
'stats_hit_rate' => '히트율',
|
||||
'stats_avg_response_time' => '평균 응답 시간',
|
||||
'stats_by_layout' => '레이아웃별 통계',
|
||||
'stats_layout_name' => '레이아웃',
|
||||
'stats_total' => '합계',
|
||||
'stats_by_module' => '모듈별 통계',
|
||||
'stats_module_identifier' => '모듈',
|
||||
];
|
||||
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 설정 관련 메시지
|
||||
'fetch_success' => '설정을 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '설정을 가져오는데 실패했습니다.',
|
||||
'save_success' => '설정이 성공적으로 저장되었습니다.',
|
||||
'save_failed' => '설정 저장에 실패했습니다.',
|
||||
'update_success' => '설정이 성공적으로 업데이트되었습니다.',
|
||||
'update_failed' => '설정 업데이트에 실패했습니다.',
|
||||
'delete_success' => '설정이 성공적으로 삭제되었습니다.',
|
||||
'delete_failed' => '설정 삭제에 실패했습니다.',
|
||||
'save_error' => '설정 저장 중 오류가 발생했습니다.',
|
||||
'update_error' => '설정 업데이트 중 오류가 발생했습니다.',
|
||||
'cache_clear_success' => '캐시가 성공적으로 정리되었습니다.',
|
||||
'cache_clear_failed' => '캐시 정리에 실패했습니다.',
|
||||
'cache_clear_error' => '캐시 정리 중 오류가 발생했습니다.',
|
||||
'optimize_success' => '시스템이 성공적으로 최적화되었습니다.',
|
||||
'optimize_failed' => '시스템 최적화에 실패했습니다.',
|
||||
'optimize_error' => '시스템 최적화 중 오류가 발생했습니다.',
|
||||
'backup_success' => '데이터베이스 백업이 성공적으로 시작되었습니다.',
|
||||
'backup_failed' => '데이터베이스 백업에 실패했습니다.',
|
||||
'backup_error' => '데이터베이스 백업 중 오류가 발생했습니다.',
|
||||
'save_individual_failed' => '설정 저장에 실패했습니다: :error',
|
||||
|
||||
// 앱 키 관련 메시지
|
||||
'invalid_password' => '비밀번호가 일치하지 않습니다.',
|
||||
'password_required' => '비밀번호를 입력해주세요.',
|
||||
'app_key_regenerated' => '어플리케이션 키가 성공적으로 재생성되었습니다.',
|
||||
'app_key_regenerate_failed' => '어플리케이션 키 재생성에 실패했습니다.',
|
||||
'app_key_regenerate_warning' => '키를 변경하면 모든 세션이 무효화됩니다. 계속하시겠습니까?',
|
||||
|
||||
// 시스템 정보 관련
|
||||
'seconds' => '초',
|
||||
|
||||
// 드라이버 연결 테스트 메시지
|
||||
'driver_test_success' => '모든 드라이버 연결 테스트가 성공했습니다.',
|
||||
'driver_test_partial' => '일부 드라이버 연결 테스트가 실패했습니다.',
|
||||
'driver_test_error' => '드라이버 연결 테스트 중 오류가 발생했습니다.',
|
||||
'unknown_driver' => '알 수 없는 드라이버입니다.',
|
||||
|
||||
// S3 테스트 메시지
|
||||
's3_test_success' => 'S3 버킷에 성공적으로 연결되었습니다.',
|
||||
's3_test_failed' => 'S3 버킷 연결에 실패했습니다.',
|
||||
's3_missing_config' => 'S3 설정이 누락되었습니다. (버킷, 리전, 액세스 키, 시크릿 키)',
|
||||
's3_sdk_missing' => 'AWS SDK가 설치되어 있지 않습니다.',
|
||||
's3_bucket_not_found' => 'S3 버킷을 찾을 수 없습니다.',
|
||||
's3_access_denied' => 'S3 버킷에 대한 접근이 거부되었습니다.',
|
||||
's3_invalid_credentials' => 'S3 인증 정보가 올바르지 않습니다.',
|
||||
|
||||
// Redis 테스트 메시지
|
||||
'redis_test_success' => 'Redis 서버에 성공적으로 연결되었습니다.',
|
||||
'redis_test_failed' => 'Redis 서버 연결에 실패했습니다.',
|
||||
'redis_extension_missing' => 'Redis PHP 확장이 설치되어 있지 않습니다.',
|
||||
'redis_connection_failed' => 'Redis 서버에 연결할 수 없습니다.',
|
||||
'redis_auth_failed' => 'Redis 인증에 실패했습니다.',
|
||||
'redis_ping_failed' => 'Redis PING 응답이 없습니다.',
|
||||
|
||||
// Memcached 테스트 메시지
|
||||
'memcached_test_success' => 'Memcached 서버에 성공적으로 연결되었습니다.',
|
||||
'memcached_test_failed' => 'Memcached 서버 연결에 실패했습니다.',
|
||||
'memcached_extension_missing' => 'Memcached PHP 확장이 설치되어 있지 않습니다.',
|
||||
'memcached_connection_failed' => 'Memcached 서버에 연결할 수 없습니다.',
|
||||
|
||||
// Websocket 테스트 메시지
|
||||
'websocket_test_success' => 'Websocket 서버에 성공적으로 연결되었습니다.',
|
||||
'websocket_test_failed' => 'Websocket 서버 연결에 실패했습니다.',
|
||||
'websocket_connection_refused' => 'Websocket 서버에 연결할 수 없습니다. 서버가 실행 중인지 확인해주세요.',
|
||||
|
||||
// 테스트 메일 관련 메시지
|
||||
'invalid_email' => '유효하지 않은 이메일 주소입니다.',
|
||||
'test_mail_subject' => ':app_name 테스트 메일',
|
||||
'test_mail_body' => '이것은 그누보드7에서 발송한 테스트 메일입니다. 이 메일을 받으셨다면 메일 설정이 올바르게 구성되어 있습니다.',
|
||||
'test_mail_sent' => '테스트 메일이 성공적으로 발송되었습니다.',
|
||||
'test_mail_failed' => '테스트 메일 발송에 실패했습니다.',
|
||||
'test_mail_error' => '테스트 메일 발송 중 오류가 발생했습니다.',
|
||||
|
||||
// 코어 업데이트 관련 메시지
|
||||
'core_update' => [
|
||||
'check_success' => '업데이트 확인이 완료되었습니다.',
|
||||
'check_failed' => '업데이트 확인에 실패했습니다.',
|
||||
'update_available' => '새로운 업데이트가 있습니다.',
|
||||
'no_update' => '현재 최신 버전입니다.',
|
||||
'maintenance_mode_active' => '시스템 점검 중입니다. 잠시 후 다시 시도해주세요.',
|
||||
'invalid_github_url' => 'GitHub 저장소 URL이 유효하지 않습니다.',
|
||||
'download_failed' => ':version 버전 다운로드에 실패했습니다.',
|
||||
'zip_extract_failed' => 'ZIP 파일 압축 해제에 실패했습니다.',
|
||||
'invalid_package' => '다운로드된 패키지가 유효하지 않습니다.',
|
||||
'invalid_package_not_g7' => '지정된 디렉토리가 그누보드7 프로젝트가 아닙니다. config/app.php 파일과 version 설정이 필요합니다.',
|
||||
'composer_failed' => 'composer install 실행에 실패했습니다.',
|
||||
'pending_path_create_failed' => '_pending 디렉토리(:path) 생성에 실패했습니다: :error',
|
||||
'pending_path_not_writable' => '_pending 디렉토리(:path)에 쓰기 권한이 없습니다.',
|
||||
'downloading' => '업데이트 다운로드 중...',
|
||||
'extracting' => '압축 해제 중...',
|
||||
'validating' => '패키지 검증 중...',
|
||||
'running_composer' => 'composer install 실행 중...',
|
||||
'step_check' => '업데이트 확인 중...',
|
||||
'step_validate_pending' => '환경 검증 중...',
|
||||
'step_maintenance' => '유지보수 모드 활성화 중...',
|
||||
'step_download' => '다운로드 중...',
|
||||
'step_backup' => '백업 생성 중...',
|
||||
'step_apply' => '파일 적용 중...',
|
||||
'step_composer' => 'composer install 중...',
|
||||
'step_migration' => '마이그레이션 실행 중...',
|
||||
'step_upgrade' => '업그레이드 스텝 실행 중...',
|
||||
'step_composer_prod' => '운영 디렉토리 composer install 중...',
|
||||
'step_cleanup' => '정리 중...',
|
||||
|
||||
// GitHub API 에러 메시지
|
||||
'github_url_not_configured' => 'GitHub 저장소 URL이 설정되지 않았습니다.',
|
||||
'github_api_failed' => 'GitHub API에 연결할 수 없습니다.',
|
||||
'github_token_required' => '프라이빗 저장소입니다. GitHub 액세스 토큰을 설정해주세요.',
|
||||
'github_token_invalid' => 'GitHub 액세스 토큰이 유효하지 않거나 권한이 부족합니다. (HTTP :status — :message)',
|
||||
'github_repo_not_found' => 'GitHub 저장소를 찾을 수 없습니다. (HTTP :status — :message)',
|
||||
'github_repo_not_found_no_token' => 'GitHub 저장소를 찾을 수 없습니다. 프라이빗 저장소인 경우 액세스 토큰을 설정해주세요. (HTTP :status — :message)',
|
||||
'github_api_error' => 'GitHub API 오류가 발생했습니다. (HTTP :status — :message)',
|
||||
'no_releases_found' => 'GitHub 저장소에 릴리스가 없습니다. (HTTP :status — :message)',
|
||||
|
||||
// 로그 메시지
|
||||
'log_api_call_failed' => '코어 업데이트: GitHub API 호출 실패',
|
||||
'log_auth_failed' => '코어 업데이트: GitHub 인증 실패',
|
||||
'log_not_found' => '코어 업데이트: GitHub 저장소/릴리스 미발견',
|
||||
'log_unexpected_status' => '코어 업데이트: 예상하지 못한 HTTP 상태 코드',
|
||||
'log_version_check_error' => '코어 업데이트: 최신 버전 확인 중 오류',
|
||||
|
||||
'unknown_error' => '알 수 없는 오류가 발생했습니다.',
|
||||
|
||||
// 시스템 요구사항
|
||||
'system_requirements_failed' => '시스템 요구사항이 충족되지 않습니다:',
|
||||
'no_extract_method_available' => '사용 가능한 아카이브 추출 방법이 없습니다. PHP zip 확장(ZipArchive) 또는 unzip 명령어(Linux) 중 하나가 필요합니다. 또는 --source 옵션으로 수동 업데이트할 수 있습니다.',
|
||||
'manual_update_guide' => '수동 업데이트: GitHub에서 릴리스 ZIP을 다운로드하여 압축 해제 후, php artisan core:update --source=/압축해제/경로 명령어를 실행하세요.',
|
||||
|
||||
// 추출 폴백 체인
|
||||
'archive_url_not_found' => ':type 아카이브 URL을 찾을 수 없습니다. 다음 방법을 시도합니다.',
|
||||
'extracting_with' => ':method 방식으로 압축 해제 중...',
|
||||
'extract_empty' => '압축 해제된 디렉토리가 비어 있습니다.',
|
||||
'extract_fallback' => ':method 방식 실패: :error — 다음 방법을 시도합니다.',
|
||||
'all_extract_methods_failed' => '모든 아카이브 추출 방법이 실패했습니다. --source 옵션으로 수동 업데이트를 시도하세요.',
|
||||
'unzip_command_failed' => 'unzip 명령어 실행 실패 (종료 코드: :code). :output',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,308 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => '템플릿 관리',
|
||||
|
||||
'errors' => [
|
||||
'not_found' => '템플릿을 찾을 수 없습니다. (:template)',
|
||||
'not_installed' => '템플릿이 설치되지 않았습니다. (:template)',
|
||||
'already_active' => '이미 활성화된 템플릿입니다.',
|
||||
'invalid_format' => '잘못된 템플릿 형식입니다.',
|
||||
'activation_failed' => '템플릿 활성화에 실패했습니다.',
|
||||
'file_copy_failed' => '파일 복사에 실패했습니다.',
|
||||
'dist_directory_not_found' => '템플릿 빌드 결과물(dist)을 찾을 수 없습니다.',
|
||||
'invalid_directory_name' => '잘못된 디렉토리명입니다. vendor-name 형식을 사용하세요.',
|
||||
'dependency_not_met' => '필수 의존성 :dependency (:type)이 충족되지 않았습니다.',
|
||||
'version_mismatch' => ':dependency 버전이 맞지 않습니다. (필요: :required, 설치됨: :installed)',
|
||||
'deactivation_failed' => '템플릿 비활성화에 실패했습니다.',
|
||||
'installation_failed' => '템플릿 설치에 실패했습니다.',
|
||||
'uninstallation_failed' => '템플릿 제거에 실패했습니다.',
|
||||
'template_json_not_found' => 'template.json 파일을 찾을 수 없습니다.',
|
||||
'template_json_invalid' => 'template.json 파일이 유효하지 않습니다.',
|
||||
'missing_required_fields' => '필수 필드가 누락되었습니다.',
|
||||
'invalid_type' => '잘못된 템플릿 타입입니다. (admin 또는 user만 허용)',
|
||||
'copy_rollback_failed' => '파일 복사 롤백에 실패했습니다.',
|
||||
'invalid_layout_json' => '레이아웃 JSON 파일이 유효하지 않습니다.',
|
||||
'missing_layout_name' => '레이아웃 JSON에 layout_name 필드가 누락되었습니다.',
|
||||
'layout_registration_failed' => '레이아웃 등록에 실패했습니다.',
|
||||
'layout_validation_failed' => ':template 템플릿의 레이아웃 검증에 실패했습니다. (:count개 오류)',
|
||||
'layout_validation_json_error' => ':file - JSON 파싱 오류: :error',
|
||||
'layout_validation_missing_name' => ':file - layout_name 필드가 누락되었습니다.',
|
||||
'layout_validation_partial_error' => ':file - Partial 처리 오류 (:partial): :error',
|
||||
'override_layout_registration_failed' => '오버라이드 레이아웃 등록에 실패했습니다.',
|
||||
'file_not_found' => '파일을 찾을 수 없습니다.',
|
||||
'file_type_not_allowed' => '허용되지 않은 파일 타입입니다.',
|
||||
'components_not_found' => '컴포넌트 정의 파일을 찾을 수 없습니다.',
|
||||
'locale_not_supported' => ':template 템플릿은 :locale 언어를 지원하지 않습니다.',
|
||||
'language_file_not_found' => ':locale 언어 파일을 찾을 수 없습니다.',
|
||||
'invalid_json' => '유효하지 않은 JSON 형식입니다.',
|
||||
'invalid_cache_data' => '캐시 데이터가 손상되었습니다. 다시 시도해주세요.',
|
||||
'unknown_error' => '알 수 없는 오류가 발생했습니다.',
|
||||
'zip_open_failed' => 'ZIP 파일을 열 수 없습니다.',
|
||||
'identifier_missing' => '템플릿 식별자가 누락되었습니다.',
|
||||
'already_installed' => '이미 설치된 템플릿입니다.',
|
||||
'install_failed' => '템플릿 설치에 실패했습니다.',
|
||||
'github_url_invalid' => '유효하지 않은 GitHub URL 형식입니다.',
|
||||
'github_download_failed' => 'GitHub에서 다운로드에 실패했습니다.',
|
||||
'github_repo_not_found' => 'GitHub 저장소를 찾을 수 없습니다.',
|
||||
'refresh_layouts_failed' => '레이아웃 갱신에 실패했습니다.',
|
||||
'routes_not_found' => '라우트 파일을 찾을 수 없습니다.',
|
||||
|
||||
// 템플릿 엔진 에러 메시지
|
||||
'no_active_template' => '활성화된 템플릿이 없습니다',
|
||||
'layout_load_failed' => '레이아웃을 불러오는데 실패했습니다',
|
||||
'component_load_failed' => '컴포넌트를 불러오는데 실패했습니다',
|
||||
'translation_load_failed' => '다국어 파일을 불러오는데 실패했습니다',
|
||||
'template_init_error' => '템플릿 엔진을 초기화하는 중 오류가 발생했습니다',
|
||||
'contact_admin_for_template' => '시스템 관리자에게 문의하여 템플릿을 활성화해주세요.',
|
||||
|
||||
// 에러 레이아웃 검증 메시지
|
||||
'missing_error_config' => '템플릿에 error_config 섹션이 없습니다. 에러 페이지 레이아웃 설정이 필요합니다.',
|
||||
'missing_error_layout' => ':code 에러 레이아웃이 정의되지 않았습니다.',
|
||||
'error_layout_not_found' => ':code 에러 레이아웃 파일을 찾을 수 없습니다: :path',
|
||||
|
||||
// 템플릿 상태 에러
|
||||
'template_not_found' => '템플릿을 찾을 수 없습니다: :identifier',
|
||||
'template_not_active' => '템플릿이 활성화되어 있지 않습니다: :identifier',
|
||||
|
||||
// 의존성 관련 에러
|
||||
'dependencies_not_met' => '템플릿의 필수 의존성이 충족되지 않았습니다.',
|
||||
'service_unavailable' => '서비스를 일시적으로 사용할 수 없습니다.',
|
||||
'contact_admin' => '관리자에게 문의하세요.',
|
||||
|
||||
// 업데이트 관련 에러
|
||||
'operation_in_progress' => '템플릿 ":name"이(가) 현재 :status 상태입니다. 작업이 완료될 때까지 기다려 주세요.',
|
||||
'github_api_failed' => 'GitHub API 호출에 실패했습니다.',
|
||||
'invalid_github_url' => '유효하지 않은 GitHub URL입니다.',
|
||||
'zip_url_not_found' => 'ZIP 다운로드 URL을 찾을 수 없습니다.',
|
||||
'download_failed' => '템플릿 ":template" :version 버전 다운로드에 실패했습니다.',
|
||||
'zip_extract_failed' => 'ZIP 압축 해제에 실패했습니다.',
|
||||
'extracted_dir_not_found' => '압축 해제된 디렉토리를 찾을 수 없습니다.',
|
||||
'reload_failed' => '템플릿 다시 로드에 실패했습니다.',
|
||||
'delete_directory_failed' => '템플릿 디렉토리 삭제에 실패했습니다.',
|
||||
'update_failed' => '템플릿 ":template" 업데이트에 실패했습니다: :error',
|
||||
'invalid_layout_strategy' => '유효하지 않은 레이아웃 전략입니다. (overwrite 또는 keep만 허용)',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'activated' => '템플릿이 활성화되었습니다.',
|
||||
'deactivated' => '템플릿이 비활성화되었습니다.',
|
||||
'installed' => '템플릿이 설치되었습니다.',
|
||||
'uninstalled' => '템플릿이 제거되었습니다.',
|
||||
'previous_template_deactivated' => '이전 활성 템플릿이 비활성화되었습니다.',
|
||||
'files_copied' => '템플릿 파일이 복사되었습니다.',
|
||||
'files_removed' => '템플릿 파일이 제거되었습니다.',
|
||||
'routes_retrieved' => '템플릿 라우트 정보를 조회했습니다.',
|
||||
'routes_not_found' => '템플릿 라우트를 찾을 수 없습니다.',
|
||||
'layout_served' => '레이아웃이 제공되었습니다.',
|
||||
'config_retrieved' => '템플릿 설정 정보를 조회했습니다.',
|
||||
'template_activated' => '템플릿이 활성화되었습니다.',
|
||||
'template_deactivated' => '템플릿이 비활성화되었습니다.',
|
||||
'template_uninstalled' => '템플릿이 제거되었습니다.',
|
||||
],
|
||||
|
||||
'not_found' => '템플릿 :template을(를) 찾을 수 없습니다.',
|
||||
'layout_not_found' => '레이아웃을 찾을 수 없습니다.',
|
||||
|
||||
'info' => [
|
||||
'scanning' => '템플릿 디렉토리를 스캔하는 중...',
|
||||
'loading' => '템플릿을 로드하는 중...',
|
||||
'validating_dependencies' => '의존성을 검증하는 중...',
|
||||
'copying_files' => '파일을 복사하는 중...',
|
||||
'removing_files' => '파일을 제거하는 중...',
|
||||
'template_found' => '템플릿을 발견했습니다.',
|
||||
'no_templates_found' => '템플릿을 발견하지 못했습니다.',
|
||||
'public_directory_cleaned' => 'public 디렉토리가 정리되었습니다.',
|
||||
'no_layouts_directory' => '레이아웃 디렉토리가 존재하지 않습니다.',
|
||||
'no_layout_files' => '레이아웃 JSON 파일이 존재하지 않습니다.',
|
||||
'layout_registered' => '레이아웃이 등록되었습니다.',
|
||||
'layouts_deleted' => '레이아웃이 삭제되었습니다.',
|
||||
'cache_cleared' => '템플릿 캐시가 삭제되었습니다.',
|
||||
'cache_warmed' => '템플릿 캐시가 생성되었습니다.',
|
||||
'no_overrides_directory' => '오버라이드 디렉토리가 존재하지 않습니다.',
|
||||
'no_override_modules' => '오버라이드할 모듈 디렉토리가 존재하지 않습니다.',
|
||||
'no_override_layouts_for_module' => '해당 모듈에 대한 오버라이드 레이아웃이 없습니다.',
|
||||
'override_layout_registered' => '오버라이드 레이아웃이 등록되었습니다.',
|
||||
'override_layouts_registered' => '오버라이드 레이아웃이 등록되었습니다.',
|
||||
'override_layouts_cache_invalidated' => '오버라이드 레이아웃 캐시가 무효화되었습니다.',
|
||||
'override_layouts_cache_invalidation_error' => '오버라이드 레이아웃 캐시 무효화 중 오류가 발생했습니다.',
|
||||
],
|
||||
|
||||
'status' => [
|
||||
'active' => '활성',
|
||||
'inactive' => '비활성',
|
||||
'installing' => '설치 중',
|
||||
'uninstalling' => '제거 중',
|
||||
'updating' => '업데이트 중',
|
||||
],
|
||||
|
||||
'types' => [
|
||||
'admin' => '관리자용',
|
||||
'user' => '사용자용',
|
||||
],
|
||||
|
||||
'dependencies' => [
|
||||
'section_title' => '의존성',
|
||||
'modules' => '필수 모듈',
|
||||
'plugins' => '필수 플러그인',
|
||||
'status_met' => '충족',
|
||||
'status_unmet' => '미충족',
|
||||
'no_dependencies' => '의존성 없음',
|
||||
'version_required' => '필요 버전: :version',
|
||||
'version_installed' => '설치된 버전: :version',
|
||||
'not_installed' => '미설치',
|
||||
'not_active' => '비활성',
|
||||
],
|
||||
|
||||
'validation' => [
|
||||
'name_required' => '템플릿 이름은 필수입니다.',
|
||||
'name_string' => '템플릿 이름은 문자열이어야 합니다.',
|
||||
'name_max' => '템플릿 이름은 255자를 초과할 수 없습니다.',
|
||||
'file_required' => '파일은 필수입니다.',
|
||||
'file_invalid' => '유효한 파일이 아닙니다.',
|
||||
'file_must_be_zip' => 'ZIP 파일만 업로드 가능합니다.',
|
||||
'file_max_size' => '파일 크기는 :sizeMB를 초과할 수 없습니다.',
|
||||
'github_url_required' => 'GitHub URL은 필수입니다.',
|
||||
'github_url_invalid' => 'GitHub URL이 올바르지 않습니다.',
|
||||
'github_url_format' => 'GitHub URL 형식이 올바르지 않습니다. (예: https://github.com/owner/repo)',
|
||||
|
||||
// 목록 조회 검증
|
||||
'type_in' => '템플릿 타입은 user 또는 admin만 허용됩니다.',
|
||||
'search_max' => '검색어는 255자를 초과할 수 없습니다.',
|
||||
'filters_max' => '검색 필터는 최대 10개까지 허용됩니다.',
|
||||
'filter_field_required' => '필터 필드는 필수입니다.',
|
||||
'filter_field_invalid' => '허용되지 않은 필터 필드입니다.',
|
||||
'filter_value_required' => '필터 값은 필수입니다.',
|
||||
'filter_value_max' => '필터 값은 255자를 초과할 수 없습니다.',
|
||||
'filter_operator_invalid' => '허용되지 않은 필터 연산자입니다. (like, eq, starts_with, ends_with만 허용)',
|
||||
'status_invalid' => '허용되지 않은 상태 값입니다. (installed, not_installed, active, inactive만 허용)',
|
||||
'per_page_min' => '페이지당 항목 수는 최소 1개 이상이어야 합니다.',
|
||||
'per_page_max' => '페이지당 항목 수는 최대 100개까지 허용됩니다.',
|
||||
'page_min' => '페이지 번호는 최소 1 이상이어야 합니다.',
|
||||
],
|
||||
|
||||
'install_success' => '템플릿이 성공적으로 설치되었습니다.',
|
||||
'install_failed' => '템플릿 설치에 실패했습니다.',
|
||||
'uninstall_success' => '템플릿이 성공적으로 제거되었습니다.',
|
||||
'uninstall_failed' => '템플릿 제거에 실패했습니다.',
|
||||
'activate_success' => '템플릿이 활성화되었습니다.',
|
||||
'activate_failed' => '템플릿 활성화에 실패했습니다.',
|
||||
'activate_warning' => '템플릿 활성화를 위해 필요한 의존성이 충족되지 않았습니다.',
|
||||
|
||||
// 경고 메시지
|
||||
'warnings' => [
|
||||
'missing_dependencies' => '이 템플릿을 활성화하려면 다음 의존성이 필요합니다.',
|
||||
],
|
||||
|
||||
'deactivate_success' => '템플릿이 비활성화되었습니다.',
|
||||
'deactivate_failed' => '템플릿 비활성화에 실패했습니다.',
|
||||
'fetch_success' => '템플릿 정보를 성공적으로 가져왔습니다.',
|
||||
'license_not_found' => '템플릿 라이선스 파일을 찾을 수 없습니다.',
|
||||
'refresh_layouts_success' => '템플릿 레이아웃이 성공적으로 갱신되었습니다.',
|
||||
'refresh_layouts_failed' => '템플릿 레이아웃 갱신에 실패했습니다.',
|
||||
|
||||
// 업데이트 관련 메시지
|
||||
'update_success' => '템플릿 ":template"이(가) :version 버전으로 업데이트되었습니다.',
|
||||
'update_failed' => '템플릿 업데이트에 실패했습니다: :error',
|
||||
'update_hook_failed' => '템플릿 업데이트 훅 실행에 실패했습니다.',
|
||||
'no_update_available' => '업데이트할 내용이 없습니다.',
|
||||
'check_updates_success' => '업데이트 확인이 완료되었습니다.',
|
||||
'check_updates_failed' => '업데이트 확인에 실패했습니다.',
|
||||
'not_installed' => '템플릿 ":template"이(가) 설치되지 않았습니다.',
|
||||
'check_modified_layouts_success' => '수정된 레이아웃 확인이 완료되었습니다.',
|
||||
'check_modified_layouts_failed' => '수정된 레이아웃 확인에 실패했습니다.',
|
||||
|
||||
// _pending 관련 메시지
|
||||
'pending_not_found' => '설치 대기 목록에서 템플릿 ":template"을(를) 찾을 수 없습니다.',
|
||||
'already_exists' => '템플릿 ":template"이(가) 이미 존재합니다.',
|
||||
'move_failed' => '템플릿 ":template" 이동에 실패했습니다.',
|
||||
|
||||
'commands' => [
|
||||
'install' => [
|
||||
'success' => '템플릿 ":template" 설치 완료',
|
||||
'already_installed' => '템플릿 ":template"이(가) 이미 설치되어 있습니다.',
|
||||
'layouts_created' => '레이아웃 :count개 생성됨',
|
||||
'type' => '타입: :type',
|
||||
'version' => '버전: :version',
|
||||
'directory_not_found' => '템플릿 디렉토리를 찾을 수 없습니다: :path',
|
||||
'config_not_found' => 'template.json 파일을 찾을 수 없습니다',
|
||||
],
|
||||
'activate' => [
|
||||
'success' => '템플릿 ":template" 활성화 완료',
|
||||
'not_installed' => '템플릿 ":template"이(가) 설치되지 않았습니다.',
|
||||
'deactivated_previous' => '기존 :type 템플릿 ":previous" 비활성화',
|
||||
],
|
||||
'deactivate' => [
|
||||
'success' => '템플릿 ":template" 비활성화 완료',
|
||||
'not_active' => '템플릿 ":template"이(가) 활성화되지 않았습니다.',
|
||||
'no_active_warning' => '현재 활성화된 :type 템플릿이 없습니다.',
|
||||
],
|
||||
'uninstall' => [
|
||||
'success' => '템플릿 ":template" 삭제 완료',
|
||||
'confirm_prompt' => '템플릿 ":template"을(를) 삭제하시겠습니까?',
|
||||
'confirm_details' => [
|
||||
'layouts' => '- 레이아웃 :count개가 삭제됩니다',
|
||||
'versions' => '- user 타입 템플릿의 경우 버전 히스토리도 삭제됩니다',
|
||||
],
|
||||
'confirm_question' => '계속하시겠습니까?',
|
||||
'layouts_deleted' => '레이아웃 :count개 삭제됨',
|
||||
'versions_deleted' => '버전 히스토리 :count개 삭제됨',
|
||||
'aborted' => '삭제가 취소되었습니다.',
|
||||
],
|
||||
'list' => [
|
||||
'no_templates' => '등록된 템플릿이 없습니다.',
|
||||
'invalid_type' => '잘못된 타입입니다. admin 또는 user만 사용 가능합니다.',
|
||||
'invalid_status' => '잘못된 상태입니다. installed, uninstalled, active, inactive만 사용 가능합니다.',
|
||||
'headers' => [
|
||||
'identifier' => '식별자',
|
||||
'name' => '이름',
|
||||
'type' => '타입',
|
||||
'version' => '버전',
|
||||
'status' => '상태',
|
||||
],
|
||||
'status' => [
|
||||
'uninstalled' => '미설치',
|
||||
],
|
||||
'summary' => '총 :total개 템플릿 (설치됨: :installed개, 활성: :active개)',
|
||||
],
|
||||
'cache_clear' => [
|
||||
'clearing_single' => '템플릿 ":template" 캐시 삭제 중...',
|
||||
'clearing_all' => '모든 템플릿 캐시 삭제 중...',
|
||||
'success_single' => '템플릿 ":template" 캐시 :count개 삭제 완료',
|
||||
'success_all' => '전체 템플릿 캐시 :count개 삭제 완료',
|
||||
],
|
||||
'check_updates' => [
|
||||
'not_installed' => '템플릿 ":template"이(가) 설치되지 않았습니다.',
|
||||
'no_installed' => '설치된 템플릿이 없습니다.',
|
||||
'update_available' => '업데이트 가능',
|
||||
'up_to_date' => '최신',
|
||||
'headers' => [
|
||||
'identifier' => '식별자',
|
||||
'current_version' => '현재 버전',
|
||||
'latest_version' => '최신 버전',
|
||||
'source' => '소스',
|
||||
'status' => '상태',
|
||||
],
|
||||
'summary' => '총 :total개 확인 (업데이트 가능: :updates개)',
|
||||
'single_up_to_date' => '템플릿 ":template"은(는) 최신 버전입니다. (v:version)',
|
||||
'single_update_available' => '템플릿 ":template" 업데이트 가능: v:current → v:latest (:source)',
|
||||
],
|
||||
'update' => [
|
||||
'success' => '템플릿 ":template" 업데이트 완료',
|
||||
'version_change' => 'v:from → v:to',
|
||||
'no_update' => '템플릿 ":template"에 사용 가능한 업데이트가 없습니다.',
|
||||
'not_installed' => '템플릿 ":template"이(가) 설치되지 않았습니다.',
|
||||
'invalid_strategy' => '잘못된 레이아웃 전략입니다. overwrite 또는 keep만 사용 가능합니다.',
|
||||
'current_version' => '현재 버전: :version',
|
||||
'latest_version' => '최신 버전: :version',
|
||||
'update_source' => '업데이트 소스: :source',
|
||||
'layout_strategy' => '레이아웃 전략: :strategy',
|
||||
'modified_layouts_warning' => '수정된 레이아웃 :count개가 덮어씌워집니다:',
|
||||
'modified_layout_item' => ' - :name (수정일: :date)',
|
||||
'confirm_question' => '업데이트를 진행하시겠습니까?',
|
||||
'aborted' => '업데이트가 취소되었습니다.',
|
||||
'backup_restored' => '백업에서 이전 버전이 복원되었습니다.',
|
||||
'force_mode' => '강제 업데이트 모드: 버전 비교를 건너뛰고 재설치합니다.',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 테마 관련 메시지
|
||||
'not_found' => '활성 테마를 찾을 수 없습니다.',
|
||||
'retrieved' => '테마 정보를 성공적으로 가져왔습니다.',
|
||||
'list_retrieved' => '테마 목록을 성공적으로 가져왔습니다.',
|
||||
'config_retrieved' => '테마 설정을 성공적으로 가져왔습니다.',
|
||||
'assets_retrieved' => '테마 에셋 정보를 성공적으로 가져왔습니다.',
|
||||
'assets_failed' => '테마 에셋 정보를 가져오는데 실패했습니다.',
|
||||
'asset_list_retrieved' => '테마 에셋 목록을 성공적으로 가져왔습니다.',
|
||||
'list_failed' => '테마 목록을 가져오는데 실패했습니다.',
|
||||
'installed' => '테마가 성공적으로 설치되었습니다.',
|
||||
'install_failed' => '테마 설치에 실패했습니다.',
|
||||
'install_error' => '테마 설치 중 오류가 발생했습니다.',
|
||||
'activated' => '테마가 성공적으로 활성화되었습니다.',
|
||||
'activate_failed' => '테마 활성화에 실패했습니다.',
|
||||
'activate_error' => '테마 활성화 중 오류가 발생했습니다.',
|
||||
'deactivated' => '테마가 성공적으로 비활성화되었습니다.',
|
||||
'deactivate_failed' => '테마 비활성화에 실패했습니다.',
|
||||
'deactivate_error' => '테마 비활성화 중 오류가 발생했습니다.',
|
||||
'uninstalled' => '테마가 성공적으로 제거되었습니다.',
|
||||
'uninstall_failed' => '테마 제거에 실패했습니다.',
|
||||
'uninstall_error' => '테마 제거 중 오류가 발생했습니다.',
|
||||
'active_theme_retrieved' => '활성화된 테마 정보를 성공적으로 가져왔습니다.',
|
||||
'active_theme_failed' => '활성화된 테마 정보를 가져오는데 실패했습니다.',
|
||||
];
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'not_found' => '테마를 찾을 수 없습니다: :theme',
|
||||
'name_required' => '테마명은 필수입니다.',
|
||||
'name_string' => '테마명은 문자열이어야 합니다.',
|
||||
'name_max' => '테마명은 255자를 초과할 수 없습니다.',
|
||||
'type_required' => '테마 타입은 필수입니다.',
|
||||
'type_invalid' => '테마 타입은 core 또는 module이어야 합니다.',
|
||||
'target_required' => '테마 타겟은 필수입니다.',
|
||||
'target_invalid' => '테마 타겟은 admin 또는 user이어야 합니다.',
|
||||
'module_name_required' => '모듈 테마의 경우 모듈명이 필요합니다.',
|
||||
'module_name_string' => '모듈명은 문자열이어야 합니다.',
|
||||
'module_name_max' => '모듈명은 255자를 초과할 수 없습니다.',
|
||||
'cannot_uninstall_active' => '활성화된 테마는 제거할 수 없습니다.',
|
||||
];
|
||||
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 상태 라벨
|
||||
'status' => [
|
||||
'active' => '활성',
|
||||
'inactive' => '비활성',
|
||||
'blocked' => '차단',
|
||||
'withdrawn' => '탈퇴',
|
||||
],
|
||||
|
||||
// 언어 라벨
|
||||
'language' => [
|
||||
'ko' => '한국어',
|
||||
'en' => 'English',
|
||||
],
|
||||
|
||||
// 사용자 관리 메시지
|
||||
'not_found' => '사용자를 찾을 수 없습니다.',
|
||||
'withdrawn_user' => '탈퇴한 사용자',
|
||||
'fetch_success' => '사용자 정보를 성공적으로 가져왔습니다.',
|
||||
'fetch_failed' => '사용자 정보를 가져오는데 실패했습니다.',
|
||||
'create_success' => '사용자가 성공적으로 생성되었습니다.',
|
||||
'create_failed' => '사용자 생성에 실패했습니다: :error',
|
||||
'update_success' => '사용자 정보가 성공적으로 업데이트되었습니다.',
|
||||
'update_failed' => '사용자 정보 업데이트에 실패했습니다: :error',
|
||||
'delete_success' => '사용자가 성공적으로 삭제되었습니다.',
|
||||
'delete_failed' => '사용자 삭제에 실패했습니다: :error',
|
||||
'delete_admin_forbidden' => '관리자 계정은 삭제할 수 없습니다.',
|
||||
'statistics_success' => '사용자 통계를 성공적으로 가져왔습니다.',
|
||||
'statistics_failed' => '사용자 통계를 가져오는데 실패했습니다.',
|
||||
'search_success' => '사용자 검색을 성공적으로 완료했습니다.',
|
||||
'search_failed' => '사용자 검색에 실패했습니다.',
|
||||
'search_name_required' => '검색할 이름을 입력해주세요.',
|
||||
'search_keyword_required' => '검색 키워드를 입력해주세요.',
|
||||
'email_available' => '사용 가능한 이메일입니다.',
|
||||
'email_unavailable' => '이미 사용 중인 이메일입니다.',
|
||||
'email_required' => '이메일을 입력해주세요.',
|
||||
'email_check_failed' => '이메일 중복 확인에 실패했습니다.',
|
||||
'profile_success' => '프로필 정보를 성공적으로 가져왔습니다.',
|
||||
'profile_failed' => '프로필 정보를 가져오는데 실패했습니다.',
|
||||
'language_update_success' => '언어 설정이 성공적으로 변경되었습니다.',
|
||||
'language_update_failed' => '언어 설정 변경에 실패했습니다.',
|
||||
'invalid_language' => '지원하지 않는 언어입니다.',
|
||||
'activity_log_success' => '활동 기록을 성공적으로 가져왔습니다.',
|
||||
'activity_log_failed' => '활동 기록을 가져오는데 실패했습니다.',
|
||||
'bulk_status_updated' => ':count명의 사용자 상태가 변경되었습니다.',
|
||||
'bulk_update_status_failed' => '사용자 상태 일괄 변경에 실패했습니다.',
|
||||
'last_admin_role_cannot_remove' => '시스템에 관리자 역할을 가진 사용자가 본인뿐이므로 관리자 역할을 제거할 수 없습니다.',
|
||||
|
||||
// 아바타 관련 메시지
|
||||
'avatar_upload_success' => '프로필 이미지가 성공적으로 업로드되었습니다.',
|
||||
'avatar_upload_failed' => '프로필 이미지 업로드에 실패했습니다.',
|
||||
'avatar_delete_success' => '프로필 이미지가 성공적으로 삭제되었습니다.',
|
||||
'avatar_delete_failed' => '프로필 이미지 삭제에 실패했습니다.',
|
||||
'avatar_not_found' => '삭제할 프로필 이미지가 없습니다.',
|
||||
|
||||
// 마케팅 수신 동의 관련 메시지
|
||||
'marketing_consent_update_success' => '마케팅 수신 설정이 성공적으로 변경되었습니다.',
|
||||
'marketing_consent_update_failed' => '마케팅 수신 설정 변경에 실패했습니다.',
|
||||
|
||||
// 비밀번호 확인 관련 메시지
|
||||
'password_verified' => '비밀번호가 확인되었습니다.',
|
||||
'password_incorrect' => '비밀번호가 일치하지 않습니다.',
|
||||
'password_verify_failed' => '비밀번호 확인에 실패했습니다.',
|
||||
|
||||
// 비밀번호 변경 관련 메시지
|
||||
'password_change_success' => '비밀번호가 성공적으로 변경되었습니다.',
|
||||
'password_change_failed' => '비밀번호 변경에 실패했습니다.',
|
||||
|
||||
// 회원 탈퇴 관련 메시지
|
||||
'withdraw_success' => '회원 탈퇴가 완료되었습니다.',
|
||||
'withdraw_failed' => '회원 탈퇴에 실패했습니다: :error',
|
||||
'withdraw_admin_forbidden' => '관리자 계정은 탈퇴할 수 없습니다.',
|
||||
|
||||
// 유효성 검사 메시지
|
||||
'validation' => [
|
||||
'page_integer' => '페이지 번호는 숫자여야 합니다.',
|
||||
'page_min' => '페이지 번호는 1 이상이어야 합니다.',
|
||||
'per_page_integer' => '페이지당 항목 수는 숫자여야 합니다.',
|
||||
'per_page_min' => '페이지당 항목 수는 1 이상이어야 합니다.',
|
||||
'per_page_max' => '페이지당 항목 수는 100 이하여야 합니다.',
|
||||
'search_string' => '검색어는 문자열이어야 합니다.',
|
||||
'search_max' => '검색어는 255자 이하여야 합니다.',
|
||||
'search_field_invalid' => '유효하지 않은 검색 필드입니다.',
|
||||
'start_date_invalid' => '시작 날짜 형식이 올바르지 않습니다.',
|
||||
'end_date_invalid' => '종료 날짜 형식이 올바르지 않습니다.',
|
||||
'end_date_after_start' => '종료 날짜는 시작 날짜보다 늦어야 합니다.',
|
||||
'date_filter_invalid' => '유효하지 않은 날짜 필터입니다.',
|
||||
'sort_by_invalid' => '유효하지 않은 정렬 필드입니다.',
|
||||
'sort_order_invalid' => '유효하지 않은 정렬 순서입니다.',
|
||||
'name_required' => '이름은 필수입니다.',
|
||||
'name_string' => '이름은 문자열이어야 합니다.',
|
||||
'name_max' => '이름은 255자 이하여야 합니다.',
|
||||
'nickname_string' => '닉네임은 문자열이어야 합니다.',
|
||||
'nickname_max' => '닉네임은 50자 이하여야 합니다.',
|
||||
'email_required' => '이메일은 필수입니다.',
|
||||
'email_invalid' => '올바른 이메일 형식이 아닙니다.',
|
||||
'email_unique' => '이미 사용 중인 이메일입니다.',
|
||||
'email_max' => '이메일은 255자 이하여야 합니다.',
|
||||
'password_required' => '비밀번호는 필수입니다.',
|
||||
'password_confirmed' => '비밀번호 확인이 일치하지 않습니다.',
|
||||
'password_min' => '비밀번호는 최소 8자 이상이어야 합니다.',
|
||||
'current_password_required' => '현재 비밀번호를 입력해주세요.',
|
||||
'current_password_invalid' => '현재 비밀번호가 올바르지 않습니다.',
|
||||
'password_confirmation_required' => '비밀번호 확인을 입력해주세요.',
|
||||
'language_required' => '언어를 선택해주세요.',
|
||||
'language_invalid' => '지원하지 않는 언어입니다.',
|
||||
'country_required' => '국가를 선택해주세요.',
|
||||
'country_size' => '국가 코드는 2자리여야 합니다.',
|
||||
'country_alpha' => '국가 코드는 영문자만 사용 가능합니다.',
|
||||
'timezone_invalid' => '올바른 시간대를 선택해주세요.',
|
||||
'status_invalid' => '유효하지 않은 계정 상태입니다.',
|
||||
'homepage_url' => '올바른 URL 형식이 아닙니다.',
|
||||
'homepage_max' => '홈페이지 주소는 255자 이하여야 합니다.',
|
||||
'mobile_max' => '휴대폰 번호는 20자 이하여야 합니다.',
|
||||
'mobile_regex' => '휴대폰 번호는 숫자, 하이픈, 공백만 입력 가능합니다.',
|
||||
'phone_max' => '전화번호는 20자 이하여야 합니다.',
|
||||
'phone_regex' => '전화번호는 숫자, 하이픈, 공백만 입력 가능합니다.',
|
||||
'avatar_required' => '프로필 이미지를 선택해주세요.',
|
||||
'avatar_image' => '프로필 이미지는 이미지 파일이어야 합니다.',
|
||||
'avatar_mimes' => '프로필 이미지는 JPG, PNG, GIF, WEBP 형식만 가능합니다.',
|
||||
'avatar_max' => '프로필 이미지는 2MB 이하여야 합니다.',
|
||||
'zipcode_max' => '우편번호는 10자 이하여야 합니다.',
|
||||
'address_max' => '기본 주소는 255자 이하여야 합니다.',
|
||||
'address_detail_max' => '상세 주소는 255자 이하여야 합니다.',
|
||||
'signature_max' => '서명은 1000자 이하여야 합니다.',
|
||||
'bio_max' => '자기소개는 5000자 이하여야 합니다.',
|
||||
'admin_memo_max' => '관리자 메모는 5000자 이하여야 합니다.',
|
||||
// 역할 정보
|
||||
'roles_required' => '역할을 하나 이상 선택해주세요.',
|
||||
'roles_min' => '역할을 하나 이상 선택해주세요.',
|
||||
// 다중 검색 조건 관련 메시지
|
||||
'filters_array' => '검색 조건은 배열 형식이어야 합니다.',
|
||||
'filters_max' => '검색 조건은 최대 10개까지 가능합니다.',
|
||||
'filter_field_required' => '검색 필드는 필수입니다.',
|
||||
'filter_field_invalid' => '유효하지 않은 검색 필드입니다.',
|
||||
'filter_value_required' => '검색값은 필수입니다.',
|
||||
'filter_value_max' => '검색값은 255자 이하여야 합니다.',
|
||||
'filter_operator_invalid' => '유효하지 않은 검색 연산자입니다.',
|
||||
'search_name_required' => '검색할 이름을 입력해주세요.',
|
||||
'search_keyword_required' => '검색 키워드를 입력해주세요.',
|
||||
'exclude_user_id_uuid' => '제외할 사용자 ID는 유효한 UUID여야 합니다.',
|
||||
'exclude_user_id_exists' => '존재하지 않는 사용자입니다.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,842 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel 기본 검증 메시지
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Laravel의 기본 검증 규칙에 대한 한국어 메시지입니다.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => ':attribute 필드를 승인해야 합니다.',
|
||||
'accepted_if' => ':other이(가) :value일 때 :attribute 필드를 승인해야 합니다.',
|
||||
'active_url' => ':attribute 필드는 유효한 URL이어야 합니다.',
|
||||
'after' => ':attribute 필드는 :date 이후 날짜여야 합니다.',
|
||||
'after_or_equal' => ':attribute 필드는 :date 이후 또는 같은 날짜여야 합니다.',
|
||||
'alpha' => ':attribute 필드는 문자만 포함해야 합니다.',
|
||||
'alpha_dash' => ':attribute 필드는 문자, 숫자, 대시, 밑줄만 포함해야 합니다.',
|
||||
'alpha_num' => ':attribute 필드는 문자와 숫자만 포함해야 합니다.',
|
||||
'array' => ':attribute 필드는 배열이어야 합니다.',
|
||||
'ascii' => ':attribute 필드는 싱글바이트 영숫자 문자와 기호만 포함해야 합니다.',
|
||||
'before' => ':attribute 필드는 :date 이전 날짜여야 합니다.',
|
||||
'before_or_equal' => ':attribute 필드는 :date 이전 또는 같은 날짜여야 합니다.',
|
||||
'between' => [
|
||||
'array' => ':attribute 필드는 :min ~ :max개의 항목을 포함해야 합니다.',
|
||||
'file' => ':attribute 필드는 :min ~ :max KB 사이여야 합니다.',
|
||||
'numeric' => ':attribute 필드는 :min ~ :max 사이여야 합니다.',
|
||||
'string' => ':attribute 필드는 :min ~ :max자 사이여야 합니다.',
|
||||
],
|
||||
'boolean' => ':attribute 필드는 true 또는 false여야 합니다.',
|
||||
'can' => ':attribute 필드에 허용되지 않은 값이 포함되어 있습니다.',
|
||||
'confirmed' => ':attribute 필드 확인이 일치하지 않습니다.',
|
||||
'contains' => ':attribute 필드에 필수 값이 누락되었습니다.',
|
||||
'current_password' => '비밀번호가 올바르지 않습니다.',
|
||||
'date' => ':attribute 필드는 유효한 날짜여야 합니다.',
|
||||
'date_equals' => ':attribute 필드는 :date와 같은 날짜여야 합니다.',
|
||||
'date_format' => ':attribute 필드는 :format 형식과 일치해야 합니다.',
|
||||
'decimal' => ':attribute 필드는 :decimal 자릿수의 소수점이어야 합니다.',
|
||||
'declined' => ':attribute 필드를 거부해야 합니다.',
|
||||
'declined_if' => ':other이(가) :value일 때 :attribute 필드를 거부해야 합니다.',
|
||||
'different' => ':attribute 필드와 :other은(는) 달라야 합니다.',
|
||||
'digits' => ':attribute 필드는 :digits 자릿수여야 합니다.',
|
||||
'digits_between' => ':attribute 필드는 :min ~ :max 자릿수 사이여야 합니다.',
|
||||
'dimensions' => ':attribute 필드의 이미지 크기가 올바르지 않습니다.',
|
||||
'distinct' => ':attribute 필드에 중복된 값이 있습니다.',
|
||||
'doesnt_end_with' => ':attribute 필드는 다음으로 끝나면 안 됩니다: :values.',
|
||||
'doesnt_start_with' => ':attribute 필드는 다음으로 시작하면 안 됩니다: :values.',
|
||||
'email' => ':attribute 필드는 유효한 이메일 주소여야 합니다.',
|
||||
'ends_with' => ':attribute 필드는 다음 중 하나로 끝나야 합니다: :values.',
|
||||
'enum' => '선택한 :attribute이(가) 올바르지 않습니다.',
|
||||
'exists' => '선택한 :attribute이(가) 올바르지 않습니다.',
|
||||
'extensions' => ':attribute 필드는 다음 확장자 중 하나여야 합니다: :values.',
|
||||
'file' => ':attribute 필드는 파일이어야 합니다.',
|
||||
'filled' => ':attribute 필드에 값이 있어야 합니다.',
|
||||
'gt' => [
|
||||
'array' => ':attribute 필드는 :value개보다 많은 항목을 포함해야 합니다.',
|
||||
'file' => ':attribute 필드는 :value KB보다 커야 합니다.',
|
||||
'numeric' => ':attribute 필드는 :value보다 커야 합니다.',
|
||||
'string' => ':attribute 필드는 :value자보다 길어야 합니다.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => ':attribute 필드는 :value개 이상의 항목을 포함해야 합니다.',
|
||||
'file' => ':attribute 필드는 :value KB 이상이어야 합니다.',
|
||||
'numeric' => ':attribute 필드는 :value 이상이어야 합니다.',
|
||||
'string' => ':attribute 필드는 :value자 이상이어야 합니다.',
|
||||
],
|
||||
'hex_color' => ':attribute 필드는 유효한 16진수 색상이어야 합니다.',
|
||||
'image' => ':attribute 필드는 이미지여야 합니다.',
|
||||
'in' => '선택한 :attribute이(가) 올바르지 않습니다.',
|
||||
'in_array' => ':attribute 필드는 :other에 존재해야 합니다.',
|
||||
'integer' => ':attribute 필드는 정수여야 합니다.',
|
||||
'ip' => ':attribute 필드는 유효한 IP 주소여야 합니다.',
|
||||
'ipv4' => ':attribute 필드는 유효한 IPv4 주소여야 합니다.',
|
||||
'ipv6' => ':attribute 필드는 유효한 IPv6 주소여야 합니다.',
|
||||
'json' => ':attribute 필드는 유효한 JSON 문자열이어야 합니다.',
|
||||
'list' => ':attribute 필드는 목록이어야 합니다.',
|
||||
'lowercase' => ':attribute 필드는 소문자여야 합니다.',
|
||||
'lt' => [
|
||||
'array' => ':attribute 필드는 :value개보다 적은 항목을 포함해야 합니다.',
|
||||
'file' => ':attribute 필드는 :value KB보다 작아야 합니다.',
|
||||
'numeric' => ':attribute 필드는 :value보다 작아야 합니다.',
|
||||
'string' => ':attribute 필드는 :value자보다 짧아야 합니다.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => ':attribute 필드는 :value개를 초과하면 안 됩니다.',
|
||||
'file' => ':attribute 필드는 :value KB 이하여야 합니다.',
|
||||
'numeric' => ':attribute 필드는 :value 이하여야 합니다.',
|
||||
'string' => ':attribute 필드는 :value자 이하여야 합니다.',
|
||||
],
|
||||
'mac_address' => ':attribute 필드는 유효한 MAC 주소여야 합니다.',
|
||||
'max' => [
|
||||
'array' => ':attribute 필드는 :max개를 초과하면 안 됩니다.',
|
||||
'file' => ':attribute 필드는 :max KB를 초과하면 안 됩니다.',
|
||||
'numeric' => ':attribute 필드는 :max를 초과하면 안 됩니다.',
|
||||
'string' => ':attribute 필드는 :max자를 초과하면 안 됩니다.',
|
||||
],
|
||||
'max_digits' => ':attribute 필드는 :max 자릿수를 초과하면 안 됩니다.',
|
||||
'mimes' => ':attribute 필드는 다음 유형의 파일이어야 합니다: :values.',
|
||||
'mimetypes' => ':attribute 필드는 다음 유형의 파일이어야 합니다: :values.',
|
||||
'min' => [
|
||||
'array' => ':attribute 필드는 최소 :min개 이상이어야 합니다.',
|
||||
'file' => ':attribute 필드는 최소 :min KB 이상이어야 합니다.',
|
||||
'numeric' => ':attribute 필드는 최소 :min 이상이어야 합니다.',
|
||||
'string' => ':attribute 필드는 최소 :min자 이상이어야 합니다.',
|
||||
],
|
||||
'min_digits' => ':attribute 필드는 최소 :min 자릿수 이상이어야 합니다.',
|
||||
'missing' => ':attribute 필드가 없어야 합니다.',
|
||||
'missing_if' => ':other이(가) :value일 때 :attribute 필드가 없어야 합니다.',
|
||||
'missing_unless' => ':other이(가) :value이(가) 아닌 경우 :attribute 필드가 없어야 합니다.',
|
||||
'missing_with' => ':values이(가) 있을 때 :attribute 필드가 없어야 합니다.',
|
||||
'missing_with_all' => ':values이(가) 모두 있을 때 :attribute 필드가 없어야 합니다.',
|
||||
'multiple_of' => ':attribute 필드는 :value의 배수여야 합니다.',
|
||||
'not_in' => '선택한 :attribute이(가) 올바르지 않습니다.',
|
||||
'not_regex' => ':attribute 필드 형식이 올바르지 않습니다.',
|
||||
'numeric' => ':attribute 필드는 숫자여야 합니다.',
|
||||
'password' => [
|
||||
'letters' => ':attribute 필드는 최소 하나의 문자를 포함해야 합니다.',
|
||||
'mixed' => ':attribute 필드는 최소 하나의 대문자와 소문자를 포함해야 합니다.',
|
||||
'numbers' => ':attribute 필드는 최소 하나의 숫자를 포함해야 합니다.',
|
||||
'symbols' => ':attribute 필드는 최소 하나의 기호를 포함해야 합니다.',
|
||||
'uncompromised' => '주어진 :attribute이(가) 데이터 유출에 나타났습니다. 다른 :attribute을(를) 선택해 주세요.',
|
||||
],
|
||||
'present' => ':attribute 필드가 있어야 합니다.',
|
||||
'present_if' => ':other이(가) :value일 때 :attribute 필드가 있어야 합니다.',
|
||||
'present_unless' => ':other이(가) :value이(가) 아닌 경우 :attribute 필드가 있어야 합니다.',
|
||||
'present_with' => ':values이(가) 있을 때 :attribute 필드가 있어야 합니다.',
|
||||
'present_with_all' => ':values이(가) 모두 있을 때 :attribute 필드가 있어야 합니다.',
|
||||
'prohibited' => ':attribute 필드는 금지되어 있습니다.',
|
||||
'prohibited_if' => ':other이(가) :value일 때 :attribute 필드는 금지되어 있습니다.',
|
||||
'prohibited_unless' => ':other이(가) :values에 없는 경우 :attribute 필드는 금지되어 있습니다.',
|
||||
'prohibits' => ':attribute 필드는 :other이(가) 존재하는 것을 금지합니다.',
|
||||
'regex' => ':attribute 필드 형식이 올바르지 않습니다.',
|
||||
'required' => ':attribute 필드는 필수입니다.',
|
||||
'required_array_keys' => ':attribute 필드는 다음 항목을 포함해야 합니다: :values.',
|
||||
'required_if' => ':other이(가) :value일 때 :attribute 필드는 필수입니다.',
|
||||
'required_if_accepted' => ':other이(가) 승인되면 :attribute 필드는 필수입니다.',
|
||||
'required_if_declined' => ':other이(가) 거부되면 :attribute 필드는 필수입니다.',
|
||||
'required_unless' => ':other이(가) :values에 없는 경우 :attribute 필드는 필수입니다.',
|
||||
'required_with' => ':values이(가) 있을 때 :attribute 필드는 필수입니다.',
|
||||
'required_with_all' => ':values이(가) 모두 있을 때 :attribute 필드는 필수입니다.',
|
||||
'required_without' => ':values이(가) 없을 때 :attribute 필드는 필수입니다.',
|
||||
'required_without_all' => ':values이(가) 모두 없을 때 :attribute 필드는 필수입니다.',
|
||||
'same' => ':attribute 필드와 :other이(가) 일치해야 합니다.',
|
||||
'size' => [
|
||||
'array' => ':attribute 필드는 :size개의 항목을 포함해야 합니다.',
|
||||
'file' => ':attribute 필드는 :size KB여야 합니다.',
|
||||
'numeric' => ':attribute 필드는 :size여야 합니다.',
|
||||
'string' => ':attribute 필드는 :size자여야 합니다.',
|
||||
],
|
||||
'starts_with' => ':attribute 필드는 다음 중 하나로 시작해야 합니다: :values.',
|
||||
'string' => ':attribute 필드는 문자열이어야 합니다.',
|
||||
'timezone' => ':attribute 필드는 유효한 시간대여야 합니다.',
|
||||
'unique' => ':attribute은(는) 이미 사용 중입니다.',
|
||||
'uploaded' => ':attribute 업로드에 실패했습니다.',
|
||||
'uppercase' => ':attribute 필드는 대문자여야 합니다.',
|
||||
'url' => ':attribute 필드는 유효한 URL이어야 합니다.',
|
||||
'ulid' => ':attribute 필드는 유효한 ULID여야 합니다.',
|
||||
'uuid' => ':attribute 필드는 유효한 UUID여야 합니다.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 프로젝트 검증 메시지
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// 레이아웃 구조 검증 메시지
|
||||
'layout' => [
|
||||
'invalid_json' => '유효하지 않은 JSON 형식입니다.',
|
||||
'must_be_array' => '레이아웃 데이터는 배열이어야 합니다.',
|
||||
'required_field_missing' => "필수 필드 ':field'가 누락되었습니다.",
|
||||
'version_must_be_string' => 'version 필드는 문자열이어야 합니다.',
|
||||
'layout_name_must_be_string' => 'layout_name 필드는 문자열이어야 합니다.',
|
||||
'components_must_be_array' => 'components 필드는 배열이어야 합니다.',
|
||||
'components_or_slots_required' => '상속 레이아웃은 components 또는 slots 중 하나가 필요합니다.',
|
||||
'component_must_be_array' => 'components[:index]는 배열이어야 합니다.',
|
||||
'max_depth_exceeded' => '컴포넌트 중첩 깊이가 최대 허용 깊이(:max)를 초과했습니다.',
|
||||
'component_required_field_missing' => "components[:index]에 필수 필드 ':field'가 누락되었습니다.",
|
||||
'component_field_must_be_string' => 'components[:index].component는 문자열이어야 합니다.',
|
||||
'component_name_must_be_string' => 'components[:index].name은 문자열이어야 합니다.',
|
||||
'component_type_invalid' => 'components[:index].type은 basic, composite, layout 중 하나여야 합니다.',
|
||||
'props_must_be_object' => 'components[:index].props는 객체(배열)여야 합니다.',
|
||||
'children_must_be_array' => 'components[:index].children은 배열이어야 합니다.',
|
||||
'permissions_must_be_array' => 'components[:index].permissions는 배열이어야 합니다.',
|
||||
'permissions_must_be_array_or_object' => 'permissions는 배열 또는 구조화 객체(or/and)여야 합니다.',
|
||||
'permissions_invalid_operator' => 'permissions 구조에서 유효한 연산자는 "or" 또는 "and"만 허용됩니다. 키는 정확히 1개여야 합니다.',
|
||||
'permissions_operator_must_be_array' => 'permissions의 ":operator" 연산자 값은 배열이어야 합니다.',
|
||||
'permissions_operator_min_items' => 'permissions의 ":operator" 연산자에는 최소 :min개 항목이 필요합니다.',
|
||||
'permissions_max_depth_exceeded' => 'permissions 구조의 최대 중첩 깊이(:max)를 초과했습니다.',
|
||||
'permission_must_be_string' => 'components[:index].permissions[:perm_index]는 문자열이어야 합니다.',
|
||||
'permission_must_be_string_or_group' => 'permissions의 항목[:index]은 문자열(권한 식별자) 또는 구조화 객체(or/and)여야 합니다.',
|
||||
'permission_invalid_format' => 'components[:index].permissions의 ":permission"은 올바른 권한 식별자 형식이 아닙니다.',
|
||||
'actions_must_be_array' => 'components[:index].actions는 배열이어야 합니다.',
|
||||
'action_must_be_array' => 'components[:index].actions[:actionIndex]는 배열이어야 합니다.',
|
||||
'action_type_missing' => "components[:index].actions[:actionIndex]에 필수 필드 'type'이 누락되었습니다.",
|
||||
'action_type_or_event_missing' => "components[:index].actions[:actionIndex]에 'type' 또는 'event' 중 하나가 필요합니다.",
|
||||
'action_type_must_be_string' => 'components[:index].actions[:actionIndex].type은 문자열이어야 합니다.',
|
||||
'action_event_must_be_string' => 'components[:index].actions[:actionIndex].event는 문자열이어야 합니다.',
|
||||
// UpdateLayoutRequest 검증 메시지
|
||||
'content' => [
|
||||
'required' => '레이아웃 content가 필요합니다.',
|
||||
'array' => '레이아웃 content는 배열이어야 합니다.',
|
||||
],
|
||||
'version' => [
|
||||
'required' => '레이아웃 버전이 필요합니다.',
|
||||
'string' => '레이아웃 버전은 문자열이어야 합니다.',
|
||||
],
|
||||
'layout_name' => [
|
||||
'required' => '레이아웃 이름이 필요합니다.',
|
||||
'string' => '레이아웃 이름은 문자열이어야 합니다.',
|
||||
'max' => '레이아웃 이름은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'endpoint' => [
|
||||
'required' => 'API 엔드포인트가 필요합니다.',
|
||||
'string' => 'API 엔드포인트는 문자열이어야 합니다.',
|
||||
],
|
||||
'extends' => [
|
||||
'string' => 'extends는 문자열이어야 합니다.',
|
||||
],
|
||||
'slots' => [
|
||||
'array' => 'slots는 배열이어야 합니다.',
|
||||
],
|
||||
'components' => [
|
||||
'required' => '컴포넌트 배열이 필요합니다.',
|
||||
'array' => 'components 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'data_sources' => [
|
||||
'array' => 'data_sources 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'metadata' => [
|
||||
'array' => 'metadata 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'meta' => [
|
||||
'array' => 'meta 필드는 배열이어야 합니다.',
|
||||
'title' => [
|
||||
'string' => 'meta.title은 문자열이어야 합니다.',
|
||||
],
|
||||
'description' => [
|
||||
'string' => 'meta.description은 문자열이어야 합니다.',
|
||||
],
|
||||
'auth_required' => [
|
||||
'boolean' => 'meta.auth_required는 불린이어야 합니다.',
|
||||
],
|
||||
'is_base' => [
|
||||
'boolean' => 'meta.is_base는 불린이어야 합니다.',
|
||||
],
|
||||
],
|
||||
'modals' => [
|
||||
'array' => 'modals 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'state' => [
|
||||
'array' => 'state 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'init_actions' => [
|
||||
'array' => 'init_actions 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'defines' => [
|
||||
'array' => 'defines 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'init_state' => [
|
||||
'array' => 'init_state 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'routes' => [
|
||||
'array' => 'routes 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'computed' => [
|
||||
'array' => 'computed 필드는 배열이어야 합니다.',
|
||||
],
|
||||
'permissions' => [
|
||||
'array' => 'permissions 필드는 배열이어야 합니다.',
|
||||
'string' => '각 권한 식별자는 문자열이어야 합니다.',
|
||||
'regex' => '권한 식별자 형식이 올바르지 않습니다. (예: module.entity.action)',
|
||||
],
|
||||
'globalHeaders' => [
|
||||
'array' => 'globalHeaders 필드는 배열이어야 합니다.',
|
||||
'pattern' => [
|
||||
'required' => '각 globalHeaders 규칙에는 pattern 필드가 필요합니다.',
|
||||
'string' => 'globalHeaders pattern은 문자열이어야 합니다.',
|
||||
],
|
||||
'headers' => [
|
||||
'required' => '각 globalHeaders 규칙에는 headers 필드가 필요합니다.',
|
||||
'array' => 'globalHeaders headers는 배열이어야 합니다.',
|
||||
'string' => '헤더 값은 문자열이어야 합니다.',
|
||||
],
|
||||
],
|
||||
'transition_overlay' => [
|
||||
'enabled' => [
|
||||
'boolean' => '전환 오버레이 활성화는 true 또는 false 값이어야 합니다.',
|
||||
],
|
||||
'style' => [
|
||||
'string' => '전환 오버레이 스타일은 문자열이어야 합니다.',
|
||||
'in' => '전환 오버레이 스타일은 opaque, blur, fade, skeleton 중 하나여야 합니다.',
|
||||
],
|
||||
'target' => [
|
||||
'string' => '전환 오버레이 타겟은 문자열이어야 합니다.',
|
||||
'max' => '전환 오버레이 타겟은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'fallback_target' => [
|
||||
'string' => '전환 오버레이 대체 타겟은 문자열이어야 합니다.',
|
||||
'max' => '전환 오버레이 대체 타겟은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'skeleton' => [
|
||||
'array' => '스켈레톤 설정은 배열이어야 합니다.',
|
||||
'component' => [
|
||||
'string' => '스켈레톤 컴포넌트 이름은 문자열이어야 합니다.',
|
||||
'max' => '스켈레톤 컴포넌트 이름은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'animation' => [
|
||||
'string' => '스켈레톤 애니메이션은 문자열이어야 합니다.',
|
||||
'in' => '스켈레톤 애니메이션은 pulse, wave, none 중 하나여야 합니다.',
|
||||
],
|
||||
'iteration_count' => [
|
||||
'integer' => '스켈레톤 반복 횟수는 정수여야 합니다.',
|
||||
'min' => '스켈레톤 반복 횟수는 최소 :min이어야 합니다.',
|
||||
'max' => '스켈레톤 반복 횟수는 최대 :max를 초과할 수 없습니다.',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
// API 엔드포인트 검증 메시지
|
||||
'endpoint' => [
|
||||
'must_be_string' => 'API 엔드포인트는 문자열이어야 합니다.',
|
||||
'external_url_not_allowed' => '외부 URL은 허용되지 않습니다.',
|
||||
'not_whitelisted' => '허용되지 않은 API 엔드포인트입니다. 허용된 패턴: :pattern',
|
||||
'path_traversal_detected' => '경로 트래버설 공격이 감지되었습니다.',
|
||||
],
|
||||
|
||||
// 외부 URL 차단 검증 메시지
|
||||
'external_url' => [
|
||||
'detected_in_props' => 'props에서 외부 URL이 감지되었습니다: :url',
|
||||
'detected_in_actions' => 'actions에서 외부 URL이 감지되었습니다: :url',
|
||||
'http_not_allowed' => 'HTTP 프로토콜 URL은 허용되지 않습니다.',
|
||||
'https_not_allowed' => 'HTTPS 프로토콜 URL은 허용되지 않습니다.',
|
||||
'data_uri_not_allowed' => 'Data URI 스킴은 허용되지 않습니다.',
|
||||
'javascript_uri_not_allowed' => 'JavaScript URI 스킴은 허용되지 않습니다.',
|
||||
'dangerous_scheme_detected' => '위험한 URI 스킴이 감지되었습니다: :scheme',
|
||||
],
|
||||
|
||||
// 컴포넌트 존재 여부 검증 메시지
|
||||
'component' => [
|
||||
'template_id_required' => '컴포넌트 검증을 위해서는 template_id가 필요합니다.',
|
||||
'manifest_not_found' => '템플릿 :templateId의 컴포넌트 매니페스트(components.json)를 찾을 수 없습니다.',
|
||||
'name_empty' => 'components[:index].component 이름은 비어있을 수 없습니다.',
|
||||
'not_found' => "컴포넌트 ':component'는 템플릿에 등록되지 않았습니다. (components[:index])",
|
||||
],
|
||||
|
||||
// FormRequest 필드 검증 메시지
|
||||
'request' => [
|
||||
'template_id' => [
|
||||
'required' => '템플릿 ID는 필수입니다.',
|
||||
'integer' => '템플릿 ID는 정수여야 합니다.',
|
||||
'exists' => '존재하지 않는 템플릿입니다.',
|
||||
],
|
||||
'layout_name' => [
|
||||
'required' => '레이아웃 이름은 필수입니다.',
|
||||
'string' => '레이아웃 이름은 문자열이어야 합니다.',
|
||||
'max' => '레이아웃 이름은 :max자를 초과할 수 없습니다.',
|
||||
'unique' => '이미 존재하는 레이아웃 이름입니다.',
|
||||
],
|
||||
'content' => [
|
||||
'required' => '레이아웃 내용은 필수입니다.',
|
||||
'array' => '레이아웃 내용은 배열(객체)이어야 합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 레이아웃 상속 검증 메시지
|
||||
'layout_inheritance' => [
|
||||
// 부모 레이아웃 검증
|
||||
'parent_not_found' => '부모 레이아웃 ":parent"를 찾을 수 없습니다.',
|
||||
'parent_not_in_same_template' => '부모 레이아웃은 같은 템플릿 내에 있어야 합니다.',
|
||||
'circular_reference' => '레이아웃 순환 참조가 감지되었습니다: :trace',
|
||||
'max_depth_exceeded' => '레이아웃 상속 깊이가 최대 허용 깊이(:max)를 초과했습니다.',
|
||||
'extends_must_be_string' => 'extends 필드는 문자열이어야 합니다.',
|
||||
|
||||
// 슬롯 검증
|
||||
'slots_must_be_object' => 'slots 필드는 객체여야 합니다.',
|
||||
'slot_name_must_be_string' => '슬롯 이름은 문자열이어야 합니다.',
|
||||
'slot_value_must_be_array' => 'slots[:slotName]은 배열이어야 합니다.',
|
||||
'slot_not_defined_in_parent' => '슬롯 ":slotName"은 부모 레이아웃에 정의되지 않았습니다.',
|
||||
'parent_has_no_slots' => '부모 레이아웃에는 슬롯이 정의되지 않았습니다.',
|
||||
|
||||
// 데이터 소스 병합 검증
|
||||
'data_source_id_duplicate' => 'data_sources에 중복된 ID ":id"가 있습니다.',
|
||||
'data_sources_must_be_array' => 'data_sources는 배열이어야 합니다.',
|
||||
'data_source_must_have_id' => 'data_sources[:index]에 필수 필드 "id"가 누락되었습니다.',
|
||||
'data_source_id_must_be_string' => 'data_sources[:index].id는 문자열이어야 합니다.',
|
||||
],
|
||||
|
||||
// 다국어 필드 검증 메시지
|
||||
'translatable' => [
|
||||
'must_be_array' => '다국어 필드는 배열이어야 합니다.',
|
||||
'unsupported_language' => "지원되지 않는 언어 코드입니다: ':lang'",
|
||||
'must_be_string' => "':lang' 번역은 문자열이어야 합니다.",
|
||||
'max_length' => "':lang' 번역은 :max자를 초과할 수 없습니다.",
|
||||
'min_length' => "':lang' 번역은 최소 :min자 이상이어야 합니다.",
|
||||
'at_least_one_required' => '최소 하나의 언어로 번역이 필요합니다.',
|
||||
'current_locale_required' => ':locale 언어의 값은 필수입니다.',
|
||||
],
|
||||
|
||||
// 템플릿 검증 메시지
|
||||
'template' => [
|
||||
'type' => [
|
||||
'in' => 'type 파라미터는 user 또는 admin만 가능합니다.',
|
||||
],
|
||||
'description' => [
|
||||
'string' => '템플릿 설명은 문자열이어야 합니다.',
|
||||
'max' => '템플릿 설명은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'metadata' => [
|
||||
'array' => 'metadata는 배열이어야 합니다.',
|
||||
],
|
||||
'status' => [
|
||||
'in' => 'status는 active 또는 inactive여야 합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 메뉴 검증 메시지
|
||||
'menu' => [
|
||||
'name' => [
|
||||
'required' => '메뉴 이름을 입력해주세요.',
|
||||
],
|
||||
'slug' => [
|
||||
'required' => '슬러그를 입력해주세요.',
|
||||
'unique' => '이미 사용 중인 슬러그입니다.',
|
||||
'max' => '슬러그는 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'url' => [
|
||||
'required' => '경로(URL)를 입력해주세요.',
|
||||
'max' => 'URL은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'icon' => [
|
||||
'max' => '아이콘은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'order' => [
|
||||
'integer' => '순서는 정수여야 합니다.',
|
||||
'min' => '순서는 :min 이상이어야 합니다.',
|
||||
],
|
||||
'parent_id' => [
|
||||
'exists' => '존재하지 않는 부모 메뉴입니다.',
|
||||
],
|
||||
'is_active' => [
|
||||
'boolean' => '활성화 상태는 true 또는 false 값이어야 합니다.',
|
||||
],
|
||||
'extension_type' => [
|
||||
'in' => '확장 타입은 core, module, plugin 중 하나여야 합니다.',
|
||||
],
|
||||
'extension_identifier' => [
|
||||
'max' => '확장 식별자는 최대 255자까지 입력 가능합니다.',
|
||||
'must_be_string' => '확장 식별자는 문자열이어야 합니다.',
|
||||
'min_parts' => '확장 식별자는 vendor-name 형식이어야 합니다 (예: sirsoft-board).',
|
||||
'empty_part' => '확장 식별자에 빈 부분이 있습니다. 하이픈이 연속되거나 양끝에 올 수 없습니다.',
|
||||
'invalid_characters' => '확장 식별자는 영문 소문자, 숫자, 언더스코어(_)만 사용할 수 있습니다.',
|
||||
'empty_word' => '확장 식별자에서 언더스코어가 연속되거나 양끝에 올 수 없습니다.',
|
||||
'word_starts_with_digit' => '확장 식별자의 각 단어는 숫자로 시작할 수 없습니다.',
|
||||
],
|
||||
'parent_menus' => [
|
||||
'required' => '부모 메뉴 순서 배열은 필수입니다.',
|
||||
'array' => '부모 메뉴 순서는 배열이어야 합니다.',
|
||||
'min' => '최소 1개 이상의 부모 메뉴가 필요합니다.',
|
||||
'id' => [
|
||||
'required' => '각 부모 메뉴 ID는 필수입니다.',
|
||||
'integer' => '부모 메뉴 ID는 정수여야 합니다.',
|
||||
'exists' => '존재하지 않는 부모 메뉴 ID가 포함되어 있습니다.',
|
||||
],
|
||||
'order' => [
|
||||
'required' => '각 부모 메뉴 순서는 필수입니다.',
|
||||
'integer' => '부모 메뉴 순서는 정수여야 합니다.',
|
||||
'min' => '메뉴 순서는 1 이상이어야 합니다.',
|
||||
],
|
||||
],
|
||||
'child_menus' => [
|
||||
'array' => '자식 메뉴 순서는 배열이어야 합니다.',
|
||||
'id' => [
|
||||
'required' => '각 자식 메뉴 ID는 필수입니다.',
|
||||
'integer' => '자식 메뉴 ID는 정수여야 합니다.',
|
||||
'exists' => '존재하지 않는 자식 메뉴 ID가 포함되어 있습니다.',
|
||||
],
|
||||
'order' => [
|
||||
'required' => '각 자식 메뉴 순서는 필수입니다.',
|
||||
'integer' => '자식 메뉴 순서는 정수여야 합니다.',
|
||||
'min' => '메뉴 순서는 1 이상이어야 합니다.',
|
||||
],
|
||||
],
|
||||
'moved_items' => [
|
||||
'array' => '이동 항목은 배열이어야 합니다.',
|
||||
'id' => [
|
||||
'required' => '이동할 메뉴 ID는 필수입니다.',
|
||||
'integer' => '메뉴 ID는 정수여야 합니다.',
|
||||
'exists' => '존재하지 않는 메뉴 ID가 포함되어 있습니다.',
|
||||
],
|
||||
'new_parent_id' => [
|
||||
'integer' => '새 부모 메뉴 ID는 정수여야 합니다.',
|
||||
'exists' => '존재하지 않는 부모 메뉴 ID입니다.',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
// 권한 검증 메시지
|
||||
'permission' => [
|
||||
'name' => [
|
||||
'required' => '권한 이름을 입력해주세요.',
|
||||
],
|
||||
'description' => [
|
||||
'max' => '권한 설명은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 역할 검증 메시지
|
||||
'role' => [
|
||||
'name' => [
|
||||
'required' => '역할 이름을 입력해주세요.',
|
||||
],
|
||||
'description' => [
|
||||
'max' => '역할 설명은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 템플릿 검증 메시지
|
||||
'template' => [
|
||||
'name' => [
|
||||
'max' => '템플릿 이름은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'description' => [
|
||||
'max' => '템플릿 설명은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'metadata' => [
|
||||
'array' => 'metadata는 배열이어야 합니다.',
|
||||
],
|
||||
'status' => [
|
||||
'in' => 'status는 active 또는 inactive여야 합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 모듈 검증 메시지
|
||||
'module' => [
|
||||
'status' => [
|
||||
'in' => 'status는 active, inactive, installed, uninstalled 중 하나여야 합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 플러그인 검증 메시지
|
||||
'plugin' => [
|
||||
'status' => [
|
||||
'in' => 'status는 active, inactive, installed, uninstalled 중 하나여야 합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 템플릿 경로 검증 메시지
|
||||
'template_path' => [
|
||||
'must_be_string' => '템플릿 경로는 문자열이어야 합니다.',
|
||||
'traversal_detected' => '경로 트래버설 패턴이 감지되었습니다: :pattern',
|
||||
'absolute_path_not_allowed' => '절대 경로는 허용되지 않습니다.',
|
||||
'null_byte_detected' => 'NULL 바이트 공격이 감지되었습니다.',
|
||||
'outside_base_directory' => '기준 디렉토리 외부 경로는 허용되지 않습니다.',
|
||||
'file_type_not_allowed' => '허용되지 않은 파일 타입입니다. 확장자: :extension (허용: :allowed)',
|
||||
],
|
||||
|
||||
// 모듈 경로 검증 메시지
|
||||
'module_path' => [
|
||||
'must_be_string' => '경로는 문자열이어야 합니다.',
|
||||
'traversal_detected' => '경로 트래버설이 감지되었습니다: :pattern',
|
||||
'absolute_path_not_allowed' => '절대 경로는 허용되지 않습니다.',
|
||||
'null_byte_detected' => 'NULL 바이트가 감지되었습니다.',
|
||||
'outside_base_directory' => '기준 디렉토리 외부 접근은 허용되지 않습니다.',
|
||||
],
|
||||
|
||||
// 플러그인 경로 검증 메시지
|
||||
'plugin_path' => [
|
||||
'must_be_string' => '경로는 문자열이어야 합니다.',
|
||||
'traversal_detected' => '경로 트래버설이 감지되었습니다: :pattern',
|
||||
'absolute_path_not_allowed' => '절대 경로는 허용되지 않습니다.',
|
||||
'null_byte_detected' => 'NULL 바이트가 감지되었습니다.',
|
||||
'outside_base_directory' => '기준 디렉토리 외부 접근은 허용되지 않습니다.',
|
||||
],
|
||||
|
||||
// 인증 관련 검증 메시지
|
||||
'auth' => [
|
||||
'email' => [
|
||||
'required' => '이메일은 필수입니다.',
|
||||
'email' => '올바른 이메일 형식이 아닙니다.',
|
||||
'exists' => '등록되지 않은 이메일입니다.',
|
||||
'unique' => '이미 사용 중인 이메일입니다.',
|
||||
],
|
||||
'password' => [
|
||||
'required' => '비밀번호는 필수입니다.',
|
||||
'min' => '비밀번호는 최소 :min자 이상이어야 합니다.',
|
||||
'confirmed' => '비밀번호 확인이 일치하지 않습니다.',
|
||||
],
|
||||
'name' => [
|
||||
'required' => '이름은 필수입니다.',
|
||||
'min' => '이름은 최소 :min자 이상이어야 합니다.',
|
||||
'max' => '이름은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'nickname' => [
|
||||
'max' => '닉네임은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
'agree_terms' => [
|
||||
'accepted' => '이용약관에 동의해주세요.',
|
||||
],
|
||||
'agree_privacy' => [
|
||||
'accepted' => '개인정보처리방침에 동의해주세요.',
|
||||
],
|
||||
'token' => [
|
||||
'required' => '토큰은 필수입니다.',
|
||||
'string' => '토큰은 문자열이어야 합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 에셋 관련 검증 메시지
|
||||
'asset' => [
|
||||
'identifier' => [
|
||||
'required' => '식별자는 필수입니다.',
|
||||
'string' => '식별자는 문자열이어야 합니다.',
|
||||
],
|
||||
'path' => [
|
||||
'required' => '경로는 필수입니다.',
|
||||
'string' => '경로는 문자열이어야 합니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 설정값 검증 메시지
|
||||
'setting' => [
|
||||
'value' => [
|
||||
'required' => '설정 값은 필수입니다.',
|
||||
'string' => '설정 값은 문자열이어야 합니다.',
|
||||
'max' => '설정 값은 :max자를 초과할 수 없습니다.',
|
||||
],
|
||||
],
|
||||
|
||||
// 사용자 관련 검증 메시지
|
||||
'exclude_current_user' => '현재 로그인된 사용자는 일괄 변경 대상에 포함할 수 없습니다.',
|
||||
|
||||
// 계층 구조 관련 검증 메시지
|
||||
'not_self_parent' => '자기 자신을 부모로 설정할 수 없습니다.',
|
||||
'not_circular_parent' => '자기 자신의 하위 메뉴로 이동할 수 없습니다.',
|
||||
|
||||
// 설정 검증 메시지
|
||||
'settings' => [
|
||||
// 일반 설정 - 필수 필드
|
||||
'site_name_required' => '사이트 이름을 입력해주세요.',
|
||||
'site_name_max' => '사이트 이름은 100자를 초과할 수 없습니다.',
|
||||
'site_url_required' => '사이트 URL을 입력해주세요.',
|
||||
'site_url_invalid' => '올바른 URL 형식이 아닙니다.',
|
||||
'site_url_max' => '사이트 URL은 255자를 초과할 수 없습니다.',
|
||||
'site_description_max' => '사이트 설명은 500자를 초과할 수 없습니다.',
|
||||
'admin_email_required' => '관리자 이메일을 입력해주세요.',
|
||||
'admin_email_invalid' => '올바른 이메일 형식이 아닙니다.',
|
||||
'admin_email_max' => '관리자 이메일은 255자를 초과할 수 없습니다.',
|
||||
'timezone_required' => '시간대를 선택해주세요.',
|
||||
'timezone_invalid' => '올바른 시간대를 선택해주세요.',
|
||||
'language_required' => '기본 언어를 선택해주세요.',
|
||||
'language_invalid' => '올바른 언어를 선택해주세요.',
|
||||
'currency_max' => '통화 코드는 10자를 초과할 수 없습니다.',
|
||||
'maintenance_mode_boolean' => '유지보수 모드는 true 또는 false 값이어야 합니다.',
|
||||
|
||||
// 메일 설정
|
||||
'mailer_required' => '메일러를 선택해주세요.',
|
||||
'mailer_invalid' => '올바른 메일러를 선택해주세요.',
|
||||
'host_required' => 'SMTP 호스트를 입력해주세요.',
|
||||
'host_max' => 'SMTP 호스트는 255자를 초과할 수 없습니다.',
|
||||
'port_required' => '포트를 입력해주세요.',
|
||||
'port_integer' => '포트는 정수여야 합니다.',
|
||||
'port_min' => '포트는 1 이상이어야 합니다.',
|
||||
'port_max' => '포트는 65535를 초과할 수 없습니다.',
|
||||
'username_max' => '사용자명은 255자를 초과할 수 없습니다.',
|
||||
'password_max' => '비밀번호는 255자를 초과할 수 없습니다.',
|
||||
'encryption_invalid' => '올바른 암호화 방식을 선택해주세요.',
|
||||
'from_address_required' => '발신자 이메일을 입력해주세요.',
|
||||
'from_address_invalid' => '올바른 이메일 형식이 아닙니다.',
|
||||
'from_address_max' => '발신자 이메일은 255자를 초과할 수 없습니다.',
|
||||
'from_name_required' => '발신자 이름을 입력해주세요.',
|
||||
'from_name_max' => '발신자 이름은 255자를 초과할 수 없습니다.',
|
||||
|
||||
// 업로드 설정
|
||||
'max_file_size_required' => '최대 파일 크기를 입력해주세요.',
|
||||
'max_file_size_integer' => '최대 파일 크기는 정수여야 합니다.',
|
||||
'max_file_size_min' => '최대 파일 크기는 1MB 이상이어야 합니다.',
|
||||
'max_file_size_max' => '최대 파일 크기는 1024MB를 초과할 수 없습니다.',
|
||||
'allowed_extensions_required' => '허용 확장자를 입력해주세요.',
|
||||
'allowed_extensions_max' => '허용 확장자는 500자를 초과할 수 없습니다.',
|
||||
'allowed_extensions_invalid_type' => '허용 확장자는 문자열 또는 배열이어야 합니다.',
|
||||
'image_max_width_integer' => '이미지 최대 너비는 정수여야 합니다.',
|
||||
'image_max_width_min' => '이미지 최대 너비는 100px 이상이어야 합니다.',
|
||||
'image_max_width_max' => '이미지 최대 너비는 10000px를 초과할 수 없습니다.',
|
||||
'image_max_height_integer' => '이미지 최대 높이는 정수여야 합니다.',
|
||||
'image_max_height_min' => '이미지 최대 높이는 100px 이상이어야 합니다.',
|
||||
'image_max_height_max' => '이미지 최대 높이는 10000px를 초과할 수 없습니다.',
|
||||
'image_quality_integer' => '이미지 품질은 정수여야 합니다.',
|
||||
'image_quality_min' => '이미지 품질은 1 이상이어야 합니다.',
|
||||
'image_quality_max' => '이미지 품질은 100을 초과할 수 없습니다.',
|
||||
|
||||
// SEO 설정
|
||||
'meta_title_suffix_max' => '타이틀 접미사는 100자를 초과할 수 없습니다.',
|
||||
'meta_description_max' => '메타 설명은 160자를 초과할 수 없습니다.',
|
||||
'meta_keywords_max' => '메타 키워드는 255자를 초과할 수 없습니다.',
|
||||
'google_analytics_id_max' => 'Google Analytics ID는 50자를 초과할 수 없습니다.',
|
||||
'google_site_verification_max' => 'Google 사이트 확인 코드는 100자를 초과할 수 없습니다.',
|
||||
'naver_site_verification_max' => '네이버 사이트 확인 코드는 100자를 초과할 수 없습니다.',
|
||||
'bot_user_agents_array' => '봇 User-Agent 목록은 배열이어야 합니다.',
|
||||
'bot_user_agents_item_string' => '봇 User-Agent 항목은 문자열이어야 합니다.',
|
||||
'bot_user_agents_item_max' => '봇 User-Agent 항목은 100자를 초과할 수 없습니다.',
|
||||
'bot_detection_enabled_boolean' => '봇 감지 설정은 true 또는 false 값이어야 합니다.',
|
||||
'seo_cache_enabled_boolean' => 'SEO 캐시 설정은 true 또는 false 값이어야 합니다.',
|
||||
'seo_cache_ttl_integer' => 'SEO 캐시 TTL은 정수여야 합니다.',
|
||||
'seo_cache_ttl_min' => 'SEO 캐시 TTL은 최소 60초 이상이어야 합니다.',
|
||||
'seo_cache_ttl_max' => 'SEO 캐시 TTL은 최대 86400초(24시간)를 초과할 수 없습니다.',
|
||||
'sitemap_enabled_boolean' => 'Sitemap 생성 설정은 true 또는 false 값이어야 합니다.',
|
||||
'sitemap_cache_ttl_integer' => 'Sitemap 캐시 TTL은 정수여야 합니다.',
|
||||
'sitemap_cache_ttl_min' => 'Sitemap 캐시 TTL은 최소 3600초(1시간) 이상이어야 합니다.',
|
||||
'sitemap_cache_ttl_max' => 'Sitemap 캐시 TTL은 최대 604800초(7일)를 초과할 수 없습니다.',
|
||||
'sitemap_schedule_invalid' => '유효한 Sitemap 생성 주기를 선택해주세요.',
|
||||
'sitemap_schedule_time_invalid' => 'Sitemap 생성 시각은 HH:mm 형식이어야 합니다.',
|
||||
|
||||
// 보안 설정
|
||||
'force_https_required' => 'HTTPS 강제 적용 설정을 선택해주세요.',
|
||||
'force_https_boolean' => 'HTTPS 강제 적용은 true 또는 false 값이어야 합니다.',
|
||||
'login_attempt_enabled_required' => '로그인 시도 제한 설정을 선택해주세요.',
|
||||
'login_attempt_enabled_boolean' => '로그인 시도 제한은 true 또는 false 값이어야 합니다.',
|
||||
'auth_token_lifetime_integer' => '인증 토큰 유지시간은 정수여야 합니다.',
|
||||
'auth_token_lifetime_min' => '인증 토큰 유지시간은 0 이상이어야 합니다.',
|
||||
'auth_token_lifetime_max' => '인증 토큰 유지시간은 최대 3600분(60시간)을 초과할 수 없습니다.',
|
||||
'auth_token_lifetime_range' => '인증 토큰 유지시간은 0(무한대) 또는 30~3600분 사이여야 합니다.',
|
||||
'max_login_attempts_integer' => '최대 로그인 시도 횟수는 정수여야 합니다.',
|
||||
'max_login_attempts_min' => '최대 로그인 시도 횟수는 0 이상이어야 합니다.',
|
||||
'max_login_attempts_max' => '최대 로그인 시도 횟수는 100회를 초과할 수 없습니다.',
|
||||
'login_lockout_time_integer' => '차단 시간은 정수여야 합니다.',
|
||||
'login_lockout_time_min' => '차단 시간은 0 이상이어야 합니다.',
|
||||
'login_lockout_time_max' => '차단 시간은 최대 1440분(24시간)을 초과할 수 없습니다.',
|
||||
|
||||
// 캐시 설정
|
||||
'cache_enabled_required' => '전체 캐시 활성화 설정을 선택해주세요.',
|
||||
'cache_enabled_boolean' => '캐시 활성화는 true 또는 false 값이어야 합니다.',
|
||||
'layout_cache_enabled_required' => '레이아웃 캐시 설정을 선택해주세요.',
|
||||
'layout_cache_enabled_boolean' => '레이아웃 캐시는 true 또는 false 값이어야 합니다.',
|
||||
'layout_cache_ttl_required' => '레이아웃 캐시 만료 시간을 입력해주세요.',
|
||||
'layout_cache_ttl_integer' => '레이아웃 캐시 만료 시간은 정수여야 합니다.',
|
||||
'layout_cache_ttl_min' => '레이아웃 캐시 만료 시간은 최소 0초여야 합니다.',
|
||||
'layout_cache_ttl_max' => '레이아웃 캐시 만료 시간은 최대 14400초(4시간)를 초과할 수 없습니다.',
|
||||
'stats_cache_enabled_required' => '통계 캐시 설정을 선택해주세요.',
|
||||
'stats_cache_enabled_boolean' => '통계 캐시는 true 또는 false 값이어야 합니다.',
|
||||
'stats_cache_ttl_required' => '통계 캐시 만료 시간을 입력해주세요.',
|
||||
'stats_cache_ttl_integer' => '통계 캐시 만료 시간은 정수여야 합니다.',
|
||||
'stats_cache_ttl_min' => '통계 캐시 만료 시간은 최소 0초여야 합니다.',
|
||||
'stats_cache_ttl_max' => '통계 캐시 만료 시간은 최대 14400초(4시간)를 초과할 수 없습니다.',
|
||||
'seo_cache_enabled_required' => 'SEO 캐시 설정을 선택해주세요.',
|
||||
'seo_cache_enabled_boolean' => 'SEO 캐시는 true 또는 false 값이어야 합니다.',
|
||||
'seo_cache_ttl_required' => 'SEO 캐시 만료 시간을 입력해주세요.',
|
||||
'seo_cache_ttl_integer' => 'SEO 캐시 만료 시간은 정수여야 합니다.',
|
||||
'seo_cache_ttl_min' => 'SEO 캐시 만료 시간은 최소 0초여야 합니다.',
|
||||
'seo_cache_ttl_max' => 'SEO 캐시 만료 시간은 최대 14400초(4시간)를 초과할 수 없습니다.',
|
||||
|
||||
// 디버그 설정
|
||||
'debug_mode_required' => '디버그 모드 설정을 선택해주세요.',
|
||||
'debug_mode_boolean' => '디버그 모드는 true 또는 false 값이어야 합니다.',
|
||||
'sql_query_log_required' => 'SQL 쿼리 로그 설정을 선택해주세요.',
|
||||
'sql_query_log_boolean' => 'SQL 쿼리 로그는 true 또는 false 값이어야 합니다.',
|
||||
|
||||
// 코어 업데이트 설정
|
||||
'core_update_github_url_invalid' => 'GitHub 저장소 URL 형식이 올바르지 않습니다.',
|
||||
'core_update_github_url_max' => 'GitHub 저장소 URL은 500자를 초과할 수 없습니다.',
|
||||
'core_update_github_token_max' => 'GitHub 액세스 토큰은 500자를 초과할 수 없습니다.',
|
||||
|
||||
// 드라이버 설정
|
||||
'storage_driver_required' => '스토리지 드라이버를 선택해주세요.',
|
||||
'storage_driver_invalid' => '올바른 스토리지 드라이버를 선택해주세요.',
|
||||
's3_bucket_max' => 'S3 버킷 이름은 255자를 초과할 수 없습니다.',
|
||||
's3_region_invalid' => '올바른 S3 리전을 선택해주세요.',
|
||||
's3_access_key_max' => 'S3 Access Key는 255자를 초과할 수 없습니다.',
|
||||
's3_secret_key_max' => 'S3 Secret Key는 255자를 초과할 수 없습니다.',
|
||||
's3_url_invalid' => '올바른 S3 URL 형식이 아닙니다.',
|
||||
's3_url_max' => 'S3 URL은 500자를 초과할 수 없습니다.',
|
||||
'cache_driver_required' => '캐시 드라이버를 선택해주세요.',
|
||||
'cache_driver_invalid' => '올바른 캐시 드라이버를 선택해주세요.',
|
||||
'redis_host_max' => 'Redis 호스트는 255자를 초과할 수 없습니다.',
|
||||
'redis_port_integer' => 'Redis 포트는 정수여야 합니다.',
|
||||
'redis_port_min' => 'Redis 포트는 1 이상이어야 합니다.',
|
||||
'redis_port_max' => 'Redis 포트는 65535를 초과할 수 없습니다.',
|
||||
'redis_password_max' => 'Redis 비밀번호는 255자를 초과할 수 없습니다.',
|
||||
'redis_database_integer' => 'Redis 데이터베이스는 정수여야 합니다.',
|
||||
'redis_database_min' => 'Redis 데이터베이스는 0 이상이어야 합니다.',
|
||||
'redis_database_max' => 'Redis 데이터베이스는 15를 초과할 수 없습니다.',
|
||||
'memcached_host_max' => 'Memcached 호스트는 255자를 초과할 수 없습니다.',
|
||||
'memcached_port_integer' => 'Memcached 포트는 정수여야 합니다.',
|
||||
'memcached_port_min' => 'Memcached 포트는 1 이상이어야 합니다.',
|
||||
'memcached_port_max' => 'Memcached 포트는 65535를 초과할 수 없습니다.',
|
||||
'session_driver_required' => '세션 드라이버를 선택해주세요.',
|
||||
'session_driver_invalid' => '올바른 세션 드라이버를 선택해주세요.',
|
||||
'session_lifetime_integer' => '세션 유효시간은 정수여야 합니다.',
|
||||
'session_lifetime_min' => '세션 유효시간은 최소 1분이어야 합니다.',
|
||||
'session_lifetime_max' => '세션 유효시간은 최대 30일(43200분)을 초과할 수 없습니다.',
|
||||
'queue_driver_required' => '큐 드라이버를 선택해주세요.',
|
||||
'queue_driver_invalid' => '올바른 큐 드라이버를 선택해주세요.',
|
||||
'websocket_enabled_boolean' => '웹소켓 사용 설정은 true 또는 false 값이어야 합니다.',
|
||||
'websocket_app_key_max' => '웹소켓 앱 키는 255자를 초과할 수 없습니다.',
|
||||
'websocket_host_max' => '웹소켓 호스트는 255자를 초과할 수 없습니다.',
|
||||
'websocket_port_integer' => '웹소켓 포트는 정수여야 합니다.',
|
||||
'websocket_port_min' => '웹소켓 포트는 1 이상이어야 합니다.',
|
||||
'websocket_port_max' => '웹소켓 포트는 65535를 초과할 수 없습니다.',
|
||||
'websocket_scheme_invalid' => '올바른 웹소켓 프로토콜을 선택해주세요.',
|
||||
'search_engine_driver_invalid' => '올바른 검색엔진 드라이버를 선택해주세요.',
|
||||
],
|
||||
|
||||
// 검증 속성명 (validation.attributes)
|
||||
'attributes' => [
|
||||
'ids' => '사용자 ID 목록',
|
||||
'user_id' => '사용자 ID',
|
||||
'status' => '상태',
|
||||
// 일반 설정 필드
|
||||
'site_name' => '사이트 이름',
|
||||
'site_url' => '사이트 URL',
|
||||
'site_description' => '사이트 설명',
|
||||
'admin_email' => '관리자 이메일',
|
||||
'timezone' => '시간대',
|
||||
'language' => '기본 언어',
|
||||
// 메일 설정 필드
|
||||
'mailer' => '메일러',
|
||||
'host' => 'SMTP 호스트',
|
||||
'port' => 'SMTP 포트',
|
||||
'username' => 'SMTP 사용자명',
|
||||
'password' => 'SMTP 비밀번호',
|
||||
'encryption' => '암호화',
|
||||
'from_address' => '발신자 이메일',
|
||||
'from_name' => '발신자 이름',
|
||||
// 업로드 설정 필드
|
||||
'max_file_size' => '최대 파일 크기',
|
||||
'allowed_extensions' => '허용 확장자',
|
||||
'image_max_width' => '이미지 최대 너비',
|
||||
'image_max_height' => '이미지 최대 높이',
|
||||
'image_quality' => '이미지 품질',
|
||||
// SEO 설정 필드
|
||||
'meta_title_suffix' => '메타 타이틀 접미사',
|
||||
'meta_description' => '메타 설명',
|
||||
'meta_keywords' => '메타 키워드',
|
||||
'google_analytics_id' => 'Google Analytics ID',
|
||||
'google_site_verification' => 'Google 사이트 확인',
|
||||
'naver_site_verification' => '네이버 사이트 확인',
|
||||
// Changelog 필드
|
||||
'from_version' => '시작 버전',
|
||||
'to_version' => '종료 버전',
|
||||
],
|
||||
];
|
||||
Reference in new issue
Block a user