__('Loading…', 'intent-flow'), 'saving' => __('Saving…', 'intent-flow'), 'saved' => __('Saved', 'intent-flow'), 'deleting' => __('Deleting…', 'intent-flow'), 'deleted' => __('Deleted', 'intent-flow'), 'updating' => __('Updating…', 'intent-flow'), 'error' => __('Error:', 'intent-flow'), 'cancel' => __('Cancel', 'intent-flow'), 'close' => __('Close', 'intent-flow'), 'edit' => __('Edit', 'intent-flow'), 'delete' => __('Delete', 'intent-flow'), 'save' => __('Save', 'intent-flow'), 'export' => __('Export', 'intent-flow'), 'import' => __('Import', 'intent-flow'), 'reload' => __('Reload', 'intent-flow'), 'reload_list' => __('Reload list', 'intent-flow'), 'use' => __('Use', 'intent-flow'), 'test' => __('Test', 'intent-flow'), 'run' => __('Run', 'intent-flow'), 'add' => __('Add', 'intent-flow'), 'back_dashboard' => __('Back to Dashboard', 'intent-flow'), 'version' => __('Version', 'intent-flow'), 'status' => __('Status', 'intent-flow'), 'date' => __('Date', 'intent-flow'), 'name' => __('Name', 'intent-flow'), 'description' => __('Description', 'intent-flow'), 'type' => __('Type', 'intent-flow'), 'source' => __('Source', 'intent-flow'), 'detail' => __('Detail', 'intent-flow'), 'active' => __('Active', 'intent-flow'), 'enabled' => __('Enabled', 'intent-flow'), 'interval' => __('Interval', 'intent-flow'), 'payload' => __('Payload', 'intent-flow'), 'trigger' => __('Trigger', 'intent-flow'), 'action' => __('Action', 'intent-flow'), 'event' => __('Event', 'intent-flow'), 'reason' => __('Reason', 'intent-flow'), 'limit' => __('Limit', 'intent-flow'), 'secret' => __('Secret', 'intent-flow'), 'title' => __('Title', 'intent-flow'), 'content' => __('Content', 'intent-flow'), 'module' => __('Module', 'intent-flow'), 'repeat' => __('Repeat', 'intent-flow'), 'json' => __('JSON', 'intent-flow'), 'form' => __('Form', 'intent-flow'), 'config' => __('Config', 'intent-flow'), 'user' => __('User', 'intent-flow'), // Dashboard 'macro_intent' => __('Macro Intent', 'intent-flow'), 'macro_intent_ui' => __('Macro Intent (UI)', 'intent-flow'), 'tools' => __('Tools', 'intent-flow'), 'runner' => __('Runner', 'intent-flow'), 'intents_available' => __('Available intents', 'intent-flow'), 'recent_runner' => __('Recent (runner)', 'intent-flow'), // Live mode 'live_off' => __('Live: OFF', 'intent-flow'), 'live_checking' => __('Live: checking…', 'intent-flow'), 'live_error' => __('Live: error', 'intent-flow'), 'enable_live' => __('Enable Live (10 min)', 'intent-flow'), 'disable_live' => __('Disable Live', 'intent-flow'), 'live_mode' => __('Live mode', 'intent-flow'), // Flows 'flows' => __('Flows', 'intent-flow'), 'flows_sequences' => __('Flows (sequences)', 'intent-flow'), 'new_flow' => __('New flow', 'intent-flow'), 'save_flow' => __('Save Flow', 'intent-flow'), 'run_flow' => __('Run flow', 'intent-flow'), 'run_test' => __('Run test', 'intent-flow'), 'create_flow' => __('Create flow', 'intent-flow'), 'flow_name' => __('Flow name', 'intent-flow'), 'flow_name_req' => __('Flow name (required)', 'intent-flow'), 'flow_json' => __('Flow JSON (name + steps…)', 'intent-flow'), 'search_flows' => __('Search flows…', 'intent-flow'), 'no_flows' => __('No flows yet.', 'intent-flow'), 'saving_flow' => __('Saving flow…', 'intent-flow'), 'deleting_flow' => __('Deleting flow…', 'intent-flow'), 'loading_flow' => __('Loading flow…', 'intent-flow'), 'exporting_flows' => __('Exporting flows…', 'intent-flow'), 'importing_flows' => __('Importing flows…', 'intent-flow'), 'visual_mode' => __('Visual mode', 'intent-flow'), 'add_action' => __('Add action', 'intent-flow'), 'sync_json' => __('Sync JSON', 'intent-flow'), 'new_from_runner' => __('New (from runner)', 'intent-flow'), 'select_flow' => __('Select a flow or paste a valid flow JSON.', 'intent-flow'), 'select_flow_first' => __('Select a flow first.', 'intent-flow'), 'running_flow' => __('Running flow (auto-live)…', 'intent-flow'), 'import_cancelled' => __('Import cancelled.', 'intent-flow'), 'no_valid_apps' => __('No valid apps detected for import.', 'intent-flow'), 'select_file_first' => __('Select a .json file first.', 'intent-flow'), 'recipes_title' => __('⚡ Ready-to-use recipes', 'intent-flow'), 'recipes_desc' => __('Create a flow in 1 click from a pre-built recipe. You can customize it afterwards.', 'intent-flow'), 'no_recipes' => __('No recipes available.', 'intent-flow'), 'error_recipes' => __('Error loading recipes.', 'intent-flow'), 'creating' => __('Creating…', 'intent-flow'), 'created' => __('✅ Created', 'intent-flow'), // Events 'new_rule' => __('New rule', 'intent-flow'), 'active_rules' => __('Active rules', 'intent-flow'), 'event_trigger' => __('Event (trigger)', 'intent-flow'), 'choose_event' => __('— Choose an event (trigger) —', 'intent-flow'), 'choose_action' => __('— Choose an action —', 'intent-flow'), 'payload_json' => __('Payload (JSON)', 'intent-flow'), 'save_rule' => __('➕ Save rule', 'intent-flow'), 'test_emit' => __('🧪 Test emit', 'intent-flow'), 'saving_rule' => __('Saving rule…', 'intent-flow'), 'rule_saved' => __('✅ Rule saved correctly.', 'intent-flow'), 'rule_deleted' => __('✅ Rule deleted.', 'intent-flow'), 'deleting_rule' => __('Deleting…', 'intent-flow'), 'updated' => __('✅ Updated.', 'intent-flow'), 'no_rules' => __('No rules yet. Create the first one above 👆', 'intent-flow'), 'loading_error' => __('Error loading rules:', 'intent-flow'), 'choose_event_warn' => __('⚠ Choose an event.', 'intent-flow'), 'choose_action_warn'=> __('⚠ Choose an action.', 'intent-flow'), 'invalid_json_warn' => __('⚠ Payload JSON is not valid.', 'intent-flow'), 'emitting' => __('Emitting', 'intent-flow'), 'emit_ok' => __('✅ Emit OK', 'intent-flow'), 'rules_dispatched' => __('rule(s) executed.', 'intent-flow'), 'loading_events' => __('Loading events…', 'intent-flow'), 'loading_actions' => __('Loading actions…', 'intent-flow'), 'error_events' => __('Error loading events', 'intent-flow'), 'error_actions' => __('Error loading actions.', 'intent-flow'), 'no_triggers' => __('No triggers found.', 'intent-flow'), 'fields_payload' => __('Fields for JSON payload:', 'intent-flow'), 'available_data' => __('Available data:', 'intent-flow'), 'debug_last' => __('Debug — last emit', 'intent-flow'), // Connections 'connections' => __('Connections', 'intent-flow'), 'new_connection' => __('New connection', 'intent-flow'), 'no_connections' => __('No connections yet. Click "New connection".', 'intent-flow'), 'rotate_secret' => __('Rotate secret', 'intent-flow'), 'webhook_url' => __('Webhook URL', 'intent-flow'), 'base_url' => __('Base URL', 'intent-flow'), 'auth_header' => __('Auth header (optional)', 'intent-flow'), 'bot_token' => __('Bot token', 'intent-flow'), 'default_chat_id' => __('Default Chat ID', 'intent-flow'), 'channel_optional' => __('Channel (optional)', 'intent-flow'), 'http_endpoint' => __('HTTP Endpoint (Base URL)', 'intent-flow'), 'name_unique' => __('Name (unique) *', 'intent-flow'), 'name_desc' => __('Descriptive name', 'intent-flow'), // Integrations 'integrations' => __('Integrations', 'intent-flow'), 'integrations_mod' => __('Integrations (Modules)', 'intent-flow'), 'safe_mode_off' => __('Safe mode: OFF', 'intent-flow'), 'loading_modules' => __('Loading modules…', 'intent-flow'), 'error_integrations'=> __('Error loading integrations.', 'intent-flow'), 'deactivate' => __('Deactivate', 'intent-flow'), 'activate' => __('Activate', 'intent-flow'), 'no_action_integ' => __('No action integrations registered.', 'intent-flow'), // Logs 'audit_server' => __('Server audit log', 'intent-flow'), 'executions_log' => __('Executions (Execution Log)', 'intent-flow'), 'clear_audit' => __('Clear audit', 'intent-flow'), 'clear_executions' => __('Clear executions', 'intent-flow'), 'export_json' => __('Export JSON', 'intent-flow'), 'auto_update' => __('Auto-update', 'intent-flow'), 'show' => __('Show', 'intent-flow'), 'all' => __('All', 'intent-flow'), 'no_executions' => __('No executions yet.', 'intent-flow'), 'no_events' => __('No events yet.', 'intent-flow'), 'clearing_audit' => __('Clearing audit…', 'intent-flow'), 'clearing_exec' => __('Clearing execution log…', 'intent-flow'), 'audit_updated' => __('Done. Audit updated.', 'intent-flow'), 'exporting_audit' => __('Exporting audit…', 'intent-flow'), 'exported' => __('Exported (downloaded)', 'intent-flow'), 'last_result' => __('Last result', 'intent-flow'), 'last_run' => __('Last run', 'intent-flow'), 'next_run' => __('Next run', 'intent-flow'), // Scheduler 'scheduler_loaded' => __('Scheduler loaded.', 'intent-flow'), 'create_job' => __('Create job', 'intent-flow'), 'creating_job' => __('Creating job…', 'intent-flow'), 'job_created' => __('Job created.', 'intent-flow'), 'no_jobs' => __('No jobs yet.', 'intent-flow'), 'error_jobs' => __('Error loading jobs:', 'intent-flow'), 'interval_s' => __('Interval (s)', 'intent-flow'), 'id_optional' => __('ID (optional)', 'intent-flow'), 'id_optional_ex' => __('ID (optional, e.g.: job_audit_test)', 'intent-flow'), 'intent_manual' => __('Manual intent', 'intent-flow'), 'payload_optional' => __('Payload JSON (optional)', 'intent-flow'), 'jobs' => __('Jobs', 'intent-flow'), // Settings 'settings_title' => __('⚙️ General settings', 'intent-flow'), 'settings_desc' => __('Adjust the global behavior of the plugin. Changes apply immediately.', 'intent-flow'), 'execution_mode' => __('Execution mode', 'intent-flow'), 'dry_run_label' => __('Dry-run mode (simulation)', 'intent-flow'), 'dry_run_desc' => __('Actions are not really executed. Ideal for testing.', 'intent-flow'), 'safe_mode_label' => __('Safe mode', 'intent-flow'), 'safe_mode_desc' => __('Blocks dangerous actions. Recommended in production.', 'intent-flow'), 'save_config' => __('💾 Save configuration', 'intent-flow'), 'config_saved' => __('✅ Configuration saved.', 'intent-flow'), 'saving_safe_mode' => __('Saving safe mode…', 'intent-flow'), // Presets 'presets' => __('Presets (server)', 'intent-flow'), 'preset_name_ph' => __('Preset name (e.g.: Quick draft)', 'intent-flow'), 'save_preset' => __('Save preset', 'intent-flow'), 'loading_preset' => __('Loading preset…', 'intent-flow'), 'saving_preset' => __('Saving preset…', 'intent-flow'), 'deleting_preset' => __('Deleting preset…', 'intent-flow'), 'exporting_presets' => __('Exporting presets…', 'intent-flow'), 'importing_presets' => __('Importing presets…', 'intent-flow'), 'select_preset' => __('— Select a preset —', 'intent-flow'), 'load' => __('Load', 'intent-flow'), 'erase' => __('Erase', 'intent-flow'), 'select_version' => __('Select a version.', 'intent-flow'), 'version_loaded' => __('Version loaded in editor (not applied yet).', 'intent-flow'), // Post editor 'create_update_post'=> __('Create/update post', 'intent-flow'), 'create_draft' => __('📝 Create draft', 'intent-flow'), 'publish' => __('🚀 Publish', 'intent-flow'), 'clear' => __('🧹 Clear', 'intent-flow'), 'title_req' => __('Title (required)', 'intent-flow'), 'content_optional' => __('Content (optional)', 'intent-flow'), 'create_update' => __('Create / update', 'intent-flow'), 'result_logs' => __('Result / logs', 'intent-flow'), 'history_local' => __('History (local)', 'intent-flow'), 'clear_history' => __('Clear local history', 'intent-flow'), 'no_history' => __('No history yet.', 'intent-flow'), 'history_cleared' => __('History cleared.', 'intent-flow'), 'history_error' => __('History error:', 'intent-flow'), 'running_macro' => __('Running macro.post.ensure (auto-live)…', 'intent-flow'), 'done_result' => __('Done (see Result/logs).', 'intent-flow'), 'form_from_history' => __('Form filled from history.', 'intent-flow'), 'running_exec' => __('Running', 'intent-flow'), 'select_action_ph' => __('Select an action or type an intent', 'intent-flow'), 'new_action' => __('New action', 'intent-flow'), 'edit_payload' => __('Edit payload', 'intent-flow'), 'edit_post' => __('Edit post', 'intent-flow'), 'view_post' => __('View post', 'intent-flow'), 'view_json' => __('View JSON', 'intent-flow'), 'comparing' => __('Comparing changes…', 'intent-flow'), 'undoing' => __('Undoing…', 'intent-flow'), 'undone' => __('Undone. Active apps:', 'intent-flow'), 'restored' => __('Restored. Active apps:', 'intent-flow'), 'restoring' => __('Restoring…', 'intent-flow'), 'defaults_ready' => __('Defaults ready (click Save Apps).', 'intent-flow'), 'edit_apps_json' => __('Edit Apps (JSON)', 'intent-flow'), 'no_undo' => __('Nothing to undo.', 'intent-flow'), 'undo_error' => __('Error undoing:', 'intent-flow'), 'no_actions_filter' => __('No actions for that filter.', 'intent-flow'), 'no_actions_reg' => __('No actions registered.', 'intent-flow'), 'search_trigger' => __('Search trigger…', 'intent-flow'), 'search_action' => __('Search action…', 'intent-flow'), 'select_trigger_auto'=> __('Select a trigger for auto-execution by events.', 'intent-flow'), 'select_trigger_test'=> __('Select a trigger to test.', 'intent-flow'), 'test_trigger' => __('Test trigger', 'intent-flow'), 'no_trigger' => __('This flow will only run manually.', 'intent-flow'), 'invalid_json' => __('Invalid JSON:', 'intent-flow'), 'invalid_json_step' => __('Invalid JSON payload in', 'intent-flow'), 'validate_json' => __('Validate JSON', 'intent-flow'), 'intent_id_ph' => __('Intent ID (e.g.: slack.send)', 'intent-flow'), 'search_intent' => __('Search intent (macro., server., diagnostics…)', 'intent-flow'), // Help page 'help_title' => __('❓ Help — Intent Flow', 'intent-flow'), 'help_subtitle' => __('Quick guide to start automating WordPress in less than 5 minutes.', 'intent-flow'), 'first_steps' => __('🚀 First steps', 'intent-flow'), 'section_guide' => __('📖 What each section does', 'intent-flow'), 'variables_title' => __('🔧 Available variables', 'intent-flow'), 'faq_title' => __('❓ Frequently asked questions', 'intent-flow'), 'support_title' => __('✉️ Support & contact', 'intent-flow'), 'pro_title' => __('🚀 Intent Flow Pro', 'intent-flow'), // Webhooks 'webhooks' => __('Webhooks (v1)', 'intent-flow'), 'create_webhook' => __('Create webhook', 'intent-flow'), 'error_webhooks' => __('Error loading webhooks.', 'intent-flow'), ]; } public static function localize() : void { wp_localize_script('mmi-admin-dashboard', 'intentFlowI18n', self::get_strings()); } }