<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- Common actions -->
    <string name="action_add">Add</string>
    <string name="action_cancel">Cancel</string>
    <string name="action_clear">Clear</string>
    <string name="action_confirm">Confirm</string>
    <string name="action_creating">Creating…</string>
    <string name="action_create">Create</string>
    <string name="action_delete">Delete</string>
    <string name="action_done">Done</string>
    <string name="action_retry">Retry</string>
    <string name="action_revoke_all">Revoke All</string>
    <string name="action_save">Save</string>
    <string name="action_sign_out">Sign out</string>
    <string name="action_upload">Upload</string>
    <string name="action_uploading">Uploading…</string>
    <string name="action_verify">Verify</string>
    <string name="action_verifying">Verifying…</string>

    <!-- Content descriptions -->
    <string name="cd_add_memory">Add memory</string>
    <string name="cd_add_server">Add server</string>
    <string name="cd_back">Back</string>
    <string name="cd_change_avatar">Change avatar</string>
    <string name="cd_choose_image">Choose image</string>
    <string name="cd_collapse_tools">Collapse tools</string>
    <string name="cd_copy_api_key">Copy API key</string>
    <string name="cd_copy_link">Copy link</string>
    <string name="cd_create_api_key">Create API key</string>
    <string name="cd_current_avatar">Current avatar</string>
    <string name="cd_delete">Delete</string>
    <string name="cd_delete_api_key">Delete API key</string>
    <string name="cd_delete_memory">Delete memory</string>
    <string name="cd_delete_preset">Delete preset</string>
    <string name="cd_delete_server">Delete server</string>
    <string name="cd_delete_shared_link">Delete shared link</string>
    <string name="cd_edit">Edit</string>
    <string name="cd_edit_memory">Edit memory</string>
    <string name="cd_edit_server">Edit server</string>
    <string name="cd_expand_tools">Expand tools</string>
    <string name="cd_make_private">Make private</string>
    <string name="cd_make_public">Make public</string>
    <string name="cd_preview_voice">Preview voice</string>
    <string name="cd_qr_code">QR code for authenticator app</string>
    <string name="cd_reinitialize">Reinitialize</string>
    <string name="cd_avatar_preview">Avatar preview</string>
    <string name="cd_selected">Selected</string>
    <string name="cd_selected_avatar">Selected avatar</string>
    <string name="cd_stop_voice_preview">Stop voice preview</string>
    <string name="cd_test_tts_voice">Test selected TTS voice</string>
    <string name="cd_toggle_auto_read">Toggle auto-read responses</string>
    <string name="cd_toggle_auto_send_stt">Toggle auto-send after speech</string>
    <string name="cd_toggle_memories">Toggle memories</string>
    <string name="cd_tts_voice_selector">Select TTS voice. Currently %1$s</string>
    <string name="cd_user_avatar">User avatar</string>
    <string name="cd_view_all_tools">View all tools</string>
    <string name="cd_view_tools">View tools</string>

    <!-- Section headers -->
    <string name="section_about">About</string>
    <string name="section_account">Account</string>
    <string name="section_advanced">Advanced</string>
    <string name="section_appearance">Appearance</string>
    <string name="section_balance">Balance</string>
    <string name="section_chat_preferences">Chat Preferences</string>
    <string name="section_conversations">Conversations</string>
    <string name="section_danger_zone">Danger Zone</string>
    <string name="section_data_management">Data Management</string>
    <string name="section_general">General</string>
    <string name="section_language">Language</string>
    <string name="section_layout">Layout</string>
    <string name="section_mcp_servers">MCP Servers</string>
    <string name="section_memories">Memories</string>
    <string name="section_personalization">Personalization</string>
    <string name="section_presets">Presets</string>
    <string name="section_profile">Profile</string>
    <string name="section_security">Security</string>
    <string name="section_speech">Speech</string>
    <string name="section_tablet">Tablet</string>

    <!-- Screen titles -->
    <string name="title_account">Account</string>
    <string name="title_api_keys">API Keys</string>
    <string name="title_chat">Chat</string>
    <string name="title_commands">Commands</string>
    <string name="title_data">Data</string>
    <string name="title_general">General</string>
    <string name="title_memories">Memories</string>
    <string name="title_mcp_servers">MCP Servers</string>
    <string name="title_presets">Presets</string>
    <string name="title_settings">Settings</string>
    <string name="title_shared_links">Shared Links</string>

    <!-- Tabbed settings tabs -->
    <string name="tab_general">General</string>
    <string name="tab_chat">Chat</string>
    <string name="tab_account">Account</string>
    <string name="tab_data">Data</string>

    <!-- Theme -->
    <string name="theme_system">System default</string>
    <string name="theme_light">Light</string>
    <string name="theme_dark">Dark</string>

    <!-- Settings rows -->
    <string name="language">Language</string>
    <string name="personalization">Personalization</string>
    <string name="status_enabled">Enabled</string>
    <string name="status_disabled">Disabled</string>
    <string name="fork_behavior">Fork Behavior</string>
    <string name="commands">Commands</string>
    <string name="commands_enabled_count">%1$d enabled</string>
    <string name="api_keys">API Keys</string>
    <string name="api_keys_subtitle">Manage API keys for programmatic access</string>
    <string name="presets">Presets</string>
    <string name="presets_subtitle">Manage conversation presets</string>
    <string name="favorites">Favorites</string>
    <string name="favorites_subtitle">Manage pinned agents and models</string>
    <string name="favorites_title">Favorites</string>
    <string name="favorites_empty_title">No favorites yet</string>
    <string name="favorites_empty_message">Pin agents or models from the model selector to see them here.</string>
    <string name="favorites_count_of">%1$d of %2$d</string>
    <string name="favorites_unpin_cd">Unpin favorite</string>

    <!-- About info -->
    <string name="app_version_label">App version</string>
    <string name="app_version_value">1.0.0</string>
    <string name="server_label">Server</string>
    <string name="server_not_configured">Not configured</string>

    <!-- Tablet settings -->
    <string name="sidebar_swipe_gesture">Sidebar swipe gesture</string>
    <string name="sidebar_swipe_gesture_desc">Swipe from the left edge to open the sidebar on tablet layouts</string>

    <!-- Balance -->
    <string name="token_credits">Token Credits</string>
    <string name="available_balance">Available balance</string>
    <string name="cd_token_balance">Token balance: %1$s credits</string>

    <!-- Chat settings -->
    <string name="chat_layout">Chat layout</string>
    <string name="chat_layout_thread">Thread</string>
    <string name="chat_layout_two_sided">Two-sided chat</string>
    <string name="chat_layout_thread_desc">All messages aligned left with avatar and name</string>
    <string name="chat_layout_two_sided_desc">User messages on right, agent on left</string>
    <string name="show_bubbles">Show bubbles</string>
    <string name="show_bubbles_desc">Add rounded bubble backgrounds to messages</string>
    <string name="show_avatars">Show avatars</string>
    <string name="show_avatars_desc">Display user and agent avatars next to messages</string>
    <string name="font_size">Font size</string>
    <string name="font_size_small">Small</string>
    <string name="font_size_medium">Medium</string>
    <string name="font_size_large">Large</string>
    <string name="latex_renderer">LaTeX renderer</string>
    <string name="latex_katex">KaTeX (rendered)</string>
    <string name="latex_katex_desc">Full LaTeX rendering via WebView</string>
    <string name="latex_native">Plain text (fast)</string>
    <string name="latex_native_desc">Shows raw LaTeX source for better scroll performance</string>
    <string name="auto_scroll">Auto-scroll during streaming</string>
    <string name="auto_scroll_desc">Automatically scroll to new content while a response is being generated</string>
    <string name="show_thinking_blocks">Show thinking blocks</string>
    <string name="show_thinking_blocks_desc">Display model reasoning steps when available</string>
    <string name="show_image_descriptions">Show image descriptions</string>
    <string name="show_image_descriptions_desc">Display AI-generated image prompts below images</string>
    <string name="dismiss_keyboard_on_send">Dismiss keyboard after sending</string>
    <string name="dismiss_keyboard_on_send_desc">Automatically hide the keyboard after sending a message</string>

    <!-- Security -->
    <string name="two_factor_auth">Two-Factor Authentication</string>
    <string name="enable_two_factor">Enable Two-Factor Authentication</string>
    <string name="disable_two_factor">Disable Two-Factor Authentication</string>
    <string name="view_backup_codes">View Backup Codes</string>

    <!-- 2FA setup dialog -->
    <string name="dialog_title_enable_2fa">Enable Two-Factor Authentication</string>
    <string name="dialog_title_disable_2fa">Disable Two-Factor Authentication</string>
    <string name="twofa_scan_instructions">Copy the URI below and paste it into your authenticator app (e.g. Google Authenticator, Authy), then enter the verification code.</string>
    <string name="twofa_disable_instructions">Enter your authenticator code to disable 2FA.</string>
    <string name="hint_verification_code">Verification code</string>

    <!-- OTP verification dialogs -->
    <string name="otp_title_verify_identity">Verify Identity</string>
    <string name="otp_desc_delete_account">Enter your 2FA code to delete your account.</string>
    <string name="otp_desc_reenroll_2fa">Enter your current 2FA code to re-enroll.</string>
    <string name="otp_desc_regenerate_backup_codes">Enter your 2FA code to regenerate backup codes.</string>
    <string name="otp_verify">Verify</string>
    <string name="otp_cancel">Cancel</string>
    <string name="otp_backup_code_label">Backup Code</string>
    <string name="otp_use_backup_code">Use a backup code instead</string>
    <string name="otp_use_otp_code">Use OTP code instead</string>

    <!-- Backup codes dialog -->
    <string name="dialog_title_backup_codes">Backup Codes</string>
    <string name="backup_codes_instructions">Save these backup codes in a safe place. Each code can only be used once.</string>

    <!-- Danger zone -->
    <string name="delete_account">Delete account</string>
    <string name="dialog_title_sign_out">Sign out</string>
    <string name="dialog_sign_out_message">Are you sure you want to sign out?</string>
    <string name="dialog_title_delete_account">Delete account</string>
    <string name="dialog_delete_account_message">This action cannot be undone. All your data will be permanently deleted.</string>

    <!-- Clear cache dialog -->
    <string name="dialog_title_clear_cache">Clear Cache</string>
    <string name="dialog_clear_cache_message">This will clear cached images and temporary data. Your account data will not be affected.</string>

    <!-- Revoke keys dialog -->
    <string name="dialog_title_revoke_keys">Revoke All API Keys</string>
    <string name="dialog_revoke_keys_message">This will revoke all your stored API keys. You will need to re-enter them to continue using external services.</string>

    <!-- Data settings -->
    <string name="clear_all_conversations">Clear All Conversations</string>
    <string name="clearing">Clearing…</string>
    <string name="archived_conversations">Archived Conversations</string>
    <string name="export_all_data">Export All Data</string>
    <string name="shared_links">Shared Links</string>
    <string name="clear_cache">Clear Cache</string>
    <string name="revoke_all_api_keys">Revoke All API Keys</string>
    <string name="revoking">Revoking…</string>
    <string name="dialog_title_clear_conversations">Clear All Conversations</string>
    <string name="dialog_clear_conversations_message">This will permanently delete all your conversations. This action cannot be undone.</string>
    <string name="clear_all">Clear All</string>
    <string name="export_coming_soon">Export is coming soon</string>
    <string name="error_could_not_load_settings">Could not load settings</string>

    <!-- Speech settings -->
    <string name="auto_send_after_speech">Auto-send after speech</string>
    <string name="auto_send_after_speech_desc">Automatically send the message after speech-to-text finishes</string>
    <string name="auto_read_responses">Auto-read responses</string>
    <string name="auto_read_responses_desc">Automatically read AI responses aloud using text-to-speech</string>
    <string name="tts_voice">TTS Voice</string>
    <string name="test_voice">Test Voice</string>
    <string name="no_server_tts_voices">No server TTS voices available. Speech features may not be configured on the server.</string>
    <string name="using_device_tts">Using device text-to-speech engine. Configure voice and speed in Text-to-Speech Settings below.</string>
    <string name="speech_to_text_settings">Speech-to-Text Settings</string>
    <string name="text_to_speech_settings">Text-to-Speech Settings</string>

    <!-- STT detail dialog -->
    <string name="stt_engine_label">Engine</string>
    <string name="stt_language_label">Language</string>
    <string name="stt_on_device">On Device</string>
    <string name="stt_default">Default</string>
    <string name="stt_hint_whisper">Whisper uses server-side transcription. Your server must have STT enabled.</string>
    <string name="stt_hint_device">Uses your device\'s built-in speech recognizer. Works offline on supported devices.</string>
    <string name="stt_hint_google">Uses Google\'s speech recognizer. Requires the Google app to be installed.</string>
    <string name="stt_hint_default">Uses server transcription (Whisper) when available, otherwise falls back to on-device recognition.</string>
    <string name="stt_auto_detect">Auto-detect</string>

    <!-- TTS detail dialog -->
    <string name="tts_source_label">Source</string>
    <string name="tts_source_device">Device (built-in)</string>
    <string name="tts_source_server">Server</string>
    <string name="tts_voice_label">Voice</string>
    <string name="tts_engine_label">Engine</string>
    <string name="tts_system_default">System default</string>
    <string name="tts_speech_rate">Speech Rate: %1$.1fx</string>
    <string name="tts_pitch">Pitch: %1$.1f</string>
    <string name="tts_cache_audio">Cache audio</string>
    <string name="tts_preview_text">This is a preview of the selected voice.</string>
    <string name="tts_stop_preview">Stop Preview</string>
    <string name="tts_preview_voice">Preview Voice</string>

    <!-- Memories -->
    <string name="enable_memories">Enable Memories</string>
    <string name="enable_memories_desc">Allow the AI to remember information across conversations</string>
    <string name="no_memories_saved">No memories saved yet</string>
    <string name="memories_add_hint">Tap the + button to add a memory</string>
    <string name="add_memory">Add Memory</string>
    <string name="edit_memory">Edit Memory</string>
    <string name="dialog_title_delete_memory">Delete Memory</string>
    <string name="dialog_delete_memory_message">Are you sure you want to delete the memory \"%1$s\"?</string>
    <string name="memory_key_label">Key</string>
    <string name="memory_value_label">Value</string>

    <!-- MCP -->
    <string name="add_mcp_server">Add MCP Server</string>
    <string name="edit_mcp_server">Edit MCP Server</string>
    <string name="mcp_not_available">MCP is not available on this server</string>
    <string name="no_mcp_servers">No MCP servers configured</string>
    <string name="mcp_add_hint">Tap the + button to add a server</string>
    <string name="mcp_name_label">Name</string>
    <string name="mcp_description_label">Description</string>
    <string name="mcp_description_optional">Optional</string>
    <string name="mcp_url_label">URL</string>
    <string name="mcp_type_label">Type</string>
    <string name="mcp_type_sse">SSE</string>
    <string name="mcp_type_streamable_http">Streamable HTTP</string>
    <string name="mcp_auth_label">Authentication</string>
    <string name="mcp_auth_none">None</string>
    <string name="mcp_auth_api_key">API Key</string>
    <string name="mcp_auth_oauth">OAuth</string>
    <string name="mcp_auth_key_type">Key Type</string>
    <string name="mcp_auth_bearer">Bearer</string>
    <string name="mcp_auth_basic">Basic</string>
    <string name="mcp_auth_custom">Custom</string>
    <string name="mcp_header_name_label">Header Name</string>
    <string name="mcp_header_name_placeholder">X-API-Key</string>
    <string name="mcp_api_key_label">API Key</string>
    <string name="mcp_oauth_client_id">Client ID</string>
    <string name="mcp_oauth_client_secret">Client Secret</string>
    <string name="mcp_oauth_auth_url">Authorization URL</string>
    <string name="mcp_oauth_token_url">Token URL</string>
    <string name="mcp_oauth_scope">Scope</string>
    <string name="mcp_oauth_scope_placeholder">read execute</string>
    <string name="dialog_title_delete_server">Delete Server</string>
    <string name="dialog_delete_server_message">Are you sure you want to delete \"%1$s\"?</string>
    <string name="error_failed_to_load_servers">Failed to load servers</string>
    <string name="mcp_tools_count">%1$d tool%2$s</string>
    <string name="mcp_tools_available">%1$d tool%2$s available</string>
    <string name="mcp_all_tools">All MCP Tools</string>
    <string name="mcp_tools_for_server">Tools: %1$s</string>
    <string name="no_tools_available">No tools available</string>
    <string name="mcp_tool_server">Server: %1$s</string>

    <!-- MCP tools sheet -->
    <string name="mcp_server_unknown">Unknown</string>

    <!-- Fork settings -->
    <string name="fork_mode_direct_path">Visible messages</string>
    <string name="fork_mode_direct_path_desc">Only the direct path of messages to the selected message</string>
    <string name="fork_mode_include_branches">Include branches</string>
    <string name="fork_mode_include_branches_desc">Direct path plus sibling messages at each level</string>
    <string name="fork_mode_target_level">All to target level</string>
    <string name="fork_mode_target_level_desc">All messages and branches up to the target message level (default)</string>

    <!-- Language selector -->
    <string name="hint_search_languages">Search languages</string>

    <!-- Personalization dialog -->
    <string name="enable_personalization">Enable personalization</string>
    <string name="about_you_label">About you</string>
    <string name="about_you_hint">What should the AI know about you for context?</string>
    <string name="response_style_label">How should AI respond?</string>
    <string name="response_style_hint">Preferred tone, format, or style for responses</string>

    <!-- Commands screen -->
    <string name="no_commands_available">No commands available</string>

    <!-- Avatar upload dialog -->
    <string name="dialog_title_update_avatar">Update Avatar</string>
    <string name="avatar_choose_hint">Tap the camera icon to choose an image</string>

    <!-- API Keys screen -->
    <string name="api_keys_not_available">API keys not available</string>
    <string name="api_keys_not_supported">This feature is not supported on your server version.</string>
    <string name="no_api_keys">No API keys</string>
    <string name="no_api_keys_desc">Create an API key to access the API programmatically.</string>
    <string name="dialog_title_delete_api_key">Delete API Key</string>
    <string name="dialog_delete_api_key_message">Are you sure you want to delete the API key \"%1$s\"? This action cannot be undone.</string>
    <string name="created_prefix">Created: %1$s</string>

    <!-- API Key create dialog -->
    <string name="dialog_title_create_api_key">Create API Key</string>
    <string name="api_key_name_hint">Give your API key a descriptive name to help identify its purpose.</string>
    <string name="hint_key_name">Key name</string>
    <string name="hint_key_name_placeholder">e.g. My App</string>
    <string name="dialog_title_api_key_created">API Key Created</string>
    <string name="api_key_created_warning">Your API key has been created. Copy it now — you won\'t be able to see it again.</string>
    <string name="copied_to_clipboard">Copied to clipboard</string>

    <!-- Preset manager -->
    <string name="no_presets">No presets</string>
    <string name="no_presets_desc">Save presets from the chat screen to manage them here</string>
    <string name="dialog_title_delete_preset">Delete preset</string>
    <string name="dialog_delete_preset_message">Are you sure you want to delete \"%1$s\"?</string>

    <!-- Shared links -->
    <string name="no_shared_links">No shared links</string>
    <string name="no_shared_links_desc">Share a conversation to see it here</string>
    <string name="dialog_title_delete_shared_link">Delete Shared Link</string>
    <string name="dialog_delete_shared_link_message">This will remove the shared link for \"%1$s\". Anyone with the link will no longer be able to access it.</string>
    <string name="visibility_public">Public</string>
    <string name="visibility_private">Private</string>
    <string name="error_failed_to_load_memories">Failed to load memories</string>
</resources>
