Skip to content

Commit aba8953

Browse files
chore: update labels & link
1 parent 01703ac commit aba8953

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

includes/admin/feedzy-rss-feeds-admin.php

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,35 +2374,30 @@ private function enable_telemetry() {
23742374
public function add_black_friday_data( $configs ) {
23752375
$config = $configs['default'];
23762376

2377-
// translators: %1$s - discount, %2$s - product label.
2378-
$message_template = __( 'Our biggest sale of the year: %1$s off on %2$s! Don\'t miss this limited-time offer.', 'feedzy-rss-feeds' );
2379-
$product_label = __( 'Feedzy', 'feedzy-rss-feeds' );
2377+
// translators: %1$s - HTML tag, %2$s - discount, %3$s - HTML tag, %4$s - product name.
2378+
$message_template = __( 'Our biggest sale of the year: %1$sup to %2$s OFF%3$s on %4$s. Don\'t miss this limited-time offer.', 'feedzy-rss-feeds' );
2379+
$product_label = 'Feedzy';
23802380
$discount = '70%';
23812381

23822382
$is_pro = feedzy_is_pro();
23832383

23842384
if ( $is_pro ) {
2385-
// translators: %1$s - discount, %2$s - product label.
2386-
$message_template = __( 'Get %1$s off when you upgrade your %2$s plan or renew early.', 'feedzy-rss-feeds' );
2387-
$product_label = __( 'Feedzy Pro', 'feedzy-rss-feeds' );
2385+
// translators: %1$s - HTML tag, %2$s - discount, %3$s - HTML tag, %4$s - product name.
2386+
$message_template = __( 'Get %1$sup to %2$s off%3$s when you upgrade your %4$s plan or renew early.', 'feedzy-rss-feeds' );
2387+
$product_label = 'Feedzy Pro';
23882388
$discount = '30%';
23892389
}
23902390

2391-
$discount = sprintf( '<strong>%s</strong>', $discount );
23922391
$product_label = sprintf( '<strong>%s</strong>', $product_label );
23932392
$url_params = array(
23942393
'utm_term' => $is_pro ? 'plan-' . apply_filters( 'product_feedzy_license_plan', 0 ) : 'free',
23952394
'lkey' => apply_filters( 'product_feedzy_license_key', false )
23962395
);
23972396

2398-
if ( ! empty( $license_key ) ) {
2399-
$url_params['lkey'] = $license_key;
2400-
}
2401-
2402-
$config['message'] = sprintf( $message_template, $discount, $product_label );
2397+
$config['message'] = sprintf( $message_template, '<strong>', $discount, '</strong>', $product_label );
24032398
$config['sale_url'] = add_query_arg(
24042399
$url_params,
2405-
tsdk_translate_link( tsdk_utmify( 'https://themeisle.com/plugins/feedzy-rss-feeds/blackfriday', 'bfcm', 'feedzy' ) )
2400+
tsdk_translate_link( tsdk_utmify( 'https://themeisle.link/feedzy-bf', 'bfcm', 'feedzy' ) )
24062401
);
24072402

24082403
$configs[ $this->plugin_name ] = $config;

0 commit comments

Comments
 (0)