| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422 |
- <?php
- /**
- * English Translations
- */
- return [
- // General
- 'language' => 'Language',
- 'home' => 'Home',
- 'search' => 'Search',
- 'categories' => 'Categories',
- 'login' => 'Login',
- 'logout' => 'Logout',
- 'welcome' => 'Welcome',
- 'back' => 'Back',
- 'cancel' => 'Cancel',
- 'save' => 'Save',
- 'delete' => 'Delete',
- 'edit' => 'Edit',
- 'create' => 'Create',
- 'update' => 'Update',
- 'view' => 'View',
- 'actions' => 'Actions',
- 'status' => 'Status',
- 'author' => 'Author',
- 'date' => 'Date',
- 'title' => 'Title',
- 'content' => 'Content',
- 'summary' => 'Summary',
- 'published' => 'Published',
- 'draft' => 'Draft',
- 'archived' => 'Archived',
-
- // Navigation
- 'nav_home' => 'Home',
- 'nav_categories' => 'Categories',
- 'nav_search' => 'Search',
- 'nav_admin' => 'Admin',
- 'nav_dashboard' => 'Dashboard',
- 'nav_publications' => 'Publications',
- 'nav_ldap_users' => 'LDAP Users',
-
- // Public Site
- 'site_title' => 'Web Publication System',
- 'search_publications' => 'Search for publications...',
- 'search_placeholder' => 'Search publications...',
- 'no_publications_found' => 'No publications found.',
- 'back_to_publications' => 'Back to publications',
- 'by_author' => 'By {author}',
- 'on_date' => 'on {date}',
- 'read_more' => 'Read more',
- 'related_publications' => 'Related Publications',
- 'publication_not_found' => 'Publication not found',
- 'publication_not_found_desc' => 'The requested publication could not be found.',
- 'all_categories' => 'All Categories',
- 'category_overview' => 'Category Overview',
- 'publications_in_category' => 'Publications in {category}',
- 'no_publications_category' => 'No publications found in this category.',
- 'publication_count' => 'publication(s)',
- 'total_categories' => 'Total Categories:',
- 'total_publications' => 'Total Publications:',
- 'view_publications' => 'View Publications',
- 'created' => 'Created {date}',
- 'results_count' => '{count} publications in this category',
-
- // Comments
- 'comments' => 'Comments',
- 'comment' => 'Comment',
- 'leave_a_comment' => 'Leave a Comment',
- 'name' => 'Name',
- 'email' => 'Email',
- 'email_optional' => 'Email (optional)',
- 'submit_comment' => 'Submit Comment',
- 'comment_submitted_success' => 'Comment submitted successfully! It will be visible after approval.',
- 'comment_submit_error' => 'Error submitting comment. Please try again.',
- 'no_comments_yet' => 'No comments yet. Be the first to comment!',
- 'replying_to' => 'Replying to',
- 'cancel' => 'Cancel',
- 'reply' => 'Reply',
- 'admin' => 'Admin',
- 'replied_by' => 'Replied by',
- 'captcha_help' => 'Solve the math problem to prove you are human',
- 'captcha_invalid' => 'Invalid captcha answer. Please try again.',
- 'submitting' => 'Submitting',
- 'enter_reply' => 'Enter your reply',
- 'submit_reply' => 'Submit Reply',
- 'reply_to_comment' => 'This is a reply to another comment',
- 'on_publication' => 'On publication',
-
- // Admin Comments
- 'manage_comments' => 'Manage Comments',
- 'admin_nav_comments' => 'Comments',
- 'pending_comments' => 'Pending Comments',
- 'total_comments' => 'Total Comments',
- 'filter_by_status' => 'Filter by Status',
- 'all_comments' => 'All Comments',
- 'pending' => 'Pending',
- 'approved' => 'Approved',
- 'rejected' => 'Rejected',
- 'approve' => 'Approve',
- 'reject' => 'Reject',
- 'delete' => 'Delete',
- 'admin_reply' => 'Admin Reply',
- 'no_comments_found' => 'No comments found.',
- 'admin_comment_approved_success' => 'Comment approved successfully.',
- 'admin_comment_approve_error' => 'Error approving comment.',
- 'admin_comment_rejected_success' => 'Comment rejected successfully.',
- 'admin_comment_reject_error' => 'Error rejecting comment.',
- 'admin_comment_deleted_success' => 'Comment deleted successfully.',
- 'admin_comment_delete_error' => 'Error deleting comment.',
- 'admin_reply_added_success' => 'Reply added successfully.',
- 'admin_reply_add_error' => 'Error adding reply.',
- 'admin_reply_invalid_data' => 'Invalid reply data.',
- 'admin_delete_comment_confirm' => 'Are you sure you want to delete this comment?',
- 'previous' => 'Previous',
- 'next' => 'Next',
- 'page' => 'Page',
- 'of' => 'of',
-
- // Search
- 'search_results' => 'Search Results',
- 'search_query' => 'Search for',
- 'no_search_results' => 'No publications found matching your search.',
- 'search_for' => 'Search for',
-
- // Admin Interface
- 'admin_login' => 'Admin Login',
- 'admin_dashboard' => 'Admin Dashboard',
- 'admin_panel' => 'Admin Panel',
- 'login_required' => 'Login required',
- 'invalid_credentials' => 'Invalid username or password',
- 'username_required' => 'Username is required',
- 'password_required' => 'Password is required',
- 'enter_username_password' => 'Please enter both username and password',
-
- // Publications Management
- 'manage_publications' => 'Publications',
- 'create_publication' => 'Create New Publication',
- 'edit_publication' => 'Edit Publication',
- 'publication_title' => 'Publication Title',
- 'publication_content' => 'Publication Content',
- 'publication_summary' => 'Publication Summary',
- 'publication_status' => 'Publication Status',
- 'publication_categories' => 'Categories',
- 'title_required' => 'Title is required',
- 'content_required' => 'Content is required',
- 'author_required' => 'Author is required',
- 'select_categories' => 'Select categories',
- 'publication_created' => 'Publication created successfully',
- 'publication_updated' => 'Publication updated successfully',
- 'publication_deleted' => 'Publication deleted successfully',
- 'error_deleting_publication' => 'Error deleting publication: :error',
- 'delete_publication_confirm' => 'Are you sure you want to delete this publication?',
-
- // Categories Management
- 'manage_categories' => 'Categories',
- 'create_category' => 'Create New Category',
- 'edit_category' => 'Edit Category',
- 'category_name' => 'Category Name',
- 'category_description' => 'Category Description',
- 'category_name_required' => 'Category name is required',
- 'category_exists' => 'Category name already exists',
- 'category_created' => 'Category created successfully',
- 'category_updated' => 'Category updated successfully',
- 'category_deleted' => 'Category deleted successfully',
- 'error_deleting_category' => 'Error deleting category: :error',
- 'cannot_delete_category' => 'Cannot delete category with associated publications',
- 'delete_category_confirm' => 'Are you sure you want to delete this category?',
- 'existing_categories' => 'Existing Categories',
- 'no_categories_found' => 'No categories found. Create your first category above.',
-
- // LDAP
- 'ldap_authentication' => 'LDAP Authentication',
- 'ldap_enabled' => 'LDAP Authentication Enabled',
- 'ldap_notice' => 'Please login with your directory credentials.',
- 'directory_username' => 'Directory Username',
- 'directory_password' => 'Directory Password',
- 'username' => 'Username',
- 'password' => 'Password',
- 'enter_directory_username' => 'Enter your directory username',
- 'enter_directory_password' => 'Enter your directory password',
- 'ldap_users' => 'LDAP Users',
- 'search_ldap_users' => 'Search LDAP users...',
- 'ldap_connection_ok' => 'LDAP connection: OK',
- 'ldap_connection_failed' => 'LDAP connection: Failed',
- 'import_selected_users' => 'Import Selected Users',
- 'import_user' => 'Import',
- 'already_imported' => 'Already Imported',
- 'users_imported' => ':count users imported successfully.',
- 'no_ldap_users_found' => 'No users found matching ":query"',
- 'enter_search_query' => 'Enter a search query to find LDAP users available for import.',
-
- // Setup
- 'setup_wizard' => 'Setup Wizard',
- 'database_configuration' => 'Database Configuration',
- 'site_configuration' => 'Site Configuration',
- 'authentication_configuration' => 'Authentication Configuration',
- 'enable_ldap' => 'Enable LDAP Authentication',
- 'ldap_help_text' => 'When enabled, users will authenticate against LDAP directory instead of local database.',
- 'ldap_configuration' => 'LDAP Configuration',
- 'admin_configuration' => 'Admin Configuration',
- 'admin_account' => 'Admin Account',
- 'setup_complete' => 'Setup Complete',
- 'installation_complete' => 'Installation completed successfully!',
- 'access_admin_panel' => 'Access Admin Panel',
- 'access_public_site' => 'Access Public Site',
- 'delete_setup_directory' => 'Important: Delete the setup directory for security',
- 'delete_setup_instructions' => 'Please remove the setup/ directory from your web server to ensure security.',
-
- // Forms
- 'database_host' => 'Database Host',
- 'database_name' => 'Database Name',
- 'database_username' => 'Database Username',
- 'database_password' => 'Database Password',
- 'site_title' => 'Site Title',
- 'admin_username' => 'Admin Username',
- 'admin_password' => 'Admin Password',
- 'admin_email' => 'Admin Email',
- 'email_required' => 'Email is required',
- 'invalid_email' => 'Invalid email format',
- 'admin_password_required' => 'Admin password is required when LDAP is disabled',
-
- // LDAP Setup
- 'ldap_server_host' => 'LDAP Server Host',
- 'ldap_port' => 'LDAP Port',
- 'ldap_base_dn' => 'LDAP Base DN',
- 'ldap_user_filter' => 'User Search Filter',
- 'ldap_bind_dn' => 'Bind DN',
- 'ldap_bind_password' => 'Bind Password',
- 'ldap_email_attribute' => 'Email Attribute',
- 'ldap_name_attribute' => 'Name Attribute',
- 'ldap_host_required' => 'LDAP host is required when LDAP is enabled',
- 'ldap_base_dn_required' => 'LDAP base DN is required when LDAP is enabled',
-
- // Footer
- 'copyright' => '© :year :site. All rights reserved.',
-
- // Pagination
- 'previous' => 'Previous',
- 'next' => 'Next',
- 'page' => 'Page',
- 'of' => 'of',
-
- // Messages
- 'success' => 'Success',
- 'error' => 'Error',
- 'warning' => 'Warning',
- 'info' => 'Information',
-
- // Additional keys for index page
- 'found_count' => 'Found :count publications',
- 'latest_publications' => 'Latest Publications',
- 'category' => 'Category',
-
- // Admin Login
- 'admin_login_title' => 'Admin Login',
- 'admin_login_error_empty' => 'Please enter both username and password',
- 'admin_login_error_invalid' => 'Invalid username or password',
- 'admin_login_ldap_enabled' => 'LDAP Authentication Enabled',
- 'admin_login_ldap_notice' => 'Please login with your directory credentials.',
- 'admin_login_mixed_auth' => 'Mixed Authentication Enabled',
- 'admin_login_mixed_auth_notice' => 'Both local accounts and LDAP directory authentication are supported. Login with your preferred method.',
- 'admin_login_username' => 'Username:',
- 'admin_login_username_ldap' => 'Directory Username:',
- 'admin_login_username_placeholder' => 'Enter username',
- 'admin_login_username_placeholder_ldap' => 'Enter your directory username',
- 'admin_login_password' => 'Password:',
- 'admin_login_password_ldap' => 'Directory Password:',
- 'admin_login_password_placeholder' => 'Enter password',
- 'admin_login_password_placeholder_ldap' => 'Enter your directory password',
- 'admin_login_button' => 'Login',
-
- // Admin Dashboard
- 'admin_dashboard_title' => 'Admin Dashboard',
- 'admin_publication_deleted_success' => 'Publication deleted successfully',
- 'admin_publication_deleted_error' => 'Error deleting publication',
- 'admin_nav_dashboard' => 'Dashboard',
- 'admin_nav_publications' => 'Publications',
- 'admin_nav_categories' => 'Categories',
- 'admin_nav_ldap_users' => 'LDAP Users',
- 'admin_nav_logout' => 'Logout',
- 'admin_nav_users' => 'Users',
- 'admin_welcome' => 'Welcome',
- 'admin_overview' => 'Overview',
- 'admin_total_publications' => 'Total Publications',
- 'admin_published' => 'Published',
- 'admin_drafts' => 'Drafts',
- 'admin_archived' => 'Archived',
- 'admin_recent_publications' => 'Recent Publications',
- 'admin_table_title' => 'Title',
- 'admin_table_author' => 'Author',
- 'admin_table_status' => 'Status',
- 'admin_table_created' => 'Created',
- 'admin_table_actions' => 'Actions',
- 'admin_action_edit' => 'Edit',
- 'admin_action_delete' => 'Delete',
- 'admin_confirm_delete' => 'Are you sure you want to delete this publication?',
- 'admin_create_publication' => 'Create New Publication',
-
- // Admin Publications Page
- 'admin_filter_all' => 'All',
- 'admin_search_publications' => 'Search publications',
- 'admin_filter_button' => 'Filter',
- 'admin_clear_button' => 'Clear',
- 'admin_table_updated' => 'Updated',
- 'admin_no_publications_found' => 'No publications found.',
-
- // Admin Users Page
- 'admin_user_not_found' => 'User not found',
- 'admin_user_cannot_delete_own' => 'You cannot delete your own account',
- 'admin_user_deleted_success' => 'User deleted successfully',
- 'admin_username_required' => 'Username is required',
- 'admin_email_required' => 'Email is required',
- 'admin_password_required_local' => 'Password is required for local authentication',
- 'admin_email_invalid' => 'Invalid email format',
- 'admin_username_exists' => 'Username already exists',
- 'admin_user_created_success' => 'User created successfully',
-
- // Admin Categories Page
- 'admin_category_not_found' => 'Category not found',
- 'admin_category_cannot_delete_with_pubs' => 'Cannot delete category with associated publications',
- 'admin_category_deleted_success' => 'Category deleted successfully',
- 'admin_category_delete_error' => 'Error deleting category',
- 'admin_category_name_required' => 'Category name is required',
- 'admin_category_updated_success' => 'Category updated successfully',
- 'admin_category_created_success' => 'Category created successfully',
- 'admin_category_name_exists' => 'Category name already exists',
- 'admin_category_save_error' => 'Error saving category',
-
- // User Management
- 'manage_users' => 'Manage Users',
- 'create_user' => 'Create User',
- 'username' => 'Username',
- 'email' => 'Email',
- 'auth_type' => 'Auth Type',
- 'created' => 'Created',
- 'last_login' => 'Last Login',
- 'actions' => 'Actions',
- 'edit' => 'Edit',
- 'delete' => 'Delete',
- 'delete_user_confirm' => 'Are you sure you want to delete this user?',
- 'previous' => 'Previous',
- 'next' => 'Next',
- 'page' => 'Page',
- 'of' => 'of',
- 'edit_user' => 'Edit User',
- 'update' => 'Update',
- 'cancel' => 'Cancel',
- 'password' => 'Password',
- 'create' => 'Create',
- 'local' => 'Local',
- 'ldap' => 'LDAP',
- 'nav_dashboard' => 'Dashboard',
- 'manage_publications' => 'Manage Publications',
- 'manage_categories' => 'Manage Categories',
- 'nav_ldap_users' => 'LDAP Users',
- 'logout' => 'Logout',
- 'copyright' => '© :year :site',
-
- // Admin Navigation
- 'admin_nav_dashboard' => 'Dashboard',
- 'admin_nav_publications' => 'Publications',
- 'admin_nav_categories' => 'Categories',
- 'admin_nav_users' => 'Users',
- 'admin_nav_ldap_users' => 'LDAP Users',
- 'admin_nav_logout' => 'Logout',
- 'admin_welcome' => 'Welcome',
- 'admin_overview' => 'Overview',
- 'admin_total_publications' => 'Total Publications',
-
- // Admin Table Headers
- 'admin_table_id' => 'ID',
- 'admin_table_title' => 'Title',
- 'admin_table_status' => 'Status',
- 'admin_table_actions' => 'Actions',
- 'admin_table_author' => 'Author',
- 'admin_table_created' => 'Created',
- 'admin_table_last_login' => 'Last Login',
- 'admin_filter_all' => 'All',
- 'admin_filter_draft' => 'Draft',
- 'admin_filter_published' => 'Published',
- 'admin_filter_archived' => 'Archived',
-
- // Admin Actions
- 'admin_create_publication' => 'Create Publication',
- 'admin_edit' => 'Edit',
- 'admin_delete' => 'Delete',
- 'admin_create_category' => 'Create Category',
- 'admin_edit_category' => 'Edit Category',
- 'admin_delete_category' => 'Delete Category',
- 'admin_category_name' => 'Category Name',
- 'admin_category_description' => 'Description',
- 'admin_existing_categories' => 'Existing Categories',
- 'admin_no_categories_found' => 'No categories found. Create your first category above.',
- 'admin_category_publications_count' => 'Publications',
- 'admin_create_new_category' => 'Create New Category',
- 'admin_edit_category' => 'Edit Category',
- 'admin_create_category' => 'Create Category',
- 'admin_update_category' => 'Update Category',
- 'admin_cancel' => 'Cancel',
- 'admin_delete_category_confirm' => 'Are you sure you want to delete this category?',
- 'admin_publications' => 'publication(s)',
- 'admin_created' => 'Created',
-
- // User Roles and Status
- 'role' => 'Role',
- 'status' => 'Status',
- 'role_admin' => 'Admin',
- 'role_user' => 'User',
- 'status_active' => 'Active',
- 'status_inactive' => 'Inactive',
-
- // User Update
- 'admin_user_updated_success' => 'User updated successfully',
- 'admin_user_update_error' => 'Error updating user',
-
- // Search and Filter
- 'search_users_placeholder' => 'Search users by username or email',
- 'filter_all' => 'All',
- 'filter' => 'Filter',
- 'clear' => 'Clear',
- ];
|