Google Captcha (reCAPTCHA) by BestWebSoft - Version 1.11

Version Description

  • 30.12.2014 =
  • Update : New Google Captcha version is added.
  • Bugfix : We fixed the bug with displaying Google Captcha on the multisite register form.
  • Bugfix : We fixed the bug with multilanguage plugin.
  • Update : We updated all functionality for wordpress 4.1.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Google Captcha (reCAPTCHA) by BestWebSoft
Version 1.11
Comparing to
See all releases

Code changes from version 1.10 to 1.11

Files changed (93) hide show
  1. bws_menu/bws_menu.php +0 -0
  2. bws_menu/css/general_style.css +0 -0
  3. bws_menu/css/general_style_wp_before_3.8.css +0 -0
  4. bws_menu/css/style.css +0 -0
  5. bws_menu/icons/adsense.png +0 -0
  6. bws_menu/icons/bws-google-analytics.png +0 -0
  7. bws_menu/icons/bws-google-maps.png +0 -0
  8. bws_menu/icons/captcha.png +0 -0
  9. bws_menu/icons/contact-form-multi.png +0 -0
  10. bws_menu/icons/contact-form-to-db.png +0 -0
  11. bws_menu/icons/contact-form.png +0 -0
  12. bws_menu/icons/custom-fields-search.png +0 -0
  13. bws_menu/icons/custom-search.png +0 -0
  14. bws_menu/icons/db-manager.png +0 -0
  15. bws_menu/icons/donate-button.png +0 -0
  16. bws_menu/icons/email-queue.png +0 -0
  17. bws_menu/icons/facebook-button.png +0 -0
  18. bws_menu/icons/gallery.png +0 -0
  19. bws_menu/icons/google-captcha.png +0 -0
  20. bws_menu/icons/google-one.png +0 -0
  21. bws_menu/icons/google-shortlink.png +0 -0
  22. bws_menu/icons/google-sitemap.png +0 -0
  23. bws_menu/icons/htaccess.png +0 -0
  24. bws_menu/icons/job-board.png +0 -0
  25. bws_menu/icons/limit-attempts.png +0 -0
  26. bws_menu/icons/multilanguage.png +0 -0
  27. bws_menu/icons/pdf-print.png +0 -0
  28. bws_menu/icons/portfolio.png +0 -0
  29. bws_menu/icons/post-to-csv.png +0 -0
  30. bws_menu/icons/quotes-and-tips.png +0 -0
  31. bws_menu/icons/relevant.png +0 -0
  32. bws_menu/icons/sender.png +0 -0
  33. bws_menu/icons/subscriber.png +0 -0
  34. bws_menu/icons/twitter.png +0 -0
  35. bws_menu/icons/updater.png +0 -0
  36. bws_menu/icons/user-role.png +0 -0
  37. bws_menu/images/icon_16.png +0 -0
  38. bws_menu/images/icon_16_b.png +0 -0
  39. bws_menu/images/icon_16_c.png +0 -0
  40. bws_menu/images/icon_16_single.png +0 -0
  41. bws_menu/images/icon_36.png +0 -0
  42. bws_menu/images/icon_36_b.png +0 -0
  43. bws_menu/images/pattern.png +0 -0
  44. bws_menu/images/pattern_bg.png +0 -0
  45. bws_menu/images/system-status.png +0 -0
  46. bws_menu/js/bws_menu.js +0 -0
  47. bws_menu/languages/bestwebsoft-de_DE.mo +0 -0
  48. bws_menu/languages/bestwebsoft-de_DE.po +0 -0
  49. bws_menu/languages/bestwebsoft-fr_FR.mo +0 -0
  50. bws_menu/languages/bestwebsoft-fr_FR.po +0 -0
  51. bws_menu/languages/bestwebsoft-it_IT.mo +0 -0
  52. bws_menu/languages/bestwebsoft-it_IT.po +0 -0
  53. bws_menu/languages/bestwebsoft-ja.mo +0 -0
  54. bws_menu/languages/bestwebsoft-ja.po +0 -0
  55. bws_menu/languages/bestwebsoft-pt_BR.mo +0 -0
  56. bws_menu/languages/bestwebsoft-pt_BR.po +0 -0
  57. bws_menu/languages/bestwebsoft-ru_RU.mo +0 -0
  58. bws_menu/languages/bestwebsoft-ru_RU.po +0 -0
  59. bws_menu/languages/bestwebsoft-sr_RS.mo +0 -0
  60. bws_menu/languages/bestwebsoft-sr_RS.po +0 -0
  61. bws_menu/languages/bestwebsoft-sv_SE.mo +0 -0
  62. bws_menu/languages/bestwebsoft-sv_SE.po +0 -0
  63. bws_menu/languages/bestwebsoft-uk.mo +0 -0
  64. bws_menu/languages/bestwebsoft-uk.po +0 -0
  65. css/style.css +4 -0
  66. google-captcha.php +191 -74
  67. google_captcha_check.php +0 -19
  68. images/px.png +0 -0
  69. js/admin_script.js +32 -0
  70. js/script.js +47 -3
  71. languages/google_captcha-es_ES.mo +0 -0
  72. languages/google_captcha-es_ES.po +82 -62
  73. languages/google_captcha-pl_PL.mo +0 -0
  74. languages/google_captcha-pl_PL.po +84 -65
  75. languages/google_captcha-pt_BR.mo +0 -0
  76. languages/google_captcha-pt_BR.po +83 -63
  77. languages/google_captcha-ru_RU.mo +0 -0
  78. languages/google_captcha-ru_RU.po +82 -63
  79. languages/google_captcha-uk.mo +0 -0
  80. languages/google_captcha-uk.po +115 -82
  81. languages/google_captcha-zh_TW.mo +0 -0
  82. languages/google_captcha-zh_TW.po +91 -54
  83. lib/license.txt +0 -0
  84. lib/recaptchalib.php +0 -0
  85. lib_v2/license.txt +29 -0
  86. lib_v2/recaptchalib.php +140 -0
  87. readme.txt +12 -3
  88. screenshot-1.png +0 -0
  89. screenshot-2.png +0 -0
  90. screenshot-3.png +0 -0
  91. screenshot-4.png +0 -0
  92. screenshot-5.png +0 -0
  93. screenshot-6.png +0 -0
bws_menu/bws_menu.php CHANGED
File without changes
bws_menu/css/general_style.css CHANGED
File without changes
bws_menu/css/general_style_wp_before_3.8.css CHANGED
File without changes
bws_menu/css/style.css CHANGED
File without changes
bws_menu/icons/adsense.png CHANGED
File without changes
bws_menu/icons/bws-google-analytics.png CHANGED
File without changes
bws_menu/icons/bws-google-maps.png CHANGED
File without changes
bws_menu/icons/captcha.png CHANGED
File without changes
bws_menu/icons/contact-form-multi.png CHANGED
File without changes
bws_menu/icons/contact-form-to-db.png CHANGED
File without changes
bws_menu/icons/contact-form.png CHANGED
File without changes
bws_menu/icons/custom-fields-search.png CHANGED
File without changes
bws_menu/icons/custom-search.png CHANGED
File without changes
bws_menu/icons/db-manager.png CHANGED
File without changes
bws_menu/icons/donate-button.png CHANGED
File without changes
bws_menu/icons/email-queue.png CHANGED
File without changes
bws_menu/icons/facebook-button.png CHANGED
File without changes
bws_menu/icons/gallery.png CHANGED
File without changes
bws_menu/icons/google-captcha.png CHANGED
File without changes
bws_menu/icons/google-one.png CHANGED
File without changes
bws_menu/icons/google-shortlink.png CHANGED
File without changes
bws_menu/icons/google-sitemap.png CHANGED
File without changes
bws_menu/icons/htaccess.png CHANGED
File without changes
bws_menu/icons/job-board.png CHANGED
File without changes
bws_menu/icons/limit-attempts.png CHANGED
File without changes
bws_menu/icons/multilanguage.png CHANGED
File without changes
bws_menu/icons/pdf-print.png CHANGED
File without changes
bws_menu/icons/portfolio.png CHANGED
File without changes
bws_menu/icons/post-to-csv.png CHANGED
File without changes
bws_menu/icons/quotes-and-tips.png CHANGED
File without changes
bws_menu/icons/relevant.png CHANGED
File without changes
bws_menu/icons/sender.png CHANGED
File without changes
bws_menu/icons/subscriber.png CHANGED
File without changes
bws_menu/icons/twitter.png CHANGED
File without changes
bws_menu/icons/updater.png CHANGED
File without changes
bws_menu/icons/user-role.png CHANGED
File without changes
bws_menu/images/icon_16.png CHANGED
File without changes
bws_menu/images/icon_16_b.png CHANGED
File without changes
bws_menu/images/icon_16_c.png CHANGED
File without changes
bws_menu/images/icon_16_single.png CHANGED
File without changes
bws_menu/images/icon_36.png CHANGED
File without changes
bws_menu/images/icon_36_b.png CHANGED
File without changes
bws_menu/images/pattern.png CHANGED
File without changes
bws_menu/images/pattern_bg.png CHANGED
File without changes
bws_menu/images/system-status.png CHANGED
File without changes
bws_menu/js/bws_menu.js CHANGED
File without changes
bws_menu/languages/bestwebsoft-de_DE.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-de_DE.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-fr_FR.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-fr_FR.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-it_IT.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-it_IT.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-ja.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-ja.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-pt_BR.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-pt_BR.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-ru_RU.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-ru_RU.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-sr_RS.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-sr_RS.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-sv_SE.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-sv_SE.po CHANGED
File without changes
bws_menu/languages/bestwebsoft-uk.mo CHANGED
File without changes
bws_menu/languages/bestwebsoft-uk.po CHANGED
File without changes
css/style.css CHANGED
@@ -4,3 +4,7 @@
4
  #gglcptch-keys input[type=text] {
5
  width: 250px;
6
  }
 
 
 
 
4
  #gglcptch-keys input[type=text] {
5
  width: 250px;
6
  }
7
+ .gglcptch_span {
8
+ color: #888888;
9
+ font-size: 10px;
10
+ }
google-captcha.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Captcha (reCAPTCHA) by BestWebSoft
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
6
  Author: BestWebSoft
7
- Version: 1.10
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv3 or later
10
  */
@@ -131,13 +131,12 @@ if ( ! function_exists( 'gglcptch_init' ) ) {
131
  if ( '1' == $gglcptch_options['registration_form'] ) {
132
  add_action( 'register_form', 'gglcptch_login_display' );
133
  add_action( 'register_post', 'gglcptch_lostpassword_check' );
 
 
134
  }
135
  if ( '1' == $gglcptch_options['contact_form'] ) {
136
- add_filter( 'cntctfrm_display_captcha', 'gglcptch_display' );
137
- add_filter( 'cntctfrmpr_display_captcha', 'gglcptch_display' );
138
- } elseif ( '0' == $gglcptch_options['contact_form'] ) {
139
- remove_filter( 'cntctfrm_display_captcha', 'gglcptch_display' );
140
- remove_filter( 'cntctfrmpr_display_captcha', 'gglcptch_display' );
141
  }
142
  }
143
  }
