agnes-dot-love-pureblog/lang/en.php
2026-11-17 22:01:10 -05:00

681 lines
40 KiB
PHP

<?php
return [
'name' => 'English',
// -------------------------------------------------------------------------
// Date localisation
// Full names must match what PHP's date('F') and date('l') produce.
// Short names must match date('M') and date('D').
// -------------------------------------------------------------------------
'date' => [
'months' => [
'January', 'February', 'March', 'April', 'May', 'June',
'July', 'August', 'September', 'October', 'November', 'December',
],
'months_short' => [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec',
],
'days' => [
'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday',
],
'days_short' => [
'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat',
],
],
// -------------------------------------------------------------------------
// Frontend (public-facing)
// -------------------------------------------------------------------------
'frontend' => [
'nav_home' => 'Home',
'site_title_fallback' => 'Page',
'pagination_newer' => '⬅ Newer posts',
'pagination_older' => 'Older posts ➡',
'no_posts' => 'No posts yet, get writing! 🙃',
'prev_post' => '⬅ Previous post',
'next_post' => 'Next post ➡',
'post_not_found' => 'Post not found',
'post_not_found_detail' => 'The post you requested could not be found.',
'search_label' => 'Search posts',
'search_placeholder' => 'Search for a post...',
'search_button' => 'Search',
'search_empty' => 'Enter a search term to find posts.',
'no_posts_found' => 'No posts found for "{search}".',
'search_result' => '{n} result found.',
'search_results' => '{n} results found.',
'page_not_found' => 'Page not found',
'page_not_found_detail' => 'The page you requested could not be found.',
'no_tag_selected' => 'No tag selected.',
'no_posts_for_tag' => 'No posts found for this tag.',
'edit_post' => 'Edit post',
'edit_page' => 'Edit page',
'reading_time' => '{n} min read',
],
// -------------------------------------------------------------------------
// Admin
// -------------------------------------------------------------------------
'admin' => [
'nav' => [
'dashboard' => 'Dashboard',
'content' => 'Content',
'images' => 'Images',
'settings' => 'Settings',
'view_site' => 'View site',
'clear_cache' => 'Clear cache',
'log_out' => 'Log out',
'cache_cleared' => 'Cache cleared.',
'invalid_action'=> 'Invalid admin action.',
],
'login' => [
'page_title' => 'Admin Login - Pure Blog',
'heading' => 'Admin Login',
'setup_complete' => 'Setup complete. Log in to continue.',
'username' => 'Username',
'password' => 'Password',
'remember_me' => 'Remember me',
'submit' => 'Log in',
'error_invalid' => 'Invalid credentials.',
'error_lockout' => 'Too many failed attempts. Try again in {minutes} minute(s).',
'error_lockout_5'=> 'Too many failed attempts. Try again in 5 minutes.',
'mfa_page_title' => 'Two-Factor Authentication - Pure Blog',
'mfa_heading' => 'Two-Factor Authentication',
'mfa_prompt' => 'Enter the 6-digit verification code from your authenticator app, or enter a backup code.',
'mfa_code_label' => 'Verification or backup code',
'mfa_submit' => 'Verify',
'mfa_cancel' => 'Back to login',
'mfa_error_invalid' => 'Invalid verification or backup code.',
],
'dashboard' => [
'page_title' => 'Dashboard - Pure Blog',
'stat_published' => 'Published posts',
'stat_total_words' => 'Total words',
'stat_books' => 'Equivalent books',
'stat_avg_words' => 'Avg. words per post',
'stat_this_year' => 'Posts',
'stat_top_tags' => 'Top tags',
'stat_no_tags' => 'No tags yet',
'section_this_year' => 'Recent activity (last 12 months)',
'section_all_time' => 'All time post stats',
'stat_words_this_year' => 'Words written',
'chart_title' => 'Posts per month (last 12 months)',
'chart_all_years' => 'Posts by year',
'chart_all_months' => 'Posts by month',
'chart_all_days' => 'Posts by day of week',
'all_tags' => 'All tags',
'write_post' => 'Write a post',
'last_published' => 'Last post published',
'no_posts_yet' => 'No posts yet',
'version_label' => 'Pure Blog version',
'version_uptodate' => 'Up to date, good job 👍🏻',
'version_update_link' => '{latest} available - update now!',
'time_just_now' => 'Just now',
'time_minute_ago' => '{n} minute ago',
'time_minutes_ago' => '{n} minutes ago',
'time_hour_ago' => '{n} hour ago',
'time_hours_ago' => '{n} hours ago',
'time_day_ago' => '{n} day ago',
'time_days_ago' => '{n} days ago',
],
'content' => [
'page_title' => 'Content - Pure Blog',
'tabs_label' => 'Content tabs',
'tab_posts' => 'Posts',
'tab_pages' => 'Pages',
'view_post' => 'View post',
'view_page' => 'View page',
'new_post' => 'New post',
'choose_layout' => 'Choose a layout',
'default_post' => 'Default post',
'cancel' => 'Cancel',
'search_label' => 'Search posts',
'search_placeholder' => 'Search for a post...',
'no_posts_found' => 'No posts found for "{search}".',
'no_posts_filtered' => 'No posts found for {label}.',
'no_posts' => 'No posts yet, get writing!',
'filter_title' => 'Search & filter',
'filter_year' => 'Year',
'filter_month' => 'Month',
'filter_tag' => 'Tag',
'filter_all_years' => 'All years',
'filter_all_months' => 'All months',
'filter_all_tags' => 'All tags',
'filter_status' => 'Status',
'filter_all_statuses' => 'All',
'filter_layout' => 'Layout',
'filter_all_layouts' => 'All layouts',
'filter_apply' => 'Apply',
'filter_active' => 'Filtered by: {label}.',
'filter_clear' => 'Clear',
'filter_recent' => 'last 12 months',
'notice_post_saved' => 'Post saved.',
'notice_post_deleted' => 'Post deleted.',
'notice_page_saved' => 'Page saved.',
'notice_page_deleted' => 'Page deleted.',
'pagination_newer' => '⬅ Newer posts',
'pagination_older' => 'Older posts ➡',
'new_page' => 'New page',
'no_pages' => 'No pages yet.',
'badge_home' => 'Home page',
'badge_blog' => 'Blog page',
'badge_search' => 'Search page',
'badge_special_page_label' => 'Special Page',
'badge_docs_link' => 'the docs',
'badge_home_popover' => 'This is a special page configured as your site homepage. Read more in {docs_link}.',
'badge_blog_popover' => 'This is a special page configured to display your blog feed. Read more in {docs_link}.',
'badge_search_popover' => 'This is a special page configured to handle site searches. Read more in {docs_link}.',
],
'editor' => [
'title_label' => 'Title',
'content_label' => 'Content',
'slug_label' => 'Slug (optional)',
'description_label' => 'Description',
'date_label' => 'Date',
'status_label' => 'Status',
'status_draft' => 'Draft',
'status_scheduled' => 'Scheduled',
'status_published' => 'Published',
'images_title' => 'Images',
'no_images' => 'No images yet.',
'attached_images' => 'Attached images:',
'upload_label' => 'Upload image',
'upload' => 'Upload',
'copy' => 'Copy',
'delete' => 'Delete',
'notice_saved_post' => 'Post saved.',
'notice_saved_page' => 'Page saved.',
'notice_image_uploaded' => 'Image uploaded. You can copy the markdown code below.',
'error_not_found_post' => 'Post not found.',
'error_not_found_page' => 'Page not found.',
'error_title_required' => 'Title is required.',
'error_invalid_status' => 'Status must be draft, scheduled, or published.',
'error_save_post' => 'Unable to save post.',
'error_save_page' => 'Unable to save page.',
'error_empty_slug' => 'Title must contain at least one letter or number so a slug can be generated.',
'tip_markdown' => 'Markdown',
'preview_title' => 'Preview',
'error_upload_no_slug' => 'Save the post first so it has a slug.',
'error_upload_no_file' => 'No image uploaded.',
'error_upload_failed' => 'Upload failed.',
'error_upload_size' => 'Image exceeds the maximum upload size limit ({limit}).',
'error_upload_post_size' => 'Total upload size exceeds the post_max_size limit ({limit}).',
'error_upload_partial' => 'Image was only partially uploaded.',
'error_upload_no_tmp_dir' => 'Missing temporary upload directory on the server.',
'error_upload_cant_write' => 'Failed to write uploaded image to disk.',
'error_upload_extension' => 'A server extension stopped the image upload.',
'error_upload_type' => 'Unsupported image type. Use JPG, PNG, GIF, WebP, or AVIF.',
'error_upload_invalid_slug' => 'Invalid slug for image folder.',
'error_image_folder_missing' => 'Image folder not found.',
'error_upload_folder_create' => 'Unable to create image folder.',
'error_image_invalid_path' => 'Invalid image path.',
'error_upload_invalid_name' => 'Invalid file name.',
'error_upload_duplicate' => 'Duplicate name, please rename the image (sanitized as "{filename}").',
'error_upload_save' => 'Unable to save uploaded file.',
'error_delete_missing_data' => 'Missing image data.',
'error_image_not_found' => 'Image not found.',
'error_delete_failed' => 'Unable to delete image.',
'error_autosave_method' => 'Method not allowed',
'error_autosave_csrf' => 'Invalid CSRF token',
'error_autosave_slug' => 'Slug required',
'error_autosave_write' => 'Failed to write autosave',
'js_autosaving' => 'Autosaving\u2026',
'js_autosaved' => 'Autosaved',
'js_autosave_failed' => 'Autosave failed',
'js_autosave_banner' => 'Autosaved changes from {time} exist.',
'js_view' => 'View',
'js_hide' => 'Hide',
'js_restore' => 'Restore',
'js_discard' => 'Discard',
'js_title_label' => 'Title:',
'js_save_failed' => 'Save failed',
'js_save_before_upload' => 'Unable to save before uploading image.',
'js_copied' => 'Copied',
'js_copy_failed' => 'Unable to copy to clipboard. Please copy manually.',
'js_save_post_first' => 'Save the post first so it has a slug and date.',
'js_save_page_first' => 'Save the page first so it has a slug.',
'js_upload_failed' => 'Image upload failed.',
'feature_image' => 'Feature image',
'js_feature_image_confirm' => 'Replace the current feature image with "{filename}"?',
'js_feature_image_failed' => 'Failed to update feature image.',
'insert_gallery' => 'Insert gallery',
'insert_gallery_title' => 'Insert attached images as a gallery into the editor',
'js_gallery_inserted' => 'Gallery inserted',
'gallery_picker_title' => 'Select images for gallery',
'gallery_picker_select_all' => 'Select all',
'gallery_picker_deselect_all'=> 'Deselect all',
'gallery_picker_insert' => 'Insert gallery ({count})',
'gallery_picker_cancel' => 'Cancel',
'gallery_picker_count' => '{selected} of {total} selected',
'gallery_picker_no_selected' => 'Please select at least one image.',
],
'images' => [
'page_title' => 'Images - Pure Blog Admin',
'heading' => 'Images',
'no_images' => 'No images uploaded yet.',
'search_label' => 'Search images',
'search_placeholder' => 'Search by filename…',
'clear_search' => 'Clear search',
'deleted' => 'Image deleted.',
'delete_confirm' => 'Delete this image?',
'delete_used_warning'=> 'This image is being used in the content below. You should remove it to avoid broken links.',
'delete_anyway' => 'Delete anyway',
'cancel' => 'Cancel',
'used_in_label' => 'Used in:',
'used_in_count' => '{count} items',
'type_post' => 'Post',
'type_page' => 'Page',
'error_delete' => 'Unable to delete image.',
'pagination_prev' => '⬅ Previous',
'pagination_next' => 'Next ➡',
],
'notices' => [
],
'post_editor' => [
'page_title' => 'Post editor',
'settings_title' => 'Post settings',
'tags_label' => 'Tags',
'add_tag' => 'Add',
'add_tag_placeholder' => 'Add new tag',
'remove_tag' => 'Remove tag',
'save' => 'Save post',
'preview' => 'Preview post',
'delete' => 'Delete post',
'delete_confirm' => 'Delete this post?',
'delete_image_confirm'=> 'Delete this image?',
'edit_title' => 'Edit Post - Pure Blog',
'new_title' => 'New Post - Pure Blog',
],
'page_editor' => [
'page_title' => 'Page editor',
'settings_title' => 'Page settings',
'nav_label' => 'Include in nav?',
'nav_yes' => 'Yes',
'nav_no' => 'No',
'save' => 'Save page',
'preview' => 'Preview page',
'delete' => 'Delete page',
'delete_confirm' => 'Delete this page?',
'delete_image_confirm'=> 'Delete this image?',
'edit_title' => 'Edit Page - Pure Blog',
'new_title' => 'New Page - Pure Blog',
],
'delete_post' => [
'page_title' => 'Delete Post - Pure Blog',
'heading' => 'Delete Post',
'already_deleted'=> 'This post has already been deleted (or no longer exists).',
'confirm' => 'Are you sure you want to delete "{title}"?',
'submit' => 'Yes, delete this post',
'error_missing' => 'Missing post slug.',
'error_not_found'=> 'Post not found.',
'error_delete' => 'Unable to delete post.',
],
'delete_page' => [
'page_title' => 'Delete Page - Pure Blog',
'heading' => 'Delete Page',
'already_deleted'=> 'This page has already been deleted (or no longer exists).',
'confirm' => 'Are you sure you want to delete "{title}"?',
'submit' => 'Yes, delete this page',
'error_missing' => 'Missing page slug.',
'error_not_found'=> 'Page not found.',
'error_delete' => 'Unable to delete page.',
],
'pages' => [
'page_title' => 'Pages - Pure Blog',
'heading' => 'Pages',
'new_page' => 'New page',
'no_pages' => 'No pages yet.',
'notice_saved' => 'Page saved.',
'notice_deleted' => 'Page deleted.',
],
'footer' => [
'created_by' => 'was created with 💙 by',
'docs' => 'Read the docs',
'mastodon' => 'Mastodon',
'source' => 'Source code',
],
'settings' => [
'nav' => [
'site' => 'Site',
'theme' => 'Design',
'css' => 'CSS',
'user' => 'User',
'updates' => 'Updates',
'save' => 'Save settings',
],
'site' => [
'page_title' => 'Site Settings - Pure Blog',
'heading' => 'Site settings',
'section_title' => 'Site Settings',
'site_title' => 'Site title',
'tagline' => 'Site tagline (optional)',
'description' => 'Site description',
'email' => 'Site email (optional)',
'posts_per_page' => 'Posts per page',
'search_excerpt_length' => 'Search excerpt length',
'search_excerpt_length_tip' => 'Number of characters indexed per post for search. Larger values improve search accuracy but increase memory usage. Set to 0 to index the full post content.',
'search_include_pages' => 'Include pages in search results',
'language' => 'Language',
'timezone' => 'Timezone',
'date_format' => 'Date format',
'show_reading_time' => 'Show reading time on posts',
'homepage' => 'Homepage',
'blog_page' => 'Blog page',
'base_url' => 'Base URL',
'favicon' => 'Favicon',
'apple_touch_icon' => 'Apple touch icon',
'og_image' => 'Open Graph image',
'og_image_format' => 'Open Graph image format',
'og_banner' => 'Banner (default)',
'og_square' => 'Square',
'sidebar_logo' => 'Sidebar logo',
'custom_nav' => 'Custom nav items',
'custom_nav_only' => 'Replace entire navigation with custom nav items',
'custom_routes' => 'Custom routes',
'homepage_default' => 'Blog posts (default)',
'blog_use_homepage' => 'Use homepage',
'blog_hidden' => 'Hidden (disable blog page)',
'admin_ui_section' => 'Admin interface',
'admin_homepage' => 'Admin homepage',
'admin_homepage_dashboard' => 'Dashboard',
'admin_homepage_content' => 'Content',
'admin_hide_dashboard' => 'Hide Dashboard from navigation',
'enable_blog_posts' => 'Enable blog features (posts, tags, stats)',
'cache_section' => 'Cache',
'cache_enable' => 'Enable page cache',
'rss_ttl' => 'RSS cache duration',
'header_injects' => 'Header Injects',
'head_inject_page_label' => 'Page head HTML',
'head_inject_post_label' => 'Post head HTML',
'footer_injects' => 'Footer Injects',
'footer_inject_page_label'=> 'Page footer HTML',
'footer_inject_post_label'=> 'Post footer HTML',
'notice_updated' => 'Settings updated.',
'error_save' => 'Failed to save settings.',
'error_title' => 'Site title is required.',
'error_posts_per_page'=> 'Posts per page must be between 1 and 100.',
'error_timezone' => 'Timezone must be a valid PHP timezone identifier (e.g. UTC, Europe/London).',
'error_date_format' => 'Date format is required.',
'error_homepage' => 'Homepage must reference an existing page.',
'error_blog_page' => 'Blog page must reference an existing page.',
'search_page' => 'Search page',
'search_page_none' => 'None (disabled)',
'error_search_page' => 'Search page must reference an existing page.',
'notice_search_missing' => 'The default search page ("{slug}") does not exist yet.',
'notice_search_created' => 'Default search page created.',
'create_search_page' => 'Create default search page',
'dismiss_search_notice' => 'Dismiss',
'error_og_format' => 'Open Graph image format must be banner or square.',
'error_apple_touch_icon_type' => 'Apple touch icon must be a PNG image.',
'current' => 'Current',
'tip_language_link' => 'language code',
'tip_timezone_link' => 'PHP timezone list',
'tip_date_format_link' => 'PHP date format docs',
'tip_favicon' => '512px square works best',
'tip_apple_touch_icon' => 'Must be square and PNG format, recommended 360x360px',
'tip_sidebar_logo' => '124x34px works best',
'tip_og_image' => 'recommended 1360x712px for banner, or 1200x1200px for square',
'tip_og_image_dynamic' => 'Leave blank to use dynamically generated Open Graph preview banners.',
'tip_og_image_doc_link' => 'Read the docs',
'tip_one_per_line' => 'one per line',
'tip_optional' => 'optional',
'tip_rss_ttl' => 'seconds, 0 to disable',
'community_section' => 'Community',
'purecomments_enable' => 'Enable Pure Comments',
'purecomments_url' => 'Pure Comments URL',
'purecomments_autoload' => 'Autoload comments and form',
'purecomments_autoload_tooltip' => 'Automatically loads comments and the submission form when scrolled near, without requiring a button click.',
'error_purecomments_url' => 'Pure Comments URL is required when Pure Comments is enabled.',
'error_purecomments_url_invalid'=> 'Pure Comments URL must be a valid URL.',
'download_backup' => 'Download site backup',
'error_backup_zip' => 'Unable to create backup archive.',
],
'user' => [
'page_title' => 'User Settings - Pure Blog',
'heading' => 'User settings',
'section_account' => 'Account',
'username' => 'Admin username',
'section_password' => 'Password Change',
'current_password' => 'Current password',
'new_password' => 'New password',
'confirm_password' => 'Confirm new password',
'notice_updated' => 'Settings updated.',
'error_save' => 'Failed to save settings.',
'error_username' => 'Admin username is required.',
'error_password_match' => 'New password and confirmation do not match.',
'error_password_wrong' => 'Current password is incorrect.',
'mfa_section_title' => 'Two-Factor Authentication',
'mfa_status_enabled' => 'Active',
'mfa_enabled_desc' => 'Two-factor authentication is active on your account.',
'mfa_disabled_desc' => 'Add an extra layer of security to your account by requiring a 6-digit code from an authenticator app when logging in.',
'mfa_setup_btn' => 'Set up Two-Factor Authentication',
'mfa_setup_instructions' => 'Scan the QR code with your authenticator app (such as 1Password, Google Authenticator, Bitwarden, or Aegis), then enter the 6-digit verification code below.',
'mfa_manual_entry_intro' => 'Or enter this secret key manually into your app:',
'mfa_enter_code_label' => 'Verification code',
'mfa_activate_btn' => 'Verify and activate',
'mfa_cancel_btn' => 'Cancel setup',
'mfa_notice_enabled' => 'Two-Factor Authentication has been successfully enabled.',
'mfa_notice_disabled' => 'Two-Factor Authentication has been disabled.',
'mfa_notice_codes_regenerated' => 'New backup recovery codes generated.',
'mfa_error_verify_code' => 'Invalid verification code. Please check your authenticator app and try again.',
'mfa_error_password' => 'Incorrect password.',
'mfa_backup_codes_heading' => 'Important: Save your backup recovery codes',
'mfa_backup_codes_warning' => 'Store these codes in a secure place. If you lose access to your authenticator app, each code can be used once to log in.',
'mfa_regenerate_codes_title' => 'Generate new backup recovery codes',
'mfa_regenerate_codes_btn' => 'Generate new codes',
'mfa_disable_title' => 'Disable Two-Factor Authentication',
'mfa_disable_btn' => 'Disable 2FA',
'mfa_confirm_password_label' => 'Confirm your current password',
'mfa_copy' => 'Copy',
'mfa_copy_codes' => 'Copy all codes',
'mfa_copied' => 'Copied!',
],
'theme' => [
'page_title' => 'Design Settings - Pure Blog',
'heading' => 'Design & layout settings',
'notice_updated' => 'Settings updated.',
'notice_theme_applied'=> 'Theme applied.',
'notice_theme_created'=> 'Theme created and saved to your collection.',
'notice_theme_imported'=> 'Theme imported successfully.',
'notice_theme_deleted'=> 'Theme deleted.',
'notice_preview_exited'=> 'Theme preview exited.',
'error_save' => 'Failed to save settings.',
'error_font' => 'Font stack must be sans, serif, or mono.',
'error_admin_font' => 'Admin font stack must be sans, serif, or mono.',
'error_admin_color' => 'Admin colour mode must be light, dark, or auto.',
'error_color_mode' => 'Colour mode must be light, dark, or auto.',
'error_post_layout' => 'Post list layout must be excerpt, full, or archive.',
'error_theme_name' => 'Please enter a valid theme name.',
'error_theme_folder' => 'Unable to create themes directory.',
'error_theme_save' => 'Unable to save theme file.',
'error_theme_upload' => 'Failed to upload theme file.',
'error_theme_invalid' => 'Invalid JSON theme file format.',
'error_theme_not_found'=> 'Theme not found.',
'error_theme_delete' => 'Unable to delete theme.',
'error_theme_empty' => 'Please provide colour values for light mode, dark mode, or both.',
'error_theme_light_incomplete' => 'Please fill in all colour fields for light mode, or leave them all blank.',
'error_theme_dark_incomplete' => 'Please fill in all colour fields for dark mode, or leave them all blank.',
'section_themes' => 'Themes',
'themes_intro' => 'Choose a theme from your collection, create your own, or {link} to learn more.',
'docs_link' => 'read the documentation',
'active' => 'Active',
'custom' => 'Custom',
'apply' => 'Apply',
'preview' => 'Preview',
'previewing' => 'Previewing Theme',
'preview_admin_only' => 'Visible only to you',
'delete_confirm' => 'Are you sure you want to delete this custom theme?',
'section_creator' => 'Theme Creator',
'creator_title' => 'Theme Creator',
'creator_tip' => 'Create a custom theme by providing a name and hex colour codes for light mode, dark mode, or both.',
'theme_name' => 'Theme name',
'save_theme' => 'Save theme',
'section_import' => 'Import Theme',
'import_file_label' => 'Import theme file',
'import_file_tip' => '.json theme files',
'import_button' => 'Import theme',
'section_fonts' => 'Font settings',
'site_font' => 'Site font',
'admin_font' => 'Admin font',
'section_color_mode' => 'Colour mode',
'site_color_mode' => 'Site colour mode',
'admin_color_mode' => 'Admin colour mode',
'color_light' => 'Light',
'color_dark' => 'Dark',
'color_auto' => 'Auto',
'light_mode' => 'Light mode',
'dark_mode' => 'Dark mode',
'color_background' => 'Background colour',
'color_text' => 'Text colour',
'color_accent' => 'Accent colour',
'color_border' => 'Border colour',
'color_accent_bg' => 'Accent background',
'section_post_layout' => 'Post list layout',
'layout_excerpt' => 'Post excerpt',
'layout_full' => 'Full post',
'layout_archive' => 'Date & title',
],
'css' => [
'page_title' => 'Custom CSS - Pure Blog',
'heading' => 'Custom CSS settings',
'notice_saved' => 'Custom CSS saved.',
'error_save_front' => 'Failed to save front-end CSS.',
'error_save_admin' => 'Failed to save admin CSS.',
'error_dir_front' => 'Unable to create front-end CSS directory.',
'error_dir_admin' => 'Unable to create admin CSS directory.',
'section_front' => 'Front-end CSS',
'section_admin' => 'Admin CSS',
'placeholder_front' => 'Add some custom CSS to your website...',
'placeholder_admin' => 'Add some custom CSS to the Pure Blog CMS...',
],
'updates' => [
'page_title' => 'Updates - Pure Blog',
'heading' => 'Updates',
'section_version' => 'Version check',
'current_version' => 'Current version:',
'last_backup' => 'Last backup:',
'unknown_time' => 'Unknown time',
'repository' => 'Repository:',
'check_release' => 'Check latest release',
'inspect_package' => 'Inspect release package',
'latest_release' => 'Latest release:',
'published' => 'Published:',
'view_release_notes' => 'View release notes',
'section_inspect' => 'Release package inspection',
'planned_actions' => 'Planned file actions:',
'action_add' => 'Add:',
'action_replace' => 'Replace:',
'action_unchanged' => 'Unchanged:',
'action_preserved' => 'Preserved files (/config, /content, /data, all .htaccess files):',
'action_local_only' => 'Local files not in upstream release (will be deleted):',
'action_ignore' => 'Ignored (keeping your version):',
'will_add' => 'Will add:',
'will_replace' => 'Will replace:',
'will_ignore' => 'Will ignore (keeping your version):',
'will_delete' => 'Local files not in upstream release (will be deleted):',
'apply_update' => 'Apply latest update',
'apply_confirm' => 'Apply latest update now? This will replace core files and keep /config, /content, /data, and all .htaccess files.',
'section_backup' => 'Backup restore',
'backup_info' => 'Backups in /backup are excluded from updates and can be used for rollback.',
'available_backups' => 'Available backups',
'restore_backup' => 'Restore selected backup',
'restore_confirm' => 'Restore this backup now? Current core files will be replaced.',
'delete_backup' => 'Delete selected backup',
'delete_backup_confirm' => 'Delete this backup permanently? This cannot be undone.',
'section_result' => 'Apply result',
'backup_path' => 'Backup path:',
'error_check' => 'Unable to check for updates.',
'error_inspect' => 'Unable to inspect release package.',
'already_latest' => 'You are already on the latest release.',
'update_completed' => 'Update completed.',
'update_failed' => 'Update failed.',
'notice_update_applied' => 'Update applied successfully.',
'notice_backup_restored' => 'Backup restored successfully.',
'notice_backup_deleted' => 'Backup deleted successfully.',
'already_latest_version' => 'You are already on the latest release ({tag}).',
'error_curl_init' => 'Unable to initialize curl.',
'error_github_request' => 'GitHub request failed (HTTP {status}).',
'error_github_network' => 'GitHub check failed (network unavailable or allow_url_fopen disabled).',
'error_github_json' => 'GitHub returned invalid JSON.',
'error_download_tmp' => 'Unable to create temporary download file.',
'error_download_failed' => 'Download failed (HTTP {status}).',
'error_download_network' => 'Download failed (network unavailable or allow_url_fopen disabled).',
'error_download_write' => 'Unable to write temporary download file.',
'error_zip_url' => 'No zipball URL found for this release.',
'error_ziparchive' => 'ZipArchive extension is not available on this host.',
'error_zip_open' => 'Unable to open downloaded release zip.',
'error_zip_extract' => 'Unable to extract release zip.',
'error_zip_empty' => 'Release archive did not contain readable files.',
'error_package_invalid' => 'Release archive does not look like a valid Pure Blog package.',
'error_backup_dir' => 'Unable to create local backup directory at /backup.',
'error_update_rolled_back' => 'Update failed and was rolled back: {error}',
'error_update_rollback_fail' => 'Update failed and rollback also failed: {error}',
'error_backup_invalid_name' => 'Invalid backup name.',
'error_backup_dir_missing' => 'Backup directory does not exist.',
'error_backup_not_found' => 'Selected backup was not found.',
'error_backup_invalid_path' => 'Invalid backup path.',
'error_restore_failed' => 'Restore failed: {error}',
'error_delete_backup_failed' => 'Delete failed: {error}',
'error_choose_restore' => 'Please choose a backup to restore.',
'error_choose_delete' => 'Please choose a backup to delete.',
'error_release_metadata' => 'Unable to fetch release info from GitHub.',
'error_lang_download' => 'Failed to download release zip.',
'error_build_plan' => 'Unable to build package plan.',
'error_dir_create' => 'Unable to create directory: {path}',
'error_file_copy' => 'Unable to copy file: {path}',
'error_dir_read' => 'Unable to read directory: {path}',
'error_htaccess_dir' => 'Unable to create directory for preserved .htaccess: {path}',
'error_htaccess_restore' => 'Unable to restore preserved .htaccess: {path}',
'error_source_missing' => 'Source path not found: {path}',
],
],
],
// -------------------------------------------------------------------------
// Setup wizard
// -------------------------------------------------------------------------
'setup' => [
'page_title' => 'Setup - Pure Blog',
'heading' => 'Setup your new site',
'site_title' => 'Site title',
'tagline' => 'Site tagline (optional)',
'language' => 'Language',
'base_url' => 'Site URL',
'username' => 'Admin username',
'password' => 'Admin password',
'confirm_password' => 'Confirm password',
'submit' => 'Create Site',
'error_title' => 'Site title is required.',
'error_username' => 'Admin username is required.',
'error_password' => 'Password and confirmation are required.',
'error_mismatch' => 'Passwords do not match.',
'error_config_dir' => 'Failed to create config directory. Check permissions.',
'error_config_write' => 'Failed to write config file. Check permissions.',
'tip_language_link' => 'language code',
],
];