WP ULike - Version 1.3

Version Description

  • Added: Custom style with color picker setting. (for button and counter box)
  • Added: Chinese Tradition (zh_TW) language. (Thanks to Arefly)
  • Updated: Persian language.
Download this release

Release Info

Developer alimir
Plugin Icon 128x128 WP ULike
Version 1.3
Comparing to
See all releases

Code changes from version 1.2 to 1.3

assets/js/wp-admin.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($){
2
+
3
+ function evaluate(){
4
+ var item = $(this);
5
+ var relatedItem = $('.checktoshow');
6
+
7
+ if(item.is(":checked")){
8
+ relatedItem.fadeIn();
9
+ }else{
10
+ relatedItem.fadeOut();
11
+ }
12
+ }
13
+
14
+ $('#wp_ulike_style').click(evaluate).each(evaluate);
15
+
16
+ $('.my-color-field').wpColorPicker();
17
+ });
inc/wp-functions.php CHANGED
@@ -56,6 +56,49 @@
56
  else
57
  return "dislike";
58
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  //add ULike button to the posts
61
  if (get_option('wp_ulike_onPage') == '1') {
56
  else
57
  return "dislike";
58
  }
59
+
60
+ //get user style settings
61
+ function get_user_style(){
62
+ $btn_style = '';
63
+ $counter_style = '';
64
+ $btn_bg = get_option('wp_ulike_btn_bg');
65
+ $btn_border = get_option('wp_ulike_btn_border');
66
+ $btn_color = get_option('wp_ulike_btn_color');
67
+ $counter_bg = get_option('wp_ulike_counter_bg');
68
+ $counter_border = get_option('wp_ulike_counter_border');
69
+ $counter_color = get_option('wp_ulike_counter_color');
70
+
71
+ if(isset($btn_bg)){
72
+ $btn_style .= "background-color:$btn_bg !important; ";
73
+ }
74
+ if(isset($btn_border)){
75
+ $btn_style .= "border-color:$btn_border !important; ";
76
+ }
77
+ if(isset($btn_color)){
78
+ $btn_style .= "color:$btn_color !important;";
79
+ }
80
+
81
+ if(isset($counter_bg)){
82
+ $counter_style .= "background-color:$counter_bg !important; ";
83
+ }
84
+ if(isset($counter_border)){
85
+ $counter_style .= "border-color:$counter_border !important; ";
86
+ }
87
+ if(isset($counter_color)){
88
+ $counter_style .= "color:$counter_color !important;";
89
+ }
90
+
91
+ echo "
92
+ <style>
93
+ .wpulike .counter a{
94
+ $btn_style
95
+ }
96
+ .wpulike .count-box,.wpulike .count-box:before{
97
+ $counter_style
98
+ }
99
+ </style>
100
+ ";
101
+ }
102
 
103
  //add ULike button to the posts