@@ -161,8 +160,10 @@ if ( ! function_exists( 'gglcptch_admin_init' ) ) {
161
  /* Add google captcha styles */
162
  if ( ! function_exists( 'gglcptch_add_style' ) ) {
163
  function gglcptch_add_style() {
164
- if ( isset( $_REQUEST['page'] ) && 'google-captcha.php' == $_REQUEST['page'] )
165
  wp_enqueue_style( 'gglcptch_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
 
 
166
  }
167
  }
168
 
@@ -178,15 +179,17 @@ if ( ! function_exists( 'register_gglcptch_settings' ) ) {
178
  global $gglcptch_options, $bws_plugin_info, $gglcptch_plugin_info;
179
 
180
  $gglcptch_default_options = array(
181
- 'public_key' => '',
182
- 'private_key' => '',
183
- 'login_form' => '1',
184
- 'registration_form' => '1',
185
- 'reset_pwd_form' => '1',
186
- 'comments_form' => '1',
187
- 'contact_form' => '0',
188
- 'theme' => 'red',
189
- 'plugin_option_version' => $gglcptch_plugin_info["Version"]
 
 
190
  );
191
 
192
  foreach ( get_editable_roles() as $role => $fields ) {
@@ -265,7 +268,9 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
265
  $gglcptch_options['reset_pwd_form'] = isset( $_POST['gglcptch_reset_pwd_form'] ) ? 1 : 0;
266
  $gglcptch_options['comments_form'] = isset( $_POST['gglcptch_comments_form'] ) ? 1 : 0;
267
  $gglcptch_options['contact_form'] = isset( $_POST['gglcptch_contact_form'] ) ? 1 : 0;
 
268
  $gglcptch_options['theme'] = $_POST['gglcptch_theme'];
 
269
 
270
  foreach ( get_editable_roles() as $role => $fields ) {
271
  $gglcptch_options[ $role ] = isset( $_POST[ 'gglcptch_' . $role ] ) ? 1 : 0;
@@ -279,10 +284,11 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
279
  <a class="nav-tab nav-tab-active" href="admin.php?page=google-captcha.php"><?php _e( 'Settings', 'google_captcha' ); ?></a>
280
  <a class="nav-tab" href="http://bestwebsoft.com/products/google-captcha/faq" target="_blank"><?php _e( 'FAQ', 'google_captcha' ); ?></a>
281
  </h2>
 
282
  <div class="updated fade" <?php if ( ! isset( $_POST['gglcptch_save_changes'] ) || "" != $error ) echo 'style="display:none"'; ?>><p><strong><?php _e( 'Settings saved', 'google_captcha' ); ?></strong></p></div>
283
  <div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
284
  <p><?php _e( 'If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:', 'google_captcha' ); echo ' [bws_google_captcha]'; ?></p>
285
- <form method="post" action="admin.php?page=google-captcha.php">
286
  <h3><?php _e( 'Authentication', 'google_captcha' ); ?></h3>
287
  <p><?php printf( __( 'Before you are able to do something, you must to register %s here %s', 'google_captcha' ), '<a target="_blank" href="https://www.google.com/recaptcha/admin#list">','</a>.' ); ?></p>
288
  <p><?php _e( 'Enter site key and secret key, that you get after registration.', 'google_captcha' ); ?></p>
@@ -303,7 +309,7 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
303
  <th scope="row"><?php _e( 'Enable Google Captcha for:', 'google_captcha' ); ?></th>
304
  <td>
305
  <?php foreach ( $gglcptch_forms as $form ) : ?>
306
- <label><input type="checkbox" name="<?php echo 'gglcptch_' . $form[0]; ?>" value=<?php echo $form[0]; if ( '1' == $gglcptch_options[ $form[0] ] ) echo ' checked'; ?>><?php echo $form[1]; ?></label><br />
307
  <?php endforeach;
308
  $gglcptch_all_plugins = get_plugins();
309
  $gglcptch_cntctfrm_installed = ( isset( $gglcptch_all_plugins['contact-form-plugin/contact_form.php'] ) || isset( $gglcptch_all_plugins['contact-form-pro/contact_form_pro.php'] ) ) ? true : false;
@@ -315,15 +321,15 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
315
  $gglcptch_cntctfrm_activated = ( in_array( 'contact-form-plugin/contact_form.php', $gglcptch_active_plugins ) || in_array( 'contact-form-pro/contact_form_pro.php', $gglcptch_active_plugins ) ) ? true : false;
316
  if ( $gglcptch_cntctfrm_installed ) :
317
  if ( $gglcptch_cntctfrm_activated ) : ?>
318
- <label><input type="checkbox" name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
319
- <span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>)</span><br />
320
  <?php else : ?>
321
- <label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
322
- <span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate contact form', 'google_captcha' ); ?></a></span><br />
323
  <?php endif;
324
  else : ?>
325
- <label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
326
- <span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/products/contact-form/?k=d70b58e1739ab4857d675fed2213cedc&pn=75&v=<?php echo $gglcptch_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>"><?php _e( 'Download contact form', 'google_captcha' ); ?></a></span><br />
327
  <?php endif; ?>
328
  </td>
329
  </tr>
@@ -331,20 +337,42 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
331
  <th scope="row"><?php _e( 'Hide captcha for:', 'google_captcha' ); ?></th>
332
  <td>
333
  <?php foreach ( get_editable_roles() as $role => $fields) : ?>
334
- <label><input type="checkbox" name="<?php echo 'gglcptch_' . $role; ?>" value=<?php echo $role; if ( '1' == $gglcptch_options[ $role ] ) echo ' checked'; ?>><?php echo $fields['name']; ?></label><br/>
335
  <?php endforeach; ?>
336
  </td>
337
- </tr>
338
  <tr valign="top">
339
- <th scope="row"><?php _e( 'Theme:', 'google_captcha' ); ?></th>
 
 
 
 
 
 
 
 
 
 
340
  <td>
341
  <select name="gglcptch_theme">
342
  <?php foreach ( $gglcptch_themes as $theme ) : ?>
343
- <option value=<?php echo $theme[0]; if ( $theme[0] == $gglcptch_options['theme'] ) echo ' selected'; ?> ><?php echo $theme[1]; ?></option>
344
  <?php endforeach; ?>
345
  </select>
346
  </td>
347
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
348
  </table>
349
  <p class="submit">
350
  <input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'google_captcha' ); ?>" name="gglcptch_save_changes" />
@@ -370,11 +398,14 @@ if ( ! function_exists( 'gglcptch_check_role' ) ) {
370
  function gglcptch_check_role() {
371
  global $current_user, $gglcptch_options;
372
  if ( ! is_user_logged_in() )
373
- return false;
374
- $role = $current_user->roles[0];
375
- if ( '1' == $gglcptch_options[ $role ] )
376
- return true;
377
- else
 
 
 
378
  return false;
379
  }
380
  }
@@ -391,7 +422,6 @@ if ( ! function_exists( 'gglcptch_display' ) ) {
391
  if ( $gglcptch_count > 1 ) {
392
  return $content;
393
  }
394
- require_once( 'lib/recaptchalib.php' );
395
  $publickey = $gglcptch_options['public_key'];
396
  $privatekey = $gglcptch_options['private_key'];
397
  $content .= '<div class="gglcptch">';
@@ -410,28 +440,60 @@ if ( ! function_exists( 'gglcptch_display' ) ) {
410
  $gglcptch_count++;
411
  return $content;
412
  }
413
- $content .= sprintf(
414
- '<style type="text/css" media="screen">
415
- #recaptcha_response_field {
416
- max-height: 35px;
417
- }
418
- #gglcptch_error {
419
- color: #F00;
420
- }
421
- </style>
422
- <script type="text/javascript">
423
- var RecaptchaOptions = { theme : "%s" },
424
- gglcptch_path = "%s",
425
- gglcptch_error_msg = "%s";
426
- </script>',
427
- $gglcptch_options['theme'],
428
- plugins_url( 'google_captcha_check.php', __FILE__ ),
429
- __( 'Error: You have entered an incorrect CAPTCHA value.', 'google_captcha' )
430
- );
431
- if ( is_ssl() )
432
- $content .= recaptcha_get_html( $publickey, '', true );
433
- else
434
- $content .= recaptcha_get_html( $publickey );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  $content .= '</div>';
436
  $gglcptch_count++;
437
  return $content;
@@ -464,22 +526,34 @@ if ( ! function_exists( 'gglcptch_login_display' ) ) {
464
  if ( ! function_exists( 'gglcptch_login_check' ) ) {
465
  function gglcptch_login_check( $redirect_to, $request, $user ) {
466
  if ( isset( $_POST['wp-submit'] ) ) {
467
- global $gglcptch_options;
468
- require_once( 'lib/recaptchalib.php' );
469
  $publickey = $gglcptch_options['public_key'];
470
  $privatekey = $gglcptch_options['private_key'];
471
 
472
  if ( ! $privatekey || ! $publickey ) {
473
  return $redirect_to;
474
  }
475
-
476
- $resp = recaptcha_check_answer( $privatekey, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
477
-
478
- if ( ! $resp->is_valid ) {
479
- wp_clear_auth_cookie();
480
- wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
 
 
 
 
481
  } else {
482
- return $redirect_to;
 
 
 
 
 
 
 
 
 
483
  }
484
  } else {
485
  return $redirect_to;
@@ -501,21 +575,35 @@ if ( ! function_exists( 'gglcptch_commentform_display' ) ) {
501
  if ( ! function_exists( 'gglcptch_lostpassword_check' ) ) {
502
  function gglcptch_lostpassword_check() {
503
  global $gglcptch_options;
504
- require_once( 'lib/recaptchalib.php' );
505
  $publickey = $gglcptch_options['public_key'];
506
  $privatekey = $gglcptch_options['private_key'];
507
 
508
  if ( ! $privatekey || ! $publickey )
509
  return;
510
 
511
- $resp = recaptcha_check_answer( $privatekey,
512
- $_SERVER['REMOTE_ADDR'],
513
- $_POST['recaptcha_challenge_field'],
514
- $_POST['recaptcha_response_field'] );
515
- if ( ! $resp->is_valid ) {
516
- wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
517
- } else
518
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
519
  }
520
  }
521
 
@@ -546,6 +634,32 @@ if ( ! function_exists( 'gglcptch_links' ) ) {
546
  }
547
  }
548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
549
  if ( ! function_exists( 'gglcptch_delete_options' ) ) {
550
  function gglcptch_delete_options() {
551
  delete_option( 'gglcptch_options' );
@@ -563,5 +677,8 @@ add_shortcode( 'bws_google_captcha', 'gglcptch_display' );
563
  add_filter( 'plugin_action_links', 'gglcptch_action_links', 10, 2 );
564
  add_filter( 'plugin_row_meta', 'gglcptch_links', 10, 2 );
565
 
 
 
 
566
  register_uninstall_hook( __FILE__, 'gglcptch_delete_options' );
567
  ?>
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
6
  Author: BestWebSoft
7
+ Version: 1.11
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv3 or later
10
  */
131
  if ( '1' == $gglcptch_options['registration_form'] ) {
132
  add_action( 'register_form', 'gglcptch_login_display' );
133
  add_action( 'register_post', 'gglcptch_lostpassword_check' );
134
+ /* for multisite */
135
+ add_action( 'signup_extra_fields', 'gglcptch_login_display' );
136
  }
137
  if ( '1' == $gglcptch_options['contact_form'] ) {
138
+ add_filter( 'cntctfrm_display_captcha', 'gglcptch_cf_display' );
139
+ add_filter( 'cntctfrmpr_display_captcha', 'gglcptch_cf_display' );
 
 
 
140
  }
141
  }
142
  }
160
  /* Add google captcha styles */
161
  if ( ! function_exists( 'gglcptch_add_style' ) ) {
162
  function gglcptch_add_style() {
163
+ if ( isset( $_REQUEST['page'] ) && 'google-captcha.php' == $_REQUEST['page'] ) {
164
  wp_enqueue_style( 'gglcptch_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
165
+ wp_enqueue_script( 'gglcptch_admin_script', plugins_url( 'js/admin_script.js', __FILE__ ), array( 'jquery' ) );
166
+ }
167
  }
168
  }
169
 
179
  global $gglcptch_options, $bws_plugin_info, $gglcptch_plugin_info;
180
 
181
  $gglcptch_default_options = array(
182
+ 'public_key' => '',
183
+ 'private_key' => '',
184
+ 'login_form' => '1',
185
+ 'registration_form' => '1',
186
+ 'reset_pwd_form' => '1',
187
+ 'comments_form' => '1',
188
+ 'contact_form' => '0',
189
+ 'theme' => 'red',
190
+ 'theme_v2' => 'light',
191
+ 'recaptcha_version' => 'v1',
192
+ 'plugin_option_version' => $gglcptch_plugin_info["Version"]
193
  );
194
 
195
  foreach ( get_editable_roles() as $role => $fields ) {
268
  $gglcptch_options['reset_pwd_form'] = isset( $_POST['gglcptch_reset_pwd_form'] ) ? 1 : 0;
269
  $gglcptch_options['comments_form'] = isset( $_POST['gglcptch_comments_form'] ) ? 1 : 0;
270
  $gglcptch_options['contact_form'] = isset( $_POST['gglcptch_contact_form'] ) ? 1 : 0;
271
+ $gglcptch_options['recaptcha_version'] = $_POST['gglcptch_recaptcha_version'];
272
  $gglcptch_options['theme'] = $_POST['gglcptch_theme'];
273
+ $gglcptch_options['theme_v2'] = $_POST['gglcptch_theme_v2'];
274
 
275
  foreach ( get_editable_roles() as $role => $fields ) {
276
  $gglcptch_options[ $role ] = isset( $_POST[ 'gglcptch_' . $role ] ) ? 1 : 0;
284
  <a class="nav-tab nav-tab-active" href="admin.php?page=google-captcha.php"><?php _e( 'Settings', 'google_captcha' ); ?></a>
285
  <a class="nav-tab" href="http://bestwebsoft.com/products/google-captcha/faq" target="_blank"><?php _e( 'FAQ', 'google_captcha' ); ?></a>
286
  </h2>
287
+ <div id="gglcptch_settings_notice" class="updated fade" style="display:none"><p><strong><?php _e( "Notice:", 'google_captcha' ); ?></strong> <?php _e( "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button.", 'google_captcha' ); ?></p></div>
288
  <div class="updated fade" <?php if ( ! isset( $_POST['gglcptch_save_changes'] ) || "" != $error ) echo 'style="display:none"'; ?>><p><strong><?php _e( 'Settings saved', 'google_captcha' ); ?></strong></p></div>
289
  <div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
290
  <p><?php _e( 'If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:', 'google_captcha' ); echo ' [bws_google_captcha]'; ?></p>
291
+ <form id="gglcptch_settings_form" method="post" action="admin.php?page=google-captcha.php">
292
  <h3><?php _e( 'Authentication', 'google_captcha' ); ?></h3>
293
  <p><?php printf( __( 'Before you are able to do something, you must to register %s here %s', 'google_captcha' ), '<a target="_blank" href="https://www.google.com/recaptcha/admin#list">','</a>.' ); ?></p>
294
  <p><?php _e( 'Enter site key and secret key, that you get after registration.', 'google_captcha' ); ?></p>
309
  <th scope="row"><?php _e( 'Enable Google Captcha for:', 'google_captcha' ); ?></th>
310
  <td>
311
  <?php foreach ( $gglcptch_forms as $form ) : ?>
312
+ <label><input type="checkbox" name="<?php echo 'gglcptch_' . $form[0]; ?>" value=<?php echo $form[0]; if ( '1' == $gglcptch_options[ $form[0] ] ) echo ' checked'; ?>> <?php echo $form[1]; ?></label><br />
313
  <?php endforeach;
314
  $gglcptch_all_plugins = get_plugins();
315
  $gglcptch_cntctfrm_installed = ( isset( $gglcptch_all_plugins['contact-form-plugin/contact_form.php'] ) || isset( $gglcptch_all_plugins['contact-form-pro/contact_form_pro.php'] ) ) ? true : false;
321
  $gglcptch_cntctfrm_activated = ( in_array( 'contact-form-plugin/contact_form.php', $gglcptch_active_plugins ) || in_array( 'contact-form-pro/contact_form_pro.php', $gglcptch_active_plugins ) ) ? true : false;
322
  if ( $gglcptch_cntctfrm_installed ) :
323
  if ( $gglcptch_cntctfrm_activated ) : ?>
324
+ <label><input type="checkbox" name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>> <?php _e( 'Contact form', 'google_captcha' ); ?></label>
325
+ <span class="gglcptch_span">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>)</span><br />
326
  <?php else : ?>
327
+ <label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>> <?php _e( 'Contact form', 'google_captcha' ); ?></label>
328
+ <span class="gglcptch_span">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate contact form', 'google_captcha' ); ?></a></span><br />
329
  <?php endif;
330
  else : ?>
331
+ <label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>> <?php _e( 'Contact form', 'google_captcha' ); ?></label>
332
+ <span class="gglcptch_span">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/products/contact-form/?k=d70b58e1739ab4857d675fed2213cedc&pn=75&v=<?php echo $gglcptch_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>"><?php _e( 'Download contact form', 'google_captcha' ); ?></a></span><br />
333
  <?php endif; ?>
334
  </td>
335
  </tr>
337
  <th scope="row"><?php _e( 'Hide captcha for:', 'google_captcha' ); ?></th>
338
  <td>
339
  <?php foreach ( get_editable_roles() as $role => $fields) : ?>
340
+ <label><input type="checkbox" name="<?php echo 'gglcptch_' . $role; ?>" value=<?php echo $role; if ( '1' == $gglcptch_options[ $role ] ) echo ' checked'; ?>> <?php echo $fields['name']; ?></label><br/>
341
  <?php endforeach; ?>
342
  </td>
343
+ </tr>
344
  <tr valign="top">
345
+ <th scope="row"><?php _e( 'reCAPTCHA version:', 'google_captcha' ); ?></th>
346
+ <td>
347
+ <label><input type="radio" name="gglcptch_recaptcha_version" value="v1"<?php if ( 'v1' == $gglcptch_options['recaptcha_version'] ) echo ' checked="checked"'; ?>> <?php _e( 'version', 'google_captcha' ); ?> 1</label><br/>
348
+ <label><input type="radio" name="gglcptch_recaptcha_version" value="v2"<?php if ( 'v2' == $gglcptch_options['recaptcha_version'] ) echo ' checked="checked"'; ?>> <?php _e( 'version', 'google_captcha' ); ?> 2</label>
349
+ </td>
350
+ </tr>
351
+ <tr id="gglcptch_theme_v1" valign="top">
352
+ <th scope="row">
353
+ <?php _e( 'Theme:', 'google_captcha' ); ?>
354
+ <br/><span class="gglcptch_span">(<?php _e( 'for reCAPTCHA version', 'google_captcha' ); ?> 1)</span>
355
+ </th>
356
  <td>
357
  <select name="gglcptch_theme">
358
  <?php foreach ( $gglcptch_themes as $theme ) : ?>
359
+ <option value=<?php echo $theme[0]; if ( $theme[0] == $gglcptch_options['theme'] ) echo ' selected'; ?>> <?php echo $theme[1]; ?></option>
360
  <?php endforeach; ?>
361
  </select>
362
  </td>
363
  </tr>
364
+ <tr id="gglcptch_theme_v2" valign="top">
365
+ <th scope="row">
366
+ <?php _e( 'Theme:', 'google_captcha' ); ?>
367
+ <br/><span class="gglcptch_span">(<?php _e( 'for reCAPTCHA version', 'google_captcha' ); ?> 2)</span>
368
+ </th>
369
+ <td>
370
+ <select name="gglcptch_theme_v2">
371
+ <option value="light" <?php if ( 'light' == $gglcptch_options['theme_v2'] ) echo ' selected'; ?>>light</option>
372
+ <option value="dark" <?php if ( 'dark' == $gglcptch_options['theme_v2'] ) echo ' selected'; ?>>dark</option>
373
+ </select>
374
+ </td>
375
+ </tr>
376
  </table>
377
  <p class="submit">
378
  <input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'google_captcha' ); ?>" name="gglcptch_save_changes" />
398
  function gglcptch_check_role() {
399
  global $current_user, $gglcptch_options;
400
  if ( ! is_user_logged_in() )
401
+ return false;
402
+ if ( ! empty( $current_user->roles[0] ) ) {
403
+ $role = $current_user->roles[0];
404
+ if ( '1' == $gglcptch_options[ $role ] )
405
+ return true;
406
+ else
407
+ return false;
408
+ } else
409
  return false;
410
  }
411
  }
422
  if ( $gglcptch_count > 1 ) {
423
  return $content;
424
  }
 
425
  $publickey = $gglcptch_options['public_key'];
426
  $privatekey = $gglcptch_options['private_key'];
427
  $content .= '<div class="gglcptch">';
440
  $gglcptch_count++;
441
  return $content;
442
  }
443
+ if ( 'v1' == $gglcptch_options['recaptcha_version'] ) {
444
+ require_once( 'lib/recaptchalib.php' );
445
+ $content .= sprintf(
446
+ '<style type="text/css" media="screen">
447
+ #recaptcha_response_field {
448
+ max-height: 35px;
449
+ }
450
+ #gglcptch_error {
451
+ color: #F00;
452
+ }
453
+ .gglcptch table#recaptcha_table {
454
+ table-layout: auto;
455
+ }
456
+ </style>
457
+ <script type="text/javascript">
458
+ var RecaptchaOptions = { theme : "%s" },
459
+ ajaxurl = "%s",
460
+ gglcptch_error_msg = "%s";
461
+ </script>',
462
+ $gglcptch_options['theme'],
463
+ admin_url( 'admin-ajax.php' ),
464
+ __( 'Error: You have entered an incorrect CAPTCHA value.', 'google_captcha' )
465
+ );
466
+ if ( is_ssl() )
467
+ $content .= recaptcha_get_html( $publickey, '', true );
468
+ else
469
+ $content .= recaptcha_get_html( $publickey );
470
+ } else {
471
+ require_once( 'lib_v2/recaptchalib.php' );
472
+ $reCaptcha = new ReCaptcha( $privatekey );
473
+ $content .= '<style type="text/css" media="screen">
474
+ #gglcptch_error {
475
+ color: #F00;
476
+ }
477
+ </style>
478
+ <script type="text/javascript">
479
+ var ajaxurl = "' . admin_url( 'admin-ajax.php' ) . '",
480
+ gglcptch_error_msg = "' . __( 'Error: You have entered an incorrect CAPTCHA value.', 'google_captcha' ) . '";
481
+ </script>';
482
+ $content .= '<div class="g-recaptcha" data-sitekey="' . $publickey . '" data-theme="' . $gglcptch_options['theme_v2'] . '"></div>
483
+ <script type="text/javascript" src="https://www.google.com/recaptcha/api.js"></script>
484
+ <noscript>
485
+ <div style="width: 302px; height: 352px;">
486
+ <div style="width: 302px; height: 352px; position: relative;">
487
+ <div style="width: 302px; height: 352px; position: absolute;">
488
+ <iframe src="https://www.google.com/recaptcha/api/fallback?k=' . $publickey . '" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"></iframe>
489
+ </div>
490
+ <div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;">
491
+ <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""></textarea>
492
+ </div>
493
+ </div>
494
+ </div>
495
+ </noscript>';
496
+ }
497
  $content .= '</div>';
498
  $gglcptch_count++;
499
  return $content;
526
  if ( ! function_exists( 'gglcptch_login_check' ) ) {
527
  function gglcptch_login_check( $redirect_to, $request, $user ) {
528
  if ( isset( $_POST['wp-submit'] ) ) {
529
+ global $gglcptch_options;
 
530
  $publickey = $gglcptch_options['public_key'];
531
  $privatekey = $gglcptch_options['private_key'];
532
 
533
  if ( ! $privatekey || ! $publickey ) {
534
  return $redirect_to;
535
  }
536
+ if ( 'v1' == $gglcptch_options['recaptcha_version'] ) {
537
+ require_once( 'lib/recaptchalib.php' );
538
+ $resp = recaptcha_check_answer( $privatekey, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
539
+
540
+ if ( ! $resp->is_valid ) {
541
+ wp_clear_auth_cookie();
542
+ wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
543
+ } else {
544
+ return $redirect_to;
545
+ }
546
  } else {
547
+ require_once( 'lib_v2/recaptchalib.php' );
548
+ $reCaptcha = new ReCaptcha( $privatekey );
549
+ $resp = $reCaptcha->verifyResponse( $_SERVER["REMOTE_ADDR"], $_POST["g-recaptcha-response"] );
550
+
551
+ if ( $resp != null && $resp->success )
552
+ return $redirect_to;
553
+ else {
554
+ wp_clear_auth_cookie();
555
+ wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
556
+ }
557
  }
558
  } else {
559
  return $redirect_to;
575
  if ( ! function_exists( 'gglcptch_lostpassword_check' ) ) {
576
  function gglcptch_lostpassword_check() {
577
  global $gglcptch_options;
 
578
  $publickey = $gglcptch_options['public_key'];
579
  $privatekey = $gglcptch_options['private_key'];
580
 
581
  if ( ! $privatekey || ! $publickey )
582
  return;
583
 
584
+ if ( 'v1' == $gglcptch_options['recaptcha_version'] ) {
585
+ require_once( 'lib/recaptchalib.php' );
586
+ $resp = recaptcha_check_answer( $privatekey, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
587
+ if ( ! $resp->is_valid ) {
588
+ wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
589
+ } else
590
+ return;
591
+ } else {
592
+ require_once( 'lib_v2/recaptchalib.php' );
593
+ $reCaptcha = new ReCaptcha( $privatekey );
594
+ $resp = $reCaptcha->verifyResponse( $_SERVER["REMOTE_ADDR"], $_POST["g-recaptcha-response"] );
595
+ if ( $resp != null && $resp->success )
596
+ return;
597
+ else
598
+ wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
599
+ }
600
+ }
601
+ }
602
+
603
+ /* display google captcha in Contact form */
604
+ if ( ! function_exists( 'gglcptch_cf_display' ) ) {
605
+ function gglcptch_cf_display() {
606
+ return gglcptch_display();
607
  }
608
  }
609
 
634
  }
635
  }
636
 
637
+ /* Check Google Captcha in shortcode and contact form */
638
+ if ( ! function_exists( 'gglcptch_captcha_check' ) ) {
639
+ function gglcptch_captcha_check() {
640
+ $gglcptch_options = get_option( 'gglcptch_options' );
641
+ $privatekey = $gglcptch_options['private_key'];
642
+
643
+ if ( 'v1' == $gglcptch_options['recaptcha_version'] ) {
644
+ require_once( 'lib/recaptchalib.php' );
645
+ $resp = recaptcha_check_answer( $privatekey, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
646
+ if ( ! $resp->is_valid )
647
+ echo "error";
648
+ else
649
+ echo "success";
650
+ } else {
651
+ require_once( 'lib_v2/recaptchalib.php' );
652
+ $reCaptcha = new ReCaptcha( $privatekey );
653
+ $resp = $reCaptcha->verifyResponse( $_SERVER["REMOTE_ADDR"], $_POST["g-recaptcha-response"] );
654
+ if ( $resp != null && $resp->success )
655
+ echo "success";
656
+ else
657
+ echo "error";
658
+ }
659
+ die();
660
+ }
661
+ }
662
+
663
  if ( ! function_exists( 'gglcptch_delete_options' ) ) {
664
  function gglcptch_delete_options() {
665
  delete_option( 'gglcptch_options' );
677
  add_filter( 'plugin_action_links', 'gglcptch_action_links', 10, 2 );
678
  add_filter( 'plugin_row_meta', 'gglcptch_links', 10, 2 );
679
 
680
+ add_action( 'wp_ajax_gglcptch_captcha_check', 'gglcptch_captcha_check' );
681
+ add_action( 'wp_ajax_nopriv_gglcptch_captcha_check', 'gglcptch_captcha_check' );
682
+
683
  register_uninstall_hook( __FILE__, 'gglcptch_delete_options' );
684
  ?>
google_captcha_check.php DELETED
@@ -1,19 +0,0 @@
1
- <?php
2
- /* Check Google Captcha in shortcode and contact form */
3
- require_once( 'lib/recaptchalib.php' );
4
- if ( defined('ABSPATH') )
5
- require_once( ABSPATH . 'wp-load.php' );
6
- else
7
- require_once( '../../../wp-load.php' );
8
- $gglcptch_options = get_option( 'gglcptch_options' );
9
- $privatekey = $gglcptch_options['private_key'];
10
- $resp = recaptcha_check_answer( $privatekey,
11
- $_SERVER['REMOTE_ADDR'],
12
- $_POST['recaptcha_challenge_field'],
13
- $_POST['recaptcha_response_field']
14
- );
15
- if ( ! $resp->is_valid )
16
- echo "error";
17
- else
18
- echo "success";
19
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
images/px.png CHANGED
File without changes
js/admin_script.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($) {
2
+ $(document).ready( function() {
3
+ $( '#gglcptch_settings_form input' ).bind( "change click select", function() {
4
+ if ( $( this ).attr( 'type' ) != 'submit' ) {
5
+ $( '.updated.fade' ).css( 'display', 'none' );
6
+ $( '#gglcptch_settings_notice' ).css( 'display', 'block' );
7
+ };
8
+ });
9
+ $( '#gglcptch_settings_form select' ).bind( "change", function() {
10
+ $( '.updated.fade' ).css( 'display', 'none' );
11
+ $( '#gglcptch_settings_notice' ).css( 'display', 'block' );
12
+ });
13
+
14
+ if ( 'v1' == $( 'input[name="gglcptch_recaptcha_version"]:checked' ).val() ) {
15
+ $( '#gglcptch_theme_v2' ).hide();
16
+ $( '#gglcptch_theme_v1' ).show();
17
+ } else {
18
+ $( '#gglcptch_theme_v2' ).show();
19
+ $( '#gglcptch_theme_v1' ).hide();
20
+ }
21
+ $( 'th .gglcptch_span' ).hide();
22
+ $( 'input[name="gglcptch_recaptcha_version"]').change( function() {
23
+ if ( 'v1' == $( this ).filter(':checked').val() ) {
24
+ $( '#gglcptch_theme_v2' ).hide();
25
+ $( '#gglcptch_theme_v1' ).show();
26
+ } else {
27
+ $( '#gglcptch_theme_v2' ).show();
28
+ $( '#gglcptch_theme_v1' ).hide();
29
+ }
30
+ });
31
+ });
32
+ })(jQuery);
js/script.js CHANGED
@@ -6,19 +6,21 @@
6
  $error.remove();
7
  }
8
  });
9
- $( 'form' ).submit(function( e ) {
10
  var $form = $( this ),
11
- $captcha = $form.find( '#recaptcha_widget_div:visible' );
 
12
  if ( $captcha.length ) {
13
  $.ajax({
14
  async : false,
15
  cache : false,
16
  type : 'POST',
17
- url : gglcptch_path,
18
  headers : {
19
  'Content-Type' : 'application/x-www-form-urlencoded'
20
  },
21
  data : {
 
22
  recaptcha_challenge_field : $( '#recaptcha_challenge_field' ).val(),
23
  recaptcha_response_field : $( '#recaptcha_response_field' ).val()
24
  },
@@ -31,9 +33,51 @@
31
  e.preventDefault ? e.preventDefault() : (e.returnValue = false);
32
  return false;
33
  }
 
 
 
 
 
 
 
 
34
  }
35
  });
36
  $( '#recaptcha_reload' ).trigger( 'click' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
38
  });
39
  });
6
  $error.remove();
7
  }
8
  });
