mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 15:16:53 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			154 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			154 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| return [
 | |
|     'title' => 'Settings',
 | |
|     'save_success' => 'Settings saved',
 | |
|     'save_failed' => 'Failed to save Settings',
 | |
|     'navigation' => [
 | |
|         'general' => 'General',
 | |
|         'captcha' => 'Captcha',
 | |
|         'mail' => 'Mail',
 | |
|         'backup' => 'Backup',
 | |
|         'oauth' => 'OAuth',
 | |
|         'misc' => 'Misc',
 | |
|     ],
 | |
|     'general' => [
 | |
|         'app_name' => 'App Name',
 | |
|         'app_logo' => 'App Logo',
 | |
|         'app_logo_help' => 'Logo should be placed in the public folder located in the root panel directory. Leave blank to use App Name instead.',
 | |
|         'app_favicon' => 'App Favicon',
 | |
|         'app_favicon_help' => 'Favicon should be placed in the public folder located in the root panel directory.',
 | |
|         'debug_mode' => 'Debug Mode',
 | |
|         'navigation' => 'Navigation',
 | |
|         'sidebar' => 'Sidebar',
 | |
|         'topbar' => 'Topbar',
 | |
|         'unit_prefix' => 'Unit Prefix',
 | |
|         'decimal_prefix' => 'Decimal Prefix (MB/GB)',
 | |
|         'binary_prefix' => 'Binary Prefix (MiB/GiB)',
 | |
|         '2fa_requirement' => '2FA Requirement',
 | |
|         'not_required' => 'Not Required',
 | |
|         'admins_only' => 'Required for Admins Only',
 | |
|         'all_users' => 'Required for All Users',
 | |
|         'trusted_proxies' => 'Trusted Proxies',
 | |
|         'trusted_proxies_help' => 'New IP or IP Range',
 | |
|         'clear' => 'Clear',
 | |
|         'set_to_cf' => 'Set to Cloudflare IPs',
 | |
|         'display_width' => 'Display Width',
 | |
|         'avatar_provider' => 'Avatar Provider',
 | |
|         'uploadable_avatars' => 'Allow users to upload own avatar?',
 | |
|     ],
 | |
|     'captcha' => [
 | |
|         'enable' => 'Enable',
 | |
|         'disable' => 'Disable',
 | |
|         'info_label' => 'Info',
 | |
|         'info' => 'You can generate the keys on your <u><a href="https://developers.cloudflare.com/turnstile/get-started/#get-a-sitekey-and-secret-key" target="_blank">Cloudflare Dashboard</a></u>. A Cloudflare account is required.',
 | |
|         'site_key' => 'Site Key',
 | |
|         'secret_key' => 'Secret Key',
 | |
|         'verify' => 'Verify Domain?',
 | |
|     ],
 | |
|     'mail' => [
 | |
|         'mail_driver' => 'Mail Driver',
 | |
|         'test_mail' => 'Send Test Mail',
 | |
|         'test_mail_sent' => 'Test Mail sent',
 | |
|         'test_mail_failed' => 'Test Mail failed',
 | |
|         'from_settings' => 'From Settings',
 | |
|         'from_settings_help' => 'Set the Address and Name used as "From" in mails.',
 | |
|         'from_address' => 'From Address',
 | |
|         'from_name' => 'From Name',
 | |
|         'smtp' => [
 | |
|             'smtp_title' => 'SMTP Configuration',
 | |
|             'host' => 'Host',
 | |
|             'port' => 'Port',
 | |
|             'username' => 'Username',
 | |
|             'password' => 'Password',
 | |
|             'scheme' => 'Scheme',
 | |
|         ],
 | |
|         'mailgun' => [
 | |
|             'mailgun_title' => 'Mailgun Configuration',
 | |
|             'domain' => 'Domain',
 | |
|             'secret' => 'Secret',
 | |
|             'endpoint' => 'Endpoint',
 | |
|         ],
 | |
|     ],
 | |
|     'backup' => [
 | |
|         'backup_driver' => 'Backup Driver',
 | |
|         'throttle' => 'Throttles',
 | |
|         'throttle_help' => 'Configure how many backups can be created in a period. Set period to 0 to disable this throttle.',
 | |
|         'limit' => 'Limit',
 | |
|         'period' => 'Period',
 | |
|         'seconds' => 'Seconds',
 | |
|         's3' => [
 | |
|             's3_title' => 'S3 Configuration',
 | |
|             'default_region' => 'Default Region',
 | |
|             'access_key' => 'Access Key ID',
 | |
|             'secret_key' => 'Secret Access Key',
 | |
|             'bucket' => 'Bucket',
 | |
|             'endpoint' => 'Endpoint',
 | |
|             'use_path_style_endpoint' => 'Use Path Style Endpoint',
 | |
|         ],
 | |
|     ],
 | |
|     'oauth' => [
 | |
|         'enable' => 'Enable',
 | |
|         'enable_schema' => 'Enable :schema',
 | |
|         'disable' => 'Disable',
 | |
|         'client_id' => 'Client ID',
 | |
|         'client_secret' => 'Client Secret',
 | |
|         'redirect' => 'Redirect URL',
 | |
|         'web_api_key' => 'Web API Key',
 | |
|         'base_url' => 'Base URL',
 | |
|         'display_name' => 'Display Name',
 | |
|         'auth_url' => 'Authorization callback URL',
 | |
|         'create_missing_users' => 'Auto Create Missing Users?',
 | |
|         'link_missing_users' => 'Auto Link Missing Users?',
 | |
|     ],
 | |
|     'misc' => [
 | |
|         'auto_allocation' => [
 | |
|             'title' => 'Automatic Allocation Creation',
 | |
|             'helper' => 'Toggle if Users can create allocations via the client area.',
 | |
|             'question' => 'Allow Users to create Allocations?',
 | |
|             'start' => 'Start Port',
 | |
|             'end' => 'End Port',
 | |
|         ],
 | |
|         'mail_notifications' => [
 | |
|             'title' => 'Mail Notifications',
 | |
|             'helper' => 'Toggle which mail notifications should be sent to Users.',
 | |
|             'server_installed' => 'Server Installed',
 | |
|             'server_reinstalled' => 'Server Reinstalled',
 | |
|         ],
 | |
|         'connections' => [
 | |
|             'title' => 'Connections',
 | |
|             'helper' => 'Timeouts used when making requests.',
 | |
|             'request_timeout' => 'Request Timeout',
 | |
|             'connection_timeout' => 'Connection Timeout',
 | |
|             'seconds' => 'Seconds',
 | |
|         ],
 | |
|         'activity_log' => [
 | |
|             'title' => 'Activity Logs',
 | |
|             'helper' => 'Configure how often old activity logs should be pruned and whether admin activities should be logged.',
 | |
|             'prune_age' => 'Prune Age',
 | |
|             'days' => 'Days',
 | |
|             'log_admin' => 'Hide admin activities?',
 | |
|         ],
 | |
|         'api' => [
 | |
|             'title' => 'API',
 | |
|             'helper' => 'Defines the rate limit for the number of requests per minute that can be executed.',
 | |
|             'client_rate' => 'Client API Rate Limit',
 | |
|             'app_rate' => 'Application API Rate Limit',
 | |
|             'rpm' => 'Requests per Minute',
 | |
|         ],
 | |
|         'server' => [
 | |
|             'title' => 'Servers',
 | |
|             'helper' => 'Settings for Servers',
 | |
|             'edit_server_desc' => 'Allow Users to edit Descriptions?',
 | |
|             'console_font_upload' => 'Console Font Upload',
 | |
|             'console_font_hint' => 'Only *.ttf fonts are supported. Mono fonts strongly recommended!',
 | |
|         ],
 | |
|         'webhook' => [
 | |
|             'title' => 'Webhooks',
 | |
|             'helper' => 'Configure how often old webhook logs should be pruned.',
 | |
|             'prune_age' => 'Prune Age',
 | |
|             'days' => 'Days',
 | |
|         ],
 | |
|     ],
 | |
| ];
 | 
