{
  "tray.process": "Process text ({hotkey})",
  "tray.settings": "Settings",
  "tray.statistics": "Statistics",
  "tray.prompts": "Prompts",
  "tray.quit": "Quit",

  "overlay.header": "MuraveyChina AI",
  "overlay.streaming": "⟳ generating",
  "overlay.streaming_dots": "⟳ generating{dots}",
  "overlay.btn_insert": "Insert",
  "overlay.btn_copy": "Copy",
  "overlay.btn_cancel": "Cancel",
  "overlay.tooltip_cancel": "Stop generation",

  "settings.title": "MuraveyChina — Settings",
  "settings.tab_ai": "AI Provider",
  "settings.tab_hotkey": "Hotkeys",
  "settings.tab_update": "Updates",
  "settings.tab_about": "About",
  "settings.tab_language": "Language",
  "settings.tab_appearance": "Appearance",

  "settings.ai.provider": "Provider:",
  "settings.ai.model": "Model:",
  "settings.ai.ollama_group": "Ollama Settings",
  "settings.ai.server_url": "Server URL:",
  "settings.ai.fetch_models": "Fetch models",
  "settings.ai.install_hint": "Install Ollama: <a href=\"https://ollama.com\">ollama.com</a><br>Then in terminal: <code>ollama pull llama3.2</code>",
  "settings.ai.api_key": "API Key:",
  "settings.ai.api_key_placeholder": "Enter API key\u2026",
  "settings.ai.save_key": "Save key",
  "settings.ai.get_key": "Get key:",
  "settings.ai.auto_paste": "Auto-insert response (via clipboard)",
  "settings.ai.streaming": "Streaming output (show response as it generates)",
  "settings.ai.cache": "Cache AI responses (repeat queries are instant)",
  "settings.ai.cache_ttl_label": "Cache TTL:",
  "settings.ai.cache_ttl_suffix": " days",
  "settings.ai.clear_cache": "Clear cache\u2026",
  "settings.ai.clear_cache_tooltip": "Delete all saved AI responses",
  "settings.ai.ollama_connecting": "⟳ Connecting\u2026",
  "settings.ai.ollama_unavailable": "✗ Ollama unavailable",
  "settings.ai.ollama_models_count": "✓ {count} models",

  "settings.hotkey.info": "Click in the field below, then press a new key combination.\nClick «Apply» to activate immediately without restart.",
  "settings.hotkey.actions_group": "Actions",
  "settings.hotkey.process_selection": "Process selection:",
  "settings.hotkey.field_tooltip": "Click and press a new key combination",
  "settings.hotkey.current_active": "Active: <b>{hotkey}</b>",
  "settings.hotkey.btn_apply": "Apply",
  "settings.hotkey.btn_reset": "Reset",
  "settings.hotkey.btn_reset_tooltip": "Reset to default: {hotkey}",
  "settings.hotkey.status_empty": "✗ Enter a key combination",
  "settings.hotkey.status_already_active": "✓ Already active",
  "settings.hotkey.status_registering": "⟳ Registering\u2026",
  "settings.hotkey.status_active": "✓ Active: {hotkey}",
  "settings.hotkey.status_failed": "✗ Failed to register",
  "settings.hotkey.status_hint": "Enter {hotkey}  (click Apply)",

  "settings.update.repo_label": "GitHub repository:",
  "settings.update.repo_placeholder": "owner/repo (e.g. yourname/muravey-china)",
  "settings.update.btn_check": "Check for updates now",
  "settings.update.status_initial": "Status: \u2014",
  "settings.update.checking": "Checking\u2026",

  "settings.about.description": "<b>MuraveyChina v{version}</b><br><br>AI assistant for Chinese AI providers<br>(Deepseek, Aliyun DashScope, 88API)<br>Local model support via Ollama<br><br>Hotkey activates processing of selected text.",
  "settings.about.license_group": "License",
  "settings.about.server_label": "Server:",
  "settings.about.server_placeholder": "https://your-server.com/verify  (empty = stub mode)",
  "settings.about.key_label": "Key:",
  "settings.about.key_placeholder": "Enter license key\u2026",
  "settings.about.btn_activate": "Activate",
  "settings.about.btn_revoke": "Revoke",
  "settings.about.btn_revoke_tooltip": "Delete saved key and clear cache",
  "settings.about.lic_status_no_key": "No license key entered",
  "settings.about.lic_status_active": "✓ License active{exp}",
  "settings.about.lic_status_expires": "  Expires: {date}",
  "settings.about.lic_status_invalid": "✗ License invalid",
  "settings.about.lic_activating": "⟳ Validating\u2026",
  "settings.about.lic_no_key_error": "✗ Enter a key",
  "settings.about.lic_activated": "✓ License activated{exp}",
  "settings.about.lic_invalid_key": "✗ {error}",
  "settings.about.lic_revoked": "License revoked",

  "settings.language.label": "Interface language:",
  "settings.language.note": "The interface will be updated immediately.",
  "settings.language.btn_apply": "Apply",

  "settings.appearance.theme_label": "Colour theme:",
  "settings.appearance.light": "Light",
  "settings.appearance.dark": "Dark",
  "settings.appearance.system": "Follow system",
  "settings.appearance.btn_apply": "Apply",
  "settings.appearance.note": "When «Follow system» is selected, the theme changes automatically with the OS.",

  "settings.cache.clear_title": "Clear cache",
  "settings.cache.clear_question": "Delete all saved AI responses?\nRepeat queries will be sent to the server again.",
  "settings.cache.cleared_title": "Cache cleared",
  "settings.cache.cleared_msg": "Deleted {count} entries.",
  "settings.cache.inactive_title": "Cache",
  "settings.cache.inactive_msg": "Cache is not active.",

  "stats.title": "MuraveyChina — Usage Statistics",
  "stats.period_label": "Period:",
  "stats.period_day": "Day",
  "stats.period_week": "Week",
  "stats.period_month": "Month",
  "stats.period_all": "All time",
  "stats.btn_refresh": "↻ Refresh",
  "stats.tab_overview": "Overview",
  "stats.tab_details": "Details",
  "stats.btn_export": "Export CSV\u2026",
  "stats.btn_clear_old": "Clear old\u2026",
  "stats.btn_clear_old_tooltip": "Delete records older than N days",
  "stats.btn_close": "Close",
  "stats.summary_group": "Summary",
  "stats.counter_requests": "Requests",
  "stats.counter_in_tokens": "In tokens",
  "stats.counter_out_tokens": "Out tokens",
  "stats.counter_avg_duration": "Avg time",
  "stats.chart_daily_title": "Tokens by day",
  "stats.chart_daily_y": "Tokens",
  "stats.chart_daily_x": "Day",
  "stats.chart_provider_title": "Requests by provider",
  "stats.chart_provider_y": "Requests",
  "stats.chart_success_title": "Success rate trend (30 days)",
  "stats.chart_success_y": "Success %",
  "stats.chart_duration_title": "Avg response time trend (30 days)",
  "stats.chart_duration_y": "Duration (ms)",
  "stats.no_pyqtgraph": "⚠ Install pyqtgraph to display charts:\n  pip install pyqtgraph",
  "stats.table_datetime": "Date/Time",
  "stats.table_provider": "Provider",
  "stats.table_model": "Model",
  "stats.table_in_tokens": "In tokens",
  "stats.table_out_tokens": "Out tokens",
  "stats.table_duration": "Time (ms)",
  "stats.table_success": "Success",
  "stats.table_cancelled": "Cancelled",
  "stats.pagination": "Page {page} / {total_pages}  ({total} records)",
  "stats.btn_prev": "◀ Back",
  "stats.btn_next": "Next ▶",
  "stats.avg_duration": "{avg:.0f} ms",
  "stats.provider_summary": "{provider}: {total} req. | {in_tokens:,} in / {out_tokens:,} out tokens",
  "stats.no_data": "No data for the selected period.",
  "stats.export_title": "Export statistics",
  "stats.export_filter": "CSV (*.csv)",
  "stats.export_filename": "muravey_stats.csv",
  "stats.export_success_title": "Export complete",
  "stats.export_success_msg": "Exported {count} records to:\n{path}",
  "stats.export_error_title": "Export error",
  "stats.clear_old_title": "Clear old records",
  "stats.clear_old_prompt": "Delete records older than N days:",
  "stats.clear_old_done_title": "Cleanup",
  "stats.clear_old_done_msg": "Deleted {deleted} records.",

  "prompts.window_title": "MuraveyChina — Prompts",
  "prompts.search_placeholder": "Search prompts\u2026",
  "prompts.btn_create": "Create",
  "prompts.btn_edit": "Edit",
  "prompts.btn_delete": "Delete",
  "prompts.btn_use": "Use prompt",
  "prompts.btn_close": "Close",
  "prompts.col_name": "Name",
  "prompts.col_tags": "Tags",
  "prompts.col_last_used": "Last used",
  "prompts.col_count": "Used",
  "prompts.edit_title_new": "New Prompt",
  "prompts.edit_title_edit": "Edit Prompt",
  "prompts.edit_name_label": "Name:",
  "prompts.edit_name_placeholder": "Prompt name\u2026",
  "prompts.edit_prompt_label": "Prompt text:",
  "prompts.edit_prompt_placeholder": "Enter prompt\u2026 Use {text} for selected text, {date}, {time}, {os}",
  "prompts.edit_tags_label": "Tags:",
  "prompts.edit_tags_placeholder": "tag1, tag2\u2026",
  "prompts.btn_save": "Save",
  "prompts.btn_cancel": "Cancel",
  "prompts.delete_title": "Delete prompt",
  "prompts.delete_question": "Delete \"{name}\"?",
  "prompts.no_selection": "Select a prompt first",
  "prompts.empty_name": "Enter a prompt name",
  "prompts.empty_prompt": "Prompt text cannot be empty",
  "prompts.quick_title": "Select Prompt",
  "prompts.quick_search": "Search\u2026",
  "prompts.quick_no_prompts": "No prompts yet. Create one via «Prompts» in the tray menu.",
  "prompts.no_text_warning": "No text selected — {text} will be empty",
  "prompts.never_used": "Never",
  "settings.hotkey.prompts_label": "Open prompts:",
  "settings.hotkey.vision_label": "Analyze screenshot:",

  "settings.tab_vision": "Vision",
  "settings.vision.enabled": "Enable screenshot analysis (Vision AI)",
  "settings.vision.provider": "Vision provider:",
  "settings.vision.model": "Vision model:",
  "settings.vision.key_note": "Uses the same API key as the selected provider (set in AI Provider tab).",

  "app.vision_processing": "\u27f3 Analyzing screenshot\u2026",
  "app.vision_no_provider": "Vision is not supported for provider '{provider}'. Use Aliyun or 88API.",
  "app.vision_no_key": "No API key for '{provider}'. Set it in Settings \u2192 AI Provider.",

  "app.license_required": "⚠ License required. Open Settings → About and enter your key.",
  "app.processing": "⟳ Processing\u2026",
  "app.error_response": "[Error: {error}]",
  "app.error_exception": "\n[Error: {error}]",
  "app.update_title": "MuraveyChina Update",
  "app.update_msg": "Version v{version} available. Open settings to update.",

  "prompts.edit_category_label": "Category:",
  "prompts.edit_category_placeholder": "e.g. Translation, Writing…",
  "prompts.edit_shortcut_label": "Shortcut:",
  "prompts.edit_shortcut_placeholder": "/translate (optional)",
  "prompts.edit_desc_label": "Description:",
  "prompts.edit_desc_placeholder": "Brief description of the prompt…",
  "prompts.edit_shortcut_error": "Shortcut must start with / and contain only a-z, 0-9, _ or -",
  "prompts.edit_shortcut_duplicate": "Shortcut already used: {shortcut}",
  "prompts.col_shortcut": "Shortcut",
  "prompts.category_none": "(No category)",
  "prompts.category_all": "All categories",
  "prompts.btn_import": "Import…",
  "prompts.btn_export": "Export…",
  "prompts.import_title": "Import Prompts",
  "prompts.import_success": "Imported {count} prompts.",
  "prompts.import_error": "Import failed: {error}",
  "prompts.export_title": "Export Prompts",
  "prompts.export_success": "Exported {count} prompts to:\n{path}",
  "prompts.export_error": "Export failed: {error}",
  "prompts.slash_mode_hint": "Slash mode: /shortcut [text]",

  "settings.prompts.group": "Prompts",
  "settings.prompts.slash_commands": "Enable slash commands in Quick Select (/shortcut)",

  "license.activation_title": "MuraveyChina — Activation",
  "license.activation_required": "A license is required. Enter your activation token below.",
  "license.enter_token": "Enter your activation token",
  "license.token_placeholder": "Paste activation token…",
  "license.btn_activate": "Activate",
  "license.btn_buy": "Buy",
  "license.btn_cancel": "Exit",
  "license.btn_retry": "Retry",
  "license.activating": "Validating…",
  "license.activated": "Activation successful! Your license is now active.",
  "license.activation_failed": "Activation failed: {error}",
  "license.session_expiring": "License expires in {minutes} minutes. Please renew.",
  "license.session_expired": "Your license has expired.",
  "license.session_expired_detail": "Purchase a new license to continue.",
  "license.btn_buy_new": "Buy license",
  "license.status_valid": "License active",
  "license.status_grace": "License grace period (offline mode)",
  "license.status_expired": "License expired",
  "license.status_no_session": "Not activated",
  "license.validation_failed": "Online validation failed: {reason}",
  "license.buy_page_title": "MuraveyChina — Purchase"
}