9
+ $( 'form' ).submit( function( e ) {
10
  var $form = $( this ),
11
+ $captcha = $form.find( '#recaptcha_widget_div:visible' ),
12
+ $captcha_v2 = $form.find( '.g-recaptcha:visible' );
13
  if ( $captcha.length ) {
14
  $.ajax({
15
  async : false,
16
  cache : false,
17
  type : 'POST',
18
+ url : ajaxurl,
19
  headers : {
20
  'Content-Type' : 'application/x-www-form-urlencoded'
21
  },
22
  data : {
23
+ action: 'gglcptch_captcha_check',
24
  recaptcha_challenge_field : $( '#recaptcha_challenge_field' ).val(),
25
  recaptcha_response_field : $( '#recaptcha_response_field' ).val()
26
  },
33
  e.preventDefault ? e.preventDefault() : (e.returnValue = false);
34
  return false;
35
  }
36
+ },
37
+ error: function( request, status, error ) {
38
+ if ( $captcha.next( '#gglcptch_error' ).length == 0 ) {
39
+ $captcha.after( '<label id="gglcptch_error">' + request.status + ' ' + error + '</label>' );
40
+ }
41
+ $( '#recaptcha_reload' ).trigger( 'click' );
42
+ e.preventDefault ? e.preventDefault() : (e.returnValue = false);
43
+ return false;
44
  }
45
  });
46
  $( '#recaptcha_reload' ).trigger( 'click' );
47
+ } else if ( $captcha_v2.length ) {
48
+ $.ajax({
49
+ async : false,
50
+ cache : false,
51
+ type : 'POST',
52
+ url : ajaxurl,
53
+ headers : {
54
+ 'Content-Type' : 'application/x-www-form-urlencoded'
55
+ },
56
+ data : {
57
+ action: 'gglcptch_captcha_check',
58
+ 'g-recaptcha-response' : $form.find( '#g-recaptcha-response' ).val()
59
+ },
60
+ success : function( data ) {
61
+ if ( data == 'error' ) {
62
+ if ( $captcha_v2.next( '#gglcptch_error' ).length == 0 ) {
63
+ $captcha_v2.after( '<label id="gglcptch_error">' + gglcptch_error_msg + '</label>' );
64
+ $( "#gglcptch_error" ).fadeOut( 4000, function() {
65
+ $( "#gglcptch_error" ).remove();
66
+ });
67
+ $( 'html, body' ).animate({ scrollTop: $captcha_v2.offset().top - 50 }, 500);
68
+ }
69
+ e.preventDefault ? e.preventDefault() : (e.returnValue = false);
70
+ return false;
71
+ }
72
+ },
73
+ error: function( request, status, error ) {
74
+ if ( $captcha_v2.next( '#gglcptch_error' ).length == 0 ) {
75
+ $captcha_v2.after( '<label id="gglcptch_error">' + request.status + ' ' + error + '</label>' );
76
+ }
77
+ e.preventDefault ? e.preventDefault() : (e.returnValue = false);
78
+ return false;
79
+ }
80
+ });
81
  }
82
  });
83
  });
languages/google_captcha-es_ES.mo CHANGED
Binary file
languages/google_captcha-es_ES.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-11-27 15:00+0200\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: BestWebSoft <support@bestwebsoft.com>\n"
8
  "Language-Team: Cloudzeroxyz <cloudzeroxyz@gmail.com>\n"
9
  "Language: es_419\n"
10
  "MIME-Version: 1.0\n"
@@ -17,7 +17,8 @@ msgstr ""
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: google-captcha.php:80 google-captcha.php:277
 
21
  msgid "Google Captcha Settings"
22
  msgstr "Googe Captcha Ajustes"
23
 
@@ -30,12 +31,8 @@ msgid "requires"
30
  msgstr "requiere"
31
 
32
  #: google-captcha.php:97
33
- msgid ""
34
- "or higher, that is why it has been deactivated! Please upgrade WordPress and "
35
- "try again."
36
- msgstr ""
37
- "o superior, es por eso que ha sido desactivado! Por favor, actualice "
38
- "WordPress y vuelva a intentarlo."
39
 
40
  #: google-captcha.php:97
41
  msgid "Back to the WordPress"
@@ -45,159 +42,182 @@ msgstr "Volver a WordPress"
45
  msgid "Plugins page"
46
  msgstr "Página de Plugins"
47
 
48
- #: google-captcha.php:219
49
  msgid "Site key"
50
  msgstr ""
51
 
52
- #: google-captcha.php:224
53
  msgid "Secret Key"
54
  msgstr ""
55
 
56
- #: google-captcha.php:232
57
  msgid "Login form"
58
  msgstr "Formulario de acceso"
59
 
60
- #: google-captcha.php:233
61
  msgid "Registration form"
62
  msgstr "Formulario de registro"
63
 
64
- #: google-captcha.php:234
65
  msgid "Reset password form"
66
  msgstr "Formulario de restablecimiento de contraseña"
67
 
68
- #: google-captcha.php:235
69
  msgid "Comments form"
70
  msgstr "Formulario de comentarios"
71
 
72
- #: google-captcha.php:250
73
  #, fuzzy
74
  msgid "Enter site key"
75
  msgstr "Introduce la clave privada"
76
 
77
- #: google-captcha.php:251 google-captcha.php:257
 
78
  msgid "WARNING: The captcha will not display while you don't fill key fields."
79
- msgstr ""
80
- "ADVERTENCIA: El Captcha no se mostrará mientras usted no llene los campos "
81
- "clave."
82
 
83
- #: google-captcha.php:256
84
  #, fuzzy
85
  msgid "Enter secret key"
86
  msgstr "Introduce la clave privada"
87
 
88
- #: google-captcha.php:279 google-captcha.php:530 google-captcha.php:541
 
 
89
  msgid "Settings"
90
  msgstr "Ajustes"
91
 
92
- #: google-captcha.php:280 google-captcha.php:542
 
93
  msgid "FAQ"
94
  msgstr "Preguntas Frecuentes"
95
 
96
- #: google-captcha.php:282
 
 
 
 
 
 
 
 
97
  msgid "Settings saved"
98
  msgstr "Configuración guardada"
99
 
100
- #: google-captcha.php:284
101
- msgid ""
102
- "If you would like to add the Google Captcha to your own form, just copy and "
103
- "paste this shortcode to your post or page:"
104
- msgstr ""
105
- "Si quisiera añadir el Google Captcha para su formulario, simplemente copia y "
106
- "pega este código corto en tu post o página:"
107
 
108
- #: google-captcha.php:286
109
  msgid "Authentication"
110
  msgstr "Autentificación"
111
 
112
- #: google-captcha.php:287
113
  #, php-format
114
  msgid "Before you are able to do something, you must to register %s here %s"
115
  msgstr "Antes de que pueda hacer algo, debe registrar %s aquí %s"
116
 
117
- #: google-captcha.php:288
118
  #, fuzzy
119
  msgid "Enter site key and secret key, that you get after registration."
120
- msgstr ""
121
- "Introduzca las claves pública y privada, que se obtiene después de "
122
- "Registrarse."
123
 
124
- #: google-captcha.php:300
125
  msgid "Options"
126
  msgstr "Opciones"
127
 
128
- #: google-captcha.php:303
129
  msgid "Enable Google Captcha for:"
130
  msgstr "Habilitar Google Captcha para:"
131
 
132
- #: google-captcha.php:318 google-captcha.php:321 google-captcha.php:325
 
 
133
  msgid "Contact form"
134
  msgstr "Formulario de contacto"
135
 
136
- #: google-captcha.php:319 google-captcha.php:322 google-captcha.php:326
 
 
137
  msgid "powered by"
138
  msgstr "impulsado por"
139
 
140
- #: google-captcha.php:322
141
  msgid "Activate contact form"
142
  msgstr "Activar formulario de contacto"
143
 
144
- #: google-captcha.php:326
145
  msgid "Download contact form"
146
  msgstr "Descargar formulario de contacto"
147
 
148
- #: google-captcha.php:331
149
  msgid "Hide captcha for:"
150
  msgstr "Ocultar captcha para:"
151
 
152
- #: google-captcha.php:339
 
 
 
 
 
 
 
 
 
 
153
  msgid "Theme:"
154
  msgstr "Tema:"
155
 
156
- #: google-captcha.php:350
 
 
 
 
 
157
  msgid "Save Changes"
158
  msgstr "Guardar Cambios"
159
 
160
- #: google-captcha.php:356
161
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
162
  msgstr "Si te gusta nuestro plugin, por favor, dale 5 estrellas en WordPress"
163
 
164
- #: google-captcha.php:357
165
  msgid "Rate the plugin"
166
  msgstr "Valorar el plugin"
167
 
168
- #: google-captcha.php:360
169
  msgid "If there is something wrong about it, please contact us"
170
  msgstr "Si hay algo malo en ello, por favor ponte en contacto con nosotros"
171
 
172
- #: google-captcha.php:402
173
  msgid "To use Google Captcha you must get the keys from"
174
  msgstr "Para utilizar Google Captcha debe obtener las claves de"
175
 
176
- #: google-captcha.php:403
177
  msgid "here"
178
  msgstr "aquí"
179
 
180
- #: google-captcha.php:404
181
  msgid "and enter them on the"
182
  msgstr "e introducirlas en"
183
 
184
- #: google-captcha.php:406
185
  msgid "plugin setting page"
186
  msgstr "página de configuración de plugin"
187
 
188
- #: google-captcha.php:429
 
189
  msgid "Error: You have entered an incorrect CAPTCHA value."
190
  msgstr "Error: Ha introducido un valor incorrecto de CAPTCHA."
191
 
