Skip to content

Commit

Permalink
Update column copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfmohit committed Feb 21, 2025
1 parent dca5149 commit d12709f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions includes/Modules/Reader_Revenue_Manager/Admin_Post_List.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function fill_column( $column, $post_id ) {
$post_product_id = $this->post_product_id->get( $post_id );

if ( 'none' === $post_product_id ) {
esc_html_e( 'No', 'google-site-kit' );
esc_html_e( 'Exclude from Reader Revenue Manager', 'google-site-kit' );

return;
}
Expand All @@ -128,15 +128,15 @@ public function fill_column( $column, $post_id ) {
}

if ( 'openaccess' === $post_product_id ) {
esc_html_e( 'Yes, with "open access"', 'google-site-kit' );
esc_html_e( 'Use "open access"', 'google-site-kit' );

return;
}

echo esc_html(
sprintf(
/* translators: %s: Product ID */
__( 'Yes, with "%s"', 'google-site-kit' ),
__( 'Use "%s"', 'google-site-kit' ),
$post_product_id
),
);
Expand All @@ -147,7 +147,7 @@ public function fill_column( $column, $post_id ) {
$settings = $this->settings->get();

if ( 'per_post' === $settings['snippetMode'] ) {
esc_html_e( 'No', 'google-site-kit' );
esc_html_e( 'Exclude from Reader Revenue Manager', 'google-site-kit' );

return;
}
Expand All @@ -167,13 +167,13 @@ public function fill_column( $column, $post_id ) {
if ( 'post_types' === $settings['snippetMode'] &&
! in_array( get_post_type(), $cta_post_types, true )
) {
esc_html_e( 'No', 'google-site-kit' );
esc_html_e( 'Exclude from Reader Revenue Manager', 'google-site-kit' );

return;
}

esc_html_e(
'Yes, with default selection',
'Use default selection',
'google-site-kit'
);
}
Expand Down

0 comments on commit d12709f

Please sign in to comment.