Version Description
- Added: Most liked users widget.
- Added: Chinese (ZH_CN) language. (Thanks to Changmeng Hu)
Download this release
Release Info
Developer | alimir |
Plugin | WP ULike |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- assets/css/wp-ulike-rtl.css +7 -4
- assets/css/wp-ulike.css +7 -4
- inc/wp-widget.php +94 -6
- lang/alimir-fa_IR.mo +0 -0
- lang/alimir-fa_IR.po +52 -15
- lang/alimir-fr_FR.mo +0 -0
- lang/alimir-fr_FR.po +36 -14
- lang/alimir-zh_CN.mo +0 -0
- lang/alimir-zh_CN.po +224 -0
- readme.txt +14 -9
- wp-ulike.php +1 -1
assets/css/wp-ulike-rtl.css
CHANGED
@@ -195,23 +195,26 @@ button.close {
|
|
195 |
opacity:1
|
196 |
}
|
197 |
|
198 |
-
#tiles {
|
199 |
list-style-type: none;
|
200 |
position: relative;
|
201 |
margin: 10px 0;
|
202 |
padding: 0;
|
203 |
}
|
204 |
-
#tiles li {
|
205 |
display:inline-table;
|
206 |
cursor: pointer;
|
207 |
}
|
|
|
|
|
|
|
208 |
|
209 |
-
#tiles li.inactive {
|
210 |
visibility: hidden;
|
211 |
opacity: 0;
|
212 |
}
|
213 |
|
214 |
-
#tiles li img {
|
215 |
display: block;
|
216 |
}
|
217 |
|
195 |
opacity:1
|
196 |
}
|
197 |
|
198 |
+
#tiles,.mostlikedusers {
|
199 |
list-style-type: none;
|
200 |
position: relative;
|
201 |
margin: 10px 0;
|
202 |
padding: 0;
|
203 |
}
|
204 |
+
#tiles li,.mostlikedusers li{
|
205 |
display:inline-table;
|
206 |
cursor: pointer;
|
207 |
}
|
208 |
+
.mostlikedusers li{
|
209 |
+
margin:0 2px;
|
210 |
+
}
|
211 |
|
212 |
+
#tiles li.inactive,.mostlikedusers li.inactive {
|
213 |
visibility: hidden;
|
214 |
opacity: 0;
|
215 |
}
|
216 |
|
217 |
+
#tiles li img ,.mostlikedusers li img {
|
218 |
display: block;
|
219 |
}
|
220 |
|
assets/css/wp-ulike.css
CHANGED
@@ -196,23 +196,26 @@ button.close {
|
|
196 |
opacity:1
|
197 |
}
|
198 |
|
199 |
-
#tiles {
|
200 |
list-style-type: none;
|
201 |
position: relative;
|
202 |
margin: 10px 0;
|
203 |
padding: 0;
|
204 |
}
|
205 |
-
#tiles li {
|
206 |
display:inline-table;
|
207 |
cursor: pointer;
|
208 |
}
|
|
|
|
|
|
|
209 |
|
210 |
-
#tiles li.inactive {
|
211 |
visibility: hidden;
|
212 |
opacity: 0;
|
213 |
}
|
214 |
|
215 |
-
#tiles li img {
|
216 |
display: block;
|
217 |
}
|
218 |
|
196 |
opacity:1
|
197 |
}
|
198 |
|
199 |
+
#tiles,.mostlikedusers {
|
200 |
list-style-type: none;
|
201 |
position: relative;
|
202 |
margin: 10px 0;
|
203 |
padding: 0;
|
204 |
}
|
205 |
+
#tiles li,.mostlikedusers li{
|
206 |
display:inline-table;
|
207 |
cursor: pointer;
|
208 |
}
|
209 |
+
.mostlikedusers li{
|
210 |
+
margin:0 2px;
|
211 |
+
}
|
212 |
|
213 |
+
#tiles li.inactive,.mostlikedusers li.inactive {
|
214 |
visibility: hidden;
|
215 |
opacity: 0;
|
216 |
}
|
217 |
|
218 |
+
#tiles li img ,.mostlikedusers li img {
|
219 |
display: block;
|
220 |
}
|
221 |
|
inc/wp-widget.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
<?php
|
2 |
// Creating the widget
|
3 |
-
class
|
4 |
|
5 |
function __construct() {
|
6 |
parent::__construct(
|
7 |
'wp_ulike',
|
8 |
-
__('WP Ulike
|
9 |
-
array( 'description' => __( 'This
|
10 |
);
|
11 |
}
|
12 |
|
@@ -48,7 +48,7 @@ class wp_ulike_widget extends WP_Widget {
|
|
48 |
|
49 |
public function form( $instance ) {
|
50 |
//Set up some default widget settings.
|
51 |
-
$defaults = array( 'title' => __('Most
|
52 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
53 |
?>
|
54 |
<p>
|
@@ -63,7 +63,7 @@ class wp_ulike_widget extends WP_Widget {
|
|
63 |
|
64 |
<p>
|
65 |
<input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" <?php if($instance['show_count'] == true) echo 'checked="checked"'; ?> />
|
66 |
-
<label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('
|
67 |
</p>
|
68 |
<?php
|
69 |
}
|
@@ -79,8 +79,96 @@ class wp_ulike_widget extends WP_Widget {
|
|
79 |
}
|
80 |
}
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
function wp_ulike_load_widget() {
|
83 |
-
register_widget( '
|
|
|
84 |
}
|
85 |
add_action( 'widgets_init', 'wp_ulike_load_widget' );
|
86 |
?>
|
1 |
<?php
|
2 |
// Creating the widget
|
3 |
+
class wp_ulike_posts_widget extends WP_Widget {
|
4 |
|
5 |
function __construct() {
|
6 |
parent::__construct(
|
7 |
'wp_ulike',
|
8 |
+
__('WP Ulike - Most Liked Posts', 'alimir'),
|
9 |
+
array( 'description' => __( 'This widget allows you to show most liked posts.', 'alimir' ))
|
10 |
);
|
11 |
}
|
12 |
|
48 |
|
49 |
public function form( $instance ) {
|
50 |
//Set up some default widget settings.
|
51 |
+
$defaults = array( 'title' => __('Most Liked Posts', 'alimir'), 'count' => 15, 'show_count' => true );
|
52 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
53 |
?>
|
54 |
<p>
|
63 |
|
64 |
<p>
|
65 |
<input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" <?php if($instance['show_count'] == true) echo 'checked="checked"'; ?> />
|
66 |
+
<label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate post like count', 'alimir'); ?></label>
|
67 |
</p>
|
68 |
<?php
|
69 |
}
|
79 |
}
|
80 |
}
|
81 |
|
82 |
+
class wp_ulike_users_widget extends WP_Widget {
|
83 |
+
|
84 |
+
function __construct() {
|
85 |
+
parent::__construct(
|
86 |
+
'wp_ulike_users',
|
87 |
+
__('WP Ulike - Most Liked Users', 'alimir'),
|
88 |
+
array( 'description' => __( 'This widget allows you to show most liked users avatars.', 'alimir' ))
|
89 |
+
);
|
90 |
+
}
|
91 |
+
|
92 |
+
public function most_liked_users($numberOf, $before, $after, $show_count, $sizeOf) {
|
93 |
+
global $wpdb;
|
94 |
+
|
95 |
+
$request = "SELECT user_id, count(user_id) AS CountUser
|
96 |
+
FROM ".$wpdb->prefix."ulike
|
97 |
+
GROUP BY user_id
|
98 |
+
ORDER BY CountUser DESC LIMIT $numberOf
|
99 |
+
";
|
100 |
+
$likes = $wpdb->get_results($request);
|
101 |
+
|
102 |
+
foreach ($likes as $like) {
|
103 |
+
$get_user_id = stripslashes($like->user_id);
|
104 |
+
$get_user_info = get_userdata($get_user_id);
|
105 |
+
$get_likes_count = $like->CountUser;
|
106 |
+
$echo_likes_count = $show_count == '1' ? ' ('.$get_likes_count . ' ' . __('Like','alimir').')' : '';
|
107 |
+
|
108 |
+
echo $before . '<a class="user-tooltip" title="'.$get_user_info->display_name . $echo_likes_count.'">'.get_avatar( $get_user_info->user_email, $sizeOf, '' , 'avatar').'</a>';
|
109 |
+
echo $after;
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
public function widget( $args, $instance ) {
|
114 |
+
$title = apply_filters('widget_title', $instance['title'] );
|
115 |
+
$numberOf = $instance['count'];
|
116 |
+
$sizeOf = $instance['size'];
|
117 |
+
$show_count = (isset($instance['show_count']) == true ) ? 1 : 0;
|
118 |
+
|
119 |
+
echo $args['before_widget'];
|
120 |
+
if ( ! empty( $title ) )
|
121 |
+
echo $args['before_title'] . $title . $args['after_title'];
|
122 |
+
echo '<ul class="mostlikedusers">';
|
123 |
+
echo $this->most_liked_users($numberOf, '<li>', '</li>', $show_count, $sizeOf);
|
124 |
+
echo '</ul>';
|
125 |
+
echo $args['after_widget'];
|
126 |
+
}
|
127 |
+
|
128 |
+
|
129 |
+
|
130 |
+
public function form( $instance ) {
|
131 |
+
//Set up some default widget settings.
|
132 |
+
$defaults = array( 'title' => __('Most Liked Users', 'alimir'), 'count' => 15, 'size' => 32, 'show_count' => true );
|
133 |
+
$instance = wp_parse_args( (array) $instance, $defaults );
|
134 |
+
?>
|
135 |
+
<p>
|
136 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'alimir'); ?></label>
|
137 |
+
<input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />
|
138 |
+
</p>
|
139 |
+
|
140 |
+
<p>
|
141 |
+
<label for="<?php echo $this->get_field_id( 'count' ); ?>"><?php _e('Number of users to show:', 'alimir'); ?><small> (max. 15)</small></label>
|
142 |
+
<input id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" value="<?php echo $instance['count']; ?>" style="width:100%;" />
|
143 |
+
</p>
|
144 |
+
|
145 |
+
<p>
|
146 |
+
<label for="<?php echo $this->get_field_id( 'size' ); ?>"><?php _e('User avatar size:', 'alimir'); ?><small> (min. 32)</small></label>
|
147 |
+
<input id="<?php echo $this->get_field_id( 'size' ); ?>" name="<?php echo $this->get_field_name( 'size' ); ?>" value="<?php echo $instance['size']; ?>" style="width:100%;" />
|
148 |
+
</p>
|
149 |
+
|
150 |
+
<p>
|
151 |
+
<input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" <?php if($instance['show_count'] == true) echo 'checked="checked"'; ?> />
|
152 |
+
<label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate user like count', 'alimir'); ?></label>
|
153 |
+
</p>
|
154 |
+
<?php
|
155 |
+
}
|
156 |
+
|
157 |
+
public function update( $new_instance, $old_instance ) {
|
158 |
+
$instance = $old_instance;
|
159 |
+
|
160 |
+
$instance['title'] = strip_tags( $new_instance['title'] );
|
161 |
+
$instance['count'] = strip_tags( $new_instance['count'] );
|
162 |
+
$instance['size'] = strip_tags( $new_instance['size'] );
|
163 |
+
$instance['show_count'] = $new_instance['show_count'];
|
164 |
+
|
165 |
+
return $instance;
|
166 |
+
}
|
167 |
+
}
|
168 |
+
|
169 |
function wp_ulike_load_widget() {
|
170 |
+
register_widget( 'wp_ulike_posts_widget' );
|
171 |
+
register_widget( 'wp_ulike_users_widget' );
|
172 |
}
|
173 |
add_action( 'widgets_init', 'wp_ulike_load_widget' );
|
174 |
?>
|
lang/alimir-fa_IR.mo
CHANGED
Binary file
|
lang/alimir-fa_IR.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: I-Like-This\n"
|
4 |
-
"POT-Creation-Date: 2014-09-
|
5 |
-
"PO-Revision-Date: 2014-09-
|
6 |
"Last-Translator: Alimir <info@alimir.ir>\n"
|
7 |
"Language-Team: alimir.ir <info@alimir.ir>\n"
|
8 |
"Language: Persian\n"
|
@@ -30,7 +30,7 @@ msgstr ""
|
|
30 |
"در وبلاگ یا وبسایت شماست :) - این پلاگین توسط علی میرزائی و در دنیای وردپرس "
|
31 |
"و برنامه نویسی توسعه داده شده."
|
32 |
|
33 |
-
#: ../wp-ulike.php:56
|
34 |
msgid "Like"
|
35 |
msgstr "لایک"
|
36 |
|
@@ -60,7 +60,7 @@ msgstr "برای ورود کلیک کنید"
|
|
60 |
|
61 |
#: ../inc/wp-options.php:4
|
62 |
msgid "WP Ulike"
|
63 |
-
msgstr "تنظیمات یولایک"
|
64 |
|
65 |
#: ../inc/wp-options.php:24
|
66 |
msgid "Configuration"
|
@@ -154,20 +154,20 @@ msgstr ""
|
|
154 |
"نویسی</a>."
|
155 |
|
156 |
#: ../inc/wp-widget.php:8
|
157 |
-
msgid "WP Ulike
|
158 |
-
msgstr "
|
159 |
|
160 |
#: ../inc/wp-widget.php:9
|
161 |
-
msgid ""
|
162 |
-
|
163 |
-
"
|
164 |
-
|
165 |
|
166 |
#: ../inc/wp-widget.php:51
|
167 |
-
msgid "Most
|
168 |
-
msgstr "
|
169 |
|
170 |
-
#: ../inc/wp-widget.php:55
|
171 |
msgid "Title:"
|
172 |
msgstr "عنوان:"
|
173 |
|
@@ -176,8 +176,45 @@ msgid "Number of posts to show:"
|
|
176 |
msgstr "تعداد مطالب قابل نمایش:"
|
177 |
|
178 |
#: ../inc/wp-widget.php:66
|
179 |
-
msgid "
|
180 |
-
msgstr "نمایش
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
#~ msgid "Save Options"
|
183 |
#~ msgstr "ذخیره تغییرات"
|
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"
|
30 |
"در وبلاگ یا وبسایت شماست :) - این پلاگین توسط علی میرزائی و در دنیای وردپرس "
|
31 |
"و برنامه نویسی توسعه داده شده."
|
32 |
|
33 |
+
#: ../wp-ulike.php:56 ../inc/wp-widget.php:106
|
34 |
msgid "Like"
|
35 |
msgstr "لایک"
|
36 |
|
60 |
|
61 |
#: ../inc/wp-options.php:4
|
62 |
msgid "WP Ulike"
|
63 |
+
msgstr "تنظیمات افزونه یولایک"
|
64 |
|
65 |
#: ../inc/wp-options.php:24
|
66 |
msgid "Configuration"
|
154 |
"نویسی</a>."
|
155 |
|
156 |
#: ../inc/wp-widget.php:8
|
157 |
+
msgid "WP Ulike - Most Liked Posts"
|
158 |
+
msgstr "وردپرس یولایک - نمایش پرلایک ترین مطالب"
|
159 |
|
160 |
#: ../inc/wp-widget.php:9
|
161 |
+
msgid "This widget allows you to show most liked posts."
|
162 |
+
msgstr ""
|
163 |
+
"با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین مطالب سایتتون رو به "
|
164 |
+
"همراه تعداد لایک هر نوشته، نمایش بدید."
|
165 |
|
166 |
#: ../inc/wp-widget.php:51
|
167 |
+
msgid "Most Liked Posts"
|
168 |
+
msgstr "پرلایک ترین مطالب"
|
169 |
|
170 |
+
#: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
|
171 |
msgid "Title:"
|
172 |
msgstr "عنوان:"
|
173 |
|
176 |
msgstr "تعداد مطالب قابل نمایش:"
|
177 |
|
178 |
#: ../inc/wp-widget.php:66
|
179 |
+
msgid "Activate post like count"
|
180 |
+
msgstr "تعداد لایک های هر نوشته رو نمایش بد:"
|
181 |
+
|
182 |
+
#: ../inc/wp-widget.php:87
|
183 |
+
msgid "WP Ulike - Most Liked Users"
|
184 |
+
msgstr "وردپرس یولایک - نمایش پرلایک ترین کاربران"
|
185 |
+
|
186 |
+
#: ../inc/wp-widget.php:88
|
187 |
+
msgid "This widget allows you to show most liked users avatars."
|
188 |
+
msgstr ""
|
189 |
+
"با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین کاربران سایتتون رو به "
|
190 |
+
"همراه تصویر آواتار و تعداد لایکشون، نمایش بدید."
|
191 |
+
|
192 |
+
#: ../inc/wp-widget.php:132
|
193 |
+
msgid "Most Liked Users"
|
194 |
+
msgstr "پرلایک ترین کاربران"
|
195 |
+
|
196 |
+
#: ../inc/wp-widget.php:141
|
197 |
+
msgid "Number of users to show:"
|
198 |
+
msgstr "تعداد کاربران قابل نمایش:"
|
199 |
+
|
200 |
+
#: ../inc/wp-widget.php:146
|
201 |
+
msgid "User avatar size:"
|
202 |
+
msgstr "سایز آواتار کاربران:"
|
203 |
+
|
204 |
+
#: ../inc/wp-widget.php:152
|
205 |
+
msgid "Activate user like count"
|
206 |
+
msgstr "تعداد لایک های هر کاربر رو نمایش بده"
|
207 |
+
|
208 |
+
#~ msgid "Show post count"
|
209 |
+
#~ msgstr "نمایش شمارشگر"
|
210 |
+
|
211 |
+
#~ msgid "WP Ulike Widget"
|
212 |
+
#~ msgstr "ابزارک یولایک"
|
213 |
+
|
214 |
+
#~ msgid ""
|
215 |
+
#~ "This plugin allows your visitors to simply like your posts instead of "
|
216 |
+
#~ "comment it."
|
217 |
+
#~ msgstr "یک پلاگین ساده و سبک برای راه اندازی سیستم لایک در وبلاگ شما"
|
218 |
|
219 |
#~ msgid "Save Options"
|
220 |
#~ msgstr "ذخیره تغییرات"
|
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-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Alimir <info@alimir.ir>\n"
|
8 |
"Language-Team: \n"
|
@@ -27,31 +27,31 @@ msgid ""
|
|
27 |
"support a widget to display the most liked posts."
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: ../wp-ulike.php:
|
31 |
msgid "Like"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: ../wp-ulike.php:
|
35 |
msgid "You Like This"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: ../wp-ulike.php:
|
39 |
msgid "You Dislike This"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: ../wp-ulike.php:
|
43 |
msgid "Already Voted"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../wp-ulike.php:
|
47 |
msgid "Users who have LIKED this post:"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: ../wp-ulike.php:
|
51 |
msgid "You need to login in order to like this post: "
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: ../wp-ulike.php:
|
55 |
msgid "click here"
|
56 |
msgstr ""
|
57 |
|
@@ -142,20 +142,18 @@ msgid ""
|
|
142 |
msgstr ""
|
143 |
|
144 |
#: ../inc/wp-widget.php:8
|
145 |
-
msgid "WP Ulike
|
146 |
msgstr ""
|
147 |
|
148 |
#: ../inc/wp-widget.php:9
|
149 |
-
msgid ""
|
150 |
-
"This plugin allows your visitors to simply like your posts instead of "
|
151 |
-
"comment it."
|
152 |
msgstr ""
|
153 |
|
154 |
#: ../inc/wp-widget.php:51
|
155 |
-
msgid "Most
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: ../inc/wp-widget.php:55
|
159 |
msgid "Title:"
|
160 |
msgstr "Titre:"
|
161 |
|
@@ -167,6 +165,30 @@ msgstr "Nombre d'articles à afficher:"
|
|
167 |
msgid "Show post count"
|
168 |
msgstr "Afficher le nombre d'articles"
|
169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
#~ msgid "Save Options"
|
171 |
#~ msgstr "Enregistrer les options"
|
172 |
|
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"
|
27 |
"support a widget to display the most liked posts."
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: ../wp-ulike.php:56 ../inc/wp-widget.php:106
|
31 |
msgid "Like"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: ../wp-ulike.php:57
|
35 |
msgid "You Like This"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../wp-ulike.php:58
|
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 |
|
142 |
msgstr ""
|
143 |
|
144 |
#: ../inc/wp-widget.php:8
|
145 |
+
msgid "WP Ulike - Most Liked Posts"
|
146 |
msgstr ""
|
147 |
|
148 |
#: ../inc/wp-widget.php:9
|
149 |
+
msgid "This widget allows you to show most liked posts."
|
|
|
|
|
150 |
msgstr ""
|
151 |
|
152 |
#: ../inc/wp-widget.php:51
|
153 |
+
msgid "Most Liked Posts"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
|
157 |
msgid "Title:"
|
158 |
msgstr "Titre:"
|
159 |
|
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"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: ../inc/wp-widget.php:88
|
173 |
+
msgid "This widget allows you to show most liked users avatars."
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: ../inc/wp-widget.php:132
|
177 |
+
msgid "Most Liked Users"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: ../inc/wp-widget.php:141
|
181 |
+
msgid "Number of users to show:"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: ../inc/wp-widget.php:146
|
185 |
+
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 |
|
lang/alimir-zh_CN.mo
ADDED
Binary file
|
lang/alimir-zh_CN.po
ADDED
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
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"
|
9 |
+
"Language: zh_CN\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 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
"X-Poedit-SearchPath-1: ..\n"
|
19 |
+
|
20 |
+
#: ../wp-ulike.php:16
|
21 |
+
msgid "WP ULike"
|
22 |
+
msgstr "WP ULike"
|
23 |
+
|
24 |
+
#: ../wp-ulike.php:17
|
25 |
+
msgid ""
|
26 |
+
"WP ULike plugin allows to integrate Like Button into your WordPress website "
|
27 |
+
"to allow your visitors to like pages and posts. Its very simple to use and "
|
28 |
+
"support a widget to display the most liked posts."
|
29 |
+
msgstr ""
|
30 |
+
"WP ULike 插件允许集成喜欢按钮到你的WordPress站点,让你的访客可以喜欢页面和文"
|
31 |
+
"章。它非常简单易用,还支持通过小工具显示最多人喜欢的文章。"
|
32 |
+
|
33 |
+
#: ../wp-ulike.php:56 ../inc/wp-widget.php:106
|
34 |
+
msgid "Like"
|
35 |
+
msgstr "喜欢"
|
36 |
+
|
37 |
+
#: ../wp-ulike.php:57
|
38 |
+
msgid "You Like This"
|
39 |
+
msgstr "你喜欢这个"
|
40 |
+
|
41 |
+
#: ../wp-ulike.php:58
|
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 |
+
|
61 |
+
#: ../inc/wp-options.php:4
|
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>"
|
131 |
+
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>"
|
144 |
+
msgstr ""
|
145 |
+
"插件作者博客:<a href=\"http://alimir.ir\"> Wordpress & Programming World</"
|
146 |
+
"a><br /> 感谢 <a href=\"http://www.wpdaxue.com\" target=\"_blank\">WordPress"
|
147 |
+
"大学</a> 提供简体中文支持"
|
148 |
+
|
149 |
+
#: ../inc/wp-widget.php:8
|
150 |
+
msgid "WP Ulike - Most Liked Posts"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: ../inc/wp-widget.php:9
|
154 |
+
msgid "This widget allows you to show most liked posts."
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: ../inc/wp-widget.php:51
|
158 |
+
msgid "Most Liked Posts"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
|
162 |
+
msgid "Title:"
|
163 |
+
msgstr "标题:"
|
164 |
+
|
165 |
+
#: ../inc/wp-widget.php:60
|
166 |
+
msgid "Number of posts to show:"
|
167 |
+
msgstr "要显示的文章数量:"
|
168 |
+
|
169 |
+
#: ../inc/wp-widget.php:66
|
170 |
+
msgid "Activate post like count"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: ../inc/wp-widget.php:87
|
174 |
+
msgid "WP Ulike - Most Liked Users"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: ../inc/wp-widget.php:88
|
178 |
+
msgid "This widget allows you to show most liked users avatars."
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: ../inc/wp-widget.php:132
|
182 |
+
msgid "Most Liked Users"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: ../inc/wp-widget.php:141
|
186 |
+
msgid "Number of users to show:"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: ../inc/wp-widget.php:146
|
190 |
+
msgid "User avatar size:"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: ../inc/wp-widget.php:152
|
194 |
+
msgid "Activate user like count"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#~ msgid "WP Ulike Widget"
|
198 |
+
#~ msgstr "WP Ulike 小工具"
|
199 |
+
|
200 |
+
#~ msgid ""
|
201 |
+
#~ "This plugin allows your visitors to simply like your posts instead of "
|
202 |
+
#~ "comment it."
|
203 |
+
#~ msgstr "该插件允许你的访客简单地喜欢您的文章而不是评论它。"
|
204 |
+
|
205 |
+
#~ msgid "Show post count"
|
206 |
+
#~ msgstr "显示文章计数"
|
207 |
+
|
208 |
+
#~ msgid "Save Options"
|
209 |
+
#~ msgstr "Enregistrer les options"
|
210 |
+
|
211 |
+
#~ msgid "jQuery framework"
|
212 |
+
#~ msgstr "Librairie jQuery"
|
213 |
+
|
214 |
+
#~ msgid "Enabled"
|
215 |
+
#~ msgstr "Activé"
|
216 |
+
|
217 |
+
#~ msgid "Disabled"
|
218 |
+
#~ msgstr "Désactivé"
|
219 |
+
|
220 |
+
#~ msgid ""
|
221 |
+
#~ "Disable it if you already have the jQuery framework enabled in your theme."
|
222 |
+
#~ msgstr ""
|
223 |
+
#~ "Désactivez cette option si vous avez déjà la librairie jQuery activée "
|
224 |
+
#~ "dans votre thème."
|
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.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -28,7 +28,7 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
|
|
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.
|
32 |
* Simple configuration panel.
|
33 |
* Support RTL & language file.
|
34 |
* And so on...
|
@@ -40,10 +40,11 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
|
|
40 |
* English
|
41 |
* Persian
|
42 |
* France
|
|
|
43 |
|
44 |
= Plugin Author =
|
45 |
Website: <a href="http://about.alimir.ir" target="_blank">Ali Mirzaei</a><br />
|
46 |
-
Follow on <a href="https://www.facebook.com/alimir.ir" target="_blank">
|
47 |
|
48 |
== Installation ==
|
49 |
|
@@ -56,13 +57,17 @@ Screenshots are available in <a href="http://preview.alimir.ir/wp-ulike-plugin"
|
|
56 |
|
57 |
== Changelog ==
|
58 |
|
|
|
|
|
|
|
|
|
59 |
= 1.1 =
|
60 |
-
*
|
61 |
-
*
|
62 |
-
*
|
63 |
-
*
|
64 |
-
*
|
65 |
-
*
|
66 |
|
67 |
= 1.0 =
|
68 |
* The initial version
|
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 |
|
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...
|
40 |
* English
|
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 />
|
47 |
+
Follow on <a href="https://www.facebook.com/alimir.ir" target="_blank">Facebook</a>
|
48 |
|
49 |
== Installation ==
|
50 |
|
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 =
|
65 |
+
* Added: loading spinner.
|
66 |
+
* Added: new database table.
|
67 |
+
* Added: user dislike support.
|
68 |
+
* Added: Simple "user avatar box" at the bottom of every post.
|
69 |
+
* Fixes: plugin security and authentication.
|
70 |
+
* Updated: language files.
|
71 |
|
72 |
= 1.0 =
|
73 |
* The initial version
|
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.
|
7 |
Author: Ali Mirzaei
|
8 |
Author URI: http://about.alimir.ir
|
9 |
Text Domain: alimir
|
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
|