Skip to content

Commit

Permalink
Merge pull request #10 from newfold-labs/fix/plugin-name-typo
Browse files Browse the repository at this point in the history
replace plugin name with dynamic value from container
  • Loading branch information
circlecube authored Mar 20, 2024
2 parents 83447e2 + f967bd5 commit c8b09a2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions includes/DeactivationSurvey.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct() {
$defaults = array(
'surveyAriaTitle' => __( 'Plugin Deactivation Survey', 'wp-module-deactivation' ),
'surveyTitle' => sprintf(
__( 'Thank you for using the %s plugin!', 'wp-module-deactivation' ),
__( 'Thank you for using the %s plugin!', 'wp-module-deactivation' ),
ucwords( container()->plugin()->id )
),
'surveyDesc' => __( 'Please take a moment to let us know why you\'re deactivating this plugin.', 'wp-module-deactivation' ),
Expand All @@ -40,7 +40,10 @@ public function __construct() {
'continue' => __( 'Continue', 'wp-module-deactivation' ),
'continueAriaLabel' => __( 'Continue Deactivation', 'wp-module-deactivation' ),
'sureTitle' => __( 'Are you sure you want to deactivate?', 'wp-module-deactivation' ),
'sureDesc' => __( 'If the Bluehost plugin is deactivated, these features will no longer work:', 'wp-module-deactivation' ),
'sureDesc' => sprintf(
__( 'If the %s plugin is deactivated, these features will no longer work:', 'wp-module-deactivation' ),
ucwords( container()->plugin()->id )
),
'sureCards' => array(
array(
'title' => sprintf(
Expand Down

0 comments on commit c8b09a2

Please sign in to comment.