192
- #: google-captcha.php:480 google-captcha.php:516
193
- msgid ""
194
- "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on "
195
- "your browser, and try again."
196
- msgstr ""
197
- "Error: Ha introducido un valor incorrecto de CAPTCHA. Haga clic en el botón "
198
- "Regresar de su navegador y vuelva a intentarlo."
199
 
200
- #: google-captcha.php:543
201
  msgid "Support"
202
  msgstr "Soporte"
203
 
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-30 12:59+0300\n"
6
  "PO-Revision-Date: \n"
7
+ "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Cloudzeroxyz <cloudzeroxyz@gmail.com>\n"
9
  "Language: es_419\n"
10
  "MIME-Version: 1.0\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: google-captcha.php:80
21
+ #: google-captcha.php:282
22
  msgid "Google Captcha Settings"
23
  msgstr "Googe Captcha Ajustes"
24
 
31
  msgstr "requiere"
32
 
33
  #: google-captcha.php:97
34
+ msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
35
+ msgstr "o superior, es por eso que ha sido desactivado! Por favor, actualice WordPress y vuelva a intentarlo."
 
 
 
 
36
 
37
  #: google-captcha.php:97
38
  msgid "Back to the WordPress"
42
  msgid "Plugins page"
43
  msgstr "Página de Plugins"
44
 
45
+ #: google-captcha.php:222
46
  msgid "Site key"
47
  msgstr ""
48
 
49
+ #: google-captcha.php:227
50
  msgid "Secret Key"
51
  msgstr ""
52
 
53
+ #: google-captcha.php:235
54
  msgid "Login form"
55
  msgstr "Formulario de acceso"
56
 
57
+ #: google-captcha.php:236
58
  msgid "Registration form"
59
  msgstr "Formulario de registro"
60
 
61
+ #: google-captcha.php:237
62
  msgid "Reset password form"
63
  msgstr "Formulario de restablecimiento de contraseña"
64
 
65
+ #: google-captcha.php:238
66
  msgid "Comments form"
67
  msgstr "Formulario de comentarios"
68
 
69
+ #: google-captcha.php:253
70
  #, fuzzy
71
  msgid "Enter site key"
72
  msgstr "Introduce la clave privada"
73
 
74
+ #: google-captcha.php:254
75
+ #: google-captcha.php:260
76
  msgid "WARNING: The captcha will not display while you don't fill key fields."
77
+ msgstr "ADVERTENCIA: El Captcha no se mostrará mientras usted no llene los campos clave."
 
 
78
 
79
+ #: google-captcha.php:259
80
  #, fuzzy
81
  msgid "Enter secret key"
82
  msgstr "Introduce la clave privada"
83
 
84
+ #: google-captcha.php:284
85
+ #: google-captcha.php:618
86
+ #: google-captcha.php:629
87
  msgid "Settings"
88
  msgstr "Ajustes"
89
 
90
+ #: google-captcha.php:285
91
+ #: google-captcha.php:630
92
  msgid "FAQ"
93
  msgstr "Preguntas Frecuentes"
94
 
95
+ #: google-captcha.php:287
96
+ msgid "Notice:"
97
+ msgstr ""
98
+
99
+ #: google-captcha.php:287
100
+ msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
101
+ msgstr ""
102
+
103
+ #: google-captcha.php:288
104
  msgid "Settings saved"
105
  msgstr "Configuración guardada"
106
 
107
+ #: google-captcha.php:290
108
+ msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
109
+ msgstr "Si quisiera añadir el Google Captcha para su formulario, simplemente copia y pega este código corto en tu post o página:"
 
 
 
 
110
 
111
+ #: google-captcha.php:292
112
  msgid "Authentication"
113
  msgstr "Autentificación"
114
 
115
+ #: google-captcha.php:293
116
  #, php-format
117
  msgid "Before you are able to do something, you must to register %s here %s"
118
  msgstr "Antes de que pueda hacer algo, debe registrar %s aquí %s"
119
 
120
+ #: google-captcha.php:294
121
  #, fuzzy
122
  msgid "Enter site key and secret key, that you get after registration."
123
+ msgstr "Introduzca las claves pública y privada, que se obtiene después de Registrarse."
 
 
124
 
125
+ #: google-captcha.php:306
126
  msgid "Options"
127
  msgstr "Opciones"
128
 
129
+ #: google-captcha.php:309
130
  msgid "Enable Google Captcha for:"
131
  msgstr "Habilitar Google Captcha para:"
132
 
133
+ #: google-captcha.php:324
134
+ #: google-captcha.php:327
135
+ #: google-captcha.php:331
136
  msgid "Contact form"
137
  msgstr "Formulario de contacto"
138
 
139
+ #: google-captcha.php:325
140
+ #: google-captcha.php:328
141
+ #: google-captcha.php:332
142
  msgid "powered by"
143
  msgstr "impulsado por"
144
 
145
+ #: google-captcha.php:328
146
  msgid "Activate contact form"
147
  msgstr "Activar formulario de contacto"
148
 
149
+ #: google-captcha.php:332
150
  msgid "Download contact form"
151
  msgstr "Descargar formulario de contacto"
152
 
153
+ #: google-captcha.php:337
154
  msgid "Hide captcha for:"
155
  msgstr "Ocultar captcha para:"
156
 
157
+ #: google-captcha.php:345
158
+ msgid "reCAPTCHA version:"
159
+ msgstr ""
160
+
161
+ #: google-captcha.php:347
162
+ #: google-captcha.php:348
163
+ msgid "version"
164
+ msgstr ""
165
+
166
+ #: google-captcha.php:353
167
+ #: google-captcha.php:366
168
  msgid "Theme:"
169
  msgstr "Tema:"
170
 
171
+ #: google-captcha.php:354
172
+ #: google-captcha.php:367
173
+ msgid "for reCAPTCHA version"
174
+ msgstr ""
175
+
176
+ #: google-captcha.php:378
177
  msgid "Save Changes"
178
  msgstr "Guardar Cambios"
179
 
180
+ #: google-captcha.php:384
181
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
182
  msgstr "Si te gusta nuestro plugin, por favor, dale 5 estrellas en WordPress"
183
 
184
+ #: google-captcha.php:385
185
  msgid "Rate the plugin"
186
  msgstr "Valorar el plugin"
187
 
188
+ #: google-captcha.php:388
189
  msgid "If there is something wrong about it, please contact us"
190
  msgstr "Si hay algo malo en ello, por favor ponte en contacto con nosotros"
191
 
192
+ #: google-captcha.php:432
193
  msgid "To use Google Captcha you must get the keys from"
194
  msgstr "Para utilizar Google Captcha debe obtener las claves de"
195
 
196
+ #: google-captcha.php:433
197
  msgid "here"
198
  msgstr "aquí"
199
 
200
+ #: google-captcha.php:434
201
  msgid "and enter them on the"
202
  msgstr "e introducirlas en"
203
 
204
+ #: google-captcha.php:436
205
  msgid "plugin setting page"
206
  msgstr "página de configuración de plugin"
207
 
208
+ #: google-captcha.php:464
209
+ #: google-captcha.php:480
210
  msgid "Error: You have entered an incorrect CAPTCHA value."
211
  msgstr "Error: Ha introducido un valor incorrecto de CAPTCHA."
212
 
213
+ #: google-captcha.php:542
214
+ #: google-captcha.php:555
215
+ #: google-captcha.php:588
216
+ #: google-captcha.php:598
217
+ msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
218
+ msgstr "Error: Ha introducido un valor incorrecto de CAPTCHA. Haga clic en el botón Regresar de su navegador y vuelva a intentarlo."
 
219
 
220
+ #: google-captcha.php:631
221
  msgid "Support"
222
  msgstr "Soporte"
223
 
languages/google_captcha-pl_PL.mo CHANGED
Binary file
languages/google_captcha-pl_PL.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-11-27 15:00+0200\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: \n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
9
  "Language: pl_PL\n"
10
  "MIME-Version: 1.0\n"
@@ -14,11 +14,11 @@ msgstr ""
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "X-Generator: Poedit 1.5.7\n"
17
- "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
18
- "|| n%100>=20) ? 1 : 2);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: google-captcha.php:80 google-captcha.php:277
 
22
  msgid "Google Captcha Settings"
23
  msgstr "Ustawienia Google Captcha"
24
 
@@ -31,12 +31,8 @@ msgid "requires"
31
  msgstr "wymaga"
32
 
33
  #: google-captcha.php:97
34
- msgid ""
35
- "or higher, that is why it has been deactivated! Please upgrade WordPress and "
36
- "try again."
37
- msgstr ""
38
- "lub wersji nowszej, dlatego wtyczka jest nieaktywna! Zaktualizuj swoją "
39
- "platformę WordPress i spróbuj ponownie."
40
 
41
  #: google-captcha.php:97
42
  msgid "Back to the WordPress"
@@ -46,159 +42,182 @@ msgstr "Wróć do WordPress"
46
  msgid "Plugins page"
47
  msgstr "Strona Wtyczki"
48
 
49
- #: google-captcha.php:219
50
  msgid "Site key"
51
  msgstr ""
52
 
53
- #: google-captcha.php:224
54
  msgid "Secret Key"
55
  msgstr ""
56
 
57
- #: google-captcha.php:232
58
  msgid "Login form"
59
  msgstr "Formularz logowania"
60
 
61
- #: google-captcha.php:233
62
  msgid "Registration form"
63
  msgstr "Formularz rejestracji"
64
 
65
- #: google-captcha.php:234
66
  msgid "Reset password form"
67
  msgstr "Formularz odzyskiwania hasła"
68
 
69
- #: google-captcha.php:235
70
  msgid "Comments form"
71
  msgstr "Formularz komentarza"
72
 
73
- #: google-captcha.php:250
74
  #, fuzzy
75
  msgid "Enter site key"
76
  msgstr "Wprowadź klucz prywatny"
77
 
78
- #: google-captcha.php:251 google-captcha.php:257
 
79
  msgid "WARNING: The captcha will not display while you don't fill key fields."
80
- msgstr ""
81
- "OSTRZEŻENIE: Kod captcha nie będzie wyświetlany, jeżeli nie wprowadzisz "
82
- "kluczy."
83
 
84
- #: google-captcha.php:256
85
  #, fuzzy
86
  msgid "Enter secret key"
87
  msgstr "Wprowadź klucz prywatny"
88
 
89
- #: google-captcha.php:279 google-captcha.php:530 google-captcha.php:541
 
 
90
  msgid "Settings"
91
  msgstr "Ustawienia"
92
 
93
- #: google-captcha.php:280 google-captcha.php:542
 
94
  msgid "FAQ"
95
  msgstr "FAQ"
96
 
97
- #: google-captcha.php:282
 
 
 
 
 
 
 
 
98
  msgid "Settings saved"
99
  msgstr "Ustawienia zapisane"
100
 
101
- #: google-captcha.php:284
102
- msgid ""
103
- "If you would like to add the Google Captcha to your own form, just copy and "
104
- "paste this shortcode to your post or page:"
105
- msgstr ""
106
- "Jeżeli chcesz umieścić wtyczkę Google Captcha we własnym formularzu, po "
107
- "prostu skopiuj i wklej ten kod w swoim poście lub na swojej stronie:"
108
 
109
- #: google-captcha.php:286
110
  msgid "Authentication"
111
  msgstr "Uwierzytelnianie"
112
 
113
- #: google-captcha.php:287
114
  #, php-format
115
  msgid "Before you are able to do something, you must to register %s here %s"
116
  msgstr "Aby móc cokolwiek zrobić, musisz się zarejestrować %s tutaj %s"
117
 
118
- #: google-captcha.php:288
119
  #, fuzzy
120
  msgid "Enter site key and secret key, that you get after registration."
121
- msgstr ""
122
- "Wprowadź swój klucz publiczny i prywatny, uzyskane po dokonaniu rejestracji."
123
 
124
- #: google-captcha.php:300
125
  msgid "Options"
126
  msgstr "Opcje"
127
 
128
- #: google-captcha.php:303
129
  msgid "Enable Google Captcha for:"
130
  msgstr "Włącz Google Captcha na stronach:"
131
 
132
- #: google-captcha.php:318 google-captcha.php:321 google-captcha.php:325
 
 
133
  msgid "Contact form"
134
  msgstr "Formularz kontaktowy"
135
 
136
- #: google-captcha.php:319 google-captcha.php:322 google-captcha.php:326
 
 
137
  msgid "powered by"
138
  msgstr "opracowany przez"
139
 
140
- #: google-captcha.php:322
141
  msgid "Activate contact form"
142
  msgstr "Włącz formularz kontaktowy"
143
 
144
- #: google-captcha.php:326
145
  msgid "Download contact form"
146
  msgstr "Pobierz formularz kontaktowy"
147
 
148
- #: google-captcha.php:331
149
  msgid "Hide captcha for:"
150
  msgstr "Ukryj kod captcha dla:"
151
 
152
- #: google-captcha.php:339
 
 
 
 
 
 
 
 
 
 
153
  msgid "Theme:"
154
  msgstr "Motyw:"
155
 
156
- #: google-captcha.php:350
 
 
 
 
 
157
  msgid "Save Changes"
158
  msgstr "Zapisz zmiany"
159
 
160
- #: google-captcha.php:356
161
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
162
- msgstr ""
163
- "Jeżeli podoba Ci się nasza wtyczka, oceń ją 5 gwiazdkami w witrynie WordPress"
164
 
165
- #: google-captcha.php:357
166
  msgid "Rate the plugin"
167
  msgstr "Oceń wtyczkę"
168
 
169
- #: google-captcha.php:360
170
  msgid "If there is something wrong about it, please contact us"
171
  msgstr "Jeżeli coś Ci się w niej nie podoba, skontaktuj się z nami"
172
 
173
- #: google-captcha.php:402
174
  msgid "To use Google Captcha you must get the keys from"
175
  msgstr "Aby korzystać z Google Captcha, musisz najpierw uzyskać klucze"
176
 
177
- #: google-captcha.php:403
178
  msgid "here"
179
  msgstr "stąd"
180
 
181
- #: google-captcha.php:404
182
  msgid "and enter them on the"
183
  msgstr "i wprowadzić je na"
184
 
185
- #: google-captcha.php:406
186
  msgid "plugin setting page"
187
  msgstr "stronie ustawień wtyczki"
188
 
189
- #: google-captcha.php:429
 
190
  msgid "Error: You have entered an incorrect CAPTCHA value."
191
  msgstr "Błąd: wprowadzono nieprawidłowy kod CAPTCHA."
192
 
193
- #: google-captcha.php:480 google-captcha.php:516
194
- msgid ""
195
- "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on "
196
- "your browser, and try again."
197
- msgstr ""
198
- "Błąd: wprowadzono nieprawidłowy kod CAPTCHA. Kliknij przycisk WSTECZ na "
199
- "pasku przeglądarki i spróbuj ponownie."
200
 
201
- #: google-captcha.php:543
202
  msgid "Support"
203
  msgstr "Wsparcie"
204
 
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-30 13:00+0300\n"
6
  "PO-Revision-Date: \n"
7
+ "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
9
  "Language: pl_PL\n"
10
  "MIME-Version: 1.0\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "X-Generator: Poedit 1.5.7\n"
17
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: google-captcha.php:80
21
+ #: google-captcha.php:282
22
  msgid "Google Captcha Settings"
23
  msgstr "Ustawienia Google Captcha"
24
 
31
  msgstr "wymaga"
32
 
33
  #: google-captcha.php:97
34
+ msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
35
+ msgstr "lub wersji nowszej, dlatego wtyczka jest nieaktywna! Zaktualizuj swoją platformę WordPress i spróbuj ponownie."
 
 
 
 
36
 
37
  #: google-captcha.php:97
38
  msgid "Back to the WordPress"
42
  msgid "Plugins page"
43
  msgstr "Strona Wtyczki"
44
 
45
+ #: google-captcha.php:222
46
  msgid "Site key"
47
  msgstr ""
48
 
49
+ #: google-captcha.php:227
50
  msgid "Secret Key"
51
  msgstr ""
52
 
53
+ #: google-captcha.php:235
54
  msgid "Login form"
55
  msgstr "Formularz logowania"
56
 
57
+ #: google-captcha.php:236
58
  msgid "Registration form"
59
  msgstr "Formularz rejestracji"
60
 
61
+ #: google-captcha.php:237
62
  msgid "Reset password form"
63
  msgstr "Formularz odzyskiwania hasła"
64
 
65
+ #: google-captcha.php:238
66
  msgid "Comments form"
67
  msgstr "Formularz komentarza"
68
 
69
+ #: google-captcha.php:253
70
  #, fuzzy
71
  msgid "Enter site key"
72
  msgstr "Wprowadź klucz prywatny"
73
 
74
+ #: google-captcha.php:254
75
+ #: google-captcha.php:260
76
  msgid "WARNING: The captcha will not display while you don't fill key fields."
77
+ msgstr "OSTRZEŻENIE: Kod captcha nie będzie wyświetlany, jeżeli nie wprowadzisz kluczy."
 
 
78
 
79
+ #: google-captcha.php:259
80
  #, fuzzy
81
  msgid "Enter secret key"
82
  msgstr "Wprowadź klucz prywatny"
83
 
84
+ #: google-captcha.php:284
85
+ #: google-captcha.php:618
86
+ #: google-captcha.php:629
87
  msgid "Settings"
88
  msgstr "Ustawienia"
89
 
90
+ #: google-captcha.php:285
91
+ #: google-captcha.php:630
92
  msgid "FAQ"
93
  msgstr "FAQ"
94
 
