| @@ -45,8 +45,9 @@ | ||
| 45 | 45 | * |
| 46 | 46 | * @var array The modules which SDK will be using. |
| 47 | 47 | */ |
| 48 | 48 | private static $available_modules = [ |
| 49 | + 'crash_reporter', | |
| 49 | 50 | 'script_loader', |
| 50 | 51 | 'dashboard_widget', |
| 51 | 52 | 'rollback', |
| 52 | 53 | 'uninstall_feedback', |
| @@ -64,8 +65,9 @@ | ||
| 64 | 65 | 'announcements', |
| 65 | 66 | 'featured_plugins', |
| 66 | 67 | 'float_widget', |
| 67 | 68 | 'migrator', |
| 69 | + 'ai_connect', | |
| 68 | 70 | ]; |
| 69 | 71 | /** |
| 70 | 72 | * Holds the labels for the modules. |
| 71 | 73 | * |
| @@ -183,8 +185,14 @@ | ||
| 183 | 185 | 'install' => 'Install Masteriyo', |
| 184 | 186 | 'dismisscta' => 'Dismiss this notice.', |
| 185 | 187 | 'message' => 'Transform your site into a learning hub with Masteriyo LMS. Build engaging courses with intuitive tools, track student progress effortlessly, and grow your education business with powerful marketing features and seamless payment integration.', |
| 186 | 188 | ], |
| 189 | + 'easy_mcp' => [ | |
| 190 | + 'gotodash' => 'Go to Easy MCP Dashboard', | |
| 191 | + 'install' => 'Install Easy MCP AI', | |
| 192 | + 'dismisscta' => 'Dismiss this notice.', | |
| 193 | + 'message' => 'Connect Claude, ChatGPT, and other AI assistants to this site with Easy MCP AI — a free MCP server that lets your AI manage content, media, and SEO data, with per-scope permissions and a full audit trail.', | |
| 194 | + ], | |
| 187 | 195 | ], |
| 188 | 196 | 'welcome' => [ |
| 189 | 197 | 'ctan' => 'No, thanks.', |
| 190 | 198 | 'ctay' => 'Upgrade Now!', |
| @@ -197,13 +205,14 @@ | ||
| 197 | 205 | 'cta_info' => 'What info do we collect?', |
| 198 | 206 | 'button_submit' => 'Submit & Deactivate', |
| 199 | 207 | 'button_cancel' => 'Skip & Deactivate', |
| 200 | 208 | 'disclosure' => [ |
| 201 | - 'title' => 'Below is a detailed view of all data that Themeisle will receive if you fill in this survey. No email address or IP addresses are transmitted after you submit the survey.', | |
| 202 | - 'version' => '%s %s version %s %s %s %s', | |
| 203 | - 'website' => '%sCurrent website:%s %s %s %s', | |
| 204 | - 'usage' => '%sUsage time:%s %s %s%s', | |
| 205 | - 'reason' => '%s Uninstall reason %s %s Selected reason from the above survey %s ', | |
| 209 | + 'title' => 'Below is a detailed view of all data that Themeisle will receive if you fill in this survey. No email address or IP addresses are transmitted after you submit the survey.', | |
| 210 | + 'version' => '%s %s version %s %s %s %s', | |
| 211 | + 'website' => '%sCurrent website:%s %s %s %s', | |
| 212 | + 'usage' => '%sUsage time:%s %s %s%s', | |
| 213 | + 'reason' => '%s Uninstall reason %s %s Selected reason from the above survey %s ', | |
| 214 | + 'diagnostics' => '%sCrash diagnostics:%s Anonymized technical details of errors recorded for this product, if any.', | |
| 206 | 215 | ], |
| 207 | 216 | |
| 208 | 217 | 'options' => [ |
| 209 | 218 | 'id3' => [ |
| @@ -349,8 +358,46 @@ | ||
| 349 | 358 | 'user_3' => 'Otter Blocks work really well and I like the customization options. Easy to use and format to fit in with my site theme – and I’ve not encountered any compatibility or speed issues.', |
| 350 | 359 | ], |
| 351 | 360 | ], |
| 352 | 361 | ], |
| 362 | + ], | |
| 363 | + 'ai_connect' => [ | |
| 364 | + 'row_link' => 'Connect with your AI agent', | |
| 365 | + // translators: %s is the product name. | |
| 366 | + 'notice_title' => 'Manage %s with your AI agent.', | |
| 367 | + // translators: %s is a list of things the agent can do, e.g. "optimize new uploads, purge cached images or offload originals". | |
| 368 | + 'notice_text' => 'Ask Claude, ChatGPT or Cursor to %s.', | |
| 369 | + // translators: 1: comma-separated use cases, 2: the last use case. | |
| 370 | + 'cases_join' => '%1$s or %2$s', | |
| 371 | + 'notice_button' => 'Connect your AI agent', | |
| 372 | + 'eyebrow' => 'Works with Claude, ChatGPT, Cursor and any MCP agent', | |
| 373 | + // translators: %s is the product name. | |
| 374 | + 'title' => 'Use %s from your AI agent', | |
| 375 | + // translators: %s is the product name. | |
| 376 | + 'lead' => 'Activate your site’s MCP URL, connect the agent you already use, and %s becomes something you can simply ask for.', | |
| 377 | + 'enable' => 'Install and activate Easy MCP', | |
| 378 | + 'enable_installed' => 'Activate Easy MCP', | |
| 379 | + 'enabling' => 'Installing…', | |
| 380 | + 'activating' => 'Activating…', | |
| 381 | + 'enabled' => 'Easy MCP is active', | |
| 382 | + // translators: %s is the product name. | |
| 383 | + 'enable_note' => 'Easy MCP is free, by the %s team. It enables your site’s MCP URL.', | |
| 384 | + 'url_label' => 'Your site’s MCP URL', | |
| 385 | + 'copy' => 'Copy', | |
| 386 | + 'copied' => 'Copied', | |
| 387 | + 'close' => 'Close', | |
| 388 | + 'connect_heading' => 'Connect your agent', | |
| 389 | + 'connect_claude' => 'Connect to Claude', | |
| 390 | + 'connect_chatgpt' => 'Connect to ChatGPT', | |
| 391 | + 'connect_cursor' => 'Add to Cursor', | |
| 392 | + 'hint_off' => 'Your agents can connect once Easy MCP is active.', | |
| 393 | + 'hint_on' => 'Each button opens your agent with this site pre-filled. ChatGPT asks you to paste the URL above.', | |
| 394 | + 'more_agents' => 'Using another agent?', | |
| 395 | + 'more_agents_link' => 'See how to connect it.', | |
| 396 | + 'prompts_off' => 'Once Easy MCP is active, you can ask your AI agent things like', | |
| 397 | + 'prompts_on' => 'Try asking', | |
| 398 | + 'error_permission' => 'You are not allowed to do this.', | |
| 399 | + 'error_install' => 'Easy MCP could not be activated. Please try again.', | |
| 353 | 400 | ], |
| 354 | 401 | 'float_widget' => [ |
| 355 | 402 | 'button' => 'Toggle Help Widget for %s', |
| 356 | 403 | 'panel' => [ |