104
  if (get_option('wp_ulike_onPage') == '1') {
inc/wp-options.php CHANGED
@@ -14,6 +14,13 @@ function wp_ulike_register_mysettings() { // whitelist options
14
  register_setting( 'wp_ulike_options', 'wp_ulike_dislike_text' );
15
  register_setting( 'wp_ulike_options', 'wp_ulike_onlyRegistered' );
16
  register_setting( 'wp_ulike_options', 'wp_ulike_user_like_box' );
 
 
 
 
 
 
 
17
  }
18
 
19
 
@@ -26,19 +33,22 @@ function wp_ulike_settings_page() {
26
  <?php settings_fields('wp_ulike_options'); ?>
27
  <?php do_settings_sections( 'wp_ulike_options' ); ?>
28
  <table class="form-table">
29
- <tr valign="top">
30
  <th scope="row"><?php _e('Image or text?', 'alimir'); ?></th>
31
  <td>
32
- <label for="wp_ulike_textOrImage" style="padding:3px 10px 3px; background: url(<?php echo plugins_url('assets/css/add.png', dirname(__FILE__)); ?>) no-repeat right center;">
33
- <?php echo get_option('wp_ulike_textOrImage') == 'image' ? '<input type="radio" name="wp_ulike_textOrImage" id="wp_ulike_textOrImage" value="image" checked="checked">' : '<input type="radio" name="wp_ulike_textOrImage" id="wp_ulike_textOrImage" value="image">'; ?>
34
  </label>
35
- <label for="wp_ulike_text">
36
- <?php echo get_option('wp_ulike_textOrImage') == 'text' ? '<input type="radio" name="wp_ulike_textOrImage" id="wp_ulike_textOrImage" value="text" checked="checked">' : '<input type="radio" name="wp_ulike_textOrImage" id="wp_ulike_textOrImage" value="text">'; ?>
 
 
 
37
  <input type="text" name="wp_ulike_text" id="wp_ulike_text" value="<?php echo get_option('wp_ulike_text'); ?>" />
38
  </label>
39
  </td>
40
  </tr>
41
- <tr valign="top">
42
  <th scope="row"><?php _e('Like Text', 'alimir'); ?></th>
43
  <td>
44
  <label for="wp_ulike_btn_text">
@@ -46,7 +56,7 @@ function wp_ulike_settings_page() {
46
  </label>
47
  </td>
48
  </tr>
49
- <tr valign="top">
50
  <th scope="row"><?php _e('Dislike Text?', 'alimir'); ?></th>
51
  <td>
52
  <label for="wp_ulike_dislike_text">
@@ -54,36 +64,80 @@ function wp_ulike_settings_page() {
54
  </label>
55
  </td>
56
  </tr>
57
- <tr valign="top">
58
  <th scope="row"><?php _e('Automatic display', 'alimir'); ?></th>
59
  <td>
60
  <label for="wp_ulike_onPage">
61
- <?php echo get_option('wp_ulike_onPage') == '1' ? '<input type="checkbox" name="wp_ulike_onPage" id="wp_ulike_onPage" value="1" checked="checked">' : '<input type="checkbox" name="wp_ulike_onPage" id="wp_ulike_onPage" value="1">'; ?>
62
  <?php _e('<strong>On all posts</strong> (home, archives, search) at the bottom of the post', 'alimir'); ?>
63
  </label>
64
  <p class="description"><?php _e('If you disable this option, you have to put manually the code', 'alimir'); ?><code dir="ltr">&lt;?php if(function_exists('wp_ulike')) wp_ulike('get'); ?&gt;</code> <?php _e('wherever you want in your template.', 'alimir'); ?></p>
65
  </td>
66
  </tr>
67
- <tr valign="top">
68
  <th scope="row"><?php _e('Only registered Users', 'alimir'); ?></th>
69
  <td>
70
- <label for="wp_ulike_onlyRegistered">
71
- <?php echo get_option('wp_ulike_onlyRegistered') == '1' ? '<input type="checkbox" name="wp_ulike_onlyRegistered" id="wp_ulike_onlyRegistered" value="1" checked="checked">' : '<input type="checkbox" name="wp_ulike_onlyRegistered" id="wp_ulike_onlyRegistered" value="1">'; ?>
72
  <?php _e('<strong>Active</strong> this option.', 'alimir'); ?>
73
  </label>
74
  <p class="description"><?php _e('<strong>Only</strong> registered users have permission to like posts.', 'alimir'); ?></p>
75
  </td>
76
  </tr>
77
- <tr valign="top">
78
  <th scope="row"><?php _e('Show Users Like Box', 'alimir'); ?></th>
79
  <td>
80
  <label for="wp_ulike_user_like_box">
81
- <?php echo get_option('wp_ulike_user_like_box') == '1' ? '<input type="checkbox" name="wp_ulike_user_like_box" id="wp_ulike_user_like_box" value="1" checked="checked">' : '<input type="checkbox" name="wp_ulike_user_like_box" id="wp_ulike_user_like_box" value="1">'; ?>
82
  <?php _e('Activate', 'alimir'); ?>
83
  </label>
84
  <p class="description"><?php _e('Active this option to show users avatar in like box.', 'alimir'); ?></p>
85
  </td>
86
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  </table>
88
  <?php submit_button(); ?>
89
  </form>
14
  register_setting( 'wp_ulike_options', 'wp_ulike_dislike_text' );
15
  register_setting( 'wp_ulike_options', 'wp_ulike_onlyRegistered' );
16
  register_setting( 'wp_ulike_options', 'wp_ulike_user_like_box' );
17
+ register_setting( 'wp_ulike_options', 'wp_ulike_style' );
18
+ register_setting( 'wp_ulike_options', 'wp_ulike_btn_bg' );
19
+ register_setting( 'wp_ulike_options', 'wp_ulike_btn_border' );
20
+ register_setting( 'wp_ulike_options', 'wp_ulike_btn_color' );
21
+ register_setting( 'wp_ulike_options', 'wp_ulike_counter_bg' );
22
+ register_setting( 'wp_ulike_options', 'wp_ulike_counter_border' );
23
+ register_setting( 'wp_ulike_options', 'wp_ulike_counter_color' );
24
  }
25
 
26
 
33
  <?php settings_fields('wp_ulike_options'); ?>
34
  <?php do_settings_sections( 'wp_ulike_options' ); ?>
35
  <table class="form-table">
36
+ <tr>
37
  <th scope="row"><?php _e('Image or text?', 'alimir'); ?></th>
38
  <td>
39
+ <label>
40
+ <input name="wp_ulike_textOrImage" type="radio" value="image" <?php checked('image', get_option( 'wp_ulike_textOrImage' ) ); ?> /><img src="<?php echo plugins_url('assets/css/add.png', dirname(__FILE__)); ?>" alt="image">
41
  </label>
42
+ <br />
43
+ <label>
44
+ <input name="wp_ulike_textOrImage" type="radio" value="text" <?php checked('text', get_option( 'wp_ulike_textOrImage' ) ); ?> />
45
+ </label>
46
+ <label>
47
  <input type="text" name="wp_ulike_text" id="wp_ulike_text" value="<?php echo get_option('wp_ulike_text'); ?>" />
48
  </label>
49
  </td>
50
  </tr>
51
+ <tr>
52
  <th scope="row"><?php _e('Like Text', 'alimir'); ?></th>
53
  <td>
54
  <label for="wp_ulike_btn_text">
56
  </label>
57
  </td>
58
  </tr>
59
+ <tr>
60
  <th scope="row"><?php _e('Dislike Text?', 'alimir'); ?></th>
61
  <td>
62
  <label for="wp_ulike_dislike_text">
64
  </label>
65
  </td>
66
  </tr>
67
+ <tr>
68
  <th scope="row"><?php _e('Automatic display', 'alimir'); ?></th>
69
  <td>
70
  <label for="wp_ulike_onPage">
71
+ <input name="wp_ulike_onPage" id="wp_ulike_onPage" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_onPage' ) ); ?> />
72
  <?php _e('<strong>On all posts</strong> (home, archives, search) at the bottom of the post', 'alimir'); ?>
73
  </label>
74
  <p class="description"><?php _e('If you disable this option, you have to put manually the code', 'alimir'); ?><code dir="ltr">&lt;?php if(function_exists('wp_ulike')) wp_ulike('get'); ?&gt;</code> <?php _e('wherever you want in your template.', 'alimir'); ?></p>
75
  </td>
76
  </tr>
77
+ <tr>
78
  <th scope="row"><?php _e('Only registered Users', 'alimir'); ?></th>
79
  <td>
80
+ <label for="wp_ulike_onlyRegistered">
81
+ <input name="wp_ulike_onlyRegistered" id="wp_ulike_onlyRegistered" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_onlyRegistered' ) ); ?> />
82
  <?php _e('<strong>Active</strong> this option.', 'alimir'); ?>
83
  </label>
84
  <p class="description"><?php _e('<strong>Only</strong> registered users have permission to like posts.', 'alimir'); ?></p>
85
  </td>
86
  </tr>
87
+ <tr>
88
  <th scope="row"><?php _e('Show Users Like Box', 'alimir'); ?></th>
89
  <td>
90
  <label for="wp_ulike_user_like_box">
91
+ <input name="wp_ulike_user_like_box" id="wp_ulike_user_like_box" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_user_like_box' ) ); ?> />
92
  <?php _e('Activate', 'alimir'); ?>
93
  </label>
94
  <p class="description"><?php _e('Active this option to show users avatar in like box.', 'alimir'); ?></p>
95
  </td>
96
  </tr>
97
+ <tr>
98
+ <th scope="row"><?php _e('Custom Style', 'alimir'); ?></th>
99
+ <td>
100
+ <label for="wp_ulike_style">
101
+ <input name="wp_ulike_style" id="wp_ulike_style" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_style' ) ); ?> />
102
+ <?php _e('Activate', 'alimir'); ?>
103
+ </label>
104
+ <p class="description"><?php _e('Active this option to see custom color settings.', 'alimir'); ?></p>
105
+ </td>
106
+ </tr>
107
+ <tr class="checktoshow">
108
+ <th scope="row"><?php _e('Button style', 'alimir'); ?></th>
109
+ <td>
110
+ <label for="wp_ulike_btn_bg">
111
+ <input type="text" class="my-color-field" id="wp_ulike_btn_bg" name="wp_ulike_btn_bg" value="<?php echo get_option('wp_ulike_btn_bg'); ?>" />
112
+ </label>
113
+ <p class="description"><?php _e('Background', 'alimir'); ?></p><br />
114
+ <label for="wp_ulike_btn_border">
115
+ <input type="text" class="my-color-field" id="wp_ulike_btn_border" name="wp_ulike_btn_border" value="<?php echo get_option('wp_ulike_btn_border'); ?>" />
116
+ </label>
117
+ <p class="description"><?php _e('Border Color', 'alimir'); ?></p><br />
118
+ <label for="wp_ulike_btn_color">
119
+ <input type="text" class="my-color-field" id="wp_ulike_btn_color" name="wp_ulike_btn_color" value="<?php echo get_option('wp_ulike_btn_color'); ?>" />
120
+ </label>
121
+ <p class="description"><?php _e('Text Color', 'alimir'); ?></p>
122
+ </td>
123
+ </tr>
124
+ <tr class="checktoshow">
125
+ <th scope="row"><?php _e('Counter Style', 'alimir'); ?></th>
126
+ <td>
127
+ <label for="wp_ulike_counter_bg">
128
+ <input type="text" class="my-color-field" id="wp_ulike_counter_bg" name="wp_ulike_counter_bg" value="<?php echo get_option('wp_ulike_counter_bg'); ?>" />
129
+ </label>
130
+ <p class="description"><?php _e('Background', 'alimir'); ?></p><br />
131
+ <label for="wp_ulike_counter_border">
132
+ <input type="text" class="my-color-field" id="wp_ulike_counter_border" name="wp_ulike_counter_border" value="<?php echo get_option('wp_ulike_counter_border'); ?>" />
133
+ </label>
134
+ <p class="description"><?php _e('Border Color', 'alimir'); ?></p><br />
135
+ <label for="wp_ulike_counter_color">
136
+ <input type="text" class="my-color-field" id="wp_ulike_counter_color" name="wp_ulike_counter_color" value="<?php echo get_option('wp_ulike_counter_color'); ?>" />
137
+ </label>
138
+ <p class="description"><?php _e('Text Color', 'alimir'); ?></p>
139
+ </td>
140
+ </tr>
141
  </table>
142
  <?php submit_button(); ?>
143
  </form>
inc/wp-script.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
  //Scripts
3
  function enqueueScripts() {
4
-
5
  wp_enqueue_script( 'jquery' );
6
  wp_enqueue_script('wp_ulike', plugins_url('assets/js/wp-ulike.js', dirname(__FILE__)), array('jquery'));
7
 
@@ -15,11 +14,25 @@ function enqueueScripts() {
15
  }
16
 
17
  function enqueueStyle() {
 
 
18
  if(!is_rtl())
19
  wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike.css', dirname(__FILE__)) );
20
  else
21
  wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike-rtl.css', dirname(__FILE__)) );
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
 
 
24
  add_action('init', 'enqueueScripts');
25
  add_action('wp_print_styles', 'enqueueStyle');
1
  <?php
2
  //Scripts
3
  function enqueueScripts() {
 
4
  wp_enqueue_script( 'jquery' );
5
  wp_enqueue_script('wp_ulike', plugins_url('assets/js/wp-ulike.js', dirname(__FILE__)), array('jquery'));
6
 
14
  }
15
 
16
  function enqueueStyle() {
17
+
18
+ //Plugin default style for RTL & LTR languages.
19
  if(!is_rtl())
20
  wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike.css', dirname(__FILE__)) );
21
  else
22
  wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike-rtl.css', dirname(__FILE__)) );
23
+
24
+ //add your custom style from setting panel.
25
+ if(get_option('wp_ulike_style') == 1)
26
+ get_user_style();
27
+ }
28
+
29
+ function enqueueAdmin(){
30
+ //Add Wordpress color picker style.
31
+ wp_enqueue_style( 'wp-color-picker' );
32
+ //Admin js file.
33
+ wp_enqueue_script( 'wp-ulike-admin', plugins_url('assets/js/wp-admin.js', dirname(__FILE__)), array( 'wp-color-picker' ), false, true );
34
  }
35
 
36
+ add_action('admin_enqueue_scripts', 'enqueueAdmin' );
37
  add_action('init', 'enqueueScripts');
38
  add_action('wp_print_styles', 'enqueueStyle');
lang/alimir-fa_IR.mo CHANGED
Binary file
lang/alimir-fa_IR.po CHANGED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: I-Like-This\n"
4
- "POT-Creation-Date: 2014-09-24 18:05+0330\n"
5
- "PO-Revision-Date: 2014-09-24 18:25+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: alimir.ir <info@alimir.ir>\n"
8
- "Language: Persian\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -26,9 +26,11 @@ msgid ""
26
  "to allow your visitors to like pages and posts. Its very simple to use and "
27
  "support a widget to display the most liked posts."
28
  msgstr ""
29
- "یولایک، یه افزونه ی ساده و سبک ایرونی، برای راه اندازی سیستم \"لایک مطالب\" "
30
- "در وبلاگ یا وبسایت شماست :) - این پلاگین توسط علی میرزائی و در دنیای وردپرس "
31
- "و برنامه نویسی توسعه داده شده."
 
 
32
 
33
  #: ../wp-ulike.php:56 ../inc/wp-widget.php:106
34
  msgid "Like"
@@ -46,15 +48,15 @@ msgstr "شما این را نپسندیده اید"
46
  msgid "Already Voted"
47
  msgstr "قبلا لایک کرده اید"
48
 
49
- #: ../wp-ulike.php:142
50
  msgid "Users who have LIKED this post:"
51
  msgstr "کاربرانی که این مطلب را پسندیده اند:"
52
 
53
- #: ../wp-ulike.php:154
54
  msgid "You need to login in order to like this post: "
55
  msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
56
 
57
- #: ../wp-ulike.php:154
58
  msgid "click here"
59
  msgstr "برای ورود کلیک کنید"
60
 
@@ -62,27 +64,27 @@ msgstr "برای ورود کلیک کنید"
62
  msgid "WP Ulike"
63
  msgstr "تنظیمات افزونه یولایک"
64
 
65
- #: ../inc/wp-options.php:24
66
  msgid "Configuration"
67
  msgstr "پیکربندی"
68
 
69
- #: ../inc/wp-options.php:30
70
  msgid "Image or text?"
71
  msgstr "متن یا تصویر؟"
72
 
73
- #: ../inc/wp-options.php:42
74
  msgid "Like Text"
75
  msgstr "متن دکمه لایک"
76
 
77
- #: ../inc/wp-options.php:50
78
  msgid "Dislike Text?"
79
  msgstr "متن دکمه دیسلایک"
80
 
81
- #: ../inc/wp-options.php:58
82
  msgid "Automatic display"
83
  msgstr "نمایش خودکار"
84
 
85
- #: ../inc/wp-options.php:62
86
  msgid ""
87
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
88
  "post"
@@ -90,47 +92,77 @@ msgstr ""
90
  "<strong>نمایش در تمامی پست ها</strong> (خانه, بایگانی, جستجو)در بخش زیرین "
91
  "مطالب."
92
 
93
- #: ../inc/wp-options.php:64
94
  msgid "If you disable this option, you have to put manually the code"
95
  msgstr "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را "
96
 
97
- #: ../inc/wp-options.php:64
98
  msgid "wherever you want in your template."
99
  msgstr "در قالب خود قرار دهید."
100
 
101
- #: ../inc/wp-options.php:68
102
  msgid "Only registered Users"
103
  msgstr "محدودسازی لایک کاربران"
104
 
105
- #: ../inc/wp-options.php:72
106
  msgid "<strong>Active</strong> this option."
107
  msgstr "می خواهم این قابلیت را<strong>فعال</strong> کنم"
108
 
109
- #: ../inc/wp-options.php:74
110
  msgid "<strong>Only</strong> registered users have permission to like posts."
111
  msgstr ""
112
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
113
  "مطالب را لایک کنند."
114
 
115
- #: ../inc/wp-options.php:78
116
  msgid "Show Users Like Box"
117
  msgstr "نمایش باکس کاربران لایک کرده"
118
 
119
- #: ../inc/wp-options.php:82
120
  msgid "Activate"
121
  msgstr "فعال سازی"
122
 
123
- #: ../inc/wp-options.php:84
124
  msgid "Active this option to show users avatar in like box."
125
  msgstr ""
126
  "با فعال سازی این گزینه، می توانید آواتار کاربران لایک کرده، را در زیر هر "
127
  "مطلب، نمایش دهید."
128
 
129
- #: ../inc/wp-options.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  msgid "Like this plugin?"
131
  msgstr "این پلاگین چندتا لایک داره؟!؟ :)"
132
 
133
- #: ../inc/wp-options.php:97
134
  msgid ""
135
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
136
  "wp-ulike\"> Plugin Directory reviews</a>"
@@ -138,14 +170,14 @@ msgstr ""
138
  "حمایتتون رو از این افزونه، با امتیاز 5 ستاره در <a href=\"http://wordpress."
139
  "org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..."
140
 
141
- #: ../inc/wp-options.php:98
142
  msgid ""
143
  "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
144
  msgstr ""
145
  "دنیای وردپرس و برنامه نویسی را در <a href=\"https://www.facebook.com/alimir."
146
  "ir\"> فیسبوک</a> دنبال کنید..."
147
 
148
- #: ../inc/wp-options.php:99
149
  msgid ""
150
  "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
151
  "World.</a>"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP ULike\n"
4
+ "POT-Creation-Date: 2014-10-02 18:09+0330\n"
5
+ "PO-Revision-Date: 2014-10-02 18:16+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: alimir.ir <info@alimir.ir>\n"
8
+ "Language: fa_IR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
26
  "to allow your visitors to like pages and posts. Its very simple to use and "
27
  "support a widget to display the most liked posts."
28
  msgstr ""
29
+ " افزونه ایرانی یولایک، یک سیستم آژاکسی ساده و کاربردی برای ایجاد قابلیت لایک "
30
+ "(LIKE) در مطالب و نوشته های وردپرسی شماست و با بهره گیری از پنل تنظیمات، "
31
+ "پشتیبانی کامل از شیوه نامه rtl، نمایش بیشترین مطالب لایک شده، قابلیت سفارشی "
32
+ "سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در اختیار شما "
33
+ "قرار میده."
34
 
35
  #: ../wp-ulike.php:56 ../inc/wp-widget.php:106
36
  msgid "Like"
48
  msgid "Already Voted"
49
  msgstr "قبلا لایک کرده اید"
50
 
51
+ #: ../wp-ulike.php:143
52
  msgid "Users who have LIKED this post:"
53
  msgstr "کاربرانی که این مطلب را پسندیده اند:"
54
 
55
+ #: ../wp-ulike.php:155
56
  msgid "You need to login in order to like this post: "
57
  msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
58
 
59
+ #: ../wp-ulike.php:155
60
  msgid "click here"
61
  msgstr "برای ورود کلیک کنید"
62
 
64
  msgid "WP Ulike"
65
  msgstr "تنظیمات افزونه یولایک"
66
 
67
+ #: ../inc/wp-options.php:31
68
  msgid "Configuration"
69
  msgstr "پیکربندی"
70
 
71
+ #: ../inc/wp-options.php:37
72
  msgid "Image or text?"
73
  msgstr "متن یا تصویر؟"
74
 
75
+ #: ../inc/wp-options.php:53
76
  msgid "Like Text"
77
  msgstr "متن دکمه لایک"
78
 
79
+ #: ../inc/wp-options.php:61
80
  msgid "Dislike Text?"
81
  msgstr "متن دکمه دیسلایک"
82
 
83
+ #: ../inc/wp-options.php:69
84
  msgid "Automatic display"
85
  msgstr "نمایش خودکار"
86
 
87
+ #: ../inc/wp-options.php:73
88
  msgid ""
89
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
90
  "post"
92
  "<strong>نمایش در تمامی پست ها</strong> (خانه, بایگانی, جستجو)در بخش زیرین "
93
  "مطالب."
94
 
95
+ #: ../inc/wp-options.php:75
96
  msgid "If you disable this option, you have to put manually the code"
97
  msgstr "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را "
98
 
99
+ #: ../inc/wp-options.php:75
100
  msgid "wherever you want in your template."
101
  msgstr "در قالب خود قرار دهید."
102
 
103
+ #: ../inc/wp-options.php:79
104
  msgid "Only registered Users"
105
  msgstr "محدودسازی لایک کاربران"
106
 
107
+ #: ../inc/wp-options.php:83
108
  msgid "<strong>Active</strong> this option."
109
  msgstr "می خواهم این قابلیت را<strong>فعال</strong> کنم"
110
 
111
+ #: ../inc/wp-options.php:85
112
  msgid "<strong>Only</strong> registered users have permission to like posts."
113
  msgstr ""
114
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
115
  "مطالب را لایک کنند."
116
 
117
+ #: ../inc/wp-options.php:89
118
  msgid "Show Users Like Box"
119
  msgstr "نمایش باکس کاربران لایک کرده"
120
 
121
+ #: ../inc/wp-options.php:93 ../inc/wp-options.php:103
122
  msgid "Activate"
123
  msgstr "فعال سازی"
124
 
125
+ #: ../inc/wp-options.php:95
126
  msgid "Active this option to show users avatar in like box."
127
  msgstr ""
128
  "با فعال سازی این گزینه، می توانید آواتار کاربران لایک کرده، را در زیر هر "
129
  "مطلب، نمایش دهید."
130
 
131
+ #: ../inc/wp-options.php:99
132
+ msgid "Custom Style"
133
+ msgstr "سفارشی سازی"
134
+
135
+ #: ../inc/wp-options.php:105
136
+ msgid "Active this option to see custom color settings."
137
+ msgstr ""
138
+ "با فعال سازی این گزینه، می توانید رنگ های دلخواه خود را در افزونه به کار "
139
+ "ببرید."
140
+
141
+ #: ../inc/wp-options.php:109
142
+ msgid "Button style"
143
+ msgstr "دکمه لایک"
144
+
145
+ #: ../inc/wp-options.php:114 ../inc/wp-options.php:131
146
+ msgid "Background"
147
+ msgstr "رنگ پس زمینه"
148
+
149
+ #: ../inc/wp-options.php:118 ../inc/wp-options.php:135
150
+ msgid "Border Color"
151
+ msgstr "رنگ حاشیه"
152
+
153
+ #: ../inc/wp-options.php:122 ../inc/wp-options.php:139
154
+ msgid "Text Color"
155
+ msgstr "رنگ متن"
156
+
157
+ #: ../inc/wp-options.php:126
158
+ msgid "Counter Style"
159
+ msgstr "باکس شمارنده"
160
+
161
+ #: ../inc/wp-options.php:149
162
  msgid "Like this plugin?"
163
  msgstr "این پلاگین چندتا لایک داره؟!؟ :)"
164
 
165
+ #: ../inc/wp-options.php:152
166
  msgid ""
167
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
168
  "wp-ulike\"> Plugin Directory reviews</a>"
170
  "حمایتتون رو از این افزونه، با امتیاز 5 ستاره در <a href=\"http://wordpress."
171
  "org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..."
172
 
173
+ #: ../inc/wp-options.php:153
174
  msgid ""
175
  "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
176
  msgstr ""
177
  "دنیای وردپرس و برنامه نویسی را در <a href=\"https://www.facebook.com/alimir."
178
  "ir\"> فیسبوک</a> دنبال کنید..."
179
 
180
+ #: ../inc/wp-options.php:154
181
  msgid ""
182
  "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
183
  "World.</a>"
lang/alimir-fr_FR.mo CHANGED
Binary file
lang/alimir-fr_FR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-09-24 16:53+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: \n"
@@ -39,19 +39,19 @@ msgstr ""
39
  msgid "You Dislike This"
40
  msgstr ""
41
 
42
- #: ../wp-ulike.php:115 ../wp-ulike.php:131
43
  msgid "Already Voted"
44
  msgstr ""
45
 
46
- #: ../wp-ulike.php:142
47
  msgid "Users who have LIKED this post:"
48
  msgstr ""
49
 
50
- #: ../wp-ulike.php:154
51
  msgid "You need to login in order to like this post: "
52
  msgstr ""
53
 
54
- #: ../wp-ulike.php:154
55
  msgid "click here"
56
  msgstr ""
57
 
@@ -59,27 +59,27 @@ msgstr ""
59
  msgid "WP Ulike"
60
  msgstr ""
61
 
62
- #: ../inc/wp-options.php:24
63
  msgid "Configuration"
64
  msgstr "Configuration"
65
 
66
- #: ../inc/wp-options.php:30
67
  msgid "Image or text?"
68
  msgstr "Image ou texte?"
69
 
70
- #: ../inc/wp-options.php:42
71
  msgid "Like Text"
72
  msgstr ""
73
 
74
- #: ../inc/wp-options.php:50
75
  msgid "Dislike Text?"
76
  msgstr ""
77
 
78
- #: ../inc/wp-options.php:58
79
  msgid "Automatic display"
80
  msgstr "Affichage automatique"
81
 
82
- #: ../inc/wp-options.php:62
83
  msgid ""
84
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
85
  "post"
@@ -87,55 +87,83 @@ msgstr ""
87
  "<strong>Pour tous les articles</strong> (accueil, archives, recherche) au "
88
  "fond de l'article."
89
 
90
- #: ../inc/wp-options.php:64
91
  msgid "If you disable this option, you have to put manually the code"
92
  msgstr ""
93
  "Si vous désactivez cette option, vous devez ajouter manuellement le code"
94
 
95
- #: ../inc/wp-options.php:64
96
  msgid "wherever you want in your template."
97
  msgstr "n'importe où vous le souhaitez dans votre thème."
98
 
99
- #: ../inc/wp-options.php:68
100
  msgid "Only registered Users"
101
  msgstr ""
102
 
103
- #: ../inc/wp-options.php:72
104
  msgid "<strong>Active</strong> this option."
105
  msgstr ""
106
 
107
- #: ../inc/wp-options.php:74
108
  msgid "<strong>Only</strong> registered users have permission to like posts."
109
  msgstr ""
110
 
111
- #: ../inc/wp-options.php:78
112
  msgid "Show Users Like Box"
113
  msgstr ""
114
 
115
- #: ../inc/wp-options.php:82
116
  msgid "Activate"
117
  msgstr ""
118
 
119
- #: ../inc/wp-options.php:84
120
  msgid "Active this option to show users avatar in like box."
121
  msgstr ""
122
 
123
- #: ../inc/wp-options.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  msgid "Like this plugin?"
125
  msgstr "Vous aimez ce plugin?"
126
 
127
- #: ../inc/wp-options.php:97
128
  msgid ""
129
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
130
  "wp-ulike\"> Plugin Directory reviews</a>"
131
  msgstr ""
132
 
133
- #: ../inc/wp-options.php:98
134
  msgid ""
135
  "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
136
  msgstr ""
137
 
138
- #: ../inc/wp-options.php:99
139
  msgid ""
140
  "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
141
  "World.</a>"
@@ -162,8 +190,8 @@ msgid "Number of posts to show:"
162
  msgstr "Nombre d'articles à afficher:"
163
 
164
  #: ../inc/wp-widget.php:66
165
- msgid "Show post count"
166
- msgstr "Afficher le nombre d'articles"
167
 
168
  #: ../inc/wp-widget.php:87
169
  msgid "WP Ulike - Most Liked Users"
@@ -186,9 +214,12 @@ msgid "User avatar size:"
186
  msgstr ""
187
 
188
  #: ../inc/wp-widget.php:152
189
- msgid "Show user like count"
190
  msgstr ""
191
 
 
 
 
192
  #~ msgid "Save Options"
193
  #~ msgstr "Enregistrer les options"
194
 
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-10-02 18:47+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: \n"
39
  msgid "You Dislike This"
40
  msgstr ""
41
 
42
+ #: ../wp-ulike.php:118 ../wp-ulike.php:134
43
  msgid "Already Voted"
44
  msgstr ""
45
 
46
+ #: ../wp-ulike.php:146
47
  msgid "Users who have LIKED this post:"
48
  msgstr ""
49
 
50
+ #: ../wp-ulike.php:158
51
  msgid "You need to login in order to like this post: "
52
  msgstr ""
53
 
54
+ #: ../wp-ulike.php:158
55
  msgid "click here"
56
  msgstr ""
57
 
59
  msgid "WP Ulike"
60
  msgstr ""
61
 
62
+ #: ../inc/wp-options.php:31
63
  msgid "Configuration"
64
  msgstr "Configuration"
65
 
66
+ #: ../inc/wp-options.php:37
67
  msgid "Image or text?"
68
  msgstr "Image ou texte?"
69
 
70
+ #: ../inc/wp-options.php:52
71
  msgid "Like Text"
72
  msgstr ""
73
 
74
+ #: ../inc/wp-options.php:60
75
  msgid "Dislike Text?"
76
  msgstr ""
77
 
78
+ #: ../inc/wp-options.php:68
79
  msgid "Automatic display"
80
  msgstr "Affichage automatique"
81
 
82
+ #: ../inc/wp-options.php:72
83
  msgid ""
84
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
85
  "post"
87
  "<strong>Pour tous les articles</strong> (accueil, archives, recherche) au "
88
  "fond de l'article."
89
 
90
+ #: ../inc/wp-options.php:74
91
  msgid "If you disable this option, you have to put manually the code"
92
  msgstr ""
93
  "Si vous désactivez cette option, vous devez ajouter manuellement le code"
94
 
95
+ #: ../inc/wp-options.php:74
96
  msgid "wherever you want in your template."
97
  msgstr "n'importe où vous le souhaitez dans votre thème."
98
 
99
+ #: ../inc/wp-options.php:78
100
  msgid "Only registered Users"
101
  msgstr ""
102
 
103
+ #: ../inc/wp-options.php:82
104
  msgid "<strong>Active</strong> this option."
105
  msgstr ""
106
 
107
+ #: ../inc/wp-options.php:84
108
  msgid "<strong>Only</strong> registered users have permission to like posts."
109
  msgstr ""
110
 
111
+ #: ../inc/wp-options.php:88
112
  msgid "Show Users Like Box"
113
  msgstr ""
114
 
115
+ #: ../inc/wp-options.php:92 ../inc/wp-options.php:102
116
  msgid "Activate"
117
  msgstr ""
118
 
119
+ #: ../inc/wp-options.php:94
120
  msgid "Active this option to show users avatar in like box."
121
  msgstr ""
122
 
123
+ #: ../inc/wp-options.php:98
124
+ msgid "Custom Style"
125
+ msgstr ""
126
+
127
+ #: ../inc/wp-options.php:104
128
+ msgid "Active this option to see custom color settings."
129
+ msgstr ""
130
+
131
+ #: ../inc/wp-options.php:108
132
+ msgid "Button style"
133
+ msgstr ""
134
+
135
+ #: ../inc/wp-options.php:113 ../inc/wp-options.php:130
136
+ msgid "Background"
137
+ msgstr ""
138
+
139
+ #: ../inc/wp-options.php:117 ../inc/wp-options.php:134
140
+ msgid "Border Color"
141
+ msgstr ""
142
+
143
+ #: ../inc/wp-options.php:121 ../inc/wp-options.php:138
144
+ msgid "Text Color"
145
+ msgstr ""
146
+
147
+ #: ../inc/wp-options.php:125
148
+ msgid "Counter Style"
149
+ msgstr ""
150
+
151
+ #: ../inc/wp-options.php:148
152
  msgid "Like this plugin?"
153
  msgstr "Vous aimez ce plugin?"
154
 
155
+ #: ../inc/wp-options.php:151
156
  msgid ""
157
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
158
  "wp-ulike\"> Plugin Directory reviews</a>"
159
  msgstr ""
160
 
161
+ #: ../inc/wp-options.php:152
162
  msgid ""
163
  "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
164
  msgstr ""
165
 
166
+ #: ../inc/wp-options.php:153
167
  msgid ""
168
  "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
169
  "World.</a>"
190
  msgstr "Nombre d'articles à afficher:"
191
 
192
  #: ../inc/wp-widget.php:66
193
+ msgid "Activate post like count"
194
+ msgstr ""
195
 
196
  #: ../inc/wp-widget.php:87
197
  msgid "WP Ulike - Most Liked Users"
214
  msgstr ""
215
 
216
  #: ../inc/wp-widget.php:152
217
+ msgid "Activate user like count"
218
  msgstr ""
219
 
220
+ #~ msgid "Show post count"
221
+ #~ msgstr "Afficher le nombre d'articles"
222
+
223
  #~ msgid "Save Options"
224
  #~ msgstr "Enregistrer les options"
225
 
lang/alimir-zh_CN.mo CHANGED
Binary file
lang/alimir-zh_CN.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-09-24 18:13+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: 倡萌@WordPress大学 <admin@cmhello.com>\n"
@@ -42,19 +42,19 @@ msgstr "你喜欢这个"
42
  msgid "You Dislike This"
43
  msgstr "你不喜欢这个"
44
 
45
- #: ../wp-ulike.php:115 ../wp-ulike.php:131
46
  msgid "Already Voted"
47
  msgstr "已经投票"
48
 
49
- #: ../wp-ulike.php:142
50
  msgid "Users who have LIKED this post:"
51
  msgstr "喜欢该文章的用户:"
52
 
53
- #: ../wp-ulike.php:154
54
  msgid "You need to login in order to like this post: "
55
  msgstr "你需要登录后才能喜欢这篇文章:"
56
 
57
- #: ../wp-ulike.php:154
58
  msgid "click here"
59
  msgstr "点击这里"
60
 
@@ -62,69 +62,97 @@ msgstr "点击这里"
62
  msgid "WP Ulike"
63
  msgstr "WP Ulike"
64
 
65
- #: ../inc/wp-options.php:24
66
  msgid "Configuration"
67
  msgstr "配置"
68
 
69
- #: ../inc/wp-options.php:30
70
  msgid "Image or text?"
71
  msgstr "图片或文本?"
72
 
73
- #: ../inc/wp-options.php:42
74
  msgid "Like Text"
75
  msgstr "[喜欢]文本"
76
 
77
- #: ../inc/wp-options.php:50
78
  msgid "Dislike Text?"
79
  msgstr "[不喜欢]文本"
80
 
81
- #: ../inc/wp-options.php:58
82
  msgid "Automatic display"
83
  msgstr "自动显示"
84
 
85
- #: ../inc/wp-options.php:62
86
  msgid ""
87
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
88
  "post"
89
  msgstr "<strong>在所有文章</strong>(首页、存档、搜索)文章的底部"
90
 
91
- #: ../inc/wp-options.php:64
92
  msgid "If you disable this option, you have to put manually the code"
93
  msgstr "如果你禁用这个选项,你必须手动添加代码 "
94
 
95
- #: ../inc/wp-options.php:64
96
  msgid "wherever you want in your template."
97
  msgstr " 到模板中你想要添加的地方。"
98
 
99
- #: ../inc/wp-options.php:68
100
  msgid "Only registered Users"
101
  msgstr "只有已注册的用户"
102
 
103
- #: ../inc/wp-options.php:72
104
  msgid "<strong>Active</strong> this option."
105
  msgstr "<strong>激活</strong>这个选项"
106
 
107
- #: ../inc/wp-options.php:74
108
  msgid "<strong>Only</strong> registered users have permission to like posts."
109
  msgstr "<strong>只有</strong> 已注册的用户才有权限喜欢文章。"
110
 
111
- #: ../inc/wp-options.php:78
112
  msgid "Show Users Like Box"
113
  msgstr "显示用户喜欢盒子"
114
 
115
- #: ../inc/wp-options.php:82
116
  msgid "Activate"
117
  msgstr "激活"
118
 
119
- #: ../inc/wp-options.php:84
120
  msgid "Active this option to show users avatar in like box."
121
  msgstr "激活这个选项可以在喜欢盒子里显示用户头像"
122
 
123
- #: ../inc/wp-options.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  msgid "Like this plugin?"
125
  msgstr "喜欢这个插件?"
126
 
127
- #: ../inc/wp-options.php:97
128
  msgid ""
129
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
130
  "wp-ulike\"> Plugin Directory reviews</a>"
@@ -132,12 +160,12 @@ msgstr ""
132
  "支持本插件,请在 <a href=\"http://wordpress.org/plugins/wp-ulike\"> 插件目录"
133
  "评论 </a> 提交 5 星级投票"
134
 
135
- #: ../inc/wp-options.php:98
136
  msgid ""
137
  "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
138
  msgstr "关注我的 <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
139
 
140
- #: ../inc/wp-options.php:99
141
  msgid ""
142
  "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
143
  "World.</a>"
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-10-02 18:47+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: 倡萌@WordPress大学 <admin@cmhello.com>\n"
42
  msgid "You Dislike This"
43
  msgstr "你不喜欢这个"
44
 
45
+ #: ../wp-ulike.php:118 ../wp-ulike.php:134
46
  msgid "Already Voted"
47
  msgstr "已经投票"
48
 
49
+ #: ../wp-ulike.php:146
50
  msgid "Users who have LIKED this post:"
51
  msgstr "喜欢该文章的用户:"
52
 
53
+ #: ../wp-ulike.php:158
54
  msgid "You need to login in order to like this post: "
55
  msgstr "你需要登录后才能喜欢这篇文章:"
56
 
57
+ #: ../wp-ulike.php:158
58
  msgid "click here"
59
  msgstr "点击这里"
60
 
62
  msgid "WP Ulike"
63
  msgstr "WP Ulike"
64
 
65
+ #: ../inc/wp-options.php:31
66
  msgid "Configuration"
67
  msgstr "配置"
68
 
69
+ #: ../inc/wp-options.php:37
70
  msgid "Image or text?"
71
  msgstr "图片或文本?"
72
 
73
+ #: ../inc/wp-options.php:52
74
  msgid "Like Text"
75
  msgstr "[喜欢]文本"
76
 
77
+ #: ../inc/wp-options.php:60
78
  msgid "Dislike Text?"
79
  msgstr "[不喜欢]文本"
80
 
81
+ #: ../inc/wp-options.php:68
82
  msgid "Automatic display"
83
  msgstr "自动显示"
84
 
85
+ #: ../inc/wp-options.php:72
86
  msgid ""
87
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
88
  "post"
89
  msgstr "<strong>在所有文章</strong>(首页、存档、搜索)文章的底部"
90
 
91
+ #: ../inc/wp-options.php:74
92
  msgid "If you disable this option, you have to put manually the code"
93
  msgstr "如果你禁用这个选项,你必须手动添加代码 "
94
 
95
+ #: ../inc/wp-options.php:74
96
  msgid "wherever you want in your template."
97
  msgstr " 到模板中你想要添加的地方。"
98
 
99
+ #: ../inc/wp-options.php:78
100
  msgid "Only registered Users"
101
  msgstr "只有已注册的用户"
102
 
103
+ #: ../inc/wp-options.php:82
104
  msgid "<strong>Active</strong> this option."
105
  msgstr "<strong>激活</strong>这个选项"
106
 
107
+ #: ../inc/wp-options.php:84
108
  msgid "<strong>Only</strong> registered users have permission to like posts."
109
  msgstr "<strong>只有</strong> 已注册的用户才有权限喜欢文章。"
110
 
111
+ #: ../inc/wp-options.php:88
112
  msgid "Show Users Like Box"
113
  msgstr "显示用户喜欢盒子"
114
 
115
+ #: ../inc/wp-options.php:92 ../inc/wp-options.php:102
116
  msgid "Activate"
117
  msgstr "激活"
118
 
119
+ #: ../inc/wp-options.php:94
120
  msgid "Active this option to show users avatar in like box."
121
  msgstr "激活这个选项可以在喜欢盒子里显示用户头像"
122
 
123
+ #: ../inc/wp-options.php:98
124
+ msgid "Custom Style"
125
+ msgstr ""
126
+
127
+ #: ../inc/wp-options.php:104
128
+ msgid "Active this option to see custom color settings."
129
+ msgstr ""
130
+
131
+ #: ../inc/wp-options.php:108
132
+ msgid "Button style"
133
+ msgstr ""
134
+
135
+ #: ../inc/wp-options.php:113 ../inc/wp-options.php:130
136
+ msgid "Background"
137
+ msgstr ""
138
+
139
+ #: ../inc/wp-options.php:117 ../inc/wp-options.php:134
140
+ msgid "Border Color"
141
+ msgstr ""
142
+
143
+ #: ../inc/wp-options.php:121 ../inc/wp-options.php:138
144
+ msgid "Text Color"
145
+ msgstr ""
146
+
147
+ #: ../inc/wp-options.php:125
148
+ msgid "Counter Style"
149
+ msgstr ""
150
+
151
+ #: ../inc/wp-options.php:148
152
  msgid "Like this plugin?"
153
  msgstr "喜欢这个插件?"
154
 
155
+ #: ../inc/wp-options.php:151
156
  msgid ""
157
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
158
  "wp-ulike\"> Plugin Directory reviews</a>"
160
  "支持本插件,请在 <a href=\"http://wordpress.org/plugins/wp-ulike\"> 插件目录"
161
  "评论 </a> 提交 5 星级投票"
162
 
163
+ #: ../inc/wp-options.php:152
164
  msgid ""
165
  "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
166
  msgstr "关注我的 <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
167
 
168
+ #: ../inc/wp-options.php:153
169
  msgid ""
170
  "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
171
  "World.</a>"
lang/alimir-zh_TW.mo ADDED
Binary file
lang/alimir-zh_TW.po ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP ULike\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-10-02 18:47+0330\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Alimir <info@alimir.ir>\n"
8
+ "Language-Team: 超級efly <eflyjason@gmail.com>\n"
9
+ "Language: zh_TW\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+ "X-Poedit-SearchPath-1: ..\n"
20
+
21
+ #: ../wp-ulike.php:16
22
+ msgid "WP ULike"
23
+ msgstr "WP ULike"
24
+
25
+ #: ../wp-ulike.php:17
26
+ msgid ""
27
+ "WP ULike plugin allows to integrate Like Button into your WordPress website "
28
+ "to allow your visitors to like pages and posts. Its very simple to use and "
29
+ "support a widget to display the most liked posts."
30
+ msgstr ""
31
+ "WP ULike 外掛允許集成喜歡按鈕到你的WordPress站點,讓你的訪客可以喜歡頁面和文"
32
+ "章。它非常簡單易用,還支持通過小工具顯示最多人喜歡的文章。"
33
+
34
+ #: ../wp-ulike.php:56 ../inc/wp-widget.php:106
35
+ msgid "Like"
36
+ msgstr "喜歡"
37
+
38
+ #: ../wp-ulike.php:57
39
+ msgid "You Like This"
40
+ msgstr "你喜歡這個"
41
+
42
+ #: ../wp-ulike.php:58
43
+ msgid "You Dislike This"
44
+ msgstr "你不喜歡這個"
45
+
46
+ #: ../wp-ulike.php:118 ../wp-ulike.php:134
47
+ msgid "Already Voted"
48
+ msgstr "已經投票"
49
+
50
+ #: ../wp-ulike.php:146
51
+ msgid "Users who have LIKED this post:"
52
+ msgstr "喜歡該文章的用戶:"
53
+
54
+ #: ../wp-ulike.php:158
55
+ msgid "You need to login in order to like this post: "
56
+ msgstr "你需要登錄後才能喜歡這篇文章:"
57
+
58
+ #: ../wp-ulike.php:158
59
+ msgid "click here"
60
+ msgstr "點擊這裡"
61
+
62
+ #: ../inc/wp-options.php:4
63
+ msgid "WP Ulike"
64
+ msgstr "WP Ulike"
65
+
66
+ #: ../inc/wp-options.php:31
67
+ msgid "Configuration"
68
+ msgstr "配置"
69
+
70
+ #: ../inc/wp-options.php:37
71
+ msgid "Image or text?"
72
+ msgstr "圖片或文本?"
73
+
74
+ #: ../inc/wp-options.php:52
75
+ msgid "Like Text"
76
+ msgstr "[喜歡]文本"
77
+
78
+ #: ../inc/wp-options.php:60
79
+ msgid "Dislike Text?"
80
+ msgstr "[不喜歡]文本"
81
+
82
+ #: ../inc/wp-options.php:68
83
+ msgid "Automatic display"
84
+ msgstr "自動顯示"
85
+
86
+ #: ../inc/wp-options.php:72
87
+ msgid ""
88
+ "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
89
+ "post"
90
+ msgstr "<strong>在所有文章</strong>(首頁、存檔、搜索)文章的底部"
91
+
92
+ #: ../inc/wp-options.php:74
93
+ msgid "If you disable this option, you have to put manually the code"
94
+ msgstr "如果你禁用這個選項,你必須手動添加代碼 "
95
+
96
+ #: ../inc/wp-options.php:74
97
+ msgid "wherever you want in your template."
98
+ msgstr " 到模板中你想要添加的地方。"
99
+
100
+ #: ../inc/wp-options.php:78
101
+ msgid "Only registered Users"
102
+ msgstr "只有已注冊的用戶"
103
+
104
+ #: ../inc/wp-options.php:82
105
+ msgid "<strong>Active</strong> this option."
106
+ msgstr "<strong>激活</strong>這個選項"
107
+
108
+ #: ../inc/wp-options.php:84
109
+ msgid "<strong>Only</strong> registered users have permission to like posts."
110
+ msgstr "<strong>只有</strong> 已注冊的用戶才有權限喜歡文章。"
111
+
112
+ #: ../inc/wp-options.php:88
113
+ msgid "Show Users Like Box"
114
+ msgstr "顯示用戶喜歡盒子"
115
+
116
+ #: ../inc/wp-options.php:92 ../inc/wp-options.php:102
117
+ msgid "Activate"
118
+ msgstr "激活"
119
+
120
+ #: ../inc/wp-options.php:94
121
+ msgid "Active this option to show users avatar in like box."
122
+ msgstr "激活這個選項可以在喜歡盒子裡顯示用戶大頭貼"
123
+
124
+ #: ../inc/wp-options.php:98
125
+ msgid "Custom Style"
126
+ msgstr ""
127
+
128
+ #: ../inc/wp-options.php:104
129
+ msgid "Active this option to see custom color settings."
130
+ msgstr ""
131
+
132
+ #: ../inc/wp-options.php:108
133
+ msgid "Button style"
134
+ msgstr ""
135
+
136
+ #: ../inc/wp-options.php:113 ../inc/wp-options.php:130
137
+ msgid "Background"
138
+ msgstr ""
139
+
140
+ #: ../inc/wp-options.php:117 ../inc/wp-options.php:134
141
+ msgid "Border Color"
142
+ msgstr ""
143
+
144
+ #: ../inc/wp-options.php:121 ../inc/wp-options.php:138
145
+ msgid "Text Color"
146
+ msgstr ""
147
+
148
+ #: ../inc/wp-options.php:125
149
+ msgid "Counter Style"
150
+ msgstr ""
151
+
152
+ #: ../inc/wp-options.php:148
153
+ msgid "Like this plugin?"
154
+ msgstr "喜歡這個外掛?"
155
+
156
+ #: ../inc/wp-options.php:151
157
+ msgid ""
158
+ "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
159
+ "wp-ulike\"> Plugin Directory reviews</a>"
160
+ msgstr ""
161
+ "支持本外掛,請在 <a href=\"http://wordpress.org/plugins/wp-ulike\"> 外掛目錄"
162
+ "迴響 </a> 提交 5 星級投票"
163
+
164
+ #: ../inc/wp-options.php:152
165
+ msgid ""
166
+ "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
167
+ msgstr "關注我的 <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
168
+
169
+ #: ../inc/wp-options.php:153
170
+ msgid ""
171
+ "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
172
+ "World.</a>"
173
+ msgstr ""
174
+ "外掛作者部落格:<a href=\"http://alimir.ir\"> Wordpress & Programming World</"
175
+ "a><br /> 感謝 <a href=\"http://www.arefly.com\" target=\"_blank\">暢想資源</"
176
+ "a> 提供繁體中文支持"
177
+
178
+ #: ../inc/wp-widget.php:8
179
+ msgid "WP Ulike - Most Liked Posts"
180
+ msgstr "WP Ulike - 最多人喜歡的文章"
181
+
182
+ #: ../inc/wp-widget.php:9
183
+ msgid "This widget allows you to show most liked posts."
184
+ msgstr "本小工具允許你顯示最多人喜歡的文章"
185
+
186
+ #: ../inc/wp-widget.php:51
187
+ msgid "Most Liked Posts"
188
+ msgstr "最多人喜歡的文章"
189
+
190
+ #: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
191
+ msgid "Title:"
192
+ msgstr "標題:"
193
+
194
+ #: ../inc/wp-widget.php:60
195
+ msgid "Number of posts to show:"
196
+ msgstr "要顯示的文章數量:"
197
+
198
+ #: ../inc/wp-widget.php:66
199
+ msgid "Activate post like count"
200
+ msgstr "開啟「喜歡文章」計數"
201
+
202
+ #: ../inc/wp-widget.php:87
203
+ msgid "WP Ulike - Most Liked Users"
204
+ msgstr "WP Ulike - 喜歡最多的用戶"
205
+
206
+ #: ../inc/wp-widget.php:88
207
+ msgid "This widget allows you to show most liked users avatars."
208
+ msgstr "本小工具允許你顯示喜歡最多的用戶的大頭貼"
209
+
210
+ #: ../inc/wp-widget.php:132
211
+ msgid "Most Liked Users"
212
+ msgstr "最多喜歡的用戶"
213
+
214
+ #: ../inc/wp-widget.php:141
215
+ msgid "Number of users to show:"
216
+ msgstr "要显示的用戶数量:"
217
+
218
+ #: ../inc/wp-widget.php:146
219
+ msgid "User avatar size:"
220
+ msgstr "用戶大頭貼尺寸"
221
+
222
+ #: ../inc/wp-widget.php:152
223
+ msgid "Activate user like count"
224
+ msgstr "開啟「用戶喜歡」計數"
225
+
226
+ #~ msgid "WP Ulike Widget"
227
+ #~ msgstr "WP Ulike 小工具"
228
+
229
+ #~ msgid ""
230
+ #~ "This plugin allows your visitors to simply like your posts instead of "
231
+ #~ "comment it."
232
+ #~ msgstr "該外掛允許你的訪客簡單地喜歡您的文章而不是迴響它。"
233
+
234
+ #~ msgid "Show post count"
235
+ #~ msgstr "顯示文章計數"
236
+
237
+ #~ msgid "Save Options"
238
+ #~ msgstr "Enregistrer les options"
239
+
240
+ #~ msgid "jQuery framework"
241
+ #~ msgstr "Librairie jQuery"
242
+
243
+ #~ msgid "Enabled"
244
+ #~ msgstr "Active"
245
+
246
+ #~ msgid "Disabled"
247
+ #~ msgstr "Desactive"
248
+
249
+ #~ msgid ""
250
+ #~ "Disable it if you already have the jQuery framework enabled in your theme."
251
+ #~ msgstr ""
252
+ #~ "Desactivez cette option si vous avez deja la librairie jQuery activee "
253
+ #~ "dans votre theme."
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author: Ali Mirzaei
5
  Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin
6
  Requires at least: 3.0
7
  Tested up to: 4.0
8
- Stable tag: 1.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -26,9 +26,10 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
26
  * Visitors do not have to register or log in to use the Like Button.
27
  * Compatible with WP version 3.0 & above.
28
  * Added automatically (no Code required).
29
- * Simple likeBox to show users avatar.
30
  * Custom Like-Dislike Texts.
31
- * Widget to show 'Most Liked' posts And 'Most Liked' users avatars.
 
32
  * Simple configuration panel.
33
  * Support RTL & language file.
34
  * And so on...
@@ -41,6 +42,7 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
41
  * Persian
42
  * France
43
  * Chinese (Thanks Changmeng Hu)
 
44
 
45
  = Plugin Author =
46
  Website: <a href="http://about.alimir.ir" target="_blank">Ali Mirzaei</a><br />
@@ -57,8 +59,13 @@ Screenshots are available in <a href="http://preview.alimir.ir/wp-ulike-plugin"
57
 
58
  == Changelog ==
59
 
 
 
 
 
 
60
  = 1.2 =
61
- * Added: Most liked users widget.
62
  * Added: Chinese (ZH_CN) language. (Thanks to Changmeng Hu)
63
 
64
  = 1.1 =
5
  Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin
6
  Requires at least: 3.0
7
  Tested up to: 4.0
8
+ Stable tag: 1.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
26
  * Visitors do not have to register or log in to use the Like Button.
27
  * Compatible with WP version 3.0 & above.
28
  * Added automatically (no Code required).
29
+ * Simple user like box with avatar support.
30
  * Custom Like-Dislike Texts.
31
+ * Simple custom style with color picker settings.
32
+ * Widget to show 'Most Liked Posts' And 'Most Liked Users' avatars.
33
  * Simple configuration panel.
34
  * Support RTL & language file.
35
  * And so on...
42
  * Persian
43
  * France
44
  * Chinese (Thanks Changmeng Hu)
45
+ * Chinese Tradition (Thanks Arefly)
46
 
47
  = Plugin Author =
48
  Website: <a href="http://about.alimir.ir" target="_blank">Ali Mirzaei</a><br />
59
 
60
  == Changelog ==
61
 
62
+ = 1.3 =
63
+ * Added: Custom style with color picker setting. (for button and counter box)
64
+ * Added: Chinese Tradition (zh_TW) language. (Thanks to Arefly)
65
+ * Updated: Persian language.
66
+
67
  = 1.2 =
68
+ * Added: most liked users widget.
69
  * Added: Chinese (ZH_CN) language. (Thanks to Changmeng Hu)
70
 
71
  = 1.1 =
wp-ulike.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name:WP ULike
4
  Plugin URI: http://wordpress.org/plugins/wp-ulike
5
  Description: WP ULike plugin allows to integrate Like Button into your WordPress website to allow your visitors to like pages and posts. Its very simple to use and support a widget to display the most liked posts.
6
- Version: 1.2
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
  Text Domain: alimir
@@ -56,6 +56,7 @@ License: GPL2
56
  add_option('wp_ulike_text', __('Like','alimir'), '', 'yes');
57
  add_option('wp_ulike_btn_text', __('You Like This','alimir'), '', 'yes');
58
  add_option('wp_ulike_dislike_text', __('You Dislike This','alimir'), '', 'yes');
 
59
  }
60
 
61
  register_activation_hook(__FILE__, 'wp_ulike_options');
@@ -71,11 +72,13 @@ License: GPL2
71
  }
72
 
73
  delete_option('wp_ulike_onPage');
 
 
74
  delete_option('wp_ulike_textOrImage');
75
  delete_option('wp_ulike_text');
76
  delete_option('wp_ulike_btn_text');
77
- delete_option('wp_ulike_user_like_box');
78
- delete_option('wp_ulike_onlyRegistered');
79
  }
80
 
81
  register_uninstall_hook(__FILE__, 'wp_ulike_unset_options');
@@ -137,6 +140,7 @@ License: GPL2
137
  $wp_ulike .= '<div class="counter">'.$counter.'</div>';
138
  $wp_ulike .= '</div>';
139
 
 
140
  $user_data = get_user_data($post_ID,$user_ID);
141
  if(get_option('wp_ulike_user_like_box') == '1' && $user_data != '')
142
  $wp_ulike .= '<br /><p style="margin-top:5px">'.__('Users who have LIKED this post:','alimir').'</p><ul id="tiles">' . $user_data . '</ul>';
3
  Plugin Name:WP ULike
4
  Plugin URI: http://wordpress.org/plugins/wp-ulike
5
  Description: WP ULike plugin allows to integrate Like Button into your WordPress website to allow your visitors to like pages and posts. Its very simple to use and support a widget to display the most liked posts.
6
+ Version: 1.3
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
  Text Domain: alimir
56
  add_option('wp_ulike_text', __('Like','alimir'), '', 'yes');
57
  add_option('wp_ulike_btn_text', __('You Like This','alimir'), '', 'yes');
58
  add_option('wp_ulike_dislike_text', __('You Dislike This','alimir'), '', 'yes');
59
+ add_option('wp_ulike_style', '0', '', 'yes');
60
  }
61
 
62
  register_activation_hook(__FILE__, 'wp_ulike_options');
72
  }
73
 
74
  delete_option('wp_ulike_onPage');
75
+ delete_option('wp_ulike_onlyRegistered');
76
+ delete_option('wp_ulike_user_like_box');
77
  delete_option('wp_ulike_textOrImage');
78
  delete_option('wp_ulike_text');
79
  delete_option('wp_ulike_btn_text');
80
+ delete_option('wp_ulike_dislike_text');
81
+ delete_option('wp_ulike_style');
82
  }
83
 
84
  register_uninstall_hook(__FILE__, 'wp_ulike_unset_options');
140
  $wp_ulike .= '<div class="counter">'.$counter.'</div>';
141
  $wp_ulike .= '</div>';
142
 
143
+
144
  $user_data = get_user_data($post_ID,$user_ID);
145
  if(get_option('wp_ulike_user_like_box') == '1' && $user_data != '')
146
  $wp_ulike .= '<br /><p style="margin-top:5px">'.__('Users who have LIKED this post:','alimir').'</p><ul id="tiles">' . $user_data . '</ul>';