New User Approve - Version 1.7.2

Version Description

  • tested with WordPress 4.1
  • fix translation bug
  • add bubble to user menu for pending users
    • Courtesy of howdy_mcgee
    • https://wordpress.org/support/topic/get-number-of-pending-users#post-5920371
Download this release

Release Info

Developer picklewagon
Plugin Icon 128x128 New User Approve
Version 1.7.2
Comparing to
See all releases

Code changes from version 1.7.1 to 1.7.2

includes/user-list.php CHANGED
@@ -32,6 +32,7 @@ class pw_new_user_approve_user_list {
32
  add_action( 'show_user_profile', array( $this, 'profile_status_field' ) );
33
  add_action( 'edit_user_profile', array( $this, 'profile_status_field' ) );
34
  add_action( 'edit_user_profile_update', array( $this, 'save_profile_status_field' ) );
 
35
 
36
  // Filters
37
  add_filter( 'user_row_actions', array( $this, 'user_table_actions' ), 10, 2 );
@@ -138,7 +139,15 @@ class pw_new_user_approve_user_list {
138
  public function status_column( $val, $column_name, $user_id ) {
139
  switch ( $column_name ) {
140
  case 'pw_user_status' :
141
- return pw_new_user_approve()->get_user_status( $user_id );
 
 
 
 
 
 
 
 
142
  break;
143
 
144
  default:
@@ -392,6 +401,51 @@ class pw_new_user_approve_user_list {
392
  pw_new_user_approve()->update_user_status( $user_id, $new_status );
393
  }
394
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  }
396
 
397
  function pw_new_user_approve_user_list() {
32
  add_action( 'show_user_profile', array( $this, 'profile_status_field' ) );
33
  add_action( 'edit_user_profile', array( $this, 'profile_status_field' ) );
34
  add_action( 'edit_user_profile_update', array( $this, 'save_profile_status_field' ) );
35
+ add_action( 'admin_menu', array( $this, 'pending_users_bubble' ), 999 );
36
 
37
  // Filters
38
  add_filter( 'user_row_actions', array( $this, 'user_table_actions' ), 10, 2 );
139
  public function status_column( $val, $column_name, $user_id ) {
140
  switch ( $column_name ) {
141
  case 'pw_user_status' :
142
+ $status = pw_new_user_approve()->get_user_status( $user_id );
143
+ if ( $status == 'approved' ) {
144
+ $status_i18n = __( 'approved', 'new-user-approve' );
145
+ } else if ( $status == 'denied' ) {
146
+ $status_i18n = __( 'denied', 'new-user-approve' );
147
+ } else if ( $status == 'pending' ) {
148
+ $status_i18n = __( 'pending', 'new-user-approve' );
149
+ }
150
+ return $status_i18n;
151
  break;
152
 
153
  default:
401
  pw_new_user_approve()->update_user_status( $user_id, $new_status );
402
  }
403
  }
404
+
405
+ /**
406
+ * Add bubble for number of users pending to the user menu
407
+ *
408
+ * @uses admin_menu
409
+ */
410
+ public function pending_users_bubble() {
411
+ global $menu;
412
+
413
+ $users = pw_new_user_approve()->get_user_statuses();
414
+
415
+ // Count Number of Pending Members
416
+ $pending_users = count( $users['pending'] );
417
+
418
+ // Make sure there are pending members
419
+ if ( $pending_users > 0 ) {
420
+ // Locate the key of
421
+ $key = $this->recursive_array_search( 'users.php', $menu );
422
+
423
+ // Not found, just in case
424
+ if ( ! $key ) {
425
+ return;
426
+ }
427
+
428
+ // Modify menu item
429
+ $menu[$key][0] .= sprintf( '<span class="update-plugins count-%1$s" style="background-color:white;color:black;margin-left:5px;"><span class="plugin-count">%1$s</span></span>', $pending_users );
430
+ }
431
+ }
432
+
433
+ /**
434
+ * Recursively search the menu array to determine the key to place the bubble.
435
+ *
436
+ * @param $needle
437
+ * @param $haystack
438
+ * @return bool|int|string
439
+ */
440
+ public function recursive_array_search( $needle, $haystack ) {
441
+ foreach ( $haystack as $key => $value ) {
442
+ $current_key = $key;
443
+ if ( $needle === $value || ( is_array( $value ) && $this->recursive_array_search( $needle, $value ) !== false ) ) {
444
+ return $current_key;
445
+ }
446
+ }
447
+ return false;
448
+ }
449
  }
450
 
451
  function pw_new_user_approve_user_list() {
localization/new-user-approve-be_BY.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:04-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: FatCow <zhr@tut.by>\n"
14
  "Language: be_BY\n"
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: FatCow <zhr@tut.by>\n"
14
  "Language: be_BY\n"
localization/new-user-approve-ca_ES.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:04-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: JM-IPM <jmarine1962@hotmail.com>\n"
14
  "Language: ca_ES\n"
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: JM-IPM <jmarine1962@hotmail.com>\n"
14
  "Language: ca_ES\n"
localization/new-user-approve-cs_CZ.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
- "PO-Revision-Date: 2014-10-09 00:05-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
localization/new-user-approve-de_DE.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:06-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: FatCow <zhr@tut.by>\n"
14
  "Language: be_BY\n"
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: FatCow <zhr@tut.by>\n"
14
  "Language: be_BY\n"
localization/new-user-approve-es_ES.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:44-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:02-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:44-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
localization/new-user-approve-et.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:07-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: raitulja <rait@huusmann.eu>\n"
14
  "Language: et\n"
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: raitulja <rait@huusmann.eu>\n"
14
  "Language: et\n"
localization/new-user-approve-fa_IR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
- "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
- "PO-Revision-Date: 2014-10-09 00:08-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
@@ -108,25 +108,25 @@ msgstr "فعالیت ها"
108
  msgid "email:"
109
  msgstr "ایمیل:"
110
 
111
- #: ../includes/admin-approve.php:133 ../includes/user-list.php:97
112
- #: ../includes/user-list.php:223 ../includes/user-list.php:224
113
  msgid "Approve"
114
  msgstr "تأیید"
115
 
116
- #: ../includes/admin-approve.php:138 ../includes/user-list.php:98
117
- #: ../includes/user-list.php:226 ../includes/user-list.php:227
118
  msgid "Deny"
119
  msgstr "عدم تأیید"
120
 
121
- #: ../includes/admin-approve.php:154
122
  msgid "approved"
123
  msgstr "تأیید شده"
124
 
125
- #: ../includes/admin-approve.php:156
126
  msgid "denied"
127
  msgstr "رد شده"
128
 
129
- #: ../includes/admin-approve.php:158
130
  msgid "pending"
131
  msgstr "در انتظار تأیید"
132
 
@@ -265,48 +265,46 @@ msgstr ""
265
  "پس از نام نویسی، درخواست شما به میز مدیریت فرستاده خواهد شد. در صورت تأیید، "
266
  "شما را از طریق ایمیل با خبر خواهیم ساخت."
267
 
268
- #: ../includes/user-list.php:120
269
  msgid "Status"
270
  msgstr "وضعیت"
271
 
272
- #: ../includes/user-list.php:156
273
  msgid "Filter"
274
  msgstr "فیلتر"
275
 
276
- #: ../includes/user-list.php:161 ../includes/user-list.php:163
277
  msgid "View all users"
278
  msgstr "مشاهده تمام کاربران"
279
 
280
- #: ../includes/user-list.php:320
281
- #, fuzzy, php-format
282
- msgid "User denied."
283
- msgid_plural "%s users denied."
284
- msgstr[0] "رد شده"
285
- msgstr[1] "رد شده"
286
-
287
- #: ../includes/user-list.php:325
288
- #, fuzzy, php-format
289
- msgid "User approved."
290
- msgid_plural "%s users approved."
291
- msgstr[0] "تأیید شده"
292
- msgstr[1] "تأیید شده"
293
-
294
- #: ../includes/user-list.php:349
295
  msgid "Access Status"
296
  msgstr "وضعیت دسترسی"
297
 
298
- #: ../includes/user-list.php:354
299
  msgid "-- Status --"
300
  msgstr "-- وضعیت --"
301
 
302
- #: ../includes/user-list.php:362
303
  msgid "If user has access to sign in or not."
304
  msgstr "وضعیت کاربر جهت ورود و خروج"
305
 
306
- #: ../includes/user-list.php:365
307
  msgid "Current user status is <strong>pending</strong>."
308
  msgstr "وضعیت تأیید کاربر، هنوز <strong>معلق</strong> است."
309
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  #~ msgid "Settings"
311
  #~ msgstr "تنظیمات"
312
 
2
  msgstr ""
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
+ "POT-Creation-Date: 2014-12-31 00:55-0700\n"
6
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
108
  msgid "email:"
109
  msgstr "ایمیل:"
110
 
111
+ #: ../includes/admin-approve.php:133 ../includes/user-list.php:98
112
+ #: ../includes/user-list.php:232 ../includes/user-list.php:233
113
  msgid "Approve"
114
  msgstr "تأیید"
115
 
116
+ #: ../includes/admin-approve.php:138 ../includes/user-list.php:99
117
+ #: ../includes/user-list.php:235 ../includes/user-list.php:236
118
  msgid "Deny"
119
  msgstr "عدم تأیید"
120
 
121
+ #: ../includes/admin-approve.php:154 ../includes/user-list.php:144
122
  msgid "approved"
123
  msgstr "تأیید شده"
124
 
125
+ #: ../includes/admin-approve.php:156 ../includes/user-list.php:146
126
  msgid "denied"
127
  msgstr "رد شده"
128
 
129
+ #: ../includes/admin-approve.php:158 ../includes/user-list.php:148
130
  msgid "pending"
131
  msgstr "در انتظار تأیید"
132
 
265
  "پس از نام نویسی، درخواست شما به میز مدیریت فرستاده خواهد شد. در صورت تأیید، "
266
  "شما را از طریق ایمیل با خبر خواهیم ساخت."
267
 
268
+ #: ../includes/user-list.php:121
269
  msgid "Status"
270
  msgstr "وضعیت"
271
 
272
+ #: ../includes/user-list.php:165
273
  msgid "Filter"
274
  msgstr "فیلتر"
275
 
276
+ #: ../includes/user-list.php:170 ../includes/user-list.php:172
277
  msgid "View all users"
278
  msgstr "مشاهده تمام کاربران"
279
 
280
+ #: ../includes/user-list.php:358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  msgid "Access Status"
282
  msgstr "وضعیت دسترسی"
283
 
284
+ #: ../includes/user-list.php:363
285
  msgid "-- Status --"
286
  msgstr "-- وضعیت --"
287
 
288
+ #: ../includes/user-list.php:371
289
  msgid "If user has access to sign in or not."
290
  msgstr "وضعیت کاربر جهت ورود و خروج"
291
 
292
+ #: ../includes/user-list.php:374
293
  msgid "Current user status is <strong>pending</strong>."
294
  msgstr "وضعیت تأیید کاربر، هنوز <strong>معلق</strong> است."
295
 
296
+ #, fuzzy
297
+ #~ msgid "User denied."
298
+ #~ msgid_plural "%s users denied."
299
+ #~ msgstr[0] "رد شده"
300
+ #~ msgstr[1] "رد شده"
301
+
302
+ #, fuzzy
303
+ #~ msgid "User approved."
304
+ #~ msgid_plural "%s users approved."
305
+ #~ msgstr[0] "تأیید شده"
306
+ #~ msgstr[1] "تأیید شده"
307
+
308
  #~ msgid "Settings"
309
  #~ msgstr "تنظیمات"
310
 
localization/new-user-approve-fi.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:08-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: NUA\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
localization/new-user-approve-fr_FR.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
- "PO-Revision-Date: 2014-10-09 00:09-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
localization/new-user-approve-he_IL.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:09-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
localization/new-user-approve-hr_HR.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: New User Approve 1.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:10-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: Danijel Džombić <dzdanijel@gmail.com>\n"
14
  "Language: Hrvatski\n"
8
  "Project-Id-Version: New User Approve 1.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: Danijel Džombić <dzdanijel@gmail.com>\n"
14
  "Language: Hrvatski\n"
localization/new-user-approve-hu_HU.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: new-user-approve-1.2.7\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:10-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: gabesz\n"
14
  "Language: hu_HU\n"
8
  "Project-Id-Version: new-user-approve-1.2.7\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: gabesz\n"
14
  "Language: hu_HU\n"
localization/new-user-approve-it_IT.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
- "PO-Revision-Date: 2014-10-09 00:10-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
3
  "Project-Id-Version: New User Approve 1.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: Philippe Scoffoni <philippe@scoffoni.net>\n"
9
  "Language: fr\n"
localization/new-user-approve-lt_LT.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: New User Approve\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:10-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: Xawiers <xawiers@gmail.com>\n"
14
  "Language: lt_LT\n"
8
  "Project-Id-Version: New User Approve\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: Xawiers <xawiers@gmail.com>\n"
14
  "Language: lt_LT\n"
localization/new-user-approve-nl_NL.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: new user approve v1.2.6\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:11-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: \n"
14
  "Language: nl_NL\n"
8
  "Project-Id-Version: new user approve v1.2.6\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: \n"
14
  "Language: nl_NL\n"
localization/new-user-approve-pl_PL.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
- "PO-Revision-Date: 2014-10-09 00:11-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: Piotr Kubala <pik256@gmail.com>\n"
14
  "Language: pl_PL\n"
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
11
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
12
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
13
  "Language-Team: Piotr Kubala <pik256@gmail.com>\n"
14
  "Language: pl_PL\n"
localization/new-user-approve-ro_RO.po CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
9
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
10
- "PO-Revision-Date: 2014-10-09 00:12-0700\n"
11
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
12
  "Language-Team: Web Geeks\n"
13
  "Language: ro_RO\n"
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
9
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
10
+ "PO-Revision-Date: 2014-12-31 00:55-0700\n"
11
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
12
  "Language-Team: Web Geeks\n"
13
  "Language: ro_RO\n"
localization/new-user-approve-ru_RU.mo DELETED
Binary file
localization/new-user-approve-ru_RU.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: New User Approve v1.3.4\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
- "POT-Creation-Date: 2014-10-08 23:50-0700\n"
6
- "PO-Revision-Date: 2014-10-09 00:12-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: \n"
9
  "Language: ru\n"
@@ -20,12 +20,12 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  # @ new-user-approve
23
- #: ../new-user-approve.php:98
24
  #, php-format
25
  msgid "New User Approve requires WordPress %s or newer."
26
  msgstr "Плагин New User Approve требует WordPress версии %s или более позднюю"
27
 
28
- #: ../new-user-approve.php:145
29
  #, php-format
30
  msgid ""
31
  "The Membership setting must be turned on in order for the New User Approve "
@@ -34,28 +34,28 @@ msgid ""
34
  msgstr ""
35
 
36
  # @ default
37
- #: ../new-user-approve.php:257
38
  msgid "<strong>ERROR</strong>: Your account is still pending approval."
39
  msgstr ""
40
 
41
  # @ default
42
- #: ../new-user-approve.php:260
43
  msgid ""
44
  "<strong>ERROR</strong>: Your account has been denied access to this site."
45
  msgstr ""
46
 
47
  # @ new-user-approve
48
- #: ../new-user-approve.php:362
49
  msgid "Users"
50
  msgstr "Пользователи"
51
 
52
  # @ new-user-approve
53
- #: ../new-user-approve.php:392
54
  #, php-format
55
  msgid "[%s] User Approval"
56
  msgstr "[%s] Пользователей одобрено"
57
 
58
- #: ../new-user-approve.php:454
59
  #, php-format
60
  msgid ""
61
  "<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a "
@@ -63,101 +63,101 @@ msgid ""
63
  msgstr ""
64
 
65
  # @ new-user-approve
66
- #: ../new-user-approve.php:520
67
  #, php-format
68
  msgid "[%s] Registration Approved"
69
  msgstr "[%s] Регистрация одобрена"
70
 
71
  # @ new-user-approve
72
- #: ../new-user-approve.php:550
73
  #, php-format
74
  msgid "[%s] Registration Denied"
75
  msgstr "[%s] Регистраций отклонено"
76
 
77
  # @ new-user-approve
78
- #: ../new-user-approve.php:614
79
  msgid "Registration successful."
80
  msgstr "Регистрация прошла успешно."
81
 
82
  # @ new-user-approve
83
- #: ../new-user-approve.php:617
84
  msgid "Pending Approval"
85
  msgstr "Ожидает одобрения"
86
 
87
  # @ new-user-approve
88
- #: ../admin/templates/approve.php:6
89
  msgid "User successfully updated."
90
  msgstr "Пользователь успешно обновлен."
91
 
92
  # @ new-user-approve
93
- #: ../admin/templates/approve.php:11
94
  msgid "User Registration Approval"
95
  msgstr "Одобрение регистрации пользователя"
96
 
97
  # @ new-user-approve
98
- #: ../includes/admin-approve.php:50
99
  msgid "Approve New Users"
100
  msgstr "Одобрить нового пользователя"
101
 
102
  # @ new-user-approve
103
- #: ../includes/admin-approve.php:82
104
  msgid "Username"
105
  msgstr "Имя пользователя"
106
 
107
  # @ new-user-approve
108
- #: ../includes/admin-approve.php:83
109
  msgid "Name"
110
  msgstr "Имя"
111
 
112
  # @ new-user-approve
113
- #: ../includes/admin-approve.php:84
114
  msgid "E-mail"
115
  msgstr "E-mail"
116
 
117
  # @ new-user-approve
118
- #: ../includes/admin-approve.php:86 ../includes/admin-approve.php:88
119
  msgid "Actions"
120
  msgstr "Действия"
121
 
122
  # @ new-user-approve
123
- #: ../includes/admin-approve.php:129
124
  msgid "email:"
125
  msgstr "email:"
126
 
127
  # @ new-user-approve
128
- #: ../includes/admin-approve.php:133 ../includes/user-list.php:97
129
- #: ../includes/user-list.php:223 ../includes/user-list.php:224
130
  msgid "Approve"
131
  msgstr "Одобрить"
132
 
133
  # @ new-user-approve
134
- #: ../includes/admin-approve.php:138 ../includes/user-list.php:98
135
- #: ../includes/user-list.php:226 ../includes/user-list.php:227
136
  msgid "Deny"
137
  msgstr "Отклонить"
138
 
139
  # @ new-user-approve
140
- #: ../includes/admin-approve.php:154
141
  msgid "approved"
142
  msgstr "одобренный"
143
 
144
  # @ new-user-approve
145
- #: ../includes/admin-approve.php:156
146
  msgid "denied"
147
  msgstr "отклоненный"
148
 
149
  # @ new-user-approve
150
- #: ../includes/admin-approve.php:158
151
  msgid "pending"
152
  msgstr "ожидает"
153
 
154
  # @ new-user-approve
155
- #: ../includes/admin-approve.php:161
156
  #, php-format
157
  msgid "There are no users with a status of %s"
158
  msgstr "Нет пользователей со статусом %s"
159
 
160
- #: ../includes/admin-approve.php:197
161
  #, php-format
162
  msgid ""
163
  "You can now update user status on the <a href=\"%1$s\">users admin page</a>. "
@@ -165,92 +165,92 @@ msgid ""
165
  msgstr ""
166
 
167
  # @ new-user-approve
168
- #: ../includes/admin-approve.php:220
169
  #, fuzzy
170
  msgid "Approve Users"
171
  msgstr "Одобренные пользователи"
172
 
173
- #: ../includes/admin-approve.php:221
174
  msgid "Updates"
175
  msgstr ""
176
 
177
- #: ../includes/admin-approve.php:222
178
  msgid "Support"
179
  msgstr ""
180
 
181
- #: ../includes/admin-approve.php:223
182
  msgid "Feedback"
183
  msgstr ""
184
 
185
  # @ new-user-approve
186
- #: ../includes/admin-approve.php:231
187
  msgid "Users Pending Approval"
188
  msgstr "Пользователи, ожидающие одобрения"
189
 
190
  # @ new-user-approve
191
- #: ../includes/admin-approve.php:233
192
  msgid "Approved Users"
193
  msgstr "Одобренные пользователи"
194
 
195
  # @ new-user-approve
196
- #: ../includes/admin-approve.php:235
197
  msgid "Denied Users"
198
  msgstr "Отклоненные пользователи"
199
 
200
- #: ../includes/email-tags.php:235
201
  msgid "The user's username on the site as well as the Username label"
202
  msgstr ""
203
 
204
- #: ../includes/email-tags.php:241
205
  msgid "The user's email address"
206
  msgstr ""
207
 
208
- #: ../includes/email-tags.php:247
209
  msgid "Your site name"
210
  msgstr ""
211
 
212
- #: ../includes/email-tags.php:253
213
  msgid "Your site URL"
214
  msgstr ""
215
 
216
- #: ../includes/email-tags.php:259
217
  msgid "The URL to approve/deny users"
218
  msgstr ""
219
 
220
- #: ../includes/email-tags.php:265
221
  msgid "The URL to login to the site"
222
  msgstr ""
223
 
224
- #: ../includes/email-tags.php:271
225
  msgid "Generates the password for the user to add to the email"
226
  msgstr ""
227
 
228
  # @ new-user-approve
229
- #: ../includes/email-tags.php:299
230
  #, php-format
231
  msgid "Username: %s"
232
  msgstr "Имя пользователя: %s"
233
 
234
  # @ new-user-approve
235
- #: ../includes/email-tags.php:390
236
  #, php-format
237
  msgid "Password: %s"
238
  msgstr "Пароль: %s"
239
 
240
  # @ new-user-approve
241
- #: ../includes/messages.php:9
242
  #, fuzzy
243
  msgid "You have been approved to access {sitename}"
244
  msgstr "Вам разрешен доступ к %s"
245
 
246
  # @ new-user-approve
247
- #: ../includes/messages.php:25
248
  #, fuzzy
249
  msgid "You have been denied access to {sitename}."
250
  msgstr "Вам запрещен доступ к %s"
251
 
252
  # @ new-user-approve
253
- #: ../includes/messages.php:38
254
  msgid ""
255
  "An email has been sent to the site administrator. The administrator will "
256
  "review the information that has been submitted and either approve or deny "
@@ -258,7 +258,7 @@ msgid ""
258
  msgstr "Запрос на регистрацию отправлен администратору сайта."
259
 
260
  # @ new-user-approve
261
- #: ../includes/messages.php:40
262
  msgid ""
263
  "You will receive an email with instructions on what you will need to do "
264
  "next. Thanks for your patience."
@@ -267,7 +267,7 @@ msgstr ""
267
  "ваше терпение."
268
 
269
  # @ new-user-approve
270
- #: ../includes/messages.php:53
271
  #, fuzzy
272
  msgid ""
273
  "Welcome to {sitename}. This site is accessible to approved users only. To be "
@@ -277,19 +277,19 @@ msgstr ""
277
  "пользователей. Для начала зарегистрируйтесь."
278
 
279
  # @ new-user-approve
280
- #: ../includes/messages.php:66
281
  #, fuzzy
282
  msgid "{username} ({user_email}) has requested a username at {sitename}"
283
  msgstr "%1$s (%2$s) запросил имя пользователя в %3$s"
284
 
285
  # @ new-user-approve
286
- #: ../includes/messages.php:68
287
  #, fuzzy
288
  msgid "To approve or deny this user access to {sitename} go to"
289
  msgstr "Чтобы одобрить или отклонить доступ пользователя к %s перейдите в"
290
 
291
  # @ new-user-approve
292
- #: ../includes/messages.php:83
293
  msgid ""
294
  "After you register, your request will be sent to the site administrator for "
295
  "approval. You will then receive an email with further instructions."
@@ -298,20 +298,20 @@ msgstr ""
298
  "рассмотрение. После рассмотрения вы получите письмо с дальнейшими "
299
  "инструкциями."
300
 
301
- #: ../includes/user-list.php:120
302
  msgid "Status"
303
  msgstr ""
304
 
305
- #: ../includes/user-list.php:156
306
  msgid "Filter"
307
  msgstr ""
308
 
309
- #: ../includes/user-list.php:161 ../includes/user-list.php:163
310
  msgid "View all users"
311
  msgstr ""
312
 
313
  # @ new-user-approve
314
- #: ../includes/user-list.php:320
315
  #, fuzzy, php-format
316
  msgid "User denied."
317
  msgid_plural "%s users denied."
@@ -319,25 +319,25 @@ msgstr[0] "отклоненный"
319
  msgstr[1] "отклоненный"
320
 
321
  # @ new-user-approve
322
- #: ../includes/user-list.php:325
323
  #, fuzzy, php-format
324
  msgid "User approved."
325
  msgid_plural "%s users approved."
326
  msgstr[0] "одобренный"
327
  msgstr[1] "одобренный"
328
 
329
- #: ../includes/user-list.php:349
330
  msgid "Access Status"
331
  msgstr ""
332
 
333
- #: ../includes/user-list.php:354
334
  msgid "-- Status --"
335
  msgstr ""
336
 
337
- #: ../includes/user-list.php:362
338
  msgid "If user has access to sign in or not."
339
  msgstr ""
340
 
341
- #: ../includes/user-list.php:365
342
  msgid "Current user status is <strong>pending</strong>."
343
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: New User Approve v1.3.4\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
5
+ "POT-Creation-Date: 2014-12-31 00:55-0700\n"
6
+ "PO-Revision-Date: 2014-12-31 00:56-0700\n"
7
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
8
  "Language-Team: \n"
9
  "Language: ru\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  # @ new-user-approve
23
+ #: new-user-approve.php:98
24
  #, php-format
25
  msgid "New User Approve requires WordPress %s or newer."
26
  msgstr "Плагин New User Approve требует WordPress версии %s или более позднюю"
27
 
28
+ #: new-user-approve.php:145
29
  #, php-format
30
  msgid ""
31
  "The Membership setting must be turned on in order for the New User Approve "
34
  msgstr ""
35
 
36
  # @ default
37
+ #: new-user-approve.php:257
38
  msgid "<strong>ERROR</strong>: Your account is still pending approval."
39
  msgstr ""
40
 
41
  # @ default
42
+ #: new-user-approve.php:260
43
  msgid ""
44
  "<strong>ERROR</strong>: Your account has been denied access to this site."
45
  msgstr ""
46
 
47
  # @ new-user-approve
48
+ #: new-user-approve.php:362
49
  msgid "Users"
50
  msgstr "Пользователи"
51
 
52
  # @ new-user-approve
53
+ #: new-user-approve.php:392
54
  #, php-format
55
  msgid "[%s] User Approval"
56
  msgstr "[%s] Пользователей одобрено"
57
 
58
+ #: new-user-approve.php:454
59
  #, php-format
60
  msgid ""
61
  "<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a "
63
  msgstr ""
64
 
65
  # @ new-user-approve
66
+ #: new-user-approve.php:520
67
  #, php-format
68
  msgid "[%s] Registration Approved"
69
  msgstr "[%s] Регистрация одобрена"
70
 
71
  # @ new-user-approve
72
+ #: new-user-approve.php:550
73
  #, php-format
74
  msgid "[%s] Registration Denied"
75
  msgstr "[%s] Регистраций отклонено"
76
 
77
  # @ new-user-approve
78
+ #: new-user-approve.php:614
79
  msgid "Registration successful."
80
  msgstr "Регистрация прошла успешно."
81
 
82
  # @ new-user-approve
83
+ #: new-user-approve.php:617
84
  msgid "Pending Approval"
85
  msgstr "Ожидает одобрения"
86
 
87
  # @ new-user-approve
88
+ #: admin/templates/approve.php:6
89
  msgid "User successfully updated."
90
  msgstr "Пользователь успешно обновлен."
91
 
92
  # @ new-user-approve
93
+ #: admin/templates/approve.php:11
94
  msgid "User Registration Approval"
95
  msgstr "Одобрение регистрации пользователя"
96
 
97
  # @ new-user-approve
98
+ #: includes/admin-approve.php:50
99
  msgid "Approve New Users"
100
  msgstr "Одобрить нового пользователя"
101
 
102
  # @ new-user-approve
103
+ #: includes/admin-approve.php:82
104
  msgid "Username"
105
  msgstr "Имя пользователя"
106
 
107
  # @ new-user-approve
108
+ #: includes/admin-approve.php:83
109
  msgid "Name"
110
  msgstr "Имя"
111
 
112
  # @ new-user-approve
113
+ #: includes/admin-approve.php:84
114
  msgid "E-mail"
115
  msgstr "E-mail"
116
 
117
  # @ new-user-approve
118
+ #: includes/admin-approve.php:86 includes/admin-approve.php:88
119
  msgid "Actions"
120
  msgstr "Действия"
121
 
122
  # @ new-user-approve
123
+ #: includes/admin-approve.php:129
124
  msgid "email:"
125
  msgstr "email:"
126
 
127
  # @ new-user-approve
128
+ #: includes/admin-approve.php:133 includes/user-list.php:98
129
+ #: includes/user-list.php:232 includes/user-list.php:233
130
  msgid "Approve"
131
  msgstr "Одобрить"
132
 
133
  # @ new-user-approve
134
+ #: includes/admin-approve.php:138 includes/user-list.php:99
135
+ #: includes/user-list.php:235 includes/user-list.php:236
136
  msgid "Deny"
137
  msgstr "Отклонить"
138
 
139
  # @ new-user-approve
140
+ #: includes/admin-approve.php:154 includes/user-list.php:144
141
  msgid "approved"
142
  msgstr "одобренный"
143
 
144
  # @ new-user-approve
145
+ #: includes/admin-approve.php:156 includes/user-list.php:146
146
  msgid "denied"
147
  msgstr "отклоненный"
148
 
149
  # @ new-user-approve
150
+ #: includes/admin-approve.php:158 includes/user-list.php:148
151
  msgid "pending"
152
  msgstr "ожидает"
153
 
154
  # @ new-user-approve
155
+ #: includes/admin-approve.php:161
156
  #, php-format
157
  msgid "There are no users with a status of %s"
158
  msgstr "Нет пользователей со статусом %s"
159
 
160
+ #: includes/admin-approve.php:197
161
  #, php-format
162
  msgid ""
163
  "You can now update user status on the <a href=\"%1$s\">users admin page</a>. "
165
  msgstr ""
166
 
167
  # @ new-user-approve
168
+ #: includes/admin-approve.php:220
169
  #, fuzzy
170
  msgid "Approve Users"
171
  msgstr "Одобренные пользователи"
172
 
173
+ #: includes/admin-approve.php:221
174
  msgid "Updates"
175
  msgstr ""
176
 
177
+ #: includes/admin-approve.php:222
178
  msgid "Support"
179
  msgstr ""
180
 
181
+ #: includes/admin-approve.php:223
182
  msgid "Feedback"
183
  msgstr ""
184
 
185
  # @ new-user-approve
186
+ #: includes/admin-approve.php:231
187
  msgid "Users Pending Approval"
188
  msgstr "Пользователи, ожидающие одобрения"
189
 
190
  # @ new-user-approve
191
+ #: includes/admin-approve.php:233
192
  msgid "Approved Users"
193
  msgstr "Одобренные пользователи"
194
 
195
  # @ new-user-approve
196
+ #: includes/admin-approve.php:235
197
  msgid "Denied Users"
198
  msgstr "Отклоненные пользователи"
199
 
200
+ #: includes/email-tags.php:235
201
  msgid "The user's username on the site as well as the Username label"
202
  msgstr ""
203
 
204
+ #: includes/email-tags.php:241
205
  msgid "The user's email address"
206
  msgstr ""
207
 
208
+ #: includes/email-tags.php:247
209
  msgid "Your site name"
210
  msgstr ""
211
 
212
+ #: includes/email-tags.php:253
213
  msgid "Your site URL"
214
  msgstr ""
215
 
216
+ #: includes/email-tags.php:259
217
  msgid "The URL to approve/deny users"
218
  msgstr ""
219
 
220
+ #: includes/email-tags.php:265
221
  msgid "The URL to login to the site"
222
  msgstr ""
223
 
224
+ #: includes/email-tags.php:271
225
  msgid "Generates the password for the user to add to the email"
226
  msgstr ""
227
 
228
  # @ new-user-approve
229
+ #: includes/email-tags.php:299
230
  #, php-format
231
  msgid "Username: %s"
232
  msgstr "Имя пользователя: %s"
233
 
234
  # @ new-user-approve
235
+ #: includes/email-tags.php:390
236
  #, php-format
237
  msgid "Password: %s"
238
  msgstr "Пароль: %s"
239
 
240
  # @ new-user-approve
241
+ #: includes/messages.php:9
242
  #, fuzzy
243
  msgid "You have been approved to access {sitename}"
244
  msgstr "Вам разрешен доступ к %s"
245
 
246
  # @ new-user-approve
247
+ #: includes/messages.php:25
248
  #, fuzzy
249
  msgid "You have been denied access to {sitename}."
250
  msgstr "Вам запрещен доступ к %s"
251
 
252
  # @ new-user-approve
253
+ #: includes/messages.php:38
254
  msgid ""
255
  "An email has been sent to the site administrator. The administrator will "
256
  "review the information that has been submitted and either approve or deny "
258
  msgstr "Запрос на регистрацию отправлен администратору сайта."
259
 
260
  # @ new-user-approve
261
+ #: includes/messages.php:40
262
  msgid ""
263
  "You will receive an email with instructions on what you will need to do "
264
  "next. Thanks for your patience."
267
  "ваше терпение."
268
 
269
  # @ new-user-approve
270
+ #: includes/messages.php:53
271
  #, fuzzy
272
  msgid ""
273
  "Welcome to {sitename}. This site is accessible to approved users only. To be "
277
  "пользователей. Для начала зарегистрируйтесь."
278
 
279
  # @ new-user-approve
280
+ #: includes/messages.php:66
281
  #, fuzzy
282
  msgid "{username} ({user_email}) has requested a username at {sitename}"
283
  msgstr "%1$s (%2$s) запросил имя пользователя в %3$s"
284
 
285
  # @ new-user-approve
286
+ #: includes/messages.php:68
287
  #, fuzzy
288
  msgid "To approve or deny this user access to {sitename} go to"
289
  msgstr "Чтобы одобрить или отклонить доступ пользователя к %s перейдите в"
290
 
291
  # @ new-user-approve
292
+ #: includes/messages.php:83
293
  msgid ""
294
  "After you register, your request will be sent to the site administrator for "
295
  "approval. You will then receive an email with further instructions."
298
  "рассмотрение. После рассмотрения вы получите письмо с дальнейшими "
299
  "инструкциями."
300
 
301
+ #: includes/user-list.php:121
302
  msgid "Status"
303
  msgstr ""
304
 
305
+ #: includes/user-list.php:165
306
  msgid "Filter"
307
  msgstr ""
308
 
309
+ #: includes/user-list.php:170 includes/user-list.php:172
310
  msgid "View all users"
311
  msgstr ""
312
 
313
  # @ new-user-approve
314
+ #: includes/user-list.php:329
315
  #, fuzzy, php-format
316
  msgid "User denied."
317
  msgid_plural "%s users denied."
319
  msgstr[1] "отклоненный"
320
 
321
  # @ new-user-approve
322
+ #: includes/user-list.php:334
323
  #, fuzzy, php-format
324
  msgid "User approved."
325
  msgid_plural "%s users approved."
326
  msgstr[0] "одобренный"
327
  msgstr[1] "одобренный"
328
 
329
+ #: includes/user-list.php:358
330
  msgid "Access Status"
331
  msgstr ""
332
 
333
+ #: includes/user-list.php:363
334
  msgid "-- Status --"
335
  msgstr ""
336
 
337
+ #: includes/user-list.php:371
338
  msgid "If user has access to sign in or not."
339
  msgstr ""
340
 
341
+ #: includes/user-list.php:374
342
  msgid "Current user status is <strong>pending</strong>."
343
  msgstr ""
localization/new-user-approve-sk_SK.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: new-user-approve.1.4.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
7
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
8
- "PO-Revision-Date: 2014-10-09 00:13-0700\n"
9
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
10
  "Language-Team: Boris Gereg <qwerty@elusion.sk>\n"
11
  "Language: SK\n"
5
  "Project-Id-Version: new-user-approve.1.4.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
7
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
8
+ "PO-Revision-Date: 2014-12-31 00:56-0700\n"
9
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
10
  "Language-Team: Boris Gereg <qwerty@elusion.sk>\n"
11
  "Language: SK\n"
localization/new-user-approve-sr_RS.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: new-user-approve.1.4.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
7
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
8
- "PO-Revision-Date: 2014-10-09 00:14-0700\n"
9
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
10
  "Language-Team: Boris Gereg <qwerty@elusion.sk>\n"
11
  "Language: SK\n"
5
  "Project-Id-Version: new-user-approve.1.4.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
7
  "POT-Creation-Date: 2014-10-08 23:50-0700\n"
8
+ "PO-Revision-Date: 2014-12-31 00:56-0700\n"
9
  "Last-Translator: Josh Harrison <josh@picklewagon.com>\n"
10
  "Language-Team: Boris Gereg <qwerty@elusion.sk>\n"
11
  "Language: SK\n"
localization/new-user-approve-sv_SE.po CHANGED
@@ -8,7 +8,7 @@ msgstr ""
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2009-10-29 08:32+0000\n"
11
- "PO-Revision-Date: 2014-10-08 23:48-0700\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/new-user-approve\n"
10
  "POT-Creation-Date: 2009-10-29 08:32+0000\n"
11
+ "PO-Revision-Date: 2014-12-31 00:56-0700\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
new-user-approve.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://www.picklewagon.com/wordpress/new-user-approve/
5
  Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
6
  Author: Josh Harrison
7
- Version: 1.7.1
8
  Author URI: http://picklewagon.com/
9
  */
10
 
@@ -715,9 +715,11 @@ class pw_new_user_approve {
715
  * @param $user_login
716
  * @param $user
717
  */
718
- public function login_user( $user_login, $user ) {
719
- if ( ! get_user_meta( $user->ID, 'pw_new_user_approve_has_signed_in' ) ) {
720
- add_user_meta( $user->ID, 'pw_new_user_approve_has_signed_in', time() );
 
 
721
  }
722
  }
723
  } // End Class
4
  Plugin URI: http://www.picklewagon.com/wordpress/new-user-approve/
5
  Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
6
  Author: Josh Harrison
7
+ Version: 1.7.2
8
  Author URI: http://picklewagon.com/
9
  */
10
 
715
  * @param $user_login
716
  * @param $user
717
  */
718
+ public function login_user( $user_login, $user = null ) {
719
+ if ( $user != null && is_object( $user ) ) {
720
+ if ( ! get_user_meta( $user->ID, 'pw_new_user_approve_has_signed_in' ) ) {
721
+ add_user_meta( $user->ID, 'pw_new_user_approve_has_signed_in', time() );
722
+ }
723
  }
724
  }
725
  } // End Class
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: picklewagon
3
  Donate link: http://picklewagon.com/wordpress/new-user-approve/donate
4
  Tags: users, registration, sign up, user management, login
5
  Requires at least: 3.5.1
6
- Tested up to: 4.0
7
- Stable tag: 1.7.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -105,6 +105,13 @@ as they have their username and passwords.
105
 
106
  == Changelog ==
107
 
 
 
 
 
 
 
 
108
  = 1.7.1 =
109
  * fix code causing PHP notices
110
  * don't show admin notice for registration setting if S2Member plugin is active
@@ -115,7 +122,7 @@ as they have their username and passwords.
115
  * email/message tags
116
  * refactor messages
117
  * send admin approval email after the user has been created
118
- * tested for WordPress 4.0
119
  * finish updates in preparation of option addon plugin
120
 
121
  = 1.6 =
@@ -129,7 +136,7 @@ as they have their username and passwords.
129
  * updated French translation
130
 
131
  = 1.5.8 =
132
- * tested for WordPress 3.9
133
  * fix bug preventing the notice from hiding on legacy page
134
 
135
  = 1.5.7 =
@@ -241,18 +248,18 @@ as they have their username and passwords.
241
 
242
  = 1.1.3 =
243
  * replace calls to esc_url() with clean_url() to make plugin compatible with versions less than 2.8
244
-
245
  = 1.1.2 =
246
  * fix the admin ui tab interface for 2.8
247
  * add a link to the users profile in the admin interface
248
  * fix bug when using email address to retrieve lost password
249
  * show blog title correctly on login screen
250
  * use get_option() instead of get_settings()
251
-
252
  = 1.1.1 =
253
  * fix approve/deny links
254
  * fix formatting issue with email to admin to approve user
255
-
256
  = 1.1 =
257
  * correctly display error message if registration is empty
258
  * add a link to the options page from the plugin dashboard
3
  Donate link: http://picklewagon.com/wordpress/new-user-approve/donate
4
  Tags: users, registration, sign up, user management, login
5
  Requires at least: 3.5.1
6
+ Tested up to: 4.1
7
+ Stable tag: 1.7.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
105
 
106
  == Changelog ==
107
 
108
+ = 1.7.2 =
109
+ * tested with WordPress 4.1
110
+ * fix translation bug
111
+ * add bubble to user menu for pending users
112
+ * Courtesy of [howdy_mcgee](https://wordpress.org/support/profile/howdy_mcgee)
113
+ * https://wordpress.org/support/topic/get-number-of-pending-users#post-5920371
114
+
115
  = 1.7.1 =
116
  * fix code causing PHP notices
117
  * don't show admin notice for registration setting if S2Member plugin is active
122
  * email/message tags
123
  * refactor messages
124
  * send admin approval email after the user has been created
125
+ * tested with WordPress 4.0
126
  * finish updates in preparation of option addon plugin
127
 
128
  = 1.6 =
136
  * updated French translation
137
 
138
  = 1.5.8 =
139
+ * tested with WordPress 3.9
140
  * fix bug preventing the notice from hiding on legacy page
141
 
142
  = 1.5.7 =
248
 
249
  = 1.1.3 =
250
  * replace calls to esc_url() with clean_url() to make plugin compatible with versions less than 2.8
251
+
252
  = 1.1.2 =
253
  * fix the admin ui tab interface for 2.8
254
  * add a link to the users profile in the admin interface
255
  * fix bug when using email address to retrieve lost password
256
  * show blog title correctly on login screen
257
  * use get_option() instead of get_settings()
258
+
259
  = 1.1.1 =
260
  * fix approve/deny links
261
  * fix formatting issue with email to admin to approve user
262
+
263
  = 1.1 =
264
  * correctly display error message if registration is empty
265
  * add a link to the options page from the plugin dashboard