- /admin/content is nu de boom-editor (plugin-file-tree structuur),
consistent met plugin- en thema-editors. Oude tabelweergave verhuisd
naar /admin/content-list, bereikbaar via 'Boom weergave'/'Lijst
weergave' knoppen. /admin/content-files redirect naar /admin/content.
- Image-grootte knop in markdown editor-toolbar: selecteer ,
klik knop, breedte/hoogte dialog, {:width=... height=...} syntax
toevoegen/vervangen. Bestaande waarden worden in prompts getoond.
- Custom-grootte syntax {:width=...} nu ook correct herschreven naar
/-media/ endpoint (was alleen gewone  herschreven).
- Handleidingen bijgewerkt (content-beheer.md NL+EN: boom/lijst
weergave uitleg + image-grootte + images in content sectie)
- Release notes v2.6.2 bijgewerkt
- Pentest 30/30, WCAG 25/25
349 lines
14 KiB
PHP
349 lines
14 KiB
PHP
<?php
|
|
return [
|
|
// Brand & nav sections
|
|
'admin_title' => 'CodePress Admin',
|
|
'section_general' => 'General',
|
|
'section_content' => 'Content',
|
|
'section_settings' => 'Settings',
|
|
'section_data' => 'Data',
|
|
'section_system' => 'System',
|
|
'section_plugins' => 'Plugins',
|
|
'section_help' => 'Help',
|
|
// Nav items
|
|
'dashboard' => 'Dashboard',
|
|
'content' => 'Content',
|
|
'configuration' => 'Configuration',
|
|
'theme' => 'Theme',
|
|
'security' => 'Security',
|
|
'statistics' => 'Statistics',
|
|
'logs' => 'Logs',
|
|
'plugins' => 'Plugins',
|
|
'users' => 'Users',
|
|
'update' => 'Update',
|
|
'guide' => 'Guide',
|
|
'view_website' => 'View website',
|
|
'logout' => 'Logout',
|
|
|
|
// Generic buttons
|
|
'save' => 'Save',
|
|
'save_ctrl_s' => 'Save (Ctrl+S)',
|
|
'cancel' => 'Cancel',
|
|
'delete' => 'Delete',
|
|
'edit' => 'Edit',
|
|
'create' => 'Create',
|
|
'back' => 'Back',
|
|
'yes' => 'Yes',
|
|
'no' => 'No',
|
|
'search' => 'Search',
|
|
'preview' => 'Preview',
|
|
'open_new_tab' => 'Open in new tab',
|
|
'download' => 'Download',
|
|
'rename' => 'Rename',
|
|
'move' => 'Move',
|
|
'activate' => 'Activate',
|
|
'deactivate' => 'Deactivate',
|
|
'config' => 'Config',
|
|
'essential' => 'Essential',
|
|
'view_all' => 'View all →',
|
|
|
|
// Messages
|
|
'saved' => 'Saved.',
|
|
'save_failed' => 'Save failed.',
|
|
'invalid_csrf' => 'Invalid CSRF token.',
|
|
'no_permission' => 'You do not have permission to view this page.',
|
|
'no_permission_title' => 'No access',
|
|
|
|
// Config page
|
|
'site_title' => 'Site title',
|
|
'admin_language' => 'Admin language',
|
|
'admin_language_help' => 'Language of the admin panel (menu, buttons, labels).',
|
|
'content_language' => 'Content language',
|
|
'content_language_help' => 'Default language of website content (fallback when no language in URL).',
|
|
'homepage' => 'Homepage',
|
|
'homepage_mode' => 'Homepage mode',
|
|
'homepage_auto' => 'Automatic — first available page',
|
|
'homepage_newest' => 'Most recently modified page',
|
|
'homepage_specific' => 'Specific page',
|
|
'homepage_select' => 'Select page',
|
|
'homepage_help' => 'Determine which page is shown on the homepage (the language root URL, e.g. /en).',
|
|
'no_pages_found' => 'No pages found in content/',
|
|
'author_section' => 'Author',
|
|
'author_name' => 'Name',
|
|
'author_email' => 'Email',
|
|
'analytics_logging' => 'Analytics & Logging',
|
|
'analytics_enabled' => 'Analytics enabled',
|
|
'logging_enabled' => 'Logging enabled',
|
|
|
|
// Content page
|
|
'upload' => 'Upload',
|
|
'new_folder' => 'New folder',
|
|
'new_file' => 'New file',
|
|
'select_files' => 'Select files',
|
|
'allowed_types' => 'Allowed: JPG, PNG, GIF, WebP, SVG, PDF, ZIP, MP4, WebM, MP3, WAV',
|
|
'upload_to_folder' => 'Upload to this folder',
|
|
'filter_placeholder' => 'Filter by file or folder name…',
|
|
'filter_content' => 'Filter content',
|
|
'col_name' => 'Name',
|
|
'col_type' => 'Type',
|
|
'col_size' => 'Size',
|
|
'col_modified' => 'Modified',
|
|
'col_actions' => 'Actions',
|
|
|
|
// Content editor (content-files) — Phase 1-5 of content-consistency TODO
|
|
'content_editor' => 'Content editor',
|
|
'content_files' => 'Content files',
|
|
'content_no_files' => 'No files found.',
|
|
'content_not_editable' => 'This file type cannot be edited in the editor.',
|
|
'content_select_file' => 'Select a file from the sidebar to edit.',
|
|
'content_file_path' => 'File path within content',
|
|
'content_file_path_help' => 'Only letters, numbers, dots, underscores, dashes and slashes. Subfolders are created automatically. The extension is chosen below.',
|
|
'content_upload_help' => 'Files are uploaded to content/. Allowed: images, video, audio, PDF, ZIP, office docs, CSS, SCSS, JS, JSON, HTML, MD.',
|
|
'file_type' => 'File type',
|
|
'list_view' => 'List view',
|
|
'tree_view' => 'Tree view',
|
|
'rename_folder' => 'Rename folder',
|
|
'rename_prefix' => 'Rename',
|
|
'new_name' => 'New name',
|
|
'git_init' => 'Git init',
|
|
'git_init_confirm' => 'Initialize a git repository in content/?',
|
|
'git_commit' => 'Commit',
|
|
'git_commit_confirm' => 'Commit changes to git?',
|
|
'git_dirty' => 'uncommitted changes',
|
|
'git_clean' => 'clean working tree',
|
|
'git_last_commit' => 'last commit:',
|
|
'col_role' => 'Role',
|
|
'col_created' => 'Created',
|
|
'no_files_found' => 'No files found.',
|
|
'folder_badge' => 'Folder',
|
|
'confirm_delete_folder' => 'Are you sure you want to delete this folder? The folder must be empty.',
|
|
'confirm_delete_file' => 'Are you sure you want to delete this file?',
|
|
'no_filter_results' => 'No results for this filter.',
|
|
'new_folder_title' => 'Create new folder',
|
|
'folder_name' => 'Folder name',
|
|
'name_help' => 'Only letters, numbers, dots, underscores and dashes.',
|
|
|
|
// Content edit / new
|
|
'filename' => 'Filename',
|
|
'template_layout' => 'Template / Layout',
|
|
'visible_plugins' => 'Visible plugins',
|
|
'new_page' => 'New page',
|
|
'file_type' => 'File type',
|
|
|
|
// Content dir form
|
|
'rename_folder' => 'Rename folder',
|
|
'new_name_for' => 'New name for',
|
|
|
|
// Content move form
|
|
'folder' => 'Folder',
|
|
'file' => 'File',
|
|
'move_suffix' => 'move',
|
|
'move_prefix' => 'Move',
|
|
'move_to' => 'to:',
|
|
'target_folder' => 'Target folder',
|
|
|
|
// Dashboard
|
|
'welcome' => 'Welcome,',
|
|
'logged_in_as' => 'Logged in as',
|
|
'views_30d' => 'Views (30 days)',
|
|
'unique_visitors_30d' => 'Unique visitors (30 days)',
|
|
'top_country' => 'Top country',
|
|
'statistics_arrow' => 'Statistics →',
|
|
'pages' => 'Pages',
|
|
'folders' => 'Folders',
|
|
'content_size' => 'Content size',
|
|
'content_info' => 'Content information',
|
|
'manage' => 'Manage',
|
|
'site_info' => 'Site information',
|
|
'default_lang' => 'Default language',
|
|
'author' => 'Author',
|
|
'cms_version' => 'CodePress version',
|
|
'php_version' => 'PHP version',
|
|
'os' => 'Operating system',
|
|
'config_loaded' => 'Config loaded',
|
|
'recent_activity' => 'Recent activity',
|
|
'no_activity' => 'No activity recorded.',
|
|
'recent_requests' => 'Recent requests',
|
|
'no_requests' => 'No requests recorded.',
|
|
'quick_actions' => 'Quick actions',
|
|
'manage_content' => 'Manage content',
|
|
'edit_config' => 'Edit configuration',
|
|
'view_statistics' => 'View statistics',
|
|
'manage_theme' => 'Manage theme',
|
|
'manage_plugins' => 'Manage plugins',
|
|
|
|
// Error page
|
|
'error' => 'Error',
|
|
'page_not_found' => 'Page not found',
|
|
'page_not_found_msg' => 'The requested page could not be found.',
|
|
'to_dashboard' => 'To dashboard',
|
|
|
|
// Guide
|
|
'navigation' => 'Navigation',
|
|
'manuals' => 'Manuals',
|
|
|
|
// Logs
|
|
'col_time' => 'Time',
|
|
'col_level' => 'Level',
|
|
'col_ip' => 'IP',
|
|
'col_message' => 'Message',
|
|
'no_logs' => 'No logs found.',
|
|
|
|
// Media
|
|
'media' => 'Media',
|
|
'no_media' => 'No media files found.',
|
|
'media_insert' => 'Insert media',
|
|
'media_filter' => 'Filter by filename...',
|
|
'media_loading' => 'Loading media...',
|
|
'media_empty' => 'No media files found in content/. Upload files first via Media in the menu.',
|
|
'media_empty_plugin' => 'No media files found in this plugin assets folder. Place files directly in plugins/{plugin}/assets/ to insert them here.',
|
|
|
|
// Plugins
|
|
'new_plugin' => 'New plugin',
|
|
'new_plugin_title' => 'Create new plugin',
|
|
'plugin_name' => 'Plugin name',
|
|
'plugin_name_help' => 'Only letters, numbers, underscores and dashes.',
|
|
'active' => 'Active',
|
|
'inactive' => 'Inactive',
|
|
'no_description' => 'No description',
|
|
'essential_title' => 'Essential plugin - cannot be edited, deactivated or deleted',
|
|
'plugin_config' => 'Plugin Configuration: ',
|
|
'plugin_edit' => 'Edit plugin: ',
|
|
'confirm_delete_plugin' => 'Are you sure you want to delete this plugin?',
|
|
'no_plugins' => 'No plugins found. Create a new plugin to get started.',
|
|
|
|
// Security
|
|
'security_bots' => 'Security & Bot Protection',
|
|
'bot_protection' => 'Bot Protection',
|
|
'botguard_enabled' => 'BotGuard enabled',
|
|
'block_bad_bots' => 'Block bad bots',
|
|
'session_settings' => 'Session Settings',
|
|
'session_timeout' => 'Session timeout (seconds)',
|
|
'max_login_attempts' => 'Max login attempts',
|
|
|
|
// Statistics
|
|
'total_views' => 'Total views',
|
|
'unique_visitors' => 'Unique visitors',
|
|
'page_views' => 'Page views',
|
|
'countries' => 'Countries',
|
|
'top_pages' => 'Top pages',
|
|
'no_data' => 'No data',
|
|
|
|
// Theme
|
|
'themes' => 'Themes',
|
|
'activate_default' => 'Activate Default',
|
|
'new_theme' => 'New theme',
|
|
'new_theme_title' => 'Create new theme',
|
|
'theme_name' => 'Theme name',
|
|
'theme_name_help' => 'Only letters, numbers, underscores and dashes.',
|
|
'theme_base' => 'Base theme',
|
|
'theme_base_help' => 'Choose an existing theme to copy as a base, or start with an empty uniform structure. css_compiled/ is not copied.',
|
|
'theme_base_blank' => '(empty structure)',
|
|
'name_label' => 'Name: ',
|
|
'default_layout_label' => 'Default layout: ',
|
|
'compile_scss' => 'Compile SCSS',
|
|
'compile_scss_confirm' => 'Compile SCSS? This overwrites assets/css_compiled/theme.css.',
|
|
'scss_ok' => 'up-to-date',
|
|
'scss_stale' => 'stale',
|
|
'scss_compiled_ok' => 'SCSS is compiled and up-to-date',
|
|
'scss_needs_compile' => 'SCSS source newer than compiled CSS',
|
|
'no_themes' => 'No themes found.',
|
|
'theme_default_protected' => 'Default theme - cannot be deleted',
|
|
'theme_layouts' => 'Layouts: ',
|
|
'theme_actions' => 'Theme actions',
|
|
'confirm_delete_theme' => 'Are you sure you want to delete this theme? All files in the theme will be lost.',
|
|
'theme_edit' => 'Edit theme: ',
|
|
'theme_files' => 'Theme files',
|
|
'theme_no_files' => 'No files found.',
|
|
'theme_new_file' => 'New file',
|
|
'theme_new_file_title' => 'Create new file',
|
|
'theme_file_path' => 'File path within theme',
|
|
'theme_file_path_help' => 'Only letters, numbers, dots, underscores, dashes and slashes. Subfolders are created automatically. Allowed: twig, json, scss, css, js, html, md, php.',
|
|
'theme_not_editable' => 'This file type cannot be edited in the editor.',
|
|
'theme_select_file' => 'Select a file from the sidebar to edit.',
|
|
'theme_upload_help' => 'Files are uploaded to assets/ of this theme. Allowed: images, video, audio, PDF, ZIP, CSS, SCSS, JS, JSON, HTML, MD, TWIG, fonts.',
|
|
|
|
// Update
|
|
'system_update' => 'System Update',
|
|
'git_not_writable' => 'The .git directory is not writable. Automatic updates are not possible.',
|
|
'current_version' => 'Current version',
|
|
'cms_version_label' => 'CodePress version: ',
|
|
'update_options' => 'Update options',
|
|
'check_updates' => 'Check for updates',
|
|
'run_update' => 'Run update',
|
|
|
|
// Users
|
|
'username' => 'Username',
|
|
'password' => 'Password',
|
|
'password_help' => 'At least 8 characters.',
|
|
'login_email' => 'Login email',
|
|
'author_name' => 'Author name',
|
|
'author_name_help' => 'Shown as author on the website.',
|
|
'author_email' => 'Author email',
|
|
'my_profile' => 'My profile',
|
|
'edit_profile' => 'Edit profile',
|
|
'you' => 'You',
|
|
'unknown' => 'Unknown',
|
|
'confirm_delete_user' => 'Are you sure you want to delete this user?',
|
|
'change_role' => 'Change role: ',
|
|
'current_role' => 'Current role',
|
|
'new_role' => 'New role',
|
|
'change' => 'Change',
|
|
'own_account' => 'Own account',
|
|
'no_users' => 'No users found.',
|
|
'new_user' => 'New user',
|
|
'add_user' => 'Add user',
|
|
'users_list' => 'User list',
|
|
'search_users' => 'Search by username, email or author name...',
|
|
'all_roles' => 'All roles',
|
|
'filter' => 'Filter',
|
|
'delete' => 'Delete',
|
|
'back_to_users' => 'Back to users',
|
|
'profile_info' => 'Profile information',
|
|
'change_password' => 'Change password',
|
|
'new_password' => 'New password',
|
|
'confirm_password' => 'Confirm password',
|
|
'passwords_no_match' => 'Passwords do not match.',
|
|
'danger_zone' => 'Danger zone',
|
|
'delete_user' => 'Delete user',
|
|
|
|
// Login
|
|
'login_title' => 'CodePress Admin - Login',
|
|
'username_label' => 'Username',
|
|
'password_label' => 'Password',
|
|
'login_btn' => 'Log in',
|
|
'back_to_website' => 'Back to website',
|
|
|
|
// Role switch (admin testing feature)
|
|
'role_switch' => 'Switch role',
|
|
'role_switch_title' => 'Switch role',
|
|
'role_switch_help' => 'Test the admin from another role. Your real account stays admin.',
|
|
'role_switch_btn' => 'Switch to role',
|
|
'role_testing' => 'Testing',
|
|
'role_reset_title' => 'Reset role',
|
|
'role_reset_btn' => 'Back to admin',
|
|
'role_reset_help' => 'Click below to return to your admin role.',
|
|
'role_override_active' => 'You are currently testing as',
|
|
'cannot_change_own_role' => 'You cannot change your own role.',
|
|
'cannot_change_password_role' => 'Changing passwords is not allowed in this role.',
|
|
'created' => 'Created',
|
|
|
|
// Plugin config
|
|
'plugin_settings' => 'Settings',
|
|
'plugin_no_settings' => 'This plugin has no configurable settings.',
|
|
'plugin_info' => 'Plugin information',
|
|
'plugin_name' => 'Name',
|
|
'version' => 'Version',
|
|
'type' => 'Type',
|
|
'description' => 'Description',
|
|
|
|
// Plugin editor (plugins-edit)
|
|
'plugin_files' => 'Plugin files',
|
|
'plugin_no_files' => 'No files found.',
|
|
'plugin_new_file' => 'New file',
|
|
'plugin_new_file_title' => 'Create new file',
|
|
'plugin_file_path' => 'File path within plugin',
|
|
'plugin_file_path_help' => 'Only letters, digits, dots, underscores, hyphens and slashes. Subdirectories are created automatically.',
|
|
'plugin_not_editable' => 'This file type cannot be edited in the editor.',
|
|
'plugin_select_file' => 'Select a file from the sidebar to edit.',
|
|
'plugin_upload_help' => 'Files are uploaded to assets/ of this plugin. Allowed: images, video, audio, PDF, ZIP, CSS, SCSS, JS, JSON, HTML, MD.',
|
|
]; |