diff --git a/projects/plugins/boost/app/admin/class-admin.php b/projects/plugins/boost/app/admin/class-admin.php index 384a44b8b583..85a944bb3de5 100644 --- a/projects/plugins/boost/app/admin/class-admin.php +++ b/projects/plugins/boost/app/admin/class-admin.php @@ -43,7 +43,7 @@ public function handle_admin_menu() { * @since 1.0.0 */ $total_problems = apply_filters( 'jetpack_boost_total_problem_count', 0 ); - $menu_label = _x( 'Boost', 'The Jetpack Boost product name, without the Jetpack prefix', 'jetpack-boost' ); + $menu_label = 'Boost'; // "Boost" is a product name, do not translate. if ( $total_problems ) { $menu_label .= sprintf( ' %d', $total_problems, $total_problems ); } diff --git a/projects/plugins/boost/changelog/update-untranslate-product-names b/projects/plugins/boost/changelog/update-untranslate-product-names new file mode 100644 index 000000000000..1d6d638bcca9 --- /dev/null +++ b/projects/plugins/boost/changelog/update-untranslate-product-names @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Boost: Remove translation wrappers from the "Boost" product name. diff --git a/projects/plugins/jetpack/_inc/client/at-a-glance/boost/index.jsx b/projects/plugins/jetpack/_inc/client/at-a-glance/boost/index.jsx index 039f1b3fd5b9..b7afef670e1b 100644 --- a/projects/plugins/jetpack/_inc/client/at-a-glance/boost/index.jsx +++ b/projects/plugins/jetpack/_inc/client/at-a-glance/boost/index.jsx @@ -7,7 +7,7 @@ import { import { BoostScoreBar, getRedirectUrl } from '@automattic/jetpack-components'; import { ExternalLink } from '@wordpress/components'; import { createInterpolateElement } from '@wordpress/element'; -import { __, _x, sprintf } from '@wordpress/i18n'; +import { __, sprintf } from '@wordpress/i18n'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import { useCallback, useEffect, useState } from 'react'; @@ -69,11 +69,8 @@ const DashBoost = ( { // Don't show score bars until we know if they already have boost installed and activated, the site is online, and we have the scores. const shouldShowScoreBars = ! hasBoost && ! isSiteOffline && ! fetchingPluginsData && ! isSpeedScoreError; - const pluginName = _x( - 'Boost', - 'The Jetpack Boost product name, without the Jetpack prefix', - 'jetpack' - ); + // "Boost" is a product name, do not translate. + const pluginName = 'Boost'; const setScoresFromCache = () => { setMobileSpeedScore( latestSpeedScores.scores.mobile ); diff --git a/projects/plugins/jetpack/_inc/client/at-a-glance/crm/index.jsx b/projects/plugins/jetpack/_inc/client/at-a-glance/crm/index.jsx index bf78f38c2ce7..978ddd82914c 100644 --- a/projects/plugins/jetpack/_inc/client/at-a-glance/crm/index.jsx +++ b/projects/plugins/jetpack/_inc/client/at-a-glance/crm/index.jsx @@ -1,7 +1,7 @@ import { getRedirectUrl } from '@automattic/jetpack-components'; import { ExternalLink } from '@wordpress/components'; import { createInterpolateElement } from '@wordpress/element'; -import { __, _x } from '@wordpress/i18n'; +import { __ } from '@wordpress/i18n'; import PropTypes from 'prop-types'; import { Component } from 'react'; import PluginDashItem from 'components/plugin-dash-item'; @@ -19,11 +19,7 @@ class DashCRM extends Component { render() { return ( %d', $total_threats ); } $page_suffix = Admin_Menu::add_menu( - __( 'Jetpack Protect', 'jetpack-protect' ), + 'Jetpack Protect', // "Jetpack Protect" is a product name, do not translate. $menu_label, 'manage_options', 'jetpack-protect',