Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions projects/plugins/jetpack/_inc/client/ai/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import McpWrite from './mcp/write';
const { blogId, activityLogUrl, apiRoot, apiNonce } = window?.jetpackAiSettings ?? {};

const VIEW_TITLES = {
hub: __( 'AI', 'jetpack' ),
hub: 'AI', // "AI" is a product name and should not be translated.
read: __( 'Read', 'jetpack' ),
write: __( 'Write', 'jetpack' ),
setup: __( 'Connect external AI agent', 'jetpack' ),
Expand Down Expand Up @@ -53,7 +53,8 @@ function Breadcrumbs( { view, onNavigate } ) {
onClick={ onNavigate }
>
<JetpackLogo showText={ false } height={ 20 } />
{ __( 'AI', 'jetpack' ) }
{ /** "AI" is a product name and should not be translated. */ }
AI
</button>
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/_inc/client/ai/mcp/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* MCP Settings hub — main view shown at wp-admin/admin.php?page=ai.
* MCP Settings hub — main view shown at wp-admin/admin.php?page=jetpack-ai.
* Shows the enable/disable toggle and navigation to Read, Write, and Setup sub-views.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ class Jetpack_AI_Page extends Jetpack_Admin_Page {
*/
public function get_page_hook() {
return Admin_Menu::add_menu(
__( 'Jetpack AI', 'jetpack' ),
__( 'AI', 'jetpack' ),
// "Jetpack AI" is a product name and should not be translated.
'Jetpack AI',
'AI',
'manage_options',
'ai',
'jetpack-ai',
array( $this, 'render' ),
4
);
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/fix-ai-page-slug
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix

AI: Change admin page slug from 'ai' to 'jetpack-ai' to avoid conflicts with the WordPress core AI plugin.
Loading