95
+ #: google-captcha.php:287
96
+ msgid "Notice:"
97
+ msgstr ""
98
+
99
+ #: google-captcha.php:287
100
+ msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
101
+ msgstr ""
102
+
103
+ #: google-captcha.php:288
104
  msgid "Settings saved"
105
  msgstr "Ustawienia zapisane"
106
 
107
+ #: google-captcha.php:290
108
+ msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
109
+ msgstr "Jeżeli chcesz umieścić wtyczkę Google Captcha we własnym formularzu, po prostu skopiuj i wklej ten kod w swoim poście lub na swojej stronie:"
 
 
 
 
110
 
111
+ #: google-captcha.php:292
112
  msgid "Authentication"
113
  msgstr "Uwierzytelnianie"
114
 
115
+ #: google-captcha.php:293
116
  #, php-format
117
  msgid "Before you are able to do something, you must to register %s here %s"
118
  msgstr "Aby móc cokolwiek zrobić, musisz się zarejestrować %s tutaj %s"
119
 
120
+ #: google-captcha.php:294
121
  #, fuzzy
122
  msgid "Enter site key and secret key, that you get after registration."
123
+ msgstr "Wprowadź swój klucz publiczny i prywatny, uzyskane po dokonaniu rejestracji."
 
124
 
125
+ #: google-captcha.php:306
126
  msgid "Options"
127
  msgstr "Opcje"
128
 
129
+ #: google-captcha.php:309
130
  msgid "Enable Google Captcha for:"
131
  msgstr "Włącz Google Captcha na stronach:"
132
 
133
+ #: google-captcha.php:324
134
+ #: google-captcha.php:327
135
+ #: google-captcha.php:331
136
  msgid "Contact form"
137
  msgstr "Formularz kontaktowy"
138
 
139
+ #: google-captcha.php:325
140
+ #: google-captcha.php:328
141
+ #: google-captcha.php:332
142
  msgid "powered by"
143
  msgstr "opracowany przez"
144
 
145
+ #: google-captcha.php:328
146
  msgid "Activate contact form"
147
  msgstr "Włącz formularz kontaktowy"
148
 
149
+ #: google-captcha.php:332
150
  msgid "Download contact form"
151
  msgstr "Pobierz formularz kontaktowy"
152
 
153
+ #: google-captcha.php:337
154
  msgid "Hide captcha for:"
155
  msgstr "Ukryj kod captcha dla:"
156
 
157
+ #: google-captcha.php:345
158
+ msgid "reCAPTCHA version:"
159
+ msgstr ""
160
+
161
+ #: google-captcha.php:347
162
+ #: google-captcha.php:348
163
+ msgid "version"
164
+ msgstr ""
165
+
166
+ #: google-captcha.php:353
167
+ #: google-captcha.php:366
168
  msgid "Theme:"
169
  msgstr "Motyw:"
170
 
171
+ #: google-captcha.php:354
172
+ #: google-captcha.php:367
173
+ msgid "for reCAPTCHA version"
174
+ msgstr ""
175
+
176
+ #: google-captcha.php:378
177
  msgid "Save Changes"
178
  msgstr "Zapisz zmiany"
179
 
180
+ #: google-captcha.php:384
181
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
182
+ msgstr "Jeżeli podoba Ci się nasza wtyczka, oceń ją 5 gwiazdkami w witrynie WordPress"
 
183
 
184
+ #: google-captcha.php:385
185
  msgid "Rate the plugin"
186
  msgstr "Oceń wtyczkę"
187
 
188
+ #: google-captcha.php:388
189
  msgid "If there is something wrong about it, please contact us"
190
  msgstr "Jeżeli coś Ci się w niej nie podoba, skontaktuj się z nami"
191
 
192
+ #: google-captcha.php:432
193
  msgid "To use Google Captcha you must get the keys from"
194
  msgstr "Aby korzystać z Google Captcha, musisz najpierw uzyskać klucze"
195
 
196
+ #: google-captcha.php:433
197
  msgid "here"
198
  msgstr "stąd"
199
 
200
+ #: google-captcha.php:434
201
  msgid "and enter them on the"
202
  msgstr "i wprowadzić je na"
203
 
204
+ #: google-captcha.php:436
205
  msgid "plugin setting page"
206
  msgstr "stronie ustawień wtyczki"
207
 
208
+ #: google-captcha.php:464
209
+ #: google-captcha.php:480
210
  msgid "Error: You have entered an incorrect CAPTCHA value."
211
  msgstr "Błąd: wprowadzono nieprawidłowy kod CAPTCHA."
212
 
213
+ #: google-captcha.php:542
214
+ #: google-captcha.php:555
215
+ #: google-captcha.php:588
216
+ #: google-captcha.php:598
217
+ msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
218
+ msgstr "Błąd: wprowadzono nieprawidłowy kod CAPTCHA. Kliknij przycisk WSTECZ na pasku przeglądarki i spróbuj ponownie."
 
219
 
220
+ #: google-captcha.php:631
221
  msgid "Support"
222
  msgstr "Wsparcie"
223
 
languages/google_captcha-pt_BR.mo CHANGED
Binary file
languages/google_captcha-pt_BR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-11-27 15:00+0200\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Elton Peetz Prado <epeetz@gmail.com>\n"
@@ -17,7 +17,8 @@ msgstr ""
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: google-captcha.php:80 google-captcha.php:277
 
21
  msgid "Google Captcha Settings"
22
  msgstr "Configurações Google Captcha"
23
 
@@ -30,12 +31,8 @@ msgid "requires"
30
  msgstr "obrigatório"
31
 
32
  #: google-captcha.php:97
33
- msgid ""
34
- "or higher, that is why it has been deactivated! Please upgrade WordPress and "
35
- "try again."
36
- msgstr ""
37
- "ou superior, é por isso que ele foi desativado! Por favor, atualize "
38
- "WordPress e tente novamente."
39
 
40
  #: google-captcha.php:97
41
  msgid "Back to the WordPress"
@@ -45,159 +42,185 @@ msgstr "Voltar ao WordPress"
45
  msgid "Plugins page"
46
  msgstr "Página de plugins"
47
 
48
- #: google-captcha.php:219
49
  #, fuzzy
50
  msgid "Site key"
51
  msgstr "URL do site"
52
 
53
- #: google-captcha.php:224
54
  msgid "Secret Key"
55
  msgstr ""
56
 
57
- #: google-captcha.php:232
58
  msgid "Login form"
59
  msgstr "Formulário de login"
60
 
61
- #: google-captcha.php:233
62
  msgid "Registration form"
63
  msgstr "Formulário de registro"
64
 
65
- #: google-captcha.php:234
66
  msgid "Reset password form"
67
  msgstr "Formulário de alterar senha"
68
 
69
- #: google-captcha.php:235
70
  msgid "Comments form"
71
  msgstr "Fomulário de comentários"
72
 
73
- #: google-captcha.php:250
74
  #, fuzzy
75
  msgid "Enter site key"
76
  msgstr "Digite a chave privada"
77
 
78
- #: google-captcha.php:251 google-captcha.php:257
 
79
  msgid "WARNING: The captcha will not display while you don't fill key fields."
80
- msgstr ""
81
- "AVISO: O captcha não será exibido enquanto você não preencher os campos-"
82
- "chave."
83
 
84
- #: google-captcha.php:256
85
  #, fuzzy
86
  msgid "Enter secret key"
87
  msgstr "Digite a chave privada"
88
 
89
- #: google-captcha.php:279 google-captcha.php:530 google-captcha.php:541
 
 
90
  msgid "Settings"
91
  msgstr "Configurações"
92
 
93
- #: google-captcha.php:280 google-captcha.php:542
 
94
  msgid "FAQ"
95
  msgstr "FAQ"
96
 
97
- #: google-captcha.php:282
 
 
 
 
 
 
 
 
98
  msgid "Settings saved"
99
  msgstr "Configurações salvas"
100
 
101
- #: google-captcha.php:284
102
- msgid ""
103
- "If you would like to add the Google Captcha to your own form, just copy and "
104
- "paste this shortcode to your post or page:"
105
- msgstr ""
106
- "Se você quiser adicionar o Google Captcha para seu próprio formulário, basta "
107
- "copiar e colar este shortcode para o seu post ou página:"
108
 
109
- #: google-captcha.php:286
110
  msgid "Authentication"
111
  msgstr "Autenticação"
112
 
113
- #: google-captcha.php:287
114
  #, php-format
115
  msgid "Before you are able to do something, you must to register %s here %s"
116
  msgstr "Antes de você fazer alguma coisa, deve se registrar %s aqui %s"
117
 
118
- #: google-captcha.php:288
119
  #, fuzzy
120
  msgid "Enter site key and secret key, that you get after registration."
121
  msgstr "Digite as chaves públicas e privadas, que você recebe após o registro."
122
 
123
- #: google-captcha.php:300
124
  msgid "Options"
125
  msgstr "Opções"
126
 
127
- #: google-captcha.php:303
128
  msgid "Enable Google Captcha for:"
129
  msgstr "Ativar Google Captcha para:"
130
 
131
- #: google-captcha.php:318 google-captcha.php:321 google-captcha.php:325
 
 
132
  msgid "Contact form"
133
  msgstr "Formulário de contato"
134
 
135
- #: google-captcha.php:319 google-captcha.php:322 google-captcha.php:326
 
 
136
  msgid "powered by"
137
  msgstr "distribuído por"
138
 
139
- #: google-captcha.php:322
140
  msgid "Activate contact form"
141
  msgstr "Ativar formulário de contato"
142
 
143
- #: google-captcha.php:326
144
  msgid "Download contact form"
145
  msgstr "Baixar formulário de contato"
146
 
147
- #: google-captcha.php:331
148
  msgid "Hide captcha for:"
149
  msgstr "Esconder captcha para:"
150
 
151
- #: google-captcha.php:339
 
 
 
 
 
 
 
 
 
 
 
 
152
  msgid "Theme:"
153
  msgstr "Tema:"
154
 
155
- #: google-captcha.php:350
 
 
 
 
 
156
  msgid "Save Changes"
157
  msgstr "Salvar alterações"
158
 
159
- #: google-captcha.php:356
160
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
161
- msgstr ""
162
- "Se você gostar de nosso plugin, por favor, dê-lhe 5 estrelas em WordPress"
163
 
164
- #: google-captcha.php:357
165
  msgid "Rate the plugin"
166
  msgstr "Classifique o plugin"
167
 
168
- #: google-captcha.php:360
169
  msgid "If there is something wrong about it, please contact us"
170
  msgstr "Se há algo de errado com isso, por favor, entre em contato conosco"
171
 
172
- #: google-captcha.php:402
173
  msgid "To use Google Captcha you must get the keys from"
174
  msgstr "Para usar o Google Captcha é necessário obter as chaves de"
175
 
176
- #: google-captcha.php:403
177
  msgid "here"
178
  msgstr "aqui"
179
 
180
- #: google-captcha.php:404
181
  msgid "and enter them on the"
182
  msgstr "e inserí-los no"
183
 
184
- #: google-captcha.php:406
185
  msgid "plugin setting page"
186
  msgstr "página de configuração do plugin"
187
 
188
- #: google-captcha.php:429
 
189
  msgid "Error: You have entered an incorrect CAPTCHA value."
190
  msgstr "Erro: Você digitou um CAPTCHA com valor incorreto."
191
 
192
- #: google-captcha.php:480 google-captcha.php:516
193
- msgid ""
194
- "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on "
195
- "your browser, and try again."
196
- msgstr ""
197
- "Erro: Você digitou um CAPTCHA com valor incorreto. Clique no botão Voltar do "
198
- "seu navegador e tente novamente."
199
 
200
- #: google-captcha.php:543
201
  msgid "Support"
202
  msgstr "Suporte"
203
 
@@ -246,9 +269,6 @@ msgstr "Suporte"
246
  #~ msgid "SQL Mode"
247
  #~ msgstr "Modo SQL"
248
 
249
- #~ msgid "PHP Version"
250
- #~ msgstr "Versão do PHP"
251
-
252
  #~ msgid "PHP Safe Mode"
253
  #~ msgstr "PHP Safe Mode"
254
 
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-30 13:00+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Elton Peetz Prado <epeetz@gmail.com>\n"
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: google-captcha.php:80
21
+ #: google-captcha.php:282
22
  msgid "Google Captcha Settings"
23
  msgstr "Configurações Google Captcha"
24
 
31
  msgstr "obrigatório"
32
 
33
  #: google-captcha.php:97
34
+ msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
35
+ msgstr "ou superior, é por isso que ele foi desativado! Por favor, atualize WordPress e tente novamente."
 
 
 
 
36
 
37
  #: google-captcha.php:97
38
  msgid "Back to the WordPress"
42
  msgid "Plugins page"
43
  msgstr "Página de plugins"
44
 
45
+ #: google-captcha.php:222
46
  #, fuzzy
47
  msgid "Site key"
48
  msgstr "URL do site"
49
 
50
+ #: google-captcha.php:227
51
  msgid "Secret Key"
52
  msgstr ""
53
 
54
+ #: google-captcha.php:235
55
  msgid "Login form"
56
  msgstr "Formulário de login"
57
 
58
+ #: google-captcha.php:236
59
  msgid "Registration form"
60
  msgstr "Formulário de registro"
61
 
62
+ #: google-captcha.php:237
63
  msgid "Reset password form"
64
  msgstr "Formulário de alterar senha"
65
 
66
+ #: google-captcha.php:238
67
  msgid "Comments form"
68
  msgstr "Fomulário de comentários"
69
 
70
+ #: google-captcha.php:253
71
  #, fuzzy
72
  msgid "Enter site key"
73
  msgstr "Digite a chave privada"
74
 
75
+ #: google-captcha.php:254
76
+ #: google-captcha.php:260
77
  msgid "WARNING: The captcha will not display while you don't fill key fields."
78
+ msgstr "AVISO: O captcha não será exibido enquanto você não preencher os campos-chave."
 
 
79
 
80
+ #: google-captcha.php:259
81
  #, fuzzy
82
  msgid "Enter secret key"
83
  msgstr "Digite a chave privada"
84
 
85
+ #: google-captcha.php:284
86
+ #: google-captcha.php:618
87
+ #: google-captcha.php:629
88
  msgid "Settings"
89
  msgstr "Configurações"
90
 
91
+ #: google-captcha.php:285
92
+ #: google-captcha.php:630
93
  msgid "FAQ"
94
  msgstr "FAQ"
95
 
96
+ #: google-captcha.php:287
97
+ msgid "Notice:"
98
+ msgstr ""
99
+
100
+ #: google-captcha.php:287
101
+ msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
102
+ msgstr ""
103
+
104
+ #: google-captcha.php:288
105
  msgid "Settings saved"
106
  msgstr "Configurações salvas"
107
 
108
+ #: google-captcha.php:290
109
+ msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
110
+ msgstr "Se você quiser adicionar o Google Captcha para seu próprio formulário, basta copiar e colar este shortcode para o seu post ou página:"
 
 
 
 
111
 
112
+ #: google-captcha.php:292
113
  msgid "Authentication"
114
  msgstr "Autenticação"
115
 
116
+ #: google-captcha.php:293
117
  #, php-format
118
  msgid "Before you are able to do something, you must to register %s here %s"
119
  msgstr "Antes de você fazer alguma coisa, deve se registrar %s aqui %s"
120
 
121
+ #: google-captcha.php:294
122
  #, fuzzy
123
  msgid "Enter site key and secret key, that you get after registration."
124
  msgstr "Digite as chaves públicas e privadas, que você recebe após o registro."
125
 
126
+ #: google-captcha.php:306
127
  msgid "Options"
128
  msgstr "Opções"
129
 
130
+ #: google-captcha.php:309
131
  msgid "Enable Google Captcha for:"
132
  msgstr "Ativar Google Captcha para:"
133
 
134
+ #: google-captcha.php:324
135
+ #: google-captcha.php:327
136
+ #: google-captcha.php:331
137
  msgid "Contact form"
138
  msgstr "Formulário de contato"
139
 
140
+ #: google-captcha.php:325
141
+ #: google-captcha.php:328
142
+ #: google-captcha.php:332
143
  msgid "powered by"
144
  msgstr "distribuído por"
145
 
146
+ #: google-captcha.php:328
147
  msgid "Activate contact form"
148
  msgstr "Ativar formulário de contato"
149
 
150
+ #: google-captcha.php:332
151
  msgid "Download contact form"
152
  msgstr "Baixar formulário de contato"
153
 
154
+ #: google-captcha.php:337
155
  msgid "Hide captcha for:"
156
  msgstr "Esconder captcha para:"
157
 
158
+ #: google-captcha.php:345
159
+ #, fuzzy
160
+ msgid "reCAPTCHA version:"
161
+ msgstr "Versão do PHP"
162
+
163
+ #: google-captcha.php:347
164
+ #: google-captcha.php:348
165
+ #, fuzzy
166
+ msgid "version"
167
+ msgstr "Versão do PHP"
168
+
169
+ #: google-captcha.php:353
170
+ #: google-captcha.php:366
171
  msgid "Theme:"
172
  msgstr "Tema:"
173
 
174
+ #: google-captcha.php:354
175
+ #: google-captcha.php:367
176
+ msgid "for reCAPTCHA version"
177
+ msgstr ""
178
+
179
+ #: google-captcha.php:378
180
  msgid "Save Changes"
181
  msgstr "Salvar alterações"
182
 
183
+ #: google-captcha.php:384
184
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
185
+ msgstr "Se você gostar de nosso plugin, por favor, dê-lhe 5 estrelas em WordPress"
 
186
 
187
+ #: google-captcha.php:385
188
  msgid "Rate the plugin"
