Skip to content

Commit

Permalink
Fix: string not localized
Browse files Browse the repository at this point in the history
  • Loading branch information
AleTorrisi committed Dec 17, 2024
1 parent 5083aeb commit 7366b50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/advancedSettings/JetpackBoost/SingleOption.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const SingleOption = ( { params, isChild, methods, constants } ) => {
! NewfoldRuntime.sdk.performance
.jetpack_boost_premium_is_active && (
<FeatureUpsell
cardText="Upgrade to Unlock"
cardText={constants.text.upgradeModule}
cardLink={ option.premiumUrl }
>
<ToggleField
Expand Down
1 change: 1 addition & 0 deletions components/performance/defaultText.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ const defaultText = {
),
optionSet: __( 'Option saved correctly', 'wp-module-performance' ),
optionNotSet: __( 'Error saving option', 'wp-module-performance' ),
upgradeModule: __( 'Upgrade to unlock', 'wp-module-performance' ),
};

export default defaultText;

0 comments on commit 7366b50

Please sign in to comment.