Files
2025-12-01 20:40:30 +01:00

153 lines
8.2 KiB
PHP

<?php
// lang/en.php
return [
'app_name' => 'Bookmarkly',
'header_settings' => 'Settings',
'header_manage_bookmarks' => 'Manage Bookmarks',
'header_logout' => 'Logout',
// Nav specific translations
'nav_settings' => 'Settings',
'nav_manage' => 'Bookmarks',
'nav_manage_tabs' => 'Manage Tabs',
'nav_logout' => 'Logout',
// Login page
'login_title' => 'Login',
'username' => 'Username',
'password' => 'Password',
'login_button' => 'Login',
'remember_me' => 'Remember me',
'error_invalid_credentials' => 'Invalid username or password.',
'error_fill_fields' => 'Please fill in both fields.',
'index_search_placeholder' => 'Search (Ctrl+K)',
'index_favorites' => 'FAVORITES',
'index_welcome_title' => 'Welcome to Bookmarkly!',
'index_welcome_text' => 'You don\'t have any bookmarks yet.<br><br>Login: <b>admin</b> / <b>password</b> (change it after login) ↗️<br><br>',
'index_welcome_button' => '👉 Add your first bookmark',
'bookmarks_manage_title' => 'Manage Bookmarks',
'bookmarks_add_bookmark_button' => 'Add Bookmark',
'bookmarks_categories' => 'Categories',
'bookmarks_new_category_placeholder' => 'New category name',
'bookmarks_add_category_button' => 'Add',
'bookmarks_bookmarks' => 'Bookmarks',
'bookmarks_category_empty' => 'No bookmarks in this category yet.',
'bookmarks_no_category_text' => 'You need to create a category first before you can add bookmarks.',
'bookmarks_delete_category_confirm' => 'Are you sure you want to delete this category and all its bookmarks?',
'bookmarks_delete_bookmark_confirm' => 'Are you sure you want to delete this bookmark?',
'modal_add_bookmark_title' => 'Add New Bookmark',
'modal_edit_bookmark_title' => 'Edit Bookmark',
'modal_edit_category_title' => 'Edit Category',
'modal_category_name' => 'Category Name',
'modal_title' => 'Title',
'modal_url' => 'URL',
'modal_category' => 'Category',
'modal_select_category' => 'Select a category...',
'modal_icon_url' => 'Icon URL (optional)',
'modal_icon_url_help' => 'Find icons at <a href="https://selfh.st/icons/" target="_blank">selfh.st</a> and <a href="https://dashboardicons.com/icons" target="_blank">dashboardicons.com/icons</a>.',
'modal_icon_upload' => 'Upload Icon (optional)',
'modal_current_icon' => 'Current Icon',
'modal_remove_icon_button' => 'Remove Custom Icon',
'modal_fetch_favicon_button' => 'Fetch Favicon from URL',
'modal_mark_as_favorite' => 'Mark as Favorite',
'modal_close_button' => 'Close',
'modal_save_bookmark_button' => 'Save Bookmark',
'modal_save_changes_button' => 'Save Changes',
'settings_title' => 'Settings',
'settings_general_tab' => 'General',
'settings_theme_tab' => 'Theme & Background',
'settings_backup_tab' => 'Backup & Restore',
'settings_save_success' => 'Settings saved successfully.',
'settings_general_title' => 'General Settings',
'settings_open_new_tab' => 'Open bookmarks in a new tab',
'settings_dashboard_protection' => 'Protect dashboard with password (requires re-login)',
'settings_stay_logged_in' => '"Stay logged in" duration',
'settings_language' => 'Language',
'settings_favicon_extractor_url' => 'Favicon Extractor Base URL',
'settings_favicon_extractor_url_help' => 'Provide the service base URL (e.g., http://localhost:3000). The path /favicon/{URL}?larger=true will be appended automatically.',
'settings_debug_mode' => 'Enable Debug mode',
'settings_show_search_bar' => 'Show search bar',
'settings_save_settings_button' => 'Save Settings',
'settings_user_account_title' => 'User Account',
'settings_new_password' => 'New Password (leave blank to keep current)',
'settings_confirm_password' => 'Confirm New Password',
'settings_update_profile_button' => 'Update Profile',
'settings_user_update_success' => 'User profile updated.',
'settings_password_mismatch' => 'New passwords do not match.',
'settings_theme_title' => 'Theme & Background',
'settings_theme' => 'Theme',
'settings_theme_light' => 'Light',
'settings_theme_dark' => 'Dark',
'settings_theme_transparent' => 'Transparent',
'settings_theme_transparency' => 'Theme Transparency',
'settings_background_url' => 'Background Image URL',
'settings_background_upload' => 'Upload Background',
'settings_background_current' => 'Current background:',
'settings_background_optimize' => 'Optimize',
'settings_background_brightness' => 'Background Brightness',
'settings_background_saturation' => 'Background Saturation',
'settings_pexels_integration' => 'Pexels Integration',
'settings_pexels_api_key' => 'Pexels API Key',
'settings_pexels_search_placeholder' => 'Search for a background on Pexels...',
'settings_pexels_search_button' => 'Search',
'settings_custom_css' => 'Custom CSS',
'settings_custom_footer' => 'Custom Footer HTML',
'settings_save_theme_button' => 'Save Theme Settings',
'settings_backup_title' => 'Backup & Restore',
'settings_backup_text' => 'Create a backup of your data, including the database and custom images. You can restore your instance from a backup file.',
'settings_backup_create_button' => 'Create Backup',
'settings_backup_restore_title' => 'Restore from Backup',
'settings_backup_restore_text' => 'Upload a backup file to restore your Bookmarkly instance. This will overwrite current data.',
'settings_backup_restore_input' => 'Backup File (.zip)',
'settings_backup_restore_button' => 'Restore Backup',
'settings_backup_restore_success' => 'Backup restored successfully. Please log in again.',
'settings_backup_restore_failed' => 'Failed to restore backup. Please ensure it is a valid Bookmarkly backup file.',
'settings_backup_create_title' => 'Create Backup',
'settings_backup_full' => 'Entire Site (Full Backup)',
'settings_backup_tab_prefix' => 'Tab',
// System Maintenance
'settings_maintenance_fix_orphaned_bookmarks_title' => 'Fix Orphaned Bookmarks',
'settings_maintenance_fix_orphaned_bookmarks_desc' => 'Finds any bookmarks that are not assigned to a tab and assigns them to the default public tab.',
'settings_maintenance_fix_orphaned_bookmarks_button' => 'Fix Orphaned Bookmarks',
// New strings for import feature
'settings_import_title' => 'Import Bookmarks into a Specific Tab',
'settings_import_text' => 'Import bookmarks from a Bookmarkly backup file into a tab of your choice. This will add the bookmarks and categories from the backup to the selected tab without overwriting existing data.',
'settings_import_input' => 'Backup File (.zip)',
'settings_import_select_tab' => 'Target Tab',
'settings_import_select_tab_placeholder' => '-- Select a Tab --',
'settings_import_button' => 'Import to Tab',
// User Management
'user_management_title' => 'User Management',
'user_management_username' => 'Username',
'user_settings_role' => 'Role',
'user_settings_roles_title' => 'Role Permissions',
'user_settings_role_admin' => 'Admin',
'user_settings_role_admin_desc' => 'Can manage users, tabs, settings, and all bookmarks/categories.',
'user_settings_role_user' => 'User',
'user_settings_role_user_desc' => 'Can manage bookmarks and categories on tabs they own. Can be granted read-only access to other tabs.',
'user_settings_role_viewer' => 'Viewer',
'user_settings_role_viewer_desc' => 'Can only view public tabs and specific tabs they have been granted access to. Cannot edit anything.',
// Tabs
'tab_default_name' => 'Public',
'tab_unique_url_label' => 'Unique Login URL',
'tab_generate_token_button' => 'Generate Token',
'tab_generate_token_confirm' => 'Are you sure you want to generate a new login token? Any existing token will be invalidated.',
'tab_clear_token_button' => 'Clear Token',
'tab_clear_token_confirm' => 'Are you sure you want to clear the login token? The unique URL will no longer work.',
'tooltip_copy_to_clipboard' => 'Copy to clipboard',
'tooltip_copied' => 'Copied!',
'tab_show_search_bar' => 'Show search bar',
'tab_show_search_bar_help' => 'Enable or disable the search bar for this specific tab. This overrides the global search bar setting.',
];