189
  msgstr "Classifique o plugin"
190
 
191
+ #: google-captcha.php:388
192
  msgid "If there is something wrong about it, please contact us"
193
  msgstr "Se há algo de errado com isso, por favor, entre em contato conosco"
194
 
195
+ #: google-captcha.php:432
196
  msgid "To use Google Captcha you must get the keys from"
197
  msgstr "Para usar o Google Captcha é necessário obter as chaves de"
198
 
199
+ #: google-captcha.php:433
200
  msgid "here"
201
  msgstr "aqui"
202
 
203
+ #: google-captcha.php:434
204
  msgid "and enter them on the"
205
  msgstr "e inserí-los no"
206
 
207
+ #: google-captcha.php:436
208
  msgid "plugin setting page"
209
  msgstr "página de configuração do plugin"
210
 
211
+ #: google-captcha.php:464
212
+ #: google-captcha.php:480
213
  msgid "Error: You have entered an incorrect CAPTCHA value."
214
  msgstr "Erro: Você digitou um CAPTCHA com valor incorreto."
215
 
216
+ #: google-captcha.php:542
217
+ #: google-captcha.php:555
218
+ #: google-captcha.php:588
219
+ #: google-captcha.php:598
220
+ msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
221
+ msgstr "Erro: Você digitou um CAPTCHA com valor incorreto. Clique no botão Voltar do seu navegador e tente novamente."
 
222
 
223
+ #: google-captcha.php:631
224
  msgid "Support"
225
  msgstr "Suporte"
226
 
269
  #~ msgid "SQL Mode"
270
  #~ msgstr "Modo SQL"
271
 
 
 
 
272
  #~ msgid "PHP Safe Mode"
273
  #~ msgstr "PHP Safe Mode"
274
 
languages/google_captcha-ru_RU.mo CHANGED
Binary file
languages/google_captcha-ru_RU.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-11-27 15:00+0200\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
@@ -16,7 +16,8 @@ msgstr ""
16
  "X-Generator: Poedit 1.5.7\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: google-captcha.php:80 google-captcha.php:277
 
20
  msgid "Google Captcha Settings"
21
  msgstr "Настройки Google Captcha"
22
 
@@ -29,12 +30,8 @@ msgid "requires"
29
  msgstr "требует"
30
 
31
  #: google-captcha.php:97
32
- msgid ""
33
- "or higher, that is why it has been deactivated! Please upgrade WordPress and "
34
- "try again."
35
- msgstr ""
36
- "или выше, поэтому плагин был деактивирован! Обновите WordPress и повторите "
37
- "попытку."
38
 
39
  #: google-captcha.php:97
40
  msgid "Back to the WordPress"
@@ -44,157 +41,179 @@ msgstr "Вернуться назад на WordPress"
44
  msgid "Plugins page"
45
  msgstr "Страницу плагинов"
46
 
47
- #: google-captcha.php:219
48
  msgid "Site key"
49
  msgstr "Ключ"
50
 
51
- #: google-captcha.php:224
52
  msgid "Secret Key"
53
  msgstr "Секретный ключ"
54
 
55
- #: google-captcha.php:232
56
  msgid "Login form"
57
  msgstr "Форма логина"
58
 
59
- #: google-captcha.php:233
60
  msgid "Registration form"
61
  msgstr "Форма регистрации"
62
 
63
- #: google-captcha.php:234
64
  msgid "Reset password form"
65
  msgstr "Форма восстановления пароля"
66
 
67
- #: google-captcha.php:235
68
  msgid "Comments form"
69
  msgstr "Форма комментариев"
70
 
71
- #: google-captcha.php:250
72
  msgid "Enter site key"
73
  msgstr "Введите ключ"
74
 
75
- #: google-captcha.php:251 google-captcha.php:257
 
76
  msgid "WARNING: The captcha will not display while you don't fill key fields."
77
- msgstr ""
78
- "ПРЕДУПРЕЖДЕНИЕ: Google Captcha не будет отображаться пока вы не заполните "
79
- "ключевые поля."
80
 
81
- #: google-captcha.php:256
82
  msgid "Enter secret key"
83
  msgstr "Введите секретный ключ"
84
 
85
- #: google-captcha.php:279 google-captcha.php:530 google-captcha.php:541
 
 
86
  msgid "Settings"
87
  msgstr "Настройки"
88
 
89
- #: google-captcha.php:280 google-captcha.php:542
 
90
  msgid "FAQ"
91
  msgstr "FAQ"
92
 
93
- #: google-captcha.php:282
 
 
 
 
 
 
 
 
94
  msgid "Settings saved"
95
  msgstr "Настройки сохранены"
96
 
97
- #: google-captcha.php:284
98
- msgid ""
99
- "If you would like to add the Google Captcha to your own form, just copy and "
100
- "paste this shortcode to your post or page:"
101
- msgstr ""
102
- "Если вы хотите добавить Google Captcha в свою форму, просто скопируйте и "
103
- "вставьте в контент страницы или поста этот шорткод:"
104
 
105
- #: google-captcha.php:286
106
  msgid "Authentication"
107
  msgstr "Идентификация"
108
 
109
- #: google-captcha.php:287
110
  #, php-format
111
  msgid "Before you are able to do something, you must to register %s here %s"
112
- msgstr ""
113
- "Прежде чем вы сможете сделать что-нибудь, вы должны зарегистрироваться %s "
114
- "здесь %s"
115
 
116
- #: google-captcha.php:288
117
  msgid "Enter site key and secret key, that you get after registration."
118
  msgstr "Введите ключ и секретный ключ, которые вы получили после регистрации."
119
 
120
- #: google-captcha.php:300
121
  msgid "Options"
122
  msgstr "Опции"
123
 
124
- #: google-captcha.php:303
125
  msgid "Enable Google Captcha for:"
126
  msgstr "Отображать Google Captcha для:"
127
 
128
- #: google-captcha.php:318 google-captcha.php:321 google-captcha.php:325
 
 
129
  msgid "Contact form"
130
  msgstr "Contact form"
131
 
132
- #: google-captcha.php:319 google-captcha.php:322 google-captcha.php:326
 
 
133
  msgid "powered by"
134
  msgstr "разработано компанией"
135
 
136
- #: google-captcha.php:322
137
  msgid "Activate contact form"
138
  msgstr "Активировать Contact form"
139
 
140
- #: google-captcha.php:326
141
  msgid "Download contact form"
142
  msgstr "Скачать Contact form"
143
 
144
- #: google-captcha.php:331
145
  msgid "Hide captcha for:"
146
  msgstr "Не показывать Google Captcha для:"
147
 
148
- #: google-captcha.php:339
 
 
 
 
 
 
 
 
 
 
149
  msgid "Theme:"
150
  msgstr "Тема:"
151
 
152
- #: google-captcha.php:350
 
 
 
 
 
153
  msgid "Save Changes"
154
  msgstr "Сохранить изменения"
155
 
156
- #: google-captcha.php:356
157
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
158
- msgstr ""
159
- "Если вам понравился плагин, пожалуйста, поставте нам 5 звезд на WordPress"
160
 
161
- #: google-captcha.php:357
162
  msgid "Rate the plugin"
163
  msgstr "Оценить плагин"
164
 
165
- #: google-captcha.php:360
166
  msgid "If there is something wrong about it, please contact us"
167
  msgstr "Если у вас есть какие-то вопросы, обращайтесь"
168
 
169
- #: google-captcha.php:402
170
  msgid "To use Google Captcha you must get the keys from"
171
  msgstr "Чтобы использовать Google Captcha вам необходимо получить ключи"
172
 
173
- #: google-captcha.php:403
174
  msgid "here"
175
  msgstr "здесь"
176
 
177
- #: google-captcha.php:404
178
  msgid "and enter them on the"
179
  msgstr "и вставить их на"
180
 
181
- #: google-captcha.php:406
182
  msgid "plugin setting page"
183
  msgstr "страницу настроек плагина"
184
 
185
- #: google-captcha.php:429
 
186
  msgid "Error: You have entered an incorrect CAPTCHA value."
187
  msgstr "Ошибка: Вы ввели неверное значение Captcha."
188
 
189
- #: google-captcha.php:480 google-captcha.php:516
190
- msgid ""
191
- "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on "
192
- "your browser, and try again."
193
- msgstr ""
194
- "Ошибка: Вы ввели неверное значение Captcha. Нажмите копку НАЗАД в своем "
195
- "браузере и попытайтесь еще."
196
 
197
- #: google-captcha.php:543
198
  msgid "Support"
199
  msgstr "Поддержка"
200
 
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-30 13:00+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
16
  "X-Generator: Poedit 1.5.7\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: google-captcha.php:80
20
+ #: google-captcha.php:282
21
  msgid "Google Captcha Settings"
22
  msgstr "Настройки Google Captcha"
23
 
30
  msgstr "требует"
31
 
32
  #: google-captcha.php:97
33
+ msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
34
+ msgstr "или выше, поэтому плагин был деактивирован! Обновите WordPress и повторите попытку."
 
 
 
 
35
 
36
  #: google-captcha.php:97
37
  msgid "Back to the WordPress"
41
  msgid "Plugins page"
42
  msgstr "Страницу плагинов"
43
 
44
+ #: google-captcha.php:222
45
  msgid "Site key"
46
  msgstr "Ключ"
47
 
48
+ #: google-captcha.php:227
49
  msgid "Secret Key"
50
  msgstr "Секретный ключ"
51
 
52
+ #: google-captcha.php:235
53
  msgid "Login form"
54
  msgstr "Форма логина"
55
 
56
+ #: google-captcha.php:236
57
  msgid "Registration form"
58
  msgstr "Форма регистрации"
59
 
60
+ #: google-captcha.php:237
61
  msgid "Reset password form"
62
  msgstr "Форма восстановления пароля"
63
 
64
+ #: google-captcha.php:238
65
  msgid "Comments form"
66
  msgstr "Форма комментариев"
67
 
68
+ #: google-captcha.php:253
69
  msgid "Enter site key"
70
  msgstr "Введите ключ"
71
 
72
+ #: google-captcha.php:254
73
+ #: google-captcha.php:260
74
  msgid "WARNING: The captcha will not display while you don't fill key fields."
75
+ msgstr "ПРЕДУПРЕЖДЕНИЕ: Google Captcha не будет отображаться пока вы не заполните ключевые поля."
 
 
76
 
77
+ #: google-captcha.php:259
78
  msgid "Enter secret key"
79
  msgstr "Введите секретный ключ"
80
 
81
+ #: google-captcha.php:284
82
+ #: google-captcha.php:618
83
+ #: google-captcha.php:629
84
  msgid "Settings"
85
  msgstr "Настройки"
86
 
87
+ #: google-captcha.php:285
88
+ #: google-captcha.php:630
89
  msgid "FAQ"
90
  msgstr "FAQ"
91
 
92
+ #: google-captcha.php:287
93
+ msgid "Notice:"
94
+ msgstr "Обратите внимание:"
95
+
96
+ #: google-captcha.php:287
97
+ msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
98
+ msgstr "Настройки плагина были изменены. Для того, чтобы сохранить их, пожалуйста, не забудьте нажать кнопку 'Сохранить изменения'."
99
+
100
+ #: google-captcha.php:288
101
  msgid "Settings saved"
102
  msgstr "Настройки сохранены"
103
 
104
+ #: google-captcha.php:290
105
+ msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
106
+ msgstr "Если вы хотите добавить Google Captcha в свою форму, просто скопируйте и вставьте в контент страницы или поста этот шорткод:"
 
 
 
 
107
 
108
+ #: google-captcha.php:292
109
  msgid "Authentication"
110
  msgstr "Идентификация"
111
 
112
+ #: google-captcha.php:293
113
  #, php-format
114
  msgid "Before you are able to do something, you must to register %s here %s"
115
+ msgstr "Прежде чем вы сможете сделать что-нибудь, вы должны зарегистрироваться %s здесь %s"
 
 
116
 
117
+ #: google-captcha.php:294
118
  msgid "Enter site key and secret key, that you get after registration."
119
  msgstr "Введите ключ и секретный ключ, которые вы получили после регистрации."
120
 
121
+ #: google-captcha.php:306
122
  msgid "Options"
123
  msgstr "Опции"
124
 
125
+ #: google-captcha.php:309
126
  msgid "Enable Google Captcha for:"
127
  msgstr "Отображать Google Captcha для:"
128
 
129
+ #: google-captcha.php:324
130
+ #: google-captcha.php:327
131
+ #: google-captcha.php:331
132
  msgid "Contact form"
133
  msgstr "Contact form"
134
 
135
+ #: google-captcha.php:325
136
+ #: google-captcha.php:328
137
+ #: google-captcha.php:332
138
  msgid "powered by"
139
  msgstr "разработано компанией"
140
 
141
+ #: google-captcha.php:328
142
  msgid "Activate contact form"
143
  msgstr "Активировать Contact form"
144
 
145
+ #: google-captcha.php:332
146
  msgid "Download contact form"
147
  msgstr "Скачать Contact form"
148
 
149
+ #: google-captcha.php:337
150
  msgid "Hide captcha for:"
151
  msgstr "Не показывать Google Captcha для:"
152
 
153
+ #: google-captcha.php:345
154
+ msgid "reCAPTCHA version:"
155
+ msgstr "Версия reCAPTCHA:"
156
+
157
+ #: google-captcha.php:347
158
+ #: google-captcha.php:348
159
+ msgid "version"
160
+ msgstr "версия"
161
+
162
+ #: google-captcha.php:353
163
+ #: google-captcha.php:366
164
  msgid "Theme:"
165
  msgstr "Тема:"
166
 
167
+ #: google-captcha.php:354
168
+ #: google-captcha.php:367
169
+ msgid "for reCAPTCHA version"
170
+ msgstr "для reCAPTCHA версии"
171
+
172
+ #: google-captcha.php:378
173
  msgid "Save Changes"
174
  msgstr "Сохранить изменения"
175
 
176
+ #: google-captcha.php:384
177
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
178
+ msgstr "Если вам понравился плагин, пожалуйста, поставте нам 5 звезд на WordPress"
 
179
 
180
+ #: google-captcha.php:385
181
  msgid "Rate the plugin"
182
  msgstr "Оценить плагин"
183
 
184
+ #: google-captcha.php:388
185
  msgid "If there is something wrong about it, please contact us"
186
  msgstr "Если у вас есть какие-то вопросы, обращайтесь"
187
 
188
+ #: google-captcha.php:432
189
  msgid "To use Google Captcha you must get the keys from"
190
  msgstr "Чтобы использовать Google Captcha вам необходимо получить ключи"
191
 
192
+ #: google-captcha.php:433
193
  msgid "here"
194
  msgstr "здесь"
195
 
196
+ #: google-captcha.php:434
197
  msgid "and enter them on the"
198
  msgstr "и вставить их на"
199
 
200
+ #: google-captcha.php:436
201
  msgid "plugin setting page"
202
  msgstr "страницу настроек плагина"
203
 
204
+ #: google-captcha.php:464
205
+ #: google-captcha.php:480
206
  msgid "Error: You have entered an incorrect CAPTCHA value."
207
  msgstr "Ошибка: Вы ввели неверное значение Captcha."
208
 
209
+ #: google-captcha.php:542
210
+ #: google-captcha.php:555
211
+ #: google-captcha.php:588
212
+ #: google-captcha.php:598
213
+ msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
214
+ msgstr "Ошибка: Вы ввели неверное значение Captcha. Нажмите копку НАЗАД в своем браузере и попытайтесь еще."
 
215
 
216
+ #: google-captcha.php:631
217
  msgid "Support"
218
  msgstr "Поддержка"
219
 
languages/google_captcha-uk.mo CHANGED
Binary file
languages/google_captcha-uk.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-04-22 17:41+0300\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: Валентин <valentine.kogut.bws@gmail.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
9
  "Language: uk\n"
10
  "MIME-Version: 1.0\n"
@@ -16,186 +16,219 @@ msgstr ""
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: google-captcha.php:73 google-captcha.php:277
 
20
  msgid "Google Captcha Settings"
21
  msgstr "Налаштування Google Captcha"
22
 
23
- #: google-captcha.php:73
24
  msgid "Google Captcha"
25
  msgstr "Google Captcha"
26
 
27
- #: google-captcha.php:86
28
  msgid "requires"
29
  msgstr "вимагає"
30
 
31
- #: google-captcha.php:86
32
- msgid ""
33
- "or higher, that is why it has been deactivated! Please upgrade WordPress and "
34
- "try again."
35
- msgstr ""
36
- "або вище, тому плагін було деактивовано! Оновіть WordPress та спробуйте ще "
37
- "раз."
38
 
39
- #: google-captcha.php:86
40
  msgid "Back to the WordPress"
41
  msgstr "Повернутися на WordPress"
42
 
43
- #: google-captcha.php:86
44
  msgid "Plugins page"
45
  msgstr "Сторінка плагінів"
46
 
47
- #: google-captcha.php:219
48
- msgid "Public Key"
49
- msgstr "Відкритий ключ"
50
 
51
- #: google-captcha.php:224
52
- msgid "Private Key"
53
- msgstr "Закритий ключ"
54
 
55
- #: google-captcha.php:232
56
  msgid "Login form"
57
  msgstr "Форма логіну"
58
 
59
- #: google-captcha.php:233
60
  msgid "Registration form"
61
  msgstr "Форма реєстрації"
62
 
63
- #: google-captcha.php:234
64
  msgid "Reset password form"
65
  msgstr "Форма відновлення паролю"
