' . sprintf( __( 'Selecting options here and %1$schecking%2$s the Exclude box will %1$sprevent%2$s posts in those taxonomies from sharing.', 'tweet-old-post' ), '', '' ) . '
' .
- '
' . sprintf( __( 'Selecting options here and leaving the Exclude box %1$sunchecked%2$s will %1$sonly share%2$s posts in those taxonomies.', 'tweet-old-post' ), '', '' ) . '
',
+ '
' . esc_html__( 'Here you can set which WordPress taxonomies you\'d like to include/exclude from sharing.', 'tweet-old-post' ) . '
' . sprintf( __( 'Selecting options here and %1$schecking%2$s the Exclude box will %1$sprevent%2$s posts in those taxonomies from sharing.', 'tweet-old-post' ), '', '' ) . '
' .
+ '
' . sprintf( __( 'Selecting options here and leaving the Exclude box %1$sunchecked%2$s will %1$sonly share%2$s posts in those taxonomies.', 'tweet-old-post' ), '', '' ) . '
' . esc_html__( 'Share on Publish', 'tweet-old-post' ) . '
' .
- '
' . esc_html__( 'Revive Social not only works on autopilot, it can also be used to push new posts to your social networks immediately.', 'tweet-old-post' ) . '
' .
- '
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
',
+ '
' . esc_html__( 'Revive Social not only works on autopilot, it can also be used to push new posts to your social networks immediately.', 'tweet-old-post' ) . '
' .
+ '
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
' . esc_html__( 'You can add multiple custom messages to individual posts as share variations! Revive Social will randomly select one to share.', 'tweet-old-post' ) . '
' .
- '
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
',
+ '
' . esc_html__( 'You can add multiple custom messages to individual posts as share variations! Revive Social will randomly select one to share.', 'tweet-old-post' ) . '
' .
+ '
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
' . esc_html__( 'You\'ll be able to have look at the posts scheduled to go out by Revive Social. You can even skip or block them from sharing in the future.', 'tweet-old-post' ) . '
' .
- '
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
',
+ '
' . esc_html__( 'You\'ll be able to have look at the posts scheduled to go out by Revive Social. You can even skip or block them from sharing in the future.', 'tweet-old-post' ) . '
' .
+ '
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
' . esc_html__( 'Once you\'ve connected your accounts and setup their Post Format settings, use this button to start the plugin.', 'tweet-old-post' ) . '
',
+ '
' . esc_html__( 'Once you\'ve connected your accounts and setup their Post Format settings, use this button to start the plugin.', 'tweet-old-post' ) . '
MULTIPLE_VARIATION_GROUP;
- $i ++;
- $img_index ++;
+ ++$i;
+ ++$img_index;
}
} else {
/**
diff --git a/includes/class-rop-activator.php b/includes/class-rop-activator.php
index 29936369d..0b87829ff 100644
--- a/includes/class-rop-activator.php
+++ b/includes/class-rop-activator.php
@@ -46,7 +46,6 @@ public static function activate() {
self::rop_create_install_token();
self::rop_set_first_install_date();
-
}
/**
@@ -66,7 +65,6 @@ private static function rop_create_install_token() {
$token = hash( 'ripemd160', $url . date( 'Y-m-d H:i:s' ) );
update_option( ROP_INSTALL_TOKEN_OPTION, $token, false );
-
}
/**
@@ -84,5 +82,4 @@ private static function rop_set_first_install_date() {
add_option( 'rop_first_install_date', $install_date, '', 'yes' );
}
}
-
}
diff --git a/includes/class-rop-deactivator.php b/includes/class-rop-deactivator.php
index cd52ac561..e0a6ce508 100644
--- a/includes/class-rop-deactivator.php
+++ b/includes/class-rop-deactivator.php
@@ -35,7 +35,5 @@ public static function deactivate() {
*/
$cron_helper = new Rop_Cron_Helper();
$cron_helper->remove_cron();
-
}
-
}
diff --git a/includes/class-rop-i18n.php b/includes/class-rop-i18n.php
index 338b1f06d..88e031b76 100644
--- a/includes/class-rop-i18n.php
+++ b/includes/class-rop-i18n.php
@@ -45,7 +45,6 @@ public function load_plugin_textdomain() {
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
);
add_filter( 'rop_available_services', array( $this, 'load_service_locals' ), 99 );
-
}
/**
@@ -56,11 +55,11 @@ public function load_plugin_textdomain() {
* @return mixed Services localized.
*/
public function load_service_locals( $services ) {
- $services['facebook']['credentials']['secret']['description'] = Rop_I18n::get_labels( 'accounts.fb_app_secret_title' );
- $services['facebook']['credentials']['app_id']['description'] = Rop_I18n::get_labels( 'accounts.fb_app_id_title' );
- $services['facebook']['description'] = Rop_I18n::get_labels( 'accounts.fb_app_desc' );
- $services['twitter']['description'] = Rop_I18n::get_labels( 'accounts.twt_app_desc' );
- $services['telegram']['description'] = Rop_I18n::get_labels( 'accounts.tlg_app_desc' );
+ $services['facebook']['credentials']['secret']['description'] = self::get_labels( 'accounts.fb_app_secret_title' );
+ $services['facebook']['credentials']['app_id']['description'] = self::get_labels( 'accounts.fb_app_id_title' );
+ $services['facebook']['description'] = self::get_labels( 'accounts.fb_app_desc' );
+ $services['twitter']['description'] = self::get_labels( 'accounts.twt_app_desc' );
+ $services['telegram']['description'] = self::get_labels( 'accounts.tlg_app_desc' );
return $services;
}
@@ -141,176 +140,176 @@ public static function get_labels( $key = '' ) {
'no_account_found' => __( 'No account found for search', 'tweet-old-post' ),
),
'settings' => array(
- 'yes_text' => __( 'Yes', 'tweet-old-post' ),
- 'available_in_pro' => __( ' This feature is only available in the Pro version.', 'tweet-old-post' ),
- 'post_types_exclude_limit' => sprintf( __( 'Upgrade to Pro version to select more than 30 posts. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
+ 'yes_text' => __( 'Yes', 'tweet-old-post' ),
+ 'available_in_pro' => __( ' This feature is only available in the Pro version.', 'tweet-old-post' ),
+ 'post_types_exclude_limit' => sprintf( __( 'Upgrade to Pro version to select more than 30 posts. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'post_types_exclude_limit_tooltip' => __( 'Upgrade to Pro version to select more than 30 posts.', 'tweet-old-post' ),
- 'menu_item' => __( 'General Settings', 'tweet-old-post' ),
- 'min_interval_title' => __( 'Minimum Interval Between Shares', 'tweet-old-post' ),
- 'min_interval_desc' => __( 'How many hours between each share?', 'tweet-old-post' ),
- 'min_days_title' => __( 'Minimum Post Age', 'tweet-old-post' ),
- 'min_days_desc' => __( 'Minimum age of posts available for sharing, in days.', 'tweet-old-post' ),
- 'max_days_title' => __( 'Maximum Post Age', 'tweet-old-post' ),
- 'max_days_desc' => __( 'Maximum age of posts available for sharing, in days.', 'tweet-old-post' ),
- 'no_posts_title' => __( 'Number of Posts', 'tweet-old-post' ),
- 'no_posts_desc' => __( 'Number of posts to share per account when a share occurs.', 'tweet-old-post' ),
- 'share_once_title' => __( 'Share More Than Once?', 'tweet-old-post' ),
- 'share_once_desc' => __(
+ 'menu_item' => __( 'General Settings', 'tweet-old-post' ),
+ 'min_interval_title' => __( 'Minimum Interval Between Shares', 'tweet-old-post' ),
+ 'min_interval_desc' => __( 'How many hours between each share?', 'tweet-old-post' ),
+ 'min_days_title' => __( 'Minimum Post Age', 'tweet-old-post' ),
+ 'min_days_desc' => __( 'Minimum age of posts available for sharing, in days.', 'tweet-old-post' ),
+ 'max_days_title' => __( 'Maximum Post Age', 'tweet-old-post' ),
+ 'max_days_desc' => __( 'Maximum age of posts available for sharing, in days.', 'tweet-old-post' ),
+ 'no_posts_title' => __( 'Number of Posts', 'tweet-old-post' ),
+ 'no_posts_desc' => __( 'Number of posts to share per account when a share occurs.', 'tweet-old-post' ),
+ 'share_once_title' => __( 'Share More Than Once?', 'tweet-old-post' ),
+ 'share_once_desc' => __(
'If all available posts have been shared to your active accounts, should we automatically restart the sharing?',
'tweet-old-post'
),
- 'post_types_title' => __( 'Post Types', 'tweet-old-post' ),
- 'post_types_taxonomy_limit' => sprintf( __( 'Upgrade to Pro version to select more than 4 taxonomies. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
- 'post_types_attachament_info' => sprintf( __( 'You need to select the media files which you want to share, find out more information %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
- 'post_types_desc' => __( 'Which post types should Revive Social share? Learn more.', 'tweet-old-post' ),
- 'update_post_published_date_title' => __( 'Update Post Published Date After Share', 'tweet-old-post' ),
- 'update_post_published_date_desc' => sprintf( __( 'Update the post published date after it has been shared to your social media account. %1$sLearn more%2$s.', 'tweet-old-post' ), '', '' ),
- 'filter_by_post_types_desc' => __( 'Filter posts list by Post Type', 'tweet-old-post' ),
- 'post_types_upsell' => __(
+ 'post_types_title' => __( 'Post Types', 'tweet-old-post' ),
+ 'post_types_taxonomy_limit' => sprintf( __( 'Upgrade to Pro version to select more than 4 taxonomies. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
+ 'post_types_attachament_info' => sprintf( __( 'You need to select the media files which you want to share, find out more information %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
+ 'post_types_desc' => __( 'Which post types should Revive Social share? Learn more.', 'tweet-old-post' ),
+ 'update_post_published_date_title' => __( 'Update Post Published Date After Share', 'tweet-old-post' ),
+ 'update_post_published_date_desc' => sprintf( __( 'Update the post published date after it has been shared to your social media account. %1$sLearn more%2$s.', 'tweet-old-post' ), '', '' ),
+ 'filter_by_post_types_desc' => __( 'Filter posts list by Post Type', 'tweet-old-post' ),
+ 'post_types_upsell' => __(
'Selecting custom post types is available in the Pro
version.',
'tweet-old-post'
),
- 'taxonomies_title' => __( 'Taxonomies', 'tweet-old-post' ),
- 'taxonomies_desc' => __(
+ 'taxonomies_title' => __( 'Taxonomies', 'tweet-old-post' ),
+ 'taxonomies_desc' => __(
'Taxonomies available for the selected post types. Use to include or exclude
posts. Learn more.',
'tweet-old-post'
),
- 'filter_by_taxonomies_desc' => __( 'Filter posts list by Taxonomy', 'tweet-old-post' ),
- 'taxonomies_exclude' => __( 'Exclude?', 'tweet-old-post' ),
- 'posts_title' => __( 'Posts', 'tweet-old-post' ),
- 'posts_desc' => __( 'Posts excluded from sharing, filtered based on previous selections.', 'tweet-old-post' ),
- 'ga_title' => __( 'Enable Google Analytics Tracking', 'tweet-old-post' ),
- 'ga_desc' => __(
+ 'filter_by_taxonomies_desc' => __( 'Filter posts list by Taxonomy', 'tweet-old-post' ),
+ 'taxonomies_exclude' => __( 'Exclude?', 'tweet-old-post' ),
+ 'posts_title' => __( 'Posts', 'tweet-old-post' ),
+ 'posts_desc' => __( 'Posts excluded from sharing, filtered based on previous selections.', 'tweet-old-post' ),
+ 'ga_title' => __( 'Enable Google Analytics Tracking', 'tweet-old-post' ),
+ 'ga_desc' => __(
'If checked, UTM query tags will be added to URL of shares so that you can better track
traffic from Revive Social.',
'tweet-old-post'
),
- 'custom_share_title' => __( 'Enable Share Content Variations', 'tweet-old-post' ),
- 'custom_share_desc' => __( 'These messages will override the Post Content option in Post Format settings. You can go to each post and add multiple share content variations. Learn more.', 'tweet-old-post' ),
- 'custom_share_order_title' => __( 'Share Message Variations In the Order They Are Added.', 'tweet-old-post' ),
- 'custom_share_order_desc' => __( 'By default message variations are shared randomly. Checking this box will cause them to share in the order they were added.', 'tweet-old-post' ),
- 'instant_share_title' => __( 'Enable Instant Sharing Feature (Post on Publish)', 'tweet-old-post' ),
- 'instant_share_desc' => __( 'Allows you to share posts immediately on publish/update. Learn more.', 'tweet-old-post' ),
+ 'custom_share_title' => __( 'Enable Share Content Variations', 'tweet-old-post' ),
+ 'custom_share_desc' => __( 'These messages will override the Post Content option in Post Format settings. You can go to each post and add multiple share content variations. Learn more.', 'tweet-old-post' ),
+ 'custom_share_order_title' => __( 'Share Message Variations In the Order They Are Added.', 'tweet-old-post' ),
+ 'custom_share_order_desc' => __( 'By default message variations are shared randomly. Checking this box will cause them to share in the order they were added.', 'tweet-old-post' ),
+ 'instant_share_title' => __( 'Enable Instant Sharing Feature (Post on Publish)', 'tweet-old-post' ),
+ 'instant_share_desc' => __( 'Allows you to share posts immediately on publish/update. Learn more.', 'tweet-old-post' ),
'instant_share_default_title' => __( 'Enable Instant Sharing By Default', 'tweet-old-post' ),
'instant_share_default_desc' => __( 'Instant sharing option will be checked by default when creating new posts.', 'tweet-old-post' ),
- 'cron_type_label' => __( 'Cron Job Type', 'tweet-old-post' ),
- 'cron_type_label_desc' => sprintf( __( 'Select the between your local built-in WordPress task scheduler, or Revive Social\'s, %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
- 'cron_type_label_desc_terms' => __( 'I understand that some site data is stored on the Revive Social\'s Remote Cron System to provide this service Read More Here.', 'tweet-old-post' ),
- 'cron_type_notice' => sprintf( __( '%1$sNOTE:%2$s This is a BETA Remote Cron feature to be used mainly if your %1$sposts aren\'t sharing%2$s. If the Remote Cron feature is used, and you notice that your posts are still not sharing, then please %1$sturn the setting back to "Local Cron"%2$s and read the following guide for alternative solutions that are sure to work: %1$s%3$sLearn More%4$s%2$s.', 'tweet-old-post' ), '', '', '', '' ),
- 'housekeeping' => __( 'Housekeeping', 'tweet-old-post' ),
- 'housekeeping_desc' => __( 'Should we delete all saved settings on deletion of the Revive Social plugin?', 'tweet-old-post' ),
- 'save' => __( 'Save', 'tweet-old-post' ),
- 'taxonomies_exclude_explicit' => __( 'Exclude taxononmies', 'tweet-old-post' ),
- 'save_filters' => __( 'Save filters', 'tweet-old-post' ),
- 'search_posts_to_exclude' => __( 'Search post to exclude...', 'tweet-old-post' ),
- 'search_posts_show_excluded' => __( 'Show only excluded posts', 'tweet-old-post' ),
- 'exclude_matching' => __( 'Exclude all matching', 'tweet-old-post' ),
- 'include_single_post' => __( 'Include this post', 'tweet-old-post' ),
- 'exclude_single_post' => __( 'Exclude this post', 'tweet-old-post' ),
- 'no_posts_found' => __( 'No posts found.', 'tweet-old-post' ),
- 'load_more_posts' => __( 'Load more posts.', 'tweet-old-post' ),
- 'min_interval_upsell' => __( 'Choosing a lower interval is available in the Pro version.', 'tweet-old-post' ),
- 'tracking_field' => __( 'Contributing', 'tweet-old-post' ),
- 'tracking' => __( 'Send anonymous data to help us understand how you use the plugin.', 'tweet-old-post' ),
- 'tracking_info' => __( 'What do we track?', 'tweet-old-post' ),
+ 'cron_type_label' => __( 'Cron Job Type', 'tweet-old-post' ),
+ 'cron_type_label_desc' => sprintf( __( 'Select the between your local built-in WordPress task scheduler, or Revive Social\'s, %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
+ 'cron_type_label_desc_terms' => __( 'I understand that some site data is stored on the Revive Social\'s Remote Cron System to provide this service Read More Here.', 'tweet-old-post' ),
+ 'cron_type_notice' => sprintf( __( '%1$sNOTE:%2$s This is a BETA Remote Cron feature to be used mainly if your %1$sposts aren\'t sharing%2$s. If the Remote Cron feature is used, and you notice that your posts are still not sharing, then please %1$sturn the setting back to "Local Cron"%2$s and read the following guide for alternative solutions that are sure to work: %1$s%3$sLearn More%4$s%2$s.', 'tweet-old-post' ), '', '', '', '' ),
+ 'housekeeping' => __( 'Housekeeping', 'tweet-old-post' ),
+ 'housekeeping_desc' => __( 'Should we delete all saved settings on deletion of the Revive Social plugin?', 'tweet-old-post' ),
+ 'save' => __( 'Save', 'tweet-old-post' ),
+ 'taxonomies_exclude_explicit' => __( 'Exclude taxononmies', 'tweet-old-post' ),
+ 'save_filters' => __( 'Save filters', 'tweet-old-post' ),
+ 'search_posts_to_exclude' => __( 'Search post to exclude...', 'tweet-old-post' ),
+ 'search_posts_show_excluded' => __( 'Show only excluded posts', 'tweet-old-post' ),
+ 'exclude_matching' => __( 'Exclude all matching', 'tweet-old-post' ),
+ 'include_single_post' => __( 'Include this post', 'tweet-old-post' ),
+ 'exclude_single_post' => __( 'Exclude this post', 'tweet-old-post' ),
+ 'no_posts_found' => __( 'No posts found.', 'tweet-old-post' ),
+ 'load_more_posts' => __( 'Load more posts.', 'tweet-old-post' ),
+ 'min_interval_upsell' => __( 'Choosing a lower interval is available in the Pro version.', 'tweet-old-post' ),
+ 'tracking_field' => __( 'Contributing', 'tweet-old-post' ),
+ 'tracking' => __( 'Send anonymous data to help us understand how you use the plugin.', 'tweet-old-post' ),
+ 'tracking_info' => __( 'What do we track?', 'tweet-old-post' ),
),
'post_format' => array(
- 'yes_text' => __( 'Yes', 'tweet-old-post' ),
- 'menu_item' => __( 'Post Format', 'tweet-old-post' ),
+ 'yes_text' => __( 'Yes', 'tweet-old-post' ),
+ 'menu_item' => __( 'Post Format', 'tweet-old-post' ),
'language_title' => __( 'Language', 'tweet-old-post' ),
- 'language_title_desc' => __( 'We\'ve detected that this is a multilingual website. Select the post language you want to share to this account.', 'tweet-old-post' ),
- 'post_content_title' => __( 'Share Content', 'tweet-old-post' ),
- 'post_content_desc' => __( 'Which part of the post should we use as the caption?', 'tweet-old-post' ),
- 'post_content_option_title' => __( 'Post Title', 'tweet-old-post' ),
- 'post_content_option_content' => __( 'Post Content', 'tweet-old-post' ),
- 'post_content_option_title_content' => __( 'Post Title & Content', 'tweet-old-post' ),
- 'post_content_option_excerpt' => __( 'Post Excerpt', 'tweet-old-post' ),
- 'post_content_option_custom_field' => __( 'Custom Field', 'tweet-old-post' ),
- 'post_content_option_custom_content' => __( 'Custom Content', 'tweet-old-post' ),
- 'post_content_option_yoast_seo_title' => __( 'Yoast SEO Title', 'tweet-old-post' ),
+ 'language_title_desc' => __( 'We\'ve detected that this is a multilingual website. Select the post language you want to share to this account.', 'tweet-old-post' ),
+ 'post_content_title' => __( 'Share Content', 'tweet-old-post' ),
+ 'post_content_desc' => __( 'Which part of the post should we use as the caption?', 'tweet-old-post' ),
+ 'post_content_option_title' => __( 'Post Title', 'tweet-old-post' ),
+ 'post_content_option_content' => __( 'Post Content', 'tweet-old-post' ),
+ 'post_content_option_title_content' => __( 'Post Title & Content', 'tweet-old-post' ),
+ 'post_content_option_excerpt' => __( 'Post Excerpt', 'tweet-old-post' ),
+ 'post_content_option_custom_field' => __( 'Custom Field', 'tweet-old-post' ),
+ 'post_content_option_custom_content' => __( 'Custom Content', 'tweet-old-post' ),
+ 'post_content_option_yoast_seo_title' => __( 'Yoast SEO Title', 'tweet-old-post' ),
'post_content_option_yoast_seo_description' => __( 'Yoast SEO Description', 'tweet-old-post' ),
'post_content_option_yoast_seo_title_description' => __( 'Yoast SEO Title & Description', 'tweet-old-post' ),
- 'custom_meta_title' => __( 'Custom Meta Field', 'tweet-old-post' ),
- 'custom_meta_desc' => __( 'Meta field name from which to get the content.', 'tweet-old-post' ),
- 'max_char_title' => __( 'Maximum Characters', 'tweet-old-post' ),
- 'max_char_desc' => __( 'Maximum length of the message, in characters. Each letter is considered a character.', 'tweet-old-post' ),
- 'add_char_title' => __( 'Additional Text', 'tweet-old-post' ),
- 'add_char_title_custom_content' => __( 'Message Content', 'tweet-old-post' ),
- 'override_share_variations' => __( 'Override Share Content Variations with the current content', 'tweet-old-post' ),
- 'add_char_desc' => sprintf( __( 'Add custom content to shared posts. It supports magic tags in the Pro version of Revive Social %1$sLearn More%2$s', 'tweet-old-post' ), '', '' ),
- 'add_char_placeholder' => __( '...written by {author} on {date}.', 'tweet-old-post' ),
- 'add_char_placeholder_custom_content' => __( '{title} with {content} written by {author} on {date}.', 'tweet-old-post' ),
- 'add_pos_title' => __( 'Choose where you want the Additional Text to appear.', 'tweet-old-post' ),
- 'add_pos_option_start' => __( 'Beginning of Caption', 'tweet-old-post' ),
- 'add_pos_option_end' => __( 'End of Caption', 'tweet-old-post' ),
- 'add_link_title' => __( 'Include Link', 'tweet-old-post' ),
- 'add_link_desc' => __( 'Should Revive Social include the post permalink or not?', 'tweet-old-post' ),
- 'meta_link_title' => __( 'Custom Field', 'tweet-old-post' ),
- 'meta_link_desc' => __( 'Fetch URL from custom field?', 'tweet-old-post' ),
- 'meta_link_name_title' => __( 'Custom Field', 'tweet-old-post' ),
- 'meta_link_name_desc' => __( 'Custom Field from which to get the URL.', 'tweet-old-post' ),
+ 'custom_meta_title' => __( 'Custom Meta Field', 'tweet-old-post' ),
+ 'custom_meta_desc' => __( 'Meta field name from which to get the content.', 'tweet-old-post' ),
+ 'max_char_title' => __( 'Maximum Characters', 'tweet-old-post' ),
+ 'max_char_desc' => __( 'Maximum length of the message, in characters. Each letter is considered a character.', 'tweet-old-post' ),
+ 'add_char_title' => __( 'Additional Text', 'tweet-old-post' ),
+ 'add_char_title_custom_content' => __( 'Message Content', 'tweet-old-post' ),
+ 'override_share_variations' => __( 'Override Share Content Variations with the current content', 'tweet-old-post' ),
+ 'add_char_desc' => sprintf( __( 'Add custom content to shared posts. It supports magic tags in the Pro version of Revive Social %1$sLearn More%2$s', 'tweet-old-post' ), '', '' ),
+ 'add_char_placeholder' => __( '...written by {author} on {date}.', 'tweet-old-post' ),
+ 'add_char_placeholder_custom_content' => __( '{title} with {content} written by {author} on {date}.', 'tweet-old-post' ),
+ 'add_pos_title' => __( 'Choose where you want the Additional Text to appear.', 'tweet-old-post' ),
+ 'add_pos_option_start' => __( 'Beginning of Caption', 'tweet-old-post' ),
+ 'add_pos_option_end' => __( 'End of Caption', 'tweet-old-post' ),
+ 'add_link_title' => __( 'Include Link', 'tweet-old-post' ),
+ 'add_link_desc' => __( 'Should Revive Social include the post permalink or not?', 'tweet-old-post' ),
+ 'meta_link_title' => __( 'Custom Field', 'tweet-old-post' ),
+ 'meta_link_desc' => __( 'Fetch URL from custom field?', 'tweet-old-post' ),
+ 'meta_link_name_title' => __( 'Custom Field', 'tweet-old-post' ),
+ 'meta_link_name_desc' => __( 'Custom Field from which to get the URL.', 'tweet-old-post' ),
'taxonomy_based_sharing_upsell' => __( 'Per account Taxonomy filters feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
'message_custom_content_upsell' => __( 'Per account Custom Content feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
- 'use_shortner_title' => __( 'Use URL Shortener', 'tweet-old-post' ),
- 'use_shortner_desc' => __( 'Should we use a shortener when adding the links to the content?', 'tweet-old-post' ),
- 'shortner_title' => __( 'URL Shortener Service', 'tweet-old-post' ),
- 'shortner_desc' => __( 'Which service to use for URL shortening?', 'tweet-old-post' ),
- 'shortner_api_field' => __( 'Service API', 'tweet-old-post' ),
- 'shortner_field_desc_start' => __( 'Add the', 'tweet-old-post' ),
- 'shortner_field_desc_end' => __( 'required by the', 'tweet-old-post' ),
- 'hashtags_title' => __( 'Hashtags', 'tweet-old-post' ),
- 'hashtags_desc' => __( 'Hashtags for published content.', 'tweet-old-post' ),
- 'hashtags_option_no' => __( 'Don\'t add any hashtags', 'tweet-old-post' ),
- 'hashtags_option_common' => __( 'Common hashtags for all shares', 'tweet-old-post' ),
- 'hashtags_option_cats' => __( 'Create hashtags from categories', 'tweet-old-post' ),
- 'hashtags_option_tags' => __( 'Create hashtags from tags', 'tweet-old-post' ),
- 'hashtags_option_field' => __( 'Create hashtags from a custom field', 'tweet-old-post' ),
- 'hastags_common_title' => __( 'Common Hashtags', 'tweet-old-post' ),
- 'hastags_common_desc' => __( 'List of hastags to use separated by comma', 'tweet-old-post' ),
- 'hastags_field_title' => __( 'Custom Hashtags', 'tweet-old-post' ),
- 'hastags_field_desc' => __( 'The name of the meta field that contains the hashtags.', 'tweet-old-post' ),
- 'hashtags_length_title' => __( 'Maximum Hashtags length', 'tweet-old-post' ),
- 'hashtags_length_desc' => __( 'The maximum hashtags length to be used when publishing.', 'tweet-old-post' ),
- 'hashtags_randomize' => __( 'Randomize hashtags', 'tweet-old-post' ),
- 'hashtags_randomize_desc' => __( 'Randomize the list of hashtags on every successful share. You won\'t see this change in the Sharing Queue, the randomization happens at share time.', 'tweet-old-post' ),
- 'image_title' => __( 'Share As Image Post', 'tweet-old-post' ),
- 'image_desc' => __( 'Should Revive Social share your posts as an image post? Learn more.', 'tweet-old-post' ),
- 'image_aspect_ratio_title' => __( 'Automatically correct aspect ratio', 'tweet-old-post' ),
- 'image_aspect_ratio_title_desc' => __( 'Should Revive Social automatically crop images with the wrong aspect ratio? Learn more.', 'tweet-old-post' ),
- 'utm_campaign_medium' => __( 'Campaign Medium', 'tweet-old-post' ),
- 'utm_campaign_medium_desc' => __( 'The marketing medium you want to show in Google Analytics e.g: "social", "website", etc.', 'tweet-old-post' ),
- 'utm_campaign_name' => __( 'Campaign Name', 'tweet-old-post' ),
- 'utm_campaign_name_desc' => __( 'The campaign name you want to show in Google Analytics e.g: "november_sale" etc.', 'tweet-old-post' ),
- 'custom_utm_upsell' => __( 'Custom UTMs are only available in the Pro version.', 'tweet-old-post' ),
- 'image_upsell' => __( 'Sharing as an Image Post is available in the Pro version.', 'tweet-old-post' ),
- 'full_wpml_support_upsell' => sprintf( __( 'Language-based sharing only available in the %1$sPro version%2$s', 'tweet-old-post' ), '', '' ),
+ 'use_shortner_title' => __( 'Use URL Shortener', 'tweet-old-post' ),
+ 'use_shortner_desc' => __( 'Should we use a shortener when adding the links to the content?', 'tweet-old-post' ),
+ 'shortner_title' => __( 'URL Shortener Service', 'tweet-old-post' ),
+ 'shortner_desc' => __( 'Which service to use for URL shortening?', 'tweet-old-post' ),
+ 'shortner_api_field' => __( 'Service API', 'tweet-old-post' ),
+ 'shortner_field_desc_start' => __( 'Add the', 'tweet-old-post' ),
+ 'shortner_field_desc_end' => __( 'required by the', 'tweet-old-post' ),
+ 'hashtags_title' => __( 'Hashtags', 'tweet-old-post' ),
+ 'hashtags_desc' => __( 'Hashtags for published content.', 'tweet-old-post' ),
+ 'hashtags_option_no' => __( 'Don\'t add any hashtags', 'tweet-old-post' ),
+ 'hashtags_option_common' => __( 'Common hashtags for all shares', 'tweet-old-post' ),
+ 'hashtags_option_cats' => __( 'Create hashtags from categories', 'tweet-old-post' ),
+ 'hashtags_option_tags' => __( 'Create hashtags from tags', 'tweet-old-post' ),
+ 'hashtags_option_field' => __( 'Create hashtags from a custom field', 'tweet-old-post' ),
+ 'hastags_common_title' => __( 'Common Hashtags', 'tweet-old-post' ),
+ 'hastags_common_desc' => __( 'List of hastags to use separated by comma', 'tweet-old-post' ),
+ 'hastags_field_title' => __( 'Custom Hashtags', 'tweet-old-post' ),
+ 'hastags_field_desc' => __( 'The name of the meta field that contains the hashtags.', 'tweet-old-post' ),
+ 'hashtags_length_title' => __( 'Maximum Hashtags length', 'tweet-old-post' ),
+ 'hashtags_length_desc' => __( 'The maximum hashtags length to be used when publishing.', 'tweet-old-post' ),
+ 'hashtags_randomize' => __( 'Randomize hashtags', 'tweet-old-post' ),
+ 'hashtags_randomize_desc' => __( 'Randomize the list of hashtags on every successful share. You won\'t see this change in the Sharing Queue, the randomization happens at share time.', 'tweet-old-post' ),
+ 'image_title' => __( 'Share As Image Post', 'tweet-old-post' ),
+ 'image_desc' => __( 'Should Revive Social share your posts as an image post? Learn more.', 'tweet-old-post' ),
+ 'image_aspect_ratio_title' => __( 'Automatically correct aspect ratio', 'tweet-old-post' ),
+ 'image_aspect_ratio_title_desc' => __( 'Should Revive Social automatically crop images with the wrong aspect ratio? Learn more.', 'tweet-old-post' ),
+ 'utm_campaign_medium' => __( 'Campaign Medium', 'tweet-old-post' ),
+ 'utm_campaign_medium_desc' => __( 'The marketing medium you want to show in Google Analytics e.g: "social", "website", etc.', 'tweet-old-post' ),
+ 'utm_campaign_name' => __( 'Campaign Name', 'tweet-old-post' ),
+ 'utm_campaign_name_desc' => __( 'The campaign name you want to show in Google Analytics e.g: "november_sale" etc.', 'tweet-old-post' ),
+ 'custom_utm_upsell' => __( 'Custom UTMs are only available in the Pro version.', 'tweet-old-post' ),
+ 'image_upsell' => __( 'Sharing as an Image Post is available in the Pro version.', 'tweet-old-post' ),
+ 'full_wpml_support_upsell' => sprintf( __( 'Language-based sharing only available in the %1$sPro version%2$s', 'tweet-old-post' ), '', '' ),
'wpml_select_language' => __( 'Choose language', 'tweet-old-post' ),
- 'media_post_title' => __( 'Media Posts Content', 'tweet-old-post' ),
- 'media_post_desc' => __( 'Which content should we share for media posts?', 'tweet-old-post' ),
- 'media_post_option_title' => __( 'Title', 'tweet-old-post' ),
- 'media_post_option_caption' => __( 'Caption', 'tweet-old-post' ),
- 'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
- 'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
- 'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
- 'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
- 'active_account_no_post_format_error' => __( 'No post format found for the following network, please go to "Post Format" tab and save your changes for: ', 'tweet-old-post' ),
- 'twitter_max_characters_notice' => sprintf( __( '%1$sNote:%2$s Maximum characters supported by Twitter is 280.', 'tweet-old-post' ), '', '' ),
+ 'media_post_title' => __( 'Media Posts Content', 'tweet-old-post' ),
+ 'media_post_desc' => __( 'Which content should we share for media posts?', 'tweet-old-post' ),
+ 'media_post_option_title' => __( 'Title', 'tweet-old-post' ),
+ 'media_post_option_caption' => __( 'Caption', 'tweet-old-post' ),
+ 'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
+ 'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
+ 'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
+ 'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
+ 'active_account_no_post_format_error' => __( 'No post format found for the following network, please go to "Post Format" tab and save your changes for: ', 'tweet-old-post' ),
+ 'twitter_max_characters_notice' => sprintf( __( '%1$sNote:%2$s Maximum characters supported by Twitter is 280.', 'tweet-old-post' ), '', '' ),
'instagram_disable_link_recommendation' => sprintf( __( '%1$sNote:%2$s We recommend that you disable links for Instagram posts. If you do leave this option checked, then we recommend that you enable a shortener.', 'tweet-old-post' ), '', '' ),
- 'instagram_image_post_default' => sprintf( __( '%1$sNote:%2$s Instagram posts need to be an image.', 'tweet-old-post' ), '', '' ),
- 'vk_unsupported_shorteners' => sprintf( __( '%1$sNote:%2$s is.gd shortener is not currently supported by VK.com.', 'tweet-old-post' ), '', '' ),
- 'not_available_with_rop_server' => __( 'This feature is not available for X accounts authorized via Revival Social.', 'tweet-old-post' ),
- 'custom_meta_field_upsell' => __( 'Custom meta fields are only available in the Pro version.', 'tweet-old-post' ),
- 'custom_meta_upsell' => __( 'Custom fields are only available in the Pro version.', 'tweet-old-post' ),
- 'hashtag_field_upsell' => __( 'The selected option is only available in the Pro version.', 'tweet-old-post' ),
- 'first_comment_title' => __( 'Comment Text', 'tweet-old-post' ),
- 'first_comment_desc' => __( 'Should Revive Social add the post link in the first comment when sharing a post?', 'tweet-old-post' ),
- 'first_comment_placeholder' => __( 'Read more on {link}', 'tweet-old-post' ),
- 'share_link_title' => __( 'Share link in comment', 'tweet-old-post' ),
- 'share_link_desc' => __( 'Share the post link in the first comment?', 'tweet-old-post' ),
- 'share_link_upsell' => __( 'Share first comment is only available in the Pro version.', 'tweet-old-post' ),
+ 'instagram_image_post_default' => sprintf( __( '%1$sNote:%2$s Instagram posts need to be an image.', 'tweet-old-post' ), '', '' ),
+ 'vk_unsupported_shorteners' => sprintf( __( '%1$sNote:%2$s is.gd shortener is not currently supported by VK.com.', 'tweet-old-post' ), '', '' ),
+ 'not_available_with_rop_server' => __( 'This feature is not available for X accounts authorized via Revival Social.', 'tweet-old-post' ),
+ 'custom_meta_field_upsell' => __( 'Custom meta fields are only available in the Pro version.', 'tweet-old-post' ),
+ 'custom_meta_upsell' => __( 'Custom fields are only available in the Pro version.', 'tweet-old-post' ),
+ 'hashtag_field_upsell' => __( 'The selected option is only available in the Pro version.', 'tweet-old-post' ),
+ 'first_comment_title' => __( 'Comment Text', 'tweet-old-post' ),
+ 'first_comment_desc' => __( 'Should Revive Social add the post link in the first comment when sharing a post?', 'tweet-old-post' ),
+ 'first_comment_placeholder' => __( 'Read more on {link}', 'tweet-old-post' ),
+ 'share_link_title' => __( 'Share link in comment', 'tweet-old-post' ),
+ 'share_link_desc' => __( 'Share the post link in the first comment?', 'tweet-old-post' ),
+ 'share_link_upsell' => __( 'Share first comment is only available in the Pro version.', 'tweet-old-post' ),
),
'schedule' => array(
'menu_item' => __( 'Custom Schedule', 'tweet-old-post' ),
@@ -430,93 +429,93 @@ public static function get_labels( $key = '' ) {
),
),
'emails' => array(
- 'share_once_sharing_done_subject' => __( 'Revive Social - All Posts Shared', 'tweet-old-post' ),
- 'refresh_linkedin_token_subject' => __( 'Revive Social - Refresh Your LinkedIn Token', 'tweet-old-post' ),
- 'refresh_linkedin_token_subject_final' => __( 'Final - Refresh Your LinkedIn Token', 'tweet-old-post' ),
- 'share_once_sharing_done_message' => __( 'All posts have been shared to your connected social media accounts. No previously shared posts will be re-shared until you click the button to "Stop Sharing" and "Start Sharing" on the Revive Social plugin dashboard.', 'tweet-old-post' ),
- 'refresh_linkedin_token_message' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s', 'tweet-old-post' ), '
', 'https://docs.revive.social/article/1151-how-to-refresh-linkedin-access-token' ),
- 'refresh_linkedin_token_message_final' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s. %3$sThis is the final notice email you will receieve from Revive Social.', 'tweet-old-post' ), '
' ),
+ 'share_once_sharing_done_subject' => __( 'Revive Social - All Posts Shared', 'tweet-old-post' ),
+ 'refresh_linkedin_token_subject' => __( 'Revive Social - Refresh Your LinkedIn Token', 'tweet-old-post' ),
+ 'refresh_linkedin_token_subject_final' => __( 'Final - Refresh Your LinkedIn Token', 'tweet-old-post' ),
+ 'share_once_sharing_done_message' => __( 'All posts have been shared to your connected social media accounts. No previously shared posts will be re-shared until you click the button to "Stop Sharing" and "Start Sharing" on the Revive Social plugin dashboard.', 'tweet-old-post' ),
+ 'refresh_linkedin_token_message' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s', 'tweet-old-post' ), '
', 'https://docs.revive.social/article/1151-how-to-refresh-linkedin-access-token' ),
+ 'refresh_linkedin_token_message_final' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s. %3$sThis is the final notice email you will receieve from Revive Social.', 'tweet-old-post' ), '
' ),
),
'cron_system' => array(
'delete_cron_service_account_info' => sprintf( __( 'This option will delete your website information from our Remote Cron Service. %1$s Revive Social will then fallback to using the Local Cron System built into WordPress. %1$s You can re-enable the Remote Cron System at anytime from General Settings > Cron Type, switch from Local Cron to Remote.', 'tweet-old-post' ), ' ' ),
- 'clear_local_cron_info' => sprintf( __( 'This will remove the Cron server authentication key from your local database. %1$s A new authentication key will be created when you register to the remote Cron server.', 'tweet-old-post' ), ' ' ),
+ 'clear_local_cron_info' => sprintf( __( 'This will remove the Cron server authentication key from your local database. %1$s A new authentication key will be created when you register to the remote Cron server.', 'tweet-old-post' ), ' ' ),
),
- 'notices' => array(
- 'revive_network_upsell_notice_title' => sprintf( __( '%1$sRSS Sharing In Revive Social%2$s', 'tweet-old-post' ), '', '' ),
- 'revive_network_upsell_notice_body' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
+ 'notices' => array(
+ 'revive_network_upsell_notice_title' => sprintf( __( '%1$sRSS Sharing In Revive Social%2$s', 'tweet-old-post' ), '', '' ),
+ 'revive_network_upsell_notice_body' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
'revive_network_upsell_notice_product_pag' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
- 'dismiss_permanently' => __( 'Dismiss Permanently', 'tweet-old-post' ),
+ 'dismiss_permanently' => __( 'Dismiss Permanently', 'tweet-old-post' ),
),
// Pro only.
'publish_now' => array(
- 'add_account_to_use_instant_share' => __( 'Connect or switch on an account in the Revive Social dashboard to use the Instant Share (Post on Publish) feature.', 'tweet-old-post' ),
- 'share_on_update' => __( 'Share via Revive Social ', 'tweet-old-post' ),
- 'clear_on_share' => __( 'These checkboxes will be cleared once the post is shared.', 'tweet-old-post' ),
- 'custom_instant_share_messages_upsell' => sprintf( __( '%1$sCustom instant share messages are available in the %2$sPro version%3$s of the plugin.%4$s', 'tweet-old-post' ), '', '', '', '' ),
- 'edit_message' => __( 'Edit Message', 'tweet-old-post' ),
- 'custom_share_message' => __( 'Custom Share Message', 'tweet-old-post' ),
- 'custom_share_message_placeholder' => __( 'Write your message here...', 'tweet-old-post' ),
- 'instant_sharing' => __( 'Instant Sharing', 'tweet-old-post' ),
- 'instant_sharing_desc' => __( 'Before you hit publish, you can select the social accounts where you want to share your post.', 'tweet-old-post' ),
- 'share_immediately' => __( 'Share Immediately', 'tweet-old-post' ),
- 'add_platform' => __( 'Add Account', 'tweet-old-post' ),
- 'queued' => __( 'Posting to social media…', 'tweet-old-post' ),
- 'shared_title' => __( 'Post shared!', 'tweet-old-post' ),
- 'shared_desc' => __( 'Your post has been shared to the selected social media accounts.', 'tweet-old-post' ),
- 'share_failed_title' => __( 'Post not shared!', 'tweet-old-post' ),
- 'share_failed_desc' => __( 'There was an issue sharing your post to the selected social media accounts. Please check the logs for more information.', 'tweet-old-post' ),
- 'share_partially_shared_title' => __( 'Post partially shared!', 'tweet-old-post' ),
- 'share_partially_shared_desc' => __( 'Your post has been shared to some of the selected social media accounts. Please check the logs for more information.', 'tweet-old-post' ),
- 'view_history' => __( 'View History', 'tweet-old-post' ),
- 'sharing_history' => __( 'Sharing History', 'tweet-old-post' ),
- 'account' => __( 'Account', 'tweet-old-post' ),
- 'time' => __( 'Time', 'tweet-old-post' ),
- 'status' => __( 'Status', 'tweet-old-post' ),
- 'reshare_description' => __( 'You can select the social media accounts and click on the "Share Now" button to reshare this post immediately.', 'tweet-old-post' ),
- 'reshare_button' => __( 'Share Now', 'tweet-old-post' ),
- 'manual_sharing' => __( 'Manual Sharing', 'tweet-old-post' ),
- 'manual_sharing_desc' => __( 'You can share your post to social media accounts manually by clicking on the icons.', 'tweet-old-post' ),
- 'copied_to_clipboard' => __( 'Sharing link copied to clipboard.', 'tweet-old-post' ),
+ 'add_account_to_use_instant_share' => __( 'Connect or switch on an account in the Revive Social dashboard to use the Instant Share (Post on Publish) feature.', 'tweet-old-post' ),
+ 'share_on_update' => __( 'Share via Revive Social ', 'tweet-old-post' ),
+ 'clear_on_share' => __( 'These checkboxes will be cleared once the post is shared.', 'tweet-old-post' ),
+ 'custom_instant_share_messages_upsell' => sprintf( __( '%1$sCustom instant share messages are available in the %2$sPro version%3$s of the plugin.%4$s', 'tweet-old-post' ), '', '', '', '' ),
+ 'edit_message' => __( 'Edit Message', 'tweet-old-post' ),
+ 'custom_share_message' => __( 'Custom Share Message', 'tweet-old-post' ),
+ 'custom_share_message_placeholder' => __( 'Write your message here...', 'tweet-old-post' ),
+ 'instant_sharing' => __( 'Instant Sharing', 'tweet-old-post' ),
+ 'instant_sharing_desc' => __( 'Before you hit publish, you can select the social accounts where you want to share your post.', 'tweet-old-post' ),
+ 'share_immediately' => __( 'Share Immediately', 'tweet-old-post' ),
+ 'add_platform' => __( 'Add Account', 'tweet-old-post' ),
+ 'queued' => __( 'Posting to social media…', 'tweet-old-post' ),
+ 'shared_title' => __( 'Post shared!', 'tweet-old-post' ),
+ 'shared_desc' => __( 'Your post has been shared to the selected social media accounts.', 'tweet-old-post' ),
+ 'share_failed_title' => __( 'Post not shared!', 'tweet-old-post' ),
+ 'share_failed_desc' => __( 'There was an issue sharing your post to the selected social media accounts. Please check the logs for more information.', 'tweet-old-post' ),
+ 'share_partially_shared_title' => __( 'Post partially shared!', 'tweet-old-post' ),
+ 'share_partially_shared_desc' => __( 'Your post has been shared to some of the selected social media accounts. Please check the logs for more information.', 'tweet-old-post' ),
+ 'view_history' => __( 'View History', 'tweet-old-post' ),
+ 'sharing_history' => __( 'Sharing History', 'tweet-old-post' ),
+ 'account' => __( 'Account', 'tweet-old-post' ),
+ 'time' => __( 'Time', 'tweet-old-post' ),
+ 'status' => __( 'Status', 'tweet-old-post' ),
+ 'reshare_description' => __( 'You can select the social media accounts and click on the "Share Now" button to reshare this post immediately.', 'tweet-old-post' ),
+ 'reshare_button' => __( 'Share Now', 'tweet-old-post' ),
+ 'manual_sharing' => __( 'Manual Sharing', 'tweet-old-post' ),
+ 'manual_sharing_desc' => __( 'You can share your post to social media accounts manually by clicking on the icons.', 'tweet-old-post' ),
+ 'copied_to_clipboard' => __( 'Sharing link copied to clipboard.', 'tweet-old-post' ),
),
- 'sharing' => array(
- 'post_already_shared' => __( 'This post went out on the last share event and might be a duplicate. Skipping...', 'tweet-old-post' ),
- 'share_attempted_on_staging' => __( 'Revive Social has detected that this is a development website. Share process skipped.', 'tweet-old-post' ),
- 'reached_sharing_limit' => __( 'You\'ve reached your daily post sharing limit of %1$d posts. Want to share more? Consider upgrading to enjoy a higher limit.', 'tweet-old-post' ),
- 'invalid_license' => __( 'Sorry, your license is invalid.', 'tweet-old-post' ),
+ 'sharing' => array(
+ 'post_already_shared' => __( 'This post went out on the last share event and might be a duplicate. Skipping...', 'tweet-old-post' ),
+ 'share_attempted_on_staging' => __( 'Revive Social has detected that this is a development website. Share process skipped.', 'tweet-old-post' ),
+ 'reached_sharing_limit' => __( 'You\'ve reached your daily post sharing limit of %1$d posts. Want to share more? Consider upgrading to enjoy a higher limit.', 'tweet-old-post' ),
+ 'invalid_license' => __( 'Sorry, your license is invalid.', 'tweet-old-post' ),
'webhook_extension_not_found' => __( 'Webhook extension not found. Please install the Pro add-on.', 'tweet-old-post' ),
- 'webhook_url_not_set' => __( 'Webhook URL not set.', 'tweet-old-post' ),
+ 'webhook_url_not_set' => __( 'Webhook URL not set.', 'tweet-old-post' ),
),
- 'errors' => array(
- 'wordpress_api_error' => __( 'Cannot post to network. WordPress Error: ', 'tweet-old-post' ),
+ 'errors' => array(
+ 'wordpress_api_error' => __( 'Cannot post to network. WordPress Error: ', 'tweet-old-post' ),
'gmb_failed_access_token_refresh' => __( 'Failed to retrieve Google My Business access token: ', 'tweet-old-post' ),
- 'gmb_failed_share' => __( 'Could not share post to Google My Business with LIVE state: ', 'tweet-old-post' ),
- 'gmb_no_valid_accounts' => __( 'Google My Business error: No valid accounts found. Please make sure you have access to a Google My Business location.', 'tweet-old-post' ),
- 'gmb_missing_main_class' => __( 'Unable to find Google_Client Class. Please ensure you have the Revive Social Pro Addon activated.', 'tweet-old-post' ),
- 'gmb_missing_lib_class' => __( 'Unable to find Google_Service_MyBusiness Class. Please ensure you have the Revive Social Pro Addon activated.', 'tweet-old-post' ),
+ 'gmb_failed_share' => __( 'Could not share post to Google My Business with LIVE state: ', 'tweet-old-post' ),
+ 'gmb_no_valid_accounts' => __( 'Google My Business error: No valid accounts found. Please make sure you have access to a Google My Business location.', 'tweet-old-post' ),
+ 'gmb_missing_main_class' => __( 'Unable to find Google_Client Class. Please ensure you have the Revive Social Pro Addon activated.', 'tweet-old-post' ),
+ 'gmb_missing_lib_class' => __( 'Unable to find Google_Service_MyBusiness Class. Please ensure you have the Revive Social Pro Addon activated.', 'tweet-old-post' ),
'linkedin_missing_exif_imagetype' => __( 'Cannot share image to LinkedIn. exif_imagetype() function is missing from your system. Please contact your web host and ask that this function be enabled on your hosting.', 'tweet-old-post' ),
- 'linkedin_issue_fetching_token' => __( 'There was an issue fetching the LinkedIn Token. Please contact Revive Social support for assistance.', 'tweet-old-post' ),
- 'no_image_found' => __( 'No image was found for post %1$s cannot share as an image post to: %2$s. Please double check that you have a featured image set.', 'tweet-old-post' ),
- 'license_not_active' => __( 'An active Pro license is needed to share to %1$s', 'tweet-old-post' ),
- 'could_not_send_webhook' => __( 'Could not send webhook.', 'tweet-old-post' ),
- 'webhook_error' => __( 'An error occurred for Webhook post sharing.', 'tweet-old-post' ),
+ 'linkedin_issue_fetching_token' => __( 'There was an issue fetching the LinkedIn Token. Please contact Revive Social support for assistance.', 'tweet-old-post' ),
+ 'no_image_found' => __( 'No image was found for post %1$s cannot share as an image post to: %2$s. Please double check that you have a featured image set.', 'tweet-old-post' ),
+ 'license_not_active' => __( 'An active Pro license is needed to share to %1$s', 'tweet-old-post' ),
+ 'could_not_send_webhook' => __( 'Could not send webhook.', 'tweet-old-post' ),
+ 'webhook_error' => __( 'An error occurred for Webhook post sharing.', 'tweet-old-post' ),
),
- 'generic' => array(
+ 'generic' => array(
'only_pro_suffix' => ' (' . __( 'Available in Pro', 'tweet-old-post' ) . ')',
),
- 'misc' => array(
- 'curl_not_detected' => __( 'cURL was not detected on your website. Please contact your Web Host and ask that they enable cURL for your website.', 'tweet-old-post' ),
- 'no_post_data' => __( 'Post data for share empty.', 'tweet-old-post' ),
- 'revive_network_desc' => __( 'Revive Network allows you to share content from multiple RSS or Atom feeds from any website on the web to your connected social media accounts. An active Revive Social Pro subscription is required to download and use Revive Network.', 'tweet-old-post' ),
- 'revive_network_learn_more_btn' => __( 'Learn More', 'tweet-old-post' ),
- 'learn_more' => __( 'Learn More!', 'tweet-old-post' ),
- 'min_interval_6_mins' => __( 'Minimum interval between consecutive shares is 6 minutes.', 'tweet-old-post' ),
- 'min_interval_between_shares' => __( 'Lowest allowed value for "Minimum Interval Between Shares" is %s hours. Choosing a lower interval is available in the Pro version.', 'tweet-old-post' ),
+ 'misc' => array(
+ 'curl_not_detected' => __( 'cURL was not detected on your website. Please contact your Web Host and ask that they enable cURL for your website.', 'tweet-old-post' ),
+ 'no_post_data' => __( 'Post data for share empty.', 'tweet-old-post' ),
+ 'revive_network_desc' => __( 'Revive Network allows you to share content from multiple RSS or Atom feeds from any website on the web to your connected social media accounts. An active Revive Social Pro subscription is required to download and use Revive Network.', 'tweet-old-post' ),
+ 'revive_network_learn_more_btn' => __( 'Learn More', 'tweet-old-post' ),
+ 'learn_more' => __( 'Learn More!', 'tweet-old-post' ),
+ 'min_interval_6_mins' => __( 'Minimum interval between consecutive shares is 6 minutes.', 'tweet-old-post' ),
+ 'min_interval_between_shares' => __( 'Lowest allowed value for "Minimum Interval Between Shares" is %s hours. Choosing a lower interval is available in the Pro version.', 'tweet-old-post' ),
'min_recurring_schedule_interval' => __( 'Lowest allowed value for "Recurring Schedule Interval" is %d minutes.', 'tweet-old-post' ),
- 'no_post_types_selected' => __( 'You need to have at least one post type to share.', 'tweet-old-post' ),
- 'min_number_of_concurrent_posts' => __( 'At least one posts need to be shared.', 'tweet-old-post' ),
- 'max_number_of_concurrent_posts' => __( 'Maximum concurrent post shares is 4.', 'tweet-old-post' ),
+ 'no_post_types_selected' => __( 'You need to have at least one post type to share.', 'tweet-old-post' ),
+ 'min_number_of_concurrent_posts' => __( 'At least one posts need to be shared.', 'tweet-old-post' ),
+ 'max_number_of_concurrent_posts' => __( 'Maximum concurrent post shares is 4.', 'tweet-old-post' ),
),
);
if ( empty( $key ) ) {
diff --git a/includes/class-rop-loader.php b/includes/class-rop-loader.php
index 227111db5..9165ad172 100644
--- a/includes/class-rop-loader.php
+++ b/includes/class-rop-loader.php
@@ -50,7 +50,6 @@ public function __construct() {
$this->actions = array();
$this->filters = array();
-
}
/**
@@ -106,7 +105,6 @@ private function add( $hooks, $hook, $component, $callback, $priority, $accepted
);
return $hooks;
-
}
/**
@@ -123,7 +121,5 @@ public function run() {
foreach ( $this->actions as $hook ) {
add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] );
}
-
}
-
}
diff --git a/includes/class-rop.php b/includes/class-rop.php
index 74276674c..94181e25a 100644
--- a/includes/class-rop.php
+++ b/includes/class-rop.php
@@ -73,7 +73,6 @@ public function __construct() {
$this->load_dependencies();
$this->set_locale();
$this->define_admin_hooks();
-
}
/**
@@ -94,7 +93,6 @@ public function __construct() {
*/
private function load_dependencies() {
$this->loader = new Rop_Loader();
-
}
/**
@@ -111,7 +109,6 @@ private function set_locale() {
$plugin_i18n = new Rop_I18n();
$this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
-
}
/**
@@ -295,7 +292,6 @@ public function register_service_api_endpoints() {
$log->alert_error( 'The service "' . $service . '" can NOT be built or was not found', $exception->getMessage() );
}
}
-
}
/**
@@ -329,5 +325,4 @@ public function run() {
public function get_loader() {
return $this->loader;
}
-
}
diff --git a/phpcs.xml b/phpcs.xml
index 30c236999..74a689557 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -1,7 +1,6 @@
Themeisle rules for PHP_CodeSnifferr
- .node_modules/*
@@ -12,7 +11,11 @@
vue/*dist/*
+
+
+
+
@@ -54,6 +57,22 @@
+
+ warning
+
+
+
+ warning
+
+
+
+ warning
+
+
+
+ warning
+
+
diff --git a/tweet-old-post.php b/tweet-old-post.php
index 2ccbc2d01..77cddfd5a 100644
--- a/tweet-old-post.php
+++ b/tweet-old-post.php
@@ -60,7 +60,7 @@ function rop_buffer_present_notice() {
?>
' .
- __(
- 'Share to more accounts by upgrading to the extended version for ',
- 'tweet-old-post'
- ) . 'Revive Social
-
';
+ echo '
'
+ . esc_html__( 'Share to more accounts by upgrading to the extended version for ', 'tweet-old-post' )
+ . '' . esc_html( 'Revive Social' ) . ''
+ . '
';
}
}
@@ -1331,8 +1345,21 @@ public function rop_linkedin_api_v2_notice() {
?>
- ', '', '', '', '', 'Dismiss', '' ); ?>
-
+ tag, 2: tag, 3: tag, 4: tag with URL to docs, 5: tag, 6: Dismiss link, 7: tag.
+ __( '%1$s%2$sRevive Social:%3$s The Linkedin API Has been updated. You need to reconnect your LinkedIn account to continue posting to LinkedIn. Please see %4$sthis article for instructions.%5$s%6$s%7$s', 'tweet-old-post' ),
+ '
- ', '', '', '', '', 'Dismiss', '' ); ?>
-
+ tag, 2: tag, 3: tag, 4: tag with URL to docs, 5: tag, 6: Dismiss link, 7: tag.
+ __( '%1$s%2$sRevive Social:%3$s The WordPress Cron seems is disabled on your website. This can cause sharing issues with Revive Social. If sharing is not working, then see %4$shere for solutions.%5$s%6$s%7$s', 'tweet-old-post' ),
+ '
- ', '', '', '', '', 'Dismiss', '' ); ?>
-
+ tag, 2: tag, 3: tag, 4: tag with URL to docs, 5: tag, 6: Dismiss link, 7: tag.
+ __( '%1$s%2$sRevive Social:%3$s There might be an issue preventing Revive Social from sharing to your connected accounts. If sharing is not working, then see %4$shere for solutions.%5$s%6$s%7$s', 'tweet-old-post' ),
+ '
' .
+ /* translators: %1$s and %2$s are opening and closing strong tags */
'
' . sprintf( __( 'Selecting options here and %1$schecking%2$s the Exclude box will %1$sprevent%2$s posts in those taxonomies from sharing.', 'tweet-old-post' ), '', '' ) . '
' .
+ /* translators: %1$s and %2$s are opening and closing strong tags */
'
' . sprintf( __( 'Selecting options here and leaving the Exclude box %1$sunchecked%2$s will %1$sonly share%2$s posts in those taxonomies.', 'tweet-old-post' ), '', '' ) . '
' . esc_html__( 'Share on Publish', 'tweet-old-post' ) . '
' .
'
' . esc_html__( 'Revive Social not only works on autopilot, it can also be used to push new posts to your social networks immediately.', 'tweet-old-post' ) . '
' .
+ /* translators: %1$s, %2$s, %3$s and %4$s are opening and closing link/strong tags */
'
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
' . esc_html__( 'You can add multiple custom messages to individual posts as share variations! Revive Social will randomly select one to share.', 'tweet-old-post' ) . '
' .
+ /* translators: %1$s, %2$s, %3$s and %4$s are opening and closing link/strong tags */
'
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
' . esc_html__( 'You\'ll be able to have look at the posts scheduled to go out by Revive Social. You can even skip or block them from sharing in the future.', 'tweet-old-post' ) . '
' .
+ /* translators: %1$s, %2$s, %3$s and %4$s are opening and closing link/strong tags */
'
' . sprintf( __( '%1$s%2$sLearn more about this feature%3$s%4$s.', 'tweet-old-post' ), '', '', '', '' ) . '
+
\ No newline at end of file
diff --git a/includes/class-rop-activator.php b/includes/class-rop-activator.php
index 0b87829ff..dec9adb7e 100644
--- a/includes/class-rop-activator.php
+++ b/includes/class-rop-activator.php
@@ -62,7 +62,7 @@ private static function rop_create_install_token() {
$url = get_site_url();
- $token = hash( 'ripemd160', $url . date( 'Y-m-d H:i:s' ) );
+ $token = hash( 'ripemd160', $url . gmdate( 'Y-m-d H:i:s' ) );
update_option( ROP_INSTALL_TOKEN_OPTION, $token, false );
}
diff --git a/includes/class-rop-i18n.php b/includes/class-rop-i18n.php
index 88e031b76..aaf0513f6 100644
--- a/includes/class-rop-i18n.php
+++ b/includes/class-rop-i18n.php
@@ -74,11 +74,12 @@ public function load_service_locals( $services ) {
public static function get_labels( $key = '' ) {
$tw_new_name = __( 'X (Twitter)', 'tweet-old-post' );
$labels = array(
- 'accounts' => array(
+ 'accounts' => array(
'menu_item' => __( 'Accounts', 'tweet-old-post' ),
'service_popup_title' => __( 'Service Credentials', 'tweet-old-post' ),
'show_advance_config' => __( 'Use your own keys', 'tweet-old-post' ),
'show_own_keys_config' => __( 'Use my own API keys', 'tweet-old-post' ),
+ // translators: %1$s changes in network limits, %2$s is the recommended action
'tw_app_signin_tooltip' => sprintf( __( 'Due to the %1$s changes in network limits, we cannot guarantee stable sharing using this mode. We recommend using your own API keys.', 'tweet-old-post' ), $tw_new_name ),
'tw_new_name' => $tw_new_name,
'fb_app_signin_btn' => __( 'Sign in to Facebook', 'tweet-old-post' ),
@@ -88,7 +89,6 @@ public static function get_labels( $key = '' ) {
'gmb_app_signin_btn' => __( 'Sign in to Google My Business', 'tweet-old-post' ),
'vk_app_signin_btn' => __( 'Sign in to Vkontake', 'tweet-old-post' ),
'app_option_signin' => __( 'Or', 'tweet-old-post' ),
- 'service_popup_title' => __( 'Service Credentials', 'tweet-old-post' ),
'sign_in_btn' => __( 'Sign In', 'tweet-old-post' ),
'field_required' => __( 'This field is required', 'tweet-old-post' ),
'at' => __( 'at', 'tweet-old-post' ),
@@ -107,14 +107,18 @@ public static function get_labels( $key = '' ) {
'reset_selector_btn' => __( 'Reset', 'tweet-old-post' ),
'for' => __( 'for', 'tweet-old-post' ),
'add_account' => __( 'Add Your Accounts:', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'upsell_accounts' => sprintf( __( 'A maximum of 1 Facebook and Twitter account can be connected to the Lite version of Revive Social. Upgrade to unlock more great features including more social networks! Check out the Lite vs Pro %1$stable here%2$s.', 'tweet-old-post' ), '', '' ),
'upsell_accounts_toggle' => 'Active accounts limit reached.',
'toggle_account' => __( 'Toggle account', 'tweet-old-post' ),
'activate_license' => __( 'You need to activate your license key to unlock the Pro features of Revive Social. Add your key on the sidebar.', 'tweet-old-post' ),
'fb_app_id_title' => __( 'Please add the APP ID from your Facebook app.', 'tweet-old-post' ),
'fb_app_secret_title' => __( 'Please add the APP SECRET from your Facebook app.', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'fb_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'twt_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s is the service name
'service_error' => __( 'The %1$s service can not be used or was not found', 'tweet-old-post' ),
'twitter_warning' => __(
'
@@ -127,21 +131,28 @@ public static function get_labels( $key = '' ) {
'only_in_pro' => __( 'Available in Pro', 'tweet-old-post' ),
'limit_reached' => __( 'Limit reached', 'tweet-old-post' ),
'upsell_upgrade_now' => __( 'Upgrade to PRO', 'tweet-old-post' ),
+ // translators: %1$s is the service name
'upsell_extra_network' => __( 'Sharing to %1$s', 'tweet-old-post' ),
+ // translators: %1$s is the service name
'upsell_extra_account' => __( 'Sharing to Additional %1$s Accounts', 'tweet-old-post' ),
+ // translators: %1$s is the service name
'upsell_service_title' => __( '%1$s is a PRO feature', 'tweet-old-post' ),
+ // translators: %1$s is the service name
'upsell_service_body' => __( 'We\'re sorry, %1$s is not available on your plan. Please upgrade to the Pro plan to unlock all these features and get more traffic.', 'tweet-old-post' ),
'edit_headers' => __( 'Edit Headers', 'tweet-old-post' ),
'hide' => __( 'Hide', 'tweet-old-post' ),
'get_latest_pro_version' => __( 'Get the latest Pro version to unlock.', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'tlg_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s is the service name
'upsell_bz_service_body' => __( 'We\'re sorry, %1$s is not available on your plan. Please upgrade to the business plan to unlock all these features and get more traffic.', 'tweet-old-post' ),
'search_account' => __( 'Search account', 'tweet-old-post' ),
'no_account_found' => __( 'No account found for search', 'tweet-old-post' ),
),
- 'settings' => array(
+ 'settings' => array(
'yes_text' => __( 'Yes', 'tweet-old-post' ),
'available_in_pro' => __( ' This feature is only available in the Pro version.', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'post_types_exclude_limit' => sprintf( __( 'Upgrade to Pro version to select more than 30 posts. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'post_types_exclude_limit_tooltip' => __( 'Upgrade to Pro version to select more than 30 posts.', 'tweet-old-post' ),
'menu_item' => __( 'General Settings', 'tweet-old-post' ),
@@ -159,10 +170,13 @@ public static function get_labels( $key = '' ) {
'tweet-old-post'
),
'post_types_title' => __( 'Post Types', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'post_types_taxonomy_limit' => sprintf( __( 'Upgrade to Pro version to select more than 4 taxonomies. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'post_types_attachament_info' => sprintf( __( 'You need to select the media files which you want to share, find out more information %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'post_types_desc' => __( 'Which post types should Revive Social share? Learn more.', 'tweet-old-post' ),
'update_post_published_date_title' => __( 'Update Post Published Date After Share', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'update_post_published_date_desc' => sprintf( __( 'Update the post published date after it has been shared to your social media account. %1$sLearn more%2$s.', 'tweet-old-post' ), '', '' ),
'filter_by_post_types_desc' => __( 'Filter posts list by Post Type', 'tweet-old-post' ),
'post_types_upsell' => __(
@@ -195,8 +209,10 @@ public static function get_labels( $key = '' ) {
'instant_share_default_title' => __( 'Enable Instant Sharing By Default', 'tweet-old-post' ),
'instant_share_default_desc' => __( 'Instant sharing option will be checked by default when creating new posts.', 'tweet-old-post' ),
'cron_type_label' => __( 'Cron Job Type', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'cron_type_label_desc' => sprintf( __( 'Select the between your local built-in WordPress task scheduler, or Revive Social\'s, %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
'cron_type_label_desc_terms' => __( 'I understand that some site data is stored on the Revive Social\'s Remote Cron System to provide this service Read More Here.', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are bold tags, %3$s and %4$s are opening and closing anchor tags for a link
'cron_type_notice' => sprintf( __( '%1$sNOTE:%2$s This is a BETA Remote Cron feature to be used mainly if your %1$sposts aren\'t sharing%2$s. If the Remote Cron feature is used, and you notice that your posts are still not sharing, then please %1$sturn the setting back to "Local Cron"%2$s and read the following guide for alternative solutions that are sure to work: %1$s%3$sLearn More%4$s%2$s.', 'tweet-old-post' ), '', '', '', '' ),
'housekeeping' => __( 'Housekeeping', 'tweet-old-post' ),
'housekeeping_desc' => __( 'Should we delete all saved settings on deletion of the Revive Social plugin?', 'tweet-old-post' ),
@@ -215,123 +231,138 @@ public static function get_labels( $key = '' ) {
'tracking' => __( 'Send anonymous data to help us understand how you use the plugin.', 'tweet-old-post' ),
'tracking_info' => __( 'What do we track?', 'tweet-old-post' ),
),
- 'post_format' => array(
- 'yes_text' => __( 'Yes', 'tweet-old-post' ),
- 'menu_item' => __( 'Post Format', 'tweet-old-post' ),
- 'language_title' => __( 'Language', 'tweet-old-post' ),
- 'language_title_desc' => __( 'We\'ve detected that this is a multilingual website. Select the post language you want to share to this account.', 'tweet-old-post' ),
- 'post_content_title' => __( 'Share Content', 'tweet-old-post' ),
- 'post_content_desc' => __( 'Which part of the post should we use as the caption?', 'tweet-old-post' ),
- 'post_content_option_title' => __( 'Post Title', 'tweet-old-post' ),
- 'post_content_option_content' => __( 'Post Content', 'tweet-old-post' ),
- 'post_content_option_title_content' => __( 'Post Title & Content', 'tweet-old-post' ),
- 'post_content_option_excerpt' => __( 'Post Excerpt', 'tweet-old-post' ),
- 'post_content_option_custom_field' => __( 'Custom Field', 'tweet-old-post' ),
- 'post_content_option_custom_content' => __( 'Custom Content', 'tweet-old-post' ),
- 'post_content_option_yoast_seo_title' => __( 'Yoast SEO Title', 'tweet-old-post' ),
+ 'post_format' => array(
+ 'yes_text' => __( 'Yes', 'tweet-old-post' ),
+ 'menu_item' => __( 'Post Format', 'tweet-old-post' ),
+ 'language_title' => __( 'Language', 'tweet-old-post' ),
+ 'language_title_desc' => __( 'We\'ve detected that this is a multilingual website. Select the post language you want to share to this account.', 'tweet-old-post' ),
+ 'post_content_title' => __( 'Share Content', 'tweet-old-post' ),
+ 'post_content_desc' => __( 'Which part of the post should we use as the caption?', 'tweet-old-post' ),
+ 'post_content_option_title' => __( 'Post Title', 'tweet-old-post' ),
+ 'post_content_option_content' => __( 'Post Content', 'tweet-old-post' ),
+ 'post_content_option_title_content' => __( 'Post Title & Content', 'tweet-old-post' ),
+ 'post_content_option_excerpt' => __( 'Post Excerpt', 'tweet-old-post' ),
+ 'post_content_option_custom_field' => __( 'Custom Field', 'tweet-old-post' ),
+ 'post_content_option_custom_content' => __( 'Custom Content', 'tweet-old-post' ),
+ 'post_content_option_yoast_seo_title' => __( 'Yoast SEO Title', 'tweet-old-post' ),
'post_content_option_yoast_seo_description' => __( 'Yoast SEO Description', 'tweet-old-post' ),
'post_content_option_yoast_seo_title_description' => __( 'Yoast SEO Title & Description', 'tweet-old-post' ),
- 'custom_meta_title' => __( 'Custom Meta Field', 'tweet-old-post' ),
- 'custom_meta_desc' => __( 'Meta field name from which to get the content.', 'tweet-old-post' ),
- 'max_char_title' => __( 'Maximum Characters', 'tweet-old-post' ),
- 'max_char_desc' => __( 'Maximum length of the message, in characters. Each letter is considered a character.', 'tweet-old-post' ),
- 'add_char_title' => __( 'Additional Text', 'tweet-old-post' ),
- 'add_char_title_custom_content' => __( 'Message Content', 'tweet-old-post' ),
- 'override_share_variations' => __( 'Override Share Content Variations with the current content', 'tweet-old-post' ),
- 'add_char_desc' => sprintf( __( 'Add custom content to shared posts. It supports magic tags in the Pro version of Revive Social %1$sLearn More%2$s', 'tweet-old-post' ), '', '' ),
- 'add_char_placeholder' => __( '...written by {author} on {date}.', 'tweet-old-post' ),
- 'add_char_placeholder_custom_content' => __( '{title} with {content} written by {author} on {date}.', 'tweet-old-post' ),
- 'add_pos_title' => __( 'Choose where you want the Additional Text to appear.', 'tweet-old-post' ),
- 'add_pos_option_start' => __( 'Beginning of Caption', 'tweet-old-post' ),
- 'add_pos_option_end' => __( 'End of Caption', 'tweet-old-post' ),
- 'add_link_title' => __( 'Include Link', 'tweet-old-post' ),
- 'add_link_desc' => __( 'Should Revive Social include the post permalink or not?', 'tweet-old-post' ),
- 'meta_link_title' => __( 'Custom Field', 'tweet-old-post' ),
- 'meta_link_desc' => __( 'Fetch URL from custom field?', 'tweet-old-post' ),
- 'meta_link_name_title' => __( 'Custom Field', 'tweet-old-post' ),
- 'meta_link_name_desc' => __( 'Custom Field from which to get the URL.', 'tweet-old-post' ),
- 'taxonomy_based_sharing_upsell' => __( 'Per account Taxonomy filters feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
- 'message_custom_content_upsell' => __( 'Per account Custom Content feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
- 'use_shortner_title' => __( 'Use URL Shortener', 'tweet-old-post' ),
- 'use_shortner_desc' => __( 'Should we use a shortener when adding the links to the content?', 'tweet-old-post' ),
- 'shortner_title' => __( 'URL Shortener Service', 'tweet-old-post' ),
- 'shortner_desc' => __( 'Which service to use for URL shortening?', 'tweet-old-post' ),
- 'shortner_api_field' => __( 'Service API', 'tweet-old-post' ),
- 'shortner_field_desc_start' => __( 'Add the', 'tweet-old-post' ),
- 'shortner_field_desc_end' => __( 'required by the', 'tweet-old-post' ),
- 'hashtags_title' => __( 'Hashtags', 'tweet-old-post' ),
- 'hashtags_desc' => __( 'Hashtags for published content.', 'tweet-old-post' ),
- 'hashtags_option_no' => __( 'Don\'t add any hashtags', 'tweet-old-post' ),
- 'hashtags_option_common' => __( 'Common hashtags for all shares', 'tweet-old-post' ),
- 'hashtags_option_cats' => __( 'Create hashtags from categories', 'tweet-old-post' ),
- 'hashtags_option_tags' => __( 'Create hashtags from tags', 'tweet-old-post' ),
- 'hashtags_option_field' => __( 'Create hashtags from a custom field', 'tweet-old-post' ),
- 'hastags_common_title' => __( 'Common Hashtags', 'tweet-old-post' ),
- 'hastags_common_desc' => __( 'List of hastags to use separated by comma', 'tweet-old-post' ),
- 'hastags_field_title' => __( 'Custom Hashtags', 'tweet-old-post' ),
- 'hastags_field_desc' => __( 'The name of the meta field that contains the hashtags.', 'tweet-old-post' ),
- 'hashtags_length_title' => __( 'Maximum Hashtags length', 'tweet-old-post' ),
- 'hashtags_length_desc' => __( 'The maximum hashtags length to be used when publishing.', 'tweet-old-post' ),
- 'hashtags_randomize' => __( 'Randomize hashtags', 'tweet-old-post' ),
- 'hashtags_randomize_desc' => __( 'Randomize the list of hashtags on every successful share. You won\'t see this change in the Sharing Queue, the randomization happens at share time.', 'tweet-old-post' ),
- 'image_title' => __( 'Share As Image Post', 'tweet-old-post' ),
- 'image_desc' => __( 'Should Revive Social share your posts as an image post? Learn more.', 'tweet-old-post' ),
- 'image_aspect_ratio_title' => __( 'Automatically correct aspect ratio', 'tweet-old-post' ),
- 'image_aspect_ratio_title_desc' => __( 'Should Revive Social automatically crop images with the wrong aspect ratio? Learn more.', 'tweet-old-post' ),
- 'utm_campaign_medium' => __( 'Campaign Medium', 'tweet-old-post' ),
- 'utm_campaign_medium_desc' => __( 'The marketing medium you want to show in Google Analytics e.g: "social", "website", etc.', 'tweet-old-post' ),
- 'utm_campaign_name' => __( 'Campaign Name', 'tweet-old-post' ),
- 'utm_campaign_name_desc' => __( 'The campaign name you want to show in Google Analytics e.g: "november_sale" etc.', 'tweet-old-post' ),
- 'custom_utm_upsell' => __( 'Custom UTMs are only available in the Pro version.', 'tweet-old-post' ),
- 'image_upsell' => __( 'Sharing as an Image Post is available in the Pro version.', 'tweet-old-post' ),
- 'full_wpml_support_upsell' => sprintf( __( 'Language-based sharing only available in the %1$sPro version%2$s', 'tweet-old-post' ), '', '' ),
-
- 'wpml_select_language' => __( 'Choose language', 'tweet-old-post' ),
- 'media_post_title' => __( 'Media Posts Content', 'tweet-old-post' ),
- 'media_post_desc' => __( 'Which content should we share for media posts?', 'tweet-old-post' ),
- 'media_post_option_title' => __( 'Title', 'tweet-old-post' ),
- 'media_post_option_caption' => __( 'Caption', 'tweet-old-post' ),
- 'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
- 'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
- 'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
- 'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
- 'active_account_no_post_format_error' => __( 'No post format found for the following network, please go to "Post Format" tab and save your changes for: ', 'tweet-old-post' ),
- 'twitter_max_characters_notice' => sprintf( __( '%1$sNote:%2$s Maximum characters supported by Twitter is 280.', 'tweet-old-post' ), '', '' ),
- 'instagram_disable_link_recommendation' => sprintf( __( '%1$sNote:%2$s We recommend that you disable links for Instagram posts. If you do leave this option checked, then we recommend that you enable a shortener.', 'tweet-old-post' ), '', '' ),
- 'instagram_image_post_default' => sprintf( __( '%1$sNote:%2$s Instagram posts need to be an image.', 'tweet-old-post' ), '', '' ),
- 'vk_unsupported_shorteners' => sprintf( __( '%1$sNote:%2$s is.gd shortener is not currently supported by VK.com.', 'tweet-old-post' ), '', '' ),
- 'not_available_with_rop_server' => __( 'This feature is not available for X accounts authorized via Revival Social.', 'tweet-old-post' ),
- 'custom_meta_field_upsell' => __( 'Custom meta fields are only available in the Pro version.', 'tweet-old-post' ),
- 'custom_meta_upsell' => __( 'Custom fields are only available in the Pro version.', 'tweet-old-post' ),
- 'hashtag_field_upsell' => __( 'The selected option is only available in the Pro version.', 'tweet-old-post' ),
- 'first_comment_title' => __( 'Comment Text', 'tweet-old-post' ),
- 'first_comment_desc' => __( 'Should Revive Social add the post link in the first comment when sharing a post?', 'tweet-old-post' ),
- 'first_comment_placeholder' => __( 'Read more on {link}', 'tweet-old-post' ),
- 'share_link_title' => __( 'Share link in comment', 'tweet-old-post' ),
- 'share_link_desc' => __( 'Share the post link in the first comment?', 'tweet-old-post' ),
- 'share_link_upsell' => __( 'Share first comment is only available in the Pro version.', 'tweet-old-post' ),
- ),
- 'schedule' => array(
- 'menu_item' => __( 'Custom Schedule', 'tweet-old-post' ),
- 'time_now' => __( 'Time now', 'tweet-old-post' ),
- 'schedule_type_title' => __( 'Schedule Type', 'tweet-old-post' ),
- 'schedule_type_desc' => __( 'What type of schedule to use.', 'tweet-old-post' ),
- 'schedule_type_option_fix' => __( 'Fixed', 'tweet-old-post' ),
- 'schedule_type_option_rec' => __( 'Recurring', 'tweet-old-post' ),
- 'schedule_fixed_days_title' => __( 'Fixed Schedule Days', 'tweet-old-post' ),
- 'schedule_fixed_days_desc' => __( 'The days when to share for this account.', 'tweet-old-post' ),
- 'schedule_fixed_time_title' => __( 'Fixed Schedule Time.', 'tweet-old-post' ),
- 'schedule_fixed_time_desc' => __( 'The time at witch to share for this account.', 'tweet-old-post' ),
- 'schedule_rec_title' => __( 'Recurring Schedule Interval', 'tweet-old-post' ),
- 'schedule_rec_desc' => __( 'A recurring interval to use for sharing. Once every \'X\' hours.', 'tweet-old-post' ),
- 'schedule_upsell' => __( 'The Custom Schedule is available only in the Business and Marketer versions of the plugin.', 'tweet-old-post' ),
+ 'custom_meta_title' => __( 'Custom Meta Field', 'tweet-old-post' ),
+ 'custom_meta_desc' => __( 'Meta field name from which to get the content.', 'tweet-old-post' ),
+ 'max_char_title' => __( 'Maximum Characters', 'tweet-old-post' ),
+ 'max_char_desc' => __( 'Maximum length of the message, in characters. Each letter is considered a character.', 'tweet-old-post' ),
+ 'add_char_title' => __( 'Additional Text', 'tweet-old-post' ),
+ 'add_char_title_custom_content' => __( 'Message Content', 'tweet-old-post' ),
+ 'override_share_variations' => __( 'Override Share Content Variations with the current content', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
+ 'add_char_desc' => sprintf( __( 'Add custom content to shared posts. It supports magic tags in the Pro version of Revive Social %1$sLearn More%2$s', 'tweet-old-post' ), '', '' ),
+ 'add_char_placeholder' => __( '...written by {author} on {date}.', 'tweet-old-post' ),
+ 'add_char_placeholder_custom_content' => __( '{title} with {content} written by {author} on {date}.', 'tweet-old-post' ),
+ 'add_pos_title' => __( 'Choose where you want the Additional Text to appear.', 'tweet-old-post' ),
+ 'add_pos_option_start' => __( 'Beginning of Caption', 'tweet-old-post' ),
+ 'add_pos_option_end' => __( 'End of Caption', 'tweet-old-post' ),
+ 'add_link_title' => __( 'Include Link', 'tweet-old-post' ),
+ 'add_link_desc' => __( 'Should Revive Social include the post permalink or not?', 'tweet-old-post' ),
+ 'meta_link_title' => __( 'Custom Field', 'tweet-old-post' ),
+ 'meta_link_desc' => __( 'Fetch URL from custom field?', 'tweet-old-post' ),
+ 'meta_link_name_title' => __( 'Custom Field', 'tweet-old-post' ),
+ 'meta_link_name_desc' => __( 'Custom Field from which to get the URL.', 'tweet-old-post' ),
+ 'taxonomy_based_sharing_upsell' => __( 'Per account Taxonomy filters feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
+ 'message_custom_content_upsell' => __( 'Per account Custom Content feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
+ 'use_shortner_title' => __( 'Use URL Shortener', 'tweet-old-post' ),
+ 'use_shortner_desc' => __( 'Should we use a shortener when adding the links to the content?', 'tweet-old-post' ),
+ 'shortner_title' => __( 'URL Shortener Service', 'tweet-old-post' ),
+ 'shortner_desc' => __( 'Which service to use for URL shortening?', 'tweet-old-post' ),
+ 'shortner_api_field' => __( 'Service API', 'tweet-old-post' ),
+ 'shortner_field_desc_start' => __( 'Add the', 'tweet-old-post' ),
+ 'shortner_field_desc_end' => __( 'required by the', 'tweet-old-post' ),
+ 'hashtags_title' => __( 'Hashtags', 'tweet-old-post' ),
+ 'hashtags_desc' => __( 'Hashtags for published content.', 'tweet-old-post' ),
+ 'hashtags_option_no' => __( 'Don\'t add any hashtags', 'tweet-old-post' ),
+ 'hashtags_option_common' => __( 'Common hashtags for all shares', 'tweet-old-post' ),
+ 'hashtags_option_cats' => __( 'Create hashtags from categories', 'tweet-old-post' ),
+ 'hashtags_option_tags' => __( 'Create hashtags from tags', 'tweet-old-post' ),
+ 'hashtags_option_field' => __( 'Create hashtags from a custom field', 'tweet-old-post' ),
+ 'hastags_common_title' => __( 'Common Hashtags', 'tweet-old-post' ),
+ 'hastags_common_desc' => __( 'List of hastags to use separated by comma', 'tweet-old-post' ),
+ 'hastags_field_title' => __( 'Custom Hashtags', 'tweet-old-post' ),
+ 'hastags_field_desc' => __( 'The name of the meta field that contains the hashtags.', 'tweet-old-post' ),
+ 'hashtags_length_title' => __( 'Maximum Hashtags length', 'tweet-old-post' ),
+ 'hashtags_length_desc' => __( 'The maximum hashtags length to be used when publishing.', 'tweet-old-post' ),
+ 'hashtags_randomize' => __( 'Randomize hashtags', 'tweet-old-post' ),
+ 'hashtags_randomize_desc' => __( 'Randomize the list of hashtags on every successful share. You won\'t see this change in the Sharing Queue, the randomization happens at share time.', 'tweet-old-post' ),
+ 'image_title' => __( 'Share As Image Post', 'tweet-old-post' ),
+ 'image_desc' => __( 'Should Revive Social share your posts as an image post? Learn more.', 'tweet-old-post' ),
+ 'image_aspect_ratio_title' => __( 'Automatically correct aspect ratio', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
+ 'image_aspect_ratio_title_desc' => __( 'Should Revive Social automatically crop images with the wrong aspect ratio? %1$sLearn more%2$s.', 'tweet-old-post' ),
+ '',
+ '',
),
+ 'utm_campaign_medium' => __( 'Campaign Medium', 'tweet-old-post' ),
+ 'utm_campaign_medium_desc' => __( 'The marketing medium you want to show in Google Analytics e.g: "social", "website", etc.', 'tweet-old-post' ),
+ 'utm_campaign_name' => __( 'Campaign Name', 'tweet-old-post' ),
+ 'utm_campaign_name_desc' => __( 'The campaign name you want to show in Google Analytics e.g: "november_sale" etc.', 'tweet-old-post' ),
+ 'custom_utm_upsell' => __( 'Custom UTMs are only available in the Pro version.', 'tweet-old-post' ),
+ 'image_upsell' => __( 'Sharing as an Image Post is available in the Pro version.', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
+ 'full_wpml_support_upsell' => sprintf( __( 'Language-based sharing only available in the %1$sPro version%2$s', 'tweet-old-post' ), '', '' ),
+
+ 'wpml_select_language' => __( 'Choose language', 'tweet-old-post' ),
+ 'media_post_title' => __( 'Media Posts Content', 'tweet-old-post' ),
+ 'media_post_desc' => __( 'Which content should we share for media posts?', 'tweet-old-post' ),
+ 'media_post_option_title' => __( 'Title', 'tweet-old-post' ),
+ 'media_post_option_caption' => __( 'Caption', 'tweet-old-post' ),
+ 'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
+ 'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
+ 'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
+ 'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
+ 'active_account_no_post_format_error' => __( 'No post format found for the following network, please go to "Post Format" tab and save your changes for: ', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing bold tags
+ 'twitter_max_characters_notice' => sprintf( __( '%1$sNote:%2$s Maximum characters supported by Twitter is 280.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s and %2$s are opening and closing bold tags
+ 'instagram_disable_link_recommendation' => sprintf( __( '%1$sNote:%2$s We recommend that you disable links for Instagram posts. If you do leave this option checked, then we recommend that you enable a shortener.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s and %2$s are opening and closing bold tags
+ 'instagram_image_post_default' => sprintf( __( '%1$sNote:%2$s Instagram posts need to be an image.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s and %2$s are opening and closing bold tags
+ 'vk_unsupported_shorteners' => sprintf( __( '%1$sNote:%2$s is.gd shortener is not currently supported by VK.com.', 'tweet-old-post' ), '', '' ),
+ 'not_available_with_rop_server' => __( 'This feature is not available for X accounts authorized via Revival Social.', 'tweet-old-post' ),
+ 'custom_meta_field_upsell' => __( 'Custom meta fields are only available in the Pro version.', 'tweet-old-post' ),
+ 'custom_meta_upsell' => __( 'Custom fields are only available in the Pro version.', 'tweet-old-post' ),
+ 'hashtag_field_upsell' => __( 'The selected option is only available in the Pro version.', 'tweet-old-post' ),
+ 'first_comment_title' => __( 'Comment Text', 'tweet-old-post' ),
+ 'first_comment_desc' => __( 'Should Revive Social add the post link in the first comment when sharing a post?', 'tweet-old-post' ),
+ 'first_comment_placeholder' => __( 'Read more on {link}', 'tweet-old-post' ),
+ 'share_link_title' => __( 'Share link in comment', 'tweet-old-post' ),
+ 'share_link_desc' => __( 'Share the post link in the first comment?', 'tweet-old-post' ),
+ 'share_link_upsell' => __( 'Share first comment is only available in the Pro version.', 'tweet-old-post' ),
+ ),
+ 'schedule' => array(
+ 'menu_item' => __( 'Custom Schedule', 'tweet-old-post' ),
+ 'time_now' => __( 'Time now', 'tweet-old-post' ),
+ 'schedule_type_title' => __( 'Schedule Type', 'tweet-old-post' ),
+ 'schedule_type_desc' => __( 'What type of schedule to use.', 'tweet-old-post' ),
+ 'schedule_type_option_fix' => __( 'Fixed', 'tweet-old-post' ),
+ 'schedule_type_option_rec' => __( 'Recurring', 'tweet-old-post' ),
+ 'schedule_fixed_days_title' => __( 'Fixed Schedule Days', 'tweet-old-post' ),
+ 'schedule_fixed_days_desc' => __( 'The days when to share for this account.', 'tweet-old-post' ),
+ 'schedule_fixed_time_title' => __( 'Fixed Schedule Time.', 'tweet-old-post' ),
+ 'schedule_fixed_time_desc' => __( 'The time at witch to share for this account.', 'tweet-old-post' ),
+ 'schedule_rec_title' => __( 'Recurring Schedule Interval', 'tweet-old-post' ),
+ 'schedule_rec_desc' => __( 'A recurring interval to use for sharing. Once every \'X\' hours.', 'tweet-old-post' ),
+ 'schedule_upsell' => __( 'The Custom Schedule is available only in the Business and Marketer versions of the plugin.', 'tweet-old-post' ),
+ ),
'queue' => array(
'menu_item' => __( 'Sharing Queue', 'tweet-old-post' ),
'sharing_not_started' => __( 'Sharing is not started!', 'tweet-old-post' ),
'sharing_not_started_desc' => __( 'You need to start sharing in order to see any posts in the queue.', 'tweet-old-post' ),
'queue_desc' => __( 'You can choose to edit any of the post, skip the sharing or block a specific one from sharing in the future.', 'tweet-old-post' ),
- 'business_or_higher_only' => sprintf( __( 'You can edit the posts from the queue with the Business or Marketer versions of the plugin. View more details %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
+ 'business_or_higher_only' => sprintf(
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
+ __( 'You can edit the posts from the queue with the Business or Marketer versions of the plugin. View more details %1$shere%2$s.', 'tweet-old-post' ),
+ '',
+ ''
+ ),
'no_posts' => __( 'No queued posts!', 'tweet-old-post' ),
'no_posts_desc' => __( 'Check if you have at least an "Active account", what posts and pages are selected in "General Settings" and if a "Schedule" is defined.', 'tweet-old-post' ),
'refresh_btn' => __( 'Refresh Queue', 'tweet-old-post' ),
@@ -361,6 +392,7 @@ public static function get_labels( $key = '' ) {
),
'general' => array(
'plugin_name' => __( 'Revive Social', 'tweet-old-post' ),
+ // translators: %s is the URL of the admin page
'status_error_global' => sprintf( __( 'Issues encountered when trying to share content on social media, check the Logs menu for more information. ', 'tweet-old-post' ), esc_url( get_admin_url( get_current_blog_id(), 'admin.php?page=TweetOldPost' ) ) ),
'sharing_not_started' => __( 'Sharing Not Started', 'tweet-old-post' ),
'sharing_to_account' => __( 'Sharing to Accounts', 'tweet-old-post' ),
@@ -381,6 +413,7 @@ public static function get_labels( $key = '' ) {
'next_share' => __( 'Next share', 'tweet-old-post' ),
'sharing_now' => __( 'Sharing...', 'tweet-old-post' ),
'cron_interval' => __( 'Once every 5 min', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'staging_status' => sprintf( __( 'This seems to be a staging or development website. Some post types will not share to your accounts. %1$sLearn How to Turn Off%2$s', 'tweet-old-post' ), '', '' ),
'api_not_available' => __(
'It seems there is an issue with your WordPress configuration and the core REST API functionality is not available. This is crucial as Revive Social relies on this functionality in order to work.
@@ -397,13 +430,16 @@ public static function get_labels( $key = '' ) {
'rop_docs' => __( 'Documentation', 'tweet-old-post' ),
'rop_roadmap' => __( 'Roadmap & Voting', 'tweet-old-post' ),
'rop_linkedin_refresh_token' => __( 'Your Linkedin access token is about to expire. You need to refresh your LinkedIn token to continue sharing without issue. Paste this link in your browser to find out why and how: https://is.gd/refresh_linkedin_token', 'tweet-old-post' ),
+ // translators: %1$s is the product name
'license_product' => __( '%1$s license', 'tweet-old-post' ),
'license_help' => __( 'Enter your revive.social license from purchase history in order to get plugin updates.', 'tweet-old-post' ),
'purchase_history' => __( 'Go to Purchase History.', 'tweet-old-post' ),
'activate' => __( 'Activate', 'tweet-old-post' ),
'deactivate' => __( 'Deactivate', 'tweet-old-post' ),
'valid' => __( 'Valid', 'tweet-old-post' ),
+ // translators: %1$s is the expiration date
'expires' => __( 'Expires on %1$s.', 'tweet-old-post' ),
+ // translators: %1$s is the expiration date
'expired' => __( 'Expired on %1$s.', 'tweet-old-post' ),
'could_not_change_license' => __( 'Could not change the license.', 'tweet-old-post' ),
'validation_failed' => __( 'Validation failed.', 'tweet-old-post' ),
@@ -414,6 +450,7 @@ public static function get_labels( $key = '' ) {
'remove_variation' => __( 'Delete', 'tweet-old-post' ),
'add_variation' => __( 'Add New', 'tweet-old-post' ),
'new_variation' => __( 'New Content Variation', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are opening and closing anchor tags for a link
'custom_message_info' => sprintf( __( 'Add share message variations to this post %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
'variation_num' => __( 'Content Variation #', 'tweet-old-post' ),
'variation_image' => __( 'Upload image', 'tweet-old-post' ),
@@ -433,16 +470,23 @@ public static function get_labels( $key = '' ) {
'refresh_linkedin_token_subject' => __( 'Revive Social - Refresh Your LinkedIn Token', 'tweet-old-post' ),
'refresh_linkedin_token_subject_final' => __( 'Final - Refresh Your LinkedIn Token', 'tweet-old-post' ),
'share_once_sharing_done_message' => __( 'All posts have been shared to your connected social media accounts. No previously shared posts will be re-shared until you click the button to "Stop Sharing" and "Start Sharing" on the Revive Social plugin dashboard.', 'tweet-old-post' ),
+ // translators: %1$s and %2$s are line breaks, %3$s is an anchor tag with link
'refresh_linkedin_token_message' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s', 'tweet-old-post' ), '
', 'https://docs.revive.social/article/1151-how-to-refresh-linkedin-access-token' ),
+ // translators: %1$s and %3$s are line breaks, %2$s is an anchor tag with link
'refresh_linkedin_token_message_final' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s. %3$sThis is the final notice email you will receieve from Revive Social.', 'tweet-old-post' ), '
' ),
),
'cron_system' => array(
+ // translators: %1$s is a line break.
'delete_cron_service_account_info' => sprintf( __( 'This option will delete your website information from our Remote Cron Service. %1$s Revive Social will then fallback to using the Local Cron System built into WordPress. %1$s You can re-enable the Remote Cron System at anytime from General Settings > Cron Type, switch from Local Cron to Remote.', 'tweet-old-post' ), ' ' ),
+ // translators: %1$s is a line break.
'clear_local_cron_info' => sprintf( __( 'This will remove the Cron server authentication key from your local database. %1$s A new authentication key will be created when you register to the remote Cron server.', 'tweet-old-post' ), ' ' ),
),
'notices' => array(
+ // translators: %1$s and %2$s are opening and closing bold tags.
'revive_network_upsell_notice_title' => sprintf( __( '%1$sRSS Sharing In Revive Social%2$s', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s, %2$s and %3$s are opening and closing bold tags.
'revive_network_upsell_notice_body' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
+ // translators: %1$s, %2$s and %3$s are opening and closing bold tags.
'revive_network_upsell_notice_product_pag' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
'dismiss_permanently' => __( 'Dismiss Permanently', 'tweet-old-post' ),
@@ -452,6 +496,7 @@ public static function get_labels( $key = '' ) {
'add_account_to_use_instant_share' => __( 'Connect or switch on an account in the Revive Social dashboard to use the Instant Share (Post on Publish) feature.', 'tweet-old-post' ),
'share_on_update' => __( 'Share via Revive Social ', 'tweet-old-post' ),
'clear_on_share' => __( 'These checkboxes will be cleared once the post is shared.', 'tweet-old-post' ),
+ // translators: %1$s, %2$s, %3$s, %4$s are opening and closing formatting tags
'custom_instant_share_messages_upsell' => sprintf( __( '%1$sCustom instant share messages are available in the %2$sPro version%3$s of the plugin.%4$s', 'tweet-old-post' ), '', '', '', '' ),
'edit_message' => __( 'Edit Message', 'tweet-old-post' ),
'custom_share_message' => __( 'Custom Share Message', 'tweet-old-post' ),
@@ -482,6 +527,7 @@ public static function get_labels( $key = '' ) {
'sharing' => array(
'post_already_shared' => __( 'This post went out on the last share event and might be a duplicate. Skipping...', 'tweet-old-post' ),
'share_attempted_on_staging' => __( 'Revive Social has detected that this is a development website. Share process skipped.', 'tweet-old-post' ),
+ // translators: %1$d is the daily post sharing limit number
'reached_sharing_limit' => __( 'You\'ve reached your daily post sharing limit of %1$d posts. Want to share more? Consider upgrading to enjoy a higher limit.', 'tweet-old-post' ),
'invalid_license' => __( 'Sorry, your license is invalid.', 'tweet-old-post' ),
'webhook_extension_not_found' => __( 'Webhook extension not found. Please install the Pro add-on.', 'tweet-old-post' ),
@@ -496,7 +542,9 @@ public static function get_labels( $key = '' ) {
'gmb_missing_lib_class' => __( 'Unable to find Google_Service_MyBusiness Class. Please ensure you have the Revive Social Pro Addon activated.', 'tweet-old-post' ),
'linkedin_missing_exif_imagetype' => __( 'Cannot share image to LinkedIn. exif_imagetype() function is missing from your system. Please contact your web host and ask that this function be enabled on your hosting.', 'tweet-old-post' ),
'linkedin_issue_fetching_token' => __( 'There was an issue fetching the LinkedIn Token. Please contact Revive Social support for assistance.', 'tweet-old-post' ),
+ // translators: %1$s is the post ID, %2$s is the service name
'no_image_found' => __( 'No image was found for post %1$s cannot share as an image post to: %2$s. Please double check that you have a featured image set.', 'tweet-old-post' ),
+ // translators: %1$s is the service name
'license_not_active' => __( 'An active Pro license is needed to share to %1$s', 'tweet-old-post' ),
'could_not_send_webhook' => __( 'Could not send webhook.', 'tweet-old-post' ),
'webhook_error' => __( 'An error occurred for Webhook post sharing.', 'tweet-old-post' ),
@@ -511,32 +559,34 @@ public static function get_labels( $key = '' ) {
'revive_network_learn_more_btn' => __( 'Learn More', 'tweet-old-post' ),
'learn_more' => __( 'Learn More!', 'tweet-old-post' ),
'min_interval_6_mins' => __( 'Minimum interval between consecutive shares is 6 minutes.', 'tweet-old-post' ),
+ // translators: %s is the minimum number of hours
'min_interval_between_shares' => __( 'Lowest allowed value for "Minimum Interval Between Shares" is %s hours. Choosing a lower interval is available in the Pro version.', 'tweet-old-post' ),
+ // translators: %d is the minimum number of minutes
'min_recurring_schedule_interval' => __( 'Lowest allowed value for "Recurring Schedule Interval" is %d minutes.', 'tweet-old-post' ),
'no_post_types_selected' => __( 'You need to have at least one post type to share.', 'tweet-old-post' ),
'min_number_of_concurrent_posts' => __( 'At least one posts need to be shared.', 'tweet-old-post' ),
'max_number_of_concurrent_posts' => __( 'Maximum concurrent post shares is 4.', 'tweet-old-post' ),
),
- );
- if ( empty( $key ) ) {
- return $labels;
- }
- /**
- * Allow accessing labels by key.
- */
- $keys = explode( '.', $key );
- if ( count( $keys ) === 1 ) {
- if ( isset( $labels[ $keys[0] ] ) ) {
- return $labels[ $keys[0] ];
+ );
+ if ( empty( $key ) ) {
+ return $labels;
+ }
+ /**
+ * Allow accessing labels by key.
+ */
+ $keys = explode( '.', $key );
+ if ( count( $keys ) === 1 ) {
+ if ( isset( $labels[ $keys[0] ] ) ) {
+ return $labels[ $keys[0] ];
+ }
}
- }
- if ( count( $keys ) === 2 ) {
- if ( isset( $labels[ $keys[0] ][ $keys[1] ] ) ) {
- return $labels[ $keys[0] ][ $keys[1] ];
+ if ( count( $keys ) === 2 ) {
+ if ( isset( $labels[ $keys[0] ][ $keys[1] ] ) ) {
+ return $labels[ $keys[0] ][ $keys[1] ];
+ }
}
- }
- return '';
+ return '';
}
/**
diff --git a/tweet-old-post.php b/tweet-old-post.php
index 77cddfd5a..0ce2886a5 100644
--- a/tweet-old-post.php
+++ b/tweet-old-post.php
@@ -60,7 +60,20 @@ function rop_buffer_present_notice() {
?>
- ', '', '', '', '', '' ); ?>
+ tag, 2: tag, 3: tag, 4: tag, 5: tag, 6: tag
+ esc_html__( '%1$s %2$sRevive Social:%3$s You have Buffer account(s) connected to Revive Social. You need to remove these accounts to avoid issues with the plugin. Plugin has been deactivated. %4$sClick here to read the article with the fix.%5$s %6$s', 'tweet-old-post' ),
+ '
- ', '', '', '', '', '' ); ?>
+ tag, 2: tag, 3: tag, 4: tag, 5: tag, 6: tag
+ esc_html__( '%1$s You\'re using a PHP version lower than 7.4! Revive Social requires at least %2$sPHP 7.4%3$s to function properly. Plugin has been deactivated. %4$sLearn more here%5$s. %6$s', 'tweet-old-post' ),
+ '
Date: Mon, 1 Sep 2025 10:21:03 +0300
Subject: [PATCH 4/5] dev: formatting
---
includes/admin/class-rop-global-settings.php | 2 +-
includes/class-rop-i18n.php | 312 ++++++++-----------
phpstan-baseline.neon | 52 ++--
3 files changed, 161 insertions(+), 205 deletions(-)
diff --git a/includes/admin/class-rop-global-settings.php b/includes/admin/class-rop-global-settings.php
index 78b7b18f8..33cc4ffb8 100644
--- a/includes/admin/class-rop-global-settings.php
+++ b/includes/admin/class-rop-global-settings.php
@@ -194,7 +194,7 @@ class Rop_Global_Settings {
'custom_messages' => false,
'custom_messages_share_order' => false,
'instant_share' => true,
- 'instant_share_default' => true,
+ 'instant_share_default' => true,
'start_time' => false,
'minute_interval' => 5,
);
diff --git a/includes/class-rop-i18n.php b/includes/class-rop-i18n.php
index aaf0513f6..8322a0081 100644
--- a/includes/class-rop-i18n.php
+++ b/includes/class-rop-i18n.php
@@ -74,12 +74,11 @@ public function load_service_locals( $services ) {
public static function get_labels( $key = '' ) {
$tw_new_name = __( 'X (Twitter)', 'tweet-old-post' );
$labels = array(
- 'accounts' => array(
+ 'accounts' => array(
'menu_item' => __( 'Accounts', 'tweet-old-post' ),
'service_popup_title' => __( 'Service Credentials', 'tweet-old-post' ),
'show_advance_config' => __( 'Use your own keys', 'tweet-old-post' ),
'show_own_keys_config' => __( 'Use my own API keys', 'tweet-old-post' ),
- // translators: %1$s changes in network limits, %2$s is the recommended action
'tw_app_signin_tooltip' => sprintf( __( 'Due to the %1$s changes in network limits, we cannot guarantee stable sharing using this mode. We recommend using your own API keys.', 'tweet-old-post' ), $tw_new_name ),
'tw_new_name' => $tw_new_name,
'fb_app_signin_btn' => __( 'Sign in to Facebook', 'tweet-old-post' ),
@@ -89,6 +88,7 @@ public static function get_labels( $key = '' ) {
'gmb_app_signin_btn' => __( 'Sign in to Google My Business', 'tweet-old-post' ),
'vk_app_signin_btn' => __( 'Sign in to Vkontake', 'tweet-old-post' ),
'app_option_signin' => __( 'Or', 'tweet-old-post' ),
+ 'service_popup_title' => __( 'Service Credentials', 'tweet-old-post' ),
'sign_in_btn' => __( 'Sign In', 'tweet-old-post' ),
'field_required' => __( 'This field is required', 'tweet-old-post' ),
'at' => __( 'at', 'tweet-old-post' ),
@@ -107,18 +107,14 @@ public static function get_labels( $key = '' ) {
'reset_selector_btn' => __( 'Reset', 'tweet-old-post' ),
'for' => __( 'for', 'tweet-old-post' ),
'add_account' => __( 'Add Your Accounts:', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'upsell_accounts' => sprintf( __( 'A maximum of 1 Facebook and Twitter account can be connected to the Lite version of Revive Social. Upgrade to unlock more great features including more social networks! Check out the Lite vs Pro %1$stable here%2$s.', 'tweet-old-post' ), '', '' ),
'upsell_accounts_toggle' => 'Active accounts limit reached.',
'toggle_account' => __( 'Toggle account', 'tweet-old-post' ),
'activate_license' => __( 'You need to activate your license key to unlock the Pro features of Revive Social. Add your key on the sidebar.', 'tweet-old-post' ),
'fb_app_id_title' => __( 'Please add the APP ID from your Facebook app.', 'tweet-old-post' ),
'fb_app_secret_title' => __( 'Please add the APP SECRET from your Facebook app.', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'fb_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'twt_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
- // translators: %1$s is the service name
'service_error' => __( 'The %1$s service can not be used or was not found', 'tweet-old-post' ),
'twitter_warning' => __(
'
@@ -131,28 +127,21 @@ public static function get_labels( $key = '' ) {
'only_in_pro' => __( 'Available in Pro', 'tweet-old-post' ),
'limit_reached' => __( 'Limit reached', 'tweet-old-post' ),
'upsell_upgrade_now' => __( 'Upgrade to PRO', 'tweet-old-post' ),
- // translators: %1$s is the service name
'upsell_extra_network' => __( 'Sharing to %1$s', 'tweet-old-post' ),
- // translators: %1$s is the service name
'upsell_extra_account' => __( 'Sharing to Additional %1$s Accounts', 'tweet-old-post' ),
- // translators: %1$s is the service name
'upsell_service_title' => __( '%1$s is a PRO feature', 'tweet-old-post' ),
- // translators: %1$s is the service name
'upsell_service_body' => __( 'We\'re sorry, %1$s is not available on your plan. Please upgrade to the Pro plan to unlock all these features and get more traffic.', 'tweet-old-post' ),
'edit_headers' => __( 'Edit Headers', 'tweet-old-post' ),
'hide' => __( 'Hide', 'tweet-old-post' ),
'get_latest_pro_version' => __( 'Get the latest Pro version to unlock.', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'tlg_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
- // translators: %1$s is the service name
'upsell_bz_service_body' => __( 'We\'re sorry, %1$s is not available on your plan. Please upgrade to the business plan to unlock all these features and get more traffic.', 'tweet-old-post' ),
'search_account' => __( 'Search account', 'tweet-old-post' ),
'no_account_found' => __( 'No account found for search', 'tweet-old-post' ),
),
- 'settings' => array(
+ 'settings' => array(
'yes_text' => __( 'Yes', 'tweet-old-post' ),
'available_in_pro' => __( ' This feature is only available in the Pro version.', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'post_types_exclude_limit' => sprintf( __( 'Upgrade to Pro version to select more than 30 posts. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'post_types_exclude_limit_tooltip' => __( 'Upgrade to Pro version to select more than 30 posts.', 'tweet-old-post' ),
'menu_item' => __( 'General Settings', 'tweet-old-post' ),
@@ -170,13 +159,10 @@ public static function get_labels( $key = '' ) {
'tweet-old-post'
),
'post_types_title' => __( 'Post Types', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'post_types_taxonomy_limit' => sprintf( __( 'Upgrade to Pro version to select more than 4 taxonomies. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'post_types_attachament_info' => sprintf( __( 'You need to select the media files which you want to share, find out more information %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'post_types_desc' => __( 'Which post types should Revive Social share? Learn more.', 'tweet-old-post' ),
'update_post_published_date_title' => __( 'Update Post Published Date After Share', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'update_post_published_date_desc' => sprintf( __( 'Update the post published date after it has been shared to your social media account. %1$sLearn more%2$s.', 'tweet-old-post' ), '', '' ),
'filter_by_post_types_desc' => __( 'Filter posts list by Post Type', 'tweet-old-post' ),
'post_types_upsell' => __(
@@ -206,13 +192,11 @@ public static function get_labels( $key = '' ) {
'custom_share_order_desc' => __( 'By default message variations are shared randomly. Checking this box will cause them to share in the order they were added.', 'tweet-old-post' ),
'instant_share_title' => __( 'Enable Instant Sharing Feature (Post on Publish)', 'tweet-old-post' ),
'instant_share_desc' => __( 'Allows you to share posts immediately on publish/update. Learn more.', 'tweet-old-post' ),
- 'instant_share_default_title' => __( 'Enable Instant Sharing By Default', 'tweet-old-post' ),
- 'instant_share_default_desc' => __( 'Instant sharing option will be checked by default when creating new posts.', 'tweet-old-post' ),
+ 'instant_share_default_title' => __( 'Enable Instant Sharing By Default', 'tweet-old-post' ),
+ 'instant_share_default_desc' => __( 'Instant sharing option will be checked by default when creating new posts.', 'tweet-old-post' ),
'cron_type_label' => __( 'Cron Job Type', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'cron_type_label_desc' => sprintf( __( 'Select the between your local built-in WordPress task scheduler, or Revive Social\'s, %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
'cron_type_label_desc_terms' => __( 'I understand that some site data is stored on the Revive Social\'s Remote Cron System to provide this service Read More Here.', 'tweet-old-post' ),
- // translators: %1$s and %2$s are bold tags, %3$s and %4$s are opening and closing anchor tags for a link
'cron_type_notice' => sprintf( __( '%1$sNOTE:%2$s This is a BETA Remote Cron feature to be used mainly if your %1$sposts aren\'t sharing%2$s. If the Remote Cron feature is used, and you notice that your posts are still not sharing, then please %1$sturn the setting back to "Local Cron"%2$s and read the following guide for alternative solutions that are sure to work: %1$s%3$sLearn More%4$s%2$s.', 'tweet-old-post' ), '', '', '', '' ),
'housekeeping' => __( 'Housekeeping', 'tweet-old-post' ),
'housekeeping_desc' => __( 'Should we delete all saved settings on deletion of the Revive Social plugin?', 'tweet-old-post' ),
@@ -231,138 +215,123 @@ public static function get_labels( $key = '' ) {
'tracking' => __( 'Send anonymous data to help us understand how you use the plugin.', 'tweet-old-post' ),
'tracking_info' => __( 'What do we track?', 'tweet-old-post' ),
),
- 'post_format' => array(
- 'yes_text' => __( 'Yes', 'tweet-old-post' ),
- 'menu_item' => __( 'Post Format', 'tweet-old-post' ),
- 'language_title' => __( 'Language', 'tweet-old-post' ),
- 'language_title_desc' => __( 'We\'ve detected that this is a multilingual website. Select the post language you want to share to this account.', 'tweet-old-post' ),
- 'post_content_title' => __( 'Share Content', 'tweet-old-post' ),
- 'post_content_desc' => __( 'Which part of the post should we use as the caption?', 'tweet-old-post' ),
- 'post_content_option_title' => __( 'Post Title', 'tweet-old-post' ),
- 'post_content_option_content' => __( 'Post Content', 'tweet-old-post' ),
- 'post_content_option_title_content' => __( 'Post Title & Content', 'tweet-old-post' ),
- 'post_content_option_excerpt' => __( 'Post Excerpt', 'tweet-old-post' ),
- 'post_content_option_custom_field' => __( 'Custom Field', 'tweet-old-post' ),
- 'post_content_option_custom_content' => __( 'Custom Content', 'tweet-old-post' ),
- 'post_content_option_yoast_seo_title' => __( 'Yoast SEO Title', 'tweet-old-post' ),
+ 'post_format' => array(
+ 'yes_text' => __( 'Yes', 'tweet-old-post' ),
+ 'menu_item' => __( 'Post Format', 'tweet-old-post' ),
+ 'language_title' => __( 'Language', 'tweet-old-post' ),
+ 'language_title_desc' => __( 'We\'ve detected that this is a multilingual website. Select the post language you want to share to this account.', 'tweet-old-post' ),
+ 'post_content_title' => __( 'Share Content', 'tweet-old-post' ),
+ 'post_content_desc' => __( 'Which part of the post should we use as the caption?', 'tweet-old-post' ),
+ 'post_content_option_title' => __( 'Post Title', 'tweet-old-post' ),
+ 'post_content_option_content' => __( 'Post Content', 'tweet-old-post' ),
+ 'post_content_option_title_content' => __( 'Post Title & Content', 'tweet-old-post' ),
+ 'post_content_option_excerpt' => __( 'Post Excerpt', 'tweet-old-post' ),
+ 'post_content_option_custom_field' => __( 'Custom Field', 'tweet-old-post' ),
+ 'post_content_option_custom_content' => __( 'Custom Content', 'tweet-old-post' ),
+ 'post_content_option_yoast_seo_title' => __( 'Yoast SEO Title', 'tweet-old-post' ),
'post_content_option_yoast_seo_description' => __( 'Yoast SEO Description', 'tweet-old-post' ),
'post_content_option_yoast_seo_title_description' => __( 'Yoast SEO Title & Description', 'tweet-old-post' ),
- 'custom_meta_title' => __( 'Custom Meta Field', 'tweet-old-post' ),
- 'custom_meta_desc' => __( 'Meta field name from which to get the content.', 'tweet-old-post' ),
- 'max_char_title' => __( 'Maximum Characters', 'tweet-old-post' ),
- 'max_char_desc' => __( 'Maximum length of the message, in characters. Each letter is considered a character.', 'tweet-old-post' ),
- 'add_char_title' => __( 'Additional Text', 'tweet-old-post' ),
- 'add_char_title_custom_content' => __( 'Message Content', 'tweet-old-post' ),
- 'override_share_variations' => __( 'Override Share Content Variations with the current content', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
- 'add_char_desc' => sprintf( __( 'Add custom content to shared posts. It supports magic tags in the Pro version of Revive Social %1$sLearn More%2$s', 'tweet-old-post' ), '', '' ),
- 'add_char_placeholder' => __( '...written by {author} on {date}.', 'tweet-old-post' ),
- 'add_char_placeholder_custom_content' => __( '{title} with {content} written by {author} on {date}.', 'tweet-old-post' ),
- 'add_pos_title' => __( 'Choose where you want the Additional Text to appear.', 'tweet-old-post' ),
- 'add_pos_option_start' => __( 'Beginning of Caption', 'tweet-old-post' ),
- 'add_pos_option_end' => __( 'End of Caption', 'tweet-old-post' ),
- 'add_link_title' => __( 'Include Link', 'tweet-old-post' ),
- 'add_link_desc' => __( 'Should Revive Social include the post permalink or not?', 'tweet-old-post' ),
- 'meta_link_title' => __( 'Custom Field', 'tweet-old-post' ),
- 'meta_link_desc' => __( 'Fetch URL from custom field?', 'tweet-old-post' ),
- 'meta_link_name_title' => __( 'Custom Field', 'tweet-old-post' ),
- 'meta_link_name_desc' => __( 'Custom Field from which to get the URL.', 'tweet-old-post' ),
- 'taxonomy_based_sharing_upsell' => __( 'Per account Taxonomy filters feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
- 'message_custom_content_upsell' => __( 'Per account Custom Content feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
- 'use_shortner_title' => __( 'Use URL Shortener', 'tweet-old-post' ),
- 'use_shortner_desc' => __( 'Should we use a shortener when adding the links to the content?', 'tweet-old-post' ),
- 'shortner_title' => __( 'URL Shortener Service', 'tweet-old-post' ),
- 'shortner_desc' => __( 'Which service to use for URL shortening?', 'tweet-old-post' ),
- 'shortner_api_field' => __( 'Service API', 'tweet-old-post' ),
- 'shortner_field_desc_start' => __( 'Add the', 'tweet-old-post' ),
- 'shortner_field_desc_end' => __( 'required by the', 'tweet-old-post' ),
- 'hashtags_title' => __( 'Hashtags', 'tweet-old-post' ),
- 'hashtags_desc' => __( 'Hashtags for published content.', 'tweet-old-post' ),
- 'hashtags_option_no' => __( 'Don\'t add any hashtags', 'tweet-old-post' ),
- 'hashtags_option_common' => __( 'Common hashtags for all shares', 'tweet-old-post' ),
- 'hashtags_option_cats' => __( 'Create hashtags from categories', 'tweet-old-post' ),
- 'hashtags_option_tags' => __( 'Create hashtags from tags', 'tweet-old-post' ),
- 'hashtags_option_field' => __( 'Create hashtags from a custom field', 'tweet-old-post' ),
- 'hastags_common_title' => __( 'Common Hashtags', 'tweet-old-post' ),
- 'hastags_common_desc' => __( 'List of hastags to use separated by comma', 'tweet-old-post' ),
- 'hastags_field_title' => __( 'Custom Hashtags', 'tweet-old-post' ),
- 'hastags_field_desc' => __( 'The name of the meta field that contains the hashtags.', 'tweet-old-post' ),
- 'hashtags_length_title' => __( 'Maximum Hashtags length', 'tweet-old-post' ),
- 'hashtags_length_desc' => __( 'The maximum hashtags length to be used when publishing.', 'tweet-old-post' ),
- 'hashtags_randomize' => __( 'Randomize hashtags', 'tweet-old-post' ),
- 'hashtags_randomize_desc' => __( 'Randomize the list of hashtags on every successful share. You won\'t see this change in the Sharing Queue, the randomization happens at share time.', 'tweet-old-post' ),
- 'image_title' => __( 'Share As Image Post', 'tweet-old-post' ),
- 'image_desc' => __( 'Should Revive Social share your posts as an image post? Learn more.', 'tweet-old-post' ),
- 'image_aspect_ratio_title' => __( 'Automatically correct aspect ratio', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
- 'image_aspect_ratio_title_desc' => __( 'Should Revive Social automatically crop images with the wrong aspect ratio? %1$sLearn more%2$s.', 'tweet-old-post' ),
- '',
- '',
- ),
- 'utm_campaign_medium' => __( 'Campaign Medium', 'tweet-old-post' ),
- 'utm_campaign_medium_desc' => __( 'The marketing medium you want to show in Google Analytics e.g: "social", "website", etc.', 'tweet-old-post' ),
- 'utm_campaign_name' => __( 'Campaign Name', 'tweet-old-post' ),
- 'utm_campaign_name_desc' => __( 'The campaign name you want to show in Google Analytics e.g: "november_sale" etc.', 'tweet-old-post' ),
- 'custom_utm_upsell' => __( 'Custom UTMs are only available in the Pro version.', 'tweet-old-post' ),
- 'image_upsell' => __( 'Sharing as an Image Post is available in the Pro version.', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
- 'full_wpml_support_upsell' => sprintf( __( 'Language-based sharing only available in the %1$sPro version%2$s', 'tweet-old-post' ), '', '' ),
+ 'custom_meta_title' => __( 'Custom Meta Field', 'tweet-old-post' ),
+ 'custom_meta_desc' => __( 'Meta field name from which to get the content.', 'tweet-old-post' ),
+ 'max_char_title' => __( 'Maximum Characters', 'tweet-old-post' ),
+ 'max_char_desc' => __( 'Maximum length of the message, in characters. Each letter is considered a character.', 'tweet-old-post' ),
+ 'add_char_title' => __( 'Additional Text', 'tweet-old-post' ),
+ 'add_char_title_custom_content' => __( 'Message Content', 'tweet-old-post' ),
+ 'override_share_variations' => __( 'Override Share Content Variations with the current content', 'tweet-old-post' ),
+ 'add_char_desc' => sprintf( __( 'Add custom content to shared posts. It supports magic tags in the Pro version of Revive Social %1$sLearn More%2$s', 'tweet-old-post' ), '', '' ),
+ 'add_char_placeholder' => __( '...written by {author} on {date}.', 'tweet-old-post' ),
+ 'add_char_placeholder_custom_content' => __( '{title} with {content} written by {author} on {date}.', 'tweet-old-post' ),
+ 'add_pos_title' => __( 'Choose where you want the Additional Text to appear.', 'tweet-old-post' ),
+ 'add_pos_option_start' => __( 'Beginning of Caption', 'tweet-old-post' ),
+ 'add_pos_option_end' => __( 'End of Caption', 'tweet-old-post' ),
+ 'add_link_title' => __( 'Include Link', 'tweet-old-post' ),
+ 'add_link_desc' => __( 'Should Revive Social include the post permalink or not?', 'tweet-old-post' ),
+ 'meta_link_title' => __( 'Custom Field', 'tweet-old-post' ),
+ 'meta_link_desc' => __( 'Fetch URL from custom field?', 'tweet-old-post' ),
+ 'meta_link_name_title' => __( 'Custom Field', 'tweet-old-post' ),
+ 'meta_link_name_desc' => __( 'Custom Field from which to get the URL.', 'tweet-old-post' ),
+ 'taxonomy_based_sharing_upsell' => __( 'Per account Taxonomy filters feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
+ 'message_custom_content_upsell' => __( 'Per account Custom Content feature is available in the Pro version (Personal Plan and higher).', 'tweet-old-post' ),
+ 'use_shortner_title' => __( 'Use URL Shortener', 'tweet-old-post' ),
+ 'use_shortner_desc' => __( 'Should we use a shortener when adding the links to the content?', 'tweet-old-post' ),
+ 'shortner_title' => __( 'URL Shortener Service', 'tweet-old-post' ),
+ 'shortner_desc' => __( 'Which service to use for URL shortening?', 'tweet-old-post' ),
+ 'shortner_api_field' => __( 'Service API', 'tweet-old-post' ),
+ 'shortner_field_desc_start' => __( 'Add the', 'tweet-old-post' ),
+ 'shortner_field_desc_end' => __( 'required by the', 'tweet-old-post' ),
+ 'hashtags_title' => __( 'Hashtags', 'tweet-old-post' ),
+ 'hashtags_desc' => __( 'Hashtags for published content.', 'tweet-old-post' ),
+ 'hashtags_option_no' => __( 'Don\'t add any hashtags', 'tweet-old-post' ),
+ 'hashtags_option_common' => __( 'Common hashtags for all shares', 'tweet-old-post' ),
+ 'hashtags_option_cats' => __( 'Create hashtags from categories', 'tweet-old-post' ),
+ 'hashtags_option_tags' => __( 'Create hashtags from tags', 'tweet-old-post' ),
+ 'hashtags_option_field' => __( 'Create hashtags from a custom field', 'tweet-old-post' ),
+ 'hastags_common_title' => __( 'Common Hashtags', 'tweet-old-post' ),
+ 'hastags_common_desc' => __( 'List of hastags to use separated by comma', 'tweet-old-post' ),
+ 'hastags_field_title' => __( 'Custom Hashtags', 'tweet-old-post' ),
+ 'hastags_field_desc' => __( 'The name of the meta field that contains the hashtags.', 'tweet-old-post' ),
+ 'hashtags_length_title' => __( 'Maximum Hashtags length', 'tweet-old-post' ),
+ 'hashtags_length_desc' => __( 'The maximum hashtags length to be used when publishing.', 'tweet-old-post' ),
+ 'hashtags_randomize' => __( 'Randomize hashtags', 'tweet-old-post' ),
+ 'hashtags_randomize_desc' => __( 'Randomize the list of hashtags on every successful share. You won\'t see this change in the Sharing Queue, the randomization happens at share time.', 'tweet-old-post' ),
+ 'image_title' => __( 'Share As Image Post', 'tweet-old-post' ),
+ 'image_desc' => __( 'Should Revive Social share your posts as an image post? Learn more.', 'tweet-old-post' ),
+ 'image_aspect_ratio_title' => __( 'Automatically correct aspect ratio', 'tweet-old-post' ),
+ 'image_aspect_ratio_title_desc' => __( 'Should Revive Social automatically crop images with the wrong aspect ratio? Learn more.', 'tweet-old-post' ),
+ 'utm_campaign_medium' => __( 'Campaign Medium', 'tweet-old-post' ),
+ 'utm_campaign_medium_desc' => __( 'The marketing medium you want to show in Google Analytics e.g: "social", "website", etc.', 'tweet-old-post' ),
+ 'utm_campaign_name' => __( 'Campaign Name', 'tweet-old-post' ),
+ 'utm_campaign_name_desc' => __( 'The campaign name you want to show in Google Analytics e.g: "november_sale" etc.', 'tweet-old-post' ),
+ 'custom_utm_upsell' => __( 'Custom UTMs are only available in the Pro version.', 'tweet-old-post' ),
+ 'image_upsell' => __( 'Sharing as an Image Post is available in the Pro version.', 'tweet-old-post' ),
+ 'full_wpml_support_upsell' => sprintf( __( 'Language-based sharing only available in the %1$sPro version%2$s', 'tweet-old-post' ), '', '' ),
- 'wpml_select_language' => __( 'Choose language', 'tweet-old-post' ),
- 'media_post_title' => __( 'Media Posts Content', 'tweet-old-post' ),
- 'media_post_desc' => __( 'Which content should we share for media posts?', 'tweet-old-post' ),
- 'media_post_option_title' => __( 'Title', 'tweet-old-post' ),
- 'media_post_option_caption' => __( 'Caption', 'tweet-old-post' ),
- 'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
- 'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
- 'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
- 'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
- 'active_account_no_post_format_error' => __( 'No post format found for the following network, please go to "Post Format" tab and save your changes for: ', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing bold tags
- 'twitter_max_characters_notice' => sprintf( __( '%1$sNote:%2$s Maximum characters supported by Twitter is 280.', 'tweet-old-post' ), '', '' ),
- // translators: %1$s and %2$s are opening and closing bold tags
- 'instagram_disable_link_recommendation' => sprintf( __( '%1$sNote:%2$s We recommend that you disable links for Instagram posts. If you do leave this option checked, then we recommend that you enable a shortener.', 'tweet-old-post' ), '', '' ),
- // translators: %1$s and %2$s are opening and closing bold tags
- 'instagram_image_post_default' => sprintf( __( '%1$sNote:%2$s Instagram posts need to be an image.', 'tweet-old-post' ), '', '' ),
- // translators: %1$s and %2$s are opening and closing bold tags
- 'vk_unsupported_shorteners' => sprintf( __( '%1$sNote:%2$s is.gd shortener is not currently supported by VK.com.', 'tweet-old-post' ), '', '' ),
- 'not_available_with_rop_server' => __( 'This feature is not available for X accounts authorized via Revival Social.', 'tweet-old-post' ),
- 'custom_meta_field_upsell' => __( 'Custom meta fields are only available in the Pro version.', 'tweet-old-post' ),
- 'custom_meta_upsell' => __( 'Custom fields are only available in the Pro version.', 'tweet-old-post' ),
- 'hashtag_field_upsell' => __( 'The selected option is only available in the Pro version.', 'tweet-old-post' ),
- 'first_comment_title' => __( 'Comment Text', 'tweet-old-post' ),
- 'first_comment_desc' => __( 'Should Revive Social add the post link in the first comment when sharing a post?', 'tweet-old-post' ),
- 'first_comment_placeholder' => __( 'Read more on {link}', 'tweet-old-post' ),
- 'share_link_title' => __( 'Share link in comment', 'tweet-old-post' ),
- 'share_link_desc' => __( 'Share the post link in the first comment?', 'tweet-old-post' ),
- 'share_link_upsell' => __( 'Share first comment is only available in the Pro version.', 'tweet-old-post' ),
- ),
- 'schedule' => array(
- 'menu_item' => __( 'Custom Schedule', 'tweet-old-post' ),
- 'time_now' => __( 'Time now', 'tweet-old-post' ),
- 'schedule_type_title' => __( 'Schedule Type', 'tweet-old-post' ),
- 'schedule_type_desc' => __( 'What type of schedule to use.', 'tweet-old-post' ),
- 'schedule_type_option_fix' => __( 'Fixed', 'tweet-old-post' ),
- 'schedule_type_option_rec' => __( 'Recurring', 'tweet-old-post' ),
- 'schedule_fixed_days_title' => __( 'Fixed Schedule Days', 'tweet-old-post' ),
- 'schedule_fixed_days_desc' => __( 'The days when to share for this account.', 'tweet-old-post' ),
- 'schedule_fixed_time_title' => __( 'Fixed Schedule Time.', 'tweet-old-post' ),
- 'schedule_fixed_time_desc' => __( 'The time at witch to share for this account.', 'tweet-old-post' ),
- 'schedule_rec_title' => __( 'Recurring Schedule Interval', 'tweet-old-post' ),
- 'schedule_rec_desc' => __( 'A recurring interval to use for sharing. Once every \'X\' hours.', 'tweet-old-post' ),
- 'schedule_upsell' => __( 'The Custom Schedule is available only in the Business and Marketer versions of the plugin.', 'tweet-old-post' ),
- ),
+ 'wpml_select_language' => __( 'Choose language', 'tweet-old-post' ),
+ 'media_post_title' => __( 'Media Posts Content', 'tweet-old-post' ),
+ 'media_post_desc' => __( 'Which content should we share for media posts?', 'tweet-old-post' ),
+ 'media_post_option_title' => __( 'Title', 'tweet-old-post' ),
+ 'media_post_option_caption' => __( 'Caption', 'tweet-old-post' ),
+ 'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
+ 'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
+ 'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
+ 'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
+ 'active_account_no_post_format_error' => __( 'No post format found for the following network, please go to "Post Format" tab and save your changes for: ', 'tweet-old-post' ),
+ 'twitter_max_characters_notice' => sprintf( __( '%1$sNote:%2$s Maximum characters supported by Twitter is 280.', 'tweet-old-post' ), '', '' ),
+ 'instagram_disable_link_recommendation' => sprintf( __( '%1$sNote:%2$s We recommend that you disable links for Instagram posts. If you do leave this option checked, then we recommend that you enable a shortener.', 'tweet-old-post' ), '', '' ),
+ 'instagram_image_post_default' => sprintf( __( '%1$sNote:%2$s Instagram posts need to be an image.', 'tweet-old-post' ), '', '' ),
+ 'vk_unsupported_shorteners' => sprintf( __( '%1$sNote:%2$s is.gd shortener is not currently supported by VK.com.', 'tweet-old-post' ), '', '' ),
+ 'not_available_with_rop_server' => __( 'This feature is not available for X accounts authorized via Revival Social.', 'tweet-old-post' ),
+ 'custom_meta_field_upsell' => __( 'Custom meta fields are only available in the Pro version.', 'tweet-old-post' ),
+ 'custom_meta_upsell' => __( 'Custom fields are only available in the Pro version.', 'tweet-old-post' ),
+ 'hashtag_field_upsell' => __( 'The selected option is only available in the Pro version.', 'tweet-old-post' ),
+ 'first_comment_title' => __( 'Comment Text', 'tweet-old-post' ),
+ 'first_comment_desc' => __( 'Should Revive Social add the post link in the first comment when sharing a post?', 'tweet-old-post' ),
+ 'first_comment_placeholder' => __( 'Read more on {link}', 'tweet-old-post' ),
+ 'share_link_title' => __( 'Share link in comment', 'tweet-old-post' ),
+ 'share_link_desc' => __( 'Share the post link in the first comment?', 'tweet-old-post' ),
+ 'share_link_upsell' => __( 'Share first comment is only available in the Pro version.', 'tweet-old-post' ),
+ ),
+ 'schedule' => array(
+ 'menu_item' => __( 'Custom Schedule', 'tweet-old-post' ),
+ 'time_now' => __( 'Time now', 'tweet-old-post' ),
+ 'schedule_type_title' => __( 'Schedule Type', 'tweet-old-post' ),
+ 'schedule_type_desc' => __( 'What type of schedule to use.', 'tweet-old-post' ),
+ 'schedule_type_option_fix' => __( 'Fixed', 'tweet-old-post' ),
+ 'schedule_type_option_rec' => __( 'Recurring', 'tweet-old-post' ),
+ 'schedule_fixed_days_title' => __( 'Fixed Schedule Days', 'tweet-old-post' ),
+ 'schedule_fixed_days_desc' => __( 'The days when to share for this account.', 'tweet-old-post' ),
+ 'schedule_fixed_time_title' => __( 'Fixed Schedule Time.', 'tweet-old-post' ),
+ 'schedule_fixed_time_desc' => __( 'The time at witch to share for this account.', 'tweet-old-post' ),
+ 'schedule_rec_title' => __( 'Recurring Schedule Interval', 'tweet-old-post' ),
+ 'schedule_rec_desc' => __( 'A recurring interval to use for sharing. Once every \'X\' hours.', 'tweet-old-post' ),
+ 'schedule_upsell' => __( 'The Custom Schedule is available only in the Business and Marketer versions of the plugin.', 'tweet-old-post' ),
+ ),
'queue' => array(
'menu_item' => __( 'Sharing Queue', 'tweet-old-post' ),
'sharing_not_started' => __( 'Sharing is not started!', 'tweet-old-post' ),
'sharing_not_started_desc' => __( 'You need to start sharing in order to see any posts in the queue.', 'tweet-old-post' ),
'queue_desc' => __( 'You can choose to edit any of the post, skip the sharing or block a specific one from sharing in the future.', 'tweet-old-post' ),
- 'business_or_higher_only' => sprintf(
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
- __( 'You can edit the posts from the queue with the Business or Marketer versions of the plugin. View more details %1$shere%2$s.', 'tweet-old-post' ),
- '',
- ''
- ),
+ 'business_or_higher_only' => sprintf( __( 'You can edit the posts from the queue with the Business or Marketer versions of the plugin. View more details %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'no_posts' => __( 'No queued posts!', 'tweet-old-post' ),
'no_posts_desc' => __( 'Check if you have at least an "Active account", what posts and pages are selected in "General Settings" and if a "Schedule" is defined.', 'tweet-old-post' ),
'refresh_btn' => __( 'Refresh Queue', 'tweet-old-post' ),
@@ -392,7 +361,6 @@ public static function get_labels( $key = '' ) {
),
'general' => array(
'plugin_name' => __( 'Revive Social', 'tweet-old-post' ),
- // translators: %s is the URL of the admin page
'status_error_global' => sprintf( __( 'Issues encountered when trying to share content on social media, check the Logs menu for more information. ', 'tweet-old-post' ), esc_url( get_admin_url( get_current_blog_id(), 'admin.php?page=TweetOldPost' ) ) ),
'sharing_not_started' => __( 'Sharing Not Started', 'tweet-old-post' ),
'sharing_to_account' => __( 'Sharing to Accounts', 'tweet-old-post' ),
@@ -413,7 +381,6 @@ public static function get_labels( $key = '' ) {
'next_share' => __( 'Next share', 'tweet-old-post' ),
'sharing_now' => __( 'Sharing...', 'tweet-old-post' ),
'cron_interval' => __( 'Once every 5 min', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'staging_status' => sprintf( __( 'This seems to be a staging or development website. Some post types will not share to your accounts. %1$sLearn How to Turn Off%2$s', 'tweet-old-post' ), '', '' ),
'api_not_available' => __(
'It seems there is an issue with your WordPress configuration and the core REST API functionality is not available. This is crucial as Revive Social relies on this functionality in order to work.
@@ -430,16 +397,13 @@ public static function get_labels( $key = '' ) {
'rop_docs' => __( 'Documentation', 'tweet-old-post' ),
'rop_roadmap' => __( 'Roadmap & Voting', 'tweet-old-post' ),
'rop_linkedin_refresh_token' => __( 'Your Linkedin access token is about to expire. You need to refresh your LinkedIn token to continue sharing without issue. Paste this link in your browser to find out why and how: https://is.gd/refresh_linkedin_token', 'tweet-old-post' ),
- // translators: %1$s is the product name
'license_product' => __( '%1$s license', 'tweet-old-post' ),
'license_help' => __( 'Enter your revive.social license from purchase history in order to get plugin updates.', 'tweet-old-post' ),
'purchase_history' => __( 'Go to Purchase History.', 'tweet-old-post' ),
'activate' => __( 'Activate', 'tweet-old-post' ),
'deactivate' => __( 'Deactivate', 'tweet-old-post' ),
'valid' => __( 'Valid', 'tweet-old-post' ),
- // translators: %1$s is the expiration date
'expires' => __( 'Expires on %1$s.', 'tweet-old-post' ),
- // translators: %1$s is the expiration date
'expired' => __( 'Expired on %1$s.', 'tweet-old-post' ),
'could_not_change_license' => __( 'Could not change the license.', 'tweet-old-post' ),
'validation_failed' => __( 'Validation failed.', 'tweet-old-post' ),
@@ -450,7 +414,6 @@ public static function get_labels( $key = '' ) {
'remove_variation' => __( 'Delete', 'tweet-old-post' ),
'add_variation' => __( 'Add New', 'tweet-old-post' ),
'new_variation' => __( 'New Content Variation', 'tweet-old-post' ),
- // translators: %1$s and %2$s are opening and closing anchor tags for a link
'custom_message_info' => sprintf( __( 'Add share message variations to this post %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
'variation_num' => __( 'Content Variation #', 'tweet-old-post' ),
'variation_image' => __( 'Upload image', 'tweet-old-post' ),
@@ -470,23 +433,16 @@ public static function get_labels( $key = '' ) {
'refresh_linkedin_token_subject' => __( 'Revive Social - Refresh Your LinkedIn Token', 'tweet-old-post' ),
'refresh_linkedin_token_subject_final' => __( 'Final - Refresh Your LinkedIn Token', 'tweet-old-post' ),
'share_once_sharing_done_message' => __( 'All posts have been shared to your connected social media accounts. No previously shared posts will be re-shared until you click the button to "Stop Sharing" and "Start Sharing" on the Revive Social plugin dashboard.', 'tweet-old-post' ),
- // translators: %1$s and %2$s are line breaks, %3$s is an anchor tag with link
'refresh_linkedin_token_message' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s', 'tweet-old-post' ), '
', 'https://docs.revive.social/article/1151-how-to-refresh-linkedin-access-token' ),
- // translators: %1$s and %3$s are line breaks, %2$s is an anchor tag with link
'refresh_linkedin_token_message_final' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s. %3$sThis is the final notice email you will receieve from Revive Social.', 'tweet-old-post' ), '
' ),
),
'cron_system' => array(
- // translators: %1$s is a line break.
'delete_cron_service_account_info' => sprintf( __( 'This option will delete your website information from our Remote Cron Service. %1$s Revive Social will then fallback to using the Local Cron System built into WordPress. %1$s You can re-enable the Remote Cron System at anytime from General Settings > Cron Type, switch from Local Cron to Remote.', 'tweet-old-post' ), ' ' ),
- // translators: %1$s is a line break.
'clear_local_cron_info' => sprintf( __( 'This will remove the Cron server authentication key from your local database. %1$s A new authentication key will be created when you register to the remote Cron server.', 'tweet-old-post' ), ' ' ),
),
'notices' => array(
- // translators: %1$s and %2$s are opening and closing bold tags.
'revive_network_upsell_notice_title' => sprintf( __( '%1$sRSS Sharing In Revive Social%2$s', 'tweet-old-post' ), '', '' ),
- // translators: %1$s, %2$s and %3$s are opening and closing bold tags.
'revive_network_upsell_notice_body' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
- // translators: %1$s, %2$s and %3$s are opening and closing bold tags.
'revive_network_upsell_notice_product_pag' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
'dismiss_permanently' => __( 'Dismiss Permanently', 'tweet-old-post' ),
@@ -496,7 +452,6 @@ public static function get_labels( $key = '' ) {
'add_account_to_use_instant_share' => __( 'Connect or switch on an account in the Revive Social dashboard to use the Instant Share (Post on Publish) feature.', 'tweet-old-post' ),
'share_on_update' => __( 'Share via Revive Social ', 'tweet-old-post' ),
'clear_on_share' => __( 'These checkboxes will be cleared once the post is shared.', 'tweet-old-post' ),
- // translators: %1$s, %2$s, %3$s, %4$s are opening and closing formatting tags
'custom_instant_share_messages_upsell' => sprintf( __( '%1$sCustom instant share messages are available in the %2$sPro version%3$s of the plugin.%4$s', 'tweet-old-post' ), '', '', '', '' ),
'edit_message' => __( 'Edit Message', 'tweet-old-post' ),
'custom_share_message' => __( 'Custom Share Message', 'tweet-old-post' ),
@@ -527,7 +482,6 @@ public static function get_labels( $key = '' ) {
'sharing' => array(
'post_already_shared' => __( 'This post went out on the last share event and might be a duplicate. Skipping...', 'tweet-old-post' ),
'share_attempted_on_staging' => __( 'Revive Social has detected that this is a development website. Share process skipped.', 'tweet-old-post' ),
- // translators: %1$d is the daily post sharing limit number
'reached_sharing_limit' => __( 'You\'ve reached your daily post sharing limit of %1$d posts. Want to share more? Consider upgrading to enjoy a higher limit.', 'tweet-old-post' ),
'invalid_license' => __( 'Sorry, your license is invalid.', 'tweet-old-post' ),
'webhook_extension_not_found' => __( 'Webhook extension not found. Please install the Pro add-on.', 'tweet-old-post' ),
@@ -542,9 +496,7 @@ public static function get_labels( $key = '' ) {
'gmb_missing_lib_class' => __( 'Unable to find Google_Service_MyBusiness Class. Please ensure you have the Revive Social Pro Addon activated.', 'tweet-old-post' ),
'linkedin_missing_exif_imagetype' => __( 'Cannot share image to LinkedIn. exif_imagetype() function is missing from your system. Please contact your web host and ask that this function be enabled on your hosting.', 'tweet-old-post' ),
'linkedin_issue_fetching_token' => __( 'There was an issue fetching the LinkedIn Token. Please contact Revive Social support for assistance.', 'tweet-old-post' ),
- // translators: %1$s is the post ID, %2$s is the service name
'no_image_found' => __( 'No image was found for post %1$s cannot share as an image post to: %2$s. Please double check that you have a featured image set.', 'tweet-old-post' ),
- // translators: %1$s is the service name
'license_not_active' => __( 'An active Pro license is needed to share to %1$s', 'tweet-old-post' ),
'could_not_send_webhook' => __( 'Could not send webhook.', 'tweet-old-post' ),
'webhook_error' => __( 'An error occurred for Webhook post sharing.', 'tweet-old-post' ),
@@ -559,34 +511,32 @@ public static function get_labels( $key = '' ) {
'revive_network_learn_more_btn' => __( 'Learn More', 'tweet-old-post' ),
'learn_more' => __( 'Learn More!', 'tweet-old-post' ),
'min_interval_6_mins' => __( 'Minimum interval between consecutive shares is 6 minutes.', 'tweet-old-post' ),
- // translators: %s is the minimum number of hours
'min_interval_between_shares' => __( 'Lowest allowed value for "Minimum Interval Between Shares" is %s hours. Choosing a lower interval is available in the Pro version.', 'tweet-old-post' ),
- // translators: %d is the minimum number of minutes
'min_recurring_schedule_interval' => __( 'Lowest allowed value for "Recurring Schedule Interval" is %d minutes.', 'tweet-old-post' ),
'no_post_types_selected' => __( 'You need to have at least one post type to share.', 'tweet-old-post' ),
'min_number_of_concurrent_posts' => __( 'At least one posts need to be shared.', 'tweet-old-post' ),
'max_number_of_concurrent_posts' => __( 'Maximum concurrent post shares is 4.', 'tweet-old-post' ),
),
- );
- if ( empty( $key ) ) {
- return $labels;
- }
- /**
- * Allow accessing labels by key.
- */
- $keys = explode( '.', $key );
- if ( count( $keys ) === 1 ) {
- if ( isset( $labels[ $keys[0] ] ) ) {
- return $labels[ $keys[0] ];
- }
+ );
+ if ( empty( $key ) ) {
+ return $labels;
+ }
+ /**
+ * Allow accessing labels by key.
+ */
+ $keys = explode( '.', $key );
+ if ( count( $keys ) === 1 ) {
+ if ( isset( $labels[ $keys[0] ] ) ) {
+ return $labels[ $keys[0] ];
}
- if ( count( $keys ) === 2 ) {
- if ( isset( $labels[ $keys[0] ][ $keys[1] ] ) ) {
- return $labels[ $keys[0] ][ $keys[1] ];
- }
+ }
+ if ( count( $keys ) === 2 ) {
+ if ( isset( $labels[ $keys[0] ][ $keys[1] ] ) ) {
+ return $labels[ $keys[0] ][ $keys[1] ];
}
+ }
- return '';
+ return '';
}
/**
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 0e2cd2e7d..b250e16c7 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -768,12 +768,6 @@ parameters:
count: 1
path: includes/admin/class-rop-admin.php
- -
- message: '#^Method Rop_Admin\:\:rop_dismiss_cron_disabled_notice\(\) has no return type specified\.$#'
- identifier: missingType.return
- count: 1
- path: includes/admin/class-rop-admin.php
-
-
message: '#^Method Rop_Admin\:\:rop_dismiss_linkedin_api_v2_notice\(\) has no return type specified\.$#'
identifier: missingType.return
@@ -918,12 +912,6 @@ parameters:
count: 1
path: includes/admin/class-rop-admin.php
- -
- message: '#^Parameter \#3 \$deprecated of function add_option expects string, null given\.$#'
- identifier: argument.type
- count: 1
- path: includes/admin/class-rop-admin.php
-
-
message: '#^Parameter \#3 \$deps of function wp_enqueue_style expects array\, string given\.$#'
identifier: argument.type
@@ -2994,6 +2982,12 @@ parameters:
count: 1
path: includes/admin/models/class-rop-queue-model.php
+ -
+ message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/admin/models/class-rop-scheduler-model.php
+
-
message: '#^Call to function is_array\(\) with true will always evaluate to false\.$#'
identifier: function.impossibleType
@@ -3048,12 +3042,6 @@ parameters:
count: 1
path: includes/admin/models/class-rop-scheduler-model.php
- -
- message: '#^Method Rop_Scheduler_Model\:\:get_date\(\) should return int but returns string\.$#'
- identifier: return.type
- count: 1
- path: includes/admin/models/class-rop-scheduler-model.php
-
-
message: '#^Method Rop_Scheduler_Model\:\:get_schedules\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
@@ -3091,14 +3079,14 @@ parameters:
path: includes/admin/models/class-rop-scheduler-model.php
-
- message: '#^Method Rop_Scheduler_Model\:\:update_timeline\(\) has parameter \$new_events with no type specified\.$#'
- identifier: missingType.parameter
+ message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedLocalVariable\)\)\: Unexpected token "\.UnusedLocalVariable\)", expected ''\)'' at offset 89 on line 4$#'
+ identifier: phpDoc.parseError
count: 1
path: includes/admin/models/class-rop-scheduler-model.php
-
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedLocalVariable\)\)\: Unexpected token "\.UnusedLocalVariable\)", expected ''\)'' at offset 89 on line 4$#'
- identifier: phpDoc.parseError
+ message: '#^Parameter \#1 \$new_events of method Rop_Scheduler_Model\:\:update_timeline\(\) expects array\, list given\.$#'
+ identifier: argument.type
count: 1
path: includes/admin/models/class-rop-scheduler-model.php
@@ -3366,6 +3354,12 @@ parameters:
count: 1
path: includes/admin/models/class-rop-shortners-model.php
+ -
+ message: '#^Binary operation "\-" between string and 2 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/notices/class-rop-admin-notices-helpers.php
+
-
message: '#^Method Rop_Admin_Notices_Helpers\:\:rop_notice_dismissed\(\) has no return type specified\.$#'
identifier: missingType.return
@@ -3648,6 +3642,12 @@ parameters:
count: 1
path: includes/admin/services/class-rop-facebook-service.php
+ -
+ message: '#^Offset ''rop_facebook…'' on non\-empty\-array in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.offset
+ count: 1
+ path: includes/admin/services/class-rop-facebook-service.php
+
-
message: '#^Offset ''source'' on non\-empty\-array in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
@@ -5139,7 +5139,13 @@ parameters:
-
message: '#^Call to static method get_labels\(\) on an unknown class Rop_Pro_I18n\.$#'
identifier: class.notFound
- count: 3
+ count: 1
+ path: includes/admin/views/custom_fields_view.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
path: includes/admin/views/custom_fields_view.php
-
From 413a133a5808c95db7a5e5643cdf996576755e84 Mon Sep 17 00:00:00 2001
From: Soare Robert-Daniel
Date: Mon, 1 Sep 2025 10:48:06 +0300
Subject: [PATCH 5/5] dev: fix translation and check only errors
---
.github/workflows/test-php.yml | 2 +-
includes/class-rop-i18n.php | 45 +++++++++++++++++++++++++++++++++-
phpstan-baseline.neon | 6 -----
3 files changed, 45 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml
index b783ba263..341f2ec19 100644
--- a/.github/workflows/test-php.yml
+++ b/.github/workflows/test-php.yml
@@ -24,7 +24,7 @@ jobs:
run: composer install --prefer-dist --no-progress --quiet
continue-on-error: true
- name: Run PHPCS
- run: composer run lint
+ run: composer run lint:errors
continue-on-error: false
php-unit:
diff --git a/includes/class-rop-i18n.php b/includes/class-rop-i18n.php
index 8322a0081..270cb77b3 100644
--- a/includes/class-rop-i18n.php
+++ b/includes/class-rop-i18n.php
@@ -79,6 +79,7 @@ public static function get_labels( $key = '' ) {
'service_popup_title' => __( 'Service Credentials', 'tweet-old-post' ),
'show_advance_config' => __( 'Use your own keys', 'tweet-old-post' ),
'show_own_keys_config' => __( 'Use my own API keys', 'tweet-old-post' ),
+ // translators: %1$s: network name (e.g. "X (Twitter)").
'tw_app_signin_tooltip' => sprintf( __( 'Due to the %1$s changes in network limits, we cannot guarantee stable sharing using this mode. We recommend using your own API keys.', 'tweet-old-post' ), $tw_new_name ),
'tw_new_name' => $tw_new_name,
'fb_app_signin_btn' => __( 'Sign in to Facebook', 'tweet-old-post' ),
@@ -88,7 +89,6 @@ public static function get_labels( $key = '' ) {
'gmb_app_signin_btn' => __( 'Sign in to Google My Business', 'tweet-old-post' ),
'vk_app_signin_btn' => __( 'Sign in to Vkontake', 'tweet-old-post' ),
'app_option_signin' => __( 'Or', 'tweet-old-post' ),
- 'service_popup_title' => __( 'Service Credentials', 'tweet-old-post' ),
'sign_in_btn' => __( 'Sign In', 'tweet-old-post' ),
'field_required' => __( 'This field is required', 'tweet-old-post' ),
'at' => __( 'at', 'tweet-old-post' ),
@@ -107,14 +107,18 @@ public static function get_labels( $key = '' ) {
'reset_selector_btn' => __( 'Reset', 'tweet-old-post' ),
'for' => __( 'for', 'tweet-old-post' ),
'add_account' => __( 'Add Your Accounts:', 'tweet-old-post' ),
+ // translators: 1: opening anchor tag, 2: closing anchor tag.
'upsell_accounts' => sprintf( __( 'A maximum of 1 Facebook and Twitter account can be connected to the Lite version of Revive Social. Upgrade to unlock more great features including more social networks! Check out the Lite vs Pro %1$stable here%2$s.', 'tweet-old-post' ), '', '' ),
'upsell_accounts_toggle' => 'Active accounts limit reached.',
'toggle_account' => __( 'Toggle account', 'tweet-old-post' ),
'activate_license' => __( 'You need to activate your license key to unlock the Pro features of Revive Social. Add your key on the sidebar.', 'tweet-old-post' ),
'fb_app_id_title' => __( 'Please add the APP ID from your Facebook app.', 'tweet-old-post' ),
'fb_app_secret_title' => __( 'Please add the APP SECRET from your Facebook app.', 'tweet-old-post' ),
+ // translators: 1: opening anchor tag, 2: closing anchor tag.
'fb_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
+ // translators: 1: opening anchor tag, 2: closing anchor tag.
'twt_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s: network/service name.
'service_error' => __( 'The %1$s service can not be used or was not found', 'tweet-old-post' ),
'twitter_warning' => __(
'
@@ -127,14 +131,20 @@ public static function get_labels( $key = '' ) {
'only_in_pro' => __( 'Available in Pro', 'tweet-old-post' ),
'limit_reached' => __( 'Limit reached', 'tweet-old-post' ),
'upsell_upgrade_now' => __( 'Upgrade to PRO', 'tweet-old-post' ),
+ // translators: %1$s: network name (e.g. "X (Twitter)").
'upsell_extra_network' => __( 'Sharing to %1$s', 'tweet-old-post' ),
+ // translators: %1$s: network/service name.
'upsell_extra_account' => __( 'Sharing to Additional %1$s Accounts', 'tweet-old-post' ),
+ // translators: %1$s: network/service name.
'upsell_service_title' => __( '%1$s is a PRO feature', 'tweet-old-post' ),
+ // translators: %1$s: network/service name.
'upsell_service_body' => __( 'We\'re sorry, %1$s is not available on your plan. Please upgrade to the Pro plan to unlock all these features and get more traffic.', 'tweet-old-post' ),
'edit_headers' => __( 'Edit Headers', 'tweet-old-post' ),
'hide' => __( 'Hide', 'tweet-old-post' ),
'get_latest_pro_version' => __( 'Get the latest Pro version to unlock.', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
'tlg_app_desc' => sprintf( __( 'You can check %1$shere%2$s for how to get these details.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s: network/service name.
'upsell_bz_service_body' => __( 'We\'re sorry, %1$s is not available on your plan. Please upgrade to the business plan to unlock all these features and get more traffic.', 'tweet-old-post' ),
'search_account' => __( 'Search account', 'tweet-old-post' ),
'no_account_found' => __( 'No account found for search', 'tweet-old-post' ),
@@ -142,6 +152,7 @@ public static function get_labels( $key = '' ) {
'settings' => array(
'yes_text' => __( 'Yes', 'tweet-old-post' ),
'available_in_pro' => __( ' This feature is only available in the Pro version.', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag (upgrade link), %2$s: closing anchor tag.
'post_types_exclude_limit' => sprintf( __( 'Upgrade to Pro version to select more than 30 posts. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'post_types_exclude_limit_tooltip' => __( 'Upgrade to Pro version to select more than 30 posts.', 'tweet-old-post' ),
'menu_item' => __( 'General Settings', 'tweet-old-post' ),
@@ -159,10 +170,13 @@ public static function get_labels( $key = '' ) {
'tweet-old-post'
),
'post_types_title' => __( 'Post Types', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
'post_types_taxonomy_limit' => sprintf( __( 'Upgrade to Pro version to select more than 4 taxonomies. You can upgrade %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
'post_types_attachament_info' => sprintf( __( 'You need to select the media files which you want to share, find out more information %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'post_types_desc' => __( 'Which post types should Revive Social share? Learn more.', 'tweet-old-post' ),
'update_post_published_date_title' => __( 'Update Post Published Date After Share', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag (learn more), %2$s: closing anchor tag.
'update_post_published_date_desc' => sprintf( __( 'Update the post published date after it has been shared to your social media account. %1$sLearn more%2$s.', 'tweet-old-post' ), '', '' ),
'filter_by_post_types_desc' => __( 'Filter posts list by Post Type', 'tweet-old-post' ),
'post_types_upsell' => __(
@@ -171,6 +185,7 @@ public static function get_labels( $key = '' ) {
'tweet-old-post'
),
'taxonomies_title' => __( 'Taxonomies', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag (learn more), %2$s: closing anchor tag.
'taxonomies_desc' => __(
'Taxonomies available for the selected post types. Use to include or exclude
posts. Learn more.',
@@ -195,8 +210,10 @@ public static function get_labels( $key = '' ) {
'instant_share_default_title' => __( 'Enable Instant Sharing By Default', 'tweet-old-post' ),
'instant_share_default_desc' => __( 'Instant sharing option will be checked by default when creating new posts.', 'tweet-old-post' ),
'cron_type_label' => __( 'Cron Job Type', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
'cron_type_label_desc' => sprintf( __( 'Select the between your local built-in WordPress task scheduler, or Revive Social\'s, %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
'cron_type_label_desc_terms' => __( 'I understand that some site data is stored on the Revive Social\'s Remote Cron System to provide this service Read More Here.', 'tweet-old-post' ),
+ // translators: %1$s: opening strong tag, %2$s: closing strong tag, %3$s: opening anchor tag with documentation link, %4$s: closing anchor tag.
'cron_type_notice' => sprintf( __( '%1$sNOTE:%2$s This is a BETA Remote Cron feature to be used mainly if your %1$sposts aren\'t sharing%2$s. If the Remote Cron feature is used, and you notice that your posts are still not sharing, then please %1$sturn the setting back to "Local Cron"%2$s and read the following guide for alternative solutions that are sure to work: %1$s%3$sLearn More%4$s%2$s.', 'tweet-old-post' ), '', '', '', '' ),
'housekeeping' => __( 'Housekeeping', 'tweet-old-post' ),
'housekeeping_desc' => __( 'Should we delete all saved settings on deletion of the Revive Social plugin?', 'tweet-old-post' ),
@@ -238,6 +255,7 @@ public static function get_labels( $key = '' ) {
'add_char_title' => __( 'Additional Text', 'tweet-old-post' ),
'add_char_title_custom_content' => __( 'Message Content', 'tweet-old-post' ),
'override_share_variations' => __( 'Override Share Content Variations with the current content', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
'add_char_desc' => sprintf( __( 'Add custom content to shared posts. It supports magic tags in the Pro version of Revive Social %1$sLearn More%2$s', 'tweet-old-post' ), '', '' ),
'add_char_placeholder' => __( '...written by {author} on {date}.', 'tweet-old-post' ),
'add_char_placeholder_custom_content' => __( '{title} with {content} written by {author} on {date}.', 'tweet-old-post' ),
@@ -284,6 +302,7 @@ public static function get_labels( $key = '' ) {
'utm_campaign_name_desc' => __( 'The campaign name you want to show in Google Analytics e.g: "november_sale" etc.', 'tweet-old-post' ),
'custom_utm_upsell' => __( 'Custom UTMs are only available in the Pro version.', 'tweet-old-post' ),
'image_upsell' => __( 'Sharing as an Image Post is available in the Pro version.', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
'full_wpml_support_upsell' => sprintf( __( 'Language-based sharing only available in the %1$sPro version%2$s', 'tweet-old-post' ), '', '' ),
'wpml_select_language' => __( 'Choose language', 'tweet-old-post' ),
@@ -296,9 +315,13 @@ public static function get_labels( $key = '' ) {
'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
'active_account_no_post_format_error' => __( 'No post format found for the following network, please go to "Post Format" tab and save your changes for: ', 'tweet-old-post' ),
+ // translators: %1$s: opening strong tag, %2$s: closing strong tag.
'twitter_max_characters_notice' => sprintf( __( '%1$sNote:%2$s Maximum characters supported by Twitter is 280.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s: opening strong tag, %2$s: closing strong tag.
'instagram_disable_link_recommendation' => sprintf( __( '%1$sNote:%2$s We recommend that you disable links for Instagram posts. If you do leave this option checked, then we recommend that you enable a shortener.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s: opening strong tag, %2$s: closing strong tag.
'instagram_image_post_default' => sprintf( __( '%1$sNote:%2$s Instagram posts need to be an image.', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s: opening strong tag, %2$s: closing strong tag.
'vk_unsupported_shorteners' => sprintf( __( '%1$sNote:%2$s is.gd shortener is not currently supported by VK.com.', 'tweet-old-post' ), '', '' ),
'not_available_with_rop_server' => __( 'This feature is not available for X accounts authorized via Revival Social.', 'tweet-old-post' ),
'custom_meta_field_upsell' => __( 'Custom meta fields are only available in the Pro version.', 'tweet-old-post' ),
@@ -331,6 +354,7 @@ public static function get_labels( $key = '' ) {
'sharing_not_started' => __( 'Sharing is not started!', 'tweet-old-post' ),
'sharing_not_started_desc' => __( 'You need to start sharing in order to see any posts in the queue.', 'tweet-old-post' ),
'queue_desc' => __( 'You can choose to edit any of the post, skip the sharing or block a specific one from sharing in the future.', 'tweet-old-post' ),
+ // translators: 1: opening anchor tag (upsell link), 2: closing anchor tag.
'business_or_higher_only' => sprintf( __( 'You can edit the posts from the queue with the Business or Marketer versions of the plugin. View more details %1$shere%2$s.', 'tweet-old-post' ), '', '' ),
'no_posts' => __( 'No queued posts!', 'tweet-old-post' ),
'no_posts_desc' => __( 'Check if you have at least an "Active account", what posts and pages are selected in "General Settings" and if a "Schedule" is defined.', 'tweet-old-post' ),
@@ -361,6 +385,7 @@ public static function get_labels( $key = '' ) {
),
'general' => array(
'plugin_name' => __( 'Revive Social', 'tweet-old-post' ),
+ // translators: 1: admin URL to plugin dashboard.
'status_error_global' => sprintf( __( 'Issues encountered when trying to share content on social media, check the Logs menu for more information. ', 'tweet-old-post' ), esc_url( get_admin_url( get_current_blog_id(), 'admin.php?page=TweetOldPost' ) ) ),
'sharing_not_started' => __( 'Sharing Not Started', 'tweet-old-post' ),
'sharing_to_account' => __( 'Sharing to Accounts', 'tweet-old-post' ),
@@ -381,6 +406,7 @@ public static function get_labels( $key = '' ) {
'next_share' => __( 'Next share', 'tweet-old-post' ),
'sharing_now' => __( 'Sharing...', 'tweet-old-post' ),
'cron_interval' => __( 'Once every 5 min', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag (review link), %2$s: closing anchor tag.
'staging_status' => sprintf( __( 'This seems to be a staging or development website. Some post types will not share to your accounts. %1$sLearn How to Turn Off%2$s', 'tweet-old-post' ), '', '' ),
'api_not_available' => __(
'It seems there is an issue with your WordPress configuration and the core REST API functionality is not available. This is crucial as Revive Social relies on this functionality in order to work.
@@ -397,13 +423,16 @@ public static function get_labels( $key = '' ) {
'rop_docs' => __( 'Documentation', 'tweet-old-post' ),
'rop_roadmap' => __( 'Roadmap & Voting', 'tweet-old-post' ),
'rop_linkedin_refresh_token' => __( 'Your Linkedin access token is about to expire. You need to refresh your LinkedIn token to continue sharing without issue. Paste this link in your browser to find out why and how: https://is.gd/refresh_linkedin_token', 'tweet-old-post' ),
+ // translators: %1$s: the name of the product.
'license_product' => __( '%1$s license', 'tweet-old-post' ),
'license_help' => __( 'Enter your revive.social license from purchase history in order to get plugin updates.', 'tweet-old-post' ),
'purchase_history' => __( 'Go to Purchase History.', 'tweet-old-post' ),
'activate' => __( 'Activate', 'tweet-old-post' ),
'deactivate' => __( 'Deactivate', 'tweet-old-post' ),
'valid' => __( 'Valid', 'tweet-old-post' ),
+ // translators: %1$s: expiration date.
'expires' => __( 'Expires on %1$s.', 'tweet-old-post' ),
+ // translators: %1$s: expiration date.
'expired' => __( 'Expired on %1$s.', 'tweet-old-post' ),
'could_not_change_license' => __( 'Could not change the license.', 'tweet-old-post' ),
'validation_failed' => __( 'Validation failed.', 'tweet-old-post' ),
@@ -414,6 +443,7 @@ public static function get_labels( $key = '' ) {
'remove_variation' => __( 'Delete', 'tweet-old-post' ),
'add_variation' => __( 'Add New', 'tweet-old-post' ),
'new_variation' => __( 'New Content Variation', 'tweet-old-post' ),
+ // translators: %1$s: opening anchor tag (learn more), %2$s: closing anchor tag.
'custom_message_info' => sprintf( __( 'Add share message variations to this post %1$sLearn More%2$s.', 'tweet-old-post' ), '', '' ),
'variation_num' => __( 'Content Variation #', 'tweet-old-post' ),
'variation_image' => __( 'Upload image', 'tweet-old-post' ),
@@ -433,16 +463,23 @@ public static function get_labels( $key = '' ) {
'refresh_linkedin_token_subject' => __( 'Revive Social - Refresh Your LinkedIn Token', 'tweet-old-post' ),
'refresh_linkedin_token_subject_final' => __( 'Final - Refresh Your LinkedIn Token', 'tweet-old-post' ),
'share_once_sharing_done_message' => __( 'All posts have been shared to your connected social media accounts. No previously shared posts will be re-shared until you click the button to "Stop Sharing" and "Start Sharing" on the Revive Social plugin dashboard.', 'tweet-old-post' ),
+ // translators: 1: line break, 2: documentation URL anchor.
'refresh_linkedin_token_message' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s', 'tweet-old-post' ), '
', 'https://docs.revive.social/article/1151-how-to-refresh-linkedin-access-token' ),
+ // translators: 1: line break, 2: documentation URL anchor, 3: line break.
'refresh_linkedin_token_message_final' => sprintf( __( 'Hi! This email was sent by Revive Social on your website. Your LinkedIn token is about to expire. You need to refresh it to continue sharing without issue. Click the link below to find out why and how: %1$s %2$s. %3$sThis is the final notice email you will receieve from Revive Social.', 'tweet-old-post' ), '
' ),
),
'cron_system' => array(
+ // translators: %1$s: line break.
'delete_cron_service_account_info' => sprintf( __( 'This option will delete your website information from our Remote Cron Service. %1$s Revive Social will then fallback to using the Local Cron System built into WordPress. %1$s You can re-enable the Remote Cron System at anytime from General Settings > Cron Type, switch from Local Cron to Remote.', 'tweet-old-post' ), ' ' ),
+ // translators: %1$s: line break.
'clear_local_cron_info' => sprintf( __( 'This will remove the Cron server authentication key from your local database. %1$s A new authentication key will be created when you register to the remote Cron server.', 'tweet-old-post' ), ' ' ),
),
'notices' => array(
+ // translators: %1$s: bold tag, %2$s: closing bold tag.
'revive_network_upsell_notice_title' => sprintf( __( '%1$sRSS Sharing In Revive Social%2$s', 'tweet-old-post' ), '', '' ),
+ // translators: %1$s: break tags, %2$s: opening bold tag, %3$s: closing bold tag, %4$s: opening anchor tag with upsell link, %5$s: closing anchor tag.
'revive_network_upsell_notice_body' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
+ // translators: %1$s: break tags, %2$s: opening bold tag, %3$s: closing bold tag.
'revive_network_upsell_notice_product_pag' => sprintf( __( 'Expose your followers to other relevant content sources, and keep their interest by sharing posts from your favorite blogs to your social media accounts.%1$s %2$sRevive Network%3$s is an Addon plugin for Revive Social that lets you share content from any RSS or Atom feed to your connected accounts.', 'tweet-old-post' ), '
', '', '' ),
'dismiss_permanently' => __( 'Dismiss Permanently', 'tweet-old-post' ),
@@ -452,6 +489,7 @@ public static function get_labels( $key = '' ) {
'add_account_to_use_instant_share' => __( 'Connect or switch on an account in the Revive Social dashboard to use the Instant Share (Post on Publish) feature.', 'tweet-old-post' ),
'share_on_update' => __( 'Share via Revive Social ', 'tweet-old-post' ),
'clear_on_share' => __( 'These checkboxes will be cleared once the post is shared.', 'tweet-old-post' ),
+ // translators: 1: opening small tag, 2: closing small tag, 3: opening anchor tag with upsell link, 4: closing anchor tag, 5: closing small tag.
'custom_instant_share_messages_upsell' => sprintf( __( '%1$sCustom instant share messages are available in the %2$sPro version%3$s of the plugin.%4$s', 'tweet-old-post' ), '', '', '', '' ),
'edit_message' => __( 'Edit Message', 'tweet-old-post' ),
'custom_share_message' => __( 'Custom Share Message', 'tweet-old-post' ),
@@ -482,6 +520,7 @@ public static function get_labels( $key = '' ) {
'sharing' => array(
'post_already_shared' => __( 'This post went out on the last share event and might be a duplicate. Skipping...', 'tweet-old-post' ),
'share_attempted_on_staging' => __( 'Revive Social has detected that this is a development website. Share process skipped.', 'tweet-old-post' ),
+ // translators: %1$d: number of posts.
'reached_sharing_limit' => __( 'You\'ve reached your daily post sharing limit of %1$d posts. Want to share more? Consider upgrading to enjoy a higher limit.', 'tweet-old-post' ),
'invalid_license' => __( 'Sorry, your license is invalid.', 'tweet-old-post' ),
'webhook_extension_not_found' => __( 'Webhook extension not found. Please install the Pro add-on.', 'tweet-old-post' ),
@@ -496,7 +535,9 @@ public static function get_labels( $key = '' ) {
'gmb_missing_lib_class' => __( 'Unable to find Google_Service_MyBusiness Class. Please ensure you have the Revive Social Pro Addon activated.', 'tweet-old-post' ),
'linkedin_missing_exif_imagetype' => __( 'Cannot share image to LinkedIn. exif_imagetype() function is missing from your system. Please contact your web host and ask that this function be enabled on your hosting.', 'tweet-old-post' ),
'linkedin_issue_fetching_token' => __( 'There was an issue fetching the LinkedIn Token. Please contact Revive Social support for assistance.', 'tweet-old-post' ),
+ // translators: %1$s: post ID, %2$s: social network name.
'no_image_found' => __( 'No image was found for post %1$s cannot share as an image post to: %2$s. Please double check that you have a featured image set.', 'tweet-old-post' ),
+ // translators: %1$s: social network name.
'license_not_active' => __( 'An active Pro license is needed to share to %1$s', 'tweet-old-post' ),
'could_not_send_webhook' => __( 'Could not send webhook.', 'tweet-old-post' ),
'webhook_error' => __( 'An error occurred for Webhook post sharing.', 'tweet-old-post' ),
@@ -511,7 +552,9 @@ public static function get_labels( $key = '' ) {
'revive_network_learn_more_btn' => __( 'Learn More', 'tweet-old-post' ),
'learn_more' => __( 'Learn More!', 'tweet-old-post' ),
'min_interval_6_mins' => __( 'Minimum interval between consecutive shares is 6 minutes.', 'tweet-old-post' ),
+ // translators: %s: number of hours.
'min_interval_between_shares' => __( 'Lowest allowed value for "Minimum Interval Between Shares" is %s hours. Choosing a lower interval is available in the Pro version.', 'tweet-old-post' ),
+ // translators: %d: number of minutes.
'min_recurring_schedule_interval' => __( 'Lowest allowed value for "Recurring Schedule Interval" is %d minutes.', 'tweet-old-post' ),
'no_post_types_selected' => __( 'You need to have at least one post type to share.', 'tweet-old-post' ),
'min_number_of_concurrent_posts' => __( 'At least one posts need to be shared.', 'tweet-old-post' ),
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index b250e16c7..afefe635f 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -5178,12 +5178,6 @@ parameters:
count: 1
path: includes/class-rop-deactivator.php
- -
- message: '#^Array has 2 duplicate keys with value ''service_popup_title'' \(''service_popup_title'', ''service_popup_title''\)\.$#'
- identifier: array.duplicateKey
- count: 1
- path: includes/class-rop-i18n.php
-
-
message: '#^Method Rop_I18n\:\:get_labels_frontend\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue