Changeset 2469287
- Timestamp:
- 02/05/2021 05:55:17 AM (5 years ago)
- Location:
- likebtn-like-button/tags/2.6.33
- Files:
-
- 15 edited
-
includes/buddypress.php (modified) (4 diffs)
-
includes/gamipress.php (modified) (4 diffs)
-
includes/likebtn_like_button_most_liked_widget.class.php (modified) (10 diffs)
-
includes/likebtn_mycred.class.php (modified) (3 diffs)
-
includes/meta_columns.php (modified) (1 diff)
-
includes/tab_buttons.php (modified) (99 diffs)
-
includes/tab_settings.php (modified) (30 diffs)
-
includes/tab_votes.php (modified) (29 diffs)
-
includes/um.php (modified) (1 diff)
-
likebtn_like_button.class.php (modified) (1 diff)
-
likebtn_like_button.php (modified) (88 diffs)
-
likebtn_like_button_db_update.php (modified) (1 diff)
-
templates/liked-by-user-widget.php (modified) (1 diff)
-
templates/most-liked-widget.php (modified) (1 diff)
-
templates/um-liked-content.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
likebtn-like-button/tags/2.6.33/includes/buddypress.php
r2468539 r2469287 41 41 42 42 if ($type == 'like') { 43 $type_name = __('liked', LIKEBTN_I18N_DOMAIN);43 $type_name = __('liked', 'likebtn-like-button'); 44 44 } else { 45 $type_name = __('disliked', LIKEBTN_I18N_DOMAIN);45 $type_name = __('disliked', 'likebtn-like-button'); 46 46 } 47 47 … … 62 62 63 63 if ($entity_name == LIKEBTN_ENTITY_USER) { 64 $pattern = __('%author% %action% your profile', LIKEBTN_I18N_DOMAIN);64 $pattern = __('%author% %action% your profile', 'likebtn-like-button'); 65 65 } else { 66 $pattern = __('%author% %action% your %entity_name% "%entity_title%"', LIKEBTN_I18N_DOMAIN);66 $pattern = __('%author% %action% your %entity_name% "%entity_title%"', 'likebtn-like-button'); 67 67 } 68 68 $text = strtr($pattern, array( … … 194 194 if (!$errors) { 195 195 // Attempt to clear notifications for the current user from this topic 196 $success = bp_notifications_mark_notifications_by_item_id( $user_id, $params['item_id'], LIKEBTN_BP_COMPONENT_NAME, sanitize_text_field($params['component_action']), sanitize_text_field($params['secondary_item_id']));196 $success = bp_notifications_mark_notifications_by_item_id( $user_id, sanitize_text_field($params['item_id']), LIKEBTN_BP_COMPONENT_NAME, sanitize_text_field($params['component_action']), sanitize_text_field($params['secondary_item_id'])); 197 197 } 198 198 … … 223 223 } 224 224 if ($vote_type == LIKEBTN_VOTE_LIKE) { 225 $type_name = __('liked', LIKEBTN_I18N_DOMAIN);225 $type_name = __('liked', 'likebtn-like-button'); 226 226 } else { 227 $type_name = __('disliked', LIKEBTN_I18N_DOMAIN);227 $type_name = __('disliked', 'likebtn-like-button'); 228 228 } 229 229 $primary_link = _likebtn_get_entity_url($entity_name, $entity_id); 230 230 231 $pattern = __('<a href="%user_url%" title="%user_name%">%user_name%</a> %type_name% %entity_name%, <a href="%entity_url%">%entity_title%</a>', LIKEBTN_I18N_DOMAIN);231 $pattern = __('<a href="%user_url%" title="%user_name%">%user_name%</a> %type_name% %entity_name%, <a href="%entity_url%">%entity_title%</a>', 'likebtn-like-button'); 232 232 233 233 $title = _likebtn_get_entity_title($entity_name, $entity_id); -
likebtn-like-button/tags/2.6.33/includes/gamipress.php
r2467848 r2469287 71 71 $likebtn_entities = _likebtn_get_entities(true, false, false); 72 72 73 $trigger_name = __('Like Button', LIKEBTN_I18N);73 $trigger_name = __('Like Button', 'likebtn-like-button'); 74 74 $triggers[$trigger_name] = array( 75 'gamipress_likebtn_like' => __('Like anything', LIKEBTN_I18N),76 'gamipress_likebtn_get_like' => __('Get a like anywhere', LIKEBTN_I18N),77 'gamipress_likebtn_dislike' => __('Dislike anything', LIKEBTN_I18N),78 'gamipress_likebtn_get_dislike' => __('Get a dislike anywhere', LIKEBTN_I18N),75 'gamipress_likebtn_like' => __('Like anything', 'likebtn-like-button'), 76 'gamipress_likebtn_get_like' => __('Get a like anywhere', 'likebtn-like-button'), 77 'gamipress_likebtn_dislike' => __('Dislike anything', 'likebtn-like-button'), 78 'gamipress_likebtn_get_dislike' => __('Get a dislike anywhere', 'likebtn-like-button'), 79 79 ); 80 80 81 81 foreach ($likebtn_entities as $entity_name => $entity_title) { 82 $triggers[$trigger_name]['gamipress_likebtn_like_'.$entity_name] = strtr(__('Like a %entity_name%', LIKEBTN_I18N), array('%entity_name%' => $entity_title));83 $triggers[$trigger_name]['gamipress_likebtn_get_like_'.$entity_name] = strtr(__('Get a like on a %entity_name%', LIKEBTN_I18N), array('%entity_name%' => $entity_title));84 $triggers[$trigger_name]['gamipress_likebtn_dislike_'.$entity_name] = strtr(__('Dislike a %entity_name%', LIKEBTN_I18N), array('%entity_name%' => $entity_title));85 $triggers[$trigger_name]['gamipress_likebtn_get_dislike_'.$entity_name] = strtr(__('Get a dislike on a %entity_name%', LIKEBTN_I18N), array('%entity_name%' => $entity_title));82 $triggers[$trigger_name]['gamipress_likebtn_like_'.$entity_name] = strtr(__('Like a %entity_name%', 'likebtn-like-button'), array('%entity_name%' => $entity_title)); 83 $triggers[$trigger_name]['gamipress_likebtn_get_like_'.$entity_name] = strtr(__('Get a like on a %entity_name%', 'likebtn-like-button'), array('%entity_name%' => $entity_title)); 84 $triggers[$trigger_name]['gamipress_likebtn_dislike_'.$entity_name] = strtr(__('Dislike a %entity_name%', 'likebtn-like-button'), array('%entity_name%' => $entity_title)); 85 $triggers[$trigger_name]['gamipress_likebtn_get_dislike_'.$entity_name] = strtr(__('Get a dislike on a %entity_name%', 'likebtn-like-button'), array('%entity_name%' => $entity_title)); 86 86 } 87 87 88 $triggers[$trigger_name]['gamipress_likebtn_like_custom_item'] = strtr(__('Like a %entity_name%', LIKEBTN_I18N), array('%entity_name%' => __('Custom Item', LIKEBTN_I18N)));89 $triggers[$trigger_name]['gamipress_likebtn_dislike_custom_item'] = strtr(__('Dislike a %entity_name%', LIKEBTN_I18N), array('%entity_name%' => __('Custom Item', LIKEBTN_I18N)));88 $triggers[$trigger_name]['gamipress_likebtn_like_custom_item'] = strtr(__('Like a %entity_name%', 'likebtn-like-button'), array('%entity_name%' => __('Custom Item', 'likebtn-like-button'))); 89 $triggers[$trigger_name]['gamipress_likebtn_dislike_custom_item'] = strtr(__('Dislike a %entity_name%', 'likebtn-like-button'), array('%entity_name%' => __('Custom Item', 'likebtn-like-button'))); 90 90 91 91 return $triggers; … … 127 127 if ($entity_name == LIKEBTN_ENTITY_CUSTOM_ITEM) { 128 128 $fields[] = array( 129 'name' => __('Liked/Disliked Entity', LIKEBTN_I18N),129 'name' => __('Liked/Disliked Entity', 'likebtn-like-button'), 130 130 'id' => $prefix . 'entity_id', 131 131 'type' => 'text', … … 137 137 if ($entity_title) { 138 138 $fields[] = array( 139 'name' => __('Liked/Disliked Entity', LIKEBTN_I18N),139 'name' => __('Liked/Disliked Entity', 'likebtn-like-button'), 140 140 'desc' => '<a href="'.$entity_url.'" target="_blank">'.htmlentities($entity_title).'</a>', 141 141 'id' => $prefix . 'entity_name', … … 149 149 $voter_url = _likebtn_get_entity_url(LIKEBTN_ENTITY_USER, $voter_id); 150 150 $fields[] = array( 151 'name' => __('Voter ID', LIKEBTN_I18N),151 'name' => __('Voter ID', 'likebtn-like-button'), 152 152 'desc' => '<a href="'.$voter_url.'" target="_blank">'.htmlentities($voter_name).'</a>', 153 153 'id' => $prefix . 'voter_id', -
likebtn-like-button/tags/2.6.33/includes/likebtn_like_button_most_liked_widget.class.php
r2467848 r2469287 38 38 39 39 function __construct() { 40 load_plugin_textdomain( LIKEBTN_I18N_DOMAIN, false, dirname(plugin_basename(__FILE__)) . '/languages');41 $widget_ops = array('description' => __('A list of the most liked posts, comments, etc', LIKEBTN_I18N_DOMAIN));42 parent::__construct(false, __('(LikeBtn) Most Liked Content', LIKEBTN_I18N_DOMAIN), $widget_ops);40 load_plugin_textdomain('likebtn-like-button', false, dirname(plugin_basename(__FILE__)) . '/languages'); 41 $widget_ops = array('description' => __('A list of the most liked posts, comments, etc', 'likebtn-like-button')); 42 parent::__construct(false, __('(LikeBtn) Most Liked Content', 'likebtn-like-button'), $widget_ops); 43 43 } 44 44 … … 79 79 80 80 $order_list = array( 81 'likes' => __('Likes', LIKEBTN_I18N_DOMAIN),82 'dislikes' => __('Dislikes', LIKEBTN_I18N_DOMAIN),83 'likes_minus_dislikes' => __('Likes minus dislikes', LIKEBTN_I18N_DOMAIN)81 'likes' => __('Likes', 'likebtn-like-button'), 82 'dislikes' => __('Dislikes', 'likebtn-like-button'), 83 'likes_minus_dislikes' => __('Likes minus dislikes', 'likebtn-like-button') 84 84 ); 85 85 if ($this->liked_by_user) { 86 $order_list = array('vote_date' => __('Vote date', LIKEBTN_I18N_DOMAIN)) + $order_list;86 $order_list = array('vote_date' => __('Vote date', 'likebtn-like-button')) + $order_list; 87 87 } 88 88 89 89 $thumbnail_size_list = array( 90 'thumbnail' => __('Thumbnail', LIKEBTN_I18N_DOMAIN),91 'medium' => __('Medium', LIKEBTN_I18N_DOMAIN),92 'large' => __('Large', LIKEBTN_I18N_DOMAIN),93 'full' => __('Full size', LIKEBTN_I18N_DOMAIN),90 'thumbnail' => __('Thumbnail', 'likebtn-like-button'), 91 'medium' => __('Medium', 'likebtn-like-button'), 92 'large' => __('Large', 'likebtn-like-button'), 93 'full' => __('Full size', 'likebtn-like-button'), 94 94 ); 95 95 96 96 $time_range_list = array( 97 'all' => __('All time', LIKEBTN_I18N_DOMAIN),98 '1' => __('1 day', LIKEBTN_I18N_DOMAIN),99 '2' => __('2 days', LIKEBTN_I18N_DOMAIN),100 '3' => __('3 days', LIKEBTN_I18N_DOMAIN),101 '7' => __('1 week', LIKEBTN_I18N_DOMAIN),102 '14' => __('2 weeks', LIKEBTN_I18N_DOMAIN),103 '21' => __('3 weeks', LIKEBTN_I18N_DOMAIN),104 '1m' => __('1 month', LIKEBTN_I18N_DOMAIN),105 '2m' => __('2 months', LIKEBTN_I18N_DOMAIN),106 '3m' => __('3 months', LIKEBTN_I18N_DOMAIN),107 '6m' => __('6 months', LIKEBTN_I18N_DOMAIN),108 '1y' => __('1 year', LIKEBTN_I18N_DOMAIN)97 'all' => __('All time', 'likebtn-like-button'), 98 '1' => __('1 day', 'likebtn-like-button'), 99 '2' => __('2 days', 'likebtn-like-button'), 100 '3' => __('3 days', 'likebtn-like-button'), 101 '7' => __('1 week', 'likebtn-like-button'), 102 '14' => __('2 weeks', 'likebtn-like-button'), 103 '21' => __('3 weeks', 'likebtn-like-button'), 104 '1m' => __('1 month', 'likebtn-like-button'), 105 '2m' => __('2 months', 'likebtn-like-button'), 106 '3m' => __('3 months', 'likebtn-like-button'), 107 '6m' => __('6 months', 'likebtn-like-button'), 108 '1y' => __('1 year', 'likebtn-like-button') 109 109 ); 110 110 111 111 // Normalize instance 112 112 if (!isset($instance['title'])) { 113 $instance['title'] = __(self::$instance_default['title'], LIKEBTN_I18N_DOMAIN);113 $instance['title'] = __(self::$instance_default['title'], 'likebtn-like-button'); 114 114 } 115 115 if (empty($instance['entity_name']) || !is_array($instance['entity_name'])) { … … 141 141 } 142 142 if (empty($instance['empty_text'])) { 143 $instance['empty_text'] = __(self::$instance_default['empty_text'], LIKEBTN_I18N_DOMAIN);143 $instance['empty_text'] = __(self::$instance_default['empty_text'], 'likebtn-like-button'); 144 144 } 145 145 … … 148 148 <?php if (!_likebtn_is_stat_enabled()): ?> 149 149 <p class="likebtn_error"> 150 <?php echo strtr(__('Synchronization is not enabled — widget will not be functioning. Please %a_begin%enable synchronization%a_end% in order to use the widget.', LIKEBTN_I18N_DOMAIN),150 <?php echo strtr(__('Synchronization is not enabled — widget will not be functioning. Please %a_begin%enable synchronization%a_end% in order to use the widget.', 'likebtn-like-button'), 151 151 array('%a_begin%'=>'<a href="'.admin_url().'admin.php?page=likebtn_settings">', '%a_end%'=>'</a>')); ?> 152 152 </p> 153 153 <?php endif ?> 154 154 <p> 155 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', LIKEBTN_I18N_DOMAIN); ?>:</label>155 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', 'likebtn-like-button'); ?>:</label> 156 156 <input class="widefat" type="text" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo $instance['title']; ?>" data-property="title" /> 157 157 </p> 158 158 <p> 159 <label for="<?php echo $this->get_field_id('entity_name'); ?>"><?php _e('Items to show', LIKEBTN_I18N_DOMAIN); ?>:</label><br/>159 <label for="<?php echo $this->get_field_id('entity_name'); ?>"><?php _e('Items to show', 'likebtn-like-button'); ?>:</label><br/> 160 160 161 161 <?php foreach ($likebtn_entities as $entity_name_value => $entity_title): ?> 162 <input type="checkbox" name="<?php echo $this->get_field_name('entity_name'); ?>[]" id="<?php echo $this->get_field_id('entity_name'); ?>_<?php echo $entity_name_value ?>" value="<?php echo $entity_name_value; ?>" <?php echo (in_array($entity_name_value, $instance['entity_name']) ? 'checked="checked"' : ''); ?> data-property="entity_name" /> <label for="<?php echo $this->get_field_id('entity_name'); ?>_<?php echo $entity_name_value ?>"><?php _e($entity_title, LIKEBTN_I18N_DOMAIN); ?></label><br/>162 <input type="checkbox" name="<?php echo $this->get_field_name('entity_name'); ?>[]" id="<?php echo $this->get_field_id('entity_name'); ?>_<?php echo $entity_name_value ?>" value="<?php echo $entity_name_value; ?>" <?php echo (in_array($entity_name_value, $instance['entity_name']) ? 'checked="checked"' : ''); ?> data-property="entity_name" /> <label for="<?php echo $this->get_field_id('entity_name'); ?>_<?php echo $entity_name_value ?>"><?php _e($entity_title, 'likebtn-like-button'); ?></label><br/> 163 163 <?php endforeach ?> 164 164 </p> 165 165 <p> 166 <label for="<?php echo $this->get_field_id('include_categories'); ?>"><?php _e('Allow items by category', LIKEBTN_I18N_DOMAIN); ?>:</label><br/>166 <label for="<?php echo $this->get_field_id('include_categories'); ?>"><?php _e('Allow items by category', 'likebtn-like-button'); ?>:</label><br/> 167 167 <select multiple="multiple" id="<?php echo $this->get_field_id('include_categories'); ?>" name="<?php echo $this->get_field_name('include_categories'); ?>[]" class="likebtn_include_categories widefat" data-property="include_categories" autocomplete="off"> 168 168 <?php … … 181 181 </p> 182 182 <p> 183 <label for="<?php echo $this->get_field_id('exclude_categories'); ?>"><?php _e('Exclude items by category', LIKEBTN_I18N_DOMAIN); ?>:</label><br/>183 <label for="<?php echo $this->get_field_id('exclude_categories'); ?>"><?php _e('Exclude items by category', 'likebtn-like-button'); ?>:</label><br/> 184 184 <select multiple="multiple" id="<?php echo $this->get_field_id('exclude_categories'); ?>" name="<?php echo $this->get_field_name('exclude_categories'); ?>[]" class="likebtn_exclude_categories widefat" data-property="exclude_categories" autocomplete="off"> 185 185 <?php … … 199 199 <?php if (!$this->liked_by_user): ?> 200 200 <p> 201 <label for="<?php echo $this->get_field_id('author'); ?>"><?php _e('Filter by author (comma separated IDs)', LIKEBTN_I18N_DOMAIN); ?>:</label><br/>201 <label for="<?php echo $this->get_field_id('author'); ?>"><?php _e('Filter by author (comma separated IDs)', 'likebtn-like-button'); ?>:</label><br/> 202 202 <input type="text" id="<?php echo $this->get_field_id('author'); ?>" name="<?php echo $this->get_field_name('author'); ?>" value="<?php echo $instance['author']; ?>" data-property="author" class="widefat"/> 203 203 </p> 204 204 <?php endif ?> 205 205 <p> 206 <label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of items to show:', LIKEBTN_I18N_DOMAIN); ?></label>206 <label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of items to show:', 'likebtn-like-button'); ?></label> 207 207 <input type="number" id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" value="<?php echo $instance['number']; ?>" size="3" data-property="number" class="widefat" /> 208 208 </p> 209 209 <p> 210 <label for="<?php echo $this->get_field_id('order'); ?>"><?php _e('Order by:', LIKEBTN_I18N_DOMAIN); ?></label>210 <label for="<?php echo $this->get_field_id('order'); ?>"><?php _e('Order by:', 'likebtn-like-button'); ?></label> 211 211 <select name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order'); ?>" data-property="order" > 212 212 <?php foreach ($order_list as $order_value => $order_name): ?> 213 <option value="<?php echo $order_value; ?>" <?php selected($order_value, $instance['order']); ?> ><?php _e($order_name, LIKEBTN_I18N_DOMAIN); ?></option>213 <option value="<?php echo $order_value; ?>" <?php selected($order_value, $instance['order']); ?> ><?php _e($order_name, 'likebtn-like-button'); ?></option> 214 214 <?php endforeach ?> 215 215 </select> 216 216 </p> 217 217 <p> 218 <label for="<?php echo $this->get_field_id('time_range'); ?>"><?php _e('Item publication period:', LIKEBTN_I18N_DOMAIN); ?></label>218 <label for="<?php echo $this->get_field_id('time_range'); ?>"><?php _e('Item publication period:', 'likebtn-like-button'); ?></label> 219 219 <select name="<?php echo $this->get_field_name('time_range'); ?>" id="<?php echo $this->get_field_id('time_range'); ?>" data-property="time_range" > 220 220 <?php foreach ($time_range_list as $time_range_value => $time_range_name): ?> 221 <option value="<?php echo $time_range_value; ?>" <?php selected($time_range_value, $instance['time_range']); ?> ><?php _e($time_range_name, LIKEBTN_I18N_DOMAIN); ?></option>221 <option value="<?php echo $time_range_value; ?>" <?php selected($time_range_value, $instance['time_range']); ?> ><?php _e($time_range_name, 'likebtn-like-button'); ?></option> 222 222 <?php endforeach ?> 223 223 </select> 224 224 </p> 225 225 <p> 226 <label for="<?php echo $this->get_field_id('vote_time_range'); ?>"><?php _e('Votes period:', LIKEBTN_I18N_DOMAIN); ?></label>226 <label for="<?php echo $this->get_field_id('vote_time_range'); ?>"><?php _e('Votes period:', 'likebtn-like-button'); ?></label> 227 227 <select name="<?php echo $this->get_field_name('vote_time_range'); ?>" id="<?php echo $this->get_field_id('vote_time_range'); ?>" data-property="vote_time_range" > 228 228 <?php foreach ($time_range_list as $time_range_value => $time_range_name): ?> 229 <option value="<?php echo $time_range_value; ?>" <?php selected($time_range_value, $instance['vote_time_range']); ?> ><?php _e($time_range_name, LIKEBTN_I18N_DOMAIN); ?></option>229 <option value="<?php echo $time_range_value; ?>" <?php selected($time_range_value, $instance['vote_time_range']); ?> ><?php _e($time_range_name, 'likebtn-like-button'); ?></option> 230 230 <?php endforeach ?> 231 231 </select> 232 232 </p> 233 233 <p> 234 <label for="<?php echo $this->get_field_id('title_length'); ?>"><?php _e('Max title length', LIKEBTN_I18N_DOMAIN); ?>:</label>234 <label for="<?php echo $this->get_field_id('title_length'); ?>"><?php _e('Max title length', 'likebtn-like-button'); ?>:</label> 235 235 <input type="number" id="<?php echo $this->get_field_id('title_length'); ?>" name="<?php echo $this->get_field_name('title_length'); ?>" value="<?php echo $instance['title_length']; ?>" data-property="title_length" class="widefat" /> 236 236 </p> 237 237 <p> 238 238 <input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id('show_likes'); ?>" name="<?php echo $this->get_field_name('show_likes'); ?>" value="1" <?php checked($instance['show_likes']); ?> data-property="show_likes" /> 239 <label for="<?php echo $this->get_field_id('show_likes'); ?>"><?php _e('Display likes count', LIKEBTN_I18N_DOMAIN); ?></label>239 <label for="<?php echo $this->get_field_id('show_likes'); ?>"><?php _e('Display likes count', 'likebtn-like-button'); ?></label> 240 240 </p> 241 241 <p> 242 242 <input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id('show_dislikes'); ?>" name="<?php echo $this->get_field_name('show_dislikes'); ?>" value="1" <?php checked($instance['show_dislikes']); ?> data-property="show_dislikes" /> 243 <label for="<?php echo $this->get_field_id('show_dislikes'); ?>"><?php _e('Display dislikes count', LIKEBTN_I18N_DOMAIN); ?></label>243 <label for="<?php echo $this->get_field_id('show_dislikes'); ?>"><?php _e('Display dislikes count', 'likebtn-like-button'); ?></label> 244 244 </p> 245 245 <p> 246 246 <input class="checkbox" type="checkbox" <?php checked($instance['show_thumbnail']); ?> id="<?php echo $this->get_field_id('show_thumbnail'); ?>" name="<?php echo $this->get_field_name('show_thumbnail'); ?>" value="1" data-property="show_thumbnail" /> 247 <label for="<?php echo $this->get_field_id('show_thumbnail'); ?>"><?php _e('Display featured image', LIKEBTN_I18N_DOMAIN); ?></label>247 <label for="<?php echo $this->get_field_id('show_thumbnail'); ?>"><?php _e('Display featured image', 'likebtn-like-button'); ?></label> 248 248 <select name="<?php echo $this->get_field_name('thumbnail_size'); ?>" id="<?php echo $this->get_field_id('thumbnail_size'); ?>" data-property="thumbnail_size" class="widefat"> 249 249 <?php foreach ($thumbnail_size_list as $thumbnail_size_value => $thumbnail_size_name): ?> 250 <option value="<?php echo $thumbnail_size_value; ?>" <?php selected($thumbnail_size_value, $instance['thumbnail_size']); ?> ><?php _e($thumbnail_size_name, LIKEBTN_I18N_DOMAIN); ?></option>250 <option value="<?php echo $thumbnail_size_value; ?>" <?php selected($thumbnail_size_value, $instance['thumbnail_size']); ?> ><?php _e($thumbnail_size_name, 'likebtn-like-button'); ?></option> 251 251 <?php endforeach ?> 252 252 </select> … … 254 254 <p> 255 255 <input class="checkbox" type="checkbox" <?php checked($instance['show_excerpt']); ?> id="<?php echo $this->get_field_id('show_excerpt'); ?>" name="<?php echo $this->get_field_name('show_excerpt'); ?>" value="1" data-property="show_excerpt" /> 256 <label for="<?php echo $this->get_field_id('show_excerpt'); ?>"><?php _e('Display excerpt', LIKEBTN_I18N_DOMAIN); ?></label>256 <label for="<?php echo $this->get_field_id('show_excerpt'); ?>"><?php _e('Display excerpt', 'likebtn-like-button'); ?></label> 257 257 </p> 258 258 <p> 259 259 <input class="checkbox" type="checkbox" <?php checked($instance['show_date']); ?> id="<?php echo $this->get_field_id('show_date'); ?>" name="<?php echo $this->get_field_name('show_date'); ?>" value="1" data-property="show_date" /> 260 <label for="<?php echo $this->get_field_id('show_date'); ?>"><?php _e('Display item date', LIKEBTN_I18N_DOMAIN); ?></label>260 <label for="<?php echo $this->get_field_id('show_date'); ?>"><?php _e('Display item date', 'likebtn-like-button'); ?></label> 261 261 </p> 262 262 <p> 263 263 <input class="checkbox" type="checkbox" <?php checked($instance['show_author']); ?> id="<?php echo $this->get_field_id('show_author'); ?>" name="<?php echo $this->get_field_name('show_author'); ?>" value="1" data-property="show_author" /> 264 <label for="<?php echo $this->get_field_id('show_author'); ?>"><?php _e('Display author', LIKEBTN_I18N_DOMAIN); ?></label>264 <label for="<?php echo $this->get_field_id('show_author'); ?>"><?php _e('Display author', 'likebtn-like-button'); ?></label> 265 265 </p> 266 266 <p> 267 267 <input class="checkbox" type="checkbox" <?php checked($instance['show_button']); ?> id="<?php echo $this->get_field_id('show_button'); ?>" name="<?php echo $this->get_field_name('show_button'); ?>" value="1" data-property="show_button" /> 268 <label for="<?php echo $this->get_field_id('show_button'); ?>"><?php _e('Display button and use settings from', LIKEBTN_I18N_DOMAIN); ?></label>268 <label for="<?php echo $this->get_field_id('show_button'); ?>"><?php _e('Display button and use settings from', 'likebtn-like-button'); ?></label> 269 269 <select name="<?php echo $this->get_field_name('show_button_use_entity'); ?>" id="<?php echo $this->get_field_id('show_button_use_entity'); ?>" data-property="show_button_use_entity" class="widefat"> 270 270 <?php foreach ($likebtn_entities as $entity_name_value => $entity_title): ?> 271 <option value="<?php echo $entity_name_value; ?>" <?php selected($entity_name_value, $instance['show_button_use_entity']); ?> ><?php _e($entity_title, LIKEBTN_I18N_DOMAIN); ?></option>271 <option value="<?php echo $entity_name_value; ?>" <?php selected($entity_name_value, $instance['show_button_use_entity']); ?> ><?php _e($entity_title, 'likebtn-like-button'); ?></option> 272 272 <?php endforeach ?> 273 273 </select> 274 274 </p> 275 275 <p> 276 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Text when there are no items', LIKEBTN_I18N_DOMAIN); ?>:</label>276 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Text when there are no items', 'likebtn-like-button'); ?>:</label> 277 277 <input class="widefat" type="text" id="<?php echo $this->get_field_id('empty_text'); ?>" name="<?php echo $this->get_field_name('empty_text'); ?>" value="<?php echo $instance['empty_text']; ?>" data-property="empty_text" /> 278 278 </p> 279 279 <p> 280 <a href="javascript:likebtnPopup('<?php echo __('http://likebtn.com/en/', LIKEBTN_I18N_DOMAIN); ?>wordpress-like-button-plugin#most_liked_template');void(0);"><?php _e('Need a custom template?', LIKEBTN_I18N_DOMAIN); ?></a> |281 <a href="javascript:likebtnWidgetShortcode('<?php echo $widget_mnemonic; ?>', '<?php echo $this->shortcode; ?>', '<?php _e('Please save widget first', LIKEBTN_I18N_DOMAIN); ?>')"><?php _e('Get shortcode', LIKEBTN_I18N_DOMAIN); ?></a> <small>▼</small>280 <a href="javascript:likebtnPopup('<?php echo __('http://likebtn.com/en/', 'likebtn-like-button'); ?>wordpress-like-button-plugin#most_liked_template');void(0);"><?php _e('Need a custom template?', 'likebtn-like-button'); ?></a> | 281 <a href="javascript:likebtnWidgetShortcode('<?php echo $widget_mnemonic; ?>', '<?php echo $this->shortcode; ?>', '<?php _e('Please save widget first', 'likebtn-like-button'); ?>')"><?php _e('Get shortcode', 'likebtn-like-button'); ?></a> <small>▼</small> 282 282 </p> 283 283 <p id="likebtn_sc_wr_<?php echo $widget_mnemonic; ?>" class="likebtn_sc_wr"> … … 288 288 jQuery(document).ready(function() { 289 289 jQuery("#likebtn_widget_<?php echo $widget_mnemonic ?> :input").on("keyup change", function(event) { 290 likebtnWidgetShortcode('<?php echo $widget_mnemonic ?>', '<?php echo $this->shortcode; ?>', '<?php _e('Please save widget first', LIKEBTN_I18N_DOMAIN); ?>', true);290 likebtnWidgetShortcode('<?php echo $widget_mnemonic ?>', '<?php echo $this->shortcode; ?>', '<?php _e('Please save widget first', 'likebtn-like-button'); ?>', true); 291 291 }); 292 292 jQuery("#likebtn_widget_<?php echo $widget_mnemonic ?> select.likebtn_include_categories:first").select2(); … … 311 311 if (!isset($instance[$field])) { 312 312 if ($field == 'title') { 313 $instance['title'] = __($default_value, LIKEBTN_I18N_DOMAIN);313 $instance['title'] = __($default_value, 'likebtn-like-button'); 314 314 } else { 315 315 $instance[$field] = ''; … … 352 352 353 353 function __construct() { 354 load_plugin_textdomain( LIKEBTN_I18N_DOMAIN, false, dirname(plugin_basename(__FILE__)) . '/languages');355 $widget_ops = array('description' => __('Content liked by the current authenticated user', LIKEBTN_I18N_DOMAIN));356 WP_Widget::__construct(false, __('(LikeBtn) Liked by User', LIKEBTN_I18N_DOMAIN), $widget_ops);354 load_plugin_textdomain('likebtn-like-button', false, dirname(plugin_basename(__FILE__)) . '/languages'); 355 $widget_ops = array('description' => __('Content liked by the current authenticated user', 'likebtn-like-button')); 356 WP_Widget::__construct(false, __('(LikeBtn) Liked by User', 'likebtn-like-button'), $widget_ops); 357 357 } 358 358 -
likebtn-like-button/tags/2.6.33/includes/likebtn_mycred.class.php
r2467848 r2469287 206 206 <h3 class="nav-tab-wrapper likebtn_mycred_tab_labels" style="padding: 0"> 207 207 <?php foreach ($likebtn_entities as $tab_entity_name => $tab_entity_title): ?> 208 <a class="nav-tab likebtn_mycred_tab_lbl_<?php echo $tab_entity_name; ?> <?php echo ('post' == $tab_entity_name ? 'nav-tab-active' : '') ?>" href="javascript:likebtnGotoTab('<?php echo $tab_entity_name ?>', '.likebtn_mycred_tab', '.likebtn_mycred_tab_', '.likebtn_mycred_tab_labels', 'likebtn_mycred_tab_lbl_');void(0);"><?php _e($tab_entity_title, LIKEBTN_I18N_DOMAIN); ?></a>208 <a class="nav-tab likebtn_mycred_tab_lbl_<?php echo $tab_entity_name; ?> <?php echo ('post' == $tab_entity_name ? 'nav-tab-active' : '') ?>" href="javascript:likebtnGotoTab('<?php echo $tab_entity_name ?>', '.likebtn_mycred_tab', '.likebtn_mycred_tab_', '.likebtn_mycred_tab_labels', 'likebtn_mycred_tab_lbl_');void(0);"><?php _e($tab_entity_title, 'likebtn-like-button'); ?></a> 209 209 <?php endforeach ?> 210 210 </h3> … … 213 213 <div class="likebtn_mycred_tab postbox likebtn_mycred_tab_<?php echo $entity_name; ?> <?php if ($entity_name !== 'post'): ?>hidden<?php endif ?>" > 214 214 <div class="inside"> 215 <label class="subheader"><?php echo _e( 'Points for Liking Content', LIKEBTN_I18N_DOMAIN); ?></label>215 <label class="subheader"><?php echo _e( 'Points for Liking Content', 'likebtn-like-button' ); ?></label> 216 216 <?php 217 217 $instance = 'like_'.$entity_name; 218 218 $this->settings_block($prefs, $instance); 219 219 ?> 220 <label class="subheader"><?php _e( 'Points for Getting a Content Like', LIKEBTN_I18N_DOMAIN); ?></label>220 <label class="subheader"><?php _e( 'Points for Getting a Content Like', 'likebtn-like-button' ); ?></label> 221 221 <?php 222 222 $instance = 'get_like_'.$entity_name; 223 223 $this->settings_block($prefs, $instance); 224 224 ?> 225 <label class="subheader"><?php echo _e( 'Points for Disliking Content', LIKEBTN_I18N_DOMAIN); ?></label>225 <label class="subheader"><?php echo _e( 'Points for Disliking Content', 'likebtn-like-button' ); ?></label> 226 226 <?php 227 227 $instance = 'dislike_'.$entity_name; 228 228 $this->settings_block($prefs, $instance); 229 229 ?> 230 <label class="subheader"><?php _e( 'Points for Getting a Content Dislike', LIKEBTN_I18N_DOMAIN); ?></label>230 <label class="subheader"><?php _e( 'Points for Getting a Content Dislike', 'likebtn-like-button' ); ?></label> 231 231 <?php 232 232 $instance = 'get_dislike_'.$entity_name; … … 250 250 <li class="empty"></li> 251 251 <li> 252 <label for="<?php echo $this->field_id( array( $instance => 'log' ) ); ?>"><?php _e('Percent from voter\'s points balance added on voting to the points amount above', LIKEBTN_I18N_DOMAIN); ?></label>252 <label for="<?php echo $this->field_id( array( $instance => 'log' ) ); ?>"><?php _e('Percent from voter\'s points balance added on voting to the points amount above', 'likebtn-like-button'); ?></label> 253 253 <div class="h2"><input type="text" name="<?php echo $this->field_name( array( $instance => 'share' ) ); ?>" id="<?php echo $this->field_id( array( $instance => 'share' ) ); ?>" value="<?php echo (float)$prefs[$instance]['share']; ?>" size="8" autocomplete="off" /><small>%</small></div> 254 254 </li> 255 255 <li class="empty"></li> 256 256 <li> 257 <label for="<?php echo $this->field_id( array( $instance => 'limit' ) ); ?>"><?php _e( 'Limit', LIKEBTN_I18N_DOMAIN); ?></label>257 <label for="<?php echo $this->field_id( array( $instance => 'limit' ) ); ?>"><?php _e( 'Limit', 'likebtn-like-button' ); ?></label> 258 258 <?php echo $this->hook_limit_setting( $this->field_name( array( $instance => 'limit' ) ), $this->field_id( array( $instance => 'limit' ) ), $prefs[$instance]['limit'] ); ?> 259 259 </li> -
likebtn-like-button/tags/2.6.33/includes/meta_columns.php
r2467848 r2469287 57 57 58 58 return array_merge($columns, array( 59 LIKEBTN_COLUMN_LIKES => __('Likes', LIKEBTN_I18N_DOMAIN),60 LIKEBTN_COLUMN_DISLIKES => __('Dislikes', LIKEBTN_I18N_DOMAIN),61 LIKEBTN_COLUMN_LMD => __('Likes minus dislikes', LIKEBTN_I18N_DOMAIN),59 LIKEBTN_COLUMN_LIKES => __('Likes', 'likebtn-like-button'), 60 LIKEBTN_COLUMN_DISLIKES => __('Dislikes', 'likebtn-like-button'), 61 LIKEBTN_COLUMN_LMD => __('Likes minus dislikes', 'likebtn-like-button'), 62 62 )); 63 63 } -
likebtn-like-button/tags/2.6.33/includes/tab_buttons.php
r2467848 r2469287 78 78 $languages = array(); 79 79 $languages['auto'] = array( 80 'name' => __("Automatic", LIKEBTN_I18N_DOMAIN),81 'en_name' => __("Automatic", LIKEBTN_I18N_DOMAIN)80 'name' => __("Automatic", 'likebtn-like-button'), 81 'en_name' => __("Automatic", 'likebtn-like-button') 82 82 ); 83 83 … … 139 139 <?php endforeach ?> 140 140 141 var likebtn_msg_reset = '<?php _e('Are you sure you want to reset settings for this entity?', LIKEBTN_I18N_DOMAIN); ?>';142 var likebtn_msg_set_img = '<?php _e('Select image', LIKEBTN_I18N_DOMAIN); ?>';143 //var likebtn_msg_identifier = '<?php _e('likeButton1', LIKEBTN_I18N_DOMAIN); ?>';141 var likebtn_msg_reset = '<?php _e('Are you sure you want to reset settings for this entity?', 'likebtn-like-button'); ?>'; 142 var likebtn_msg_set_img = '<?php _e('Select image', 'likebtn-like-button'); ?>'; 143 //var likebtn_msg_identifier = '<?php _e('likeButton1', 'likebtn-like-button'); ?>'; 144 144 145 145 var likebtn_path_settings_theme = '//<?php echo LIKEBTN_WEBSITE_DOMAIN; ?>/bundles/likebtnwebsite/i/theme/'; … … 164 164 <h3 class="nav-tab-wrapper" style="padding: 0" id="likebtn_subpage_tab_wrapper"> 165 165 <?php foreach ($likebtn_entities as $tab_entity_name => $tab_entity_title): ?> 166 <a class="nav-tab likebtn_tab_<?php echo $tab_entity_name; ?> <?php echo ($subpage == $tab_entity_name ? 'nav-tab-active' : '') ?>" href="<?php echo admin_url().'admin.php?page=likebtn_buttons&likebtn_subpage='.$tab_entity_name; ?>"><img src="<?php echo _likebtn_get_public_url() ?>img/check.png" class="likebtn_ttip likebtn_show_marker <?php if (get_option('likebtn_show_' . $tab_entity_name) != '1'): ?>hidden<?php endif ?>" title="<?php _e('Like Button enabled', LIKEBTN_I18N_DOMAIN); ?>"><?php _e($tab_entity_title, LIKEBTN_I18N_DOMAIN); ?></a>166 <a class="nav-tab likebtn_tab_<?php echo $tab_entity_name; ?> <?php echo ($subpage == $tab_entity_name ? 'nav-tab-active' : '') ?>" href="<?php echo admin_url().'admin.php?page=likebtn_buttons&likebtn_subpage='.$tab_entity_name; ?>"><img src="<?php echo _likebtn_get_public_url() ?>img/check.png" class="likebtn_ttip likebtn_show_marker <?php if (get_option('likebtn_show_' . $tab_entity_name) != '1'): ?>hidden<?php endif ?>" title="<?php _e('Like Button enabled', 'likebtn-like-button'); ?>"><?php _e($tab_entity_title, 'likebtn-like-button'); ?></a> 167 167 <?php endforeach ?> 168 168 </h3> … … 214 214 $user_logged_in_alert = get_option('likebtn_user_logged_in_alert_' . $entity_name); 215 215 if (!$user_logged_in_alert) { 216 $user_logged_in_alert = '<p class="alert alert-info fade in" role="alert">'.__($user_logged_in_alert_default, LIKEBTN_I18N_DOMAIN).'</p>';216 $user_logged_in_alert = '<p class="alert alert-info fade in" role="alert">'.__($user_logged_in_alert_default, 'likebtn-like-button').'</p>'; 217 217 } 218 218 ?> 219 219 220 220 <div id="likebtn_subpage_wrapper_<?php echo $entity_name; ?>" class="likebtn_subpage <?php if ($subpage !== $entity_name): ?>hidden<?php endif ?>" > 221 <?php /*<h3><?php _e($entity_title, LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>221 <?php /*<h3><?php _e($entity_title, 'likebtn-like-button'); ?></h3>*/ ?> 222 222 <div class="inside entity_tab_container"> 223 223 … … 227 227 <td colspan="2"> 228 228 <p class="notice update-nag"> 229 <?php _e('Voting for this post type is disabled on the Voting subtab below. It means that Like button does not allow to vote and only displays results.', LIKEBTN_I18N_DOMAIN); ?>229 <?php _e('Voting for this post type is disabled on the Voting subtab below. It means that Like button does not allow to vote and only displays results.', 'likebtn-like-button'); ?> 230 230 </p> 231 231 </td> … … 233 233 <?php endif ?> 234 234 <tr valign="top"> 235 <th scope="row"><label><?php _e('Enable Like Button', LIKEBTN_I18N_DOMAIN); ?></label></th>235 <th scope="row"><label><?php _e('Enable Like Button', 'likebtn-like-button'); ?></label></th> 236 236 <td> 237 237 <input type="checkbox" name="likebtn_show_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_show_' . $entity_name)); ?> onClick="entityShowChange(this, '<?php echo $entity_name; ?>')" /> … … 243 243 <table class="form-table" > 244 244 <tr valign="top"> 245 <th scope="row"><label><?php _e('Copy Settings From', LIKEBTN_I18N_DOMAIN); ?></label>246 <i class="likebtn_help" title="<?php _e('Choose the entity from which you want to copy settings', LIKEBTN_I18N_DOMAIN); ?>"> </i>245 <th scope="row"><label><?php _e('Copy Settings From', 'likebtn-like-button'); ?></label> 246 <i class="likebtn_help" title="<?php _e('Choose the entity from which you want to copy settings', 'likebtn-like-button'); ?>"> </i> 247 247 </th> 248 248 <td> … … 255 255 } 256 256 ?> 257 <option value="<?php echo $use_entity_name; ?>" <?php selected($use_entity_name, get_option('likebtn_use_settings_from_' . $entity_name)); ?> ><?php _e($use_entity_title, LIKEBTN_I18N_DOMAIN); ?></option>257 <option value="<?php echo $use_entity_name; ?>" <?php selected($use_entity_name, get_option('likebtn_use_settings_from_' . $entity_name)); ?> ><?php _e($use_entity_title, 'likebtn-like-button'); ?></option> 258 258 <?php endforeach ?> 259 259 </select> … … 267 267 268 268 <h3> 269 <?php _e('Preview', LIKEBTN_I18N_DOMAIN); ?>269 <?php _e('Preview', 'likebtn-like-button'); ?> 270 270 <label class="likebtn_pin"> 271 <input type="checkbox" value="1" id="likebtn_pin" <?php if (!$_COOKIE || empty($_COOKIE['likebtn_pin'])): ?>checked="checked"<?php endif ?> /> <small><?php _e('Sticky preview', LIKEBTN_I18N_DOMAIN); ?></small>271 <input type="checkbox" value="1" id="likebtn_pin" <?php if (!$_COOKIE || empty($_COOKIE['likebtn_pin'])): ?>checked="checked"<?php endif ?> /> <small><?php _e('Sticky preview', 'likebtn-like-button'); ?></small> 272 272 </label> 273 273 </h3> … … 276 276 <?php echo _likebtn_get_markup($entity_name, 'demo', array(), get_option('likebtn_use_settings_from_' . $entity_name), true, true, true) ?> 277 277 </div> 278 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save Changes', LIKEBTN_I18N_DOMAIN); ?>" id="likebtn_save_preview" <?php if (get_option('likebtn_use_settings_from_' . $entity_name)): ?>style="display: none"<?php endif ?>/>278 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save Changes', 'likebtn-like-button'); ?>" id="likebtn_save_preview" <?php if (get_option('likebtn_use_settings_from_' . $entity_name)): ?>style="display: none"<?php endif ?>/> 279 279 280 280 <span class="support_link"> 281 ♥ <?php _e('Like it?', LIKEBTN_I18N_DOMAIN); ?>281 ♥ <?php _e('Like it?', 'likebtn-like-button'); ?> 282 282 <a href="https://wordpress.org/support/view/plugin-reviews/likebtn-like-button?filter=5&rate=5#postform" target="_blank"> 283 <?php _e('Support the plugin with ★ 5 Stars', LIKEBTN_I18N_DOMAIN); ?>283 <?php _e('Support the plugin with ★ 5 Stars', 'likebtn-like-button'); ?> 284 284 </a> 285 285 </span> … … 290 290 <div id="use_settings_from_container_<?php echo $entity_name; ?>" <?php if (get_option('likebtn_use_settings_from_' . $entity_name)): ?>style="display:none"<?php endif ?>> 291 291 <div class="postbox" id="settings_container"> 292 <?php /*<h3><?php _e('Settings', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>292 <?php /*<h3><?php _e('Settings', 'likebtn-like-button'); ?></h3>*/ ?> 293 293 <div class="inside"> 294 294 295 295 <table class="form-table"> 296 296 <tr valign="top"> 297 <th scope="row"><label><?php _e('Theme', LIKEBTN_I18N_DOMAIN); ?></label></th>297 <th scope="row"><label><?php _e('Theme', 'likebtn-like-button'); ?></label></th> 298 298 <td> 299 299 <input type="radio" name="likebtn_theme_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_THEME_TYPE_PREDEFINED; ?>" <?php if (LIKEBTN_THEME_TYPE_PREDEFINED == get_option('likebtn_theme_type_' . $entity_name) || !get_option('likebtn_theme_type_' . $entity_name)): ?>checked="checked"<?php endif ?> class="theme_type_radio" /> … … 307 307 <label> 308 308 <input type="radio" name="likebtn_theme_type_<?php echo $entity_name; ?>" class="theme_type_radio" value="<?php echo LIKEBTN_THEME_TYPE_CUSTOM; ?>" <?php if (LIKEBTN_THEME_TYPE_CUSTOM == get_option('likebtn_theme_type_' . $entity_name)): ?>checked="checked"<?php endif ?> /> 309 <?php _e('Custom theme & image', LIKEBTN_I18N_DOMAIN); ?>309 <?php _e('Custom theme & image', 'likebtn-like-button'); ?> 310 310 </label> 311 311 <input type="hidden" name="likebtn_settings_theme_<?php echo $entity_name; ?>" id="settings_theme_custom" value="custom" <?php if (LIKEBTN_THEME_TYPE_CUSTOM != get_option('likebtn_theme_type_' . $entity_name)): ?> class="disabled" disabled="disabled"<?php endif ?> /> … … 313 313 </tr> 314 314 <tr valign="top" class="likebtn_custom hidden"> 315 <th scope="row"><label><?php _e('Button size', LIKEBTN_I18N_DOMAIN); ?></label></th>315 <th scope="row"><label><?php _e('Button size', 'likebtn-like-button'); ?></label></th> 316 316 <td> 317 317 <input type="number" name="likebtn_settings_btn_size_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_btn_size_' . $entity_name) ? get_option('likebtn_settings_btn_size_' . $entity_name) : $likebtn_settings['btn_size']['default']); ?>" class="likebtn_input likebtn_i_sm" min="5" max="500" maxlength="3"/> … … 319 319 </tr> 320 320 <tr valign="top" class="likebtn_custom hidden"> 321 <th scope="row"><label><?php _e('Font size', LIKEBTN_I18N_DOMAIN); ?></label></th>321 <th scope="row"><label><?php _e('Font size', 'likebtn-like-button'); ?></label></th> 322 322 <td> 323 323 <input type="number" name="likebtn_settings_f_size_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_f_size_' . $entity_name) ? get_option('likebtn_settings_f_size_' . $entity_name) : $likebtn_settings['f_size']['default']); ?>" class="likebtn_input likebtn_i_sm" min="5" max="500" maxlength="3"/> … … 325 325 </tr> 326 326 <tr valign="top" class="likebtn_custom hidden param_icon"> 327 <th scope="row"><label><?php _e('Icon size', LIKEBTN_I18N_DOMAIN); ?></label></th>327 <th scope="row"><label><?php _e('Icon size', 'likebtn-like-button'); ?></label></th> 328 328 <td> 329 329 <input type="number" name="likebtn_settings_icon_size_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_icon_size_' . $entity_name) ? get_option('likebtn_settings_icon_size_' . $entity_name) : $likebtn_settings['icon_size']['default']); ?>" class="likebtn_input likebtn_i_sm" min="5" max="500" maxlength="3"/> … … 331 331 </tr> 332 332 <tr valign="top" class="likebtn_custom hidden"> 333 <th scope="row"><label><?php _e('Like icon', LIKEBTN_I18N_DOMAIN); ?></label></th>333 <th scope="row"><label><?php _e('Like icon', 'likebtn-like-button'); ?></label></th> 334 334 <td> 335 335 <input type="radio" name="likebtn_icon_l_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_ICON_TYPE_ICON; ?>" <?php if (LIKEBTN_ICON_TYPE_ICON == get_option('likebtn_icon_l_type_' . $entity_name) || !get_option('likebtn_icon_l_type_' . $entity_name)): ?>checked="checked"<?php endif ?> class="icon_l_type_radio" /> … … 345 345 </li> 346 346 <li class="likebtn-is-block likebtn-is-frst"> 347 <?php _e('Image', LIKEBTN_I18N_DOMAIN); ?>347 <?php _e('Image', 'likebtn-like-button'); ?> 348 348 <br/> 349 349 <?php $likebtn_icon_url = get_option('likebtn_settings_icon_l_url_'.$entity_name); ?> 350 <a title="<?php _e('Select Icon', LIKEBTN_I18N_DOMAIN); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Like Icon', LIKEBTN_I18N_DOMAIN); ?>">351 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', LIKEBTN_I18N_DOMAIN); ?></span>350 <a title="<?php _e('Select Icon', 'likebtn-like-button'); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Like Icon', 'likebtn-like-button'); ?>"> 351 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', 'likebtn-like-button'); ?></span> 352 352 <img class="attachment-medium<?php if (!$likebtn_icon_url): ?> hidden<?php endif?>" src="<?php echo $likebtn_icon_url; ?> " /> 353 353 </a> 354 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', LIKEBTN_I18N_DOMAIN); ?></a></div>354 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', 'likebtn-like-button'); ?></a></div> 355 355 <input type="hidden" name="likebtn_settings_icon_l_url_<?php echo $entity_name; ?>" id="settings_icon_l_url" value="<?php echo $likebtn_icon_url; ?>" class="likebtn-is-inp <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_l_type_' . $entity_name)): ?>disabled<?php endif ?>" <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_l_type_' . $entity_name)): ?>disabled="disabled"<?php endif ?> /> 356 356 </li> 357 357 <li class="likebtn-is-block"> 358 <?php _e('Image after voting', LIKEBTN_I18N_DOMAIN); ?>358 <?php _e('Image after voting', 'likebtn-like-button'); ?> 359 359 <br/> 360 360 <?php $likebtn_icon_url = get_option('likebtn_settings_icon_l_url_v_'.$entity_name); ?> 361 <a title="<?php _e('Select Icon', LIKEBTN_I18N_DOMAIN); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Image after voting', LIKEBTN_I18N_DOMAIN); ?>">362 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', LIKEBTN_I18N_DOMAIN); ?></span>361 <a title="<?php _e('Select Icon', 'likebtn-like-button'); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Image after voting', 'likebtn-like-button'); ?>"> 362 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', 'likebtn-like-button'); ?></span> 363 363 <img class="attachment-medium<?php if (!$likebtn_icon_url): ?> hidden<?php endif?>" src="<?php echo $likebtn_icon_url; ?> " /> 364 364 </a> 365 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', LIKEBTN_I18N_DOMAIN); ?></a></div>365 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', 'likebtn-like-button'); ?></a></div> 366 366 <input type="hidden" name="likebtn_settings_icon_l_url_v_<?php echo $entity_name; ?>" id="settings_icon_l_url_v" value="<?php echo $likebtn_icon_url; ?>" class="likebtn-is-inp <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_l_type_' . $entity_name)): ?>disabled<?php endif ?>" <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_l_type_' . $entity_name)): ?>disabled="disabled"<?php endif ?>/> 367 367 </li> … … 370 370 </tr> 371 371 <tr valign="top" class="likebtn_custom hidden"> 372 <th scope="row"><label><?php _e('Dislike icon', LIKEBTN_I18N_DOMAIN); ?></label></th>372 <th scope="row"><label><?php _e('Dislike icon', 'likebtn-like-button'); ?></label></th> 373 373 <td> 374 374 <input type="radio" name="likebtn_icon_d_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_ICON_TYPE_ICON; ?>" <?php if (LIKEBTN_ICON_TYPE_ICON == get_option('likebtn_icon_d_type_' . $entity_name) || !get_option('likebtn_icon_d_type_' . $entity_name)): ?>checked="checked"<?php endif ?> class="icon_d_type_radio" /> … … 384 384 </li> 385 385 <li class="likebtn-is-block likebtn-is-frst"> 386 <?php _e('Image', LIKEBTN_I18N_DOMAIN); ?>386 <?php _e('Image', 'likebtn-like-button'); ?> 387 387 <br/> 388 388 <?php $likebtn_icon_url = get_option('likebtn_settings_icon_d_url_'.$entity_name); ?> 389 <a title="<?php _e('Select Icon', LIKEBTN_I18N_DOMAIN); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Like Icon', LIKEBTN_I18N_DOMAIN); ?>">390 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', LIKEBTN_I18N_DOMAIN); ?></span>389 <a title="<?php _e('Select Icon', 'likebtn-like-button'); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Like Icon', 'likebtn-like-button'); ?>"> 390 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', 'likebtn-like-button'); ?></span> 391 391 <img class="attachment-medium<?php if (!$likebtn_icon_url): ?> hidden<?php endif?>" src="<?php echo $likebtn_icon_url; ?> " /> 392 392 </a> 393 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', LIKEBTN_I18N_DOMAIN); ?></a></div>393 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', 'likebtn-like-button'); ?></a></div> 394 394 <input type="hidden" name="likebtn_settings_icon_d_url_<?php echo $entity_name; ?>" id="settings_icon_d_url" value="<?php echo $likebtn_icon_url; ?>" class="likebtn-is-inp <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_d_type_' . $entity_name)): ?>disabled<?php endif ?>" <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_d_type_' . $entity_name)): ?>disabled="disabled"<?php endif ?> /> 395 395 </li> 396 396 <li class="likebtn-is-block"> 397 <?php _e('Image after voting', LIKEBTN_I18N_DOMAIN); ?>397 <?php _e('Image after voting', 'likebtn-like-button'); ?> 398 398 <br/> 399 399 <?php $likebtn_icon_url = get_option('likebtn_settings_icon_d_url_v_'.$entity_name); ?> 400 <a title="<?php _e('Select Icon', LIKEBTN_I18N_DOMAIN); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Image after voting', LIKEBTN_I18N_DOMAIN); ?>">401 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', LIKEBTN_I18N_DOMAIN); ?></span>400 <a title="<?php _e('Select Icon', 'likebtn-like-button'); ?>" class="<?php if (!$likebtn_icon_url): ?>button button-large <?php endif ?>likebtn-i-pick" data-likebtn-wp-title="<?php _e('Image after voting', 'likebtn-like-button'); ?>"> 401 <span class="likebtn-is-cap<?php if ($likebtn_icon_url): ?> hidden<?php endif?>"><?php _e('Select', 'likebtn-like-button'); ?></span> 402 402 <img class="attachment-medium<?php if (!$likebtn_icon_url): ?> hidden<?php endif?>" src="<?php echo $likebtn_icon_url; ?> " /> 403 403 </a> 404 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', LIKEBTN_I18N_DOMAIN); ?></a></div>404 <div class="likebtn-is-remove <?php if (!$likebtn_icon_url): ?> hidden<?php endif?>"><a onclick="likebtnIconRemove(this);return false;" href="#"><?php _e('Remove', 'likebtn-like-button'); ?></a></div> 405 405 <input type="hidden" name="likebtn_settings_icon_d_url_v_<?php echo $entity_name; ?>" id="settings_icon_d_url_v" value="<?php echo $likebtn_icon_url; ?>" class="likebtn-is-inp <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_d_type_' . $entity_name)): ?>disabled<?php endif ?>" <?php if (LIKEBTN_ICON_TYPE_URL != get_option('likebtn_icon_d_type_' . $entity_name)): ?>disabled="disabled"<?php endif ?>/> 406 406 </li> … … 409 409 </tr> 410 410 <tr valign="top" class="likebtn_custom hidden param_icon_l"> 411 <th scope="row"><label><?php _e('Like icon color', LIKEBTN_I18N_DOMAIN); ?></label></th>411 <th scope="row"><label><?php _e('Like icon color', 'likebtn-like-button'); ?></label></th> 412 412 <td> 413 413 <input type="text" name="likebtn_settings_icon_l_c_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_icon_l_c_' . $entity_name) ? get_option('likebtn_settings_icon_l_c_' . $entity_name) : $likebtn_settings['icon_l_c']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 415 415 </tr> 416 416 <tr valign="top" class="likebtn_custom hidden param_icon_l"> 417 <th scope="row"><label><?php _e('Color after voting', LIKEBTN_I18N_DOMAIN); ?></label></th>417 <th scope="row"><label><?php _e('Color after voting', 'likebtn-like-button'); ?></label></th> 418 418 <td> 419 419 <input type="text" name="likebtn_settings_icon_l_c_v_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_icon_l_c_v_' . $entity_name) ? get_option('likebtn_settings_icon_l_c_v_' . $entity_name) : $likebtn_settings['icon_l_c_v']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 421 421 </tr> 422 422 <tr valign="top" class="likebtn_custom hidden param_icon_d"> 423 <th scope="row"><label><?php _e('Dislike icon color', LIKEBTN_I18N_DOMAIN); ?></label></th>423 <th scope="row"><label><?php _e('Dislike icon color', 'likebtn-like-button'); ?></label></th> 424 424 <td> 425 425 <input type="text" name="likebtn_settings_icon_d_c_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_icon_d_c_' . $entity_name) ? get_option('likebtn_settings_icon_d_c_' . $entity_name) : $likebtn_settings['icon_d_c']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 427 427 </tr> 428 428 <tr valign="top" class="likebtn_custom hidden param_icon_d"> 429 <th scope="row"><label><?php _e('Color after voting', LIKEBTN_I18N_DOMAIN); ?></label></th>429 <th scope="row"><label><?php _e('Color after voting', 'likebtn-like-button'); ?></label></th> 430 430 <td> 431 431 <input type="text" name="likebtn_settings_icon_d_c_v_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_icon_d_c_v_' . $entity_name) ? get_option('likebtn_settings_icon_d_c_v_' . $entity_name) : $likebtn_settings['icon_d_c_v']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 433 433 </tr> 434 434 <tr valign="top" class="likebtn_custom hidden"> 435 <th scope="row"><label><?php _e('Label color', LIKEBTN_I18N_DOMAIN); ?></label></th>435 <th scope="row"><label><?php _e('Label color', 'likebtn-like-button'); ?></label></th> 436 436 <td> 437 437 <input type="text" name="likebtn_settings_label_c_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_label_c_' . $entity_name) ? get_option('likebtn_settings_label_c_' . $entity_name) : $likebtn_settings['label_c']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 439 439 </tr> 440 440 <tr valign="top" class="likebtn_custom hidden"> 441 <th scope="row"><label><?php _e('Color after voting', LIKEBTN_I18N_DOMAIN); ?></label></th>441 <th scope="row"><label><?php _e('Color after voting', 'likebtn-like-button'); ?></label></th> 442 442 <td> 443 443 <input type="text" name="likebtn_settings_label_c_v_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_label_c_v_' . $entity_name) ? get_option('likebtn_settings_label_c_v_' . $entity_name) : $likebtn_settings['label_c_v']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 445 445 </tr> 446 446 <tr valign="top" class="likebtn_custom hidden"> 447 <th scope="row"><label><?php _e('Likes counter color', LIKEBTN_I18N_DOMAIN); ?></label></th>447 <th scope="row"><label><?php _e('Likes counter color', 'likebtn-like-button'); ?></label></th> 448 448 <td> 449 449 <input type="text" name="likebtn_settings_counter_l_c_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_counter_l_c_' . $entity_name) ? get_option('likebtn_settings_counter_l_c_' . $entity_name) : $likebtn_settings['counter_l_c']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 451 451 </tr> 452 452 <tr valign="top" class="likebtn_custom hidden"> 453 <th scope="row"><label><?php _e('Dislikes counter color', LIKEBTN_I18N_DOMAIN); ?></label></th>453 <th scope="row"><label><?php _e('Dislikes counter color', 'likebtn-like-button'); ?></label></th> 454 454 <td> 455 455 <input type="text" name="likebtn_settings_counter_d_c_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_counter_d_c_' . $entity_name) ? get_option('likebtn_settings_counter_d_c_' . $entity_name) : $likebtn_settings['counter_d_c']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 457 457 </tr> 458 458 <tr valign="top" class="likebtn_custom hidden"> 459 <th scope="row"><label><?php _e('Background color', LIKEBTN_I18N_DOMAIN); ?></label></th>459 <th scope="row"><label><?php _e('Background color', 'likebtn-like-button'); ?></label></th> 460 460 <td> 461 461 <input type="text" name="likebtn_settings_bg_c_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_bg_c_' . $entity_name) ? get_option('likebtn_settings_bg_c_' . $entity_name) : $likebtn_settings['bg_c']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 463 463 </tr> 464 464 <tr valign="top" class="likebtn_custom hidden"> 465 <th scope="row"><label><?php _e('Color after voting', LIKEBTN_I18N_DOMAIN); ?></label></th>465 <th scope="row"><label><?php _e('Color after voting', 'likebtn-like-button'); ?></label></th> 466 466 <td> 467 467 <input type="text" name="likebtn_settings_bg_c_v_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_bg_c_v_' . $entity_name) ? get_option('likebtn_settings_bg_c_v_' . $entity_name) : $likebtn_settings['bg_c_v']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 469 469 </tr> 470 470 <tr valign="top" class="likebtn_custom hidden"> 471 <th scope="row"><label><?php _e('Border color', LIKEBTN_I18N_DOMAIN); ?></label></th>471 <th scope="row"><label><?php _e('Border color', 'likebtn-like-button'); ?></label></th> 472 472 <td> 473 473 <input type="text" name="likebtn_settings_brdr_c_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_settings_brdr_c_' . $entity_name) ? get_option('likebtn_settings_brdr_c_' . $entity_name) : $likebtn_settings['brdr_c']['default']); ?>" data-alpha="true" class="likebtn_input likebtn_i_sm likebtn_cp"/> … … 475 475 </tr> 476 476 <tr valign="top" class="likebtn_custom hidden"> 477 <th scope="row"><label><?php _e('Font family', LIKEBTN_I18N_DOMAIN); ?></label></th>477 <th scope="row"><label><?php _e('Font family', 'likebtn-like-button'); ?></label></th> 478 478 <td> 479 479 <select name="likebtn_settings_f_family_<?php echo $entity_name; ?>" class="likebtn_i_sm"> … … 485 485 </tr> 486 486 <tr valign="top" class="likebtn_custom hidden"> 487 <th scope="row"><label><?php _e('Label font style', LIKEBTN_I18N_DOMAIN); ?></label></th>487 <th scope="row"><label><?php _e('Label font style', 'likebtn-like-button'); ?></label></th> 488 488 <td> 489 489 <select name="likebtn_settings_label_fs_<?php echo $entity_name; ?>" class="likebtn_i_sm"> … … 495 495 </tr> 496 496 <tr valign="top" class="likebtn_custom hidden"> 497 <th scope="row"><label><?php _e('Counter font style', LIKEBTN_I18N_DOMAIN); ?></label></th>497 <th scope="row"><label><?php _e('Counter font style', 'likebtn-like-button'); ?></label></th> 498 498 <td> 499 499 <select name="likebtn_settings_counter_fs_<?php echo $entity_name; ?>" class="likebtn_i_sm"> … … 505 505 </tr> 506 506 <tr valign="top"> 507 <th scope="row"><label><?php _e('Language', LIKEBTN_I18N_DOMAIN); ?></label></th>507 <th scope="row"><label><?php _e('Language', 'likebtn-like-button'); ?></label></th> 508 508 <td> 509 509 <select name="likebtn_settings_lang_<?php echo $entity_name; ?>" id="settings_lang" class="likebtn_i_sm"> … … 515 515 </tr> 516 516 <tr valign="top"> 517 <th scope="row"><label><?php _e('Show buttons', LIKEBTN_I18N_DOMAIN); ?></label></th>517 <th scope="row"><label><?php _e('Show buttons', 'likebtn-like-button'); ?></label></th> 518 518 <td> 519 519 <input type="checkbox" name="likebtn_settings_like_enabled_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_like_enabled_' . $entity_name)); ?> /> 520 <i><?php _e('Like', LIKEBTN_I18N_DOMAIN); ?></i>520 <i><?php _e('Like', 'likebtn-like-button'); ?></i> 521 521 522 522 <input type="checkbox" name="likebtn_settings_dislike_enabled_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_dislike_enabled_' . $entity_name)); ?> /> 523 <i><?php _e('Dislike', LIKEBTN_I18N_DOMAIN); ?></i>523 <i><?php _e('Dislike', 'likebtn-like-button'); ?></i> 524 524 </td> 525 525 </tr> 526 526 <tr valign="top"> 527 <th scope="row"><label><?php _e('Show labels', LIKEBTN_I18N_DOMAIN); ?></label></th>527 <th scope="row"><label><?php _e('Show labels', 'likebtn-like-button'); ?></label></th> 528 528 <td> 529 529 <input type="checkbox" name="likebtn_settings_show_like_label_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_show_like_label_' . $entity_name)); ?> /> 530 <i><?php _e('Like', LIKEBTN_I18N_DOMAIN); ?></i>530 <i><?php _e('Like', 'likebtn-like-button'); ?></i> 531 531 532 532 <input type="checkbox" name="likebtn_settings_show_dislike_label_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_show_dislike_label_' . $entity_name)); ?> /> 533 <i><?php _e('Dislike', LIKEBTN_I18N_DOMAIN); ?></i>533 <i><?php _e('Dislike', 'likebtn-like-button'); ?></i> 534 534 </td> 535 535 </tr> 536 536 <tr valign="top"> 537 <th scope="row"><label><?php _e('Show icons', LIKEBTN_I18N_DOMAIN); ?></label></th>537 <th scope="row"><label><?php _e('Show icons', 'likebtn-like-button'); ?></label></th> 538 538 <td> 539 539 <input type="checkbox" name="likebtn_settings_icon_like_show_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_icon_like_show_' . $entity_name)); ?> /> 540 <i><?php _e('Like', LIKEBTN_I18N_DOMAIN); ?></i>540 <i><?php _e('Like', 'likebtn-like-button'); ?></i> 541 541 542 542 <input type="checkbox" name="likebtn_settings_icon_dislike_show_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_icon_dislike_show_' . $entity_name)); ?> /> 543 <i><?php _e('Dislike', LIKEBTN_I18N_DOMAIN); ?></i>543 <i><?php _e('Dislike', 'likebtn-like-button'); ?></i> 544 544 </td> 545 545 </tr> 546 546 <tr valign="top"> 547 <th scope="row"><label><?php _e('Counter type', LIKEBTN_I18N_DOMAIN); ?></label></th>547 <th scope="row"><label><?php _e('Counter type', 'likebtn-like-button'); ?></label></th> 548 548 <td> 549 549 <select name="likebtn_settings_counter_type_<?php echo $entity_name; ?>" class="image_dropdown" id="settings_counter_type"> 550 <option value="number" <?php selected('number', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Number', LIKEBTN_I18N_DOMAIN); ?></option>551 <option value="percent" <?php selected('percent', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Percent', LIKEBTN_I18N_DOMAIN); ?></option>552 <option value="subtract_dislikes" <?php selected('subtract_dislikes', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Subtract dislikes', LIKEBTN_I18N_DOMAIN); ?></option>553 <option value="single_number" <?php selected('single_number', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Single number outside', LIKEBTN_I18N_DOMAIN); ?></option>550 <option value="number" <?php selected('number', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Number', 'likebtn-like-button'); ?></option> 551 <option value="percent" <?php selected('percent', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Percent', 'likebtn-like-button'); ?></option> 552 <option value="subtract_dislikes" <?php selected('subtract_dislikes', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Subtract dislikes', 'likebtn-like-button'); ?></option> 553 <option value="single_number" <?php selected('single_number', get_option('likebtn_settings_counter_type_' . $entity_name)); ?> ><?php _e('Single number outside', 'likebtn-like-button'); ?></option> 554 554 </select> 555 555 </td> 556 556 </tr> 557 557 <tr valign="top"> 558 <th scope="row"><label><?php _e('Vertical layout', LIKEBTN_I18N_DOMAIN); ?></label></th>558 <th scope="row"><label><?php _e('Vertical layout', 'likebtn-like-button'); ?></label></th> 559 559 <td> 560 560 <input type="checkbox" name="likebtn_settings_vert_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_vert_' . $entity_name)); ?> /> … … 562 562 </tr> 563 563 <tr valign="top"> 564 <th scope="row"><label><?php _e('Show tooltips', LIKEBTN_I18N_DOMAIN); ?></label></th>564 <th scope="row"><label><?php _e('Show tooltips', 'likebtn-like-button'); ?></label></th> 565 565 <td> 566 566 <input type="checkbox" name="likebtn_settings_tooltip_enabled_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_tooltip_enabled_' . $entity_name)); ?> /> … … 568 568 </tr> 569 569 <tr valign="top"> 570 <th scope="row"><label><?php _e('Like button text', LIKEBTN_I18N_DOMAIN); ?></label></th>571 <td> 572 <input type="text" name="likebtn_settings_i18n_like_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_like_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Like', LIKEBTN_I18N_DOMAIN); ?>"/>570 <th scope="row"><label><?php _e('Like button text', 'likebtn-like-button'); ?></label></th> 571 <td> 572 <input type="text" name="likebtn_settings_i18n_like_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_like_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Like', 'likebtn-like-button'); ?>"/> 573 573 </td> 574 574 </tr> 575 575 <tr valign="top"> 576 <th scope="row"><label><?php _e('Dislike button text', LIKEBTN_I18N_DOMAIN); ?></label></th>577 <td> 578 <input type="text" name="likebtn_settings_i18n_dislike_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_dislike_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Dislike', LIKEBTN_I18N_DOMAIN); ?>" />576 <th scope="row"><label><?php _e('Dislike button text', 'likebtn-like-button'); ?></label></th> 577 <td> 578 <input type="text" name="likebtn_settings_i18n_dislike_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_dislike_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Dislike', 'likebtn-like-button'); ?>" /> 579 579 </td> 580 580 </tr> 581 581 <tr valign="top"> 582 <th scope="row"><label><?php _e('Voting animation', LIKEBTN_I18N_DOMAIN); ?></label></th>582 <th scope="row"><label><?php _e('Voting animation', 'likebtn-like-button'); ?></label></th> 583 583 <td> 584 584 <select name="likebtn_settings_ef_voting_<?php echo $entity_name; ?>" id="settings_ef_voting" class="likebtn_i_sm"> … … 591 591 </tr> 592 592 <tr valign="top" class="plan_dependent plan_vip"> 593 <th scope="row"><label><?php _e('Remove branding', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="VIP / ULTRA"></i></label>594 <i class="likebtn_help" title="<?php _e('No LikeBtn.com branding link in the popup', LIKEBTN_I18N_DOMAIN); ?>"> </i>593 <th scope="row"><label><?php _e('Remove branding', 'likebtn-like-button'); ?> <i class="premium_feature" title="VIP / ULTRA"></i></label> 594 <i class="likebtn_help" title="<?php _e('No LikeBtn.com branding link in the popup', 'likebtn-like-button'); ?>"> </i> 595 595 </th> 596 596 <td style="padding-bottom: 0"> … … 601 601 <?php if ($entity_name !== LIKEBTN_ENTITY_COMMENT): ?> 602 602 <tr valign="top"> 603 <th scope="row"><label><?php _e('Google Rich Snippets', LIKEBTN_I18N_DOMAIN); ?></label>603 <th scope="row"><label><?php _e('Google Rich Snippets', 'likebtn-like-button'); ?></label> 604 604 </th> 605 605 <td> 606 606 <input type="checkbox" name="likebtn_settings_rich_snippet_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_rich_snippet_' . $entity_name)); ?> <?php if ($entity_name == LIKEBTN_ENTITY_PRODUCT || $entity_name == LIKEBTN_ENTITY_PRODUCT_LIST): ?>disabled="disabled"<?php endif ?>/> 607 607 <?php if ($entity_name == LIKEBTN_ENTITY_PRODUCT || $entity_name == LIKEBTN_ENTITY_PRODUCT_LIST): ?> 608 <small style="color:gray"><?php echo __('WooCommerce is adding Rich Snippets to the products pages by default.', LIKEBTN_I18N_DOMAIN) ?></small>608 <small style="color:gray"><?php echo __('WooCommerce is adding Rich Snippets to the products pages by default.', 'likebtn-like-button') ?></small> 609 609 <?php else: ?> 610 <small><a href="<?php echo __('https://likebtn.com/en/faq#rich_snippets', LIKEBTN_I18N_DOMAIN) ?>" target="_blank"><?php echo __('What are Google Rich Snippets and how do they boost traffic?', LIKEBTN_I18N_DOMAIN) ?></a><?php /* / <a href="https://www.google.com/search?q=%D0%A1%D1%82%D0%B0%D0%BB%D0%B8%D0%BD%D1%81%D0%BA%D0%B0%D1%8F+%D1%8D%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0+%D1%8D%D1%82%D0%BE+%D0%BD%D0%B5+%D1%8D%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0+%D0%A1%D0%A1%D0%A1%D0%A0+%D0%94%D0%95%D0%A0%D0%96%D0%90%D0%92%D0%90+%D0%A1%D0%95%D0%93%D0%9E%D0%94%D0%9D%D0%AF" target="_blank"><?php echo __('Live demo', LIKEBTN_I18N_DOMAIN) ?></a>*/ ?></small>610 <small><a href="<?php echo __('https://likebtn.com/en/faq#rich_snippets', 'likebtn-like-button') ?>" target="_blank"><?php echo __('What are Google Rich Snippets and how do they boost traffic?', 'likebtn-like-button') ?></a><?php /* / <a href="https://www.google.com/search?q=%D0%A1%D1%82%D0%B0%D0%BB%D0%B8%D0%BD%D1%81%D0%BA%D0%B0%D1%8F+%D1%8D%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0+%D1%8D%D1%82%D0%BE+%D0%BD%D0%B5+%D1%8D%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0+%D0%A1%D0%A1%D0%A1%D0%A0+%D0%94%D0%95%D0%A0%D0%96%D0%90%D0%92%D0%90+%D0%A1%D0%95%D0%93%D0%9E%D0%94%D0%9D%D0%AF" target="_blank"><?php echo __('Live demo', 'likebtn-like-button') ?></a>*/ ?></small> 611 611 <?php endif ?> 612 612 </td> … … 615 615 <?php if (empty($likebtn_entities_config['likebtn_alignment'][$entity_name]['hide'])): ?> 616 616 <tr valign="top"> 617 <th scope="row"><label><?php _e('Horizontal alignment', LIKEBTN_I18N_DOMAIN); ?></label></th>617 <th scope="row"><label><?php _e('Horizontal alignment', 'likebtn-like-button'); ?></label></th> 618 618 <td> 619 619 <input type="radio" name="likebtn_alignment_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_ALIGNMENT_LEFT; ?>" <?php if (LIKEBTN_ALIGNMENT_LEFT == get_option('likebtn_alignment_' . $entity_name) || !get_option('likebtn_alignment_' . $entity_name)): ?>checked="checked"<?php endif ?> /> <?php _e('Left'); ?> … … 628 628 <?php if (empty($likebtn_entities_config['likebtn_position'][$entity_name]['hide'])): ?> 629 629 <tr valign="top"> 630 <th scope="row"><label><?php _e('Vertical alignment', LIKEBTN_I18N_DOMAIN); ?></label></th>630 <th scope="row"><label><?php _e('Vertical alignment', 'likebtn-like-button'); ?></label></th> 631 631 <td> 632 <input type="radio" name="likebtn_position_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POSITION_TOP ?>" <?php if (LIKEBTN_POSITION_TOP == get_option('likebtn_position_' . $entity_name)): ?>checked="checked"<?php endif ?> /> <?php _e('Top of Content', LIKEBTN_I18N_DOMAIN); ?> 633 <input type="radio" name="likebtn_position_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POSITION_BOTTOM ?>" <?php if (LIKEBTN_POSITION_BOTTOM == get_option('likebtn_position_' . $entity_name) || !get_option('likebtn_position_' . $entity_name)): ?>checked="checked"<?php endif ?> /> <?php _e('Bottom of Content', LIKEBTN_I18N_DOMAIN); ?> 634 <input type="radio" name="likebtn_position_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POSITION_BOTH ?>" <?php if (LIKEBTN_POSITION_BOTH == get_option('likebtn_position_' . $entity_name)): ?>checked="checked"<?php endif ?> /> <?php _e('Top and Bottom', LIKEBTN_I18N_DOMAIN); ?>632 <input type="radio" name="likebtn_position_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POSITION_TOP ?>" <?php if (LIKEBTN_POSITION_TOP == get_option('likebtn_position_' . $entity_name)): ?>checked="checked"<?php endif ?> /> <?php _e('Top of Content', 'likebtn-like-button'); ?> 633 <input type="radio" name="likebtn_position_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POSITION_BOTTOM ?>" <?php if (LIKEBTN_POSITION_BOTTOM == get_option('likebtn_position_' . $entity_name) || !get_option('likebtn_position_' . $entity_name)): ?>checked="checked"<?php endif ?> /> <?php _e('Bottom of Content', 'likebtn-like-button'); ?> 634 <input type="radio" name="likebtn_position_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POSITION_BOTH ?>" <?php if (LIKEBTN_POSITION_BOTH == get_option('likebtn_position_' . $entity_name)): ?>checked="checked"<?php endif ?> /> <?php _e('Top and Bottom', 'likebtn-like-button'); ?> 635 635 636 636 </td> … … 642 642 643 643 <h3 class="nav-tab-wrapper" style="padding: 0" id="likebtn_extset_tabs"> 644 <a class="nav-tab likebtn_tab_general nav-tab-active" href="javascript:likebtnGotoTab('general', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('General', LIKEBTN_I18N_DOMAIN); ?></a>645 646 <a class="nav-tab likebtn_tab_popup" href="javascript:likebtnGotoTab('popup', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Popup', LIKEBTN_I18N_DOMAIN); ?></a>647 648 <a class="nav-tab likebtn_tab_voting" href="javascript:likebtnGotoTab('voting', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Voting', LIKEBTN_I18N_DOMAIN); ?></a>649 650 <a class="nav-tab likebtn_tab_counter" href="javascript:likebtnGotoTab('counter', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Counter', LIKEBTN_I18N_DOMAIN); ?></a>651 652 <a class="nav-tab likebtn_tab_loading" href="javascript:likebtnGotoTab('sharing', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Sharing', LIKEBTN_I18N_DOMAIN); ?></a>644 <a class="nav-tab likebtn_tab_general nav-tab-active" href="javascript:likebtnGotoTab('general', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('General', 'likebtn-like-button'); ?></a> 645 646 <a class="nav-tab likebtn_tab_popup" href="javascript:likebtnGotoTab('popup', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Popup', 'likebtn-like-button'); ?></a> 647 648 <a class="nav-tab likebtn_tab_voting" href="javascript:likebtnGotoTab('voting', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Voting', 'likebtn-like-button'); ?></a> 649 650 <a class="nav-tab likebtn_tab_counter" href="javascript:likebtnGotoTab('counter', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Counter', 'likebtn-like-button'); ?></a> 651 652 <a class="nav-tab likebtn_tab_loading" href="javascript:likebtnGotoTab('sharing', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Sharing', 'likebtn-like-button'); ?></a> 653 653 654 654 <?php /* 655 <a class="nav-tab likebtn_tab_loading" href="javascript:likebtnGotoTab('loading', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Loading', LIKEBTN_I18N_DOMAIN); ?></a>655 <a class="nav-tab likebtn_tab_loading" href="javascript:likebtnGotoTab('loading', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Loading', 'likebtn-like-button'); ?></a> 656 656 */ ?> 657 657 658 <a class="nav-tab likebtn_tab_tooltips" href="javascript:likebtnGotoTab('tooltips', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Tooltips', LIKEBTN_I18N_DOMAIN); ?></a>659 660 <a class="nav-tab likebtn_tab_misc" href="javascript:likebtnGotoTab('misc', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Misc', LIKEBTN_I18N_DOMAIN); ?></a>661 662 <a class="nav-tab likebtn_tab_texts" href="javascript:likebtnGotoTab('texts', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Texts', LIKEBTN_I18N_DOMAIN); ?></a>658 <a class="nav-tab likebtn_tab_tooltips" href="javascript:likebtnGotoTab('tooltips', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Tooltips', 'likebtn-like-button'); ?></a> 659 660 <a class="nav-tab likebtn_tab_misc" href="javascript:likebtnGotoTab('misc', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Misc', 'likebtn-like-button'); ?></a> 661 662 <a class="nav-tab likebtn_tab_texts" href="javascript:likebtnGotoTab('texts', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);"><?php _e('Texts', 'likebtn-like-button'); ?></a> 663 663 664 664 <a class="nav-tab likebtn_tab_buddypress" href="javascript:likebtnGotoTab('buddypress', '.likebtn_tab_extset', '#likebtn_extset_tab_', '#likebtn_extset_tabs');void(0);">BuddyPress</a> … … 666 666 667 667 <div class="postbox likebtn_tab_extset" id="likebtn_extset_tab_general"> 668 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('General', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>668 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('General', 'likebtn-like-button'); ?></h3>*/ ?> 669 669 <div class="inside"> 670 670 <table class="form-table" > 671 671 <?php /*if (!in_array($entity_name, $likebtn_no_excerpts)): ?> 672 672 <tr valign="top"> 673 <th scope="row"><label><?php _e('View mode', LIKEBTN_I18N_DOMAIN); ?></label></th>673 <th scope="row"><label><?php _e('View mode', 'likebtn-like-button'); ?></label></th> 674 674 <td> 675 <input type="radio" name="likebtn_post_view_mode_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POST_VIEW_MODE_FULL; ?>" <?php checked(LIKEBTN_POST_VIEW_MODE_FULL, get_option('likebtn_post_view_mode_' . $entity_name)) ?> /> <?php _e('Full', LIKEBTN_I18N_DOMAIN); ?> 676 <input type="radio" name="likebtn_post_view_mode_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POST_VIEW_MODE_EXCERPT; ?>" <?php checked(LIKEBTN_POST_VIEW_MODE_EXCERPT, get_option('likebtn_post_view_mode_' . $entity_name)) ?> /> <?php _e('Excerpt', LIKEBTN_I18N_DOMAIN); ?> 677 <input type="radio" name="likebtn_post_view_mode_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POST_VIEW_MODE_BOTH; ?>" <?php checked(LIKEBTN_POST_VIEW_MODE_BOTH, get_option('likebtn_post_view_mode_' . $entity_name)) ?> /> <?php _e('Both', LIKEBTN_I18N_DOMAIN); ?>678 679 <i class="likebtn_help" title="<?php _e('Choose post display modes for which you want to show the Like Button', LIKEBTN_I18N_DOMAIN); ?>"></i>675 <input type="radio" name="likebtn_post_view_mode_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POST_VIEW_MODE_FULL; ?>" <?php checked(LIKEBTN_POST_VIEW_MODE_FULL, get_option('likebtn_post_view_mode_' . $entity_name)) ?> /> <?php _e('Full', 'likebtn-like-button'); ?> 676 <input type="radio" name="likebtn_post_view_mode_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POST_VIEW_MODE_EXCERPT; ?>" <?php checked(LIKEBTN_POST_VIEW_MODE_EXCERPT, get_option('likebtn_post_view_mode_' . $entity_name)) ?> /> <?php _e('Excerpt', 'likebtn-like-button'); ?> 677 <input type="radio" name="likebtn_post_view_mode_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_POST_VIEW_MODE_BOTH; ?>" <?php checked(LIKEBTN_POST_VIEW_MODE_BOTH, get_option('likebtn_post_view_mode_' . $entity_name)) ?> /> <?php _e('Both', 'likebtn-like-button'); ?> 678 679 <i class="likebtn_help" title="<?php _e('Choose post display modes for which you want to show the Like Button', 'likebtn-like-button'); ?>"></i> 680 680 </td> 681 681 </tr> … … 683 683 684 684 <tr valign="top"> 685 <th scope="row"><label><?php _e('Format', LIKEBTN_I18N_DOMAIN); ?></label>686 <i class="likebtn_help" title="<?php _e('Select post formats for which you want to show the Like Button', LIKEBTN_I18N_DOMAIN); ?>"> </i>687 </th> 688 <td> 689 <input type="checkbox" name="likebtn_post_format_<?php echo $entity_name; ?>[]" value="all" <?php if (in_array('all', get_option('likebtn_post_format_' . $entity_name))): ?>checked="checked"<?php endif ?> onClick="postFormatAllChange(this, '<?php echo $entity_name; ?>')" /> <?php _e('All', LIKEBTN_I18N_DOMAIN); ?> 685 <th scope="row"><label><?php _e('Format', 'likebtn-like-button'); ?></label> 686 <i class="likebtn_help" title="<?php _e('Select post formats for which you want to show the Like Button', 'likebtn-like-button'); ?>"> </i> 687 </th> 688 <td> 689 <input type="checkbox" name="likebtn_post_format_<?php echo $entity_name; ?>[]" value="all" <?php if (in_array('all', get_option('likebtn_post_format_' . $entity_name))): ?>checked="checked"<?php endif ?> onClick="postFormatAllChange(this, '<?php echo $entity_name; ?>')" /> <?php _e('All', 'likebtn-like-button'); ?> 690 690 <span id="post_format_container_<?php echo $entity_name; ?>" <?php if (in_array('all', get_option('likebtn_post_format_' . $entity_name))): ?>style="display:none"<?php endif ?>> 691 691 <?php foreach ($post_formats as $post_format): ?> 692 <input type="checkbox" name="likebtn_post_format_<?php echo $entity_name; ?>[]" value="<?php echo $post_format; ?>" <?php if (in_array($post_format, get_option('likebtn_post_format_' . $entity_name))): ?>checked="checked"<?php endif ?> /> <?php _e(__(ucfirst($post_format), LIKEBTN_I18N_DOMAIN)); ?> 692 <input type="checkbox" name="likebtn_post_format_<?php echo $entity_name; ?>[]" value="<?php echo $post_format; ?>" <?php if (in_array($post_format, get_option('likebtn_post_format_' . $entity_name))): ?>checked="checked"<?php endif ?> /> <?php _e(__(ucfirst($post_format), 'likebtn-like-button')); ?> 693 693 <?php endforeach ?> 694 694 </span> … … 697 697 698 698 <tr valign="top"> 699 <th scope="row"><label><?php _e('Exclude on selected sections', LIKEBTN_I18N_DOMAIN); ?></label>700 <i class="likebtn_help" title="<?php _e('Choose sections where you DO NOT want to show the Like Button', LIKEBTN_I18N_DOMAIN); ?>"> </i>699 <th scope="row"><label><?php _e('Exclude on selected sections', 'likebtn-like-button'); ?></label> 700 <i class="likebtn_help" title="<?php _e('Choose sections where you DO NOT want to show the Like Button', 'likebtn-like-button'); ?>"> </i> 701 701 </th> 702 702 <td> 703 703 <input type="checkbox" name="likebtn_exclude_sections_<?php echo $entity_name; ?>[]" value="home" <?php if (in_array('home', $excluded_sections)): ?>checked="checked"<?php endif ?> /> <?php _e('Home'); ?> 704 <input type="checkbox" name="likebtn_exclude_sections_<?php echo $entity_name; ?>[]" value="archive" <?php if (in_array('archive', $excluded_sections)): ?>checked="checked"<?php endif ?> /> <?php _e('Archive', LIKEBTN_I18N_DOMAIN); ?> 705 <input type="checkbox" name="likebtn_exclude_sections_<?php echo $entity_name; ?>[]" value="search" <?php if (in_array('search', $excluded_sections)): ?>checked="checked"<?php endif ?> /> <?php _e('Search', LIKEBTN_I18N_DOMAIN); ?> 706 <input type="checkbox" name="likebtn_exclude_sections_<?php echo $entity_name; ?>[]" value="category" <?php if (in_array('category', $excluded_sections)): ?>checked="checked"<?php endif ?> /> <?php _e('Category', LIKEBTN_I18N_DOMAIN); ?>707 </td> 708 </tr> 709 <tr valign="top"> 710 <th scope="row"><label><?php _e('Exclude in selected categories', LIKEBTN_I18N_DOMAIN); ?></label>711 <i class="likebtn_help" title="<?php _e('Select categories where you DO NOT want to show the Like Button', LIKEBTN_I18N_DOMAIN); ?>"> </i>704 <input type="checkbox" name="likebtn_exclude_sections_<?php echo $entity_name; ?>[]" value="archive" <?php if (in_array('archive', $excluded_sections)): ?>checked="checked"<?php endif ?> /> <?php _e('Archive', 'likebtn-like-button'); ?> 705 <input type="checkbox" name="likebtn_exclude_sections_<?php echo $entity_name; ?>[]" value="search" <?php if (in_array('search', $excluded_sections)): ?>checked="checked"<?php endif ?> /> <?php _e('Search', 'likebtn-like-button'); ?> 706 <input type="checkbox" name="likebtn_exclude_sections_<?php echo $entity_name; ?>[]" value="category" <?php if (in_array('category', $excluded_sections)): ?>checked="checked"<?php endif ?> /> <?php _e('Category', 'likebtn-like-button'); ?> 707 </td> 708 </tr> 709 <tr valign="top"> 710 <th scope="row"><label><?php _e('Exclude in selected categories', 'likebtn-like-button'); ?></label> 711 <i class="likebtn_help" title="<?php _e('Select categories where you DO NOT want to show the Like Button', 'likebtn-like-button'); ?>"> </i> 712 712 </th> 713 713 <td> … … 730 730 <?php if ($entity_name == LIKEBTN_ENTITY_BBP_POST): ?> 731 731 <tr valign="top"> 732 <th scope="row"><label><?php _e('Allow in selected forum', LIKEBTN_I18N_DOMAIN); ?></label>732 <th scope="row"><label><?php _e('Allow in selected forum', 'likebtn-like-button'); ?></label> 733 733 </th> 734 734 <td> … … 750 750 <?php endif ?> 751 751 <tr valign="top"> 752 <th scope="row"><label><?php _e('Allow post/page IDs', LIKEBTN_I18N_DOMAIN); ?></label>753 <i class="likebtn_help" title="<?php _e('Suppose you have a post which belongs to more than one category and you have excluded one of those categories. So the Like Button will not be available for that post. Enter comma separated post ids where you want to show the Like Button irrespective of that post category being excluded.', LIKEBTN_I18N_DOMAIN); ?>"> </i>752 <th scope="row"><label><?php _e('Allow post/page IDs', 'likebtn-like-button'); ?></label> 753 <i class="likebtn_help" title="<?php _e('Suppose you have a post which belongs to more than one category and you have excluded one of those categories. So the Like Button will not be available for that post. Enter comma separated post ids where you want to show the Like Button irrespective of that post category being excluded.', 'likebtn-like-button'); ?>"> </i> 754 754 </th> 755 755 <td> … … 758 758 </tr> 759 759 <tr valign="top"> 760 <th scope="row"><label><?php _e('Exclude post/page IDs', LIKEBTN_I18N_DOMAIN); ?></label>761 <i class="likebtn_help" title="<?php _e('Comma separated post/page IDs where you DO NOT want to show the Like Button', LIKEBTN_I18N_DOMAIN); ?>"> </i>760 <th scope="row"><label><?php _e('Exclude post/page IDs', 'likebtn-like-button'); ?></label> 761 <i class="likebtn_help" title="<?php _e('Comma separated post/page IDs where you DO NOT want to show the Like Button', 'likebtn-like-button'); ?>"> </i> 762 762 </th> 763 763 <td> … … 766 766 </tr> 767 767 <tr valign="top"> 768 <th scope="row"><label><?php _e('Track voters by', LIKEBTN_I18N_DOMAIN); ?></label>768 <th scope="row"><label><?php _e('Track voters by', 'likebtn-like-button'); ?></label> 769 769 </th> 770 770 <td> 771 771 <label> 772 <input type="radio" class="radio_voter_by" name="likebtn_voter_by_<?php echo $entity_name; ?>" value="" <?php checked(LIKEBTN_VOTER_BY_IP, get_option('likebtn_voter_by_' . $entity_name)) ?> /><?php _e('IP + Device + Cookie', LIKEBTN_I18N_DOMAIN); ?>772 <input type="radio" class="radio_voter_by" name="likebtn_voter_by_<?php echo $entity_name; ?>" value="" <?php checked(LIKEBTN_VOTER_BY_IP, get_option('likebtn_voter_by_' . $entity_name)) ?> /><?php _e('IP + Device + Cookie', 'likebtn-like-button'); ?> 773 773 </label> 774 774 <br/> 775 775 <label> 776 <input type="radio" class="radio_voter_by" name="likebtn_voter_by_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTER_BY_USER; ?>" <?php checked(LIKEBTN_VOTER_BY_USER, get_option('likebtn_voter_by_' . $entity_name)) ?> /><?php _e('Username', LIKEBTN_I18N_DOMAIN); ?>776 <input type="radio" class="radio_voter_by" name="likebtn_voter_by_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTER_BY_USER; ?>" <?php checked(LIKEBTN_VOTER_BY_USER, get_option('likebtn_voter_by_' . $entity_name)) ?> /><?php _e('Username', 'likebtn-like-button'); ?> 777 777 </label> 778 778 <div class="param_voter_by_alert hidden"> 779 779 <p class="notice update-nag"> 780 ● <?php _e('Only registered users will be able to vote', LIKEBTN_I18N_DOMAIN); ?><br/>780 ● <?php _e('Only registered users will be able to vote', 'likebtn-like-button'); ?><br/> 781 781 ● <?php echo strtr( 782 __('<a href="%url_interval%">IP address vote interval</a> parameter has an effect only if "How often visitor can vote" is set on "Voting" tab', LIKEBTN_I18N_DOMAIN),783 array('%url_interval%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/', LIKEBTN_I18N_DOMAIN)."customer.php/websites');void(0);")782 __('<a href="%url_interval%">IP address vote interval</a> parameter has an effect only if "How often visitor can vote" is set on "Voting" tab', 'likebtn-like-button'), 783 array('%url_interval%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/', 'likebtn-like-button')."customer.php/websites');void(0);") 784 784 ); ?> 785 785 </p> … … 789 789 </tr> 790 790 <tr valign="top"> 791 <th scope="row"><label><?php _e('Who can vote', LIKEBTN_I18N_DOMAIN); ?></label>791 <th scope="row"><label><?php _e('Who can vote', 'likebtn-like-button'); ?></label> 792 792 </th> 793 793 <td> 794 794 <label> 795 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_ALL, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show to all', LIKEBTN_I18N_DOMAIN); ?>795 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_ALL, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show to all', 'likebtn-like-button'); ?> 796 796 </label> 797 797 <br/> 798 798 <label> 799 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_YES; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_YES, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show to <strong>logged in</strong> users only', LIKEBTN_I18N_DOMAIN); ?>799 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_YES; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_YES, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show to <strong>logged in</strong> users only', 'likebtn-like-button'); ?> 800 800 </label> 801 801 <br/> 802 802 <label> 803 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_NO; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_NO, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show to <strong>guests</strong> only', LIKEBTN_I18N_DOMAIN); ?>803 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_NO; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_NO, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show to <strong>guests</strong> only', 'likebtn-like-button'); ?> 804 804 </label> 805 805 <br/> 806 806 <label> 807 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_ALERT; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_ALERT, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show a <strong>message</strong> asking to login instead of the button to guests', LIKEBTN_I18N_DOMAIN); ?>807 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_ALERT; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_ALERT, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show a <strong>message</strong> asking to login instead of the button to guests', 'likebtn-like-button'); ?> 808 808 </label> 809 809 <br/> 810 810 <label> 811 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_ALERT_BTN; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_ALERT_BTN, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show a <strong>message</strong> asking to login <strong>and the button</strong> to guests', LIKEBTN_I18N_DOMAIN); ?>811 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_ALERT_BTN; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_ALERT_BTN, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show a <strong>message</strong> asking to login <strong>and the button</strong> to guests', 'likebtn-like-button'); ?> 812 812 </label> 813 813 <br/> 814 814 <label> 815 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_MODAL; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_MODAL, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show a <strong>modal window</strong> with the message asking to login when guest votes', LIKEBTN_I18N_DOMAIN); ?>815 <input type="radio" name="likebtn_user_logged_in_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_USER_LOGGED_IN_MODAL; ?>" class="user_logged_in_radio" <?php checked(LIKEBTN_USER_LOGGED_IN_MODAL, get_option('likebtn_user_logged_in_' . $entity_name)) ?> /><?php _e('Show a <strong>modal window</strong> with the message asking to login when guest votes', 'likebtn-like-button'); ?> 816 816 </label> 817 817 <p class="notice update-nag param_user_logged_in_notice"><?php echo strtr( 818 __('Make sure not to disable anonymous access to %admin_ajax%, otherwise votes from anonymous visitors will not be accepted.', LIKEBTN_I18N_DOMAIN),818 __('Make sure not to disable anonymous access to %admin_ajax%, otherwise votes from anonymous visitors will not be accepted.', 'likebtn-like-button'), 819 819 array('%admin_ajax%'=>'<a href="'.admin_url('admin-ajax.php').'" target="_blank">/wp-admin/admin-ajax.php</a>')) ?></p> 820 820 821 821 <p class="description param_user_logged_in_alert hidden"> 822 822 <br/> 823 <?php _e('Message', LIKEBTN_I18N_DOMAIN); ?>:823 <?php _e('Message', 'likebtn-like-button'); ?>: 824 824 <textarea name="likebtn_user_logged_in_alert_<?php echo $entity_name; ?>" class="likebtn_input" rows="2"><?php echo htmlspecialchars($user_logged_in_alert); ?></textarea> 825 825 </p> … … 827 827 </tr> 828 828 <tr> 829 <th scope="row"><label><?php _e('Like box', LIKEBTN_I18N_DOMAIN); ?></label>830 <i class="likebtn_help" title="<?php _e('List of users who liked an item', LIKEBTN_I18N_DOMAIN); ?>"> </i>829 <th scope="row"><label><?php _e('Like box', 'likebtn-like-button'); ?></label> 830 <i class="likebtn_help" title="<?php _e('List of users who liked an item', 'likebtn-like-button'); ?>"> </i> 831 831 </th> 832 832 <td> 833 833 <label> 834 <input type="radio" name="likebtn_like_box_<?php echo $entity_name; ?>" value="" class="like_box_radio" <?php checked('', get_option('likebtn_like_box_' . $entity_name)) ?> /><?php _e('Disabled', LIKEBTN_I18N_DOMAIN); ?>834 <input type="radio" name="likebtn_like_box_<?php echo $entity_name; ?>" value="" class="like_box_radio" <?php checked('', get_option('likebtn_like_box_' . $entity_name)) ?> /><?php _e('Disabled', 'likebtn-like-button'); ?> 835 835 </label> 836 836 837 837 <label> 838 <input type="radio" name="likebtn_like_box_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_LIKE_BOX_AFTER; ?>" class="like_box_radio" <?php checked(LIKEBTN_LIKE_BOX_AFTER, get_option('likebtn_like_box_' . $entity_name)) ?> /><?php _e('After the button', LIKEBTN_I18N_DOMAIN); ?>838 <input type="radio" name="likebtn_like_box_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_LIKE_BOX_AFTER; ?>" class="like_box_radio" <?php checked(LIKEBTN_LIKE_BOX_AFTER, get_option('likebtn_like_box_' . $entity_name)) ?> /><?php _e('After the button', 'likebtn-like-button'); ?> 839 839 </label> 840 840 841 841 <label> 842 <input type="radio" name="likebtn_like_box_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_LIKE_BOX_BEFORE; ?>" class="like_box_radio" <?php checked(LIKEBTN_LIKE_BOX_BEFORE, get_option('likebtn_like_box_' . $entity_name)) ?> /><?php _e('Before the button', LIKEBTN_I18N_DOMAIN); ?>842 <input type="radio" name="likebtn_like_box_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_LIKE_BOX_BEFORE; ?>" class="like_box_radio" <?php checked(LIKEBTN_LIKE_BOX_BEFORE, get_option('likebtn_like_box_' . $entity_name)) ?> /><?php _e('Before the button', 'likebtn-like-button'); ?> 843 843 </label> 844 844 <div class="param_like_box hidden" > 845 <small><a target="_blank" href="<?php _e('https://likebtn.com/en/', LIKEBTN_I18N_DOMAIN); ?>wordpress-like-button-plugin#like_box_template"><?php _e('How to alter like box template?', LIKEBTN_I18N_DOMAIN); ?></a></small> | <small><a href="javascript:jQuery('#like_box_help').toggle();void(0);"><?php _e('Do not see voters in the Like box?', LIKEBTN_I18N_DOMAIN); ?></a></small>845 <small><a target="_blank" href="<?php _e('https://likebtn.com/en/', 'likebtn-like-button'); ?>wordpress-like-button-plugin#like_box_template"><?php _e('How to alter like box template?', 'likebtn-like-button'); ?></a></small> | <small><a href="javascript:jQuery('#like_box_help').toggle();void(0);"><?php _e('Do not see voters in the Like box?', 'likebtn-like-button'); ?></a></small> 846 846 <p class="notice update-nag" id="like_box_help" style="display:none"> 847 ● <?php _e('Make sure that you are logged in when voting, otherwise the vote will be accepted from anonymous user and not visible in the Like box.', LIKEBTN_I18N_DOMAIN) ?><br/>848 ● <?php echo strtr(__('Make sure that you have not voted for the particular post from your current IP address during the %a_begin%"IP voting interval"%a_end% as in this case your vote will not be accepted (unless you\'ve enabled tracking voters by Username).', LIKEBTN_I18N_DOMAIN), array('%a_begin%'=>'<a href="'.admin_url().'admin.php?page=likebtn_settings#ip_vote_interval">', '%a_end%'=>'</a>')) ?><br/>849 ● <?php _e('Like box will not be updated for non-logged in visitors if you have a WP Super Cache or similar plugin enabled, which is caching all the pages: disable page caching or clean the cache in order to see updated Like box.', LIKEBTN_I18N_DOMAIN) ?>847 ● <?php _e('Make sure that you are logged in when voting, otherwise the vote will be accepted from anonymous user and not visible in the Like box.', 'likebtn-like-button') ?><br/> 848 ● <?php echo strtr(__('Make sure that you have not voted for the particular post from your current IP address during the %a_begin%"IP voting interval"%a_end% as in this case your vote will not be accepted (unless you\'ve enabled tracking voters by Username).', 'likebtn-like-button'), array('%a_begin%'=>'<a href="'.admin_url().'admin.php?page=likebtn_settings#ip_vote_interval">', '%a_end%'=>'</a>')) ?><br/> 849 ● <?php _e('Like box will not be updated for non-logged in visitors if you have a WP Super Cache or similar plugin enabled, which is caching all the pages: disable page caching or clean the cache in order to see updated Like box.', 'likebtn-like-button') ?> 850 850 </p> 851 851 </div> … … 853 853 </tr> 854 854 <tr valign="top" class="param_like_box hidden"> 855 <th scope="row"><label><?php _e('Like box size', LIKEBTN_I18N_DOMAIN); ?></label>856 <i class="likebtn_help" title="<?php _e('Number of users to display in the like box', LIKEBTN_I18N_DOMAIN); ?>"> </i>857 </th> 858 <td> 859 <input type="number" name="likebtn_like_box_size_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_like_box_size_' . $entity_name) ? get_option('likebtn_like_box_size_' . $entity_name) : $likebtn_buttons_options['likebtn_like_box_size']); ?>" class="likebtn_input likebtn_i_sm" min="1" maxlength="3"/> (<?php _e('users', LIKEBTN_I18N_DOMAIN); ?>)855 <th scope="row"><label><?php _e('Like box size', 'likebtn-like-button'); ?></label> 856 <i class="likebtn_help" title="<?php _e('Number of users to display in the like box', 'likebtn-like-button'); ?>"> </i> 857 </th> 858 <td> 859 <input type="number" name="likebtn_like_box_size_<?php echo $entity_name; ?>" value="<?php echo (get_option('likebtn_like_box_size_' . $entity_name) ? get_option('likebtn_like_box_size_' . $entity_name) : $likebtn_buttons_options['likebtn_like_box_size']); ?>" class="likebtn_input likebtn_i_sm" min="1" maxlength="3"/> (<?php _e('users', 'likebtn-like-button'); ?>) 860 860 </td> 861 861 </tr> 862 862 <tr valign="top" class="param_like_box hidden"> 863 <th scope="row"><label><?php _e('Like box users', LIKEBTN_I18N_DOMAIN); ?></label>863 <th scope="row"><label><?php _e('Like box users', 'likebtn-like-button'); ?></label> 864 864 </th> 865 865 <td> 866 866 <label> 867 <input type="radio" name="likebtn_like_box_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTE_LIKE; ?>" <?php if (get_option('likebtn_like_box_type_' . $entity_name) == LIKEBTN_VOTE_LIKE || get_option('likebtn_like_box_type_' . $entity_name) == ''): ?>checked="checked"<?php endif ?> /><?php _e('Likers', LIKEBTN_I18N_DOMAIN); ?>867 <input type="radio" name="likebtn_like_box_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTE_LIKE; ?>" <?php if (get_option('likebtn_like_box_type_' . $entity_name) == LIKEBTN_VOTE_LIKE || get_option('likebtn_like_box_type_' . $entity_name) == ''): ?>checked="checked"<?php endif ?> /><?php _e('Likers', 'likebtn-like-button'); ?> 868 868 </label> 869 869 870 870 <label> 871 <input type="radio" name="likebtn_like_box_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTE_DISLIKE; ?>" <?php checked(LIKEBTN_VOTE_DISLIKE, get_option('likebtn_like_box_type_' . $entity_name)) ?> /><?php _e('Dislikers', LIKEBTN_I18N_DOMAIN); ?>871 <input type="radio" name="likebtn_like_box_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTE_DISLIKE; ?>" <?php checked(LIKEBTN_VOTE_DISLIKE, get_option('likebtn_like_box_type_' . $entity_name)) ?> /><?php _e('Dislikers', 'likebtn-like-button'); ?> 872 872 </label> 873 873 874 874 <label> 875 <input type="radio" name="likebtn_like_box_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTE_BOTH; ?>" <?php checked(LIKEBTN_VOTE_BOTH, get_option('likebtn_like_box_type_' . $entity_name)) ?> /><?php _e('Likers & dislikers', LIKEBTN_I18N_DOMAIN); ?>875 <input type="radio" name="likebtn_like_box_type_<?php echo $entity_name; ?>" value="<?php echo LIKEBTN_VOTE_BOTH; ?>" <?php checked(LIKEBTN_VOTE_BOTH, get_option('likebtn_like_box_type_' . $entity_name)) ?> /><?php _e('Likers & dislikers', 'likebtn-like-button'); ?> 876 876 </label> 877 877 </td> 878 878 </tr> 879 879 <tr valign="top" class="param_like_box hidden"> 880 <th scope="row"><label><?php _e('Like box text', LIKEBTN_I18N_DOMAIN); ?></label>880 <th scope="row"><label><?php _e('Like box text', 'likebtn-like-button'); ?></label> 881 881 </th> 882 882 <td> … … 885 885 </tr> 886 886 <tr valign="top"> 887 <th scope="row"><label><?php _e('HTML before the button', LIKEBTN_I18N_DOMAIN); ?></label>888 <?php /*<i class="likebtn_help" title="<?php _e('HTML code to insert before the Like Button', LIKEBTN_I18N_DOMAIN); ?>"> </i>*/ ?>887 <th scope="row"><label><?php _e('HTML before the button', 'likebtn-like-button'); ?></label> 888 <?php /*<i class="likebtn_help" title="<?php _e('HTML code to insert before the Like Button', 'likebtn-like-button'); ?>"> </i>*/ ?> 889 889 </th> 890 890 <td> … … 893 893 </tr> 894 894 <tr valign="top"> 895 <th scope="row"><label><?php _e('HTML after the button', LIKEBTN_I18N_DOMAIN); ?></label>896 <?php /*<i class="likebtn_help" title="<?php _e('HTML code to insert after the Like Button', LIKEBTN_I18N_DOMAIN); ?>"> </i>*/ ?>895 <th scope="row"><label><?php _e('HTML after the button', 'likebtn-like-button'); ?></label> 896 <?php /*<i class="likebtn_help" title="<?php _e('HTML code to insert after the Like Button', 'likebtn-like-button'); ?>"> </i>*/ ?> 897 897 </th> 898 898 <td> … … 901 901 </tr> 902 902 <tr valign="top"> 903 <th scope="row"><label><?php _e('Display on a new line', LIKEBTN_I18N_DOMAIN); ?></label>904 <i class="likebtn_help" title="<?php _e("Add a 'clear:both' style to the like button container", LIKEBTN_I18N_DOMAIN); ?>"> </i>903 <th scope="row"><label><?php _e('Display on a new line', 'likebtn-like-button'); ?></label> 904 <i class="likebtn_help" title="<?php _e("Add a 'clear:both' style to the like button container", 'likebtn-like-button'); ?>"> </i> 905 905 </th> 906 906 <td> … … 909 909 </tr> 910 910 <tr valign="top"> 911 <th scope="row"><label><?php _e('Wrap button in a div', LIKEBTN_I18N_DOMAIN); ?></label>912 <i class="likebtn_help" title="<?php _e("If disabled alignment and new line options have no affect", LIKEBTN_I18N_DOMAIN); ?>"> </i>911 <th scope="row"><label><?php _e('Wrap button in a div', 'likebtn-like-button'); ?></label> 912 <i class="likebtn_help" title="<?php _e("If disabled alignment and new line options have no affect", 'likebtn-like-button'); ?>"> </i> 913 913 </th> 914 914 <td> 915 915 <input type="checkbox" name="likebtn_wrap_<?php echo $entity_name; ?>" value="1" class="likebtn_wrap" <?php checked('1', get_option('likebtn_wrap_' . $entity_name)) ?> /> 916 <p class="notice update-nag param_wrap"><?php echo __('If wrapping button in a div is disabled horizontal alignment option has no effect.', LIKEBTN_I18N_DOMAIN) ?></p>916 <p class="notice update-nag param_wrap"><?php echo __('If wrapping button in a div is disabled horizontal alignment option has no effect.', 'likebtn-like-button') ?></p> 917 917 </td> 918 918 </tr> … … 922 922 923 923 <div class="postbox likebtn_tab_extset hidden" id="likebtn_extset_tab_popup"> 924 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Popup', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>924 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Popup', 'likebtn-like-button'); ?></h3>*/ ?> 925 925 <div class="inside"> 926 926 <table class="form-table"> 927 927 <tr valign="top" class="plan_dependent plan_vip"> 928 <th scope="row"><label><?php _e('Disable popup', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="VIP / ULTRA"></i></label></th>928 <th scope="row"><label><?php _e('Disable popup', 'likebtn-like-button'); ?> <i class="premium_feature" title="VIP / ULTRA"></i></label></th> 929 929 <td> 930 930 <input type="checkbox" name="likebtn_settings_popup_disabled_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_popup_disabled_' . $entity_name)); ?> /> … … 932 932 </tr> 933 933 <tr valign="top"> 934 <th scope="row"><label><?php _e('Show popup on disliking', LIKEBTN_I18N_DOMAIN); ?></label></th>934 <th scope="row"><label><?php _e('Show popup on disliking', 'likebtn-like-button'); ?></label></th> 935 935 <td> 936 936 <input type="checkbox" name="likebtn_settings_popup_dislike_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_popup_dislike_' . $entity_name)); ?> /> … … 938 938 </tr> 939 939 <tr valign="top"> 940 <th scope="row"><label><?php _e('Show popup on button load', LIKEBTN_I18N_DOMAIN); ?></label></th>940 <th scope="row"><label><?php _e('Show popup on button load', 'likebtn-like-button'); ?></label></th> 941 941 <td> 942 942 <input type="checkbox" name="likebtn_settings_popup_on_load_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_popup_on_load_' . $entity_name)); ?> /> … … 944 944 </tr> 945 945 <tr valign="top"> 946 <th scope="row"><label><?php _e('Popup position', LIKEBTN_I18N_DOMAIN); ?></label></th>946 <th scope="row"><label><?php _e('Popup position', 'likebtn-like-button'); ?></label></th> 947 947 <td> 948 948 <div class="image_toggle"> 949 949 <input type="radio" name="likebtn_settings_popup_position_<?php echo $entity_name; ?>" id="likebtn_settings_popup_position_<?php echo $entity_name; ?>_top" value="top" <?php checked('top', get_option('likebtn_settings_popup_position_' . $entity_name)); ?>> 950 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_top"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/top.png" alt="<?php _e('top', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('top', LIKEBTN_I18N_DOMAIN); ?>" /></label>950 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_top"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/top.png" alt="<?php _e('top', 'likebtn-like-button'); ?>" title="<?php _e('top', 'likebtn-like-button'); ?>" /></label> 951 951 952 952 <input type="radio" name="likebtn_settings_popup_position_<?php echo $entity_name; ?>" id="likebtn_settings_popup_position_<?php echo $entity_name; ?>_right" value="right" <?php checked('right', get_option('likebtn_settings_popup_position_' . $entity_name)); ?>> 953 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_right"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/right.png" alt="<?php _e('right', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('right', LIKEBTN_I18N_DOMAIN); ?>" /></label>953 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_right"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/right.png" alt="<?php _e('right', 'likebtn-like-button'); ?>" title="<?php _e('right', 'likebtn-like-button'); ?>" /></label> 954 954 955 955 <input type="radio" name="likebtn_settings_popup_position_<?php echo $entity_name; ?>" id="likebtn_settings_popup_position_<?php echo $entity_name; ?>_bottom" value="bottom" <?php checked('bottom', get_option('likebtn_settings_popup_position_' . $entity_name)); ?>> 956 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_bottom"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/bottom.png" alt="<?php _e('bottom', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('bottom', LIKEBTN_I18N_DOMAIN); ?>" /></label>956 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_bottom"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/bottom.png" alt="<?php _e('bottom', 'likebtn-like-button'); ?>" title="<?php _e('bottom', 'likebtn-like-button'); ?>" /></label> 957 957 958 958 <input type="radio" name="likebtn_settings_popup_position_<?php echo $entity_name; ?>" id="likebtn_settings_popup_position_<?php echo $entity_name; ?>_left" value="left" <?php checked('left', get_option('likebtn_settings_popup_position_' . $entity_name)); ?>> 959 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_left"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/left.png" alt="<?php _e('left', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('left', LIKEBTN_I18N_DOMAIN); ?>" /></label>959 <label for="likebtn_settings_popup_position_<?php echo $entity_name; ?>_left"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_position/left.png" alt="<?php _e('left', 'likebtn-like-button'); ?>" title="<?php _e('left', 'likebtn-like-button'); ?>" /></label> 960 960 </div> 961 961 </td> 962 962 </tr> 963 963 <tr valign="top"> 964 <th scope="row"><label><?php _e('Popup style', LIKEBTN_I18N_DOMAIN); ?></label></th>964 <th scope="row"><label><?php _e('Popup style', 'likebtn-like-button'); ?></label></th> 965 965 <td> 966 966 <div class="image_toggle"> 967 967 <input type="radio" name="likebtn_settings_popup_style_<?php echo $entity_name; ?>" id="likebtn_settings_popup_style_<?php echo $entity_name; ?>_light" value="light" <?php checked('light', get_option('likebtn_settings_popup_style_' . $entity_name)); ?>> 968 <label for="likebtn_settings_popup_style_<?php echo $entity_name; ?>_light"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_style/light.png" alt="<?php _e('light', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('light', LIKEBTN_I18N_DOMAIN); ?>" /></label>968 <label for="likebtn_settings_popup_style_<?php echo $entity_name; ?>_light"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_style/light.png" alt="<?php _e('light', 'likebtn-like-button'); ?>" title="<?php _e('light', 'likebtn-like-button'); ?>" /></label> 969 969 <input type="radio" name="likebtn_settings_popup_style_<?php echo $entity_name; ?>" id="likebtn_settings_popup_style_<?php echo $entity_name; ?>_dark" value="dark" <?php checked('dark', get_option('likebtn_settings_popup_style_' . $entity_name)); ?>> 970 <label for="likebtn_settings_popup_style_<?php echo $entity_name; ?>_dark"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_style/dark.png" alt="<?php _e('dark', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('dark', LIKEBTN_I18N_DOMAIN); ?>" /></label>970 <label for="likebtn_settings_popup_style_<?php echo $entity_name; ?>_dark"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_style/dark.png" alt="<?php _e('dark', 'likebtn-like-button'); ?>" title="<?php _e('dark', 'likebtn-like-button'); ?>" /></label> 971 971 </div> 972 972 </td> 973 973 </tr> 974 974 <tr valign="top"> 975 <th scope="row"><label><?php _e('Popup width', LIKEBTN_I18N_DOMAIN); ?></label></th>975 <th scope="row"><label><?php _e('Popup width', 'likebtn-like-button'); ?></label></th> 976 976 <td> 977 977 <input type="number" name="likebtn_settings_popup_width_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_popup_width_' . $entity_name); ?>" size="8"/> … … 979 979 </tr> 980 980 <tr valign="top"> 981 <th scope="row"><label><?php _e('Hide popup when clicking outside', LIKEBTN_I18N_DOMAIN); ?></label></th>981 <th scope="row"><label><?php _e('Hide popup when clicking outside', 'likebtn-like-button'); ?></label></th> 982 982 <td> 983 983 <input type="checkbox" name="likebtn_settings_popup_hide_on_outside_click_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_popup_hide_on_outside_click_' . $entity_name)); ?> /> … … 985 985 </tr> 986 986 <tr valign="top" class="plan_dependent plan_vip"> 987 <th scope="row"><label><?php _e('Donate buttons', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="VIP / ULTRA"></i></label></th>987 <th scope="row"><label><?php _e('Donate buttons', 'likebtn-like-button'); ?> <i class="premium_feature" title="VIP / ULTRA"></i></label></th> 988 988 <td> 989 989 <div id="donate_wrapper"> 990 990 <div id="donate_pveview" class="likebtn_input"></div> 991 991 992 <a href="javascript:likebtnDG('popup_donate_input', false, {width: '80%'}, {preview_container: '#donate_pveview'});void(0);" id="popup_donate_trigger"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_donate.png" alt="<?php _e('Configure donate buttons', LIKEBTN_I18N_DOMAIN); ?>"></a>992 <a href="javascript:likebtnDG('popup_donate_input', false, {width: '80%'}, {preview_container: '#donate_pveview'});void(0);" id="popup_donate_trigger"><img src="<?php echo _likebtn_get_public_url() ?>img/popup_donate.png" alt="<?php _e('Configure donate buttons', 'likebtn-like-button'); ?>"></a> 993 993 </div> 994 994 … … 996 996 997 997 <p class="description"> 998 <?php _e('Collect donations using', LIKEBTN_I18N_DOMAIN); ?> <a href="https://www.paypal.com" target="_blank">PayPal</a>, <a href="https://bitcoin.org" target="_blank">Bitcoin</a>, <a href="https://wallet.google.com" target="_blank">Google Wallet</a>, <a href="https://money.yandex.ru" target="_blank">Yandex.Money</a>, <a href="http://www.webmoney.ru" target="_blank">Webmoney</a>, <a href="https://qiwi.ru" target="_blank">Qiwi</a>, <a href="http://smscoin.com" target="_blank">SmsCoin</a>, <a href="https://zaypay.com" target="_blank"><?php _e('Zaypay Mobile Payments', LIKEBTN_I18N_DOMAIN); ?></a>.998 <?php _e('Collect donations using', 'likebtn-like-button'); ?> <a href="https://www.paypal.com" target="_blank">PayPal</a>, <a href="https://bitcoin.org" target="_blank">Bitcoin</a>, <a href="https://wallet.google.com" target="_blank">Google Wallet</a>, <a href="https://money.yandex.ru" target="_blank">Yandex.Money</a>, <a href="http://www.webmoney.ru" target="_blank">Webmoney</a>, <a href="https://qiwi.ru" target="_blank">Qiwi</a>, <a href="http://smscoin.com" target="_blank">SmsCoin</a>, <a href="https://zaypay.com" target="_blank"><?php _e('Zaypay Mobile Payments', 'likebtn-like-button'); ?></a>. 999 999 </p> 1000 1000 </td> 1001 1001 </tr> 1002 1002 <tr valign="top" class="plan_dependent plan_pro"> 1003 <th scope="row"><label><?php _e('Custom HTML', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="PRO / VIP / ULTRA"></i></label>1004 <i class="likebtn_help" title="<?php _e("Custom HTML to insert into the popup", LIKEBTN_I18N_DOMAIN); ?>"> </i>1003 <th scope="row"><label><?php _e('Custom HTML', 'likebtn-like-button'); ?> <i class="premium_feature" title="PRO / VIP / ULTRA"></i></label> 1004 <i class="likebtn_help" title="<?php _e("Custom HTML to insert into the popup", 'likebtn-like-button'); ?>"> </i> 1005 1005 </th> 1006 1006 <td> … … 1009 1009 </tr> 1010 1010 <tr valign="top"> 1011 <th scope="row"><label><?php _e('Popup content order', LIKEBTN_I18N_DOMAIN); ?></label></th>1011 <th scope="row"><label><?php _e('Popup content order', 'likebtn-like-button'); ?></label></th> 1012 1012 <td> 1013 1013 <select id="settings_popup_content_order" multiple="multiple" class="likebtn_input"> 1014 <option value="popup_donate" ><?php _e('Donate buttons', LIKEBTN_I18N_DOMAIN); ?></option>1015 <option value="popup_share" ><?php _e('Share buttons', LIKEBTN_I18N_DOMAIN); ?></option>1016 <option value="popup_html" ><?php _e('Custom HTML', LIKEBTN_I18N_DOMAIN); ?></option>1014 <option value="popup_donate" ><?php _e('Donate buttons', 'likebtn-like-button'); ?></option> 1015 <option value="popup_share" ><?php _e('Share buttons', 'likebtn-like-button'); ?></option> 1016 <option value="popup_html" ><?php _e('Custom HTML', 'likebtn-like-button'); ?></option> 1017 1017 </select> 1018 1018 … … 1025 1025 1026 1026 <div class="postbox likebtn_tab_extset hidden" id="likebtn_extset_tab_voting"> 1027 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Voting', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>1027 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Voting', 'likebtn-like-button'); ?></h3>*/ ?> 1028 1028 <div class="inside"> 1029 1029 <table class="form-table"> 1030 1030 <tr valign="top"> 1031 <th scope="row"><label><?php _e('Allow voting', LIKEBTN_I18N_DOMAIN); ?></label></th>1031 <th scope="row"><label><?php _e('Allow voting', 'likebtn-like-button'); ?></label></th> 1032 1032 <td> 1033 1033 <input type="checkbox" name="likebtn_settings_voting_enabled_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_voting_enabled_' . $entity_name)); ?> /> … … 1035 1035 </tr> 1036 1036 <tr valign="top"> 1037 <th scope="row"><label><?php _e('Allow to cancel a vote', LIKEBTN_I18N_DOMAIN); ?></label></th>1037 <th scope="row"><label><?php _e('Allow to cancel a vote', 'likebtn-like-button'); ?></label></th> 1038 1038 <td> 1039 1039 <input type="checkbox" name="likebtn_settings_voting_cancelable_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_voting_cancelable_' . $entity_name)); ?> /> … … 1041 1041 </tr> 1042 1042 <tr valign="top"> 1043 <th scope="row"><label><?php _e('Allow to like and dislike at the same time', LIKEBTN_I18N_DOMAIN); ?></label></th>1043 <th scope="row"><label><?php _e('Allow to like and dislike at the same time', 'likebtn-like-button'); ?></label></th> 1044 1044 <td> 1045 1045 <input type="checkbox" name="likebtn_settings_voting_both_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_voting_both_' . $entity_name)); ?> /> … … 1047 1047 </tr> 1048 1048 <tr valign="top"> 1049 <th scope="row"><label><?php _e('How often visitor can vote', LIKEBTN_I18N_DOMAIN); ?></label>1049 <th scope="row"><label><?php _e('How often visitor can vote', 'likebtn-like-button'); ?></label> 1050 1050 </th> 1051 1051 <td> 1052 1052 <select name="likebtn_settings_voting_frequency_<?php echo $entity_name; ?>"> 1053 <option value=""><?php _e('Once', LIKEBTN_I18N_DOMAIN); ?> (<?php _e('default', LIKEBTN_I18N_DOMAIN); ?>)</option>1054 <option value="1" <?php selected('1', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Unlimited', LIKEBTN_I18N_DOMAIN); ?> *</option>1055 <option value="60" <?php selected('60', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Every minute', LIKEBTN_I18N_DOMAIN); ?> *</option>1056 <option value="3600" <?php selected('3600', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Hourly', LIKEBTN_I18N_DOMAIN); ?> *</option>1057 <option value="86400" <?php selected('86400', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Daily', LIKEBTN_I18N_DOMAIN); ?></option>1058 <option value="604800" <?php selected('604800', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Weekly', LIKEBTN_I18N_DOMAIN); ?></option>1059 <option value="2592000" <?php selected('2592000', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Monthly', LIKEBTN_I18N_DOMAIN); ?></option>1060 <option value="31536000" <?php selected('31536000', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Annually', LIKEBTN_I18N_DOMAIN); ?></option>1053 <option value=""><?php _e('Once', 'likebtn-like-button'); ?> (<?php _e('default', 'likebtn-like-button'); ?>)</option> 1054 <option value="1" <?php selected('1', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Unlimited', 'likebtn-like-button'); ?> *</option> 1055 <option value="60" <?php selected('60', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Every minute', 'likebtn-like-button'); ?> *</option> 1056 <option value="3600" <?php selected('3600', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Hourly', 'likebtn-like-button'); ?> *</option> 1057 <option value="86400" <?php selected('86400', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Daily', 'likebtn-like-button'); ?></option> 1058 <option value="604800" <?php selected('604800', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Weekly', 'likebtn-like-button'); ?></option> 1059 <option value="2592000" <?php selected('2592000', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Monthly', 'likebtn-like-button'); ?></option> 1060 <option value="31536000" <?php selected('31536000', get_option('likebtn_settings_voting_frequency_' . $entity_name)); ?> ><?php _e('Annually', 'likebtn-like-button'); ?></option> 1061 1061 </select> 1062 1062 <p class="description"> 1063 1063 * <?php echo strtr( 1064 __('Make sure that its value is larger than <a href="%url_interval%">IP address vote interval</a> of your website (default IP address vote interval is 24 hours).', LIKEBTN_I18N_DOMAIN),1064 __('Make sure that its value is larger than <a href="%url_interval%">IP address vote interval</a> of your website (default IP address vote interval is 24 hours).', 'likebtn-like-button'), 1065 1065 array('%url_interval%'=>admin_url().'admin.php?page=likebtn_settings#ip_vote_interval') 1066 1066 ); ?> … … 1069 1069 </tr> 1070 1070 <tr valign="top"> 1071 <th scope="row"><label><?php _e('Display a read-only button to the post author', LIKEBTN_I18N_DOMAIN); ?></label>1071 <th scope="row"><label><?php _e('Display a read-only button to the post author', 'likebtn-like-button'); ?></label> 1072 1072 </th> 1073 1073 <td> … … 1076 1076 </tr> 1077 1077 <tr valign="top"> 1078 <th scope="row"><label><?php _e('Voting period', LIKEBTN_I18N_DOMAIN); ?></label>1079 <i class="likebtn_help" title="<?php _e("After the specified period of time the button will be displayed in a read-only mode", LIKEBTN_I18N_DOMAIN); ?>"> </i>1078 <th scope="row"><label><?php _e('Voting period', 'likebtn-like-button'); ?></label> 1079 <i class="likebtn_help" title="<?php _e("After the specified period of time the button will be displayed in a read-only mode", 'likebtn-like-button'); ?>"> </i> 1080 1080 </th> 1081 1081 <td> 1082 1082 <select name="likebtn_voting_period_<?php echo $entity_name; ?>" class="likebtn_input voting_period" id="likebtn_voting_period"> 1083 <option value=""><?php _e('Voting is always active', LIKEBTN_I18N_DOMAIN); ?></option>1084 <option value="<?php echo LIKEBTN_VOTING_PERIOD_DATE ?>" <?php selected(LIKEBTN_VOTING_PERIOD_DATE, get_option('likebtn_voting_period_' . $entity_name)); ?> ><?php _e('Voting is active till specific date', LIKEBTN_I18N_DOMAIN); ?></option>1085 <option value="<?php echo LIKEBTN_VOTING_PERIOD_CREATED ?>" <?php selected(LIKEBTN_VOTING_PERIOD_CREATED, get_option('likebtn_voting_period_' . $entity_name)); ?> ><?php _e('Voting is active for a period of time since item publication', LIKEBTN_I18N_DOMAIN); ?></option>1083 <option value=""><?php _e('Voting is always active', 'likebtn-like-button'); ?></option> 1084 <option value="<?php echo LIKEBTN_VOTING_PERIOD_DATE ?>" <?php selected(LIKEBTN_VOTING_PERIOD_DATE, get_option('likebtn_voting_period_' . $entity_name)); ?> ><?php _e('Voting is active till specific date', 'likebtn-like-button'); ?></option> 1085 <option value="<?php echo LIKEBTN_VOTING_PERIOD_CREATED ?>" <?php selected(LIKEBTN_VOTING_PERIOD_CREATED, get_option('likebtn_voting_period_' . $entity_name)); ?> ><?php _e('Voting is active for a period of time since item publication', 'likebtn-like-button'); ?></option> 1086 1086 </select> 1087 1087 <div class="param_voting_period param_vp_date hidden"> 1088 1088 <br/> 1089 <?php _e('Date', LIKEBTN_I18N_DOMAIN); ?>: <input type="text" name="likebtn_voting_date_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_voting_date_' . $entity_name); ?>" id="likebtn_voting_date" size="16" class="disabled" />1089 <?php _e('Date', 'likebtn-like-button'); ?>: <input type="text" name="likebtn_voting_date_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_voting_date_' . $entity_name); ?>" id="likebtn_voting_date" size="16" class="disabled" /> 1090 1090 <p class="description"> 1091 <?php _e('Keep in mind that you have to specify your server date and time.', LIKEBTN_I18N_DOMAIN); ?><br/><?php _e('Current server date and time:', LIKEBTN_I18N_DOMAIN); ?> <?php echo date("Y/m/d H:i") ?>1091 <?php _e('Keep in mind that you have to specify your server date and time.', 'likebtn-like-button'); ?><br/><?php _e('Current server date and time:', 'likebtn-like-button'); ?> <?php echo date("Y/m/d H:i") ?> 1092 1092 </p> 1093 1093 </div> … … 1100 1100 </tr> 1101 1101 <tr valign="top"> 1102 <th scope="row"><label><?php _e('Allow to vote for one post only', LIKEBTN_I18N_DOMAIN); ?></label>1102 <th scope="row"><label><?php _e('Allow to vote for one post only', 'likebtn-like-button'); ?></label> 1103 1103 </th> 1104 1104 <td> … … 1111 1111 1112 1112 <div class="postbox likebtn_tab_extset hidden" id="likebtn_extset_tab_counter"> 1113 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Counter', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>1113 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Counter', 'likebtn-like-button'); ?></h3>*/ ?> 1114 1114 <div class="inside"> 1115 1115 <table class="form-table"> 1116 1116 <tr valign="top"> 1117 <th scope="row"><label><?php _e('Show votes counter', LIKEBTN_I18N_DOMAIN); ?></label></th>1117 <th scope="row"><label><?php _e('Show votes counter', 'likebtn-like-button'); ?></label></th> 1118 1118 <td> 1119 1119 <input type="checkbox" name="likebtn_settings_counter_show_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_counter_show_' . $entity_name)); ?> /> … … 1121 1121 </tr> 1122 1122 <tr valign="top"> 1123 <th scope="row"><label><?php _e('Votes counter is clickable', LIKEBTN_I18N_DOMAIN); ?></label></th>1123 <th scope="row"><label><?php _e('Votes counter is clickable', 'likebtn-like-button'); ?></label></th> 1124 1124 <td> 1125 1125 <input type="checkbox" name="likebtn_settings_counter_clickable_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_counter_clickable_' . $entity_name)); ?> /> … … 1128 1128 1129 1129 <tr valign="top"> 1130 <th scope="row"><label><?php _e('Counter format', LIKEBTN_I18N_DOMAIN); ?></label></th>1130 <th scope="row"><label><?php _e('Counter format', 'likebtn-like-button'); ?></label></th> 1131 1131 <td> 1132 1132 <select name="likebtn_settings_counter_frmt_<?php echo $entity_name; ?>"> 1133 <option value="" <?php selected('', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Without thousands separator', LIKEBTN_I18N_DOMAIN); ?> (3700)</option>1134 <option value="space" <?php selected('space', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Space as thousands separator', LIKEBTN_I18N_DOMAIN); ?> (3 700)</option>1135 <option value="comma" <?php selected('comma', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Comma as thousands separator', LIKEBTN_I18N_DOMAIN); ?> (3,700)</option>1136 <option value="period" <?php selected('period', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Period as thousands separator', LIKEBTN_I18N_DOMAIN); ?> (3.700)</option>1137 <option value="apo" <?php selected('apo', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Apostrophe as thousands separator', LIKEBTN_I18N_DOMAIN); ?> (3'700)</option>1138 <option value="km" <?php selected('km', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('K for thousands (3.7K), M for millions (15.2M)', LIKEBTN_I18N_DOMAIN); ?></option>1133 <option value="" <?php selected('', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Without thousands separator', 'likebtn-like-button'); ?> (3700)</option> 1134 <option value="space" <?php selected('space', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Space as thousands separator', 'likebtn-like-button'); ?> (3 700)</option> 1135 <option value="comma" <?php selected('comma', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Comma as thousands separator', 'likebtn-like-button'); ?> (3,700)</option> 1136 <option value="period" <?php selected('period', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Period as thousands separator', 'likebtn-like-button'); ?> (3.700)</option> 1137 <option value="apo" <?php selected('apo', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('Apostrophe as thousands separator', 'likebtn-like-button'); ?> (3'700)</option> 1138 <option value="km" <?php selected('km', get_option('likebtn_settings_counter_frmt_' . $entity_name)); ?> ><?php _e('K for thousands (3.7K), M for millions (15.2M)', 'likebtn-like-button'); ?></option> 1139 1139 </select> 1140 1140 </td> 1141 1141 </tr> 1142 1142 <tr valign="top"> 1143 <th scope="row"><label><?php _e('Counter mask', LIKEBTN_I18N_DOMAIN); ?></label></th>1143 <th scope="row"><label><?php _e('Counter mask', 'likebtn-like-button'); ?></label></th> 1144 1144 <td> 1145 1145 <input type="text" name="likebtn_settings_counter_padding_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_counter_padding_' . $entity_name); ?>" class="likebtn_input" /> 1146 1146 <p class="notice update-nag"><?php _e( 1147 __('For example set the following mask "0000000" if you need the counter to be displayed as 0000001, 0000002 after receiving first, second and so on votes. This parameter does not set value for buttons. If you need to set number of votes for buttons please do so on Statistics tab.', LIKEBTN_I18N_DOMAIN)) ?></p>1148 </td> 1149 </tr> 1150 <tr valign="top"> 1151 <th scope="row"><label><?php _e('Show zero value in counter', LIKEBTN_I18N_DOMAIN); ?></label></th>1147 __('For example set the following mask "0000000" if you need the counter to be displayed as 0000001, 0000002 after receiving first, second and so on votes. This parameter does not set value for buttons. If you need to set number of votes for buttons please do so on Statistics tab.', 'likebtn-like-button')) ?></p> 1148 </td> 1149 </tr> 1150 <tr valign="top"> 1151 <th scope="row"><label><?php _e('Show zero value in counter', 'likebtn-like-button'); ?></label></th> 1152 1152 <td> 1153 1153 <input type="checkbox" name="likebtn_settings_counter_zero_show_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_counter_zero_show_' . $entity_name)); ?> /> … … 1155 1155 </tr> 1156 1156 <tr valign="top"> 1157 <th scope="row"><label><?php _e('Animate number counting', LIKEBTN_I18N_DOMAIN); ?></label></th>1157 <th scope="row"><label><?php _e('Animate number counting', 'likebtn-like-button'); ?></label></th> 1158 1158 <td> 1159 1159 <input type="checkbox" name="likebtn_settings_counter_count_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_counter_count_' . $entity_name)); ?> /> … … 1168 1168 <table class="form-table"> 1169 1169 <tr valign="top" class="plan_dependent plan_plus"> 1170 <th scope="row"><label><?php _e('Show share buttons', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="PLUS / PRO / VIP / ULTRA"></i></label></th>1170 <th scope="row"><label><?php _e('Show share buttons', 'likebtn-like-button'); ?> <i class="premium_feature" title="PLUS / PRO / VIP / ULTRA"></i></label></th> 1171 1171 <td> 1172 1172 <input type="checkbox" name="likebtn_settings_share_enabled_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_share_enabled_' . $entity_name)); ?> /> 1173 <?php /*<span class="description"><?php _e('Use popup_disabled option to enable/disable popup.', LIKEBTN_I18N_DOMAIN); ?></span>*/ ?>1173 <?php /*<span class="description"><?php _e('Use popup_disabled option to enable/disable popup.', 'likebtn-like-button'); ?></span>*/ ?> 1174 1174 </td> 1175 1175 </tr> 1176 1176 <tr valign="top" class="plan_dependent plan_pro"> 1177 1177 <th scope="row"> 1178 <label><?php _e('AddThis share buttons', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="PLUS / PRO / VIP / ULTRA"></i></label>1178 <label><?php _e('AddThis share buttons', 'likebtn-like-button'); ?> <i class="premium_feature" title="PLUS / PRO / VIP / ULTRA"></i></label> 1179 1179 </th> 1180 1180 <td> … … 1187 1187 <input type="hidden" name="likebtn_settings_addthis_service_codes_<?php echo $entity_name; ?>" value="<?php echo $value_addthis_service_codes; ?>" class="likebtn_input" id="settings_addthis_service_codes_input"/> 1188 1188 1189 <p class="description"><?php _e('<a href="http://www.addthis.com" target="_blank">AddThis</a> is the content sharing and social insights platform helping users to share your content and drive viral traffic.', LIKEBTN_I18N_DOMAIN); ?>1189 <p class="description"><?php _e('<a href="http://www.addthis.com" target="_blank">AddThis</a> is the content sharing and social insights platform helping users to share your content and drive viral traffic.', 'likebtn-like-button'); ?> 1190 1190 </p> 1191 1191 </td> 1192 1192 </tr> 1193 1193 <tr valign="top"> 1194 <th scope="row"><label><?php _e('Share buttons size', LIKEBTN_I18N_DOMAIN); ?></label></th>1194 <th scope="row"><label><?php _e('Share buttons size', 'likebtn-like-button'); ?></label></th> 1195 1195 <td> 1196 1196 <div class="image_toggle"> 1197 1197 <input type="radio" name="likebtn_settings_share_size_<?php echo $entity_name; ?>" id="likebtn_settings_share_size_<?php echo $entity_name; ?>_small" value="small" <?php checked('small', get_option('likebtn_settings_share_size_' . $entity_name)); ?> > 1198 <label for="likebtn_settings_share_size_<?php echo $entity_name; ?>_small"><img src="<?php echo _likebtn_get_public_url() ?>img/share_size/small.png" alt="<?php _e('small', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('small', LIKEBTN_I18N_DOMAIN); ?>" /></label>1198 <label for="likebtn_settings_share_size_<?php echo $entity_name; ?>_small"><img src="<?php echo _likebtn_get_public_url() ?>img/share_size/small.png" alt="<?php _e('small', 'likebtn-like-button'); ?>" title="<?php _e('small', 'likebtn-like-button'); ?>" /></label> 1199 1199 1200 1200 <input type="radio" name="likebtn_settings_share_size_<?php echo $entity_name; ?>" id="likebtn_settings_share_size_<?php echo $entity_name; ?>_medium" value="medium" <?php checked('medium', get_option('likebtn_settings_share_size_' . $entity_name)); ?><?php checked('', get_option('likebtn_settings_share_size_' . $entity_name)); ?> > 1201 <label for="likebtn_settings_share_size_<?php echo $entity_name; ?>_medium"><img src="<?php echo _likebtn_get_public_url() ?>img/share_size/medium.png" alt="<?php _e('medium', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('medium', LIKEBTN_I18N_DOMAIN); ?>" /></label>1201 <label for="likebtn_settings_share_size_<?php echo $entity_name; ?>_medium"><img src="<?php echo _likebtn_get_public_url() ?>img/share_size/medium.png" alt="<?php _e('medium', 'likebtn-like-button'); ?>" title="<?php _e('medium', 'likebtn-like-button'); ?>" /></label> 1202 1202 1203 1203 <input type="radio" name="likebtn_settings_share_size_<?php echo $entity_name; ?>" id="likebtn_settings_share_size_<?php echo $entity_name; ?>_large" value="large" <?php checked('large', get_option('likebtn_settings_share_size_' . $entity_name)); ?>> 1204 <label for="likebtn_settings_share_size_<?php echo $entity_name; ?>_large"><img src="<?php echo _likebtn_get_public_url() ?>img/share_size/large.png" alt="<?php _e('large', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('large', LIKEBTN_I18N_DOMAIN); ?>" /></label>1204 <label for="likebtn_settings_share_size_<?php echo $entity_name; ?>_large"><img src="<?php echo _likebtn_get_public_url() ?>img/share_size/large.png" alt="<?php _e('large', 'likebtn-like-button'); ?>" title="<?php _e('large', 'likebtn-like-button'); ?>" /></label> 1205 1205 </div> 1206 1206 </td> 1207 1207 </tr> 1208 1208 <tr valign="top" class="plan_dependent plan_pro"> 1209 <th scope="row"><label><?php _e('AddThis <a href="https://www.addthis.com/settings/publisher" target="_blank">Profile ID</a>', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="PLUS / PRO / VIP / ULTRA"></i></label>1210 <i class="likebtn_help" title="<?php _e("Enter your AddThis Profile ID to collect sharing statistics and view it on AddThis analytics page", LIKEBTN_I18N_DOMAIN); ?>"> </i>1209 <th scope="row"><label><?php _e('AddThis <a href="https://www.addthis.com/settings/publisher" target="_blank">Profile ID</a>', 'likebtn-like-button'); ?> <i class="premium_feature" title="PLUS / PRO / VIP / ULTRA"></i></label> 1210 <i class="likebtn_help" title="<?php _e("Enter your AddThis Profile ID to collect sharing statistics and view it on AddThis analytics page", 'likebtn-like-button'); ?>"> </i> 1211 1211 </th> 1212 1212 <td> … … 1216 1216 <?php if (empty($likebtn_entities_config['likebtn_og'][$entity_name]['hide'])): ?> 1217 1217 <tr valign="top"> 1218 <th scope="row"><label><?php _e('Add Open Graph meta tags', LIKEBTN_I18N_DOMAIN); ?></label></th>1218 <th scope="row"><label><?php _e('Add Open Graph meta tags', 'likebtn-like-button'); ?></label></th> 1219 1219 <td> 1220 1220 <input type="checkbox" name="likebtn_og_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_og_' . $entity_name_clean)); ?> /> 1221 <p class="description"><?php _e('When sharing an item on Facebook it picks up the data (title, thumbnail image, description) from <a href="http://www.addthis.com/blog/2014/07/03/optimize-your-content-recommendations-with-open-graph-tags-2/#.Vn-z8Pl95nJ" target="_blank">Open Graph</a> meta tags. If these tags are not present the social network attempts to fetch information from the page itself. In order to figure out what Facebook sees use <a href="https://developers.facebook.com/tools/debug/" target="_blank">Facebook’s URL Debugger</a>', LIKEBTN_I18N_DOMAIN); ?>1221 <p class="description"><?php _e('When sharing an item on Facebook it picks up the data (title, thumbnail image, description) from <a href="http://www.addthis.com/blog/2014/07/03/optimize-your-content-recommendations-with-open-graph-tags-2/#.Vn-z8Pl95nJ" target="_blank">Open Graph</a> meta tags. If these tags are not present the social network attempts to fetch information from the page itself. In order to figure out what Facebook sees use <a href="https://developers.facebook.com/tools/debug/" target="_blank">Facebook’s URL Debugger</a>', 'likebtn-like-button'); ?> 1222 1222 <?php /*<br/><br/> 1223 <?php _e('Open Graph meta tags can be added to the single post/page only. There is no way to add specific meta tag for each post in the list.', LIKEBTN_I18N_DOMAIN); ?>*/ ?>1223 <?php _e('Open Graph meta tags can be added to the single post/page only. There is no way to add specific meta tag for each post in the list.', 'likebtn-like-button'); ?>*/ ?> 1224 1224 1225 1225 </p> … … 1235 1235 <table class="form-table"> 1236 1236 <tr valign="top"> 1237 <th scope="row"><label><?php _e('Always show Like button tooltip', LIKEBTN_I18N_DOMAIN); ?></label></th>1237 <th scope="row"><label><?php _e('Always show Like button tooltip', 'likebtn-like-button'); ?></label></th> 1238 1238 <td> 1239 1239 <input type="checkbox" name="likebtn_settings_tooltip_like_show_always_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_tooltip_like_show_always_' . $entity_name)); ?> /> … … 1241 1241 </tr> 1242 1242 <tr valign="top"> 1243 <th scope="row"><label><?php _e('Always show Dislike button tooltip', LIKEBTN_I18N_DOMAIN); ?></label></th>1243 <th scope="row"><label><?php _e('Always show Dislike button tooltip', 'likebtn-like-button'); ?></label></th> 1244 1244 <td> 1245 1245 <input type="checkbox" name="likebtn_settings_tooltip_dislike_show_always_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_tooltip_dislike_show_always_' . $entity_name)); ?> /> … … 1251 1251 1252 1252 <div class="postbox likebtn_tab_extset hidden" id="likebtn_extset_tab_misc"> 1253 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Events', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>1253 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Events', 'likebtn-like-button'); ?></h3>*/ ?> 1254 1254 <div class="inside"> 1255 1255 <table class="form-table"> 1256 1256 <tr valign="top"> 1257 <th colspan="2" scope="row"><h3 class="likebtn_subtitle"><?php _e('Loading', LIKEBTN_I18N_DOMAIN); ?></h3></th>1258 </tr> 1259 <tr valign="top"> 1260 <th scope="row"><label><?php _e('Lazy load', LIKEBTN_I18N_DOMAIN); ?></label>1261 <i class="likebtn_help" title="<?php _e("If button is outside a viewport it is loaded when user scrolls to it", LIKEBTN_I18N_DOMAIN); ?>"> </i>1257 <th colspan="2" scope="row"><h3 class="likebtn_subtitle"><?php _e('Loading', 'likebtn-like-button'); ?></h3></th> 1258 </tr> 1259 <tr valign="top"> 1260 <th scope="row"><label><?php _e('Lazy load', 'likebtn-like-button'); ?></label> 1261 <i class="likebtn_help" title="<?php _e("If button is outside a viewport it is loaded when user scrolls to it", 'likebtn-like-button'); ?>"> </i> 1262 1262 </th> 1263 1263 <td> … … 1266 1266 </tr> 1267 1267 <tr valign="top"> 1268 <th scope="row"><label><?php _e('Show loader', LIKEBTN_I18N_DOMAIN); ?></label>1269 <i class="likebtn_help" title="<?php _e("Show loader while loading a button", LIKEBTN_I18N_DOMAIN); ?>"> </i>1268 <th scope="row"><label><?php _e('Show loader', 'likebtn-like-button'); ?></label> 1269 <i class="likebtn_help" title="<?php _e("Show loader while loading a button", 'likebtn-like-button'); ?>"> </i> 1270 1270 </th> 1271 1271 <td> … … 1274 1274 </tr> 1275 1275 <tr valign="top"> 1276 <th scope="row"><label><?php _e('Loader image', LIKEBTN_I18N_DOMAIN); ?></label>1277 <i class="likebtn_help" title="<?php _e("URL of the image to use as loader image (leave empty to display default image)", LIKEBTN_I18N_DOMAIN); ?>"> </i>1276 <th scope="row"><label><?php _e('Loader image', 'likebtn-like-button'); ?></label> 1277 <i class="likebtn_help" title="<?php _e("URL of the image to use as loader image (leave empty to display default image)", 'likebtn-like-button'); ?>"> </i> 1278 1278 </th> 1279 1279 <td> … … 1282 1282 </tr> 1283 1283 <tr valign="top"> 1284 <th colspan="2" scope="row"><h3 class="likebtn_subtitle"><?php _e('Events', LIKEBTN_I18N_DOMAIN); ?></h3></th>1284 <th colspan="2" scope="row"><h3 class="likebtn_subtitle"><?php _e('Events', 'likebtn-like-button'); ?></h3></th> 1285 1285 </tr> 1286 1286 <tr valign="top"> 1287 1287 <th scope="row"> 1288 1288 <label> 1289 <?php _e('JavaScript callback function', LIKEBTN_I18N_DOMAIN); ?></label>1289 <?php _e('JavaScript callback function', 'likebtn-like-button'); ?></label> 1290 1290 </th> 1291 1291 <td class="description"> 1292 1292 <input type="text" name="likebtn_settings_event_handler_<?php echo $entity_name; ?>" value="<?php _e(get_option('likebtn_settings_event_handler_' . $entity_name)); ?>" class="likebtn_input" /> 1293 1293 <p class="description"> 1294 <?php _e('The provided function receives the event object as its single argument. The event object has the following properties:', LIKEBTN_I18N_DOMAIN); ?><br/>1295 <code>type</code> – <?php _e('indicates which event was dispatched:', LIKEBTN_I18N_DOMAIN); ?><br/>1294 <?php _e('The provided function receives the event object as its single argument. The event object has the following properties:', 'likebtn-like-button'); ?><br/> 1295 <code>type</code> – <?php _e('indicates which event was dispatched:', 'likebtn-like-button'); ?><br/> 1296 1296 ● "likebtn.loaded"<br/> 1297 1297 ● "likebtn.like"<br/> … … 1299 1299 ● "likebtn.dislike"<br/> 1300 1300 ● "likebtn.undislike"<br/> 1301 <code>settings</code> – <?php _e('button settings', LIKEBTN_I18N_DOMAIN); ?><br/>1302 <code>wrapper</code> – <?php _e('button DOM-element', LIKEBTN_I18N_DOMAIN); ?>1301 <code>settings</code> – <?php _e('button settings', 'likebtn-like-button'); ?><br/> 1302 <code>wrapper</code> – <?php _e('button DOM-element', 'likebtn-like-button'); ?> 1303 1303 </p> 1304 1304 </td> … … 1310 1310 1311 1311 <div class="postbox likebtn_tab_extset hidden" id="likebtn_extset_tab_texts"> 1312 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Texts', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>1312 <?php /*<h3 style="cursor:pointer" onclick="toggleCollapsable(this)" class="likebtn_collapse_trigger"><small>►</small> <?php _e('Texts', 'likebtn-like-button'); ?></h3>*/ ?> 1313 1313 <div class="inside"> 1314 1314 <table class="form-table"> 1315 1315 <tr valign="top"> 1316 <th scope="row"><label><?php _e('Right-to-left (RTL)', LIKEBTN_I18N_DOMAIN); ?></label></th>1316 <th scope="row"><label><?php _e('Right-to-left (RTL)', 'likebtn-like-button'); ?></label></th> 1317 1317 <td> 1318 1318 <input type="checkbox" name="likebtn_settings_rtl_<?php echo $entity_name; ?>" value="1" <?php checked('1', get_option('likebtn_settings_rtl_' . $entity_name)); ?> /> … … 1320 1320 </tr> 1321 1321 <tr valign="top"> 1322 <th scope="row"><label><?php _e('Like button text after liking', LIKEBTN_I18N_DOMAIN); ?></label></th>1323 <td> 1324 <input type="text" name="likebtn_settings_i18n_after_like_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_after_like_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Like', LIKEBTN_I18N_DOMAIN); ?>"/>1325 </td> 1326 </tr> 1327 <tr valign="top"> 1328 <th scope="row"><label><?php _e('Dislike button text after disliking', LIKEBTN_I18N_DOMAIN); ?></label></th>1329 <td> 1330 <input type="text" name="likebtn_settings_i18n_after_dislike_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_after_dislike_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Dislike', LIKEBTN_I18N_DOMAIN); ?>"/>1331 </td> 1332 </tr> 1333 <tr valign="top"> 1334 <th scope="row"><label><?php _e('Like button tooltip', LIKEBTN_I18N_DOMAIN); ?></label></th>1335 <td> 1336 <input type="text" name="likebtn_settings_i18n_like_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_like_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('I like this', LIKEBTN_I18N_DOMAIN); ?>"/>1337 </td> 1338 </tr> 1339 <tr valign="top"> 1340 <th scope="row"><label><?php _e('Dislike button tooltip', LIKEBTN_I18N_DOMAIN); ?></label></th>1341 <td> 1342 <input type="text" name="likebtn_settings_i18n_dislike_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_dislike_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('I dislike this', LIKEBTN_I18N_DOMAIN); ?>"/>1343 </td> 1344 </tr> 1345 <tr valign="top"> 1346 <th scope="row"><label><?php _e('Like button tooltip after liking', LIKEBTN_I18N_DOMAIN); ?></label></th>1347 <td> 1348 <input type="text" name="likebtn_settings_i18n_unlike_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_unlike_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Unlike', LIKEBTN_I18N_DOMAIN); ?>"/>1349 </td> 1350 </tr> 1351 <tr valign="top"> 1352 <th scope="row"><label><?php _e('Dislike button tooltip after disliking', LIKEBTN_I18N_DOMAIN); ?></label></th>1353 <td> 1354 <input type="text" name="likebtn_settings_i18n_undislike_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_undislike_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Undislike', LIKEBTN_I18N_DOMAIN); ?>"/>1355 </td> 1356 </tr> 1357 <tr valign="top"> 1358 <th scope="row"><label><?php _e('Text before share buttons', LIKEBTN_I18N_DOMAIN); ?></label></th>1359 <td> 1360 <input type="text" name="likebtn_settings_i18n_share_text_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_share_text_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Would you like to share?', LIKEBTN_I18N_DOMAIN); ?>"/>1361 </td> 1362 </tr> 1363 <tr valign="top"> 1364 <th scope="row"><label><?php _e('Popup close button text', LIKEBTN_I18N_DOMAIN); ?></label></th>1365 <td> 1366 <input type="text" name="likebtn_settings_i18n_popup_close_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_popup_close_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Close', LIKEBTN_I18N_DOMAIN); ?>"/>1367 </td> 1368 </tr> 1369 <tr valign="top"> 1370 <th scope="row"><label><?php _e('Popup text when sharing disabled', LIKEBTN_I18N_DOMAIN); ?></label></th>1371 <td> 1372 <input type="text" name="likebtn_settings_i18n_popup_text_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_popup_text_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Glad you liked it!', LIKEBTN_I18N_DOMAIN); ?>"/>1373 </td> 1374 </tr> 1375 <tr valign="top"> 1376 <th scope="row"><label><?php _e('Text before donate buttons', LIKEBTN_I18N_DOMAIN); ?></label></th>1377 <td> 1378 <input type="text" name="likebtn_settings_i18n_popup_donate_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_popup_donate_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Show gratitude in the form of a donation', LIKEBTN_I18N_DOMAIN); ?>"/>1322 <th scope="row"><label><?php _e('Like button text after liking', 'likebtn-like-button'); ?></label></th> 1323 <td> 1324 <input type="text" name="likebtn_settings_i18n_after_like_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_after_like_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Like', 'likebtn-like-button'); ?>"/> 1325 </td> 1326 </tr> 1327 <tr valign="top"> 1328 <th scope="row"><label><?php _e('Dislike button text after disliking', 'likebtn-like-button'); ?></label></th> 1329 <td> 1330 <input type="text" name="likebtn_settings_i18n_after_dislike_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_after_dislike_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Dislike', 'likebtn-like-button'); ?>"/> 1331 </td> 1332 </tr> 1333 <tr valign="top"> 1334 <th scope="row"><label><?php _e('Like button tooltip', 'likebtn-like-button'); ?></label></th> 1335 <td> 1336 <input type="text" name="likebtn_settings_i18n_like_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_like_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('I like this', 'likebtn-like-button'); ?>"/> 1337 </td> 1338 </tr> 1339 <tr valign="top"> 1340 <th scope="row"><label><?php _e('Dislike button tooltip', 'likebtn-like-button'); ?></label></th> 1341 <td> 1342 <input type="text" name="likebtn_settings_i18n_dislike_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_dislike_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('I dislike this', 'likebtn-like-button'); ?>"/> 1343 </td> 1344 </tr> 1345 <tr valign="top"> 1346 <th scope="row"><label><?php _e('Like button tooltip after liking', 'likebtn-like-button'); ?></label></th> 1347 <td> 1348 <input type="text" name="likebtn_settings_i18n_unlike_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_unlike_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Unlike', 'likebtn-like-button'); ?>"/> 1349 </td> 1350 </tr> 1351 <tr valign="top"> 1352 <th scope="row"><label><?php _e('Dislike button tooltip after disliking', 'likebtn-like-button'); ?></label></th> 1353 <td> 1354 <input type="text" name="likebtn_settings_i18n_undislike_tooltip_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_undislike_tooltip_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Undislike', 'likebtn-like-button'); ?>"/> 1355 </td> 1356 </tr> 1357 <tr valign="top"> 1358 <th scope="row"><label><?php _e('Text before share buttons', 'likebtn-like-button'); ?></label></th> 1359 <td> 1360 <input type="text" name="likebtn_settings_i18n_share_text_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_share_text_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Would you like to share?', 'likebtn-like-button'); ?>"/> 1361 </td> 1362 </tr> 1363 <tr valign="top"> 1364 <th scope="row"><label><?php _e('Popup close button text', 'likebtn-like-button'); ?></label></th> 1365 <td> 1366 <input type="text" name="likebtn_settings_i18n_popup_close_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_popup_close_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Close', 'likebtn-like-button'); ?>"/> 1367 </td> 1368 </tr> 1369 <tr valign="top"> 1370 <th scope="row"><label><?php _e('Popup text when sharing disabled', 'likebtn-like-button'); ?></label></th> 1371 <td> 1372 <input type="text" name="likebtn_settings_i18n_popup_text_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_popup_text_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Glad you liked it!', 'likebtn-like-button'); ?>"/> 1373 </td> 1374 </tr> 1375 <tr valign="top"> 1376 <th scope="row"><label><?php _e('Text before donate buttons', 'likebtn-like-button'); ?></label></th> 1377 <td> 1378 <input type="text" name="likebtn_settings_i18n_popup_donate_<?php echo $entity_name; ?>" value="<?php echo get_option('likebtn_settings_i18n_popup_donate_' . $entity_name); ?>" class="likebtn_input likebtn_placeholder" placeholder="<?php _e('Show gratitude in the form of a donation', 'likebtn-like-button'); ?>"/> 1379 1379 </td> 1380 1380 </tr> … … 1382 1382 <tr valign="top"> 1383 1383 <th scope="row" colspan="2"> 1384 <a href="javascript:likebtnPopup('<?php _e('http://likebtn.com/en/translate-like-button-widget', LIKEBTN_I18N_DOMAIN); ?>');void(0);"><?php _e('Send us Translation', LIKEBTN_I18N_DOMAIN); ?></a>1384 <a href="javascript:likebtnPopup('<?php _e('http://likebtn.com/en/translate-like-button-widget', 'likebtn-like-button'); ?>');void(0);"><?php _e('Send us Translation', 'likebtn-like-button'); ?></a> 1385 1385 </td> 1386 1386 </tr> … … 1392 1392 <table class="form-table"> 1393 1393 <tr> 1394 <th scope="row"><label><?php _e('Display notifications on likes & dislikes for users', LIKEBTN_I18N_DOMAIN); ?></label>1395 <i class="likebtn_help" title="<?php _e("Display a notification for the author when other authenticated user likes or dislikes author's content", LIKEBTN_I18N_DOMAIN); ?>"> </i>1394 <th scope="row"><label><?php _e('Display notifications on likes & dislikes for users', 'likebtn-like-button'); ?></label> 1395 <i class="likebtn_help" title="<?php _e("Display a notification for the author when other authenticated user likes or dislikes author's content", 'likebtn-like-button'); ?>"> </i> 1396 1396 </th> 1397 1397 <td> … … 1400 1400 </tr> 1401 1401 <tr> 1402 <th scope="row"><label><?php _e('Record vote action in activity stream', LIKEBTN_I18N_DOMAIN); ?></label>1402 <th scope="row"><label><?php _e('Record vote action in activity stream', 'likebtn-like-button'); ?></label> 1403 1403 </th> 1404 1404 <td> 1405 1405 <input type="checkbox" name="likebtn_bp_activity_<?php echo $entity_name_clean; ?>" value="1" class="bp_activity" <?php checked('1', get_option('likebtn_bp_activity_' . $entity_name_clean)) ?> <?php if (!_likebtn_is_bp_active()): ?>disabled="disabled"<?php endif ?> /> 1406 1406 <br/><p class="description"> 1407 ● <?php _e('If you want to record vote actions for forums in BuddyPress groups, enable this option for (bbPress) Forum Posts', LIKEBTN_I18N_DOMAIN); ?><br/>1408 ● <?php _e('Votes in private groups are NOT displayed in the public activity stream', LIKEBTN_I18N_DOMAIN); ?>1407 ● <?php _e('If you want to record vote actions for forums in BuddyPress groups, enable this option for (bbPress) Forum Posts', 'likebtn-like-button'); ?><br/> 1408 ● <?php _e('Votes in private groups are NOT displayed in the public activity stream', 'likebtn-like-button'); ?> 1409 1409 </p> 1410 1410 </td> 1411 1411 </tr> 1412 1412 <tr> 1413 <th scope="row"><label><?php _e('Show Votes filter in activity stream', LIKEBTN_I18N_DOMAIN); ?></label>1413 <th scope="row"><label><?php _e('Show Votes filter in activity stream', 'likebtn-like-button'); ?></label> 1414 1414 </th> 1415 1415 <td> 1416 1416 <input type="checkbox" name="likebtn_bp_filter" value="1" class="bp_activity" <?php checked('1', get_option('likebtn_bp_filter')) ?> <?php if (!_likebtn_is_bp_active()): ?>disabled="disabled"<?php endif ?> /> 1417 1417 <br/><p class="description"> 1418 <?php _e('Global option for all post types', LIKEBTN_I18N_DOMAIN); ?>1418 <?php _e('Global option for all post types', 'likebtn-like-button'); ?> 1419 1419 </p> 1420 1420 </td> … … 1423 1423 1424 1424 <tr class="param_bp_hide_sitewide"> 1425 <th scope="row"><label><?php _e('Hide vote actions from sitewide activity', LIKEBTN_I18N_DOMAIN); ?></label>1426 <i class="likebtn_help" title="<?php _e("Activity will be private and only visible for the logged in user when viewing his profile activities", LIKEBTN_I18N_DOMAIN); ?>"> </i>1425 <th scope="row"><label><?php _e('Hide vote actions from sitewide activity', 'likebtn-like-button'); ?></label> 1426 <i class="likebtn_help" title="<?php _e("Activity will be private and only visible for the logged in user when viewing his profile activities", 'likebtn-like-button'); ?>"> </i> 1427 1427 </th> 1428 1428 <td> … … 1433 1433 <?php if (_likebtn_is_bp_active()): ?> 1434 1434 <tr class="param_bp_image"> 1435 <th scope="row"><label><?php _e('Include item snippet in activity stream', LIKEBTN_I18N_DOMAIN); ?></label>1435 <th scope="row"><label><?php _e('Include item snippet in activity stream', 'likebtn-like-button'); ?></label> 1436 1436 </th> 1437 1437 <td> 1438 1438 <input type="checkbox" name="likebtn_bp_image_<?php echo $entity_name_clean; ?>" value="1" <?php checked('1', get_option('likebtn_bp_image_' . $entity_name_clean)) ?> <?php if (!_likebtn_is_bp_active()): ?>disabled="disabled"<?php endif ?> /> 1439 1439 <br/><br/> 1440 <?php _e('Snippet template', LIKEBTN_I18N_DOMAIN); ?>:1440 <?php _e('Snippet template', 'likebtn-like-button'); ?>: 1441 1441 <br/> 1442 1442 <textarea name="likebtn_bp_snippet_tpl_<?php echo $entity_name; ?>" class="likebtn_input" rows="7"><?php if (get_option('likebtn_bp_snippet_tpl_' . $entity_name)): ?><?php echo htmlspecialchars(get_option('likebtn_bp_snippet_tpl_' . $entity_name)); ?><?php elseif (isset($likebtn_entities_config['bp_snippet_tpl'][$entity_name]['value'])): ?><?php echo htmlspecialchars($likebtn_entities_config['bp_snippet_tpl'][$entity_name]['value']); ?><?php else: ?><?php echo htmlspecialchars(LIKEBTN_BP_SNIPPET_TPL); ?><?php endif ?></textarea> 1443 1443 <p class="description"> 1444 <?php _e('Available placeholders', LIKEBTN_I18N_DOMAIN); ?>: @image_thumbnail@, @title@, @excerpt@, @content@1444 <?php _e('Available placeholders', 'likebtn-like-button'); ?>: @image_thumbnail@, @title@, @excerpt@, @content@ 1445 1445 </p> 1446 1446 <br/> … … 1448 1448 <br/><br/> 1449 1449 <p class="description"> 1450 <small><?php _e('Keep in mind that BuddyPress has a list of allowed HTML-tags and attributes for activity snippets. If you need extra tags in snippet, add the following code to your theme\'s functions.php:', LIKEBTN_I18N_DOMAIN); ?> </small>1450 <small><?php _e('Keep in mind that BuddyPress has a list of allowed HTML-tags and attributes for activity snippets. If you need extra tags in snippet, add the following code to your theme\'s functions.php:', 'likebtn-like-button'); ?> </small> 1451 1451 <textarea class="likebtn_input disabled" rows="4" readonly="readonly">function custom_bp_activity_allowed_tags( $allowedtags ) { 1452 1452 // New tags and attributes … … 1463 1463 <?php /* 1464 1464 <?php /*<br/> 1465 <small class="description"><a target="_blank" href="https://likebtn.com/en/wordpress-like-button-plugin#bb_activity_snippet_template"><?php _e('How to alter snippet template?', LIKEBTN_I18N_DOMAIN); ?></a></small>*/ ?>1465 <small class="description"><a target="_blank" href="https://likebtn.com/en/wordpress-like-button-plugin#bb_activity_snippet_template"><?php _e('How to alter snippet template?', 'likebtn-like-button'); ?></a></small>*/ ?> 1466 1466 </td> 1467 1467 </tr> … … 1474 1474 </div>*/ ?> 1475 1475 <div class="likebtn_reset_wrapper"> 1476 <span class="likebtn_sc_trgr"><a href="javascript:likebtnToggleShortcode('likebtn_sc_wr')"><?php _e('Get shortcode', LIKEBTN_I18N_DOMAIN); ?></a> <small>▼</small></span>1477 <input class="button-secondary" type="button" name="Reset" value="<?php _e('Reset', LIKEBTN_I18N_DOMAIN); ?>" onclick="return resetSettings('<?php echo $entity_name; ?>', reset_settings)" />1476 <span class="likebtn_sc_trgr"><a href="javascript:likebtnToggleShortcode('likebtn_sc_wr')"><?php _e('Get shortcode', 'likebtn-like-button'); ?></a> <small>▼</small></span> 1477 <input class="button-secondary" type="button" name="Reset" value="<?php _e('Reset', 'likebtn-like-button'); ?>" onclick="return resetSettings('<?php echo $entity_name; ?>', reset_settings)" /> 1478 1478 </div> 1479 1479 <div id="likebtn_sc_wr" class="postbox"> … … 1483 1483 <tr> 1484 1484 <th scope="row"> 1485 <label><?php _e('Button identifier', LIKEBTN_I18N_DOMAIN); ?></label>1485 <label><?php _e('Button identifier', 'likebtn-like-button'); ?></label> 1486 1486 </th> 1487 1487 <td> 1488 <input type="radio" name="likebtn_identifier_type" value="post_id" checked="checked"/> <?php _e('Post ID', LIKEBTN_I18N_DOMAIN); ?>1488 <input type="radio" name="likebtn_identifier_type" value="post_id" checked="checked"/> <?php _e('Post ID', 'likebtn-like-button'); ?> 1489 1489 1490 <input type="radio" name="likebtn_identifier_type" value="custom" /> <?php _e('Custom', LIKEBTN_I18N_DOMAIN); ?> 1490 <input type="radio" name="likebtn_identifier_type" value="custom" /> <?php _e('Custom', 'likebtn-like-button'); ?> 1491 1491 <input type="text" id="likebtn_sc_identifier" value="item_1" class="likebtn_sc_identifier_custom hidden"/> 1492 1492 </td> … … 1498 1498 <td class="no-padding-top"> 1499 1499 <p class="likebtn_error"> 1500 <?php _e('Identifier must be unique for all the buttons inserted using shortcode, otherwise buttons will reflect the same number of likes.', LIKEBTN_I18N_DOMAIN); ?>1500 <?php _e('Identifier must be unique for all the buttons inserted using shortcode, otherwise buttons will reflect the same number of likes.', 'likebtn-like-button'); ?> 1501 1501 </p> 1502 1502 <p class="likebtn_error"> 1503 <?php _e('If custom identifier is used you will see button identifier in statistics and most liked content widget instead of post title. You also will be unable to sort posts by likes.', LIKEBTN_I18N_DOMAIN); ?>1503 <?php _e('If custom identifier is used you will see button identifier in statistics and most liked content widget instead of post title. You also will be unable to sort posts by likes.', 'likebtn-like-button'); ?> 1504 1504 </p> 1505 1505 </td> … … 1515 1515 <?php endforeach ?> 1516 1516 1517 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save Changes', LIKEBTN_I18N_DOMAIN); ?>" <?php /*if (get_option('likebtn_show_' . $entity_name) == '1'): ?>style="display: none"<?php endif*/ ?> /><br/><br/>1517 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save Changes', 'likebtn-like-button'); ?>" <?php /*if (get_option('likebtn_show_' . $entity_name) == '1'): ?>style="display: none"<?php endif*/ ?> /><br/><br/> 1518 1518 </form> 1519 1519 … … 1540 1540 1541 1541 _likebtn_notice( 1542 strtr(__('Value of %tag_start%max_input_vars%tag_end% parameter in your PHP is too low: %current%. You may experience problems saving settings. Make sure to set max_input_vars value to at least %tag_start%%minimum%%tag_end% (contact your hosting provider for help if needed).', LIKEBTN_I18N_DOMAIN), array('%current%' => $max_vars, '%minimum%' => LIKEBTN_MAX_INPUT_VARS, '%tag_start%' => '<strong>', '%tag_end%' => '</strong>')),1542 strtr(__('Value of %tag_start%max_input_vars%tag_end% parameter in your PHP is too low: %current%. You may experience problems saving settings. Make sure to set max_input_vars value to at least %tag_start%%minimum%%tag_end% (contact your hosting provider for help if needed).', 'likebtn-like-button'), array('%current%' => $max_vars, '%minimum%' => LIKEBTN_MAX_INPUT_VARS, '%tag_start%' => '<strong>', '%tag_end%' => '</strong>')), 1543 1543 'error' 1544 1544 ); -
likebtn-like-button/tags/2.6.33/includes/tab_settings.php
r2468539 r2469287 45 45 } else { 46 46 _likebtn_add_notice(array( 47 'msg' => __('Error occured saving IP vote interval: '.$ipvi_result['message'], LIKEBTN_I18N_DOMAIN),47 'msg' => __('Error occured saving IP vote interval: '.$ipvi_result['message'], 'likebtn-like-button'), 48 48 'class' => 'error' 49 49 )); … … 80 80 81 81 _likebtn_add_notice(array( 82 'msg' => __('Error occured saving initial number of likes:'.' '.$init_l_result['message'], LIKEBTN_I18N_DOMAIN),82 'msg' => __('Error occured saving initial number of likes:'.' '.$init_l_result['message'], 'likebtn-like-button'), 83 83 'class' => 'error' 84 84 )); … … 92 92 ?> 93 93 <script type="text/javascript"> 94 var likebtn_msg_error = '<?php _e("Error occured:", LIKEBTN_I18N_DOMAIN); ?><br/>● <?php _e('Make sure that <a href="https://wordpress.org/support/topic/howto-disable-php-errors-using-htaccess-on-a-shared-hosting" target="_blank">displaying errors is disabled</a>', LIKEBTN_I18N_DOMAIN); ?><br/>● <?php _e("Disable WP HTTP Compression plugin if you have it enabled", LIKEBTN_I18N_DOMAIN); ?>';94 var likebtn_msg_error = '<?php _e("Error occured:", 'likebtn-like-button'); ?><br/>● <?php _e('Make sure that <a href="https://wordpress.org/support/topic/howto-disable-php-errors-using-htaccess-on-a-shared-hosting" target="_blank">displaying errors is disabled</a>', 'likebtn-like-button'); ?><br/>● <?php _e("Disable WP HTTP Compression plugin if you have it enabled", 'likebtn-like-button'); ?>'; 95 95 jQuery(document).ready(function() { 96 96 scriptSettings(); … … 102 102 103 103 <div class="postbox likebtn_postbox"> 104 <h3><?php _e('Account Details', LIKEBTN_I18N_DOMAIN); ?></h3>104 <h3><?php _e('Account Details', 'likebtn-like-button'); ?></h3> 105 105 <div class="inside"> 106 106 <p> 107 <?php /*_e('To get your account data:', LIKEBTN_I18N_DOMAIN); */ ?>107 <?php /*_e('To get your account data:', 'likebtn-like-button'); */ ?> 108 108 <ol> 109 109 <li> 110 110 <?php echo strtr( 111 __('Register on <a href="%url_register%">LikeBtn.com</a>', LIKEBTN_I18N_DOMAIN),112 array('%url_register%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/customer.php/register/', LIKEBTN_I18N_DOMAIN)."');void(0)"));111 __('Register on <a href="%url_register%">LikeBtn.com</a>', 'likebtn-like-button'), 112 array('%url_register%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/customer.php/register/', 'likebtn-like-button')."');void(0)")); 113 113 ?> 114 114 </li> … … 116 116 <?php if (!is_multisite()): ?> 117 117 <?php echo strtr( 118 __('Add your website to your account on <a href="%url_websites%">Websites</a> page.', LIKEBTN_I18N_DOMAIN),119 array('%url_websites%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/customer.php/websites', LIKEBTN_I18N_DOMAIN)."');void(0)"));118 __('Add your website to your account on <a href="%url_websites%">Websites</a> page.', 'likebtn-like-button'), 119 array('%url_websites%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/customer.php/websites', 'likebtn-like-button')."');void(0)")); 120 120 ?> 121 121 <?php else: ?> 122 122 <?php echo strtr( 123 __('Add each website of the network as a separate website to your account on <a href="%url_websites%">Websites</a> page. If using path-based (sub-directories) multisite network please make sure to specify the "Subdirectory" when adding each website. Also see <a href="%bulk_discount%">bulk discount pricing</a>.', LIKEBTN_I18N_DOMAIN),124 array('%url_websites%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/customer.php/websites', LIKEBTN_I18N_DOMAIN)."');void(0)", '%bulk_discount%'=>"javascript:likebtnPopup('".__('https://likebtn.com/en/', LIKEBTN_I18N_DOMAIN)."pricing#bulk_discount_pricing');void(0)"));123 __('Add each website of the network as a separate website to your account on <a href="%url_websites%">Websites</a> page. If using path-based (sub-directories) multisite network please make sure to specify the "Subdirectory" when adding each website. Also see <a href="%bulk_discount%">bulk discount pricing</a>.', 'likebtn-like-button'), 124 array('%url_websites%'=>"javascript:likebtnPopup('".__('http://likebtn.com/en/customer.php/websites', 'likebtn-like-button')."');void(0)", '%bulk_discount%'=>"javascript:likebtnPopup('".__('https://likebtn.com/en/', 'likebtn-like-button')."pricing#bulk_discount_pricing');void(0)")); 125 125 ?> 126 126 … … 128 128 </li> 129 129 <li> 130 <?php echo __('Check and save data.', LIKEBTN_I18N_DOMAIN); ?>130 <?php echo __('Check and save data.', 'likebtn-like-button'); ?> 131 131 </li> 132 132 </ol> 133 133 </p> 134 <input class="button-primary likebtn_button_green" type="button" value="<?php _e('Get Account Data', LIKEBTN_I18N_DOMAIN); ?>" onclick="likebtnGetAccountData('<?php _e('http://likebtn.com/en/customer.php/register/', LIKEBTN_I18N_DOMAIN) ?>')" />134 <input class="button-primary likebtn_button_green" type="button" value="<?php _e('Get Account Data', 'likebtn-like-button'); ?>" onclick="likebtnGetAccountData('<?php _e('http://likebtn.com/en/customer.php/register/', 'likebtn-like-button') ?>')" /> 135 135 <?php /* For add_domain */ ?> 136 136 <?php if (get_option('likebtn_acc_data_correct') != '1'): ?> … … 141 141 <table class="form-table"> 142 142 <tr valign="top"> 143 <th scope="row"><label><?php _e('E-mail', LIKEBTN_I18N_DOMAIN); ?></label></th>143 <th scope="row"><label><?php _e('E-mail', 'likebtn-like-button'); ?></label></th> 144 144 <td> 145 145 <input type="text" name="likebtn_account_email" value="<?php echo htmlspecialchars(get_option('likebtn_account_email')) ?>" onkeyup="accountChange(this)" class="likebtn_account likebtn_input" id="likebtn_account_email_input"/><br/> 146 <p class="description"><?php _e('Your LikeBtn.com account email. Can be found on <a href="http://likebtn.com/en/customer.php/profile/edit" target="_blank">Profile</a> page', LIKEBTN_I18N_DOMAIN) ?></p>147 </td> 148 </tr> 149 <tr valign="top"> 150 <th scope="row"><label><?php _e('API key', LIKEBTN_I18N_DOMAIN); ?></label></th>146 <p class="description"><?php _e('Your LikeBtn.com account email. Can be found on <a href="http://likebtn.com/en/customer.php/profile/edit" target="_blank">Profile</a> page', 'likebtn-like-button') ?></p> 147 </td> 148 </tr> 149 <tr valign="top"> 150 <th scope="row"><label><?php _e('API key', 'likebtn-like-button'); ?></label></th> 151 151 <td> 152 152 <input type="text" name="likebtn_account_api_key" value="<?php echo htmlspecialchars(get_option('likebtn_account_api_key')) ?>" onkeyup="accountChange(this)" class="likebtn_account likebtn_input" id="likebtn_account_api_key_input" maxlength="32" /><br/> 153 <p class="description"><?php _e('Your website API key on LikeBtn.com. Can be obtained on <a href="http://likebtn.com/en/customer.php/websites" target="_blank">Websites</a> page', LIKEBTN_I18N_DOMAIN) ?></p>154 </td> 155 </tr> 156 <tr valign="top"> 157 <th scope="row"><label><?php _e('Site ID', LIKEBTN_I18N_DOMAIN); ?></label></th>153 <p class="description"><?php _e('Your website API key on LikeBtn.com. Can be obtained on <a href="http://likebtn.com/en/customer.php/websites" target="_blank">Websites</a> page', 'likebtn-like-button') ?></p> 154 </td> 155 </tr> 156 <tr valign="top"> 157 <th scope="row"><label><?php _e('Site ID', 'likebtn-like-button'); ?></label></th> 158 158 <td> 159 159 <input type="text" name="likebtn_site_id" value="<?php echo htmlspecialchars(get_option('likebtn_site_id')) ?>" class="likebtn_input" id="likebtn_site_id_input" maxlength="24" /><br/> 160 160 <p class="description"> 161 <?php _e('Your Site ID on LikeBtn.com. Can be obtained on <a href="http://likebtn.com/en/customer.php/websites" target="_blank">Websites</a> page.', LIKEBTN_I18N_DOMAIN) ?> <?php _e('If your website has multiple addresses or you are developing a website on a local server and planning to move it to a live domain, you can add domains to the website <a href="http://likebtn.com/en/customer.php/websites" target="_blank">here</a>.', LIKEBTN_I18N_DOMAIN) ?>161 <?php _e('Your Site ID on LikeBtn.com. Can be obtained on <a href="http://likebtn.com/en/customer.php/websites" target="_blank">Websites</a> page.', 'likebtn-like-button') ?> <?php _e('If your website has multiple addresses or you are developing a website on a local server and planning to move it to a live domain, you can add domains to the website <a href="http://likebtn.com/en/customer.php/websites" target="_blank">here</a>.', 'likebtn-like-button') ?> 162 162 </p> 163 163 </td> … … 166 166 <th scope="row"> </th> 167 167 <td class="likebtn_mid_row"> 168 <input class="button-primary likebtn_s_btn" type="button" value="<?php _e('Check Account Data', LIKEBTN_I18N_DOMAIN); ?>" onclick="checkAccount('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_check_account_container"></strong>169 </td> 170 </tr> 171 </table> 172 </div> 173 </div> 174 175 <p> 176 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />168 <input class="button-primary likebtn_s_btn" type="button" value="<?php _e('Check Account Data', 'likebtn-like-button'); ?>" onclick="checkAccount('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_check_account_container"></strong> 169 </td> 170 </tr> 171 </table> 172 </div> 173 </div> 174 175 <p> 176 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 177 177 </p> 178 178 <br/> … … 181 181 <strong class="likebtn_error"> 182 182 <?php echo strtr( 183 __('Website tariff plan does not allow to synchronize likes into your database – <a href="%url_upgrade%">upgrade</a> your website to PRO or higher plan.', LIKEBTN_I18N_DOMAIN),184 array('%url_upgrade%'=>"javascript:likebtnPopup('".__('https://likebtn.com/en/pricing', LIKEBTN_I18N_DOMAIN)."');void(0)"));183 __('Website tariff plan does not allow to synchronize likes into your database – <a href="%url_upgrade%">upgrade</a> your website to PRO or higher plan.', 'likebtn-like-button'), 184 array('%url_upgrade%'=>"javascript:likebtnPopup('".__('https://likebtn.com/en/pricing', 'likebtn-like-button')."');void(0)")); 185 185 ?> 186 186 </strong> … … 189 189 190 190 <div class="postbox likebtn_postbox" id="synchronization"> 191 <h3><?php _e('Synchronization', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="PRO / VIP / ULTRA"></i></h3>191 <h3><?php _e('Synchronization', 'likebtn-like-button'); ?> <i class="premium_feature" title="PRO / VIP / ULTRA"></i></h3> 192 192 <div class="inside"> 193 193 <p class="description"> 194 <?php _e('Enable synchronization of likes from LikeBtn.com into your database to:', LIKEBTN_I18N_DOMAIN); ?><br/>195 ● <?php _e('View statistics on Statistics tab.', LIKEBTN_I18N_DOMAIN); ?><br/>196 ● <?php _e('Sort content by likes.', LIKEBTN_I18N_DOMAIN); ?><br/>197 ● <?php _e('Use most liked content widget and shortcode.', LIKEBTN_I18N_DOMAIN); ?><br/>194 <?php _e('Enable synchronization of likes from LikeBtn.com into your database to:', 'likebtn-like-button'); ?><br/> 195 ● <?php _e('View statistics on Statistics tab.', 'likebtn-like-button'); ?><br/> 196 ● <?php _e('Sort content by likes.', 'likebtn-like-button'); ?><br/> 197 ● <?php _e('Use most liked content widget and shortcode.', 'likebtn-like-button'); ?><br/> 198 198 </p> 199 199 <table class="form-table"> 200 200 <tr valign="middle"> 201 <th scope="row"><label><?php _e('Synchronization status', LIKEBTN_I18N_DOMAIN); ?></label>201 <th scope="row"><label><?php _e('Synchronization status', 'likebtn-like-button'); ?></label> 202 202 203 203 </th> … … 205 205 <input type="hidden" name="likebtn_sync_inerval" value="<?php echo get_option('likebtn_sync_inerval'); ?>" /> 206 206 <p> 207 <strong class="likebtn_success likebtn_sync_ena"><?php _e('Enabled', LIKEBTN_I18N_DOMAIN); ?></strong>208 <strong class="likebtn_error likebtn_sync_dis"><?php _e('Disabled', LIKEBTN_I18N_DOMAIN); ?></strong>207 <strong class="likebtn_success likebtn_sync_ena"><?php _e('Enabled', 'likebtn-like-button'); ?></strong> 208 <strong class="likebtn_error likebtn_sync_dis"><?php _e('Disabled', 'likebtn-like-button'); ?></strong> 209 209 </p> 210 210 <?php if (!_likebtn_is_stat_enabled()): ?> 211 <p class="description likebtn_sync_dis"><?php _e('Please ugrade at least to PRO, enter, check and save account data above', LIKEBTN_I18N_DOMAIN); ?></p>211 <p class="description likebtn_sync_dis"><?php _e('Please ugrade at least to PRO, enter, check and save account data above', 'likebtn-like-button'); ?></p> 212 212 <?php endif ?> 213 213 <div <?php if (!get_option('likebtn_account_email') || !get_option('likebtn_account_api_key') || !get_option('likebtn_site_id')): ?>style="display:none"<?php endif ?>> 214 214 <br/> 215 <input class="button-primary likebtn_button_green likebtn_sync_dis" type="button" value="<?php _e('Enable Sync', LIKEBTN_I18N_DOMAIN); ?>" onclick="testSync('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" />216 217 <input class="button-primary likebtn_sync_ena likebtn_s_btn" type="button" value="<?php _e('Test Sync', LIKEBTN_I18N_DOMAIN); ?>" onclick="testSync('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" />215 <input class="button-primary likebtn_button_green likebtn_sync_dis" type="button" value="<?php _e('Enable Sync', 'likebtn-like-button'); ?>" onclick="testSync('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> 216 217 <input class="button-primary likebtn_sync_ena likebtn_s_btn" type="button" value="<?php _e('Test Sync', 'likebtn-like-button'); ?>" onclick="testSync('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> 218 218 <strong class="likebtn_test_sync_container"></strong> 219 219 220 220 <div class="liketbtn_mansync_wr" style="display:none"> 221 221 <br/><br/> 222 <input class="button-secondary likebtn_ttip" type="button" value="<?php _e('Run Full Sync Manually', LIKEBTN_I18N_DOMAIN); ?>" onclick="manualSync('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" title="<?php _e("ATTENTION: Use this feature carefully since full synchronization may affect your website performance. If you don't experience any problems with likes synchronization better to avoid using this feature.", LIKEBTN_I18N_DOMAIN) ?>" /> <strong class="likebtn_manual_sync_container"><img src="<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif" class="hidden"/></strong>222 <input class="button-secondary likebtn_ttip" type="button" value="<?php _e('Run Full Sync Manually', 'likebtn-like-button'); ?>" onclick="manualSync('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" title="<?php _e("ATTENTION: Use this feature carefully since full synchronization may affect your website performance. If you don't experience any problems with likes synchronization better to avoid using this feature.", 'likebtn-like-button') ?>" /> <strong class="likebtn_manual_sync_container"><img src="<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif" class="hidden"/></strong> 223 223 </div> 224 224 </div> … … 226 226 </tr> 227 227 <tr valign="top"> 228 <th scope="row"><label><?php _e('Diagnostics', LIKEBTN_I18N_DOMAIN); ?></label>229 <i class="likebtn_help" title="<?php _e('Check if your server configuration satisfies the Like button plugin requirements.', LIKEBTN_I18N_DOMAIN); ?>"> </i>228 <th scope="row"><label><?php _e('Diagnostics', 'likebtn-like-button'); ?></label> 229 <i class="likebtn_help" title="<?php _e('Check if your server configuration satisfies the Like button plugin requirements.', 'likebtn-like-button'); ?>"> </i> 230 230 </th> 231 231 <td class="likebtn_mid_row"> 232 <input class="button-secondary likebtn_ttip" type="button" value="<?php _e('Check the System', LIKEBTN_I18N_DOMAIN); ?>" onclick="systemCheck('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_sc_container"></strong>233 </td> 234 </tr> 235 </table> 236 </div> 237 </div> 238 239 <p> 240 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />232 <input class="button-secondary likebtn_ttip" type="button" value="<?php _e('Check the System', 'likebtn-like-button'); ?>" onclick="systemCheck('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_sc_container"></strong> 233 </td> 234 </tr> 235 </table> 236 </div> 237 </div> 238 239 <p> 240 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 241 241 </p> 242 242 <br/> 243 243 244 244 <div class="postbox likebtn_postbox" id="ip_vote_interval"> 245 <h3><?php _e('IP Address Vote Interval', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="ULTRA"></i></h3>245 <h3><?php _e('IP Address Vote Interval', 'likebtn-like-button'); ?> <i class="premium_feature" title="ULTRA"></i></h3> 246 246 <div class="inside"> 247 247 <p class="description"> 248 <?php _e('If you\'ve set up voters identification by Username for a particular post type on Buttons tab, this IP address vote interval option is ignored for that post type.' , LIKEBTN_I18N_DOMAIN); ?><br/>248 <?php _e('If you\'ve set up voters identification by Username for a particular post type on Buttons tab, this IP address vote interval option is ignored for that post type.' , 'likebtn-like-button'); ?><br/> 249 249 </p> 250 250 <table class="form-table"> 251 251 <tr valign="top"> 252 <th scope="row"><label><?php _e('Interval', LIKEBTN_I18N_DOMAIN); ?></label>252 <th scope="row"><label><?php _e('Interval', 'likebtn-like-button'); ?></label> 253 253 </th> 254 254 <td> … … 260 260 ?> 261 261 <select class="disabled" onchange="ipviSelect(this)" onclick="ipviSelect(this)" disabled="disabled" id="ipvi_select"> 262 <option value="<?php echo LIKEBTN_MAX_IP_VOTE_INTERVAL; ?>" <?php selected(LIKEBTN_MAX_IP_VOTE_INTERVAL, $ipvi); ?> ><?php _e('Allow ONE vote per IP address', LIKEBTN_I18N_DOMAIN) ?></option>263 <option value="0" <?php selected(0, (int)$ipvi); ?> ><?php _e('Allow UNLIMITED votes from the same IP address', LIKEBTN_I18N_DOMAIN) ?></option>264 <option value="-1" <?php if ($ipvi_custom): ?>selected="selected"<?php endif ?> ><?php _e('Custom IP address vote interval', LIKEBTN_I18N_DOMAIN) ?></option>262 <option value="<?php echo LIKEBTN_MAX_IP_VOTE_INTERVAL; ?>" <?php selected(LIKEBTN_MAX_IP_VOTE_INTERVAL, $ipvi); ?> ><?php _e('Allow ONE vote per IP address', 'likebtn-like-button') ?></option> 263 <option value="0" <?php selected(0, (int)$ipvi); ?> ><?php _e('Allow UNLIMITED votes from the same IP address', 'likebtn-like-button') ?></option> 264 <option value="-1" <?php if ($ipvi_custom): ?>selected="selected"<?php endif ?> ><?php _e('Custom IP address vote interval', 'likebtn-like-button') ?></option> 265 265 </select> 266 266 </td> … … 277 277 </th> 278 278 <td> 279 <input type="number" min="1" max="31557599" value="<?php echo (int)$ipvi ?>" onkeyup="ipviChanged(this)" class="disabled" id="ipvi_secs" readonly="readonly" /> <strong><?php _e('total seconds', LIKEBTN_I18N_DOMAIN); ?></strong>279 <input type="number" min="1" max="31557599" value="<?php echo (int)$ipvi ?>" onkeyup="ipviChanged(this)" class="disabled" id="ipvi_secs" readonly="readonly" /> <strong><?php _e('total seconds', 'likebtn-like-button'); ?></strong> 280 280 <input type="hidden" name="likebtn_ipvi" id="ipvi_secs_hidden" value="<?php echo (int)$ipvi ?>" /> 281 281 </td> … … 284 284 <th scope="row"></th> 285 285 <td class="likebtn_mid_row"> 286 <input class="button-secondary" type="button" value="<?php _e('Change', LIKEBTN_I18N_DOMAIN); ?>" onclick="ipviChange('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_ipvi_change_container"></strong>287 </td> 288 </tr> 289 </table> 290 </div> 291 </div> 292 293 <p> 294 <input class="button-primary" id="gdpr" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />286 <input class="button-secondary" type="button" value="<?php _e('Change', 'likebtn-like-button'); ?>" onclick="ipviChange('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_ipvi_change_container"></strong> 287 </td> 288 </tr> 289 </table> 290 </div> 291 </div> 292 293 <p> 294 <input class="button-primary" id="gdpr" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 295 295 </p> 296 296 <br/> 297 297 298 298 <div class="postbox likebtn_postbox" id="initial_likes"> 299 <h3><?php _e('Initial number of likes on buttons', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="ULTRA"></i></h3>300 <div class="inside"> 301 <table class="form-table"> 302 <tr valign="top"> 303 <th scope="row"><label><?php _e('Randomize likes', LIKEBTN_I18N_DOMAIN); ?></label>304 </th> 305 <td> 306 <?php _e('From', LIKEBTN_I18N_DOMAIN); ?>:299 <h3><?php _e('Initial number of likes on buttons', 'likebtn-like-button'); ?> <i class="premium_feature" title="ULTRA"></i></h3> 300 <div class="inside"> 301 <table class="form-table"> 302 <tr valign="top"> 303 <th scope="row"><label><?php _e('Randomize likes', 'likebtn-like-button'); ?></label> 304 </th> 305 <td> 306 <?php _e('From', 'likebtn-like-button'); ?>: 307 307 <input type="number" value="<?php echo (int)get_option('likebtn_init_l_from'); ?>" name="likebtn_init_l_from" min="0" max="9999999" <?php if (!likebtn_check_plan(LIKEBTN_PLAN_ULTRA) || !_likebtn_is_stat_enabled()): ?>disabled="disabled"<?php endif ?>/> 308 308 309 <?php _e('To', LIKEBTN_I18N_DOMAIN); ?>:309 <?php _e('To', 'likebtn-like-button'); ?>: 310 310 <input type="number" value="<?php echo (int)get_option('likebtn_init_l_to'); ?>" name="likebtn_init_l_to" min="0" max="9999999" <?php if (!likebtn_check_plan(LIKEBTN_PLAN_ULTRA) || !_likebtn_is_stat_enabled()): ?>disabled="disabled"<?php endif ?>/> 311 311 </td> … … 315 315 <td colspan="2"> 316 316 <p class="notice update-nag"> 317 <?php _e('It is not recommended to use this feature if you need to sort posts by likes, as sorting will not work properly.', LIKEBTN_I18N_DOMAIN) ?>318 </p> 319 </td> 320 </tr> 321 </table> 322 </div> 323 </div> 324 325 <p> 326 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />317 <?php _e('It is not recommended to use this feature if you need to sort posts by likes, as sorting will not work properly.', 'likebtn-like-button') ?> 318 </p> 319 </td> 320 </tr> 321 </table> 322 </div> 323 </div> 324 325 <p> 326 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 327 327 </p> 328 328 <br/> 329 329 330 330 <div class="postbox likebtn_postbox"> 331 <h3><?php _e('GDPR Compliance', LIKEBTN_I18N_DOMAIN); ?></h3>331 <h3><?php _e('GDPR Compliance', 'likebtn-like-button'); ?></h3> 332 332 <div class="inside"> 333 333 <p class="description"> 334 <?php _e("To be GDPR compliant plugin stores IP addresses in a hashed anonymized form. If you don't need to be GDPR compliant and want to see actual IP addresses, just uncheck this checkbox.", LIKEBTN_I18N_DOMAIN); ?>334 <?php _e("To be GDPR compliant plugin stores IP addresses in a hashed anonymized form. If you don't need to be GDPR compliant and want to see actual IP addresses, just uncheck this checkbox.", 'likebtn-like-button'); ?> 335 335 </p> 336 336 <table class="form-table"> 337 337 <tr valign="top"> 338 <th scope="row"><label><?php _e('Be GDPR compliant', LIKEBTN_I18N_DOMAIN); ?></label>338 <th scope="row"><label><?php _e('Be GDPR compliant', 'likebtn-like-button'); ?></label> 339 339 </th> 340 340 <td> … … 348 348 </div> 349 349 <p> 350 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />350 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 351 351 </p> 352 352 <br/> 353 353 354 354 <div class="postbox likebtn_postbox"> 355 <h3><?php _e('Notify Admin by Email on New Votes', LIKEBTN_I18N_DOMAIN); ?> <i class="premium_feature" title="PRO"></i></h3>356 <div class="inside"> 357 <table class="form-table"> 358 <tr valign="top"> 359 <th scope="row"><label><?php _e('Enabled', LIKEBTN_I18N_DOMAIN); ?></label>355 <h3><?php _e('Notify Admin by Email on New Votes', 'likebtn-like-button'); ?> <i class="premium_feature" title="PRO"></i></h3> 356 <div class="inside"> 357 <table class="form-table"> 358 <tr valign="top"> 359 <th scope="row"><label><?php _e('Enabled', 'likebtn-like-button'); ?></label> 360 360 </th> 361 361 <td> 362 362 <p class="description"> 363 363 <input type="checkbox" name="likebtn_notify_enabled" value="1" <?php checked('1', get_option('likebtn_notify_enabled')); ?> <?php if (!likebtn_check_plan(LIKEBTN_PLAN_PRO) || !_likebtn_is_stat_enabled()): ?>class="disabled"<?php endif ?> <?php if (likebtn_check_plan(LIKEBTN_PLAN_PRO) && _likebtn_is_stat_enabled()): ?>onclick="jQuery('#notify_container').toggleClass('hidden')"<?php else: ?>onclick="return false;"<?php endif ?>/> 364 <?php _e('Send email notification every time there is a new vote', LIKEBTN_I18N_DOMAIN); ?>364 <?php _e('Send email notification every time there is a new vote', 'likebtn-like-button'); ?> 365 365 </p> 366 366 </td> … … 369 369 370 370 <?php if (!_likebtn_is_stat_enabled()): ?> 371 <p class="likebtn_error"><?php _e('Configure Synchronization in order to use this feature', LIKEBTN_I18N_DOMAIN); ?></p>371 <p class="likebtn_error"><?php _e('Configure Synchronization in order to use this feature', 'likebtn-like-button'); ?></p> 372 372 <?php endif ?> 373 373 374 374 <table class="form-table <?php if (!likebtn_check_plan(LIKEBTN_PLAN_PRO) || get_option('likebtn_notify_enabled') != '1' || !_likebtn_is_stat_enabled()): ?>hidden<?php endif ?>" id="notify_container"> 375 375 <tr valign="top"> 376 <th scope="row"><label><?php _e('Send email to', LIKEBTN_I18N_DOMAIN); ?></label>376 <th scope="row"><label><?php _e('Send email to', 'likebtn-like-button'); ?></label> 377 377 </th> 378 378 <td> 379 379 <input name="likebtn_notify_to" class="likebtn_input" value="<?php echo htmlspecialchars(get_option('likebtn_notify_to')); ?>" /> 380 380 <p class="description"> 381 <?php _e('Comma separated emails to send notifications to.', LIKEBTN_I18N_DOMAIN); ?>382 </p> 383 </td> 384 </tr> 385 <tr valign="top"> 386 <th scope="row"><label><?php _e('Email from', LIKEBTN_I18N_DOMAIN); ?></label>381 <?php _e('Comma separated emails to send notifications to.', 'likebtn-like-button'); ?> 382 </p> 383 </td> 384 </tr> 385 <tr valign="top"> 386 <th scope="row"><label><?php _e('Email from', 'likebtn-like-button'); ?></label> 387 387 </th> 388 388 <td> … … 391 391 </tr> 392 392 <tr valign="top"> 393 <th scope="row"><label><?php _e('Email subject', LIKEBTN_I18N_DOMAIN); ?></label>393 <th scope="row"><label><?php _e('Email subject', 'likebtn-like-button'); ?></label> 394 394 </th> 395 395 <td> … … 398 398 </tr> 399 399 <tr valign="top"> 400 <th scope="row"><label><?php _e('Notification text', LIKEBTN_I18N_DOMAIN); ?></label>400 <th scope="row"><label><?php _e('Notification text', 'likebtn-like-button'); ?></label> 401 401 </th> 402 402 <td> … … 407 407 <th scope="row"> </th> 408 408 <td class="likebtn_mid_row"> 409 <input class="button-secondary" type="button" value="<?php _e('Send Test Notification', LIKEBTN_I18N_DOMAIN); ?>" onclick="sendTestVoteNotification('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_vn_message"></strong>409 <input class="button-secondary" type="button" value="<?php _e('Send Test Notification', 'likebtn-like-button'); ?>" onclick="sendTestVoteNotification('<?php echo _likebtn_get_public_url() ?>img/ajax_loader.gif')" /> <strong class="likebtn_vn_message"></strong> 410 410 <div class="likebtn_vn_container margin-top"></div> 411 411 </td> … … 415 415 </div> 416 416 <p> 417 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />417 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 418 418 </p> 419 419 <br/> 420 420 421 421 <div class="postbox likebtn_postbox"> 422 <h3><?php _e('Sorting', LIKEBTN_I18N_DOMAIN); ?></h3>423 <div class="inside"> 424 <table class="form-table"> 425 <tr valign="top"> 426 <th scope="row"><label><?php _e('bbPress replies sorting', LIKEBTN_I18N_DOMAIN); ?></label>422 <h3><?php _e('Sorting', 'likebtn-like-button'); ?></h3> 423 <div class="inside"> 424 <table class="form-table"> 425 <tr valign="top"> 426 <th scope="row"><label><?php _e('bbPress replies sorting', 'likebtn-like-button'); ?></label> 427 427 </th> 428 428 <td> 429 429 <select name="likebtn_bbp_replies_sort"> 430 <option value="" <?php selected('', get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Default', LIKEBTN_I18N_DOMAIN) ?></option>431 <option value="<?php echo LIKEBTN_META_KEY_LIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES, get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Likes', LIKEBTN_I18N_DOMAIN) ?></option>432 <option value="<?php echo LIKEBTN_META_KEY_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_DISLIKES, get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Dislikes', LIKEBTN_I18N_DOMAIN) ?></option>433 <option value="<?php echo LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES, get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Likes minus dislikes', LIKEBTN_I18N_DOMAIN) ?></option>430 <option value="" <?php selected('', get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Default', 'likebtn-like-button') ?></option> 431 <option value="<?php echo LIKEBTN_META_KEY_LIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES, get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Likes', 'likebtn-like-button') ?></option> 432 <option value="<?php echo LIKEBTN_META_KEY_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_DISLIKES, get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Dislikes', 'likebtn-like-button') ?></option> 433 <option value="<?php echo LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES, get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Likes minus dislikes', 'likebtn-like-button') ?></option> 434 434 </select> 435 435 </td> 436 436 </tr> 437 437 <tr valign="top"> 438 <th scope="row"><label><?php _e('BuddyPress activities sorting', LIKEBTN_I18N_DOMAIN); ?></label>438 <th scope="row"><label><?php _e('BuddyPress activities sorting', 'likebtn-like-button'); ?></label> 439 439 </th> 440 440 <td> 441 441 <select name="likebtn_bp_act_sort"> 442 <option value="" <?php selected('', get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Default', LIKEBTN_I18N_DOMAIN) ?></option>443 <option value="<?php echo LIKEBTN_META_KEY_LIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES, get_option('likebtn_bp_act_sort')); ?> ><?php _e('Likes', LIKEBTN_I18N_DOMAIN) ?></option>444 <option value="<?php echo LIKEBTN_META_KEY_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_DISLIKES, get_option('likebtn_bp_act_sort')); ?> ><?php _e('Dislikes', LIKEBTN_I18N_DOMAIN) ?></option>445 <option value="<?php echo LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES, get_option('likebtn_bp_act_sort')); ?> ><?php _e('Likes minus dislikes', LIKEBTN_I18N_DOMAIN) ?></option>442 <option value="" <?php selected('', get_option('likebtn_bbp_replies_sort')); ?> ><?php _e('Default', 'likebtn-like-button') ?></option> 443 <option value="<?php echo LIKEBTN_META_KEY_LIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES, get_option('likebtn_bp_act_sort')); ?> ><?php _e('Likes', 'likebtn-like-button') ?></option> 444 <option value="<?php echo LIKEBTN_META_KEY_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_DISLIKES, get_option('likebtn_bp_act_sort')); ?> ><?php _e('Dislikes', 'likebtn-like-button') ?></option> 445 <option value="<?php echo LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES; ?>" <?php selected(LIKEBTN_META_KEY_LIKES_MINUS_DISLIKES, get_option('likebtn_bp_act_sort')); ?> ><?php _e('Likes minus dislikes', 'likebtn-like-button') ?></option> 446 446 </select> 447 447 </td> 448 448 </tr> 449 449 <tr> 450 <td colspan="2"><a href="<?php _e('http://likebtn.com/en/', LIKEBTN_I18N_DOMAIN) ?>wordpress-like-button-plugin#sort_posts_by_likes" target="_blank"><?php _e('How to sort other types of content?', LIKEBTN_I18N_DOMAIN) ?></a></td>451 </tr> 452 </table> 453 </div> 454 </div> 455 456 <p> 457 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />450 <td colspan="2"><a href="<?php _e('http://likebtn.com/en/', 'likebtn-like-button') ?>wordpress-like-button-plugin#sort_posts_by_likes" target="_blank"><?php _e('How to sort other types of content?', 'likebtn-like-button') ?></a></td> 451 </tr> 452 </table> 453 </div> 454 </div> 455 456 <p> 457 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 458 458 </p> 459 459 <br/> 460 460 461 461 <div class="postbox likebtn_postbox"> 462 <h3><?php _e('Miscellaneous', LIKEBTN_I18N_DOMAIN); ?></h3>463 <div class="inside"> 464 <table class="form-table"> 465 <tr valign="top"> 466 <th scope="row"><label><?php _e('Custom CSS', LIKEBTN_I18N_DOMAIN); ?></label>462 <h3><?php _e('Miscellaneous', 'likebtn-like-button'); ?></h3> 463 <div class="inside"> 464 <table class="form-table"> 465 <tr valign="top"> 466 <th scope="row"><label><?php _e('Custom CSS', 'likebtn-like-button'); ?></label> 467 467 </th> 468 468 <td> … … 471 471 </tr> 472 472 <tr valign="top"> 473 <th scope="row"><label><?php _e('Custom JavaScript', LIKEBTN_I18N_DOMAIN); ?></label>473 <th scope="row"><label><?php _e('Custom JavaScript', 'likebtn-like-button'); ?></label> 474 474 </th> 475 475 <td> … … 478 478 </tr> 479 479 <tr valign="top"> 480 <th scope="row"><label><?php _e('Show info notices', LIKEBTN_I18N_DOMAIN); ?></label>480 <th scope="row"><label><?php _e('Show info notices', 'likebtn-like-button'); ?></label> 481 481 </th> 482 482 <td> 483 483 <input type="checkbox" name="likebtn_info_message" value="1" <?php checked('1', get_option('likebtn_info_message')); ?> /> 484 484 485 <small class="description"><?php _e("Show notice instead of the button when it is restricted by tariff plan", LIKEBTN_I18N_DOMAIN); ?></small>485 <small class="description"><?php _e("Show notice instead of the button when it is restricted by tariff plan", 'likebtn-like-button'); ?></small> 486 486 </td> 487 487 </tr> … … 491 491 492 492 <p> 493 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', LIKEBTN_I18N_DOMAIN); ?>" />493 <input class="button-primary" type="submit" name="Save" value="<?php _e('Save All Changes', 'likebtn-like-button'); ?>" /> 494 494 </p> 495 495 … … 498 498 499 499 <div class="postbox likebtn_postbox"> 500 <h3><?php _e('Configuration Import & Export', LIKEBTN_I18N_DOMAIN); ?></h3>500 <h3><?php _e('Configuration Import & Export', 'likebtn-like-button'); ?></h3> 501 501 <div class="inside"> 502 502 <table class="form-table"> 503 503 <tr valign="top"> 504 <th scope="row"><label><?php _e('Export configuration', LIKEBTN_I18N_DOMAIN); ?></label>504 <th scope="row"><label><?php _e('Export configuration', 'likebtn-like-button'); ?></label> 505 505 </th> 506 506 <td> … … 512 512 </tr> 513 513 <tr valign="top"> 514 <th scope="row"><label><?php _e('Import configuration', LIKEBTN_I18N_DOMAIN); ?></label>514 <th scope="row"><label><?php _e('Import configuration', 'likebtn-like-button'); ?></label> 515 515 </th> 516 516 <td> 517 <form method="post" action="" onsubmit="return importSubmit('<?php _e('Current settings and buttons configuration will be overwritten. Please type IMPORT in order to import configuration:', LIKEBTN_I18N_DOMAIN); ?>')">517 <form method="post" action="" onsubmit="return importSubmit('<?php _e('Current settings and buttons configuration will be overwritten. Please type IMPORT in order to import configuration:', 'likebtn-like-button'); ?>')"> 518 518 <p class="description"> 519 519 <?php _e('Paste your Like Button configuration here and the plugin will load it into the database.'); ?> … … 521 521 <textarea class="likebtn_input" rows="4" name="likebtn_import_config"></textarea> 522 522 <p class="notice update-nag"> 523 <?php _e('On importing current settings and buttons configuration will be overwritten. Votes and statistics will be preserved.', LIKEBTN_I18N_DOMAIN); ?>524 </p> 525 <input class="button-primary" type="submit" value="<?php _e('Import', LIKEBTN_I18N_DOMAIN); ?>"/>523 <?php _e('On importing current settings and buttons configuration will be overwritten. Votes and statistics will be preserved.', 'likebtn-like-button'); ?> 524 </p> 525 <input class="button-primary" type="submit" value="<?php _e('Import', 'likebtn-like-button'); ?>"/> 526 526 </form> 527 527 </td> … … 532 532 <br/> 533 533 <div class="postbox likebtn_postbox"> 534 <h3><?php _e('Resetting', LIKEBTN_I18N_DOMAIN); ?></h3>534 <h3><?php _e('Resetting', 'likebtn-like-button'); ?></h3> 535 535 <div class="inside"> 536 536 <table class="form-table"> … … 539 539 <form method="post" action="" id="likebtn_fr_form"> 540 540 <input type="hidden" name="likebtn_full_reset" value="" /> 541 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnFullReset('<?php _e("Votes and stats will be removed permanently and can not be restored. If you want to continue please enter RESET:", LIKEBTN_I18N_DOMAIN) ?>')" value="<?php _e('Reset Votes & Stats', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('Remove ALL votes and stats', LIKEBTN_I18N_DOMAIN); ?>">541 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnFullReset('<?php _e("Votes and stats will be removed permanently and can not be restored. If you want to continue please enter RESET:", 'likebtn-like-button') ?>')" value="<?php _e('Reset Votes & Stats', 'likebtn-like-button'); ?>" title="<?php _e('Remove ALL votes and stats', 'likebtn-like-button'); ?>"> 542 542 </form> 543 543 <?php if (is_multisite()): ?> 544 544 <p class="notice update-nag"> 545 <?php _e('ATTENTION: Resetting will reset votes on all the websites of the multisite network.', LIKEBTN_I18N_DOMAIN); ?>545 <?php _e('ATTENTION: Resetting will reset votes on all the websites of the multisite network.', 'likebtn-like-button'); ?> 546 546 </p> 547 547 <?php endif ?> -
likebtn-like-button/tags/2.6.33/includes/tab_votes.php
r2468539 r2469287 32 32 $p->target($pagination_target); 33 33 //$p->currentPage(); // Gets and validates the current page 34 $p->prevLabel(__('Previous', LIKEBTN_I18N_DOMAIN));35 $p->nextLabel(__('Next', LIKEBTN_I18N_DOMAIN));34 $p->prevLabel(__('Previous', 'likebtn-like-button')); 35 $p->nextLabel(__('Next', 'likebtn-like-button')); 36 36 37 37 if (!isset($_GET['paging'])) { … … 83 83 84 84 <script type="text/javascript"> 85 var likebtn_msg_ip_info = '<?php _e("IP Info", LIKEBTN_I18N_DOMAIN); ?>';85 var likebtn_msg_ip_info = '<?php _e("IP Info", 'likebtn-like-button'); ?>'; 86 86 </script> 87 87 … … 92 92 <div class="inside"> 93 93 <div class="likebtn-form-group"> 94 <label><?php _e('Item Type', LIKEBTN_I18N_DOMAIN); ?>:</label>94 <label><?php _e('Item Type', 'likebtn-like-button'); ?>:</label> 95 95 <select name="likebtn_entity_name" > 96 <option value="">-- <?php _e('Any', LIKEBTN_I18N_DOMAIN); ?> --</option>96 <option value="">-- <?php _e('Any', 'likebtn-like-button'); ?> --</option> 97 97 <?php foreach ($likebtn_entities as $entity_name_value => $entity_title): ?> 98 <option value="<?php echo $entity_name_value; ?>" <?php selected($entity_name, $entity_name_value); ?> ><?php _e($entity_title, LIKEBTN_I18N_DOMAIN); ?></option>98 <option value="<?php echo $entity_name_value; ?>" <?php selected($entity_name, $entity_name_value); ?> ><?php _e($entity_title, 'likebtn-like-button'); ?></option> 99 99 <?php endforeach ?> 100 100 </select> … … 102 102 103 103 <div class="likebtn-form-group"> 104 <label><?php _e('Item ID', LIKEBTN_I18N_DOMAIN); ?>:</label>104 <label><?php _e('Item ID', 'likebtn-like-button'); ?>:</label> 105 105 <input type="text" name="likebtn_post_id" value="<?php echo htmlspecialchars($post_id) ?>" size="10" /> 106 106 </div> 107 107 <br/> 108 108 <div class="likebtn-form-group"> 109 <label><?php _e('User ID', LIKEBTN_I18N_DOMAIN); ?>:</label>109 <label><?php _e('User ID', 'likebtn-like-button'); ?>:</label> 110 110 <input type="text" name="likebtn_user_id" value="<?php echo htmlspecialchars($user_id) ?>" size="10" /> 111 111 </div> … … 118 118 <?php if (!empty($countries)): ?> 119 119 <div class="likebtn-form-group"> 120 <label><?php _e('Country', LIKEBTN_I18N_DOMAIN); ?>:</label>120 <label><?php _e('Country', 'likebtn-like-button'); ?>:</label> 121 121 <select name="likebtn_country" style="width:160px"> 122 122 <option value=""></option> … … 129 129 130 130 <div class="likebtn-form-group"> 131 <label><?php _e('Vote Type', LIKEBTN_I18N_DOMAIN); ?>:</label>131 <label><?php _e('Vote Type', 'likebtn-like-button'); ?>:</label> 132 132 <select name="likebtn_vote_type" > 133 <option value="">-- <?php _e('Likes & Dislikes', LIKEBTN_I18N_DOMAIN); ?> --</option>134 <option value="1" <?php selected((int)$vote_type, 1); ?> ><?php _e('Likes', LIKEBTN_I18N_DOMAIN); ?></option>135 <option value="-1" <?php selected((int)$vote_type, -1); ?> ><?php _e('Dislikes', LIKEBTN_I18N_DOMAIN); ?></option>133 <option value="">-- <?php _e('Likes & Dislikes', 'likebtn-like-button'); ?> --</option> 134 <option value="1" <?php selected((int)$vote_type, 1); ?> ><?php _e('Likes', 'likebtn-like-button'); ?></option> 135 <option value="-1" <?php selected((int)$vote_type, -1); ?> ><?php _e('Dislikes', 'likebtn-like-button'); ?></option> 136 136 </select> 137 137 </div> 138 138 139 139 <div class="likebtn-form-group"> 140 <input class="button-secondary" type="button" name="reset" value="<?php _e('Reset filter', LIKEBTN_I18N_DOMAIN); ?>" onClick="jQuery('.statistics_filter_container :input[type!=button]').val('');140 <input class="button-secondary" type="button" name="reset" value="<?php _e('Reset filter', 'likebtn-like-button'); ?>" onClick="jQuery('.statistics_filter_container :input[type!=button]').val(''); 141 141 jQuery('#votes_form').submit();"/> 142 142 </div> … … 145 145 146 146 <?php if ($blogs): ?> 147 <label><?php _e('Site', LIKEBTN_I18N_DOMAIN); ?>:</label>147 <label><?php _e('Site', 'likebtn-like-button'); ?>:</label> 148 148 <select name="likebtn_blog_id" > 149 149 <?php foreach ($blogs as $blog_id_value => $blog_title): ?> … … 153 153 <?php endif ?> 154 154 155 <label><?php _e('Page Size', LIKEBTN_I18N_DOMAIN); ?>:</label>155 <label><?php _e('Page Size', 'likebtn-like-button'); ?>:</label> 156 156 <select name="likebtn_page_size" > 157 157 <?php foreach ($likebtn_page_sizes as $page_size_value): ?> … … 162 162 <div class="tablenav"> 163 163 <nobr> 164 <input class="button-primary" type="submit" name="show" value="<?php _e('View', LIKEBTN_I18N_DOMAIN); ?>" />164 <input class="button-primary" type="submit" name="show" value="<?php _e('View', 'likebtn-like-button'); ?>" /> 165 165 166 <?php _e('Votes Found', LIKEBTN_I18N_DOMAIN); ?>: <strong><?php echo $total_found ?></strong>166 <?php _e('Votes Found', 'likebtn-like-button'); ?>: <strong><?php echo $total_found ?></strong> 167 167 </nobr> 168 168 <?php if (count($votes) && $p->lastpage > 1): ?> … … 177 177 <div class="tablenav"> 178 178 179 <button type="button" class="button-secondary" onclick="likebtnVg('<?php _e('Votes Graph', LIKEBTN_I18N_DOMAIN); ?>', '<?php echo get_option('likebtn_plan') ?>')" ><img src="<?php echo _likebtn_get_public_url(); ?>img/graph.png" class="likebtn-btn-img"/> <?php _e('Votes Graph', LIKEBTN_I18N_DOMAIN); ?></button>180 181 <button type="button" class="button-secondary" onclick="likebtnVotesExport('<?php _e('Export to CSV', LIKEBTN_I18N_DOMAIN); ?>')"><?php _e('Export to CSV', LIKEBTN_I18N_DOMAIN); ?></button>179 <button type="button" class="button-secondary" onclick="likebtnVg('<?php _e('Votes Graph', 'likebtn-like-button'); ?>', '<?php echo get_option('likebtn_plan') ?>')" ><img src="<?php echo _likebtn_get_public_url(); ?>img/graph.png" class="likebtn-btn-img"/> <?php _e('Votes Graph', 'likebtn-like-button'); ?></button> 180 181 <button type="button" class="button-secondary" onclick="likebtnVotesExport('<?php _e('Export to CSV', 'likebtn-like-button'); ?>')"><?php _e('Export to CSV', 'likebtn-like-button'); ?></button> 182 182 183 183 </div> … … 192 192 <th><?php _e('Site') ?></th> 193 193 <?php endif ?> 194 <th colspan="2"><?php _e('User', LIKEBTN_I18N_DOMAIN) ?></th>194 <th colspan="2"><?php _e('User', 'likebtn-like-button') ?></th> 195 195 <th>IP</th> 196 <th><?php _e('Date', LIKEBTN_I18N_DOMAIN) ?></th>197 <th><?php _e('Type', LIKEBTN_I18N_DOMAIN) ?></th>198 <th><?php _e('Item', LIKEBTN_I18N_DOMAIN) ?></th>196 <th><?php _e('Date', 'likebtn-like-button') ?></th> 197 <th><?php _e('Type', 'likebtn-like-button') ?></th> 198 <th><?php _e('Item', 'likebtn-like-button') ?></th> 199 199 </tr> 200 200 </thead> … … 228 228 $item_title = $votes_item->identifier; 229 229 $item_url = $votes_item->url; 230 $entity_type_name = __('Custom Item', LIKEBTN_I18N_DOMAIN);230 $entity_type_name = __('Custom Item', 'likebtn-like-button'); 231 231 } else { 232 232 if ($entity_info['entity_name'] && $entity_info['entity_id']) { … … 259 259 <a href="<?php echo $user_url ?>" target="_blank"><?php echo $user_name; ?></a> 260 260 <?php else: ?> 261 <?php echo __('Anonymous', LIKEBTN_I18N_DOMAIN); ?>261 <?php echo __('Anonymous', 'likebtn-like-button'); ?> 262 262 <?php endif ?> 263 263 </td> 264 264 <td> 265 265 <?php if (likebtn_is_real_ip($votes_item->ip)): ?> 266 <a href="javascript:likebtnIpInfo('<?php echo $votes_item->ip; ?>');" class="likebtn_ttip" title="<?php _e('View IP info', LIKEBTN_I18N_DOMAIN) ?>"><?php echo $votes_item->ip; ?></a>266 <a href="javascript:likebtnIpInfo('<?php echo $votes_item->ip; ?>');" class="likebtn_ttip" title="<?php _e('View IP info', 'likebtn-like-button') ?>"><?php echo $votes_item->ip; ?></a> 267 267 <?php else: ?> 268 <a href="<?php echo admin_url() ?>admin.php?page=likebtn_settings#gdpr" class="likebtn_ttip" title="<?php _e('Viewing info for this IP is not available as GDPR compliance mode is enabled (click to change)', LIKEBTN_I18N_DOMAIN) ?>" target="blank"><?php echo $votes_item->ip; ?></a>268 <a href="<?php echo admin_url() ?>admin.php?page=likebtn_settings#gdpr" class="likebtn_ttip" title="<?php _e('Viewing info for this IP is not available as GDPR compliance mode is enabled (click to change)', 'likebtn-like-button') ?>" target="blank"><?php echo $votes_item->ip; ?></a> 269 269 <?php endif ?> 270 270 </td> 271 271 <td><?php echo date("Y.m.d H:i:s", strtotime($votes_item->created_at)); ?></td> 272 272 <td> 273 <img src="<?php echo _likebtn_get_public_url()?>img/thumb/<?php echo $entity_vote_type; ?>.png" alt="<?php _e(ucfirst($entity_vote_type), LIKEBTN_I18N_DOMAIN) ?>" title="<?php _e(ucfirst($entity_vote_type), LIKEBTN_I18N_DOMAIN) ?>" class="likebtn_ttip" />273 <img src="<?php echo _likebtn_get_public_url()?>img/thumb/<?php echo $entity_vote_type; ?>.png" alt="<?php _e(ucfirst($entity_vote_type), 'likebtn-like-button') ?>" title="<?php _e(ucfirst($entity_vote_type), 'likebtn-like-button') ?>" class="likebtn_ttip" /> 274 274 </td> 275 275 <td><a href="<?php echo $item_url ?>" target="_blank"><?php echo $item_title; ?></a> … … 297 297 <?php endif ?> 298 298 <br/><br/> 299 <a href="javascript:jQuery('#likebtn_no_vts').toggle();void(0);"><?php _e('Do not see votes?', LIKEBTN_I18N_DOMAIN); ?></a>299 <a href="javascript:jQuery('#likebtn_no_vts').toggle();void(0);"><?php _e('Do not see votes?', 'likebtn-like-button'); ?></a> 300 300 <div id="likebtn_no_vts"> 301 301 <p class="description"> 302 ● <?php _e('If Like button is added using HTML-code votes will not be populated into your database. The recommended way of enabling the Like buttons is via <strong>Buttons</strong> tab or <a href="https://likebtn.com/en/wordpress-like-button-plugin#shortcode" target="_blank">[likebtn] shortcode</a>.', LIKEBTN_I18N_DOMAIN); ?><br/>302 ● <?php _e('If Like button is added using HTML-code votes will not be populated into your database. The recommended way of enabling the Like buttons is via <strong>Buttons</strong> tab or <a href="https://likebtn.com/en/wordpress-like-button-plugin#shortcode" target="_blank">[likebtn] shortcode</a>.', 'likebtn-like-button'); ?><br/> 303 303 ● <?php echo strtr( 304 __('Make sure not to disable anonymous access to %admin_ajax%, otherwise votes from anonymous visitors will not be accepted.', LIKEBTN_I18N_DOMAIN),304 __('Make sure not to disable anonymous access to %admin_ajax%, otherwise votes from anonymous visitors will not be accepted.', 'likebtn-like-button'), 305 305 array('%admin_ajax%'=>'<a href="'.admin_url('admin-ajax.php').'" target="_blank">/wp-admin/admin-ajax.php</a>')) ?> 306 306 </p> … … 316 316 </tr> 317 317 <tr> 318 <th><strong><?php _e('Country', LIKEBTN_I18N_DOMAIN); ?></strong></th>318 <th><strong><?php _e('Country', 'likebtn-like-button'); ?></strong></th> 319 319 <td class="likebtn-ii-country"><img src="<?php echo $loader ?>" /></td> 320 320 </tr> 321 321 <tr> 322 <th><strong><?php _e('City', LIKEBTN_I18N_DOMAIN); ?></strong></th>322 <th><strong><?php _e('City', 'likebtn-like-button'); ?></strong></th> 323 323 <td class="likebtn-ii-city"><img src="<?php echo $loader ?>" /></td> 324 324 </tr> 325 325 <tr> 326 <th><strong><?php _e('Lat/Long', LIKEBTN_I18N_DOMAIN); ?></strong></th>326 <th><strong><?php _e('Lat/Long', 'likebtn-like-button'); ?></strong></th> 327 327 <td class="likebtn-ii-latlon"><img src="<?php echo $loader ?>" /></td> 328 328 </tr> 329 329 <tr> 330 <th><strong><?php _e('Postal Code', LIKEBTN_I18N_DOMAIN); ?></strong></th>330 <th><strong><?php _e('Postal Code', 'likebtn-like-button'); ?></strong></th> 331 331 <td class="likebtn-ii-postal"><img src="<?php echo $loader ?>" /></td> 332 332 </tr> 333 333 <tr> 334 <th><strong><?php _e('Network', LIKEBTN_I18N_DOMAIN); ?></strong></th>334 <th><strong><?php _e('Network', 'likebtn-like-button'); ?></strong></th> 335 335 <td class="likebtn-ii-network"><img src="<?php echo $loader ?>" /></td> 336 336 </tr> 337 337 <tr> 338 <th><strong><?php _e('Hostname', LIKEBTN_I18N_DOMAIN); ?></strong></th>338 <th><strong><?php _e('Hostname', 'likebtn-like-button'); ?></strong></th> 339 339 <td class="likebtn-ii-hostname"><img src="<?php echo $loader ?>" /></td> 340 340 </tr> … … 342 342 <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> 343 343 <div class="ui-dialog-buttonset"> 344 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', LIKEBTN_I18N_DOMAIN); ?></span></button>344 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', 'likebtn-like-button'); ?></span></button> 345 345 </div> 346 346 </div> … … 352 352 <div class="likebtn-vgraph"></div> 353 353 <div class="likebtn-vgraph-error likebtn_error"> 354 <?php echo _e('Error occured, please try again later.', LIKEBTN_I18N_DOMAIN) ?>354 <?php echo _e('Error occured, please try again later.', 'likebtn-like-button') ?> 355 355 </div> 356 356 <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> 357 357 <div class="ui-dialog-buttonset"> 358 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', LIKEBTN_I18N_DOMAIN); ?></span></button>358 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', 'likebtn-like-button'); ?></span></button> 359 359 </div> 360 360 </div> … … 366 366 rangeSelectorFrom: '', 367 367 rangeSelectorTo: '/', 368 loading: "<?php _e('Loading...', LIKEBTN_I18N_DOMAIN) ?>",369 downloadJPEG: "<?php _e('Download JPEG image', LIKEBTN_I18N_DOMAIN) ?>",370 downloadPDF: "<?php _e('Download PDF document', LIKEBTN_I18N_DOMAIN) ?>",371 downloadPNG: "<?php _e('Download PNG image', LIKEBTN_I18N_DOMAIN) ?>",372 downloadSVG: "<?php _e('Download SVG vector image', LIKEBTN_I18N_DOMAIN) ?>",373 printChart: "<?php _e('Print chart', LIKEBTN_I18N_DOMAIN) ?>",374 months: ["<?php _e('January', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('February', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('March', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('April', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('May', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('June', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('July', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('August', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('September', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('October', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('November', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('December', LIKEBTN_I18N_DOMAIN) ?>"],368 loading: "<?php _e('Loading...', 'likebtn-like-button') ?>", 369 downloadJPEG: "<?php _e('Download JPEG image', 'likebtn-like-button') ?>", 370 downloadPDF: "<?php _e('Download PDF document', 'likebtn-like-button') ?>", 371 downloadPNG: "<?php _e('Download PNG image', 'likebtn-like-button') ?>", 372 downloadSVG: "<?php _e('Download SVG vector image', 'likebtn-like-button') ?>", 373 printChart: "<?php _e('Print chart', 'likebtn-like-button') ?>", 374 months: ["<?php _e('January', 'likebtn-like-button') ?>", "<?php _e('February', 'likebtn-like-button') ?>", "<?php _e('March', 'likebtn-like-button') ?>", "<?php _e('April', 'likebtn-like-button') ?>", "<?php _e('May', 'likebtn-like-button') ?>", "<?php _e('June', 'likebtn-like-button') ?>", "<?php _e('July', 'likebtn-like-button') ?>", "<?php _e('August', 'likebtn-like-button') ?>", "<?php _e('September', 'likebtn-like-button') ?>", "<?php _e('October', 'likebtn-like-button') ?>", "<?php _e('November', 'likebtn-like-button') ?>", "<?php _e('December', 'likebtn-like-button') ?>"], 375 375 numericSymbols: null, 376 shortMonths: ["<?php _e('Jan', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Feb', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Mar', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Apr', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('May', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Jun', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Jul', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Aug', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Sep', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Oct', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Nov', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Dec', LIKEBTN_I18N_DOMAIN) ?>"],377 weekdays: ["<?php _e('Sunday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Monday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Tuesday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Wednesday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Thursday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Friday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Saturday', LIKEBTN_I18N_DOMAIN) ?>"],378 noData: "<?php _e('No votes found', LIKEBTN_I18N_DOMAIN) ?>"376 shortMonths: ["<?php _e('Jan', 'likebtn-like-button') ?>", "<?php _e('Feb', 'likebtn-like-button') ?>", "<?php _e('Mar', 'likebtn-like-button') ?>", "<?php _e('Apr', 'likebtn-like-button') ?>", "<?php _e('May', 'likebtn-like-button') ?>", "<?php _e('Jun', 'likebtn-like-button') ?>", "<?php _e('Jul', 'likebtn-like-button') ?>", "<?php _e('Aug', 'likebtn-like-button') ?>", "<?php _e('Sep', 'likebtn-like-button') ?>", "<?php _e('Oct', 'likebtn-like-button') ?>", "<?php _e('Nov', 'likebtn-like-button') ?>", "<?php _e('Dec', 'likebtn-like-button') ?>"], 377 weekdays: ["<?php _e('Sunday', 'likebtn-like-button') ?>", "<?php _e('Monday', 'likebtn-like-button') ?>", "<?php _e('Tuesday', 'likebtn-like-button') ?>", "<?php _e('Wednesday', 'likebtn-like-button') ?>", "<?php _e('Thursday', 'likebtn-like-button') ?>", "<?php _e('Friday', 'likebtn-like-button') ?>", "<?php _e('Saturday', 'likebtn-like-button') ?>"], 378 noData: "<?php _e('No votes found', 'likebtn-like-button') ?>" 379 379 } 380 380 … … 416 416 if (typeof(plan) != "undefined" && parseInt(plan) < plans.ultra) { 417 417 jQuery(".likebtn-vgraph:visible:first").hide(); 418 likebtn_vg.find('.likebtn-vgraph-error:first').text("<?php echo strtr(__('Please upgrade at least to %plan% in order to user this feature.', LIKEBTN_I18N_DOMAIN), array('%plan%' => 'ULTRA')); ?>").show();418 likebtn_vg.find('.likebtn-vgraph-error:first').text("<?php echo strtr(__('Please upgrade at least to %plan% in order to user this feature.', 'likebtn-like-button'), array('%plan%' => 'ULTRA')); ?>").show(); 419 419 return false; 420 420 } … … 424 424 if (!response.data) { 425 425 jQuery(".likebtn-vgraph:visible:first").hide(); 426 likebtn_vg.find('.likebtn-vgraph-error:first').text("<?php echo _e('Error occured, please try again later.', LIKEBTN_I18N_DOMAIN) ?>").show();426 likebtn_vg.find('.likebtn-vgraph-error:first').text("<?php echo _e('Error occured, please try again later.', 'likebtn-like-button') ?>").show(); 427 427 return false; 428 428 } … … 464 464 }, 465 465 /*title : { 466 text : '<?php _e('Votes graph', LIKEBTN_I18N_DOMAIN) ?>'466 text : '<?php _e('Votes graph', 'likebtn-like-button') ?>' 467 467 },*/ 468 468 series : [ 469 469 { 470 name: "<?php _e('Total Votes', LIKEBTN_I18N_DOMAIN) ?>",470 name: "<?php _e('Total Votes', 'likebtn-like-button') ?>", 471 471 data: response.data.t, 472 472 color: "#337ab7", … … 478 478 }, 479 479 { 480 name: "<?php _e('Likes', LIKEBTN_I18N_DOMAIN) ?>",480 name: "<?php _e('Likes', 'likebtn-like-button') ?>", 481 481 data: response.data.l, 482 482 color: "#5cb85c", … … 488 488 }, 489 489 { 490 name: "<?php _e('Dislikes', LIKEBTN_I18N_DOMAIN) ?>",490 name: "<?php _e('Dislikes', 'likebtn-like-button') ?>", 491 491 data: response.data.d, 492 492 color: "#f0ad4e", … … 519 519 y: 30, 520 520 align: 'left', 521 text: '◁ <?php _e('Back', LIKEBTN_I18N_DOMAIN) ?>',521 text: '◁ <?php _e('Back', 'likebtn-like-button') ?>', 522 522 onclick: function() { 523 523 drillUp(vg_chart); … … 528 528 tooltip: { 529 529 useHTML: true, 530 footerFormat: '<sub><?php _e('Click to view details', LIKEBTN_I18N_DOMAIN) ?></sub>'530 footerFormat: '<sub><?php _e('Click to view details', 'likebtn-like-button') ?></sub>' 531 531 } 532 532 }; … … 587 587 588 588 if (drilldown_level < max_drilldown_level) { 589 chart.options.tooltip.footerFormat = '<sub><?php _e('Click to view details', LIKEBTN_I18N_DOMAIN) ?></sub>';589 chart.options.tooltip.footerFormat = '<sub><?php _e('Click to view details', 'likebtn-like-button') ?></sub>'; 590 590 chart.options.plotOptions.line.cursor = 'pointer'; 591 591 } else { … … 626 626 <form action="<?php echo admin_url('admin-ajax.php') ?>?action=likebtn_export_votes&<?php echo $_SERVER['QUERY_STRING'] ?>" method="post" target="_blank"> 627 627 <input type="hidden" name="export" value="1" /> 628 <strong><?php _e('Data to export', LIKEBTN_I18N_DOMAIN); ?>:</strong><br/>629 <label><input type="checkbox" name="fields[]" value="user" checked="checked" /> <?php _e('User Name', LIKEBTN_I18N_DOMAIN); ?></label><br/>630 <label><input type="checkbox" name="fields[]" value="user_email" checked="checked" /> <?php _e('User Email', LIKEBTN_I18N_DOMAIN); ?></label><br/>631 <label><input type="checkbox" name="fields[]" value="ip" checked="checked" /> <?php _e('IP', LIKEBTN_I18N_DOMAIN); ?></label><br/>632 <label><input type="checkbox" name="fields[]" value="country" checked="checked" /> <?php _e('Country', LIKEBTN_I18N_DOMAIN); ?></label><br/>633 <label><input type="checkbox" name="fields[]" value="date" checked="checked" /> <?php _e('Date', LIKEBTN_I18N_DOMAIN); ?></label><br/>634 <label><input type="checkbox" name="fields[]" value="type" checked="checked" /> <?php _e('Vote type', LIKEBTN_I18N_DOMAIN); ?></label><br/>635 <label><input type="checkbox" name="fields[]" value="item_id" checked="checked" /> <?php _e('Item ID', LIKEBTN_I18N_DOMAIN); ?></label><br/>636 <label><input type="checkbox" name="fields[]" value="item_title" checked="checked" /> <?php _e('Item Title', LIKEBTN_I18N_DOMAIN); ?></label><br/>637 <label><input type="checkbox" name="fields[]" value="item_url" checked="checked" /> <?php _e('Item URL', LIKEBTN_I18N_DOMAIN); ?></label><br/>638 <label><input type="checkbox" name="fields[]" value="item_type" checked="checked" /> <?php _e('Item Type', LIKEBTN_I18N_DOMAIN); ?></label><br/>628 <strong><?php _e('Data to export', 'likebtn-like-button'); ?>:</strong><br/> 629 <label><input type="checkbox" name="fields[]" value="user" checked="checked" /> <?php _e('User Name', 'likebtn-like-button'); ?></label><br/> 630 <label><input type="checkbox" name="fields[]" value="user_email" checked="checked" /> <?php _e('User Email', 'likebtn-like-button'); ?></label><br/> 631 <label><input type="checkbox" name="fields[]" value="ip" checked="checked" /> <?php _e('IP', 'likebtn-like-button'); ?></label><br/> 632 <label><input type="checkbox" name="fields[]" value="country" checked="checked" /> <?php _e('Country', 'likebtn-like-button'); ?></label><br/> 633 <label><input type="checkbox" name="fields[]" value="date" checked="checked" /> <?php _e('Date', 'likebtn-like-button'); ?></label><br/> 634 <label><input type="checkbox" name="fields[]" value="type" checked="checked" /> <?php _e('Vote type', 'likebtn-like-button'); ?></label><br/> 635 <label><input type="checkbox" name="fields[]" value="item_id" checked="checked" /> <?php _e('Item ID', 'likebtn-like-button'); ?></label><br/> 636 <label><input type="checkbox" name="fields[]" value="item_title" checked="checked" /> <?php _e('Item Title', 'likebtn-like-button'); ?></label><br/> 637 <label><input type="checkbox" name="fields[]" value="item_url" checked="checked" /> <?php _e('Item URL', 'likebtn-like-button'); ?></label><br/> 638 <label><input type="checkbox" name="fields[]" value="item_type" checked="checked" /> <?php _e('Item Type', 'likebtn-like-button'); ?></label><br/> 639 639 <br/> 640 <strong><?php _e('Encoding', LIKEBTN_I18N_DOMAIN); ?>:</strong>640 <strong><?php _e('Encoding', 'likebtn-like-button'); ?>:</strong> 641 641 <select name="encoding"> 642 642 <option value="UCS-2LE">UTF-16LE (UCS-2LE) - <?php _e('Recommended'); ?></option> … … 646 646 </select> 647 647 <br/><br/> 648 <strong><?php _e('Field Separator', LIKEBTN_I18N_DOMAIN); ?>:</strong>648 <strong><?php _e('Field Separator', 'likebtn-like-button'); ?>:</strong> 649 649 <select name="separator"> 650 650 <option value="TAB">Tab (\t) - <?php _e('Recommended'); ?></option> … … 657 657 <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> 658 658 <div class="ui-dialog-buttonset"> 659 <button type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-primary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Export', LIKEBTN_I18N_DOMAIN); ?></span></button>660 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', LIKEBTN_I18N_DOMAIN); ?></span></button>659 <button type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-primary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Export', 'likebtn-like-button'); ?></span></button> 660 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', 'likebtn-like-button'); ?></span></button> 661 661 </div> 662 662 </div> -
likebtn-like-button/tags/2.6.33/includes/um.php
r2467848 r2469287 22 22 23 23 $tabs['likebtn-liked-content'] = array( 24 'name' => __('Liked Content', LIKEBTN_I18N_DOMAIN),24 'name' => __('Liked Content', 'likebtn-like-button'), 25 25 'icon' => 'um-faicon-heart', 26 26 ); -
likebtn-like-button/tags/2.6.33/likebtn_like_button.class.php
r2467848 r2469287 119 119 { 120 120 if (strstr(strtolower($text), 'name lookup timed out')) { 121 $text .= '. '.__('Please install http://wordpress.org/extend/plugins/core-control/ plugin, open the Core Control settings page, activate the HTTP Module and click the Disable Transport link for cURL.', LIKEBTN_I18N_DOMAIN);121 $text .= '. '.__('Please install http://wordpress.org/extend/plugins/core-control/ plugin, open the Core Control settings page, activate the HTTP Module and click the Disable Transport link for cURL.', 'likebtn-like-button'); 122 122 } 123 123 return $text; -
likebtn-like-button/tags/2.6.33/likebtn_like_button.php
r2468539 r2469287 19 19 define('LIKEBTN_DB_VERSION', 20); 20 20 21 // i18n domain22 define('LIKEBTN_I18N', 'likebtn-like-button');23 define('LIKEBTN_I18N_DOMAIN', 'likebtn-like-button');24 21 // Plugin name (for templates) 25 22 define('LIKEBTN_PLUGIN_NAME', 'likebtn-like-button'); … … 646 643 'likebtn_notify_to' => get_option('admin_email'), 647 644 'likebtn_notify_from' => likebtn_default_notify_from(), 648 'likebtn_notify_subject' => '♥ '.__('New {vote_type} on {domain}', LIKEBTN_I18N_DOMAIN),645 'likebtn_notify_subject' => '♥ '.__('New {vote_type} on {domain}', 'likebtn-like-button'), 649 646 'likebtn_notify_text' => likebtn_default_notify_text(), 650 647 "likebtn_info_message" => '1', … … 667 664 'likebtn_like_box_size' => LIKEBTN_LIKE_BOX_SIZE, 668 665 'likebtn_like_box_type' => LIKEBTN_VOTE_LIKE, 669 'likebtn_like_box_text' => __('Users who liked this:', LIKEBTN_I18N_DOMAIN),666 'likebtn_like_box_text' => __('Users who liked this:', 'likebtn-like-button'), 670 667 'likebtn_position' => LIKEBTN_POSITION_BOTTOM, 671 668 'likebtn_alignment' => LIKEBTN_ALIGNMENT_LEFT, … … 1438 1435 1439 1436 global $user_logged_in_alert_default; 1440 $user_logged_in_alert_default = __('You need to <a href="%url_login%">login</a> in order to vote', LIKEBTN_I18N_DOMAIN);1437 $user_logged_in_alert_default = __('You need to <a href="%url_login%">login</a> in order to vote', 'likebtn-like-button'); 1441 1438 1442 1439 // Resources to check … … 1710 1707 _likebtn_plugin_on_load(); 1711 1708 1712 load_plugin_textdomain( LIKEBTN_I18N_DOMAIN, false, dirname(plugin_basename(__FILE__)) . '/languages');1709 load_plugin_textdomain('likebtn-like-button', false, dirname(plugin_basename(__FILE__)) . '/languages'); 1713 1710 1714 1711 if (is_admin()) { … … 1727 1724 $plugin_file = basename(__FILE__); 1728 1725 if (basename($file) == $plugin_file) { 1729 $settings_link = '<a href="admin.php?page=likebtn_settings">' . __('Settings', LIKEBTN_I18N_DOMAIN) . '</a>';1726 $settings_link = '<a href="admin.php?page=likebtn_settings">' . __('Settings', 'likebtn-like-button') . '</a>'; 1730 1727 array_unshift($links, $settings_link); 1731 1728 } … … 1739 1736 $logo_url = _likebtn_get_public_url() . 'img/menu_icon.png'; 1740 1737 1741 add_menu_page(__('Like Buttons', LIKEBTN_I18N_DOMAIN), __('Like Buttons', LIKEBTN_I18N_DOMAIN), 'manage_options', 'likebtn_buttons', '', $logo_url);1738 add_menu_page(__('Like Buttons', 'likebtn-like-button'), __('Like Buttons', 'likebtn-like-button'), 'manage_options', 'likebtn_buttons', '', $logo_url); 1742 1739 add_submenu_page( 1743 'likebtn_buttons', __('Buttons', LIKEBTN_I18N_DOMAIN) . ' ‹ ' . __('LikeBtn Like Button', LIKEBTN_I18N_DOMAIN), __('Buttons', LIKEBTN_I18N_DOMAIN), 'manage_options', 'likebtn_buttons', 'likebtn_admin_buttons'1740 'likebtn_buttons', __('Buttons', 'likebtn-like-button') . ' ‹ ' . __('LikeBtn Like Button', 'likebtn-like-button'), __('Buttons', 'likebtn-like-button'), 'manage_options', 'likebtn_buttons', 'likebtn_admin_buttons' 1744 1741 ); 1745 1742 //add_options_page('LikeBtn Like Button', __('LikeBtn Like Button', 'likebtn'), 'activate_plugins', 'likebtn', 'likebtn_admin_content'); 1746 1743 add_submenu_page( 1747 'likebtn_buttons', __('Settings', LIKEBTN_I18N_DOMAIN) . ' ‹ ' . __('LikeBtn Like Button', LIKEBTN_I18N_DOMAIN), __('Settings', LIKEBTN_I18N_DOMAIN), 'manage_options', 'likebtn_settings', 'likebtn_admin_settings'1744 'likebtn_buttons', __('Settings', 'likebtn-like-button') . ' ‹ ' . __('LikeBtn Like Button', 'likebtn-like-button'), __('Settings', 'likebtn-like-button'), 'manage_options', 'likebtn_settings', 'likebtn_admin_settings' 1748 1745 ); 1749 1746 add_submenu_page( 1750 'likebtn_buttons', __('Statistics', LIKEBTN_I18N_DOMAIN) . ' ‹ LikeBtn Like Button', __('Statistics', LIKEBTN_I18N_DOMAIN), 'manage_options', 'likebtn_statistics', 'likebtn_admin_statistics'1747 'likebtn_buttons', __('Statistics', 'likebtn-like-button') . ' ‹ LikeBtn Like Button', __('Statistics', 'likebtn-like-button'), 'manage_options', 'likebtn_statistics', 'likebtn_admin_statistics' 1751 1748 ); 1752 1749 add_submenu_page( 1753 'likebtn_buttons', __('Votes', LIKEBTN_I18N_DOMAIN) . ' ‹ LikeBtn Like Button', __('Votes', LIKEBTN_I18N_DOMAIN), 'manage_options', 'likebtn_votes', 'likebtn_admin_votes'1750 'likebtn_buttons', __('Votes', 'likebtn-like-button') . ' ‹ LikeBtn Like Button', __('Votes', 'likebtn-like-button'), 'manage_options', 'likebtn_votes', 'likebtn_admin_votes' 1754 1751 ); 1755 1752 add_submenu_page( 1756 'likebtn_buttons', __('Reports', LIKEBTN_I18N_DOMAIN) . ' ‹ LikeBtn Like Button', __('Reports', LIKEBTN_I18N_DOMAIN), 'manage_options', 'likebtn_reports', 'likebtn_admin_reports'1753 'likebtn_buttons', __('Reports', 'likebtn-like-button') . ' ‹ LikeBtn Like Button', __('Reports', 'likebtn-like-button'), 'manage_options', 'likebtn_reports', 'likebtn_admin_reports' 1757 1754 ); 1758 1755 add_submenu_page( 1759 'likebtn_buttons', __('Widgets', LIKEBTN_I18N_DOMAIN) . ' ‹ LikeBtn Like Button', __('Widgets', LIKEBTN_I18N_DOMAIN), 'manage_options', 'likebtn_widget', 'likebtn_admin_widget'1756 'likebtn_buttons', __('Widgets', 'likebtn-like-button') . ' ‹ LikeBtn Like Button', __('Widgets', 'likebtn-like-button'), 'manage_options', 'likebtn_widget', 'likebtn_admin_widget' 1760 1757 ); 1761 1758 add_submenu_page( … … 1781 1778 var likebtn_msg_locale = "<?php echo get_locale(); ?>"; 1782 1779 1783 var likebtn_msg_website = "<?php echo __('https://likebtn.com/en/', LIKEBTN_I18N_DOMAIN) ?>";1784 var likebtn_msg_d_title = "<?php echo likebtn_esctr_msg(__('Like Button Plugin Deactivation', LIKEBTN_I18N_DOMAIN)) ?>";1785 var likebtn_msg_f_intro = "<?php echo likebtn_esctr_msg(__('We are very sorry that our Like Button plugin did not satisfy your needs. Could you please tell us why you\'ve decided to deactivate the plugin, maybe we still can help. We are not leaving even one client unsatisfied!', LIKEBTN_I18N_DOMAIN)) ?>";1786 var likebtn_msg_f_features = "<?php echo likebtn_esctr_msg(__('I\'m missing some feature(s) in the plugin', LIKEBTN_I18N_DOMAIN)) ?>";1787 var likebtn_msg_f_ph = "<?php echo likebtn_esctr_msg(__('Please list here those features which you are missing in the plugin and we will implement them ASAP', LIKEBTN_I18N_DOMAIN)) ?>";1788 var likebtn_msg_f_notify = "<?php echo likebtn_esctr_msg(__('Notify me by email when features are ready', LIKEBTN_I18N_DOMAIN)) ?>";1789 var likebtn_msg_ye = "<?php echo likebtn_esctr_msg(__('Your email', LIKEBTN_I18N_DOMAIN)) ?>";1790 var likebtn_msg_f_pricing = "<?php echo likebtn_esctr_msg(__('It\'s too expensive — I\'m looking for a free/cheaper plugin', LIKEBTN_I18N_DOMAIN)) ?>";1791 var likebtn_msg_f_pricing_i = "<?php echo likebtn_esctr_msg(__('We approach each client individually — don\'t hesitate and <nobr><a href=\"javascript:likebtnContactUs();likebtn_poll_cntr.dialog(\'close\');void(0);\">drop us a message</a></nobr> and we will provide you with an individual pricing solution.', LIKEBTN_I18N_DOMAIN)) ?>";1792 var likebtn_msg_f_int = "<?php echo likebtn_esctr_msg(__('I could not integrate Like Button into my website', LIKEBTN_I18N_DOMAIN)) ?>";1793 var likebtn_msg_f_i1 = "<?php echo likebtn_esctr_msg(__('Just contact <a href=\"javascript:likebtnContactUs();likebtn_poll_cntr.dialog(\'close\');void(0);\">our support</a> and we will do our best to help you or check our', LIKEBTN_I18N_DOMAIN)) ?>";1794 var likebtn_msg_f_i2 = "<?php echo likebtn_esctr_msg(__('developers directory', LIKEBTN_I18N_DOMAIN)) ?>";1795 var likebtn_msg_other = "<?php echo likebtn_esctr_msg(__('Other reason', LIKEBTN_I18N_DOMAIN)) ?>";1796 var likebtn_msg_other_ph = "<?php echo likebtn_esctr_msg(__('Please tell us why Like Button plugin did not satisfy your needs and we will try to do everything possible to make you happy. Be sure!', LIKEBTN_I18N_DOMAIN)) ?>";1797 var likebtn_msg_f_cancel = "<?php echo likebtn_esctr_msg(__('Cancel', LIKEBTN_I18N_DOMAIN)) ?>";1798 var likebtn_msg_f_close = "<?php echo likebtn_esctr_msg(__('Close', LIKEBTN_I18N_DOMAIN)) ?>";1780 var likebtn_msg_website = "<?php echo __('https://likebtn.com/en/', 'likebtn-like-button') ?>"; 1781 var likebtn_msg_d_title = "<?php echo likebtn_esctr_msg(__('Like Button Plugin Deactivation', 'likebtn-like-button')) ?>"; 1782 var likebtn_msg_f_intro = "<?php echo likebtn_esctr_msg(__('We are very sorry that our Like Button plugin did not satisfy your needs. Could you please tell us why you\'ve decided to deactivate the plugin, maybe we still can help. We are not leaving even one client unsatisfied!', 'likebtn-like-button')) ?>"; 1783 var likebtn_msg_f_features = "<?php echo likebtn_esctr_msg(__('I\'m missing some feature(s) in the plugin', 'likebtn-like-button')) ?>"; 1784 var likebtn_msg_f_ph = "<?php echo likebtn_esctr_msg(__('Please list here those features which you are missing in the plugin and we will implement them ASAP', 'likebtn-like-button')) ?>"; 1785 var likebtn_msg_f_notify = "<?php echo likebtn_esctr_msg(__('Notify me by email when features are ready', 'likebtn-like-button')) ?>"; 1786 var likebtn_msg_ye = "<?php echo likebtn_esctr_msg(__('Your email', 'likebtn-like-button')) ?>"; 1787 var likebtn_msg_f_pricing = "<?php echo likebtn_esctr_msg(__('It\'s too expensive — I\'m looking for a free/cheaper plugin', 'likebtn-like-button')) ?>"; 1788 var likebtn_msg_f_pricing_i = "<?php echo likebtn_esctr_msg(__('We approach each client individually — don\'t hesitate and <nobr><a href=\"javascript:likebtnContactUs();likebtn_poll_cntr.dialog(\'close\');void(0);\">drop us a message</a></nobr> and we will provide you with an individual pricing solution.', 'likebtn-like-button')) ?>"; 1789 var likebtn_msg_f_int = "<?php echo likebtn_esctr_msg(__('I could not integrate Like Button into my website', 'likebtn-like-button')) ?>"; 1790 var likebtn_msg_f_i1 = "<?php echo likebtn_esctr_msg(__('Just contact <a href=\"javascript:likebtnContactUs();likebtn_poll_cntr.dialog(\'close\');void(0);\">our support</a> and we will do our best to help you or check our', 'likebtn-like-button')) ?>"; 1791 var likebtn_msg_f_i2 = "<?php echo likebtn_esctr_msg(__('developers directory', 'likebtn-like-button')) ?>"; 1792 var likebtn_msg_other = "<?php echo likebtn_esctr_msg(__('Other reason', 'likebtn-like-button')) ?>"; 1793 var likebtn_msg_other_ph = "<?php echo likebtn_esctr_msg(__('Please tell us why Like Button plugin did not satisfy your needs and we will try to do everything possible to make you happy. Be sure!', 'likebtn-like-button')) ?>"; 1794 var likebtn_msg_f_cancel = "<?php echo likebtn_esctr_msg(__('Cancel', 'likebtn-like-button')) ?>"; 1795 var likebtn_msg_f_close = "<?php echo likebtn_esctr_msg(__('Close', 'likebtn-like-button')) ?>"; 1799 1796 var likebtn_msg_coupon = "LIKE9F452C"; 1800 var likebtn_msg_f_deact_anyway = "<?php echo likebtn_esctr_msg(__('Deactivate plugin anyway', LIKEBTN_I18N_DOMAIN)) ?>";1801 var likebtn_msg_f_submit1 = "<?php echo likebtn_esctr_msg(__('Submit and Deactivate Plugin', LIKEBTN_I18N_DOMAIN)) ?>";1802 var likebtn_msg_f_submit2 = "<?php echo likebtn_esctr_msg(__('Submit and KEEP plugin active', LIKEBTN_I18N_DOMAIN)) ?>";1803 var likebtn_msg_f_tmp = "<?php echo likebtn_esctr_msg(__('Deactivating for time being', LIKEBTN_I18N_DOMAIN)) ?>";1804 var likebtn_msg_f_offer1 = "<?php echo likebtn_esctr_msg(strtr(__('Here is your personal <strong style="font-size:20px;">%discount%% OFF</strong> coupon. Enter the code on %a_start%Upgrade%a_end% page and click Apply!', LIKEBTN_I18N_DOMAIN), array('%discount%'=>65, '%a_start%'=>'<a href="'.__("https://likebtn.com/en/customer.php/upgrade/", LIKEBTN_I18N_DOMAIN)."?site_id=".get_option('likebtn_site_id')."&engine=wordpress&add_website=".$_SERVER['SERVER_NAME'].'" target="_blank">', '%a_end%'=>'</a>'))) ?>";1805 var likebtn_msg_f_offer2 = "<?php echo __("Enjoy!", LIKEBTN_I18N_DOMAIN) ?>";1797 var likebtn_msg_f_deact_anyway = "<?php echo likebtn_esctr_msg(__('Deactivate plugin anyway', 'likebtn-like-button')) ?>"; 1798 var likebtn_msg_f_submit1 = "<?php echo likebtn_esctr_msg(__('Submit and Deactivate Plugin', 'likebtn-like-button')) ?>"; 1799 var likebtn_msg_f_submit2 = "<?php echo likebtn_esctr_msg(__('Submit and KEEP plugin active', 'likebtn-like-button')) ?>"; 1800 var likebtn_msg_f_tmp = "<?php echo likebtn_esctr_msg(__('Deactivating for time being', 'likebtn-like-button')) ?>"; 1801 var likebtn_msg_f_offer1 = "<?php echo likebtn_esctr_msg(strtr(__('Here is your personal <strong style="font-size:20px;">%discount%% OFF</strong> coupon. Enter the code on %a_start%Upgrade%a_end% page and click Apply!', 'likebtn-like-button'), array('%discount%'=>65, '%a_start%'=>'<a href="'.__("https://likebtn.com/en/customer.php/upgrade/", 'likebtn-like-button')."?site_id=".get_option('likebtn_site_id')."&engine=wordpress&add_website=".$_SERVER['SERVER_NAME'].'" target="_blank">', '%a_end%'=>'</a>'))) ?>"; 1802 var likebtn_msg_f_offer2 = "<?php echo __("Enjoy!", 'likebtn-like-button') ?>"; 1806 1803 </script> 1807 1804 <?php … … 1856 1853 <div class="inside likebtn_sidebar_inside"> 1857 1854 <a href="https://likebtn.com/en/wordpress-like-button-plugin" target="_blank" title="LikeBtn.com"><img alt="" src="'.$logo_url.'" /></a> 1858 <input type="submit" id="likebtn_contact" value="' . __('Contact Us', LIKEBTN_I18N_DOMAIN) . '" class="button-primary" onclick="likebtnContactUs()">1855 <input type="submit" id="likebtn_contact" value="' . __('Contact Us', 'likebtn-like-button') . '" class="button-primary" onclick="likebtnContactUs()"> 1859 1856 </div> 1860 1857 </div> 1861 1858 '.(get_option('likebtn_acc_data_correct') == '1' ? 1862 1859 '<div class="postbox"> 1863 <h3 class="hndle ui-sortable-handle"><span>' . __('Plan & Features', LIKEBTN_I18N_DOMAIN) . '</span></h3>1860 <h3 class="hndle ui-sortable-handle"><span>' . __('Plan & Features', 'likebtn-like-button') . '</span></h3> 1864 1861 ' . _likebtn_sidebar_plan() . ' 1865 1862 </div>' 1866 1863 : ''). 1867 1864 '<div class="postbox"> 1868 <h3 class="hndle ui-sortable-handle"><span>' . __('Synchronization', LIKEBTN_I18N_DOMAIN) . '</span></h3>1865 <h3 class="hndle ui-sortable-handle"><span>' . __('Synchronization', 'likebtn-like-button') . '</span></h3> 1869 1866 <div class="inside likebtn_sidebar_inside"> 1870 1867 ' . _likebtn_sidebar_synchronization() . ' … … 1872 1869 </div>' . 1873 1870 '<div class="postbox"> 1874 <h3 class="hndle ui-sortable-handle"><span>' . __('GDPR Compliance', LIKEBTN_I18N_DOMAIN) . '</span></h3>1871 <h3 class="hndle ui-sortable-handle"><span>' . __('GDPR Compliance', 'likebtn-like-button') . '</span></h3> 1875 1872 <div class="inside likebtn_sidebar_inside"> 1876 1873 <center><a href="'.admin_url() . 'admin.php?page=likebtn_settings#gdpr" style="display:block"><img src="'._likebtn_get_public_url().'img/gdpr_ready.jpg" style="max-width:45%"/></a></center> … … 1879 1876 ($_GET['page'] == 'likebtn_buttons' ? 1880 1877 '<div class="postbox"> 1881 <h3 class="hndle ui-sortable-handle"><span>' . __('Referral Program', LIKEBTN_I18N_DOMAIN) . '</span></h3>1878 <h3 class="hndle ui-sortable-handle"><span>' . __('Referral Program', 'likebtn-like-button') . '</span></h3> 1882 1879 <div class="inside likebtn_sidebar_inside"> 1883 1880 ' . _likebtn_sidebar_rp() . ' … … 1888 1885 <div id="postbox-container-2" class="postbox-container"> 1889 1886 <h1 class="nav-tab-wrapper"> 1890 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_buttons' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_buttons">' . __('Buttons', LIKEBTN_I18N_DOMAIN) . '</a>1891 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_settings' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_settings">' . __('Settings', LIKEBTN_I18N_DOMAIN) . '</a>1892 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_statistics' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_statistics">' . __('Statistics', LIKEBTN_I18N_DOMAIN) . '</a>1893 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_votes' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_votes">' . __('Votes', LIKEBTN_I18N_DOMAIN) . '</a>1894 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_reports' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_reports">' . __('Reports', LIKEBTN_I18N_DOMAIN) . '</a>1895 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_widget' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_widget">' . __('Widgets', LIKEBTN_I18N_DOMAIN) . '</a>1887 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_buttons' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_buttons">' . __('Buttons', 'likebtn-like-button') . '</a> 1888 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_settings' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_settings">' . __('Settings', 'likebtn-like-button') . '</a> 1889 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_statistics' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_statistics">' . __('Statistics', 'likebtn-like-button') . '</a> 1890 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_votes' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_votes">' . __('Votes', 'likebtn-like-button') . '</a> 1891 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_reports' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_reports">' . __('Reports', 'likebtn-like-button') . '</a> 1892 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_widget' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_widget">' . __('Widgets', 'likebtn-like-button') . '</a> 1896 1893 <a class="nav-tab ' . ($_GET['page'] == 'likebtn_help' ? 'nav-tab-active' : '') . '" href="' . admin_url() . 'admin.php?page=likebtn_help">' . __('Help') . '</a>'; 1897 1894 … … 1952 1949 1953 1950 if ($plan_synced && $likebtn_plan == LIKEBTN_PLAN_TRIAL) { 1954 $html .= ' <a href="javascript:goFree(\''.__('If you want to finish your TRIAL now please type «FREE» to switch to the FREE plan', LIKEBTN_I18N_DOMAIN).'\', \''.__('Error occured, please try again later.', LIKEBTN_I18N_DOMAIN).'\', \''.__('Plan data refreshed', LIKEBTN_I18N_DOMAIN).'\');void(0);">'.__('Switch to FREE now', LIKEBTN_I18N_DOMAIN).'</a>';1951 $html .= ' <a href="javascript:goFree(\''.__('If you want to finish your TRIAL now please type «FREE» to switch to the FREE plan', 'likebtn-like-button').'\', \''.__('Error occured, please try again later.', 'likebtn-like-button').'\', \''.__('Plan data refreshed', 'likebtn-like-button').'\');void(0);">'.__('Switch to FREE now', 'likebtn-like-button').'</a>'; 1955 1952 } 1956 1953 … … 1967 1964 <div class="likebtn_sidebar_div"></div> 1968 1965 <div id="likebtn_trial_info" class="likebtn_sidebar_section"> 1969 <a href="javascript:jQuery(\'#likebtn_trial_help\').toggle();void(0);">'.__('What is TRIAL?', LIKEBTN_I18N_DOMAIN).'</a>1970 <div id="likebtn_trial_help" style="display:none"><br/>'.strtr(__('During the TRIAL period you can enjoy ULTRA features for 7 days. After TRIAL expires your website is switched to the %a_begin%FREE%a_end% plan (all the votes will be kept!) and you can continue using FREE plan or go Premium.', LIKEBTN_I18N_DOMAIN), array('%a_begin%'=>'<a href="javascript:likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', LIKEBTN_I18N_DOMAIN).'?site_id='.get_option('likebtn_site_id').'&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\');void(0);">', '%a_end%'=>'</a>')).'</div>1966 <a href="javascript:jQuery(\'#likebtn_trial_help\').toggle();void(0);">'.__('What is TRIAL?', 'likebtn-like-button').'</a> 1967 <div id="likebtn_trial_help" style="display:none"><br/>'.strtr(__('During the TRIAL period you can enjoy ULTRA features for 7 days. After TRIAL expires your website is switched to the %a_begin%FREE%a_end% plan (all the votes will be kept!) and you can continue using FREE plan or go Premium.', 'likebtn-like-button'), array('%a_begin%'=>'<a href="javascript:likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', 'likebtn-like-button').'?site_id='.get_option('likebtn_site_id').'&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\');void(0);">', '%a_end%'=>'</a>')).'</div> 1971 1968 </div>'; 1972 1969 } … … 1977 1974 $likebtn_alert = ''; 1978 1975 if (/*(*/!_likebtn_is_stat_enabled() /*|| get_option('likebtn_last_sync_message'))*/ && $features['statistics']) { 1979 $likebtn_alert = ' <i class="likebtn_ttip likebtn_alert" data-likebtn_ttip_gr="e" title="'.__('Configure Synchronization in order to use this feature', LIKEBTN_I18N_DOMAIN).'"></i>';1976 $likebtn_alert = ' <i class="likebtn_ttip likebtn_alert" data-likebtn_ttip_gr="e" title="'.__('Configure Synchronization in order to use this feature', 'likebtn-like-button').'"></i>'; 1980 1977 } 1981 1978 … … 1983 1980 <div class="likebtn_sidebar_div"></div> 1984 1981 <div class="likebtn_sidebar_section"> 1985 '.__('Max buttons per page', LIKEBTN_I18N_DOMAIN).': <strong><nobr>'.($features['max_buttons'] ? $features['max_buttons'] : __('Unlimited', LIKEBTN_I18N_DOMAIN)).'</nobr></strong>1982 '.__('Max buttons per page', 'likebtn-like-button').': <strong><nobr>'.($features['max_buttons'] ? $features['max_buttons'] : __('Unlimited', 'likebtn-like-button')).'</nobr></strong> 1986 1983 </div> 1987 1984 <div class="likebtn_sidebar_div"></div> 1988 1985 <div class="likebtn_sidebar_section"> 1989 1986 <ul class="likebtn_features"> 1990 <li class="likebtn_avail"><span class="likebtn_ttip" title="FREE">'.__('Reports', LIKEBTN_I18N_DOMAIN).'</span></li>1991 <li class="likebtn_avail"><span class="likebtn_ttip" title="FREE">'.__('Like box', LIKEBTN_I18N_DOMAIN).'</span></li>1992 <li class="likebtn_avail"><span class="likebtn_ttip" title="FREE">'.__('Google Rich Snippets', LIKEBTN_I18N_DOMAIN).'</span> <small><a href="'.__('https://likebtn.com/en/faq#rich_snippets', LIKEBTN_I18N_DOMAIN).'" target="_blank">'.__('what is it?', LIKEBTN_I18N_DOMAIN).'</a></small></li>1993 <li class="'.($features['statistics'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Statistics', LIKEBTN_I18N_DOMAIN).'</span>'.$likebtn_alert.'</li>1994 <li class="'.($features['synchronization'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Synchronization', LIKEBTN_I18N_DOMAIN).'</span> <small><a href="'.admin_url().'admin.php?page=likebtn_settings#synchronization" target="_blank">'.__('what is it?', LIKEBTN_I18N_DOMAIN).'</a></small></li>1995 <li class="'.($features['most_liked_widget'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Most liked content widget', LIKEBTN_I18N_DOMAIN).'</span>'.$likebtn_alert.'</li>1996 <li class="'.($features['sorting'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Sorting content by likes', LIKEBTN_I18N_DOMAIN).'</span>'.$likebtn_alert.'</li>1997 <li class="'.($features['changing'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="ULTRA">'.__('Change number of likes by admin', LIKEBTN_I18N_DOMAIN).'</span>'.$likebtn_alert.'</li>1998 <li class="'.($features['graph'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="ULTRA">'.__('Votes graph', LIKEBTN_I18N_DOMAIN).'</span>'.$likebtn_alert.'</li>1987 <li class="likebtn_avail"><span class="likebtn_ttip" title="FREE">'.__('Reports', 'likebtn-like-button').'</span></li> 1988 <li class="likebtn_avail"><span class="likebtn_ttip" title="FREE">'.__('Like box', 'likebtn-like-button').'</span></li> 1989 <li class="likebtn_avail"><span class="likebtn_ttip" title="FREE">'.__('Google Rich Snippets', 'likebtn-like-button').'</span> <small><a href="'.__('https://likebtn.com/en/faq#rich_snippets', 'likebtn-like-button').'" target="_blank">'.__('what is it?', 'likebtn-like-button').'</a></small></li> 1990 <li class="'.($features['statistics'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Statistics', 'likebtn-like-button').'</span>'.$likebtn_alert.'</li> 1991 <li class="'.($features['synchronization'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Synchronization', 'likebtn-like-button').'</span> <small><a href="'.admin_url().'admin.php?page=likebtn_settings#synchronization" target="_blank">'.__('what is it?', 'likebtn-like-button').'</a></small></li> 1992 <li class="'.($features['most_liked_widget'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Most liked content widget', 'likebtn-like-button').'</span>'.$likebtn_alert.'</li> 1993 <li class="'.($features['sorting'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="PRO / VIP / ULTRA">'.__('Sorting content by likes', 'likebtn-like-button').'</span>'.$likebtn_alert.'</li> 1994 <li class="'.($features['changing'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="ULTRA">'.__('Change number of likes by admin', 'likebtn-like-button').'</span>'.$likebtn_alert.'</li> 1995 <li class="'.($features['graph'] ? 'likebtn_avail' : 'likebtn_unavail').'"><span class="likebtn_ttip" title="ULTRA">'.__('Votes graph', 'likebtn-like-button').'</span>'.$likebtn_alert.'</li> 1999 1996 </ul> 2000 1997 </div> … … 2011 2008 2012 2009 //if ($plan_synced && $likebtn_plan != LIKEBTN_PLAN_ULTRA) { 2013 $html .= '<input class="button-secondary likebtn_button_upgrade" type="button" value="'.__('Upgrade', LIKEBTN_I18N_DOMAIN).'" onclick="likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', LIKEBTN_I18N_DOMAIN).'?site_id='.get_option('likebtn_site_id').'&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\')" /> ';2010 $html .= '<input class="button-secondary likebtn_button_upgrade" type="button" value="'.__('Upgrade', 'likebtn-like-button').'" onclick="likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', 'likebtn-like-button').'?site_id='.get_option('likebtn_site_id').'&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\')" /> '; 2014 2011 //} 2015 2012 if ($plan_synced && $likebtn_plan != LIKEBTN_PLAN_FREE && $likebtn_plan != LIKEBTN_PLAN_TRIAL) { 2016 $html .= '<small><a href="javascript:likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', LIKEBTN_I18N_DOMAIN).'?site_id='.get_option('likebtn_site_id').'&prolong=1&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\');void(0);">'.__('Renew Plan', LIKEBTN_I18N_DOMAIN).'</a></small>';2013 $html .= '<small><a href="javascript:likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', 'likebtn-like-button').'?site_id='.get_option('likebtn_site_id').'&prolong=1&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\');void(0);">'.__('Renew Plan', 'likebtn-like-button').'</a></small>'; 2017 2014 } else { 2018 $html .= '<small><a href="javascript:likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', LIKEBTN_I18N_DOMAIN).'?site_id='.get_option('likebtn_site_id').'&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\');void(0);">'.__('Plans & Pricing', LIKEBTN_I18N_DOMAIN).'</a></small>';2015 $html .= '<small><a href="javascript:likebtnPopup(\''.__('https://likebtn.com/en/customer.php/upgrade/', 'likebtn-like-button').'?site_id='.get_option('likebtn_site_id').'&engine=wordpress&add_website='.$_SERVER['SERVER_NAME'].'\');void(0);">'.__('Plans & Pricing', 'likebtn-like-button').'</a></small>'; 2019 2016 } 2020 2017 $html .= '</div>'; … … 2031 2028 if (_likebtn_is_stat_enabled()) { 2032 2029 $enabled = true; 2033 $status = __('Enabled', LIKEBTN_I18N_DOMAIN);2030 $status = __('Enabled', 'likebtn-like-button'); 2034 2031 $status_class = 'likebtn_success'; 2035 2032 2036 2033 } else { 2037 $status = __('Disabled', LIKEBTN_I18N_DOMAIN);2034 $status = __('Disabled', 'likebtn-like-button'); 2038 2035 $status_class = 'likebtn_error'; 2039 2036 } … … 2042 2039 $html = ' 2043 2040 <div class="likebtn_sidebar_section"> 2044 '.__('Status', LIKEBTN_I18N_DOMAIN).': <strong class="'.$status_class.'">'.$status.'</strong>2041 '.__('Status', 'likebtn-like-button').': <strong class="'.$status_class.'">'.$status.'</strong> 2045 2042 '; 2046 2043 } else { … … 2048 2045 $html = ' 2049 2046 <div class="likebtn_sidebar_section"> 2050 '.__('Status', LIKEBTN_I18N_DOMAIN).': <strong class="likebtn_error">'.$sync_result_html.'</strong>2047 '.__('Status', 'likebtn-like-button').': <strong class="likebtn_error">'.$sync_result_html.'</strong> 2051 2048 '; 2052 2049 } 2053 2050 if (!$enabled) { 2054 $html .= ' <a href="'.admin_url().'admin.php?page=likebtn_settings#synchronization">'.__('Edit', LIKEBTN_I18N_DOMAIN).'</a>';2051 $html .= ' <a href="'.admin_url().'admin.php?page=likebtn_settings#synchronization">'.__('Edit', 'likebtn-like-button').'</a>'; 2055 2052 } 2056 2053 … … 2080 2077 { 2081 2078 $public_url = _likebtn_get_public_url(); 2082 $title = __('Earn Money With LikeBtn!', LIKEBTN_I18N_DOMAIN);2083 $href = "javascript:likebtnPopup('".__('https://likebtn.com/en/', LIKEBTN_I18N_DOMAIN)."referral-program');void(0)";2079 $title = __('Earn Money With LikeBtn!', 'likebtn-like-button'); 2080 $href = "javascript:likebtnPopup('".__('https://likebtn.com/en/', 'likebtn-like-button')."referral-program');void(0)"; 2084 2081 2085 2082 $html =<<<HTML … … 2103 2100 $likebtn_plan = get_option('likebtn_plan'); 2104 2101 2105 $refresh_html = ' <img src="'._likebtn_get_public_url().'img/refresh.gif" class="likebtn_refresh likebtn_ttip" onclick="refreshPlan(\''.__('Error occured, please try again later.', LIKEBTN_I18N_DOMAIN).__('Disable WP HTTP Compression plugin if you have it enabled.', LIKEBTN_I18N_DOMAIN).'\', \''.__('Plan data refreshed', LIKEBTN_I18N_DOMAIN).'\')" title="'.__('Sync Plan', LIKEBTN_I18N_DOMAIN).'" id="likebtn_refresh_trgr"/>2106 <img src="'._likebtn_get_public_url().'img/refresh_loader.gif" class="likebtn_refresh likebtn_refresh_loader likebtn_ttip" style="display:none" title="'.__('Please wait...', LIKEBTN_I18N_DOMAIN).'" id="likebtn_refresh_ldr"/>2102 $refresh_html = ' <img src="'._likebtn_get_public_url().'img/refresh.gif" class="likebtn_refresh likebtn_ttip" onclick="refreshPlan(\''.__('Error occured, please try again later.', 'likebtn-like-button').__('Disable WP HTTP Compression plugin if you have it enabled.', 'likebtn-like-button').'\', \''.__('Plan data refreshed', 'likebtn-like-button').'\')" title="'.__('Sync Plan', 'likebtn-like-button').'" id="likebtn_refresh_trgr"/> 2103 <img src="'._likebtn_get_public_url().'img/refresh_loader.gif" class="likebtn_refresh likebtn_refresh_loader likebtn_ttip" style="display:none" title="'.__('Please wait...', 'likebtn-like-button').'" id="likebtn_refresh_ldr"/> 2107 2104 <small class="likebtn_success" id="likebtn_refresh_success" style="display:none"></small>'; 2108 2105 2109 2106 if (isset($likebtn_plans[$likebtn_plan]) && $plan_synced) { 2110 // <a href="javascript: likebtnPopup(\''.__('http://likebtn.com/en/', LIKEBTN_I18N_DOMAIN).'?add_website='.$_SERVER['SERVER_NAME'].'#plans_pricing\'); void(0)" class="likebtn_ttip" title="'.__('Plans & Pricing', LIKEBTN_I18N_DOMAIN).'"><strong>'.$likebtn_plans[$likebtn_plan].'</strong></a>2107 // <a href="javascript: likebtnPopup(\''.__('http://likebtn.com/en/', 'likebtn-like-button').'?add_website='.$_SERVER['SERVER_NAME'].'#plans_pricing\'); void(0)" class="likebtn_ttip" title="'.__('Plans & Pricing', 'likebtn-like-button').'"><strong>'.$likebtn_plans[$likebtn_plan].'</strong></a> 2111 2108 $plan_html = '<strong>'.$likebtn_plans[$likebtn_plan].'</strong>'.$refresh_html; 2112 2109 … … 2125 2122 $expires_html .= ' 2126 2123 <div class="likebtn_sidebar_div_simple"></div> 2127 '.__('Expires in', LIKEBTN_I18N_DOMAIN).': <strong class="likebtn_ttip" title="'.$expires_on.'">'.$expires_in.' '.__('day(s)', LIKEBTN_I18N_DOMAIN).'</strong>';2124 '.__('Expires in', 'likebtn-like-button').': <strong class="likebtn_ttip" title="'.$expires_on.'">'.$expires_in.' '.__('day(s)', 'likebtn-like-button').'</strong>'; 2128 2125 } 2129 2126 } else { 2130 2127 $expires_html .= ' 2131 2128 <div class="likebtn_sidebar_div_simple"></div> 2132 '.__('Expires in', LIKEBTN_I18N_DOMAIN).':2133 <strong class="likebtn_error">'.__('Unknown', LIKEBTN_I18N_DOMAIN).'</strong>2134 <i class="likebtn_help_simple" title="'.__('Enter your LikeBtn.com account data on Settings tab', LIKEBTN_I18N_DOMAIN).'"></i>2135 <a href="'.admin_url().'admin.php?page=likebtn_settings">'.__('Edit', LIKEBTN_I18N_DOMAIN).'</a>2129 '.__('Expires in', 'likebtn-like-button').': 2130 <strong class="likebtn_error">'.__('Unknown', 'likebtn-like-button').'</strong> 2131 <i class="likebtn_help_simple" title="'.__('Enter your LikeBtn.com account data on Settings tab', 'likebtn-like-button').'"></i> 2132 <a href="'.admin_url().'admin.php?page=likebtn_settings">'.__('Edit', 'likebtn-like-button').'</a> 2136 2133 '; 2137 2134 } … … 2140 2137 $plan_html = ' 2141 2138 <strong class="likebtn_error">'. 2142 __('Unknown', LIKEBTN_I18N_DOMAIN).'2139 __('Unknown', 'likebtn-like-button').' 2143 2140 </strong>'; 2144 2141 if (get_option('likebtn_acc_data_correct') == '1') { … … 2146 2143 } else { 2147 2144 $plan_html = ' 2148 <i class="likebtn_help_simple" title="'.__('Enter your LikeBtn.com account data on Settings tab', LIKEBTN_I18N_DOMAIN).'"></i>2149 <a href="'.admin_url().'admin.php?page=likebtn_settings">'.__('Edit', LIKEBTN_I18N_DOMAIN).'</a>';2150 } 2151 } 2152 2153 $html = __('Plan', LIKEBTN_I18N_DOMAIN).': '.$plan_html.2145 <i class="likebtn_help_simple" title="'.__('Enter your LikeBtn.com account data on Settings tab', 'likebtn-like-button').'"></i> 2146 <a href="'.admin_url().'admin.php?page=likebtn_settings">'.__('Edit', 'likebtn-like-button').'</a>'; 2147 } 2148 } 2149 2150 $html = __('Plan', 'likebtn-like-button').': '.$plan_html. 2154 2151 $expires_html; 2155 2152 … … 2199 2196 if (get_option('likebtn_acc_data_correct') != '1') { 2200 2197 $msg = strtr( 2201 '<strong>'.__(LIKEBTN_PLUGIN_TITLE, LIKEBTN_I18N_DOMAIN).'</strong>: '.__('Please enter your LikeBtn.com account data on <a href="%url_sync%">Settings</a> tab.', LIKEBTN_I18N_DOMAIN),2198 '<strong>'.__(LIKEBTN_PLUGIN_TITLE, 'likebtn-like-button').'</strong>: '.__('Please enter your LikeBtn.com account data on <a href="%url_sync%">Settings</a> tab.', 'likebtn-like-button'), 2202 2199 array('%url_sync%'=>admin_url().'admin.php?page=likebtn_settings') 2203 2200 ); … … 2213 2210 2214 2211 if (get_option('likebtn_notice_plan')) { 2215 $msg = '<strong>'.__(LIKEBTN_PLUGIN_TITLE, LIKEBTN_I18N_DOMAIN).'</strong>: '.__("Your plan has been switched to", LIKEBTN_I18N_DOMAIN).' <strong>'.$likebtn_plans[get_option('likebtn_plan')].'</strong>';2212 $msg = '<strong>'.__(LIKEBTN_PLUGIN_TITLE, 'likebtn-like-button').'</strong>: '.__("Your plan has been switched to", 'likebtn-like-button').' <strong>'.$likebtn_plans[get_option('likebtn_plan')].'</strong>'; 2216 2213 $class = ''; 2217 2214 … … 2609 2606 var likebtn_spinner_src = '<?php echo _likebtn_get_public_url()."img/spinner.gif" ?>'; 2610 2607 2611 var likebtn_msg_select_items = '<?php _e("Please select item(s)", LIKEBTN_I18N_DOMAIN); ?>';2612 var likebtn_msg_upgrade_vip = '<?php echo strtr(__("Upgrade your website at least to %plan% to be able to use the feature", LIKEBTN_I18N_DOMAIN), array('%plan%'=>'VIP')); ?>';2613 var likebtn_msg_upgrade_pro = '<?php echo strtr(__("Upgrade your website at least to %plan% to be able to use the feature", LIKEBTN_I18N_DOMAIN), array('%plan%'=>'PRO')); ?>';2614 var likebtn_msg_export = '<?php _e("Export to CSV", LIKEBTN_I18N_DOMAIN); ?>';2608 var likebtn_msg_select_items = '<?php _e("Please select item(s)", 'likebtn-like-button'); ?>'; 2609 var likebtn_msg_upgrade_vip = '<?php echo strtr(__("Upgrade your website at least to %plan% to be able to use the feature", 'likebtn-like-button'), array('%plan%'=>'VIP')); ?>'; 2610 var likebtn_msg_upgrade_pro = '<?php echo strtr(__("Upgrade your website at least to %plan% to be able to use the feature", 'likebtn-like-button'), array('%plan%'=>'PRO')); ?>'; 2611 var likebtn_msg_export = '<?php _e("Export to CSV", 'likebtn-like-button'); ?>'; 2615 2612 </script> 2616 2613 <div> … … 2621 2618 <?php 2622 2619 echo strtr( 2623 __('Statistics not available. Enable synchronization in order to view statistics:', LIKEBTN_I18N_DOMAIN),2620 __('Statistics not available. Enable synchronization in order to view statistics:', 'likebtn-like-button'), 2624 2621 array('%url_sync%'=>admin_url().'admin.php?page=likebtn_settings#synchronization') 2625 2622 ); … … 2630 2627 <?php else: ?> 2631 2628 <p class="description"> 2632 ● <?php _e('Keep in mind that items appear in Statistics after receiving at least one vote.', LIKEBTN_I18N_DOMAIN); ?><br/>2633 ● <?php _e('Select <u>Custom item</u> content type to view votes of like buttons added using shortcode or HTML code.', LIKEBTN_I18N_DOMAIN); ?><br/>2634 ● <?php _e('To edit item votes click on a number of likes/dislikes in the statistics table.', LIKEBTN_I18N_DOMAIN); ?>2629 ● <?php _e('Keep in mind that items appear in Statistics after receiving at least one vote.', 'likebtn-like-button'); ?><br/> 2630 ● <?php _e('Select <u>Custom item</u> content type to view votes of like buttons added using shortcode or HTML code.', 'likebtn-like-button'); ?><br/> 2631 ● <?php _e('To edit item votes click on a number of likes/dislikes in the statistics table.', 'likebtn-like-button'); ?> 2635 2632 </p> 2636 2633 <?php endif ?> … … 2640 2637 2641 2638 <?php if ($blogs): ?> 2642 <nobr><label><?php _e('Site', LIKEBTN_I18N_DOMAIN); ?>:</label>2639 <nobr><label><?php _e('Site', 'likebtn-like-button'); ?>:</label> 2643 2640 <select name="likebtn_blog_id" > 2644 2641 <?php foreach ($blogs as $blog_id_value => $blog_title): ?> … … 2649 2646 <?php endif ?> 2650 2647 2651 <nobr><label><?php _e('Item Type', LIKEBTN_I18N_DOMAIN); ?>:</label>2648 <nobr><label><?php _e('Item Type', 'likebtn-like-button'); ?>:</label> 2652 2649 <select name="likebtn_entity_name" > 2653 2650 <?php foreach ($likebtn_entities as $entity_name_value => $entity_title): ?> 2654 <option value="<?php echo $entity_name_value; ?>" <?php selected($entity_name, $entity_name_value); ?> ><?php _e($entity_title, LIKEBTN_I18N_DOMAIN); ?></option>2651 <option value="<?php echo $entity_name_value; ?>" <?php selected($entity_name, $entity_name_value); ?> ><?php _e($entity_title, 'likebtn-like-button'); ?></option> 2655 2652 <?php endforeach ?> 2656 2653 </select></nobr> 2657 2654 2658 2655 2659 <nobr><label><?php _e('Page Size', LIKEBTN_I18N_DOMAIN); ?>:</label>2656 <nobr><label><?php _e('Page Size', 'likebtn-like-button'); ?>:</label> 2660 2657 <select name="likebtn_page_size" > 2661 2658 <?php foreach ($likebtn_page_sizes as $page_size_value): ?> … … 2666 2663 <br/><br/> 2667 2664 <div class="postbox statistics_filter_container"> 2668 <?php /*<h3><?php _e('Filter', LIKEBTN_I18N_DOMAIN); ?></h3>*/ ?>2665 <?php /*<h3><?php _e('Filter', 'likebtn-like-button'); ?></h3>*/ ?> 2669 2666 <div class="inside"> 2670 <label><?php _e('ID', LIKEBTN_I18N_DOMAIN); ?>:</label>2667 <label><?php _e('ID', 'likebtn-like-button'); ?>:</label> 2671 2668 <input type="text" name="likebtn_post_id" value="<?php echo htmlspecialchars($post_id) ?>" size="5" /> 2672 2669 … … 2674 2671 <input type="text" name="likebtn_post_title" value="<?php echo htmlspecialchars($post_title) ?>" size="25"/> 2675 2672 2676 <label><?php _e('Status', LIKEBTN_I18N_DOMAIN); ?>:</label>2673 <label><?php _e('Status', 'likebtn-like-button'); ?>:</label> 2677 2674 <select name="likebtn_post_status" > 2678 2675 <option value=""></option> … … 2683 2680 2684 2681 2685 <input class="button-secondary" type="button" name="reset" value="<?php _e('Reset filter', LIKEBTN_I18N_DOMAIN); ?>" onClick="jQuery('.statistics_filter_container :input[type!=button]').val('');2682 <input class="button-secondary" type="button" name="reset" value="<?php _e('Reset filter', 'likebtn-like-button'); ?>" onClick="jQuery('.statistics_filter_container :input[type!=button]').val(''); 2686 2683 jQuery('#statistics_form').submit();"/> 2687 2684 </div> 2688 2685 </div> 2689 2686 2690 <input class="button-primary" type="submit" name="show" value="<?php _e('View', LIKEBTN_I18N_DOMAIN); ?>" />2687 <input class="button-primary" type="submit" name="show" value="<?php _e('View', 'likebtn-like-button'); ?>" /> 2691 2688 2692 <?php _e('Items Found', LIKEBTN_I18N_DOMAIN); ?>: <strong><?php echo $total_found ?></strong>2689 <?php _e('Items Found', 'likebtn-like-button'); ?>: <strong><?php echo $total_found ?></strong> 2693 2690 </form> 2694 2691 <br/> … … 2697 2694 <?php if (count($statistics) && $p->total_pages > 0): ?> 2698 2695 <div class="tablenav"> 2699 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnStatsBulkAction('reset', '<?php echo get_option('likebtn_plan') ?>', '<?php _e("The votes count can not be recovered after resetting. Are you sure you want to reset likes and dislikes for the selected item(s)?", LIKEBTN_I18N_DOMAIN); ?>')" value="<?php _e('Reset', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('Set to zero number of likes and dislikes for selected items', LIKEBTN_I18N_DOMAIN); ?>">2696 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnStatsBulkAction('reset', '<?php echo get_option('likebtn_plan') ?>', '<?php _e("The votes count can not be recovered after resetting. Are you sure you want to reset likes and dislikes for the selected item(s)?", 'likebtn-like-button'); ?>')" value="<?php _e('Reset', 'likebtn-like-button'); ?>" title="<?php _e('Set to zero number of likes and dislikes for selected items', 'likebtn-like-button'); ?>"> 2700 2697 2701 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnStatsBulkAction('delete', '<?php echo get_option('likebtn_plan') ?>', '<?php _e("The votes count can not be recovered after deleting. Are you sure you want to delete selected item(s) from statistics?", LIKEBTN_I18N_DOMAIN); ?>')" value="<?php _e('Delete', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('Delete selected items from statistics: no posts, pages, comments, etc will be deleted, just their votes will be deleted from statistics', LIKEBTN_I18N_DOMAIN); ?>">2702 2703 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnStatsExport('<?php echo get_option('likebtn_plan') ?>')" value="<?php _e('Export to CSV', LIKEBTN_I18N_DOMAIN); ?>" title="<?php _e('Export current statistics to CSV', LIKEBTN_I18N_DOMAIN); ?>">2698 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnStatsBulkAction('delete', '<?php echo get_option('likebtn_plan') ?>', '<?php _e("The votes count can not be recovered after deleting. Are you sure you want to delete selected item(s) from statistics?", 'likebtn-like-button'); ?>')" value="<?php _e('Delete', 'likebtn-like-button'); ?>" title="<?php _e('Delete selected items from statistics: no posts, pages, comments, etc will be deleted, just their votes will be deleted from statistics', 'likebtn-like-button'); ?>"> 2699 2700 <input type="button" class="button-secondary likebtn_ttip" onclick="likebtnStatsExport('<?php echo get_option('likebtn_plan') ?>')" value="<?php _e('Export to CSV', 'likebtn-like-button'); ?>" title="<?php _e('Export current statistics to CSV', 'likebtn-like-button'); ?>"> 2704 2701 2705 2702 <div class="tablenav-pages"> … … 2728 2725 <?php endif ?> 2729 2726 <?php if ($entity_name == LIKEBTN_ENTITY_BP_MEMBER || $entity_name == LIKEBTN_ENTITY_BBP_USER || $entity_name == LIKEBTN_ENTITY_USER): ?> 2730 <th><?php _e('Avatar', LIKEBTN_I18N_DOMAIN) ?></th>2727 <th><?php _e('Avatar', 'likebtn-like-button') ?></th> 2731 2728 <?php else: ?> 2732 <th><?php _e('Featured image', LIKEBTN_I18N_DOMAIN) ?></th>2729 <th><?php _e('Featured image', 'likebtn-like-button') ?></th> 2733 2730 <?php endif ?> 2734 2731 <th width="100%" class="<?php if ($sort_by == 'post_title'): ?>sorted <?php echo $sort_by_order; ?> <?php else: ?>sortable desc<?php endif ?>"> … … 2741 2738 ?> 2742 2739 <a href="<?php echo likebtn_build_sort_by('post_title', $build_sort_by_order); ?>"> 2743 <span><?php _e('Item', LIKEBTN_I18N_DOMAIN) ?></span>2740 <span><?php _e('Item', 'likebtn-like-button') ?></span> 2744 2741 <span class="sorting-indicator"></span> 2745 2742 </a> … … 2757 2754 ?> 2758 2755 <a href="<?php echo likebtn_build_sort_by('likes', $build_sort_by_order); ?>"> 2759 <span><?php _e('Likes', LIKEBTN_I18N_DOMAIN) ?></span>2756 <span><?php _e('Likes', 'likebtn-like-button') ?></span> 2760 2757 <span class="sorting-indicator"></span> 2761 2758 </a> … … 2770 2767 ?> 2771 2768 <a href="<?php echo likebtn_build_sort_by('dislikes', $build_sort_by_order); ?>"> 2772 <span><?php _e('Dislikes', LIKEBTN_I18N_DOMAIN) ?></span>2769 <span><?php _e('Dislikes', 'likebtn-like-button') ?></span> 2773 2770 <span class="sorting-indicator"></span> 2774 2771 </a> … … 2783 2780 ?> 2784 2781 <a href="<?php echo likebtn_build_sort_by('likes_minus_dislikes', $build_sort_by_order); ?>"> 2785 <span><?php _e('Likes minus dislikes', LIKEBTN_I18N_DOMAIN) ?></span>2782 <span><?php _e('Likes minus dislikes', 'likebtn-like-button') ?></span> 2786 2783 <span class="sorting-indicator"></span> 2787 2784 </a> … … 2812 2809 2813 2810 <tr id="item_<?php echo $statistics_item->post_id; ?>"> 2814 <td><input type="checkbox" class="item_checkbox likebtn_ttip" value="<?php echo $statistics_item->post_id; ?>" name="item[]" <?php if ($blogs && (int)$statistics_item->blog_id != 0 && $statistics_item->blog_id != $blog_id): ?>disabled="disabled" title="<?php _e('Please switch to the corresponding network site in order to reset votes or delete items from stats.', LIKEBTN_I18N_DOMAIN) ?>"<?php endif ?>></td>2811 <td><input type="checkbox" class="item_checkbox likebtn_ttip" value="<?php echo $statistics_item->post_id; ?>" name="item[]" <?php if ($blogs && (int)$statistics_item->blog_id != 0 && $statistics_item->blog_id != $blog_id): ?>disabled="disabled" title="<?php _e('Please switch to the corresponding network site in order to reset votes or delete items from stats.', 'likebtn-like-button') ?>"<?php endif ?>></td> 2815 2812 <?php if ($entity_name != LIKEBTN_ENTITY_CUSTOM_ITEM): ?> 2816 2813 <td><?php echo $statistics_item->post_id; ?></td> … … 2831 2828 <?php echo $statistics_item->likes; ?> 2832 2829 <?php else: ?> 2833 <a href="javascript:statisticsEdit('<?php echo $entity_name ?>', '<?php echo $statistics_item->post_id; ?>', 'like', '<?php echo $statistics_item->likes; ?>', '<?php echo get_option('likebtn_plan'); ?>', '<?php _e('Enter new value:', LIKEBTN_I18N_DOMAIN) ?>', '<?php _e('Upgrade your website plan to the ULTRA plan to use the feature', LIKEBTN_I18N_DOMAIN) ?>', '<?php _e('Error occured. Please, try again later.', LIKEBTN_I18N_DOMAIN) ?>');void(0);" title="<?php _e('Click to change', LIKEBTN_I18N_DOMAIN) ?>" class="item_like likebtn_ttip"><?php echo $statistics_item->likes; ?></a>2830 <a href="javascript:statisticsEdit('<?php echo $entity_name ?>', '<?php echo $statistics_item->post_id; ?>', 'like', '<?php echo $statistics_item->likes; ?>', '<?php echo get_option('likebtn_plan'); ?>', '<?php _e('Enter new value:', 'likebtn-like-button') ?>', '<?php _e('Upgrade your website plan to the ULTRA plan to use the feature', 'likebtn-like-button') ?>', '<?php _e('Error occured. Please, try again later.', 'likebtn-like-button') ?>');void(0);" title="<?php _e('Click to change', 'likebtn-like-button') ?>" class="item_like likebtn_ttip"><?php echo $statistics_item->likes; ?></a> 2834 2831 <?php endif ?> 2835 2832 </td> … … 2838 2835 <?php echo $statistics_item->dislikes; ?> 2839 2836 <?php else: ?> 2840 <a href="javascript:statisticsEdit('<?php echo $entity_name ?>', '<?php echo $statistics_item->post_id; ?>', 'dislike', '<?php echo $statistics_item->dislikes; ?>', '<?php echo get_option('likebtn_plan'); ?>', '<?php _e('Enter new value:', LIKEBTN_I18N_DOMAIN) ?>', '<?php _e('Upgrade your website plan to the ULTRA plan to use the feature', LIKEBTN_I18N_DOMAIN) ?>', '<?php _e('Error occured. Please, try again later.', LIKEBTN_I18N_DOMAIN) ?>');void(0);" title="<?php _e('Click to change', LIKEBTN_I18N_DOMAIN) ?>" class="item_dislike likebtn_ttip"><?php echo $statistics_item->dislikes; ?></a>2837 <a href="javascript:statisticsEdit('<?php echo $entity_name ?>', '<?php echo $statistics_item->post_id; ?>', 'dislike', '<?php echo $statistics_item->dislikes; ?>', '<?php echo get_option('likebtn_plan'); ?>', '<?php _e('Enter new value:', 'likebtn-like-button') ?>', '<?php _e('Upgrade your website plan to the ULTRA plan to use the feature', 'likebtn-like-button') ?>', '<?php _e('Error occured. Please, try again later.', 'likebtn-like-button') ?>');void(0);" title="<?php _e('Click to change', 'likebtn-like-button') ?>" class="item_dislike likebtn_ttip"><?php echo $statistics_item->dislikes; ?></a> 2841 2838 <?php endif ?> 2842 2839 </td> 2843 2840 <td><?php echo $statistics_item->likes_minus_dislikes; ?></td> 2844 <td><a href="<?php echo $url_votes; ?>" target="_blank" class="likebtn_ttip button button-secondary likebtn-action" title="<?php _e('View votes', LIKEBTN_I18N_DOMAIN) ?>"><img src="<?php echo _likebtn_get_public_url()?>img/actions/votes.png" /></a></td>2841 <td><a href="<?php echo $url_votes; ?>" target="_blank" class="likebtn_ttip button button-secondary likebtn-action" title="<?php _e('View votes', 'likebtn-like-button') ?>"><img src="<?php echo _likebtn_get_public_url()?>img/actions/votes.png" /></a></td> 2845 2842 </tr> 2846 2843 <?php endforeach ?> … … 2860 2857 <form action="<?php echo admin_url('admin-ajax.php') ?>?action=likebtn_export&<?php echo $_SERVER['QUERY_STRING'] ?>" method="post" target="_blank"> 2861 2858 <input type="hidden" name="export" value="1" /> 2862 <strong><?php _e('Data to export', LIKEBTN_I18N_DOMAIN); ?>:</strong><br/>2863 <label><input type="checkbox" name="fields[]" value="id" checked="checked" /> <?php _e('ID', LIKEBTN_I18N_DOMAIN); ?></label><br/>2864 <label><input type="checkbox" name="fields[]" value="title" checked="checked" /> <?php _e('Title', LIKEBTN_I18N_DOMAIN); ?></label><br/>2865 <label><input type="checkbox" name="fields[]" value="url" checked="checked" /> <?php _e('URL', LIKEBTN_I18N_DOMAIN); ?></label><br/>2866 <label><input type="checkbox" name="fields[]" value="likes" checked="checked" /> <?php _e('Likes', LIKEBTN_I18N_DOMAIN); ?></label><br/>2867 <label><input type="checkbox" name="fields[]" value="dislikes" checked="checked" /> <?php _e('Dislikes', LIKEBTN_I18N_DOMAIN); ?></label><br/>2868 <label><input type="checkbox" name="fields[]" value="likes_minus_dislikes" /> <?php _e('Likes minus dislikes', LIKEBTN_I18N_DOMAIN); ?></label><br/>2869 <label><input type="checkbox" name="fields[]" value="ips" /> <?php _e("Voters IPs", LIKEBTN_I18N_DOMAIN); ?></label><br/>2859 <strong><?php _e('Data to export', 'likebtn-like-button'); ?>:</strong><br/> 2860 <label><input type="checkbox" name="fields[]" value="id" checked="checked" /> <?php _e('ID', 'likebtn-like-button'); ?></label><br/> 2861 <label><input type="checkbox" name="fields[]" value="title" checked="checked" /> <?php _e('Title', 'likebtn-like-button'); ?></label><br/> 2862 <label><input type="checkbox" name="fields[]" value="url" checked="checked" /> <?php _e('URL', 'likebtn-like-button'); ?></label><br/> 2863 <label><input type="checkbox" name="fields[]" value="likes" checked="checked" /> <?php _e('Likes', 'likebtn-like-button'); ?></label><br/> 2864 <label><input type="checkbox" name="fields[]" value="dislikes" checked="checked" /> <?php _e('Dislikes', 'likebtn-like-button'); ?></label><br/> 2865 <label><input type="checkbox" name="fields[]" value="likes_minus_dislikes" /> <?php _e('Likes minus dislikes', 'likebtn-like-button'); ?></label><br/> 2866 <label><input type="checkbox" name="fields[]" value="ips" /> <?php _e("Voters IPs", 'likebtn-like-button'); ?></label><br/> 2870 2867 <br/> 2871 <strong><?php _e('Encoding', LIKEBTN_I18N_DOMAIN); ?>:</strong>2868 <strong><?php _e('Encoding', 'likebtn-like-button'); ?>:</strong> 2872 2869 <select name="encoding"> 2873 2870 <option value="UCS-2LE">UTF-16LE (UCS-2LE) - <?php _e('Recommended'); ?></option> … … 2877 2874 </select> 2878 2875 <br/><br/> 2879 <strong><?php _e('Field Separator', LIKEBTN_I18N_DOMAIN); ?>:</strong>2876 <strong><?php _e('Field Separator', 'likebtn-like-button'); ?>:</strong> 2880 2877 <select name="separator"> 2881 2878 <option value="TAB">Tab (\t) - <?php _e('Recommended'); ?></option> … … 2888 2885 <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> 2889 2886 <div class="ui-dialog-buttonset"> 2890 <button type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-primary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Export', LIKEBTN_I18N_DOMAIN); ?></span></button>2891 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', LIKEBTN_I18N_DOMAIN); ?></span></button>2887 <button type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-primary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Export', 'likebtn-like-button'); ?></span></button> 2888 <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only button-secondary likebtn-button-close" role="button"><span class="ui-button-text"><?php _e('Close', 'likebtn-like-button'); ?></span></button> 2892 2889 </div> 2893 2890 </div> … … 2991 2988 2992 2989 // add comment statuses 2993 $likebtn_post_statuses['0'] = __('Comment not approved', LIKEBTN_I18N_DOMAIN);2994 $likebtn_post_statuses['1'] = __('Comment approved', LIKEBTN_I18N_DOMAIN);2990 $likebtn_post_statuses['0'] = __('Comment not approved', 'likebtn-like-button'); 2991 $likebtn_post_statuses['1'] = __('Comment approved', 'likebtn-like-button'); 2995 2992 2996 2993 $sort_by = ''; … … 3057 3054 $p->target($pagination_target); 3058 3055 //$p->currentPage(); // Gets and validates the current page 3059 $p->prevLabel(__('Previous', LIKEBTN_I18N_DOMAIN));3060 $p->nextLabel(__('Next', LIKEBTN_I18N_DOMAIN));3056 $p->prevLabel(__('Previous', 'likebtn-like-button')); 3057 $p->nextLabel(__('Next', 'likebtn-like-button')); 3061 3058 3062 3059 if (!isset($_GET['paging'])) { … … 3228 3225 var likebtn_couch_db_url = 'https://storage.likebtn.com/widget'; 3229 3226 var likebtn_report_store_days = 14; 3230 var likebtn_msg_votes = '<?php _e('Total Votes', LIKEBTN_I18N_DOMAIN) ?>';3231 var likebtn_msg_likes = '<?php _e('Likes', LIKEBTN_I18N_DOMAIN) ?>';3232 var likebtn_msg_dislikes = '<?php _e('Dislikes', LIKEBTN_I18N_DOMAIN) ?>';3227 var likebtn_msg_votes = '<?php _e('Total Votes', 'likebtn-like-button') ?>'; 3228 var likebtn_msg_likes = '<?php _e('Likes', 'likebtn-like-button') ?>'; 3229 var likebtn_msg_dislikes = '<?php _e('Dislikes', 'likebtn-like-button') ?>'; 3233 3230 var global_graph_lang = { 3234 3231 rangeSelectorZoom: '', 3235 3232 rangeSelectorFrom: '', 3236 3233 rangeSelectorTo: '/', 3237 loading: "<?php _e('Loading...', LIKEBTN_I18N_DOMAIN) ?>",3238 downloadJPEG: "<?php _e('Download JPEG image', LIKEBTN_I18N_DOMAIN) ?>",3239 downloadPDF: "<?php _e('Download PDF document', LIKEBTN_I18N_DOMAIN) ?>",3240 downloadPNG: "<?php _e('Download PNG image', LIKEBTN_I18N_DOMAIN) ?>",3241 downloadSVG: "<?php _e('Download SVG vector image', LIKEBTN_I18N_DOMAIN) ?>",3242 printChart: "<?php _e('Print chart', LIKEBTN_I18N_DOMAIN) ?>",3243 months: ["<?php _e('January', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('February', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('March', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('April', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('May', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('June', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('July', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('August', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('September', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('October', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('November', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('December', LIKEBTN_I18N_DOMAIN) ?>"],3234 loading: "<?php _e('Loading...', 'likebtn-like-button') ?>", 3235 downloadJPEG: "<?php _e('Download JPEG image', 'likebtn-like-button') ?>", 3236 downloadPDF: "<?php _e('Download PDF document', 'likebtn-like-button') ?>", 3237 downloadPNG: "<?php _e('Download PNG image', 'likebtn-like-button') ?>", 3238 downloadSVG: "<?php _e('Download SVG vector image', 'likebtn-like-button') ?>", 3239 printChart: "<?php _e('Print chart', 'likebtn-like-button') ?>", 3240 months: ["<?php _e('January', 'likebtn-like-button') ?>", "<?php _e('February', 'likebtn-like-button') ?>", "<?php _e('March', 'likebtn-like-button') ?>", "<?php _e('April', 'likebtn-like-button') ?>", "<?php _e('May', 'likebtn-like-button') ?>", "<?php _e('June', 'likebtn-like-button') ?>", "<?php _e('July', 'likebtn-like-button') ?>", "<?php _e('August', 'likebtn-like-button') ?>", "<?php _e('September', 'likebtn-like-button') ?>", "<?php _e('October', 'likebtn-like-button') ?>", "<?php _e('November', 'likebtn-like-button') ?>", "<?php _e('December', 'likebtn-like-button') ?>"], 3244 3241 numericSymbols: null, 3245 shortMonths: ["<?php _e('Jan', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Feb', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Mar', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Apr', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('May', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Jun', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Jul', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Aug', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Sep', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Oct', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Nov', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Dec', LIKEBTN_I18N_DOMAIN) ?>"],3246 weekdays: ["<?php _e('Sunday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Monday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Tuesday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Wednesday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Thursday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Friday', LIKEBTN_I18N_DOMAIN) ?>", "<?php _e('Saturday', LIKEBTN_I18N_DOMAIN) ?>"],3247 noData: "<?php _e('No votes found', LIKEBTN_I18N_DOMAIN) ?>"3242 shortMonths: ["<?php _e('Jan', 'likebtn-like-button') ?>", "<?php _e('Feb', 'likebtn-like-button') ?>", "<?php _e('Mar', 'likebtn-like-button') ?>", "<?php _e('Apr', 'likebtn-like-button') ?>", "<?php _e('May', 'likebtn-like-button') ?>", "<?php _e('Jun', 'likebtn-like-button') ?>", "<?php _e('Jul', 'likebtn-like-button') ?>", "<?php _e('Aug', 'likebtn-like-button') ?>", "<?php _e('Sep', 'likebtn-like-button') ?>", "<?php _e('Oct', 'likebtn-like-button') ?>", "<?php _e('Nov', 'likebtn-like-button') ?>", "<?php _e('Dec', 'likebtn-like-button') ?>"], 3243 weekdays: ["<?php _e('Sunday', 'likebtn-like-button') ?>", "<?php _e('Monday', 'likebtn-like-button') ?>", "<?php _e('Tuesday', 'likebtn-like-button') ?>", "<?php _e('Wednesday', 'likebtn-like-button') ?>", "<?php _e('Thursday', 'likebtn-like-button') ?>", "<?php _e('Friday', 'likebtn-like-button') ?>", "<?php _e('Saturday', 'likebtn-like-button') ?>"], 3244 noData: "<?php _e('No votes found', 'likebtn-like-button') ?>" 3248 3245 } 3249 3246 … … 3259 3256 <br/> 3260 3257 <?php echo strtr( 3261 __('Reports are not available. Enter your account data on <a href="%url_sync%">Settings</a> tab.', LIKEBTN_I18N_DOMAIN),3258 __('Reports are not available. Enter your account data on <a href="%url_sync%">Settings</a> tab.', 'likebtn-like-button'), 3262 3259 array('%url_sync%'=>admin_url().'admin.php?page=likebtn_settings') 3263 3260 ); ?> … … 3265 3262 </div> 3266 3263 <?php endif ?> 3267 <div class="reports-error error"><br/><?php _e('Error occured', LIKEBTN_I18N_DOMAIN) ?>. <button class="button-secondary" onclick="loadReports()"><?php _e('Retry', LIKEBTN_I18N_DOMAIN) ?></button><br/><br/></div>3264 <div class="reports-error error"><br/><?php _e('Error occured', 'likebtn-like-button') ?>. <button class="button-secondary" onclick="loadReports()"><?php _e('Retry', 'likebtn-like-button') ?></button><br/><br/></div> 3268 3265 <h3 class="reports-vals"> 3269 <div class="report-val"><?php _e('Total Votes', LIKEBTN_I18N_DOMAIN) ?> <span class="reports-label reports-total"><img src="<?php echo $loader_src ?>" /></span></div>3270 <div class="report-val"><?php _e('Likes', LIKEBTN_I18N_DOMAIN) ?> <span class="reports-label reports-like"><img src="<?php echo $loader_src ?>" /></span></div>3271 <div class="report-val"><?php _e('Dislikes', LIKEBTN_I18N_DOMAIN) ?> <span class="reports-label reports-dislike"><img src="<?php echo $loader_src ?>" /></span></div>3266 <div class="report-val"><?php _e('Total Votes', 'likebtn-like-button') ?> <span class="reports-label reports-total"><img src="<?php echo $loader_src ?>" /></span></div> 3267 <div class="report-val"><?php _e('Likes', 'likebtn-like-button') ?> <span class="reports-label reports-like"><img src="<?php echo $loader_src ?>" /></span></div> 3268 <div class="report-val"><?php _e('Dislikes', 'likebtn-like-button') ?> <span class="reports-label reports-dislike"><img src="<?php echo $loader_src ?>" /></span></div> 3272 3269 </h3> 3273 <h4><?php _e('Last Two Weeks', LIKEBTN_I18N_DOMAIN) ?></h4>3270 <h4><?php _e('Last Two Weeks', 'likebtn-like-button') ?></h4> 3274 3271 <div class="postbox likebtn-graph"><div class="reports-graph-d"></div></div> 3275 3272 <?php if (count($coordinates)): ?> … … 3277 3274 <?php endif ?> 3278 3275 3279 <h4><?php _e('Last Year', LIKEBTN_I18N_DOMAIN) ?></h4>3276 <h4><?php _e('Last Year', 'likebtn-like-button') ?></h4> 3280 3277 <div class="postbox likebtn-graph"><div class="reports-graph-m"></div></div> 3281 3278 </div> … … 3307 3304 <li> 3308 3305 <?php echo strtr( 3309 __('<a href="%url_upgrade%">Upgrade</a> your website to PRO or higher plan on LikeBtn.com.', LIKEBTN_I18N_DOMAIN),3310 array('%url_upgrade%'=>"javascript:likebtnPopup('".__('https://likebtn.com/en/', LIKEBTN_I18N_DOMAIN)."pricing?engine=wordpress');void(0);")3306 __('<a href="%url_upgrade%">Upgrade</a> your website to PRO or higher plan on LikeBtn.com.', 'likebtn-like-button'), 3307 array('%url_upgrade%'=>"javascript:likebtnPopup('".__('https://likebtn.com/en/', 'likebtn-like-button')."pricing?engine=wordpress');void(0);") 3311 3308 ); ?> 3312 3309 </li> … … 3314 3311 <li> 3315 3312 <?php echo strtr( 3316 __('Enable synchronization on <a href="%url_sync%">Settings</a> tab.', LIKEBTN_I18N_DOMAIN),3313 __('Enable synchronization on <a href="%url_sync%">Settings</a> tab.', 'likebtn-like-button'), 3317 3314 array('%url_sync%'=>admin_url().'admin.php?page=likebtn_settings#synchronization') 3318 3315 ); ?> … … 3515 3512 <iframe width="100%" height="428" src="https://www.youtube.com/embed/JpMYoKPPbyM" frameborder="0" allowfullscreen></iframe> 3516 3513 <ul> 3517 <li>● <?php echo __('<a href="https://likebtn.com/en/wordpress-like-button-plugin#documentation" target="_blank">Documentation</a>', LIKEBTN_I18N_DOMAIN); ?></li>3518 <li>● <?php echo __('<a href="https://likebtn.com/en/faq" target="_blank">LikeBtn.com FAQ</a>', LIKEBTN_I18N_DOMAIN); ?></li>3519 <li>● <a href="<?php echo __('https://likebtn.com/en/', LIKEBTN_I18N_DOMAIN); ?>developers" target="_blank">Hire developer</a></li>3514 <li>● <?php echo __('<a href="https://likebtn.com/en/wordpress-like-button-plugin#documentation" target="_blank">Documentation</a>', 'likebtn-like-button'); ?></li> 3515 <li>● <?php echo __('<a href="https://likebtn.com/en/faq" target="_blank">LikeBtn.com FAQ</a>', 'likebtn-like-button'); ?></li> 3516 <li>● <a href="<?php echo __('https://likebtn.com/en/', 'likebtn-like-button'); ?>developers" target="_blank">Hire developer</a></li> 3520 3517 </ul> 3521 3518 </div> … … 3531 3528 <div> 3532 3529 <div class="widget_demo"> 3533 <h1><?php _e( 'Most Liked Content', LIKEBTN_I18N_DOMAIN); ?></h1>3530 <h1><?php _e( 'Most Liked Content', 'likebtn-like-button'); ?></h1> 3534 3531 <img alt="" src="<?php echo _likebtn_get_public_url() ?>img/widget.jpg" /><br/> 3535 <a href="<?php echo admin_url('widgets.php'); ?>" class="button-primary"><?php _e( 'Add Widget Now!', LIKEBTN_I18N_DOMAIN); ?></a>3532 <a href="<?php echo admin_url('widgets.php'); ?>" class="button-primary"><?php _e( 'Add Widget Now!', 'likebtn-like-button'); ?></a> 3536 3533 </div> 3537 3534 <div class="widget_demo"> 3538 <h1><?php _e( 'Liked by User', LIKEBTN_I18N_DOMAIN); ?></h1>3535 <h1><?php _e( 'Liked by User', 'likebtn-like-button'); ?></h1> 3539 3536 <img alt="" src="<?php echo _likebtn_get_public_url() ?>img/widget_liked_by_user.jpg" /><br/> 3540 <a href="<?php echo admin_url('widgets.php'); ?>" class="button-primary"><?php _e( 'Add Widget Now!', LIKEBTN_I18N_DOMAIN); ?></a>3537 <a href="<?php echo admin_url('widgets.php'); ?>" class="button-primary"><?php _e( 'Add Widget Now!', 'likebtn-like-button'); ?></a> 3541 3538 </div> 3542 3539 </div> … … 3561 3558 $reseted = _likebtn_reset($entity_name, $_POST['item']); 3562 3559 _likebtn_add_notice(array( 3563 'msg' => __('Likes and dislikes for the following number of items have been successfully reseted:', LIKEBTN_I18N_DOMAIN).' '.$reseted,3560 'msg' => __('Likes and dislikes for the following number of items have been successfully reseted:', 'likebtn-like-button').' '.$reseted, 3564 3561 )); 3565 3562 break; … … 3570 3567 $reseted = _likebtn_delete($entity_name, $_POST['item']); 3571 3568 _likebtn_add_notice(array( 3572 'msg' => __('The following number of items have been successfully deleted:', LIKEBTN_I18N_DOMAIN).' '.$reseted,3569 'msg' => __('The following number of items have been successfully deleted:', 'likebtn-like-button').' '.$reseted, 3573 3570 )); 3574 3571 break; … … 4073 4070 function _likebtn_add_support_for_mycred_badges($hooks) { 4074 4071 4075 $hooks[LikeBtn_MyCRED::REF_LIKE] = __( 'Liking Content', LIKEBTN_I18N_DOMAIN);4076 $hooks[LikeBtn_MyCRED::REF_GET_LIKE] = __( 'Getting Content Like', LIKEBTN_I18N_DOMAIN);4077 $hooks[LikeBtn_MyCRED::REF_DISLIKE] = __( 'Disliking Content', LIKEBTN_I18N_DOMAIN);4078 $hooks[LikeBtn_MyCRED::REF_GET_DISLIKE] = __( 'Getting Content Dislike', LIKEBTN_I18N_DOMAIN);4072 $hooks[LikeBtn_MyCRED::REF_LIKE] = __( 'Liking Content', 'likebtn-like-button'); 4073 $hooks[LikeBtn_MyCRED::REF_GET_LIKE] = __( 'Getting Content Like', 'likebtn-like-button'); 4074 $hooks[LikeBtn_MyCRED::REF_DISLIKE] = __( 'Disliking Content', 'likebtn-like-button'); 4075 $hooks[LikeBtn_MyCRED::REF_GET_DISLIKE] = __( 'Getting Content Dislike', 'likebtn-like-button'); 4079 4076 4080 4077 return $hooks; … … 4086 4083 4087 4084 $installed[LikeBtn_MyCRED::ID] = array( 4088 'title' => __('Like Button', LIKEBTN_I18N_DOMAIN),4089 'description' => __('Award points for liking & disliking content.', LIKEBTN_I18N_DOMAIN),4085 'title' => __('Like Button', 'likebtn-like-button'), 4086 'description' => __('Award points for liking & disliking content.', 'likebtn-like-button'), 4090 4087 'callback' => array('LikeBtn_MyCRED') 4091 4088 ); … … 4747 4744 $user_logged_in_alert = _likebtn_get_option($entity_name, 'likebtn_user_logged_in_alert', $values); 4748 4745 if (!$user_logged_in_alert) { 4749 $user_logged_in_alert = '<p class="alert alert-info fade in" role="alert">'.__($user_logged_in_alert_default, LIKEBTN_I18N_DOMAIN).'</p>';4746 $user_logged_in_alert = '<p class="alert alert-info fade in" role="alert">'.__($user_logged_in_alert_default, 'likebtn-like-button').'</p>'; 4750 4747 } 4751 4748 $user_logged_in_alert = strtr( 4752 __($user_logged_in_alert, LIKEBTN_I18N_DOMAIN),4749 __($user_logged_in_alert, 'likebtn-like-button'), 4753 4750 array('%url_login%' => wp_login_url(get_permalink())) 4754 4751 ); … … 5030 5027 5031 5028 if ($sync_response['result'] == 'success') { 5032 $result_text = __('OK', LIKEBTN_I18N_DOMAIN);5029 $result_text = __('OK', 'likebtn-like-button'); 5033 5030 } else { 5034 $result_text = __('Error', LIKEBTN_I18N_DOMAIN);5031 $result_text = __('Error', 'likebtn-like-button'); 5035 5032 } 5036 5033 … … 5073 5070 $response['result'] = 'error'; 5074 5071 $response['result_text'] .= ' '.$index.') '.strtr( 5075 __('%addr% is not available from your server', LIKEBTN_I18N_DOMAIN),5072 __('%addr% is not available from your server', 'likebtn-like-button'), 5076 5073 array( 5077 5074 '%addr%' => $addr … … 5090 5087 $response['result'] = 'error'; 5091 5088 $response['result_text'] .= ' '.$index.') '.strtr( 5092 __('%addr% is not available from your server', LIKEBTN_I18N_DOMAIN),5089 __('%addr% is not available from your server', 'likebtn-like-button'), 5093 5090 array( 5094 5091 '%addr%' => $addr … … 5100 5097 5101 5098 if ($response['result'] != 'error') { 5102 $response['result_text'] = __('Everything seems to be in order', LIKEBTN_I18N_DOMAIN);5099 $response['result_text'] = __('Everything seems to be in order', 'likebtn-like-button'); 5103 5100 } 5104 5101 … … 5128 5125 'item_type' => _likebtn_get_entity_name_title(LIKEBTN_ENTITY_POST, true, false), 5129 5126 'item_url' => get_option('siteurl'), 5130 'item_title' => __("Test non-existent post", LIKEBTN_I18N_DOMAIN),5127 'item_title' => __("Test non-existent post", 'likebtn-like-button'), 5131 5128 'item_likes' => 7, 5132 5129 'item_dislikes' => 1, … … 5142 5139 5143 5140 if ($response['result'] != 'error') { 5144 $response['result_text'] = __("Notification successfully sent, don't forget to save settings", LIKEBTN_I18N_DOMAIN);5141 $response['result_text'] = __("Notification successfully sent, don't forget to save settings", 'likebtn-like-button'); 5145 5142 } 5146 5143 … … 5180 5177 5181 5178 if (get_option('likebtn_sync_inerval')) { 5182 $result_text = __('OK', LIKEBTN_I18N_DOMAIN);5179 $result_text = __('OK', 'likebtn-like-button'); 5183 5180 } else { 5184 $result_text = __('Enabled', LIKEBTN_I18N_DOMAIN);5181 $result_text = __('Enabled', 'likebtn-like-button'); 5185 5182 } 5186 5183 update_option('likebtn_sync_inerval', 5); 5187 5184 } else { 5188 $result_text = __('Error', LIKEBTN_I18N_DOMAIN);5185 $result_text = __('Error', 'likebtn-like-button'); 5189 5186 } 5190 5187 … … 5229 5226 5230 5227 if ($test_response['result'] == 'success') { 5231 $result_text = __('OK', LIKEBTN_I18N_DOMAIN).' ('.__('Don\'t forget to click "Save Changes"', LIKEBTN_I18N_DOMAIN).')';5228 $result_text = __('OK', 'likebtn-like-button').' ('.__('Don\'t forget to click "Save Changes"', 'likebtn-like-button').')'; 5232 5229 } else { 5233 $result_text = __('Error', LIKEBTN_I18N_DOMAIN);5230 $result_text = __('Error', 'likebtn-like-button'); 5234 5231 } 5235 5232 … … 5306 5303 5307 5304 if ($edit_response['result'] == 'success') { 5308 $result_text = __('OK', LIKEBTN_I18N_DOMAIN);5305 $result_text = __('OK', 'likebtn-like-button'); 5309 5306 5310 5307 // Determine votes to count Likes minus dislikes … … 5321 5318 $likebtn->updateCustomFields($identifier, $likes, $dislikes); 5322 5319 } else { 5323 $result_text = __('Error', LIKEBTN_I18N_DOMAIN);5320 $result_text = __('Error', 'likebtn-like-button'); 5324 5321 } 5325 5322 … … 5443 5440 if ((int)$api_response['response']['plan'] < LIKEBTN_PLAN_ULTRA) { 5444 5441 $response['result'] = 'error'; 5445 $response['message'] = strtr(__('Your current plan %plan% does not allow to change IP vote interval - please upgrade to ULTRA plan.', LIKEBTN_I18N_DOMAIN), array('%plan%'=>$likebtn_plans[(int)$api_response['response']['plan']]));5442 $response['message'] = strtr(__('Your current plan %plan% does not allow to change IP vote interval - please upgrade to ULTRA plan.', 'likebtn-like-button'), array('%plan%'=>$likebtn_plans[(int)$api_response['response']['plan']])); 5446 5443 } 5447 5444 if ((int)$api_response['response']['plan'] != get_option('likebtn_plan')) { … … 5505 5502 switch ($value) { 5506 5503 case 'id': 5507 $fields[] = __('ID', LIKEBTN_I18N_DOMAIN);5504 $fields[] = __('ID', 'likebtn-like-button'); 5508 5505 break; 5509 5506 case 'title': 5510 $fields[] = __('Title', LIKEBTN_I18N_DOMAIN);5507 $fields[] = __('Title', 'likebtn-like-button'); 5511 5508 break; 5512 5509 case 'url': 5513 $fields[] = __('URL', LIKEBTN_I18N_DOMAIN);5510 $fields[] = __('URL', 'likebtn-like-button'); 5514 5511 break; 5515 5512 case 'likes': 5516 $fields[] = __('Likes', LIKEBTN_I18N_DOMAIN);5513 $fields[] = __('Likes', 'likebtn-like-button'); 5517 5514 break; 5518 5515 case 'dislikes': 5519 $fields[] = __('Dislikes', LIKEBTN_I18N_DOMAIN);5516 $fields[] = __('Dislikes', 'likebtn-like-button'); 5520 5517 break; 5521 5518 case 'likes_minus_dislikes': 5522 $fields[] = __('Likes minus dislikes', LIKEBTN_I18N_DOMAIN);5519 $fields[] = __('Likes minus dislikes', 'likebtn-like-button'); 5523 5520 break; 5524 5521 case 'ips': 5525 $fields[] = __('Voters IPs', LIKEBTN_I18N_DOMAIN);5522 $fields[] = __('Voters IPs', 'likebtn-like-button'); 5526 5523 break; 5527 5524 } … … 5576 5573 switch ($value) { 5577 5574 case 'user': 5578 $fields[] = __('User Name', LIKEBTN_I18N_DOMAIN);5575 $fields[] = __('User Name', 'likebtn-like-button'); 5579 5576 break; 5580 5577 case 'user_email': 5581 $fields[] = __('User Email', LIKEBTN_I18N_DOMAIN);5578 $fields[] = __('User Email', 'likebtn-like-button'); 5582 5579 break; 5583 5580 case 'ip': 5584 $fields[] = __('IP', LIKEBTN_I18N_DOMAIN);5581 $fields[] = __('IP', 'likebtn-like-button'); 5585 5582 break; 5586 5583 case 'country': 5587 $fields[] = __('Country', LIKEBTN_I18N_DOMAIN);5584 $fields[] = __('Country', 'likebtn-like-button'); 5588 5585 break; 5589 5586 case 'date': 5590 $fields[] = __('Date', LIKEBTN_I18N_DOMAIN);5587 $fields[] = __('Date', 'likebtn-like-button'); 5591 5588 break; 5592 5589 case 'type': 5593 $fields[] = __('Vote type', LIKEBTN_I18N_DOMAIN);5590 $fields[] = __('Vote type', 'likebtn-like-button'); 5594 5591 break; 5595 5592 case 'item_id': 5596 $fields[] = __('Item ID', LIKEBTN_I18N_DOMAIN);5593 $fields[] = __('Item ID', 'likebtn-like-button'); 5597 5594 break; 5598 5595 case 'item_title': 5599 $fields[] = __('Item Title', LIKEBTN_I18N_DOMAIN);5596 $fields[] = __('Item Title', 'likebtn-like-button'); 5600 5597 break; 5601 5598 case 'item_url': 5602 $fields[] = __('Item URL', LIKEBTN_I18N_DOMAIN);5599 $fields[] = __('Item URL', 'likebtn-like-button'); 5603 5600 break; 5604 5601 case 'item_type': 5605 $fields[] = __('Item Type', LIKEBTN_I18N_DOMAIN);5602 $fields[] = __('Item Type', 'likebtn-like-button'); 5606 5603 break; 5607 5604 } … … 5653 5650 $item_title = $value->identifier; 5654 5651 $item_url = $votes_item->url; 5655 $entity_type_name = __('Custom Item', LIKEBTN_I18N_DOMAIN);5652 $entity_type_name = __('Custom Item', 'likebtn-like-button'); 5656 5653 $entity_name = LIKEBTN_ENTITY_CUSTOM_ITEM; 5657 5654 } else { … … 5904 5901 5905 5902 _likebtn_add_notice(array( 5906 'msg' => __('Your website votes and stats have been reset.', LIKEBTN_I18N_DOMAIN),5903 'msg' => __('Your website votes and stats have been reset.', 'likebtn-like-button'), 5907 5904 )); 5908 5905 } else { 5909 5906 _likebtn_add_notice(array( 5910 'msg' => __('Error occured resettings votes and stats. Make sure to enter valid account data on the Settings tab.', LIKEBTN_I18N_DOMAIN),5907 'msg' => __('Error occured resettings votes and stats. Make sure to enter valid account data on the Settings tab.', 'likebtn-like-button'), 5911 5908 'class' => 'error' 5912 5909 )); … … 7383 7380 if ($likebtn_review > 0) { 7384 7381 $msg = strtr( 7385 '<strong>'.__(LIKEBTN_PLUGIN_TITLE, LIKEBTN_I18N_DOMAIN).'</strong>: '.__('Congrats!</strong> Your website crossed the <strong>%votes% votes</strong> – that’s awesome! If you like the plugin you can submit a review <a href="%url_review%" target="_blank">here</a>.', LIKEBTN_I18N_DOMAIN),7382 '<strong>'.__(LIKEBTN_PLUGIN_TITLE, 'likebtn-like-button').'</strong>: '.__('Congrats!</strong> Your website crossed the <strong>%votes% votes</strong> – that’s awesome! If you like the plugin you can submit a review <a href="%url_review%" target="_blank">here</a>.', 'likebtn-like-button'), 7386 7383 array( 7387 7384 '%url_review%' => 'https://wordpress.org/support/plugin/likebtn-like-button/reviews/#new-post', … … 7391 7388 $msg .= ' 7392 7389 <p> 7393 <strong><a href="https://wordpress.org/support/plugin/likebtn-like-button/reviews/#new-post" target="_blank">'.__('Give 5 stars', LIKEBTN_I18N_DOMAIN).'</a></strong> | <a href="#" class="likebtn_dismiss_review">'.__('Dismiss this notice', LIKEBTN_I18N_DOMAIN).'</a>7390 <strong><a href="https://wordpress.org/support/plugin/likebtn-like-button/reviews/#new-post" target="_blank">'.__('Give 5 stars', 'likebtn-like-button').'</a></strong> | <a href="#" class="likebtn_dismiss_review">'.__('Dismiss this notice', 'likebtn-like-button').'</a> 7394 7391 7395 7392 </p> … … 7892 7889 if (!$config || $error_message) { 7893 7890 _likebtn_add_notice(array( 7894 'msg' => __('Error occured importing Like button configuration: incorrect configuration string.', LIKEBTN_I18N_DOMAIN).' '.$error_message,7891 'msg' => __('Error occured importing Like button configuration: incorrect configuration string.', 'likebtn-like-button').' '.$error_message, 7895 7892 'class' => 'error' 7896 7893 )); … … 7905 7902 if (!is_array($config) || $error_message) { 7906 7903 _likebtn_add_notice(array( 7907 'msg' => __('Error occured importing Like button configuration: incorrect configuration string.', LIKEBTN_I18N_DOMAIN).' '.$error_message,7904 'msg' => __('Error occured importing Like button configuration: incorrect configuration string.', 'likebtn-like-button').' '.$error_message, 7908 7905 'class' => 'error' 7909 7906 )); … … 7930 7927 if ($imported) { 7931 7928 _likebtn_add_notice(array( 7932 'msg' => __('Like Button configuration has been successfully imported!', LIKEBTN_I18N_DOMAIN)7929 'msg' => __('Like Button configuration has been successfully imported!', 'likebtn-like-button') 7933 7930 )); 7934 7931 } else { 7935 7932 _likebtn_add_notice(array( 7936 'msg' => __('There were no any options imported.', LIKEBTN_I18N_DOMAIN),7933 'msg' => __('There were no any options imported.', 'likebtn-like-button'), 7937 7934 'class' => 'error' 7938 7935 )); … … 8351 8348 $to_emails = explode(',', $notify_to); 8352 8349 } else { 8353 $return['error_message'] = __('Please specify email recipient(s)', LIKEBTN_I18N_DOMAIN);8350 $return['error_message'] = __('Please specify email recipient(s)', 'likebtn-like-button'); 8354 8351 return $return; 8355 8352 } … … 8361 8358 } 8362 8359 if (!$from) { 8363 $return['error_message'] = __('Email from field is empty', LIKEBTN_I18N_DOMAIN);8360 $return['error_message'] = __('Email from field is empty', 'likebtn-like-button'); 8364 8361 return $return; 8365 8362 } … … 8371 8368 } 8372 8369 if (!$subject) { 8373 $return['error_message'] = __('Please specify email subject', LIKEBTN_I18N_DOMAIN);8370 $return['error_message'] = __('Please specify email subject', 'likebtn-like-button'); 8374 8371 return $return; 8375 8372 } … … 8381 8378 } 8382 8379 if (!$template) { 8383 $return['error_message'] = __('Please specify email notification text', LIKEBTN_I18N_DOMAIN);8380 $return['error_message'] = __('Please specify email notification text', 'likebtn-like-button'); 8384 8381 return $return; 8385 8382 } … … 8409 8406 } 8410 8407 if ($error_emails == count($to_emails)) { 8411 $return['error_message'] = __('Error occured sending email(s) to: '.get_option('likebtn_notify_to'), LIKEBTN_I18N_DOMAIN);8408 $return['error_message'] = __('Error occured sending email(s) to: '.get_option('likebtn_notify_to'), 'likebtn-like-button'); 8412 8409 return $return; 8413 8410 } … … 8434 8431 { 8435 8432 if ((int)$vote_type == LIKEBTN_VOTE_LIKE) { 8436 return __('like', LIKEBTN_I18N_DOMAIN);8433 return __('like', 'likebtn-like-button'); 8437 8434 } else { 8438 return __('dislike', LIKEBTN_I18N_DOMAIN);8435 return __('dislike', 'likebtn-like-button'); 8439 8436 } 8440 8437 } -
likebtn-like-button/tags/2.6.33/likebtn_like_button_db_update.php
r2467848 r2469287 391 391 update_option('likebtn_notify_to', get_option('admin_email')); 392 392 update_option('likebtn_notify_from', likebtn_default_notify_from()); 393 update_option('likebtn_notify_subject', '♥ '.__('New {vote_type} on {domain}', LIKEBTN_I18N_DOMAIN));393 update_option('likebtn_notify_subject', '♥ '.__('New {vote_type} on {domain}', 'likebtn-like-button')); 394 394 update_option('likebtn_notify_text', likebtn_default_notify_text()); 395 395 } -
likebtn-like-button/tags/2.6.33/templates/liked-by-user-widget.php
r2467848 r2469287 71 71 <?php else: // No items ?> 72 72 <div class="likebtn-mlw-no-items"> 73 <p><?php _e('No items liked yet.', LIKEBTN_I18N_DOMAIN); ?></p>73 <p><?php _e('No items liked yet.', 'likebtn-like-button'); ?></p> 74 74 </div> 75 75 <?php -
likebtn-like-button/tags/2.6.33/templates/most-liked-widget.php
r2467848 r2469287 75 75 <?php echo $empty_text; ?> 76 76 <?php else: ?> 77 <?php _e('No items liked yet.', LIKEBTN_I18N_DOMAIN); ?>77 <?php _e('No items liked yet.', 'likebtn-like-button'); ?> 78 78 <?php endif ?> 79 79 </p> -
likebtn-like-button/tags/2.6.33/templates/um-liked-content.php
r2467848 r2469287 10 10 11 11 <?php if (count($post_loop) > 0): ?> 12 <div class="um-profile-note" style="display: block;"><span><?php echo __('Liked Content', LIKEBTN_I18N_DOMAIN); ?></span></div>12 <div class="um-profile-note" style="display: block;"><span><?php echo __('Liked Content', 'likebtn-like-button'); ?></span></div> 13 13 14 14 <?php foreach ($post_loop as $post): ?> … … 37 37 <?php endforeach; ?> 38 38 <?php else: // No items ?> 39 <div class="um-profile-note" style="display: block;"><span><?php echo __('No Content Liked Yet', LIKEBTN_I18N_DOMAIN); ?></span></div>39 <div class="um-profile-note" style="display: block;"><span><?php echo __('No Content Liked Yet', 'likebtn-like-button'); ?></span></div> 40 40 <?php 41 41 endif;
Note: See TracChangeset
for help on using the changeset viewer.