66
 
67
- #: google-captcha.php:235
68
  msgid "Comments form"
69
  msgstr "Форма коментарів"
70
 
71
- #: google-captcha.php:250
72
- msgid "Enter public key"
73
- msgstr "Введіть відкритий ключ"
 
74
 
75
- #: google-captcha.php:251 google-captcha.php:257
 
76
  msgid "WARNING: The captcha will not display while you don't fill key fields."
77
- msgstr ""
78
- "УВАГА: Капча не буде відображатись поки ви не заповнете необхідні поля."
79
 
80
- #: google-captcha.php:256
81
- msgid "Enter private key"
 
82
  msgstr "Введіть закритий ключ"
83
 
84
- #: google-captcha.php:278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  msgid "Settings saved"
86
  msgstr "Налаштування збережено"
87
 
88
- #: google-captcha.php:280
89
- msgid ""
90
- "If you would like to add the Google Captcha to your own form, just copy and "
91
- "paste this shortcode to your post or page:"
92
- msgstr ""
93
- "Якщо ви хочете додати Google Captcha в свою форму, просто вставте цей "
94
- "шорткод в контент сторінки чи посту"
95
 
96
- #: google-captcha.php:282
97
  msgid "Authentication"
98
  msgstr "Ідентифікація"
99
 
100
- #: google-captcha.php:283
101
  #, php-format
102
  msgid "Before you are able to do something, you must to register %s here %s"
103
  msgstr "Щоб виконувати якісь дії, спершу ви повинні зареєструватись %s тут %s"
104
 
105
- #: google-captcha.php:284
106
- msgid "Enter public and private keys, that you get after registration."
 
107
  msgstr "Введіть відкритий і закритий ключі, які ви отримали після реєстрації."
108
 
109
- #: google-captcha.php:296
110
  msgid "Options"
111
  msgstr "Опції"
112
 
113
- #: google-captcha.php:299
114
  msgid "Enable Google Captcha for:"
115
  msgstr "Відображати Google Captcha для:"
116
 
117
- #: google-captcha.php:308 google-captcha.php:311 google-captcha.php:315
 
 
118
  msgid "Contact form"
119
  msgstr "Контактна форма"
120
 
121
- #: google-captcha.php:309 google-captcha.php:312 google-captcha.php:316
 
 
122
  msgid "powered by"
123
  msgstr "розроблено компанією"
124
 
125
- #: google-captcha.php:312
126
  msgid "Activate contact form"
127
  msgstr "Активувати Контактну форму"
128
 
129
- #: google-captcha.php:316
130
  msgid "Download contact form"
131
  msgstr "Завантажити Контактну форму"
132
 
133
- #: google-captcha.php:321
134
  msgid "Hide captcha for:"
135
  msgstr "Не відображати Google Captcha для:"
136
 
137
- #: google-captcha.php:329
 
 
 
 
 
 
 
 
 
 
138
  msgid "Theme:"
139
  msgstr "Тема:"
140
 
141
- #: google-captcha.php:340
 
 
 
 
 
142
  msgid "Save Changes"
143
  msgstr "Зберегти зміни"
144
 
145
- #: google-captcha.php:346
146
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
147
- msgstr ""
148
- "Якщо вам подобається наш плагін, будь ласка, поставте нам 5 зірочок на "
149
- "WordPress"
150
 
151
- #: google-captcha.php:347
152
  msgid "Rate the plugin"
153
  msgstr "Оцініть плагін"
154
 
155
- #: google-captcha.php:350
156
  msgid "If there is something wrong about it, please contact us"
157
  msgstr "Якщо у вас виникли проблеми, будь ласка, повідомте нам"
158
 
159
- #: google-captcha.php:389
160
- msgid "Error: You have entered an incorrect CAPTCHA value."
161
- msgstr "Помилка: Ви ввели невірне значення Captcha."
162
-
163
- #: google-captcha.php:397
164
  msgid "To use Google Captcha you must get the keys from"
165
  msgstr "Щоб використовувати Google Captcha, вам необхідно отримати ключі з"
166
 
167
- #: google-captcha.php:397
168
  msgid "here"
169
  msgstr "тут"
170
 
171
- #: google-captcha.php:397
172
  msgid "and enter them on the"
173
  msgstr "і вставити їх у"
174
 
175
- #: google-captcha.php:397
176
  msgid "plugin setting page"
177
  msgstr "сторінка налаштувань плагіну"
178
 
179
- #: google-captcha.php:448 google-captcha.php:490 google-captcha.php:512
180
- msgid ""
181
- "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on "
182
- "your browser, and try again."
183
- msgstr ""
184
- "Помилка: Ви ввели невірне значення Captcha. Клікніть НАЗАД у своєму браузері "
185
- "та спробуйте ще раз."
186
-
187
- #: google-captcha.php:526 google-captcha.php:537
188
- msgid "Settings"
189
- msgstr "Налаштування"
190
 
191
- #: google-captcha.php:538
192
- msgid "FAQ"
193
- msgstr "FAQ"
 
 
 
194
 
195
- #: google-captcha.php:539
196
  msgid "Support"
197
  msgstr "Підтримка"
198
 
 
 
 
 
 
 
 
 
 
199
  #, fuzzy
200
  #~ msgid "Activated theme"
201
  #~ msgstr "Активировать Contact form"
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-30 13:02+0300\n"
6
  "PO-Revision-Date: \n"
7
+ "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
9
  "Language: uk\n"
10
  "MIME-Version: 1.0\n"
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: google-captcha.php:80
20
+ #: google-captcha.php:282
21
  msgid "Google Captcha Settings"
22
  msgstr "Налаштування Google Captcha"
23
 
24
+ #: google-captcha.php:80
25
  msgid "Google Captcha"
26
  msgstr "Google Captcha"
27
 
28
+ #: google-captcha.php:97
29
  msgid "requires"
30
  msgstr "вимагає"
31
 
32
+ #: google-captcha.php:97
33
+ msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
34
+ msgstr "або вище, тому плагін було деактивовано! Оновіть WordPress та спробуйте ще раз."
 
 
 
 
35
 
36
+ #: google-captcha.php:97
37
  msgid "Back to the WordPress"
38
  msgstr "Повернутися на WordPress"
39
 
40
+ #: google-captcha.php:97
41
  msgid "Plugins page"
42
  msgstr "Сторінка плагінів"
43
 
44
+ #: google-captcha.php:222
45
+ msgid "Site key"
46
+ msgstr ""
47
 
48
+ #: google-captcha.php:227
49
+ msgid "Secret Key"
50
+ msgstr ""
51
 
52
+ #: google-captcha.php:235
53
  msgid "Login form"
54
  msgstr "Форма логіну"
55
 
56
+ #: google-captcha.php:236
57
  msgid "Registration form"
58
  msgstr "Форма реєстрації"
59
 
60
+ #: google-captcha.php:237
61
  msgid "Reset password form"
62
  msgstr "Форма відновлення паролю"
63
 
64
+ #: google-captcha.php:238
65
  msgid "Comments form"
66
  msgstr "Форма коментарів"
67
 
68
+ #: google-captcha.php:253
69
+ #, fuzzy
70
+ msgid "Enter site key"
71
+ msgstr "Введіть закритий ключ"
72
 
73
+ #: google-captcha.php:254
74
+ #: google-captcha.php:260
75
  msgid "WARNING: The captcha will not display while you don't fill key fields."
76
+ msgstr "УВАГА: Капча не буде відображатись поки ви не заповнете необхідні поля."
 
77
 
78
+ #: google-captcha.php:259
79
+ #, fuzzy
80
+ msgid "Enter secret key"
81
  msgstr "Введіть закритий ключ"
82
 
83
+ #: google-captcha.php:284
84
+ #: google-captcha.php:618
85
+ #: google-captcha.php:629
86
+ msgid "Settings"
87
+ msgstr "Налаштування"
88
+
89
+ #: google-captcha.php:285
90
+ #: google-captcha.php:630
91
+ msgid "FAQ"
92
+ msgstr "FAQ"
93
+
94
+ #: google-captcha.php:287
95
+ msgid "Notice:"
96
+ msgstr ""
97
+
98
+ #: google-captcha.php:287
99
+ msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
100
+ msgstr ""
101
+
102
+ #: google-captcha.php:288
103
  msgid "Settings saved"
104
  msgstr "Налаштування збережено"
105
 
106
+ #: google-captcha.php:290
107
+ msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
108
+ msgstr "Якщо ви хочете додати Google Captcha в свою форму, просто вставте цей шорткод в контент сторінки чи посту"
 
 
 
 
109
 
110
+ #: google-captcha.php:292
111
  msgid "Authentication"
112
  msgstr "Ідентифікація"
113
 
114
+ #: google-captcha.php:293
115
  #, php-format
116
  msgid "Before you are able to do something, you must to register %s here %s"
117
  msgstr "Щоб виконувати якісь дії, спершу ви повинні зареєструватись %s тут %s"
118
 
119
+ #: google-captcha.php:294
120
+ #, fuzzy
121
+ msgid "Enter site key and secret key, that you get after registration."
122
  msgstr "Введіть відкритий і закритий ключі, які ви отримали після реєстрації."
123
 
124
+ #: google-captcha.php:306
125
  msgid "Options"
126
  msgstr "Опції"
127
 
128
+ #: google-captcha.php:309
129
  msgid "Enable Google Captcha for:"
130
  msgstr "Відображати Google Captcha для:"
131
 
132
+ #: google-captcha.php:324
133
+ #: google-captcha.php:327
134
+ #: google-captcha.php:331
135
  msgid "Contact form"
136
  msgstr "Контактна форма"
137
 
138
+ #: google-captcha.php:325
139
+ #: google-captcha.php:328
140
+ #: google-captcha.php:332
141
  msgid "powered by"
142
  msgstr "розроблено компанією"
143
 
144
+ #: google-captcha.php:328
145
  msgid "Activate contact form"
146
  msgstr "Активувати Контактну форму"
147
 
148
+ #: google-captcha.php:332
149
  msgid "Download contact form"
150
  msgstr "Завантажити Контактну форму"
151
 
152
+ #: google-captcha.php:337
153
  msgid "Hide captcha for:"
154
  msgstr "Не відображати Google Captcha для:"
155
 
156
+ #: google-captcha.php:345
157
+ msgid "reCAPTCHA version:"
158
+ msgstr ""
159
+
160
+ #: google-captcha.php:347
161
+ #: google-captcha.php:348
162
+ msgid "version"
163
+ msgstr ""
164
+
165
+ #: google-captcha.php:353
166
+ #: google-captcha.php:366
167
  msgid "Theme:"
168
  msgstr "Тема:"
169
 
170
+ #: google-captcha.php:354
171
+ #: google-captcha.php:367
172
+ msgid "for reCAPTCHA version"
173
+ msgstr ""
174
+
175
+ #: google-captcha.php:378
176
  msgid "Save Changes"
177
  msgstr "Зберегти зміни"
178
 
179
+ #: google-captcha.php:384
180
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
181
+ msgstr "Якщо вам подобається наш плагін, будь ласка, поставте нам 5 зірочок на WordPress"
 
 
182
 
183
+ #: google-captcha.php:385
184
  msgid "Rate the plugin"
185
  msgstr "Оцініть плагін"
186
 
187
+ #: google-captcha.php:388
188
  msgid "If there is something wrong about it, please contact us"
189
  msgstr "Якщо у вас виникли проблеми, будь ласка, повідомте нам"
190
 
191
+ #: google-captcha.php:432
 
 
 
 
192
  msgid "To use Google Captcha you must get the keys from"
193
  msgstr "Щоб використовувати Google Captcha, вам необхідно отримати ключі з"
194
 
195
+ #: google-captcha.php:433
196
  msgid "here"
197
  msgstr "тут"
198
 
199
+ #: google-captcha.php:434
200
  msgid "and enter them on the"
201
  msgstr "і вставити їх у"
202
 
203
+ #: google-captcha.php:436
204
  msgid "plugin setting page"
205
  msgstr "сторінка налаштувань плагіну"
206
 
207
+ #: google-captcha.php:464
208
+ #: google-captcha.php:480
209
+ msgid "Error: You have entered an incorrect CAPTCHA value."
210
+ msgstr "Помилка: Ви ввели невірне значення Captcha."
 
 
 
 
 
 
 
211
 
212
+ #: google-captcha.php:542
213
+ #: google-captcha.php:555
214
+ #: google-captcha.php:588
215
+ #: google-captcha.php:598
216
+ msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
217
+ msgstr "Помилка: Ви ввели невірне значення Captcha. Клікніть НАЗАД у своєму браузері та спробуйте ще раз."
218
 
219
+ #: google-captcha.php:631
220
  msgid "Support"
221
  msgstr "Підтримка"
222
 
223
+ #~ msgid "Public Key"
224
+ #~ msgstr "Відкритий ключ"
225
+
226
+ #~ msgid "Private Key"
227
+ #~ msgstr "Закритий ключ"
228
+
229
+ #~ msgid "Enter public key"
230
+ #~ msgstr "Введіть відкритий ключ"
231
+
232
  #, fuzzy
233
  #~ msgid "Activated theme"
234
  #~ msgstr "Активировать Contact form"
languages/google_captcha-zh_TW.mo CHANGED
Binary file
languages/google_captcha-zh_TW.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-09-02 12:15+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Nick Lai <nick20080808@gmail.com>\n"
@@ -17,38 +17,38 @@ msgstr ""
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: google-captcha.php:74
21
- #: google-captcha.php:280
22
  msgid "Google Captcha Settings"
23
  msgstr "reCAPTCHA 驗證碼設置"
24
 
25
- #: google-captcha.php:74
26
  msgid "Google Captcha"
27
  msgstr "reCAPTCHA 驗證碼"
28
 
29
- #: google-captcha.php:87
30
  msgid "requires"
31
  msgstr "必須填寫"
32
 
33
- #: google-captcha.php:87
34
  msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
35
  msgstr "或更高,因此本外掛已被停用。請升級您的WordPress,然後再試一次。"
36
 
37
- #: google-captcha.php:87
38
  msgid "Back to the WordPress"
39
  msgstr "回到WordPress"
40
 
41
- #: google-captcha.php:87
42
  msgid "Plugins page"
43
  msgstr "外掛頁面"
44
 
45
  #: google-captcha.php:222
46
- msgid "Public Key"
47
- msgstr "公開金鑰(Public Key)"
48
 
49
  #: google-captcha.php:227
50
- msgid "Private Key"
51
- msgstr "私有密鑰(Private Key)"
52
 
53
  #: google-captcha.php:235
54
  msgid "Login form"
@@ -67,8 +67,9 @@ msgid "Comments form"
67
  msgstr "發表迴響框"
68
 
69
  #: google-captcha.php:253
70
- msgid "Enter public key"
71
- msgstr "輸入公開金鑰"
 
72
 
73
  #: google-captcha.php:254
74
  #: google-captcha.php:260
@@ -76,123 +77,159 @@ msgid "WARNING: The captcha will not display while you don't fill key fields."
76
  msgstr "警告:如果你不填寫此欄,驗證碼將不會顯示。"
77
 
78
  #: google-captcha.php:259
79
- msgid "Enter private key"
 
80
  msgstr "輸入私有密鑰"
81
 
82
- #: google-captcha.php:282
83
- #: google-captcha.php:534
84
- #: google-captcha.php:545
85
  msgid "Settings"
86
  msgstr "設定"
87
 
88
- #: google-captcha.php:283
89
- #: google-captcha.php:546
90
  msgid "FAQ"
91
  msgstr "常見問題"
92
 
93
- #: google-captcha.php:285
 
 
 
 
 
 
 
 
94
  msgid "Settings saved"
95
  msgstr "設定已儲存"
96
 
97
- #: google-captcha.php:287
98
  msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
99
  msgstr "如果您想在自己的表格中加入reCAPTCHA驗證碼,只需貼上此代號到您的文章或頁面:"
100
 
101
- #: google-captcha.php:289
102
  msgid "Authentication"
103
  msgstr "身份驗證"
104
 
105
- #: google-captcha.php:290
106
  #, php-format
107
  msgid "Before you are able to do something, you must to register %s here %s"
108
  msgstr "在開始使用本外掛之先,請到%s這裡%s註冊。"
109
 
110
- #: google-captcha.php:291
111
- msgid "Enter public and private keys, that you get after registration."
 
112
  msgstr "然後複製公開金鑰(Public Key)和私有密鑰(Private Key)到到以下方框。"
113
 
114
- #: google-captcha.php:303
115
  msgid "Options"
116
  msgstr "選項"
117
 
118
- #: google-captcha.php:306
119
  msgid "Enable Google Captcha for:"
120
  msgstr "在下列畫面及表格使用reCAPTCHA:"
121
 
122
- #: google-captcha.php:315
123
- #: google-captcha.php:318
124
- #: google-captcha.php:322
125
  msgid "Contact form"
126
  msgstr "聯絡表格"
127
 
128
- #: google-captcha.php:316
129
- #: google-captcha.php:319
130
- #: google-captcha.php:323
131
  msgid "powered by"
132
  msgstr "服務提供者:"
133
 
134
- #: google-captcha.php:319
135
  msgid "Activate contact form"
136
  msgstr "啟用聯絡表格"
137
 
138
- #: google-captcha.php:323
139
  msgid "Download contact form"
140
  msgstr "下載聯絡表格"
141
 
142
- #: google-captcha.php:328
143
  msgid "Hide captcha for:"
144
  msgstr "為下列用戶隱藏驗證碼:"
145
 
146
- #: google-captcha.php:336
 
 
 
 
 
 
 
 
 
 
147
  msgid "Theme:"
148
  msgstr "風格:"
149
 
150
- #: google-captcha.php:347
 
 
 
 
 
151
  msgid "Save Changes"
152
  msgstr "儲存變更"
153
 
154
- #: google-captcha.php:353
155
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
156
  msgstr "如果你喜歡本外掛,請到WordPress給它五星評級!"
157
 
158
- #: google-captcha.php:354
159
  msgid "Rate the plugin"
160
  msgstr "為外掛評分"
161
 
162
- #: google-captcha.php:357
163
  msgid "If there is something wrong about it, please contact us"
164
  msgstr "如果對本外掛出現任何錯誤,歡迎與我們聯絡"
165
 
166
- #: google-captcha.php:396
167
- msgid "Error: You have entered an incorrect CAPTCHA value."
168
- msgstr "錯誤:您輸入的驗證碼不正確。"
169
-
170
- #: google-captcha.php:403
171
  msgid "To use Google Captcha you must get the keys from"
172
  msgstr "如要用reCAPTCHA驗證碼,你必須輸入兩組金鑰。您可以在這裡領取:"
173
 
174
- #: google-captcha.php:403
175
  msgid "here"
176
  msgstr "點我"
177
 
178
- #: google-captcha.php:403
179
  msgid "and enter them on the"
180
  msgstr "然後將他們輸入到"
181
 
182
- #: google-captcha.php:403
183
  msgid "plugin setting page"
184
  msgstr "外掛設置頁"
185
 
186
- #: google-captcha.php:456
187
- #: google-captcha.php:498
188
- #: google-captcha.php:520
 
 
 
 
 
 
189
  msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
190
  msgstr "錯誤:您輸入的驗證碼不正確。請回到上一頁,然後重新輸入。"
191
 
192
- #: google-captcha.php:547
193
  msgid "Support"
194
  msgstr "支援"
195
 
 
 
 
 
 
 
 
 
 
196
  #, fuzzy
197
  #~ msgid "Activated theme"
198
  #~ msgstr "Активировать Contact form"
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-30 13:02+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Nick Lai <nick20080808@gmail.com>\n"
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: google-captcha.php:80
21
+ #: google-captcha.php:282
22
  msgid "Google Captcha Settings"
23
  msgstr "reCAPTCHA 驗證碼設置"
24
 
25
+ #: google-captcha.php:80
26
  msgid "Google Captcha"
27
  msgstr "reCAPTCHA 驗證碼"
28
 
29
+ #: google-captcha.php:97
30
  msgid "requires"
31
  msgstr "必須填寫"
32
 
33
+ #: google-captcha.php:97
34
  msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
35
  msgstr "或更高,因此本外掛已被停用。請升級您的WordPress,然後再試一次。"
36
 
37
+ #: google-captcha.php:97
38
  msgid "Back to the WordPress"
39
  msgstr "回到WordPress"
40
 
41
+ #: google-captcha.php:97
42
  msgid "Plugins page"
43
  msgstr "外掛頁面"
44
 
45
  #: google-captcha.php:222
46
+ msgid "Site key"
47
+ msgstr ""
48
 
49
  #: google-captcha.php:227
50
+ msgid "Secret Key"
51
+ msgstr ""
52
 
53
  #: google-captcha.php:235
54
  msgid "Login form"
67
  msgstr "發表迴響框"
68
 
69
  #: google-captcha.php:253
70
+ #, fuzzy
71
+ msgid "Enter site key"
72
+ msgstr "輸入私有密鑰"
73
 
74
  #: google-captcha.php:254
75
  #: google-captcha.php:260
77
  msgstr "警告:如果你不填寫此欄,驗證碼將不會顯示。"
78
 
79
  #: google-captcha.php:259
80
+ #, fuzzy
81
+ msgid "Enter secret key"
82
  msgstr "輸入私有密鑰"
83
 
84
+ #: google-captcha.php:284
85
+ #: google-captcha.php:618
86
+ #: google-captcha.php:629
87
  msgid "Settings"
88
  msgstr "設定"
89
 
90
+ #: google-captcha.php:285
91
+ #: google-captcha.php:630
92
  msgid "FAQ"
93
  msgstr "常見問題"
94
 
95
+ #: google-captcha.php:287
96
+ msgid "Notice:"
97
+ msgstr ""
98
+
99
+ #: google-captcha.php:287
100
+ msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
101
+ msgstr ""
102
+
103
+ #: google-captcha.php:288
104
  msgid "Settings saved"
105
  msgstr "設定已儲存"
106
 
107
+ #: google-captcha.php:290
108
  msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
109
  msgstr "如果您想在自己的表格中加入reCAPTCHA驗證碼,只需貼上此代號到您的文章或頁面:"
110
 
111
+ #: google-captcha.php:292
112
  msgid "Authentication"
113
  msgstr "身份驗證"
114
 
115
+ #: google-captcha.php:293
116
  #, php-format
117
  msgid "Before you are able to do something, you must to register %s here %s"
118
  msgstr "在開始使用本外掛之先,請到%s這裡%s註冊。"
119
 
120
+ #: google-captcha.php:294
121
+ #, fuzzy
122
+ msgid "Enter site key and secret key, that you get after registration."
123
  msgstr "然後複製公開金鑰(Public Key)和私有密鑰(Private Key)到到以下方框。"
124
 
125
+ #: google-captcha.php:306
126
  msgid "Options"
127
  msgstr "選項"
128
 
129
+ #: google-captcha.php:309
130
  msgid "Enable Google Captcha for:"
131
  msgstr "在下列畫面及表格使用reCAPTCHA:"
132
 
133
+ #: google-captcha.php:324
134
+ #: google-captcha.php:327
135
+ #: google-captcha.php:331
136
  msgid "Contact form"
137
  msgstr "聯絡表格"
138
 
139
+ #: google-captcha.php:325
140
+ #: google-captcha.php:328
141
+ #: google-captcha.php:332
142
  msgid "powered by"
143
  msgstr "服務提供者:"
144
 
145
+ #: google-captcha.php:328
146
  msgid "Activate contact form"
147
  msgstr "啟用聯絡表格"
148
 
149
+ #: google-captcha.php:332
150
  msgid "Download contact form"
151
  msgstr "下載聯絡表格"
152
 
153
+ #: google-captcha.php:337
154
  msgid "Hide captcha for:"
155
  msgstr "為下列用戶隱藏驗證碼:"
156
 
157
+ #: google-captcha.php:345
158
+ msgid "reCAPTCHA version:"
159
+ msgstr ""
160
+
161
+ #: google-captcha.php:347
162
+ #: google-captcha.php:348
163
+ msgid "version"
164
+ msgstr ""
165
+
166
+ #: google-captcha.php:353
167
+ #: google-captcha.php:366
168
  msgid "Theme:"
169
  msgstr "風格:"
170
 
171
+ #: google-captcha.php:354
172
+ #: google-captcha.php:367
173
+ msgid "for reCAPTCHA version"
174
+ msgstr ""
175
+
176
+ #: google-captcha.php:378
177
  msgid "Save Changes"
178
  msgstr "儲存變更"
179
 
180
+ #: google-captcha.php:384
181
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
182
  msgstr "如果你喜歡本外掛,請到WordPress給它五星評級!"
183
 
184
+ #: google-captcha.php:385
185
  msgid "Rate the plugin"
186
  msgstr "為外掛評分"
187
 
188
+ #: google-captcha.php:388
189
  msgid "If there is something wrong about it, please contact us"
190
  msgstr "如果對本外掛出現任何錯誤,歡迎與我們聯絡"
191
 
192
+ #: google-captcha.php:432
 
 
 
 
193
  msgid "To use Google Captcha you must get the keys from"
194
  msgstr "如要用reCAPTCHA驗證碼,你必須輸入兩組金鑰。您可以在這裡領取:"
195
 
196
+ #: google-captcha.php:433
197
  msgid "here"
198
  msgstr "點我"
199
 
200
+ #: google-captcha.php:434
201
  msgid "and enter them on the"
202
  msgstr "然後將他們輸入到"
203
 
204
+ #: google-captcha.php:436
205
  msgid "plugin setting page"
206
  msgstr "外掛設置頁"
207
 
208
+ #: google-captcha.php:464
209
+ #: google-captcha.php:480
210
+ msgid "Error: You have entered an incorrect CAPTCHA value."
211
+ msgstr "錯誤:您輸入的驗證碼不正確。"
212
+
213
+ #: google-captcha.php:542
214
+ #: google-captcha.php:555
215
+ #: google-captcha.php:588
216
+ #: google-captcha.php:598
217
  msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
218
  msgstr "錯誤:您輸入的驗證碼不正確。請回到上一頁,然後重新輸入。"
219
 
220
+ #: google-captcha.php:631
221
  msgid "Support"
222
  msgstr "支援"
223
 
224
+ #~ msgid "Public Key"
225
+ #~ msgstr "公開金鑰(Public Key)"
226
+
227
+ #~ msgid "Private Key"
228
+ #~ msgstr "私有密鑰(Private Key)"
229
+
230
+ #~ msgid "Enter public key"
231
+ #~ msgstr "輸入公開金鑰"
232
+
233
  #, fuzzy
234
  #~ msgid "Activated theme"
235
  #~ msgstr "Активировать Contact form"
lib/license.txt CHANGED
File without changes
lib/recaptchalib.php CHANGED
File without changes
lib_v2/license.txt ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2014, Google Inc.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are
6
+ met:
7
+
8
+ * Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above
11
+ copyright notice, this list of conditions and the following disclaimer
12
+ in the documentation and/or other materials provided with the
13
+ distribution.
14
+ * Neither the name of Google Inc. nor the names of its
15
+ contributors may be used to endorse or promote products derived from
16
+ this software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
lib_v2/recaptchalib.php ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This is a PHP library that handles calling reCAPTCHA.
4
+ * - Documentation and latest version
5
+ * https://developers.google.com/recaptcha/docs/php
6
+ * - Get a reCAPTCHA API Key
7
+ * https://www.google.com/recaptcha/admin/create
8
+ * - Discussion group
9
+ * http://groups.google.com/group/recaptcha
10
+ *
11
+ * @copyright Copyright (c) 2014, Google Inc.
12
+ * @link http://www.google.com/recaptcha
13
+ *
14
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ * of this software and associated documentation files (the "Software"), to deal
16
+ * in the Software without restriction, including without limitation the rights
17
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ * copies of the Software, and to permit persons to whom the Software is
19
+ * furnished to do so, subject to the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be included in
22
+ * all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
30
+ * THE SOFTWARE.
31
+ */
32
+
33
+ /**
34
+ * A ReCaptchaResponse is returned from checkAnswer().
35
+ */
36
+ class ReCaptchaResponse
37
+ {
38
+ public $success;
39
+ public $errorCodes;
40
+ }
41
+
42
+ class ReCaptcha
43
+ {
44
+ private static $_signupUrl = "https://www.google.com/recaptcha/admin";
45
+ private static $_siteVerifyUrl =
46
+ "https://www.google.com/recaptcha/api/siteverify?";
47
+ private $_secret;
48
+ private static $_version = "php_1.0";
49
+
50
+ /**
51
+ * Constructor.
52
+ *
53
+ * @param string $secret shared secret between site and ReCAPTCHA server.
54
+ */
55
+ function ReCaptcha($secret)
56
+ {
57
+ if ($secret == null || $secret == "") {
58
+ die("To use reCAPTCHA you must get an API key from <a href='"
59
+ . self::$_signupUrl . "'>" . self::$_signupUrl . "</a>");
60
+ }
61
+ $this->_secret=$secret;
62
+ }
63
+
64
+ /**
65
+ * Encodes the given data into a query string format.
66
+ *
67
+ * @param array $data array of string elements to be encoded.
68
+ *
69
+ * @return string - encoded request.
70
+ */
71
+ private function _encodeQS($data)
72
+ {
73
+ $req = "";
74
+ foreach ($data as $key => $value) {
75
+ $req .= $key . '=' . urlencode(stripslashes($value)) . '&';
76
+ }
77
+
78
+ // Cut the last '&'
79
+ $req=substr($req, 0, strlen($req)-1);
80
+ return $req;
81
+ }
82
+
83
+ /**
84
+ * Submits an HTTP GET to a reCAPTCHA server.
85
+ *
86
+ * @param string $path url path to recaptcha server.
87
+ * @param array $data array of parameters to be sent.
88
+ *
89
+ * @return array response
90
+ */
91
+ private function _submitHTTPGet($path, $data)
92
+ {
93
+ $req = $this->_encodeQS($data);
94
+ $response = file_get_contents($path . $req);
95
+ return $response;
96
+ }
97
+
98
+ /**
99
+ * Calls the reCAPTCHA siteverify API to verify whether the user passes
100
+ * CAPTCHA test.
101
+ *
102
+ * @param string $remoteIp IP address of end user.
103
+ * @param string $response response string from recaptcha verification.
104
+ *
105
+ * @return ReCaptchaResponse
106
+ */
107
+ public function verifyResponse($remoteIp, $response)
108
+ {
109
+ // Discard empty solution submissions
110
+ if ($response == null || strlen($response) == 0) {
111
+ $recaptchaResponse = new ReCaptchaResponse();
112
+ $recaptchaResponse->success = false;
113
+ $recaptchaResponse->errorCodes = 'missing-input';
114
+ return $recaptchaResponse;
115
+ }
116
+
117
+ $getResponse = $this->_submitHttpGet(
118
+ self::$_siteVerifyUrl,
119
+ array (
120
+ 'secret' => $this->_secret,
121
+ 'remoteip' => $remoteIp,
122
+ 'v' => self::$_version,
123
+ 'response' => $response
124
+ )
125
+ );
126
+ $answers = json_decode($getResponse, true);
127
+ $recaptchaResponse = new ReCaptchaResponse();
128
+
129
+ if (trim($answers ['success']) == true) {
130
+ $recaptchaResponse->success = true;
131
+ } else {
132
+ $recaptchaResponse->success = false;
133
+ $recaptchaResponse->errorCodes = $answers [error-codes];
134
+ }
135
+
136
+ return $recaptchaResponse;
137
+ }
138
+ }
139
+
140
+ ?>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bestwebsoft
3
  Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94
4
  Tags: antispam, anti-spam, capcha, anti-spam security, arithmetic actions, captcha, captha, capcha, catcha, cpatcha, captcha theme, comment, digitize books, digitize newspapers, digitize radio shows, google, gogle, google captcha, login, lost password, re captcha, recaptcha, re-captcha, registration, shortcode, site keys, spam, text captcha.
5
  Requires at least: 3.0
6
- Tested up to: 4.0.1
7
- Stable tag: 1.10
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -23,7 +23,7 @@ http://www.youtube.com/watch?v=10ImOhmM0Cs
23
 
24
  = Copyrights for resources used in this plugin =
25
 
26
- 1. In Google Captcha plugin we used the "lib/recaptchalib.php" file. The Licence for this file is in the "lib/license.txt" file.
27
  2. Everything else used in this plugin has been created by the Bestwebsoft team and is distributed under GPL license.
28
 
29
  = Features =
@@ -144,6 +144,12 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
144
 
145
  == Changelog ==
146
 
 
 
 
 
 
 
147
  = V1.10 - 26.11.2014 =
148
  * Update : We updated url and key names for Google Api.
149
 
@@ -194,6 +200,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
194
 
195
  == Upgrade Notice ==
196
 
 
 
 
197
  = V1.10 =
198
  We updated url and key names for Google Api.
199
 
3
  Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94
4
  Tags: antispam, anti-spam, capcha, anti-spam security, arithmetic actions, captcha, captha, capcha, catcha, cpatcha, captcha theme, comment, digitize books, digitize newspapers, digitize radio shows, google, gogle, google captcha, login, lost password, re captcha, recaptcha, re-captcha, registration, shortcode, site keys, spam, text captcha.
5
  Requires at least: 3.0
6
+ Tested up to: 4.1
7
+ Stable tag: 1.11
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
23
 
24
  = Copyrights for resources used in this plugin =
25
 
26
+ 1. In Google Captcha plugin we used the "lib/recaptchalib.php" and "lib_v2/recaptchalib.php" file. The Licence for this file is in the "lib/license.txt" and "lib_v2/license.txt" file.
27
  2. Everything else used in this plugin has been created by the Bestwebsoft team and is distributed under GPL license.
28
 
29
  = Features =
144
 
145
  == Changelog ==
146
 
147
+ = V1.11 - 30.12.2014 =
148
+ * Update : New Google Captcha version is added.
149
+ * Bugfix : We fixed the bug with displaying Google Captcha on the multisite register form.
150
+ * Bugfix : We fixed the bug with multilanguage plugin.
151
+ * Update : We updated all functionality for wordpress 4.1.
152
+
153
  = V1.10 - 26.11.2014 =
154
  * Update : We updated url and key names for Google Api.
155
 
200
 
201
  == Upgrade Notice ==
202
 
203
+ = V1.11 =
204
+ New Google Captcha version is added. We fixed the bug with displaying Google Captcha on the multisite register form. We fixed the bug with multilanguage plugin. We updated all functionality for wordpress 4.1.
205
+
206
  = V1.10 =
207
  We updated url and key names for Google Api.
208
 
screenshot-1.png CHANGED
File without changes
screenshot-2.png CHANGED
File without changes
screenshot-3.png CHANGED
File without changes
screenshot-4.png CHANGED
File without changes
screenshot-5.png CHANGED
File without changes
screenshot-6.png CHANGED
File without changes