Math Captcha - Version 1.2.7

Version Description

  • Fix: Contact form 7 compatibility fix
  • Tweak: Removed local translation files in favor of WP repository translations.
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Math Captcha
Version 1.2.7
Comparing to
See all releases

Code changes from version 1.2.6 to 1.2.7

css/admin.css CHANGED
@@ -1,20 +1,20 @@
1
- /* Math Captcha settings */
2
- .df-credits { float: right; width: 280px; background: #fff; margin: 20px -300px 20px 20px; position: relative; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
3
- .df-credits .inner { padding-left: 10px; padding-right: 10px; }
4
- .df-credits h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; border-bottom: 1px solid #eee; }
5
- .df-credits .df-link { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-style:italic; padding-bottom: 10px; margin: 0; }
6
- .df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 4px; }
7
- .math-captcha-settings .df-credits form { min-width: 260px; margin-bottom: 1em; }
8
- .math-captcha-settings .df-credits form input { margin: 0; padding: 0; }
9
- .math-captcha-settings { margin-right: 300px; }
10
- .math-captcha-settings hr, .df-credits hr { border: solid #eee; border-width: 1px 0 0; clear: both; height: 0; }
11
- .math-captcha-settings form { float: left; min-width: 463px; width: auto; }
12
- .math-captcha-settings fieldset span.description { margin-bottom: 8px; margin-top: 4px; display: block; }
13
- .math-captcha-settings .ui-button { margin-bottom: 5px; }
14
- .math-captcha-settings .description { font-size: 13px; margin-bottom: 8px; }
15
-
16
- /* All Mobile Sizes (devices and browser) */
17
- @media only screen and (max-width: 959px) {
18
- .df-credits { width: 100%; float: none; margin: 20px 0; }
19
- .math-captcha-settings { margin-right: 0; }
20
  }
1
+ /* Math Captcha settings */
2
+ .df-credits { float: right; width: 280px; background: #fff; margin: 20px -300px 20px 20px; position: relative; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
3
+ .df-credits .inner { padding-left: 10px; padding-right: 10px; }
4
+ .df-credits h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; border-bottom: 1px solid #eee; }
5
+ .df-credits .df-link { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-style:italic; padding-bottom: 10px; margin: 0; }
6
+ .df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 4px; }
7
+ .math-captcha-settings .df-credits form { min-width: 260px; margin-bottom: 1em; }
8
+ .math-captcha-settings .df-credits form input { margin: 0; padding: 0; }
9
+ .math-captcha-settings { margin-right: 300px; }
10
+ .math-captcha-settings hr, .df-credits hr { border: solid #eee; border-width: 1px 0 0; clear: both; height: 0; }
11
+ .math-captcha-settings form { float: left; min-width: 463px; width: auto; }
12
+ .math-captcha-settings fieldset span.description { margin-bottom: 8px; margin-top: 4px; display: block; }
13
+ .math-captcha-settings .ui-button { margin-bottom: 5px; }
14
+ .math-captcha-settings .description { font-size: 13px; margin-bottom: 8px; }
15
+
16
+ /* All Mobile Sizes (devices and browser) */
17
+ @media only screen and (max-width: 959px) {
18
+ .df-credits { width: 100%; float: none; margin: 20px 0; }
19
+ .math-captcha-settings { margin-right: 0; }
20
  }
css/frontend.css CHANGED
@@ -1,16 +1,16 @@
1
- .math-captcha-form {
2
- display:block;
3
- float:none;
4
- clear:both;
5
- }
6
-
7
- .login form .math-captcha-form span {
8
- display: inline-block;
9
- margin-bottom: 16px;
10
- }
11
- input[type="text"].mc-input {
12
- display: inline-block;
13
- width: 60px!important;
14
- vertical-align: middle;
15
- margin-bottom: 0;
16
- }
1
+ .math-captcha-form {
2
+ display:block;
3
+ float:none;
4
+ clear:both;
5
+ }
6
+
7
+ .login form .math-captcha-form span {
8
+ display: inline-block;
9
+ margin-bottom: 16px;
10
+ }
11
+ input[type="text"].mc-input {
12
+ display: inline-block;
13
+ width: 60px!important;
14
+ vertical-align: middle;
15
+ margin-bottom: 0;
16
+ }
includes/class-cookie-session.php CHANGED
@@ -1,67 +1,71 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) )
3
- exit;
4
-
5
- new Math_Captcha_Cookie_Session();
6
-
7
- class Math_Captcha_Cookie_Session {
8
-
9
- public $session_ids;
10
-
11
- public function __construct() {
12
- // sets instance
13
- Math_Captcha()->cookie_session = $this;
14
-
15
- // actions
16
- add_action( 'plugins_loaded', array( &$this, 'init_session' ), 1 );
17
- }
18
-
19
- /**
20
- * Initializes cookie-session
21
- */
22
- public function init_session() {
23
- if ( is_admin() )
24
- return;
25
-
26
- if ( isset( $_COOKIE['mc_session_ids'] ) )
27
- $this->session_ids = $_COOKIE['mc_session_ids'];
28
- else {
29
- foreach ( array( 'default', 'multi' ) as $place ) {
30
- switch ( $place ) {
31
- case 'multi':
32
- for ( $i = 0; $i < 5; $i ++ ) {
33
- $this->session_ids[$place][$i] = sha1( $this->generate_password() );
34
- }
35
- break;
36
-
37
- case 'default':
38
- $this->session_ids[$place] = sha1( $this->generate_password() );
39
- break;
40
- }
41
- }
42
- }
43
-
44
- if ( ! isset( $_COOKIE['mc_session_ids'] ) ) {
45
- setcookie( 'mc_session_ids[default]', $this->session_ids['default'], current_time( 'timestamp', true ) + apply_filters( 'math_captcha_time', Math_Captcha()->options['general']['time'] ), COOKIEPATH, COOKIE_DOMAIN, (isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] !== 'off' ? true : false ), true );
46
-
47
- for ( $i = 0; $i < 5; $i ++ ) {
48
- setcookie( 'mc_session_ids[multi][' . $i . ']', $this->session_ids['multi'][$i], current_time( 'timestamp', true ) + apply_filters( 'math_captcha_time', Math_Captcha()->options['general']['time'] ), COOKIEPATH, COOKIE_DOMAIN );
49
- }
50
- }
51
- }
52
-
53
- /**
54
- * Generate password helper, without wp_rand() call
55
- */
56
- private function generate_password( $length = 64 ) {
57
- $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
58
- $password = '';
59
-
60
- for ( $i = 0; $i < $length; $i ++ ) {
61
- $password .= substr( $chars, mt_rand( 0, strlen( $chars ) - 1 ), 1 );
62
- }
63
-
64
- return $password;
65
- }
66
-
 
 
 
 
67
  }
1
+ <?php
2
+ // exit if accessed directly
3
+ if ( ! defined( 'ABSPATH' ) )
4
+ exit;
5
+
6
+ new Math_Captcha_Cookie_Session();
7
+
8
+ class Math_Captcha_Cookie_Session {
9
+
10
+ public $session_ids;
11
+
12
+ public function __construct() {
13
+ // set instance
14
+ Math_Captcha()->cookie_session = $this;
15
+
16
+ // actions
17
+ add_action( 'plugins_loaded', array( &$this, 'init_session' ), 1 );
18
+ }
19
+
20
+ /**
21
+ * Initialize cookie-session.
22
+ */
23
+ public function init_session() {
24
+ if ( is_admin() )
25
+ return;
26
+
27
+ if ( isset( $_COOKIE['mc_session_ids'] ) )
28
+ $this->session_ids = $_COOKIE['mc_session_ids'];
29
+ else {
30
+ foreach ( array( 'default', 'multi' ) as $place ) {
31
+ switch ( $place ) {
32
+ case 'multi':
33
+ for ( $i = 0; $i < 5; $i ++ ) {
34
+ $this->session_ids[$place][$i] = sha1( $this->generate_password() );
35
+ }
36
+ break;
37
+
38
+ case 'default':
39
+ $this->session_ids[$place] = sha1( $this->generate_password() );
40
+ break;
41
+ }
42
+ }
43
+ }
44
+
45
+ if ( ! isset( $_COOKIE['mc_session_ids'] ) ) {
46
+ setcookie( 'mc_session_ids[default]', $this->session_ids['default'], current_time( 'timestamp', true ) + apply_filters( 'math_captcha_time', Math_Captcha()->options['general']['time'] ), COOKIEPATH, COOKIE_DOMAIN, (isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] !== 'off' ? true : false ), true );
47
+
48
+ for ( $i = 0; $i < 5; $i ++ ) {
49
+ setcookie( 'mc_session_ids[multi][' . $i . ']', $this->session_ids['multi'][$i], current_time( 'timestamp', true ) + apply_filters( 'math_captcha_time', Math_Captcha()->options['general']['time'] ), COOKIEPATH, COOKIE_DOMAIN );
50
+ }
51
+ }
52
+ }
53
+
54
+ /**
55
+ * Generate password helper, without wp_rand() call
56
+ *
57
+ * @param int $length
58
+ * @return string
59
+ */
60
+ private function generate_password( $length = 64 ) {
61
+ $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
62
+ $password = '';
63
+
64
+ for ( $i = 0; $i < $length; $i ++ ) {
65
+ $password .= substr( $chars, mt_rand( 0, strlen( $chars ) - 1 ), 1 );
66
+ }
67
+
68
+ return $password;
69
+ }
70
+
71
  }
includes/class-core.php CHANGED
@@ -1,633 +1,679 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) )
3
- exit;
4
-
5
- new Math_Captcha_Core();
6
-
7
- class Math_Captcha_Core {
8
-
9
- public $session_number = 0;
10
- public $login_failed = false;
11
- public $error_messages;
12
- public $errors;
13
-
14
- /**
15
- *
16
- */
17
- public function __construct() {
18
- // sets instance
19
- Math_Captcha()->core = $this;
20
-
21
- // actions
22
- add_action( 'init', array( &$this, 'load_actions_filters' ), 1 );
23
- add_action( 'plugins_loaded', array( &$this, 'load_defaults' ) );
24
- add_action( 'admin_init', array( &$this, 'flush_rewrites' ) );
25
-
26
- // filters
27
- add_filter( 'shake_error_codes', array( &$this, 'add_shake_error_codes' ), 1 );
28
- add_filter( 'mod_rewrite_rules', array( &$this, 'block_direct_comments' ) );
29
- }
30
-
31
- /**
32
- * Load defaults
33
- */
34
- public function load_defaults() {
35
- $this->error_messages = array(
36
- 'fill' => '<strong>' . __( 'ERROR', 'math-captcha' ) . '</strong>: ' . __( 'Please enter captcha value.', 'math-captcha' ),
37
- 'wrong' => '<strong>' . __( 'ERROR', 'math-captcha' ) . '</strong>: ' . __( 'Invalid captcha value.', 'math-captcha' ),
38
- 'time' => '<strong>' . __( 'ERROR', 'math-captcha' ) . '</strong>: ' . __( 'Captcha time expired.', 'math-captcha' )
39
- );
40
- }
41
-
42
- /**
43
- * Loads required filters
44
- */
45
- public function load_actions_filters() {
46
- // Contact Form 7
47
- if ( Math_Captcha()->options['general']['enable_for']['contact_form_7'] && class_exists( 'WPCF7_ContactForm' ) )
48
- include_once(MATH_CAPTCHA_PATH . 'includes/integrations/contact-form-7.php');
49
-
50
- if ( is_admin() )
51
- return;
52
-
53
- $action = (isset( $_GET['action'] ) && $_GET['action'] !== '' ? $_GET['action'] : null);
54
-
55
- // comments
56
- if ( Math_Captcha()->options['general']['enable_for']['comment_form'] ) {
57
- if ( ! is_user_logged_in() )
58
- add_action( 'comment_form_after_fields', array( &$this, 'add_captcha_form' ) );
59
- elseif ( ! Math_Captcha()->options['general']['hide_for_logged_users'] )
60
- add_action( 'comment_form_logged_in_after', array( &$this, 'add_captcha_form' ) );
61
-
62
- add_filter( 'preprocess_comment', array( &$this, 'add_comment_with_captcha' ) );
63
- }
64
-
65
- // registration
66
- if ( Math_Captcha()->options['general']['enable_for']['registration_form'] && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) && $action === 'register' ) {
67
- add_action( 'register_form', array( &$this, 'add_captcha_form' ) );
68
- add_action( 'register_post', array( &$this, 'add_user_with_captcha' ), 10, 3 );
69
- add_action( 'signup_extra_fields', array( &$this, 'add_captcha_form' ) );
70
- add_filter( 'wpmu_validate_user_signup', array( &$this, 'validate_user_with_captcha' ) );
71
- }
72
-
73
- // lost password
74
- if ( Math_Captcha()->options['general']['enable_for']['reset_password_form'] && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) && $action === 'lostpassword' ) {
75
- add_action( 'lostpassword_form', array( &$this, 'add_captcha_form' ) );
76
- add_action( 'lostpassword_post', array( &$this, 'check_lost_password_with_captcha' ) );
77
- }
78
-
79
- // login
80
- if ( Math_Captcha()->options['general']['enable_for']['login_form'] && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) && $action === null ) {
81
- add_action( 'login_form', array( &$this, 'add_captcha_form' ) );
82
- add_filter( 'login_redirect', array( &$this, 'redirect_login_with_captcha' ), 10, 3 );
83
- add_filter( 'authenticate', array( &$this, 'authenticate_user' ), 1000, 3 );
84
- }
85
-
86
- // bbPress
87
- if ( Math_Captcha()->options['general']['enable_for']['bbpress'] && class_exists( 'bbPress' ) && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) ) {
88
- add_action( 'bbp_theme_after_reply_form_content', array( &$this, 'add_bbp_captcha_form' ) );
89
- add_action( 'bbp_theme_after_topic_form_content', array( &$this, 'add_bbp_captcha_form' ) );
90
- add_action( 'bbp_new_reply_pre_extras', array( &$this, 'check_bbpress_captcha' ) );
91
- add_action( 'bbp_new_topic_pre_extras', array( &$this, 'check_bbpress_captcha' ) );
92
- }
93
- }
94
-
95
- /**
96
- * Adds lost password errors
97
- */
98
- public function add_lostpassword_captcha_message( $errors ) {
99
- return $errors . $this->errors->errors['math-captcha-error'][0];
100
- }
101
-
102
- /**
103
- * Adds lost password errors (special way)
104
- */
105
- public function add_lostpassword_wp_message() {
106
- return $this->errors;
107
- }
108
-
109
- /**
110
- * Validates lost password form
111
- */
112
- public function check_lost_password_with_captcha() {
113
- $this->errors = new WP_Error();
114
- $user_error = false;
115
- $user_data = null;
116
-
117
- // checks captcha
118
- if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
119
- if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
120
- if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
121
- $this->errors->add( 'math-captcha-error', $this->error_messages['wrong'] );
122
- } else
123
- $this->errors->add( 'math-captcha-error', $this->error_messages['time'] );
124
- } else
125
- $this->errors->add( 'math-captcha-error', $this->error_messages['fill'] );
126
-
127
- // checks user_login (from wp-login.php)
128
- if ( empty( $_POST['user_login'] ) )
129
- $user_error = true;
130
- elseif ( strpos( $_POST['user_login'], '@' ) ) {
131
- $user_data = get_user_by( 'email', trim( $_POST['user_login'] ) );
132
-
133
- if ( empty( $user_data ) )
134
- $user_error = true;
135
- } else
136
- $user_data = get_user_by( 'login', trim( $_POST['user_login'] ) );
137
-
138
- if ( ! $user_data )
139
- $user_error = true;
140
-
141
- // something went wrong?
142
- if ( ! empty( $this->errors->errors ) ) {
143
- // nasty hack (captcha is wrong but user_login is fine)
144
- if ( $user_error === false )
145
- add_filter( 'allow_password_reset', array( &$this, 'add_lostpassword_wp_message' ) );
146
- else
147
- add_filter( 'login_errors', array( &$this, 'add_lostpassword_captcha_message' ) );
148
- }
149
- }
150
-
151
- /**
152
- * Validates register form
153
- */
154
- public function add_user_with_captcha( $login, $email, $errors ) {
155
- if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
156
- if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
157
- if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
158
- $errors->add( 'math-captcha-error', $this->error_messages['wrong'] );
159
- } else
160
- $errors->add( 'math-captcha-error', $this->error_messages['time'] );
161
- } else
162
- $errors->add( 'math-captcha-error', $this->error_messages['fill'] );
163
-
164
- return $errors;
165
- }
166
-
167
- /**
168
- * Validates register form
169
- */
170
- public function validate_user_with_captcha( $result ) {
171
- if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
172
- if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
173
- if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
174
- $result['errors']->add( 'math-captcha-error', $this->error_messages['wrong'] );
175
- } else
176
- $result['errors']->add( 'math-captcha-error', $this->error_messages['time'] );
177
- } else
178
- $result['errors']->add( 'math-captcha-error', $this->error_messages['fill'] );
179
-
180
- return $result;
181
- }
182
-
183
- /**
184
- * Posts login form
185
- */
186
- public function redirect_login_with_captcha( $redirect, $bool, $errors ) {
187
- if ( $this->login_failed === false && ! empty( $_POST ) ) {
188
- $error = '';
189
-
190
- if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
191
- if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
192
- if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
193
- $error = 'wrong';
194
- } else
195
- $error = 'time';
196
- } else
197
- $error = 'fill';
198
-
199
- if ( is_wp_error( $errors ) && ! empty( $error ) )
200
- $errors->add( 'math-captcha-error', $this->error_messages[$error] );
201
- }
202
-
203
- return $redirect;
204
- }
205
-
206
- /**
207
- * Authenticate user
208
- */
209
- public function authenticate_user( $user, $username, $password ) {
210
- // user gave us valid login and password
211
- if ( ! is_wp_error( $user ) ) {
212
- if ( ! empty( $_POST ) ) {
213
- if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
214
- if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
215
- if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
216
- $error = 'wrong';
217
- } else
218
- $error = 'time';
219
- } else
220
- $error = 'fill';
221
- }
222
-
223
- if ( ! empty( $error ) ) {
224
- // destroy cookie
225
- wp_clear_auth_cookie();
226
-
227
- $user = new WP_Error();
228
- $user->add( 'math-captcha-error', $this->error_messages[$error] );
229
-
230
- // inform redirect function that we failed to login
231
- $this->login_failed = true;
232
- }
233
- }
234
-
235
- return $user;
236
- }
237
-
238
- /**
239
- * Adds shake
240
- */
241
- public function add_shake_error_codes( $codes ) {
242
- $codes[] = 'math-captcha-error';
243
-
244
- return $codes;
245
- }
246
-
247
- /**
248
- * Adds captcha to comment form
249
- */
250
- public function add_comment_with_captcha( $comment ) {
251
- if ( isset( $_POST['mc-value'] ) && ( ! is_admin() || DOING_AJAX) && ($comment['comment_type'] === '' || $comment['comment_type'] === 'comment') ) {
252
- if ( $_POST['mc-value'] !== '' ) {
253
- if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
254
- if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) === 0 )
255
- return $comment;
256
- else
257
- wp_die( $this->error_messages['wrong'] );
258
- } else
259
- wp_die( $this->error_messages['time'] );
260
- } else
261
- wp_die( $this->error_messages['fill'] );
262
- } else
263
- return $comment;
264
- }
265
-
266
- /**
267
- * Shows and generates captcha
268
- */
269
- public function add_captcha_form() {
270
- if ( is_admin() )
271
- return;
272
-
273
- $captcha_title = apply_filters( 'math_captcha_title', Math_Captcha()->options['general']['title'] );
274
-
275
- echo '
276
- <p class="math-captcha-form">';
277
-
278
- if ( ! empty( $captcha_title ) )
279
- echo '
280
- <label>' . $captcha_title . '<br/></label>';
281
-
282
- echo '
283
- <span>' . $this->generate_captcha_phrase( 'default' ) . '</span>
284
- </p>';
285
- }
286
-
287
- /**
288
- * Shows and generates captcha for bbPress
289
- */
290
- public function add_bbp_captcha_form() {
291
- if ( is_admin() )
292
- return;
293
-
294
- $captcha_title = apply_filters( 'math_captcha_title', Math_Captcha()->options['general']['title'] );
295
-
296
- echo '
297
- <p class="math-captcha-form">';
298
-
299
- if ( ! empty( $captcha_title ) )
300
- echo '
301
- <label>' . $captcha_title . '<br/></label>';
302
-
303
- echo '
304
- <span>' . $this->generate_captcha_phrase( 'bbpress' ) . '</span>
305
- </p>';
306
- }
307
-
308
- /**
309
- * Validates bbpress topics and replies
310
- */
311
- public function check_bbpress_captcha() {
312
- if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
313
- if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'bbp_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
314
- if ( strcmp( get_transient( 'bbp_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
315
- bbp_add_error( 'math-captcha-wrong', $this->error_messages['wrong'] );
316
- } else
317
- bbp_add_error( 'math-captcha-wrong', $this->error_messages['time'] );
318
- } else
319
- bbp_add_error( 'math-captcha-wrong', $this->error_messages['fill'] );
320
- }
321
-
322
- /**
323
- * Encodes chars
324
- */
325
- private function encode_operation( $string ) {
326
- $chars = str_split( $string );
327
- $seed = mt_rand( 0, (int) abs( crc32( $string ) / strlen( $string ) ) );
328
-
329
- foreach ( $chars as $key => $char ) {
330
- $ord = ord( $char );
331
-
332
- // ignore non-ascii chars
333
- if ( $ord < 128 ) {
334
- // pseudo "random function"
335
- $r = ($seed * (1 + $key)) % 100;
336
-
337
- if ( $r > 60 && $char !== '@' ) {
338
-
339
- } // plain character (not encoded), if not @-sign
340
- elseif ( $r < 45 )
341
- $chars[$key] = '&#x' . dechex( $ord ) . ';'; // hexadecimal
342
- else
343
- $chars[$key] = '&#' . $ord . ';'; // decimal (ascii)
344
- }
345
- }
346
-
347
- return implode( '', $chars );
348
- }
349
-
350
- /**
351
- * Converts numbers to words
352
- */
353
- private function numberToWords( $number ) {
354
- $words = array(
355
- 1 => __( 'one', 'math-captcha' ),
356
- 2 => __( 'two', 'math-captcha' ),
357
- 3 => __( 'three', 'math-captcha' ),
358
- 4 => __( 'four', 'math-captcha' ),
359
- 5 => __( 'five', 'math-captcha' ),
360
- 6 => __( 'six', 'math-captcha' ),
361
- 7 => __( 'seven', 'math-captcha' ),
362
- 8 => __( 'eight', 'math-captcha' ),
363
- 9 => __( 'nine', 'math-captcha' ),
364
- 10 => __( 'ten', 'math-captcha' ),
365
- 11 => __( 'eleven', 'math-captcha' ),
366
- 12 => __( 'twelve', 'math-captcha' ),
367
- 13 => __( 'thirteen', 'math-captcha' ),
368
- 14 => __( 'fourteen', 'math-captcha' ),
369
- 15 => __( 'fifteen', 'math-captcha' ),
370
- 16 => __( 'sixteen', 'math-captcha' ),
371
- 17 => __( 'seventeen', 'math-captcha' ),
372
- 18 => __( 'eighteen', 'math-captcha' ),
373
- 19 => __( 'nineteen', 'math-captcha' ),
374
- 20 => __( 'twenty', 'math-captcha' ),
375
- 30 => __( 'thirty', 'math-captcha' ),
376
- 40 => __( 'forty', 'math-captcha' ),
377
- 50 => __( 'fifty', 'math-captcha' ),
378
- 60 => __( 'sixty', 'math-captcha' ),
379
- 70 => __( 'seventy', 'math-captcha' ),
380
- 80 => __( 'eighty', 'math-captcha' ),
381
- 90 => __( 'ninety', 'math-captcha' )
382
- );
383
-
384
- if ( isset( $words[$number] ) )
385
- return $words[$number];
386
- else {
387
- $reverse = false;
388
-
389
- switch ( get_bloginfo( 'language' ) ) {
390
- case 'de-DE':
391
- $spacer = 'und';
392
- $reverse = true;
393
- break;
394
-
395
- case 'nl-NL':
396
- $spacer = 'en';
397
- $reverse = true;
398
- break;
399
-
400
- case 'ru-RU':
401
- case 'pl-PL':
402
- case 'en-EN':
403
- default:
404
- $spacer = ' ';
405
- }
406
-
407
- $first = (int) (substr( $number, 0, 1 ) * 10);
408
- $second = (int) substr( $number, -1 );
409
-
410
- return ($reverse === false ? $words[$first] . $spacer . $words[$second] : $words[$second] . $spacer . $words[$first]);
411
- }
412
- }
413
-
414
- /**
415
- * Generates captcha
416
- */
417
- public function generate_captcha_phrase( $form = '' ) {
418
- $ops = array(
419
- 'addition' => '+',
420
- 'subtraction' => '&#8722;',
421
- 'multiplication' => '&#215;',
422
- 'division' => '&#247;',
423
- );
424
-
425
- $operations = $groups = array();
426
- $input = '<input type="text" size="2" length="2" id="mc-input" class="mc-input" name="mc-value" value="" aria-required="true"/>';
427
-
428
- // available operations
429
- foreach ( Math_Captcha()->options['general']['mathematical_operations'] as $operation => $enable ) {
430
- if ( $enable === true )
431
- $operations[] = $operation;
432
- }
433
-
434
- // available groups
435
- foreach ( Math_Captcha()->options['general']['groups'] as $group => $enable ) {
436
- if ( $enable === true )
437
- $groups[] = $group;
438
- }
439
-
440
- // number of groups
441
- $ao = count( $groups );
442
-
443
- // operation
444
- $rnd_op = $operations[mt_rand( 0, count( $operations ) - 1 )];
445
- $number[3] = $ops[$rnd_op];
446
-
447
- // place where to put empty input
448
- $rnd_input = mt_rand( 0, 2 );
449
-
450
- // which random operation
451
- switch ( $rnd_op ) {
452
- case 'addition':
453
- if ( $rnd_input === 0 ) {
454
- $number[0] = mt_rand( 1, 10 );
455
- $number[1] = mt_rand( 1, 89 );
456
- } elseif ( $rnd_input === 1 ) {
457
- $number[0] = mt_rand( 1, 89 );
458
- $number[1] = mt_rand( 1, 10 );
459
- } elseif ( $rnd_input === 2 ) {
460
- $number[0] = mt_rand( 1, 9 );
461
- $number[1] = mt_rand( 1, 10 - $number[0] );
462
- }
463
-
464
- $number[2] = $number[0] + $number[1];
465
- break;
466
-
467
- case 'subtraction':
468
- if ( $rnd_input === 0 ) {
469
- $number[0] = mt_rand( 2, 10 );
470
- $number[1] = mt_rand( 1, $number[0] - 1 );
471
- } elseif ( $rnd_input === 1 ) {
472
- $number[0] = mt_rand( 11, 99 );
473
- $number[1] = mt_rand( 1, 10 );
474
- } elseif ( $rnd_input === 2 ) {
475
- $number[0] = mt_rand( 11, 99 );
476
- $number[1] = mt_rand( $number[0] - 10, $number[0] - 1 );
477
- }
478
-
479
- $number[2] = $number[0] - $number[1];
480
- break;
481
-
482
- case 'multiplication':
483
- if ( $rnd_input === 0 ) {
484
- $number[0] = mt_rand( 1, 10 );
485
- $number[1] = mt_rand( 1, 9 );
486
- } elseif ( $rnd_input === 1 ) {
487
- $number[0] = mt_rand( 1, 9 );
488
- $number[1] = mt_rand( 1, 10 );
489
- } elseif ( $rnd_input === 2 ) {
490
- $number[0] = mt_rand( 1, 10 );
491
- $number[1] = ($number[0] > 5 ? 1 : ($number[0] === 4 && $number[0] === 5 ? mt_rand( 1, 2 ) : ($number[0] === 3 ? mt_rand( 1, 3 ) : ($number[0] === 2 ? mt_rand( 1, 5 ) : mt_rand( 1, 10 )))));
492
- }
493
-
494
- $number[2] = $number[0] * $number[1];
495
- break;
496
-
497
- case 'division':
498
- $divide = array( 1 => 99, 2 => 49, 3 => 33, 4 => 24, 5 => 19, 6 => 16, 7 => 14, 8 => 12, 9 => 11, 10 => 9 );
499
-
500
- if ( $rnd_input === 0 ) {
501
- $divide = array( 2 => array( 1, 2 ), 3 => array( 1, 3 ), 4 => array( 1, 2, 4 ), 5 => array( 1, 5 ), 6 => array( 1, 2, 3, 6 ), 7 => array( 1, 7 ), 8 => array( 1, 2, 4, 8 ), 9 => array( 1, 3, 9 ), 10 => array( 1, 2, 5, 10 ) );
502
- $number[0] = mt_rand( 2, 10 );
503
- $number[1] = $divide[$number[0]][mt_rand( 0, count( $divide[$number[0]] ) - 1 )];
504
- } elseif ( $rnd_input === 1 ) {
505
- $number[1] = mt_rand( 1, 10 );
506
- $number[0] = $number[1] * mt_rand( 1, $divide[$number[1]] );
507
- } elseif ( $rnd_input === 2 ) {
508
- $number[2] = mt_rand( 1, 10 );
509
- $number[0] = $number[2] * mt_rand( 1, $divide[$number[2]] );
510
- $number[1] = (int) ($number[0] / $number[2]);
511
- }
512
-
513
- if ( ! isset( $number[2] ) )
514
- $number[2] = (int) ($number[0] / $number[1]);
515
-
516
- break;
517
- }
518
-
519
- // words
520
- if ( $ao === 1 && $groups[0] === 'words' ) {
521
- if ( $rnd_input === 0 ) {
522
- $number[1] = $this->numberToWords( $number[1] );
523
- $number[2] = $this->numberToWords( $number[2] );
524
- } elseif ( $rnd_input === 1 ) {
525
- $number[0] = $this->numberToWords( $number[0] );
526
- $number[2] = $this->numberToWords( $number[2] );
527
- } elseif ( $rnd_input === 2 ) {
528
- $number[0] = $this->numberToWords( $number[0] );
529
- $number[1] = $this->numberToWords( $number[1] );
530
- }
531
- }
532
- // numbers and words
533
- elseif ( $ao === 2 ) {
534
- if ( $rnd_input === 0 ) {
535
- if ( mt_rand( 1, 2 ) === 2 ) {
536
- $number[1] = $this->numberToWords( $number[1] );
537
- $number[2] = $this->numberToWords( $number[2] );
538
- } else
539
- $number[$tmp = mt_rand( 1, 2 )] = $this->numberToWords( $number[$tmp] );
540
- }
541
- elseif ( $rnd_input === 1 ) {
542
- if ( mt_rand( 1, 2 ) === 2 ) {
543
- $number[0] = $this->numberToWords( $number[0] );
544
- $number[2] = $this->numberToWords( $number[2] );
545
- } else
546
- $number[$tmp = array_rand( array( 0 => 0, 2 => 2 ), 1 )] = $this->numberToWords( $number[$tmp] );
547
- }
548
- elseif ( $rnd_input === 2 ) {
549
- if ( mt_rand( 1, 2 ) === 2 ) {
550
- $number[0] = $this->numberToWords( $number[0] );
551
- $number[1] = $this->numberToWords( $number[1] );
552
- } else
553
- $number[$tmp = mt_rand( 0, 1 )] = $this->numberToWords( $number[$tmp] );
554
- }
555
- }
556
-
557
- if ( in_array( $form, array( 'default', 'bbpress' ), true ) ) {
558
- // position of empty input
559
- if ( $rnd_input === 0 )
560
- $return = $input . ' ' . $number[3] . ' ' . $this->encode_operation( $number[1] ) . ' = ' . $this->encode_operation( $number[2] );
561
- elseif ( $rnd_input === 1 )
562
- $return = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ' . $input . ' = ' . $this->encode_operation( $number[2] );
563
- elseif ( $rnd_input === 2 )
564
- $return = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ' . $this->encode_operation( $number[1] ) . ' = ' . $input;
565
-
566
- $transient_name = ($form === 'bbpress' ? 'bbp' : 'mc');
567
- $session_id = Math_Captcha()->cookie_session->session_ids['default'];
568
- }
569
- elseif ( $form === 'cf7' ) {
570
- $return = array();
571
-
572
- if ( $rnd_input === 0 ) {
573
- $return['input'] = 1;
574
- $return[2] = ' ' . $number[3] . ' ' . $this->encode_operation( $number[1] ) . ' = ';
575
- $return[3] = $this->encode_operation( $number[2] );
576
- } elseif ( $rnd_input === 1 ) {
577
- $return[1] = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ';
578
- $return['input'] = 2;
579
- $return[3] = ' = ' . $this->encode_operation( $number[2] );
580
- } elseif ( $rnd_input === 2 ) {
581
- $return[1] = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ';
582
- $return[2] = $this->encode_operation( $number[1] ) . ' = ';
583
- $return['input'] = 3;
584
- }
585
-
586
- $transient_name = 'cf7';
587
- $session_id = Math_Captcha()->cookie_session->session_ids['multi'][$this->session_number ++];
588
- }
589
-
590
- set_transient( $transient_name . '_' . $session_id, sha1( AUTH_KEY . $number[$rnd_input] . $session_id, false ), apply_filters( 'math_captcha_time', Math_Captcha()->options['general']['time'] ) );
591
-
592
- return $return;
593
- }
594
-
595
- /**
596
- *
597
- */
598
- public function flush_rewrites() {
599
- if ( Math_Captcha()->options['general']['flush_rules'] ) {
600
- global $wp_rewrite;
601
-
602
- $wp_rewrite->flush_rules();
603
-
604
- Math_Captcha()->options['general']['flush_rules'] = false;
605
- update_option( 'math_captcha_options', Math_Captcha()->options['general'] );
606
- }
607
- }
608
-
609
- /**
610
- *
611
- */
612
- public function block_direct_comments( $rules ) {
613
- if ( Math_Captcha()->options['general']['block_direct_comments'] ) {
614
- $new_rules = <<<EOT
615
- \n# BEGIN Math Captcha
616
- <IfModule mod_rewrite.c>
617
- RewriteEngine On
618
- RewriteCond %{REQUEST_METHOD} POST
619
- RewriteCond %{REQUEST_URI} .wp-comments-post.php*
620
- RewriteCond %{HTTP_REFERER} !.*{$_SERVER['HTTP_HOST']}.* [OR]
621
- RewriteCond %{HTTP_USER_AGENT} ^$
622
- RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
623
- </IfModule>
624
- # END Math Captcha\n\n
625
- EOT;
626
-
627
- return $new_rules . $rules;
628
- }
629
-
630
- return $rules;
631
- }
632
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
  }
1
+ <?php
2
+ // exit if accessed directly
3
+ if ( ! defined( 'ABSPATH' ) )
4
+ exit;
5
+
6
+ new Math_Captcha_Core();
7
+
8
+ class Math_Captcha_Core {
9
+
10
+ public $session_number = 0;
11
+ public $login_failed = false;
12
+ public $error_messages;
13
+ public $errors;
14
+
15
+ /**
16
+ *
17
+ */
18
+ public function __construct() {
19
+ // set instance
20
+ Math_Captcha()->core = $this;
21
+
22
+ // actions
23
+ add_action( 'init', array( &$this, 'load_actions_filters' ), 1 );
24
+ add_action( 'plugins_loaded', array( &$this, 'load_defaults' ) );
25
+ add_action( 'admin_init', array( &$this, 'flush_rewrites' ) );
26
+
27
+ // filters
28
+ add_filter( 'shake_error_codes', array( &$this, 'add_shake_error_codes' ), 1 );
29
+ add_filter( 'mod_rewrite_rules', array( &$this, 'block_direct_comments' ) );
30
+ }
31
+
32
+ /**
33
+ * Load defaults.
34
+ */
35
+ public function load_defaults() {
36
+ $this->error_messages = array(
37
+ 'fill' => '<strong>' . __( 'ERROR', 'math-captcha' ) . '</strong>: ' . __( 'Please enter captcha value.', 'math-captcha' ),
38
+ 'wrong' => '<strong>' . __( 'ERROR', 'math-captcha' ) . '</strong>: ' . __( 'Invalid captcha value.', 'math-captcha' ),
39
+ 'time' => '<strong>' . __( 'ERROR', 'math-captcha' ) . '</strong>: ' . __( 'Captcha time expired.', 'math-captcha' )
40
+ );
41
+ }
42
+
43
+ /**
44
+ * Load required filters.
45
+ */
46
+ public function load_actions_filters() {
47
+ // Contact Form 7
48
+ if ( Math_Captcha()->options['general']['enable_for']['contact_form_7'] && class_exists( 'WPCF7_ContactForm' ) )
49
+ include_once(MATH_CAPTCHA_PATH . 'includes/integrations/contact-form-7.php');
50
+
51
+ if ( is_admin() )
52
+ return;
53
+
54
+ $action = (isset( $_GET['action'] ) && $_GET['action'] !== '' ? $_GET['action'] : null);
55
+
56
+ // comments
57
+ if ( Math_Captcha()->options['general']['enable_for']['comment_form'] ) {
58
+ if ( ! is_user_logged_in() )
59
+ add_action( 'comment_form_after_fields', array( &$this, 'add_captcha_form' ) );
60
+ elseif ( ! Math_Captcha()->options['general']['hide_for_logged_users'] )
61
+ add_action( 'comment_form_logged_in_after', array( &$this, 'add_captcha_form' ) );
62
+
63
+ add_filter( 'preprocess_comment', array( &$this, 'add_comment_with_captcha' ) );
64
+ }
65
+
66
+ // registration
67
+ if ( Math_Captcha()->options['general']['enable_for']['registration_form'] && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) && $action === 'register' ) {
68
+ add_action( 'register_form', array( &$this, 'add_captcha_form' ) );
69
+ add_action( 'register_post', array( &$this, 'add_user_with_captcha' ), 10, 3 );
70
+ add_action( 'signup_extra_fields', array( &$this, 'add_captcha_form' ) );
71
+ add_filter( 'wpmu_validate_user_signup', array( &$this, 'validate_user_with_captcha' ) );
72
+ }
73
+
74
+ // lost password
75
+ if ( Math_Captcha()->options['general']['enable_for']['reset_password_form'] && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) && $action === 'lostpassword' ) {
76
+ add_action( 'lostpassword_form', array( &$this, 'add_captcha_form' ) );
77
+ add_action( 'lostpassword_post', array( &$this, 'check_lost_password_with_captcha' ) );
78
+ }
79
+
80
+ // login
81
+ if ( Math_Captcha()->options['general']['enable_for']['login_form'] && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) && $action === null ) {
82
+ add_action( 'login_form', array( &$this, 'add_captcha_form' ) );
83
+ add_filter( 'login_redirect', array( &$this, 'redirect_login_with_captcha' ), 10, 3 );
84
+ add_filter( 'authenticate', array( &$this, 'authenticate_user' ), 1000, 3 );
85
+ }
86
+
87
+ // bbPress
88
+ if ( Math_Captcha()->options['general']['enable_for']['bbpress'] && class_exists( 'bbPress' ) && ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users'])) ) {
89
+ add_action( 'bbp_theme_after_reply_form_content', array( &$this, 'add_bbp_captcha_form' ) );
90
+ add_action( 'bbp_theme_after_topic_form_content', array( &$this, 'add_bbp_captcha_form' ) );
91
+ add_action( 'bbp_new_reply_pre_extras', array( &$this, 'check_bbpress_captcha' ) );
92
+ add_action( 'bbp_new_topic_pre_extras', array( &$this, 'check_bbpress_captcha' ) );
93
+ }
94
+ }
95
+
96
+ /**
97
+ * Add lost password errors.
98
+ *
99
+ * @param array $errors
100
+ * @return array
101
+ */
102
+ public function add_lostpassword_captcha_message( $errors ) {
103
+ return $errors . $this->errors->errors['math-captcha-error'][0];
104
+ }
105
+
106
+ /**
107
+ * Add lost password errors (special way)
108
+ *
109
+ * @return array
110
+ */
111
+ public function add_lostpassword_wp_message() {
112
+ return $this->errors;
113
+ }
114
+
115
+ /**
116
+ * Validate lost password form.
117
+ */
118
+ public function check_lost_password_with_captcha() {
119
+ $this->errors = new WP_Error();
120
+ $user_error = false;
121
+ $user_data = null;
122
+
123
+ // checks captcha
124
+ if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
125
+ if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
126
+ if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
127
+ $this->errors->add( 'math-captcha-error', $this->error_messages['wrong'] );
128
+ } else
129
+ $this->errors->add( 'math-captcha-error', $this->error_messages['time'] );
130
+ } else
131
+ $this->errors->add( 'math-captcha-error', $this->error_messages['fill'] );
132
+
133
+ // checks user_login (from wp-login.php)
134
+ if ( empty( $_POST['user_login'] ) )
135
+ $user_error = true;
136
+ elseif ( strpos( $_POST['user_login'], '@' ) ) {
137
+ $user_data = get_user_by( 'email', trim( $_POST['user_login'] ) );
138
+
139
+ if ( empty( $user_data ) )
140
+ $user_error = true;
141
+ } else
142
+ $user_data = get_user_by( 'login', trim( $_POST['user_login'] ) );
143
+
144
+ if ( ! $user_data )
145
+ $user_error = true;
146
+
147
+ // something went wrong?
148
+ if ( ! empty( $this->errors->errors ) ) {
149
+ // nasty hack (captcha is invalid but user_login is fine)
150
+ if ( $user_error === false )
151
+ add_filter( 'allow_password_reset', array( &$this, 'add_lostpassword_wp_message' ) );
152
+ else
153
+ add_filter( 'login_errors', array( &$this, 'add_lostpassword_captcha_message' ) );
154
+ }
155
+ }
156
+
157
+ /**
158
+ * Validate registration form.
159
+ *
160
+ * @param string $login
161
+ * @param string $email
162
+ * @param array $errors
163
+ * @return array
164
+ */
165
+ public function add_user_with_captcha( $login, $email, $errors ) {
166
+ if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
167
+ if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
168
+ if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
169
+ $errors->add( 'math-captcha-error', $this->error_messages['wrong'] );
170
+ } else
171
+ $errors->add( 'math-captcha-error', $this->error_messages['time'] );
172
+ } else
173
+ $errors->add( 'math-captcha-error', $this->error_messages['fill'] );
174
+
175
+ return $errors;
176
+ }
177
+
178
+ /**
179
+ * Validate registration form.
180
+ *
181
+ * @param array $result
182
+ * @return array
183
+ */
184
+ public function validate_user_with_captcha( $result ) {
185
+ if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
186
+ if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
187
+ if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
188
+ $result['errors']->add( 'math-captcha-error', $this->error_messages['wrong'] );
189
+ } else
190
+ $result['errors']->add( 'math-captcha-error', $this->error_messages['time'] );
191
+ } else
192
+ $result['errors']->add( 'math-captcha-error', $this->error_messages['fill'] );
193
+
194
+ return $result;
195
+ }
196
+
197
+ /**
198
+ * Posts login form
199
+ *
200
+ * @param string $redirect
201
+ * @param bool $bool
202
+ * @param array $errors
203
+ * @return array
204
+ */
205
+ public function redirect_login_with_captcha( $redirect, $bool, $errors ) {
206
+ if ( $this->login_failed === false && ! empty( $_POST ) ) {
207
+ $error = '';
208
+
209
+ if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
210
+ if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
211
+ if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
212
+ $error = 'wrong';
213
+ } else
214
+ $error = 'time';
215
+ } else
216
+ $error = 'fill';
217
+
218
+ if ( is_wp_error( $errors ) && ! empty( $error ) )
219
+ $errors->add( 'math-captcha-error', $this->error_messages[$error] );
220
+ }
221
+
222
+ return $redirect;
223
+ }
224
+
225
+ /**
226
+ * Authenticate user.
227
+ *
228
+ * @param WP_Error $user
229
+ * @param string $username
230
+ * @param string $password
231
+ * @return \WP_Error
232
+ */
233
+ public function authenticate_user( $user, $username, $password ) {
234
+ // user gave us valid login and password
235
+ if ( ! is_wp_error( $user ) ) {
236
+ if ( ! empty( $_POST ) ) {
237
+ if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
238
+ if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
239
+ if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
240
+ $error = 'wrong';
241
+ } else
242
+ $error = 'time';
243
+ } else
244
+ $error = 'fill';
245
+ }
246
+
247
+ if ( ! empty( $error ) ) {
248
+ // destroy cookie
249
+ wp_clear_auth_cookie();
250
+
251
+ $user = new WP_Error();
252
+ $user->add( 'math-captcha-error', $this->error_messages[$error] );
253
+
254
+ // inform redirect function that we failed to login
255
+ $this->login_failed = true;
256
+ }
257
+ }
258
+
259
+ return $user;
260
+ }
261
+
262
+ /**
263
+ * Add shake.
264
+ *
265
+ * @param array $codes
266
+ * @return array
267
+ */
268
+ public function add_shake_error_codes( $codes ) {
269
+ $codes[] = 'math-captcha-error';
270
+
271
+ return $codes;
272
+ }
273
+
274
+ /**
275
+ * Add captcha to comment form.
276
+ *
277
+ * @param array $comment
278
+ * @return array
279
+ */
280
+ public function add_comment_with_captcha( $comment ) {
281
+ if ( isset( $_POST['mc-value'] ) && ( ! is_admin() || DOING_AJAX) && ($comment['comment_type'] === '' || $comment['comment_type'] === 'comment') ) {
282
+ if ( $_POST['mc-value'] !== '' ) {
283
+ if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
284
+ if ( strcmp( get_transient( 'mc_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) === 0 )
285
+ return $comment;
286
+ else
287
+ wp_die( $this->error_messages['wrong'] );
288
+ } else
289
+ wp_die( $this->error_messages['time'] );
290
+ } else
291
+ wp_die( $this->error_messages['fill'] );
292
+ } else
293
+ return $comment;
294
+ }
295
+
296
+ /**
297
+ * Display and generate captcha.
298
+ *
299
+ * @return mixed
300
+ */
301
+ public function add_captcha_form() {
302
+ if ( is_admin() )
303
+ return;
304
+
305
+ $captcha_title = apply_filters( 'math_captcha_title', Math_Captcha()->options['general']['title'] );
306
+
307
+ echo '
308
+ <p class="math-captcha-form">';
309
+
310
+ if ( ! empty( $captcha_title ) )
311
+ echo '
312
+ <label>' . $captcha_title . '<br/></label>';
313
+
314
+ echo '
315
+ <span>' . $this->generate_captcha_phrase( 'default' ) . '</span>
316
+ </p>';
317
+ }
318
+
319
+ /**
320
+ * Display and generate captcha for bbPress forms.
321
+ *
322
+ * @return mixed
323
+ */
324
+ public function add_bbp_captcha_form() {
325
+ if ( is_admin() )
326
+ return;
327
+
328
+ $captcha_title = apply_filters( 'math_captcha_title', Math_Captcha()->options['general']['title'] );
329
+
330
+ echo '
331
+ <p class="math-captcha-form">';
332
+
333
+ if ( ! empty( $captcha_title ) )
334
+ echo '
335
+ <label>' . $captcha_title . '<br/></label>';
336
+
337
+ echo '
338
+ <span>' . $this->generate_captcha_phrase( 'bbpress' ) . '</span>
339
+ </p>';
340
+ }
341
+
342
+ /**
343
+ * Validate bbpress topics and replies.
344
+ */
345
+ public function check_bbpress_captcha() {
346
+ if ( isset( $_POST['mc-value'] ) && $_POST['mc-value'] !== '' ) {
347
+ if ( Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient( 'bbp_' . Math_Captcha()->cookie_session->session_ids['default'] ) !== false ) {
348
+ if ( strcmp( get_transient( 'bbp_' . Math_Captcha()->cookie_session->session_ids['default'] ), sha1( AUTH_KEY . $_POST['mc-value'] . Math_Captcha()->cookie_session->session_ids['default'], false ) ) !== 0 )
349
+ bbp_add_error( 'math-captcha-wrong', $this->error_messages['wrong'] );
350
+ } else
351
+ bbp_add_error( 'math-captcha-wrong', $this->error_messages['time'] );
352
+ } else
353
+ bbp_add_error( 'math-captcha-wrong', $this->error_messages['fill'] );
354
+ }
355
+
356
+ /**
357
+ * Encode chars.
358
+ *
359
+ * @param string $string
360
+ * @return string
361
+ */
362
+ private function encode_operation( $string ) {
363
+ $chars = str_split( $string );
364
+ $seed = mt_rand( 0, (int) abs( crc32( $string ) / strlen( $string ) ) );
365
+
366
+ foreach ( $chars as $key => $char ) {
367
+ $ord = ord( $char );
368
+
369
+ // ignore non-ascii chars
370
+ if ( $ord < 128 ) {
371
+ // pseudo "random function"
372
+ $r = ($seed * (1 + $key)) % 100;
373
+
374
+ if ( $r > 60 && $char !== '@' ) {
375
+
376
+ } // plain character (not encoded), if not @-sign
377
+ elseif ( $r < 45 )
378
+ $chars[$key] = '&#x' . dechex( $ord ) . ';'; // hexadecimal
379
+ else
380
+ $chars[$key] = '&#' . $ord . ';'; // decimal (ascii)
381
+ }
382
+ }
383
+
384
+ return implode( '', $chars );
385
+ }
386
+
387
+ /**
388
+ * Convert numbers to words.
389
+ *
390
+ * @param int $number
391
+ * @return string
392
+ */
393
+ private function numberToWords( $number ) {
394
+ $words = array(
395
+ 1 => __( 'one', 'math-captcha' ),
396
+ 2 => __( 'two', 'math-captcha' ),
397
+ 3 => __( 'three', 'math-captcha' ),
398
+ 4 => __( 'four', 'math-captcha' ),
399
+ 5 => __( 'five', 'math-captcha' ),
400
+ 6 => __( 'six', 'math-captcha' ),
401
+ 7 => __( 'seven', 'math-captcha' ),
402
+ 8 => __( 'eight', 'math-captcha' ),
403
+ 9 => __( 'nine', 'math-captcha' ),
404
+ 10 => __( 'ten', 'math-captcha' ),
405
+ 11 => __( 'eleven', 'math-captcha' ),
406
+ 12 => __( 'twelve', 'math-captcha' ),
407
+ 13 => __( 'thirteen', 'math-captcha' ),
408
+ 14 => __( 'fourteen', 'math-captcha' ),
409
+ 15 => __( 'fifteen', 'math-captcha' ),
410
+ 16 => __( 'sixteen', 'math-captcha' ),
411
+ 17 => __( 'seventeen', 'math-captcha' ),
412
+ 18 => __( 'eighteen', 'math-captcha' ),
413
+ 19 => __( 'nineteen', 'math-captcha' ),
414
+ 20 => __( 'twenty', 'math-captcha' ),
415
+ 30 => __( 'thirty', 'math-captcha' ),
416
+ 40 => __( 'forty', 'math-captcha' ),
417
+ 50 => __( 'fifty', 'math-captcha' ),
418
+ 60 => __( 'sixty', 'math-captcha' ),
419
+ 70 => __( 'seventy', 'math-captcha' ),
420
+ 80 => __( 'eighty', 'math-captcha' ),
421
+ 90 => __( 'ninety', 'math-captcha' )
422
+ );
423
+
424
+ if ( isset( $words[$number] ) )
425
+ return $words[$number];
426
+ else {
427
+ $reverse = false;
428
+
429
+ switch ( get_bloginfo( 'language' ) ) {
430
+ case 'de-DE':
431
+ $spacer = 'und';
432
+ $reverse = true;
433
+ break;
434
+
435
+ case 'nl-NL':
436
+ $spacer = 'en';
437
+ $reverse = true;
438
+ break;
439
+
440
+ case 'ru-RU':
441
+ case 'pl-PL':
442
+ case 'en-EN':
443
+ default:
444
+ $spacer = ' ';
445
+ }
446
+
447
+ $first = (int) (substr( $number, 0, 1 ) * 10);
448
+ $second = (int) substr( $number, -1 );
449
+
450
+ return ($reverse === false ? $words[$first] . $spacer . $words[$second] : $words[$second] . $spacer . $words[$first]);
451
+ }
452
+ }
453
+
454
+ /**
455
+ * Generate captcha phrase.
456
+ *
457
+ * @param string $form
458
+ * @return array
459
+ */
460
+ public function generate_captcha_phrase( $form = '' ) {
461
+ $ops = array(
462
+ 'addition' => '+',
463
+ 'subtraction' => '&#8722;',
464
+ 'multiplication' => '&#215;',
465
+ 'division' => '&#247;',
466
+ );
467
+
468
+ $operations = $groups = array();
469
+ $input = '<input type="text" size="2" length="2" id="mc-input" class="mc-input" name="mc-value" value="" aria-required="true"/>';
470
+
471
+ // available operations
472
+ foreach ( Math_Captcha()->options['general']['mathematical_operations'] as $operation => $enable ) {
473
+ if ( $enable === true )
474
+ $operations[] = $operation;
475
+ }
476
+
477
+ // available groups
478
+ foreach ( Math_Captcha()->options['general']['groups'] as $group => $enable ) {
479
+ if ( $enable === true )
480
+ $groups[] = $group;
481
+ }
482
+
483
+ // number of groups
484
+ $ao = count( $groups );
485
+
486
+ // operation
487
+ $rnd_op = $operations[mt_rand( 0, count( $operations ) - 1 )];
488
+ $number[3] = $ops[$rnd_op];
489
+
490
+ // place where to put empty input
491
+ $rnd_input = mt_rand( 0, 2 );
492
+
493
+ // which random operation
494
+ switch ( $rnd_op ) {
495
+ case 'addition':
496
+ if ( $rnd_input === 0 ) {
497
+ $number[0] = mt_rand( 1, 10 );
498
+ $number[1] = mt_rand( 1, 89 );
499
+ } elseif ( $rnd_input === 1 ) {
500
+ $number[0] = mt_rand( 1, 89 );
501
+ $number[1] = mt_rand( 1, 10 );
502
+ } elseif ( $rnd_input === 2 ) {
503
+ $number[0] = mt_rand( 1, 9 );
504
+ $number[1] = mt_rand( 1, 10 - $number[0] );
505
+ }
506
+
507
+ $number[2] = $number[0] + $number[1];
508
+ break;
509
+
510
+ case 'subtraction':
511
+ if ( $rnd_input === 0 ) {
512
+ $number[0] = mt_rand( 2, 10 );
513
+ $number[1] = mt_rand( 1, $number[0] - 1 );
514
+ } elseif ( $rnd_input === 1 ) {
515
+ $number[0] = mt_rand( 11, 99 );
516
+ $number[1] = mt_rand( 1, 10 );
517
+ } elseif ( $rnd_input === 2 ) {
518
+ $number[0] = mt_rand( 11, 99 );
519
+ $number[1] = mt_rand( $number[0] - 10, $number[0] - 1 );
520
+ }
521
+
522
+ $number[2] = $number[0] - $number[1];
523
+ break;
524
+
525
+ case 'multiplication':
526
+ if ( $rnd_input === 0 ) {
527
+ $number[0] = mt_rand( 1, 10 );
528
+ $number[1] = mt_rand( 1, 9 );
529
+ } elseif ( $rnd_input === 1 ) {
530
+ $number[0] = mt_rand( 1, 9 );
531
+ $number[1] = mt_rand( 1, 10 );
532
+ } elseif ( $rnd_input === 2 ) {
533
+ $number[0] = mt_rand( 1, 10 );
534
+ $number[1] = ($number[0] > 5 ? 1 : ($number[0] === 4 && $number[0] === 5 ? mt_rand( 1, 2 ) : ($number[0] === 3 ? mt_rand( 1, 3 ) : ($number[0] === 2 ? mt_rand( 1, 5 ) : mt_rand( 1, 10 )))));
535
+ }
536
+
537
+ $number[2] = $number[0] * $number[1];
538
+ break;
539
+
540
+ case 'division':
541
+ $divide = array( 1 => 99, 2 => 49, 3 => 33, 4 => 24, 5 => 19, 6 => 16, 7 => 14, 8 => 12, 9 => 11, 10 => 9 );
542
+
543
+ if ( $rnd_input === 0 ) {
544
+ $divide = array( 2 => array( 1, 2 ), 3 => array( 1, 3 ), 4 => array( 1, 2, 4 ), 5 => array( 1, 5 ), 6 => array( 1, 2, 3, 6 ), 7 => array( 1, 7 ), 8 => array( 1, 2, 4, 8 ), 9 => array( 1, 3, 9 ), 10 => array( 1, 2, 5, 10 ) );
545
+ $number[0] = mt_rand( 2, 10 );
546
+ $number[1] = $divide[$number[0]][mt_rand( 0, count( $divide[$number[0]] ) - 1 )];
547
+ } elseif ( $rnd_input === 1 ) {
548
+ $number[1] = mt_rand( 1, 10 );
549
+ $number[0] = $number[1] * mt_rand( 1, $divide[$number[1]] );
550
+ } elseif ( $rnd_input === 2 ) {
551
+ $number[2] = mt_rand( 1, 10 );
552
+ $number[0] = $number[2] * mt_rand( 1, $divide[$number[2]] );
553
+ $number[1] = (int) ($number[0] / $number[2]);
554
+ }
555
+
556
+ if ( ! isset( $number[2] ) )
557
+ $number[2] = (int) ($number[0] / $number[1]);
558
+
559
+ break;
560
+ }
561
+
562
+ // words
563
+ if ( $ao === 1 && $groups[0] === 'words' ) {
564
+ if ( $rnd_input === 0 ) {
565
+ $number[1] = $this->numberToWords( $number[1] );
566
+ $number[2] = $this->numberToWords( $number[2] );
567
+ } elseif ( $rnd_input === 1 ) {
568
+ $number[0] = $this->numberToWords( $number[0] );
569
+ $number[2] = $this->numberToWords( $number[2] );
570
+ } elseif ( $rnd_input === 2 ) {
571
+ $number[0] = $this->numberToWords( $number[0] );
572
+ $number[1] = $this->numberToWords( $number[1] );
573
+ }
574
+ }
575
+ // numbers and words
576
+ elseif ( $ao === 2 ) {
577
+ if ( $rnd_input === 0 ) {
578
+ if ( mt_rand( 1, 2 ) === 2 ) {
579
+ $number[1] = $this->numberToWords( $number[1] );
580
+ $number[2] = $this->numberToWords( $number[2] );
581
+ } else
582
+ $number[$tmp = mt_rand( 1, 2 )] = $this->numberToWords( $number[$tmp] );
583
+ }
584
+ elseif ( $rnd_input === 1 ) {
585
+ if ( mt_rand( 1, 2 ) === 2 ) {
586
+ $number[0] = $this->numberToWords( $number[0] );
587
+ $number[2] = $this->numberToWords( $number[2] );
588
+ } else
589
+ $number[$tmp = array_rand( array( 0 => 0, 2 => 2 ), 1 )] = $this->numberToWords( $number[$tmp] );
590
+ }
591
+ elseif ( $rnd_input === 2 ) {
592
+ if ( mt_rand( 1, 2 ) === 2 ) {
593
+ $number[0] = $this->numberToWords( $number[0] );
594
+ $number[1] = $this->numberToWords( $number[1] );
595
+ } else
596
+ $number[$tmp = mt_rand( 0, 1 )] = $this->numberToWords( $number[$tmp] );
597
+ }
598
+ }
599
+
600
+ if ( in_array( $form, array( 'default', 'bbpress' ), true ) ) {
601
+ // position of empty input
602
+ if ( $rnd_input === 0 )
603
+ $return = $input . ' ' . $number[3] . ' ' . $this->encode_operation( $number[1] ) . ' = ' . $this->encode_operation( $number[2] );
604
+ elseif ( $rnd_input === 1 )
605
+ $return = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ' . $input . ' = ' . $this->encode_operation( $number[2] );
606
+ elseif ( $rnd_input === 2 )
607
+ $return = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ' . $this->encode_operation( $number[1] ) . ' = ' . $input;
608
+
609
+ $transient_name = ($form === 'bbpress' ? 'bbp' : 'mc');
610
+ $session_id = Math_Captcha()->cookie_session->session_ids['default'];
611
+ }
612
+ elseif ( $form === 'cf7' ) {
613
+ $return = array();
614
+
615
+ if ( $rnd_input === 0 ) {
616
+ $return['input'] = 1;
617
+ $return[2] = ' ' . $number[3] . ' ' . $this->encode_operation( $number[1] ) . ' = ';
618
+ $return[3] = $this->encode_operation( $number[2] );
619
+ } elseif ( $rnd_input === 1 ) {
620
+ $return[1] = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ';
621
+ $return['input'] = 2;
622
+ $return[3] = ' = ' . $this->encode_operation( $number[2] );
623
+ } elseif ( $rnd_input === 2 ) {
624
+ $return[1] = $this->encode_operation( $number[0] ) . ' ' . $number[3] . ' ';
625
+ $return[2] = $this->encode_operation( $number[1] ) . ' = ';
626
+ $return['input'] = 3;
627
+ }
628
+
629
+ $transient_name = 'cf7';
630
+ $session_id = Math_Captcha()->cookie_session->session_ids['multi'][$this->session_number ++];
631
+ }
632
+
633
+ set_transient( $transient_name . '_' . $session_id, sha1( AUTH_KEY . $number[$rnd_input] . $session_id, false ), apply_filters( 'math_captcha_time', Math_Captcha()->options['general']['time'] ) );
634
+
635
+ return $return;
636
+ }
637
+
638
+ /**
639
+ * FLush rewrite rules.
640
+ */
641
+ public function flush_rewrites() {
642
+ if ( Math_Captcha()->options['general']['flush_rules'] ) {
643
+ global $wp_rewrite;
644
+
645
+ $wp_rewrite->flush_rules();
646
+
647
+ Math_Captcha()->options['general']['flush_rules'] = false;
648
+ update_option( 'math_captcha_options', Math_Captcha()->options['general'] );
649
+ }
650
+ }
651
+
652
+ /**
653
+ * Block direct comments.
654
+ *
655
+ * @param string $rules
656
+ * @return string
657
+ */
658
+ public function block_direct_comments( $rules ) {
659
+ if ( Math_Captcha()->options['general']['block_direct_comments'] ) {
660
+ $new_rules = <<<EOT
661
+ \n# BEGIN Math Captcha
662
+ <IfModule mod_rewrite.c>
663
+ RewriteEngine On
664
+ RewriteCond %{REQUEST_METHOD} POST
665
+ RewriteCond %{REQUEST_URI} .wp-comments-post.php*
666
+ RewriteCond %{HTTP_REFERER} !.*{$_SERVER['HTTP_HOST']}.* [OR]
667
+ RewriteCond %{HTTP_USER_AGENT} ^$
668
+ RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
669
+ </IfModule>
670
+ # END Math Captcha\n\n
671
+ EOT;
672
+
673
+ return $new_rules . $rules;
674
+ }
675
+
676
+ return $rules;
677
+ }
678
+
679
  }
includes/class-settings.php CHANGED
@@ -1,343 +1,316 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) )
3
- exit;
4
-
5
- new Math_Captcha_Settings();
6
-
7
- class Math_Captcha_Settings {
8
-
9
- public $mathematical_operations;
10
- public $groups;
11
- public $forms;
12
-
13
- /**
14
- *
15
- */
16
- public function __construct() {
17
- // actions
18
- add_action( 'init', array( &$this, 'load_defaults' ) );
19
- add_action( 'admin_init', array( &$this, 'register_settings' ) );
20
- add_action( 'admin_menu', array( &$this, 'admin_menu_options' ) );
21
- }
22
-
23
- /**
24
- *
25
- */
26
- public function load_defaults() {
27
- if ( ! is_admin() )
28
- return;
29
-
30
- $this->forms = array(
31
- 'login_form' => __( 'login form', 'math-captcha' ),
32
- 'registration_form' => __( 'registration form', 'math-captcha' ),
33
- 'reset_password_form' => __( 'reset password form', 'math-captcha' ),
34
- 'comment_form' => __( 'comment form', 'math-captcha' ),
35
- 'bbpress' => __( 'bbpress', 'math-captcha' ),
36
- 'contact_form_7' => __( 'contact form 7', 'math-captcha' )
37
- );
38
-
39
- $this->mathematical_operations = array(
40
- 'addition' => __( 'addition (+)', 'math-captcha' ),
41
- 'subtraction' => __( 'subtraction (-)', 'math-captcha' ),
42
- 'multiplication' => __( 'multiplication (&#215;)', 'math-captcha' ),
43
- 'division' => __( 'division (&#247;)', 'math-captcha' )
44
- );
45
-
46
- $this->groups = array(
47
- 'numbers' => __( 'numbers', 'math-captcha' ),
48
- 'words' => __( 'words', 'math-captcha' )
49
- );
50
- }
51
-
52
- /**
53
- * Adds options menu
54
- */
55
- public function admin_menu_options() {
56
- add_options_page(
57
- __( 'Math Captcha', 'math-captcha' ), __( 'Math Captcha', 'math-captcha' ), 'manage_options', 'math-captcha', array( &$this, 'options_page' )
58
- );
59
- }
60
-
61
- /**
62
- * Shows options page
63
- */
64
- public function options_page() {
65
- echo '
66
- <div class="wrap">
67
- <h2>' . __( 'Math Captcha', 'math-captcha' ) . '</h2>
68
- <div class="math-captcha-settings">
69
- <div class="df-credits">
70
- <h3 class="hndle">' . __( 'Math Captcha', 'math-captcha' ) . ' ' . Math_Captcha()->defaults['version'] . '</h3>
71
- <div class="inside">
72
- <h4 class="inner">' . __( 'Need support?', 'math-captcha' ) . '</h4>
73
- <p class="inner">' . __( 'If you are having problems with this plugin, please talk about them in the', 'math-captcha' ) . ' <a href="http://www.dfactory.eu/support/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=support" target="_blank" title="' . __( 'Support forum', 'math-captcha' ) . '">' . __( 'Support forum', 'math-captcha' ) . '</a></p>
74
- <hr/>
75
- <h4 class="inner">' . __( 'Do you like this plugin?', 'math-captcha' ) . '</h4>
76
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="inner">
77
- <input type="hidden" name="cmd" value="_s-xclick">
78
- <input type="hidden" name="hosted_button_id" value="BJSHR9GS5QJTC">
79
- <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
80
- <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
81
- </form>
82
- <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="' . __( 'Rate it 5', 'math-captcha' ) . '">' . __( 'Rate it 5', 'math-captcha' ) . '</a> ' . __( 'on WordPress.org', 'math-captcha' ) . '<br/>' .
83
- __( 'Blog about it & link to the', 'math-captcha' ) . ' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="' . __( 'plugin page', 'math-captcha' ) . '">' . __( 'plugin page', 'math-captcha' ) . '</a><br/>' .
84
- __( 'Check out our other', 'math-captcha' ) . ' <a href="http://www.dfactory.eu/plugins/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="' . __( 'WordPress plugins', 'math-captcha' ) . '">' . __( 'WordPress plugins', 'math-captcha' ) . '</a>
85
- </p>
86
- <hr/>
87
- <p class="df-link inner">Created by <a href="http://www.dfactory.eu/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=created-by" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="' . MATH_CAPTCHA_URL . '/images/logo-dfactory.png" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress"/></a></p>
88
- </div>
89
- </div>
90
- <form action="options.php" method="post">';
91
-
92
- wp_nonce_field( 'update-options' );
93
- settings_fields( 'math_captcha_options' );
94
- do_settings_sections( 'math_captcha_options' );
95
-
96
- echo '
97
- <p class="submit">';
98
-
99
- submit_button( '', 'primary', 'save_mc_general', false );
100
-
101
- echo ' ';
102
-
103
- submit_button( __( 'Reset to defaults', 'math-captcha' ), 'secondary reset_mc_settings', 'reset_mc_general', false );
104
-
105
- echo '
106
- </p>
107
- </form>
108
- </div>
109
- <div class="clear"></div>
110
- </div>';
111
- }
112
-
113
- /**
114
- *
115
- */
116
- public function register_settings() {
117
- // general settings
118
- register_setting( 'math_captcha_options', 'math_captcha_options', array( &$this, 'validate_settings' ) );
119
- add_settings_section( 'math_captcha_settings', __( 'Math Captcha settings', 'math-captcha' ), '', 'math_captcha_options' );
120
- add_settings_field( 'mc_general_enable_captcha_for', __( 'Enable Math Captcha for', 'math-captcha' ), array( &$this, 'mc_general_enable_captcha_for' ), 'math_captcha_options', 'math_captcha_settings' );
121
- add_settings_field( 'mc_general_hide_for_logged_users', __( 'Hide for logged in users', 'math-captcha' ), array( &$this, 'mc_general_hide_for_logged_users' ), 'math_captcha_options', 'math_captcha_settings' );
122
- add_settings_field( 'mc_general_mathematical_operations', __( 'Mathematical operations', 'math-captcha' ), array( &$this, 'mc_general_mathematical_operations' ), 'math_captcha_options', 'math_captcha_settings' );
123
- add_settings_field( 'mc_general_groups', __( 'Display captcha as', 'math-captcha' ), array( &$this, 'mc_general_groups' ), 'math_captcha_options', 'math_captcha_settings' );
124
- add_settings_field( 'mc_general_title', __( 'Captcha field title', 'math-captcha' ), array( &$this, 'mc_general_title' ), 'math_captcha_options', 'math_captcha_settings' );
125
- add_settings_field( 'mc_general_time', __( 'Captcha time', 'math-captcha' ), array( &$this, 'mc_general_time' ), 'math_captcha_options', 'math_captcha_settings' );
126
- add_settings_field( 'mc_general_block_direct_comments', __( 'Block Direct Comments', 'math-captcha' ), array( &$this, 'mc_general_block_direct_comments' ), 'math_captcha_options', 'math_captcha_settings' );
127
- add_settings_field( 'mc_general_deactivation_delete', __( 'Deactivation', 'math-captcha' ), array( &$this, 'mc_general_deactivation_delete' ), 'math_captcha_options', 'math_captcha_settings' );
128
- }
129
-
130
- /**
131
- *
132
- */
133
- public function mc_general_enable_captcha_for() {
134
- echo '
135
- <div id="mc_general_enable_captcha_for">
136
- <fieldset>';
137
-
138
- foreach ( $this->forms as $val => $trans ) {
139
- echo '
140
- <input id="mc-general-enable-captcha-for-' . $val . '" type="checkbox" name="math_captcha_options[enable_for][]" value="' . $val . '" ' . checked( true, Math_Captcha()->options['general']['enable_for'][$val], false ) . ' ' . disabled( (($val === 'contact_form_7' && ! class_exists( 'WPCF7_ContactForm' )) || ($val === 'bbpress' && ! class_exists( 'bbPress' )) ), true, false ) . '/><label for="mc-general-enable-captcha-for-' . $val . '">' . esc_html( $trans ) . '</label>';
141
- }
142
-
143
- echo '
144
- <br/>
145
- <span class="description">' . __( 'Select where you\'d like to use Math Captcha.', 'math-captcha' ) . '</span>
146
- </fieldset>
147
- </div>';
148
- }
149
-
150
- /**
151
- *
152
- */
153
- public function mc_general_hide_for_logged_users() {
154
- echo '
155
- <div id="mc_general_hide_for_logged_users">
156
- <fieldset>
157
- <input id="mc-general-hide-for-logged" type="checkbox" name="math_captcha_options[hide_for_logged_users]" ' . checked( true, Math_Captcha()->options['general']['hide_for_logged_users'], false ) . '/><label for="mc-general-hide-for-logged">' . __( 'Enable to hide captcha for logged in users.', 'math-captcha' ) . '</label>
158
- <br/>
159
- <span class="description">' . __( 'Would you like to hide captcha for logged in users?', 'math-captcha' ) . '</span>
160
- </fieldset>
161
- </div>';
162
- }
163
-
164
- /**
165
- *
166
- */
167
- public function mc_general_mathematical_operations() {
168
- echo '
169
- <div id="mc_general_mathematical_operations">
170
- <fieldset>';
171
-
172
- foreach ( $this->mathematical_operations as $val => $trans ) {
173
- echo '
174
- <input id="mc-general-mathematical-operations-' . $val . '" type="checkbox" name="math_captcha_options[mathematical_operations][]" value="' . $val . '" ' . checked( true, Math_Captcha()->options['general']['mathematical_operations'][$val], false ) . '/><label for="mc-general-mathematical-operations-' . $val . '">' . esc_html( $trans ) . '</label>';
175
- }
176
-
177
- echo '
178
- <br/>
179
- <span class="description">' . __( 'Select which mathematical operations to use in your captcha.', 'math-captcha' ) . '</span>
180
- </fieldset>
181
- </div>';
182
- }
183
-
184
- /**
185
- *
186
- */
187
- public function mc_general_groups() {
188
- echo '
189
- <div id="mc_general_groups">
190
- <fieldset>';
191
-
192
- foreach ( $this->groups as $val => $trans ) {
193
- echo '
194
- <input id="mc-general-groups-' . $val . '" type="checkbox" name="math_captcha_options[groups][]" value="' . $val . '" ' . checked( true, Math_Captcha()->options['general']['groups'][$val], false ) . '/><label for="mc-general-groups-' . $val . '">' . esc_html( $trans ) . '</label>';
195
- }
196
-
197
- echo '
198
- <br/>
199
- <span class="description">' . __( 'Select how you\'d like to display you captcha.', 'math-captcha' ) . '</span>
200
- </fieldset>
201
- </div>';
202
- }
203
-
204
- /**
205
- *
206
- */
207
- public function mc_general_title() {
208
- echo '
209
- <div id="mc_general_title">
210
- <fieldset>
211
- <input type="text" name="math_captcha_options[title]" value="' . Math_Captcha()->options['general']['title'] . '"/>
212
- <br/>
213
- <span class="description">' . __( 'How to entitle field with captcha?', 'math-captcha' ) . '</span>
214
- </fieldset>
215
- </div>';
216
- }
217
-
218
- /**
219
- *
220
- */
221
- public function mc_general_time() {
222
- echo '
223
- <div id="mc_general_time">
224
- <fieldset>
225
- <input type="text" name="math_captcha_options[time]" value="' . Math_Captcha()->options['general']['time'] . '"/>
226
- <br/>
227
- <span class="description">' . __( 'Enter the time (in seconds) a user has to enter captcha value.', 'math-captcha' ) . '</span>
228
- </fieldset>
229
- </div>';
230
- }
231
-
232
- /**
233
- *
234
- */
235
- public function mc_general_block_direct_comments() {
236
- echo '
237
- <div id="mc_general_block_direct_comments">
238
- <fieldset>
239
- <input id="mc-general-block-direct-comments" type="checkbox" name="math_captcha_options[block_direct_comments]" ' . checked( true, Math_Captcha()->options['general']['block_direct_comments'], false ) . '/><label for="mc-general-block-direct-comments">' . __( 'Block direct access to wp-comments-post.php.', 'math-captcha' ) . '</label>
240
- <br/>
241
- <span class="description">' . __( 'Enable this to prevent spambots from posting to Wordpress via a URL.', 'math-captcha' ) . '</span>
242
- </fieldset>
243
- </div>';
244
- }
245
-
246
- /**
247
- *
248
- */
249
- public function mc_general_deactivation_delete() {
250
- echo '
251
- <div id="mc_general_deactivation_delete">
252
- <fieldset>
253
- <input id="mc-general-deactivation-delete" type="checkbox" name="math_captcha_options[deactivation_delete]" ' . checked( true, Math_Captcha()->options['general']['deactivation_delete'], false ) . '/><label for="mc-general-deactivation-delete">' . __( 'Delete settings on plugin deactivation.', 'math-captcha' ) . '</label>
254
- <br/>
255
- <span class="description">' . __( 'Delete settings on plugin deactivation', 'math-captcha' ) . '</span>
256
- </fieldset>
257
- </div>';
258
- }
259
-
260
- /**
261
- * Validates settings
262
- */
263
- public function validate_settings( $input ) {
264
- if ( isset( $_POST['save_mc_general'] ) ) {
265
- // enable captcha forms
266
- $enable_for = array();
267
-
268
- if ( empty( $input['enable_for'] ) ) {
269
- foreach ( Math_Captcha()->defaults['general']['enable_for'] as $enable => $bool ) {
270
- $input['enable_for'][$enable] = false;
271
- }
272
- } else {
273
- foreach ( $this->forms as $enable => $trans ) {
274
- $enable_for[$enable] = (in_array( $enable, $input['enable_for'] ) ? true : false);
275
- }
276
-
277
- $input['enable_for'] = $enable_for;
278
- }
279
-
280
- if ( ! class_exists( 'WPCF7_ContactForm' ) && Math_Captcha()->options['general']['enable_for']['contact_form_7'] )
281
- $input['enable_for']['contact_form_7'] = true;
282
-
283
- if ( ! class_exists( 'bbPress' ) && Math_Captcha()->options['general']['enable_for']['bbpress'] )
284
- $input['enable_for']['bbpress'] = true;
285
-
286
- // enable mathematical operations
287
- $mathematical_operations = array();
288
-
289
- if ( empty( $input['mathematical_operations'] ) ) {
290
- add_settings_error( 'empty-operations', 'settings_updated', __( 'You need to check at least one mathematical operation. Defaults settings of this option restored.', 'math-captcha' ), 'error' );
291
-
292
- $input['mathematical_operations'] = Math_Captcha()->defaults['general']['mathematical_operations'];
293
- } else {
294
- foreach ( $this->mathematical_operations as $operation => $trans ) {
295
- $mathematical_operations[$operation] = (in_array( $operation, $input['mathematical_operations'] ) ? true : false);
296
- }
297
-
298
- $input['mathematical_operations'] = $mathematical_operations;
299
- }
300
-
301
- // enable groups
302
- $groups = array();
303
-
304
- if ( empty( $input['groups'] ) ) {
305
- add_settings_error( 'empty-groups', 'settings_updated', __( 'You need to check at least one group. Defaults settings of this option restored.', 'math-captcha' ), 'error' );
306
-
307
- $input['groups'] = Math_Captcha()->defaults['general']['groups'];
308
- } else {
309
- foreach ( $this->groups as $group => $trans ) {
310
- $groups[$group] = (in_array( $group, $input['groups'] ) ? true : false);
311
- }
312
-
313
- $input['groups'] = $groups;
314
- }
315
-
316
- // hide for logged in users
317
- $input['hide_for_logged_users'] = isset( $input['hide_for_logged_users'] );
318
-
319
- // block direct comments access
320
- $input['block_direct_comments'] = isset( $input['block_direct_comments'] );
321
-
322
- // deactivation delete
323
- $input['deactivation_delete'] = isset( $input['deactivation_delete'] );
324
-
325
- // captcha title
326
- $input['title'] = trim( $input['title'] );
327
-
328
- // captcha time
329
- $time = (int) $input['time'];
330
- $input['time'] = ($time < 0 ? Math_Captcha()->defaults['general']['time'] : $time);
331
-
332
- // flush rules
333
- $input['flush_rules'] = true;
334
- } elseif ( isset( $_POST['reset_mc_general'] ) ) {
335
- $input = Math_Captcha()->defaults['general'];
336
-
337
- add_settings_error( 'settings', 'settings_reset', __( 'Settings restored to defaults.', 'math-captcha' ), 'updated' );
338
- }
339
-
340
- return $input;
341
- }
342
-
343
  }
1
+ <?php
2
+ // exit if accessed directly
3
+ if ( ! defined( 'ABSPATH' ) )
4
+ exit;
5
+
6
+ new Math_Captcha_Settings();
7
+
8
+ class Math_Captcha_Settings {
9
+
10
+ public $mathematical_operations;
11
+ public $groups;
12
+ public $forms;
13
+
14
+ public function __construct() {
15
+ // actions
16
+ add_action( 'init', array( &$this, 'load_defaults' ) );
17
+ add_action( 'admin_init', array( &$this, 'register_settings' ) );
18
+ add_action( 'admin_menu', array( &$this, 'admin_menu_options' ) );
19
+ }
20
+
21
+ /**
22
+ * Load defaults.
23
+ */
24
+ public function load_defaults() {
25
+ if ( ! is_admin() )
26
+ return;
27
+
28
+ $this->forms = array(
29
+ 'login_form' => __( 'login form', 'math-captcha' ),
30
+ 'registration_form' => __( 'registration form', 'math-captcha' ),
31
+ 'reset_password_form' => __( 'reset password form', 'math-captcha' ),
32
+ 'comment_form' => __( 'comment form', 'math-captcha' ),
33
+ 'bbpress' => __( 'bbpress', 'math-captcha' ),
34
+ 'contact_form_7' => __( 'contact form 7', 'math-captcha' )
35
+ );
36
+
37
+ $this->mathematical_operations = array(
38
+ 'addition' => __( 'addition (+)', 'math-captcha' ),
39
+ 'subtraction' => __( 'subtraction (-)', 'math-captcha' ),
40
+ 'multiplication' => __( 'multiplication (&#215;)', 'math-captcha' ),
41
+ 'division' => __( 'division (&#247;)', 'math-captcha' )
42
+ );
43
+
44
+ $this->groups = array(
45
+ 'numbers' => __( 'numbers', 'math-captcha' ),
46
+ 'words' => __( 'words', 'math-captcha' )
47
+ );
48
+ }
49
+
50
+ /**
51
+ * Add options menu.
52
+ */
53
+ public function admin_menu_options() {
54
+ add_options_page(
55
+ __( 'Math Captcha', 'math-captcha' ), __( 'Math Captcha', 'math-captcha' ), 'manage_options', 'math-captcha', array( &$this, 'options_page' )
56
+ );
57
+ }
58
+
59
+ /**
60
+ * Render options page.
61
+ *
62
+ * @return mixed
63
+ */
64
+ public function options_page() {
65
+ echo '
66
+ <div class="wrap">
67
+ <h2>' . __( 'Math Captcha', 'math-captcha' ) . '</h2>
68
+ <div class="math-captcha-settings">
69
+ <div class="df-credits">
70
+ <h3 class="hndle">' . __( 'Math Captcha', 'math-captcha' ) . ' ' . Math_Captcha()->defaults['version'] . '</h3>
71
+ <div class="inside">
72
+ <h4 class="inner">' . __( 'Need support?', 'math-captcha' ) . '</h4>
73
+ <p class="inner">' . __( 'If you are having problems with this plugin, please talk about them in the', 'math-captcha' ) . ' <a href="http://www.dfactory.eu/support/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=support" target="_blank" title="' . __( 'Support forum', 'math-captcha' ) . '">' . __( 'Support forum', 'math-captcha' ) . '</a></p>
74
+ <hr/>
75
+ <h4 class="inner">' . __( 'Do you like this plugin?', 'math-captcha' ) . '</h4>
76
+ <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="' . __( 'Rate it 5', 'math-captcha' ) . '">' . __( 'Rate it 5', 'math-captcha' ) . '</a> ' . __( 'on WordPress.org', 'math-captcha' ) . '<br/>' .
77
+ __( 'Blog about it & link to the', 'math-captcha' ) . ' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="' . __( 'plugin page', 'math-captcha' ) . '">' . __( 'plugin page', 'math-captcha' ) . '</a><br/>' .
78
+ __( 'Check out our other', 'math-captcha' ) . ' <a href="http://www.dfactory.eu/plugins/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="' . __( 'WordPress plugins', 'math-captcha' ) . '">' . __( 'WordPress plugins', 'math-captcha' ) . '</a>
79
+ </p>
80
+ <hr/>
81
+ <p class="df-link inner">Created by <a href="http://www.dfactory.eu/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=created-by" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="' . MATH_CAPTCHA_URL . '/images/logo-dfactory.png" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress"/></a></p>
82
+ </div>
83
+ </div>
84
+ <form action="options.php" method="post">';
85
+
86
+ wp_nonce_field( 'update-options' );
87
+ settings_fields( 'math_captcha_options' );
88
+ do_settings_sections( 'math_captcha_options' );
89
+
90
+ echo '
91
+ <p class="submit">';
92
+
93
+ submit_button( '', 'primary', 'save_mc_general', false );
94
+
95
+ echo ' ';
96
+
97
+ submit_button( __( 'Reset to defaults', 'math-captcha' ), 'secondary reset_mc_settings', 'reset_mc_general', false );
98
+
99
+ echo '
100
+ </p>
101
+ </form>
102
+ </div>
103
+ <div class="clear"></div>
104
+ </div>';
105
+ }
106
+
107
+ /**
108
+ * Register settings.
109
+ */
110
+ public function register_settings() {
111
+ // general settings
112
+ register_setting( 'math_captcha_options', 'math_captcha_options', array( &$this, 'validate_settings' ) );
113
+ add_settings_section( 'math_captcha_settings', __( 'Math Captcha settings', 'math-captcha' ), '', 'math_captcha_options' );
114
+ add_settings_field( 'mc_general_enable_captcha_for', __( 'Enable Math Captcha for', 'math-captcha' ), array( &$this, 'mc_general_enable_captcha_for' ), 'math_captcha_options', 'math_captcha_settings' );
115
+ add_settings_field( 'mc_general_hide_for_logged_users', __( 'Hide for logged in users', 'math-captcha' ), array( &$this, 'mc_general_hide_for_logged_users' ), 'math_captcha_options', 'math_captcha_settings' );
116
+ add_settings_field( 'mc_general_mathematical_operations', __( 'Mathematical operations', 'math-captcha' ), array( &$this, 'mc_general_mathematical_operations' ), 'math_captcha_options', 'math_captcha_settings' );
117
+ add_settings_field( 'mc_general_groups', __( 'Display captcha as', 'math-captcha' ), array( &$this, 'mc_general_groups' ), 'math_captcha_options', 'math_captcha_settings' );
118
+ add_settings_field( 'mc_general_title', __( 'Captcha field title', 'math-captcha' ), array( &$this, 'mc_general_title' ), 'math_captcha_options', 'math_captcha_settings' );
119
+ add_settings_field( 'mc_general_time', __( 'Captcha time', 'math-captcha' ), array( &$this, 'mc_general_time' ), 'math_captcha_options', 'math_captcha_settings' );
120
+ add_settings_field( 'mc_general_block_direct_comments', __( 'Block Direct Comments', 'math-captcha' ), array( &$this, 'mc_general_block_direct_comments' ), 'math_captcha_options', 'math_captcha_settings' );
121
+ add_settings_field( 'mc_general_deactivation_delete', __( 'Deactivation', 'math-captcha' ), array( &$this, 'mc_general_deactivation_delete' ), 'math_captcha_options', 'math_captcha_settings' );
122
+ }
123
+
124
+ public function mc_general_enable_captcha_for() {
125
+ echo '
126
+ <div id="mc_general_enable_captcha_for">
127
+ <fieldset>';
128
+
129
+ foreach ( $this->forms as $val => $trans ) {
130
+ echo '
131
+ <input id="mc-general-enable-captcha-for-' . $val . '" type="checkbox" name="math_captcha_options[enable_for][]" value="' . $val . '" ' . checked( true, Math_Captcha()->options['general']['enable_for'][$val], false ) . ' ' . disabled( (($val === 'contact_form_7' && ! class_exists( 'WPCF7_ContactForm' )) || ($val === 'bbpress' && ! class_exists( 'bbPress' )) ), true, false ) . '/><label for="mc-general-enable-captcha-for-' . $val . '">' . esc_html( $trans ) . '</label>';
132
+ }
133
+
134
+ echo '
135
+ <br/>
136
+ <span class="description">' . __( 'Select where you\'d like to use Math Captcha.', 'math-captcha' ) . '</span>
137
+ </fieldset>
138
+ </div>';
139
+ }
140
+
141
+ public function mc_general_hide_for_logged_users() {
142
+ echo '
143
+ <div id="mc_general_hide_for_logged_users">
144
+ <fieldset>
145
+ <input id="mc-general-hide-for-logged" type="checkbox" name="math_captcha_options[hide_for_logged_users]" ' . checked( true, Math_Captcha()->options['general']['hide_for_logged_users'], false ) . '/><label for="mc-general-hide-for-logged">' . __( 'Enable to hide captcha for logged in users.', 'math-captcha' ) . '</label>
146
+ <br/>
147
+ <span class="description">' . __( 'Would you like to hide captcha for logged in users?', 'math-captcha' ) . '</span>
148
+ </fieldset>
149
+ </div>';
150
+ }
151
+
152
+ public function mc_general_mathematical_operations() {
153
+ echo '
154
+ <div id="mc_general_mathematical_operations">
155
+ <fieldset>';
156
+
157
+ foreach ( $this->mathematical_operations as $val => $trans ) {
158
+ echo '
159
+ <input id="mc-general-mathematical-operations-' . $val . '" type="checkbox" name="math_captcha_options[mathematical_operations][]" value="' . $val . '" ' . checked( true, Math_Captcha()->options['general']['mathematical_operations'][$val], false ) . '/><label for="mc-general-mathematical-operations-' . $val . '">' . esc_html( $trans ) . '</label>';
160
+ }
161
+
162
+ echo '
163
+ <br/>
164
+ <span class="description">' . __( 'Select which mathematical operations to use in your captcha.', 'math-captcha' ) . '</span>
165
+ </fieldset>
166
+ </div>';
167
+ }
168
+
169
+ public function mc_general_groups() {
170
+ echo '
171
+ <div id="mc_general_groups">
172
+ <fieldset>';
173
+
174
+ foreach ( $this->groups as $val => $trans ) {
175
+ echo '
176
+ <input id="mc-general-groups-' . $val . '" type="checkbox" name="math_captcha_options[groups][]" value="' . $val . '" ' . checked( true, Math_Captcha()->options['general']['groups'][$val], false ) . '/><label for="mc-general-groups-' . $val . '">' . esc_html( $trans ) . '</label>';
177
+ }
178
+
179
+ echo '
180
+ <br/>
181
+ <span class="description">' . __( 'Select how you\'d like to display you captcha.', 'math-captcha' ) . '</span>
182
+ </fieldset>
183
+ </div>';
184
+ }
185
+
186
+ public function mc_general_title() {
187
+ echo '
188
+ <div id="mc_general_title">
189
+ <fieldset>
190
+ <input type="text" name="math_captcha_options[title]" value="' . Math_Captcha()->options['general']['title'] . '"/>
191
+ <br/>
192
+ <span class="description">' . __( 'How to entitle field with captcha?', 'math-captcha' ) . '</span>
193
+ </fieldset>
194
+ </div>';
195
+ }
196
+
197
+ public function mc_general_time() {
198
+ echo '
199
+ <div id="mc_general_time">
200
+ <fieldset>
201
+ <input type="text" name="math_captcha_options[time]" value="' . Math_Captcha()->options['general']['time'] . '"/>
202
+ <br/>
203
+ <span class="description">' . __( 'Enter the time (in seconds) a user has to enter captcha value.', 'math-captcha' ) . '</span>
204
+ </fieldset>
205
+ </div>';
206
+ }
207
+
208
+ public function mc_general_block_direct_comments() {
209
+ echo '
210
+ <div id="mc_general_block_direct_comments">
211
+ <fieldset>
212
+ <input id="mc-general-block-direct-comments" type="checkbox" name="math_captcha_options[block_direct_comments]" ' . checked( true, Math_Captcha()->options['general']['block_direct_comments'], false ) . '/><label for="mc-general-block-direct-comments">' . __( 'Block direct access to wp-comments-post.php.', 'math-captcha' ) . '</label>
213
+ <br/>
214
+ <span class="description">' . __( 'Enable this to prevent spambots from posting to Wordpress via a URL.', 'math-captcha' ) . '</span>
215
+ </fieldset>
216
+ </div>';
217
+ }
218
+
219
+ public function mc_general_deactivation_delete() {
220
+ echo '
221
+ <div id="mc_general_deactivation_delete">
222
+ <fieldset>
223
+ <input id="mc-general-deactivation-delete" type="checkbox" name="math_captcha_options[deactivation_delete]" ' . checked( true, Math_Captcha()->options['general']['deactivation_delete'], false ) . '/><label for="mc-general-deactivation-delete">' . __( 'Delete settings on plugin deactivation.', 'math-captcha' ) . '</label>
224
+ <br/>
225
+ <span class="description">' . __( 'Delete settings on plugin deactivation', 'math-captcha' ) . '</span>
226
+ </fieldset>
227
+ </div>';
228
+ }
229
+
230
+ /**
231
+ * Validate settings.
232
+ *
233
+ * @param array $input
234
+ * @return array
235
+ */
236
+ public function validate_settings( $input ) {
237
+ if ( isset( $_POST['save_mc_general'] ) ) {
238
+ // enable captcha forms
239
+ $enable_for = array();
240
+
241
+ if ( empty( $input['enable_for'] ) ) {
242
+ foreach ( Math_Captcha()->defaults['general']['enable_for'] as $enable => $bool ) {
243
+ $input['enable_for'][$enable] = false;
244
+ }
245
+ } else {
246
+ foreach ( $this->forms as $enable => $trans ) {
247
+ $enable_for[$enable] = (in_array( $enable, $input['enable_for'] ) ? true : false);
248
+ }
249
+
250
+ $input['enable_for'] = $enable_for;
251
+ }
252
+
253
+ if ( ! class_exists( 'WPCF7_ContactForm' ) && Math_Captcha()->options['general']['enable_for']['contact_form_7'] )
254
+ $input['enable_for']['contact_form_7'] = true;
255
+
256
+ if ( ! class_exists( 'bbPress' ) && Math_Captcha()->options['general']['enable_for']['bbpress'] )
257
+ $input['enable_for']['bbpress'] = true;
258
+
259
+ // enable mathematical operations
260
+ $mathematical_operations = array();
261
+
262
+ if ( empty( $input['mathematical_operations'] ) ) {
263
+ add_settings_error( 'empty-operations', 'settings_updated', __( 'You need to check at least one mathematical operation. Defaults settings of this option restored.', 'math-captcha' ), 'error' );
264
+
265
+ $input['mathematical_operations'] = Math_Captcha()->defaults['general']['mathematical_operations'];
266
+ } else {
267
+ foreach ( $this->mathematical_operations as $operation => $trans ) {
268
+ $mathematical_operations[$operation] = (in_array( $operation, $input['mathematical_operations'] ) ? true : false);
269
+ }
270
+
271
+ $input['mathematical_operations'] = $mathematical_operations;
272
+ }
273
+
274
+ // enable groups
275
+ $groups = array();
276
+
277
+ if ( empty( $input['groups'] ) ) {
278
+ add_settings_error( 'empty-groups', 'settings_updated', __( 'You need to check at least one group. Defaults settings of this option restored.', 'math-captcha' ), 'error' );
279
+
280
+ $input['groups'] = Math_Captcha()->defaults['general']['groups'];
281
+ } else {
282
+ foreach ( $this->groups as $group => $trans ) {
283
+ $groups[$group] = (in_array( $group, $input['groups'] ) ? true : false);
284
+ }
285
+
286
+ $input['groups'] = $groups;
287
+ }
288
+
289
+ // hide for logged in users
290
+ $input['hide_for_logged_users'] = isset( $input['hide_for_logged_users'] );
291
+
292
+ // block direct comments access
293
+ $input['block_direct_comments'] = isset( $input['block_direct_comments'] );
294
+
295
+ // deactivation delete
296
+ $input['deactivation_delete'] = isset( $input['deactivation_delete'] );
297
+
298
+ // captcha title
299
+ $input['title'] = trim( $input['title'] );
300
+
301
+ // captcha time
302
+ $time = (int) $input['time'];
303
+ $input['time'] = ($time < 0 ? Math_Captcha()->defaults['general']['time'] : $time);
304
+
305
+ // flush rules
306
+ $input['flush_rules'] = true;
307
+ } elseif ( isset( $_POST['reset_mc_general'] ) ) {
308
+ $input = Math_Captcha()->defaults['general'];
309
+
310
+ add_settings_error( 'settings', 'settings_reset', __( 'Settings restored to defaults.', 'math-captcha' ), 'updated' );
311
+ }
312
+
313
+ return $input;
314
+ }
315
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  }
includes/class-update.php CHANGED
@@ -1,39 +1,37 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) )
3
- exit;
4
-
5
- new Math_Captcha_Update();
6
-
7
- class Math_Captcha_Update {
8
-
9
- /**
10
- *
11
- */
12
- public function __construct() {
13
- // actions
14
- add_action( 'init', array( &$this, 'check_update' ) );
15
- }
16
-
17
- /**
18
- *
19
- */
20
- public function check_update() {
21
- if ( ! is_admin() || ! current_user_can( 'manage_options' ) )
22
- return;
23
-
24
- // gets current database version
25
- $current_db_version = get_option( 'math_captcha_version', '1.0.0' );
26
-
27
- // new version?
28
- if ( version_compare( $current_db_version, Math_Captcha()->defaults['version'], '<' ) ) {
29
- if ( version_compare( $current_db_version, '1.0.9', '<' ) ) {
30
- update_option( 'math_captcha_options', Math_Captcha()->options['general'] );
31
- delete_option( 'mc_options' );
32
- }
33
-
34
- // updates plugin version
35
- update_option( 'math_captcha_version', Math_Captcha()->defaults['version'] );
36
- }
37
- }
38
-
39
  }
1
+ <?php
2
+ // exit if accessed directly
3
+ if ( ! defined( 'ABSPATH' ) )
4
+ exit;
5
+
6
+ new Math_Captcha_Update();
7
+
8
+ class Math_Captcha_Update {
9
+
10
+ public function __construct() {
11
+ // actions
12
+ add_action( 'init', array( &$this, 'check_update' ) );
13
+ }
14
+
15
+ /**
16
+ * Check update.
17
+ */
18
+ public function check_update() {
19
+ if ( ! is_admin() || ! current_user_can( 'manage_options' ) )
20
+ return;
21
+
22
+ // gets current database version
23
+ $current_db_version = get_option( 'math_captcha_version', '1.0.0' );
24
+
25
+ // new version?
26
+ if ( version_compare( $current_db_version, Math_Captcha()->defaults['version'], '<' ) ) {
27
+ if ( version_compare( $current_db_version, '1.0.9', '<' ) ) {
28
+ update_option( 'math_captcha_options', Math_Captcha()->options['general'] );
29
+ delete_option( 'mc_options' );
30
+ }
31
+
32
+ // updates plugin version
33
+ update_option( 'math_captcha_version', Math_Captcha()->defaults['version'] );
34
+ }
35
+ }
36
+
 
 
37
  }
includes/integrations/contact-form-7.php CHANGED
@@ -1,179 +1,179 @@
1
- <?php
2
- /**
3
- * A module for [mathcaptcha]
4
- */
5
-
6
- // shortcode handler
7
- add_action( 'init', 'wpcf7_add_shortcode_mathcaptcha', 5 );
8
-
9
- function wpcf7_add_shortcode_mathcaptcha() {
10
- wpcf7_add_shortcode( 'mathcaptcha', 'wpcf7_mathcaptcha_shortcode_handler', true );
11
- }
12
-
13
- function wpcf7_mathcaptcha_shortcode_handler( $tag ) {
14
- if ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users']) ) {
15
- $tag = new WPCF7_Shortcode( $tag );
16
-
17
- if ( empty( $tag->name ) )
18
- return '';
19
-
20
- $validation_error = wpcf7_get_validation_error( $tag->name );
21
- $class = wpcf7_form_controls_class( $tag->type );
22
-
23
- if ( $validation_error )
24
- $class .= ' wpcf7-not-valid';
25
-
26
- $atts = array();
27
- $atts['size'] = 2;
28
- $atts['maxlength'] = 2;
29
- $atts['class'] = $tag->get_class_option( $class );
30
- $atts['id'] = $tag->get_option( 'id', 'id', true );
31
- $atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
32
- $atts['aria-required'] = 'true';
33
- $atts['type'] = 'text';
34
- $atts['name'] = $tag->name;
35
- $atts['value'] = '';
36
- $atts = wpcf7_format_atts( $atts );
37
-
38
- $mc_form = Math_Captcha()->core->generate_captcha_phrase( 'cf7' );
39
- $mc_form[$mc_form['input']] = '<input %2$s />';
40
-
41
- $math_captcha_title = apply_filters( 'math_captcha_title', Math_Captcha()->options['general']['title'] );
42
-
43
- return sprintf( ((empty( $math_captcha_title )) ? '' : $math_captcha_title) . '<span class="wpcf7-form-control-wrap %1$s">' . $mc_form[1] . $mc_form[2] . $mc_form[3] . '%3$s</span><input type="hidden" value="' . (Math_Captcha()->core->session_number - 1) . '" name="' . $tag->name . '-sn" />', $tag->name, $atts, $validation_error );
44
- }
45
- }
46
-
47
- // validation
48
- add_filter( 'wpcf7_validate_mathcaptcha', 'wpcf7_mathcaptcha_validation_filter', 10, 2 );
49
-
50
- function wpcf7_mathcaptcha_validation_filter( $result, $tag ) {
51
- $tag = new WPCF7_Shortcode( $tag );
52
- $name = $tag->name;
53
-
54
- if ( ! is_admin() && isset( $_POST[$name] ) ) {
55
- $cf7_version = get_option( 'wpcf7', '1.0.0' );
56
-
57
- if ( is_array( $cf7_version ) && isset( $cf7_version['version'] ) )
58
- $cf7_version = $cf7_version['version'];
59
-
60
- if ( $_POST[$name] !== '' ) {
61
- $session_id = (isset( $_POST[$name . '-sn'] ) && $_POST[$name . '-sn'] !== '' ? Math_Captcha()->cookie_session->session_ids['multi'][$_POST[$name . '-sn']] : '');
62
-
63
- if ( $session_id !== '' && get_transient( 'cf7_' . $session_id ) !== false ) {
64
- if ( strcmp( get_transient( 'cf7_' . $session_id ), sha1( AUTH_KEY . $_POST[$name] . $session_id, false ) ) !== 0 ) {
65
- if ( version_compare( $cf7_version, '4.1.0', '>=' ) )
66
- $result->invalidate( $tag, wpcf7_get_message( 'wrong_mathcaptcha' ) );
67
- else {
68
- $result['valid'] = false;
69
- $result['reason'][$name] = wpcf7_get_message( 'wrong_mathcaptcha' );
70
- }
71
- }
72
- } else {
73
- if ( version_compare( $cf7_version, '4.1.0', '>=' ) )
74
- $result->invalidate( $tag, wpcf7_get_message( 'time_mathcaptcha' ) );
75
- else {
76
- $result['valid'] = false;
77
- $result['reason'][$name] = wpcf7_get_message( 'time_mathcaptcha' );
78
- }
79
- }
80
- } else {
81
- if ( version_compare( $cf7_version, '4.1.0', '>=' ) )
82
- $result->invalidate( $tag, wpcf7_get_message( 'fill_mathcaptcha' ) );
83
- else {
84
- $result['valid'] = false;
85
- $result['reason'][$name] = wpcf7_get_message( 'fill_mathcaptcha' );
86
- }
87
- }
88
- }
89
-
90
- return $result;
91
- }
92
-
93
- // messages
94
- add_filter( 'wpcf7_messages', 'wpcf7_mathcaptcha_messages' );
95
-
96
- function wpcf7_mathcaptcha_messages( $messages ) {
97
- return array_merge(
98
- $messages, array(
99
- 'wrong_mathcaptcha' => array(
100
- 'description' => __( 'Invalid captcha value.', 'math-captcha' ),
101
- 'default' => Math_Captcha()->core->error_messages['wrong']
102
- ),
103
- 'fill_mathcaptcha' => array(
104
- 'description' => __( 'Please enter captcha value.', 'math-captcha' ),
105
- 'default' => Math_Captcha()->core->error_messages['fill']
106
- ),
107
- 'time_mathcaptcha' => array(
108
- 'description' => __( 'Captcha time expired.', 'math-captcha' ),
109
- 'default' => Math_Captcha()->core->error_messages['time']
110
- )
111
- )
112
- );
113
- }
114
-
115
- // warning message
116
- add_action( 'wpcf7_admin_notices', 'wpcf7_mathcaptcha_display_warning_message' );
117
-
118
- function wpcf7_mathcaptcha_display_warning_message() {
119
- if ( empty( $_GET['post'] ) || ! ($contact_form = wpcf7_contact_form( $_GET['post'] )) )
120
- return;
121
-
122
- $has_tags = (bool) $contact_form->form_scan_shortcode( array( 'type' => array( 'mathcaptcha' ) ) );
123
-
124
- if ( ! $has_tags )
125
- return;
126
- }
127
-
128
- // tag generator
129
- add_action( 'admin_init', 'wpcf7_add_tag_generator_mathcaptcha', 45 );
130
-
131
- function wpcf7_add_tag_generator_mathcaptcha() {
132
- if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
133
- return;
134
-
135
- wpcf7_add_tag_generator( 'mathcaptcha', __( 'Math Captcha', 'math-captcha' ), 'wpcf7-mathcaptcha', 'wpcf7_tg_pane_mathcaptcha' );
136
- }
137
-
138
- function wpcf7_tg_pane_mathcaptcha( $contact_form ) {
139
- echo '
140
- <div class="control-box">
141
- <fieldset>
142
- <table class="form-table">
143
- <tbody>
144
- <tr>
145
- <th scope="row">
146
- <label for="tag-generator-panel-mathcaptcha-name">' . esc_html__( 'Name', 'contact-form-7' ) . '</label>
147
- </th>
148
- <td>
149
- <input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-mathcaptcha-name" />
150
- </td>
151
- </tr>
152
- <tr>
153
- <th scope="row">
154
- <label for="tag-generator-panel-mathcaptcha-id">' . esc_html__( 'Id attribute', 'contact-form-7' ) . '</label>
155
- </th>
156
- <td>
157
- <input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-mathcaptcha-id" />
158
- </td>
159
- </tr>
160
- <tr>
161
- <th scope="row">
162
- <label for="tag-generator-panel-mathcaptcha-class">' . esc_html__( 'Class attribute', 'contact-form-7' ) . '</label>
163
- </th>
164
- <td>
165
- <input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-mathcaptcha-class" />
166
- </td>
167
- </tr>
168
- </tbody>
169
- </table>
170
- </fieldset>
171
- </div>
172
- <div class="insert-box">
173
- <input type="text" name="mathcaptcha" class="tag code" readonly="readonly" onfocus="this.select();">
174
- <div class="submitbox">
175
- <input type="button" class="button button-primary insert-tag" value="' . esc_attr__( 'Insert Tag', 'contact-form-7' ) . '">
176
- </div>
177
- <br class="clear">
178
- </div>';
179
  }
1
+ <?php
2
+ /**
3
+ * A module for [mathcaptcha]
4
+ */
5
+
6
+ // shortcode handler
7
+ add_action( 'init', 'wpcf7_add_shortcode_mathcaptcha', 5 );
8
+
9
+ function wpcf7_add_shortcode_mathcaptcha() {
10
+ wpcf7_add_form_tag( 'mathcaptcha', 'wpcf7_mathcaptcha_shortcode_handler', true );
11
+ }
12
+
13
+ function wpcf7_mathcaptcha_shortcode_handler( $tag ) {
14
+ if ( ! is_user_logged_in() || (is_user_logged_in() && ! Math_Captcha()->options['general']['hide_for_logged_users']) ) {
15
+ $tag = new WPCF7_FormTag( $tag );
16
+
17
+ if ( empty( $tag->name ) )
18
+ return '';
19
+
20
+ $validation_error = wpcf7_get_validation_error( $tag->name );
21
+ $class = wpcf7_form_controls_class( $tag->type );
22
+
23
+ if ( $validation_error )
24
+ $class .= ' wpcf7-not-valid';
25
+
26
+ $atts = array();
27
+ $atts['size'] = 2;
28
+ $atts['maxlength'] = 2;
29
+ $atts['class'] = $tag->get_class_option( $class );
30
+ $atts['id'] = $tag->get_option( 'id', 'id', true );
31
+ $atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
32
+ $atts['aria-required'] = 'true';
33
+ $atts['type'] = 'text';
34
+ $atts['name'] = $tag->name;
35
+ $atts['value'] = '';
36
+ $atts = wpcf7_format_atts( $atts );
37
+
38
+ $mc_form = Math_Captcha()->core->generate_captcha_phrase( 'cf7' );
39
+ $mc_form[$mc_form['input']] = '<input %2$s />';
40
+
41
+ $math_captcha_title = apply_filters( 'math_captcha_title', Math_Captcha()->options['general']['title'] );
42
+
43
+ return sprintf( ((empty( $math_captcha_title )) ? '' : $math_captcha_title) . '<span class="wpcf7-form-control-wrap %1$s">' . $mc_form[1] . $mc_form[2] . $mc_form[3] . '%3$s</span><input type="hidden" value="' . (Math_Captcha()->core->session_number - 1) . '" name="' . $tag->name . '-sn" />', $tag->name, $atts, $validation_error );
44
+ }
45
+ }
46
+
47
+ // validation
48
+ add_filter( 'wpcf7_validate_mathcaptcha', 'wpcf7_mathcaptcha_validation_filter', 10, 2 );
49
+
50
+ function wpcf7_mathcaptcha_validation_filter( $result, $tag ) {
51
+ $tag = new WPCF7_FormTag( $tag );
52
+ $name = $tag->name;
53
+
54
+ if ( ! is_admin() && isset( $_POST[$name] ) ) {
55
+ $cf7_version = get_option( 'wpcf7', '1.0.0' );
56
+
57
+ if ( is_array( $cf7_version ) && isset( $cf7_version['version'] ) )
58
+ $cf7_version = $cf7_version['version'];
59
+
60
+ if ( $_POST[$name] !== '' ) {
61
+ $session_id = (isset( $_POST[$name . '-sn'] ) && $_POST[$name . '-sn'] !== '' ? Math_Captcha()->cookie_session->session_ids['multi'][$_POST[$name . '-sn']] : '');
62
+
63
+ if ( $session_id !== '' && get_transient( 'cf7_' . $session_id ) !== false ) {
64
+ if ( strcmp( get_transient( 'cf7_' . $session_id ), sha1( AUTH_KEY . $_POST[$name] . $session_id, false ) ) !== 0 ) {
65
+ if ( version_compare( $cf7_version, '4.1.0', '>=' ) )
66
+ $result->invalidate( $tag, wpcf7_get_message( 'wrong_mathcaptcha' ) );
67
+ else {
68
+ $result['valid'] = false;
69
+ $result['reason'][$name] = wpcf7_get_message( 'wrong_mathcaptcha' );
70
+ }
71
+ }
72
+ } else {
73
+ if ( version_compare( $cf7_version, '4.1.0', '>=' ) )
74
+ $result->invalidate( $tag, wpcf7_get_message( 'time_mathcaptcha' ) );
75
+ else {
76
+ $result['valid'] = false;
77
+ $result['reason'][$name] = wpcf7_get_message( 'time_mathcaptcha' );
78
+ }
79
+ }
80
+ } else {
81
+ if ( version_compare( $cf7_version, '4.1.0', '>=' ) )
82
+ $result->invalidate( $tag, wpcf7_get_message( 'fill_mathcaptcha' ) );
83
+ else {
84
+ $result['valid'] = false;
85
+ $result['reason'][$name] = wpcf7_get_message( 'fill_mathcaptcha' );
86
+ }
87
+ }
88
+ }
89
+
90
+ return $result;
91
+ }
92
+
93
+ // messages
94
+ add_filter( 'wpcf7_messages', 'wpcf7_mathcaptcha_messages' );
95
+
96
+ function wpcf7_mathcaptcha_messages( $messages ) {
97
+ return array_merge(
98
+ $messages, array(
99
+ 'wrong_mathcaptcha' => array(
100
+ 'description' => __( 'Invalid captcha value.', 'math-captcha' ),
101
+ 'default' => Math_Captcha()->core->error_messages['wrong']
102
+ ),
103
+ 'fill_mathcaptcha' => array(
104
+ 'description' => __( 'Please enter captcha value.', 'math-captcha' ),
105
+ 'default' => Math_Captcha()->core->error_messages['fill']
106
+ ),
107
+ 'time_mathcaptcha' => array(
108
+ 'description' => __( 'Captcha time expired.', 'math-captcha' ),
109
+ 'default' => Math_Captcha()->core->error_messages['time']
110
+ )
111
+ )
112
+ );
113
+ }
114
+
115
+ // warning message
116
+ add_action( 'wpcf7_admin_notices', 'wpcf7_mathcaptcha_display_warning_message' );
117
+
118
+ function wpcf7_mathcaptcha_display_warning_message() {
119
+ if ( empty( $_GET['post'] ) || ! ($contact_form = wpcf7_contact_form( $_GET['post'] )) )
120
+ return;
121
+
122
+ $has_tags = (bool) $contact_form->form_scan_shortcode( array( 'type' => array( 'mathcaptcha' ) ) );
123
+
124
+ if ( ! $has_tags )
125
+ return;
126
+ }
127
+
128
+ // tag generator
129
+ add_action( 'admin_init', 'wpcf7_add_tag_generator_mathcaptcha', 45 );
130
+
131
+ function wpcf7_add_tag_generator_mathcaptcha() {
132
+ if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
133
+ return;
134
+
135
+ wpcf7_add_tag_generator( 'mathcaptcha', __( 'Math Captcha', 'math-captcha' ), 'wpcf7-mathcaptcha', 'wpcf7_tg_pane_mathcaptcha' );
136
+ }
137
+
138
+ function wpcf7_tg_pane_mathcaptcha( $contact_form ) {
139
+ echo '
140
+ <div class="control-box">
141
+ <fieldset>
142
+ <table class="form-table">
143
+ <tbody>
144
+ <tr>
145
+ <th scope="row">
146
+ <label for="tag-generator-panel-mathcaptcha-name">' . esc_html__( 'Name', 'contact-form-7' ) . '</label>
147
+ </th>
148
+ <td>
149
+ <input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-mathcaptcha-name" />
150
+ </td>
151
+ </tr>
152
+ <tr>
153
+ <th scope="row">
154
+ <label for="tag-generator-panel-mathcaptcha-id">' . esc_html__( 'Id attribute', 'contact-form-7' ) . '</label>
155
+ </th>
156
+ <td>
157
+ <input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-mathcaptcha-id" />
158
+ </td>
159
+ </tr>
160
+ <tr>
161
+ <th scope="row">
162
+ <label for="tag-generator-panel-mathcaptcha-class">' . esc_html__( 'Class attribute', 'contact-form-7' ) . '</label>
163
+ </th>
164
+ <td>
165
+ <input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-mathcaptcha-class" />
166
+ </td>
167
+ </tr>
168
+ </tbody>
169
+ </table>
170
+ </fieldset>
171
+ </div>
172
+ <div class="insert-box">
173
+ <input type="text" name="mathcaptcha" class="tag code" readonly="readonly" onfocus="this.select();">
174
+ <div class="submitbox">
175
+ <input type="button" class="button button-primary insert-tag" value="' . esc_attr__( 'Insert Tag', 'contact-form-7' ) . '">
176
+ </div>
177
+ <br class="clear">
178
+ </div>';
179
  }
index.php CHANGED
@@ -1,2 +1,2 @@
1
- <?php
2
  // Silence is golden.
1
+ <?php
2
  // Silence is golden.
js/admin-settings.js CHANGED
@@ -1,7 +1,11 @@
1
- jQuery(document).ready(function($) {
2
-
3
- // resets options to defaults if needed
4
- $(document).on('click', '.reset_mc_settings', function() {
5
- return confirm(mcArgsSettings.resetToDefaults);
6
- });
7
- });
 
 
 
 
1
+ ( function ( $ ) {
2
+
3
+ $( document ).ready( function () {
4
+ // reset options to defaults if needed
5
+ $( document ).on( 'click', '.reset_mc_settings', function () {
6
+ return confirm( mcArgsSettings.resetToDefaults );
7
+ } );
8
+
9
+ } );
10
+
11
+ } )( jQuery );
languages/math-captcha-de_DE.mo DELETED
Binary file
languages/math-captcha-de_DE.po DELETED
@@ -1,349 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha\n"
4
- "POT-Creation-Date: 2013-08-08 08:01+0100\n"
5
- "PO-Revision-Date: 2013-08-08 08:01+0100\n"
6
- "Last-Translator: Stephan Hilchenbach <info@elcats.de>\n"
7
- "Language-Team: \n"
8
- "Language: de-DE\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- #: ../wp-math-captcha.php:496
19
- msgid "one"
20
- msgstr "eins"
21
-
22
- #: ../wp-math-captcha.php:497
23
- msgid "two"
24
- msgstr "zwei"
25
-
26
- #: ../wp-math-captcha.php:498
27
- msgid "three"
28
- msgstr "drei"
29
-
30
- #: ../wp-math-captcha.php:499
31
- msgid "four"
32
- msgstr "vier"
33
-
34
- #: ../wp-math-captcha.php:500
35
- msgid "five"
36
- msgstr "fünf"
37
-
38
- #: ../wp-math-captcha.php:501
39
- msgid "six"
40
- msgstr "sechs"
41
-
42
- #: ../wp-math-captcha.php:502
43
- msgid "seven"
44
- msgstr "sieben"
45
-
46
- #: ../wp-math-captcha.php:503
47
- msgid "eight"
48
- msgstr "acht"
49
-
50
- #: ../wp-math-captcha.php:504
51
- msgid "nine"
52
- msgstr "neun"
53
-
54
- #: ../wp-math-captcha.php:505
55
- msgid "ten"
56
- msgstr "zehn"
57
-
58
- #: ../wp-math-captcha.php:506
59
- msgid "eleven"
60
- msgstr "elf"
61
-
62
- #: ../wp-math-captcha.php:507
63
- msgid "twelve"
64
- msgstr "zwölf"
65
-
66
- #: ../wp-math-captcha.php:508
67
- msgid "thirteen"
68
- msgstr "dreizehn"
69
-
70
- #: ../wp-math-captcha.php:509
71
- msgid "fourteen"
72
- msgstr "vierzehn"
73
-
74
- #: ../wp-math-captcha.php:510
75
- msgid "fifteen"
76
- msgstr "fünfzehn"
77
-
78
- #: ../wp-math-captcha.php:511
79
- msgid "sixteen"
80
- msgstr "sechzehn"
81
-
82
- #: ../wp-math-captcha.php:512
83
- msgid "seventeen"
84
- msgstr "siebzehn"
85
-
86
- #: ../wp-math-captcha.php:513
87
- msgid "eighteen"
88
- msgstr "achtzehn"
89
-
90
- #: ../wp-math-captcha.php:514
91
- msgid "nineteen"
92
- msgstr "neunzehn"
93
-
94
- #: ../wp-math-captcha.php:515
95
- msgid "twenty"
96
- msgstr "zwanzig"
97
-
98
- #: ../wp-math-captcha.php:516
99
- msgid "thirty"
100
- msgstr "dreißig"
101
-
102
- #: ../wp-math-captcha.php:517
103
- msgid "forty"
104
- msgstr "vierzig"
105
-
106
- #: ../wp-math-captcha.php:518
107
- msgid "fifty"
108
- msgstr "fünfzig"
109
-
110
- #: ../wp-math-captcha.php:519
111
- msgid "sixty"
112
- msgstr "sechzig"
113
-
114
- #: ../wp-math-captcha.php:520
115
- msgid "seventy"
116
- msgstr "siebzig"
117
-
118
- #: ../wp-math-captcha.php:521
119
- msgid "eighty"
120
- msgstr "achtzig"
121
-
122
- #: ../wp-math-captcha.php:522
123
- msgid "ninety"
124
- msgstr "neunzig"
125
-
126
- #: ../wp-math-captcha.php:812 ../wp-math-captcha.php:813
127
- #: ../wp-math-captcha.php:814
128
- msgid "ERROR"
129
- msgstr "Fehler"
130
-
131
- #: ../wp-math-captcha.php:812 ../includes/math-captcha-cf7.php:113
132
- msgid "Please enter captcha value."
133
- msgstr "Bitte geben Sie ein Ergebnis ein."
134
-
135
- #: ../wp-math-captcha.php:813 ../includes/math-captcha-cf7.php:109
136
- msgid "Invalid captcha value."
137
- msgstr "Ungültiges Ergebnis."
138
-
139
- #: ../wp-math-captcha.php:814 ../includes/math-captcha-cf7.php:117
140
- msgid "Captcha time expired."
141
- msgstr "Zeit überschritten."
142
-
143
- #: ../wp-math-captcha.php:818
144
- msgid "login form"
145
- msgstr "Login Formular"
146
-
147
- #: ../wp-math-captcha.php:819
148
- msgid "registration form"
149
- msgstr "Anmeldeformular"
150
-
151
- #: ../wp-math-captcha.php:820
152
- msgid "reset password form"
153
- msgstr "Passwort-Zurücksetzen-Formular"
154
-
155
- #: ../wp-math-captcha.php:821
156
- msgid "comment form"
157
- msgstr "Kommentar-Formular"
158
-
159
- #: ../wp-math-captcha.php:822
160
- msgid "bbpress"
161
- msgstr "bbpress"
162
-
163
- #: ../wp-math-captcha.php:823
164
- msgid "contact form 7"
165
- msgstr "contact form 7"
166
-
167
- #: ../wp-math-captcha.php:827
168
- msgid "yes"
169
- msgstr "ja"
170
-
171
- #: ../wp-math-captcha.php:828
172
- msgid "no"
173
- msgstr "nein"
174
-
175
- #: ../wp-math-captcha.php:832
176
- msgid "addition (+)"
177
- msgstr "Addition (+)"
178
-
179
- #: ../wp-math-captcha.php:833
180
- msgid "subtraction (-)"
181
- msgstr "Subtraktion (-)"
182
-
183
- #: ../wp-math-captcha.php:834
184
- msgid "multiplication (&#215;)"
185
- msgstr "Multiplikation (&#215;)"
186
-
187
- #: ../wp-math-captcha.php:835
188
- msgid "division (&#247;)"
189
- msgstr "Division (&#247;)"
190
-
191
- #: ../wp-math-captcha.php:839
192
- msgid "numbers"
193
- msgstr "Zahlen"
194
-
195
- #: ../wp-math-captcha.php:840
196
- msgid "words"
197
- msgstr "Wörter"
198
-
199
- #: ../wp-math-captcha.php:852
200
- msgid "Math Captcha settings"
201
- msgstr "Math Captcha Einstellungen"
202
-
203
- #: ../wp-math-captcha.php:853
204
- msgid "Enable Math Captcha for"
205
- msgstr "Math Captcha aktivieren für"
206
-
207
- #: ../wp-math-captcha.php:854
208
- msgid "Hide for logged in users"
209
- msgstr "Nicht anzeigen für eingeloggte Benutzer"
210
-
211
- #: ../wp-math-captcha.php:855
212
- msgid "Mathematical operations"
213
- msgstr "Rechenoperationen"
214
-
215
- #: ../wp-math-captcha.php:856
216
- msgid "Display captcha as"
217
- msgstr "Captcha anzeigen als"
218
-
219
- #: ../wp-math-captcha.php:857
220
- msgid "Captcha field title"
221
- msgstr "Titel des Captcha-Feldes"
222
-
223
- #: ../wp-math-captcha.php:858
224
- msgid "Captcha time"
225
- msgstr "Captcha-Zeit"
226
-
227
- #: ../wp-math-captcha.php:859
228
- msgid "Deactivation"
229
- msgstr "Deaktivierung"
230
-
231
- #: ../wp-math-captcha.php:879
232
- msgid "Select were would you like to use Math Captcha."
233
- msgstr "Wählen Sie aus, wo Sie Math Captcha verwenden möchten."
234
-
235
- #: ../wp-math-captcha.php:900
236
- msgid "Would you like to hide captcha for logged in users?"
237
- msgstr "Möchten Sie Math Captcha für eingeloggte Benutzer ausblenden?"
238
-
239
- #: ../wp-math-captcha.php:913
240
- msgid ""
241
- "Select what kind of mathematical operations will be used to generate captcha."
242
- msgstr "Beschriftung des Captcha-Feldes"
243
-
244
- #: ../wp-math-captcha.php:926
245
- msgid "Enter the time (in seconds) a user has to enter captcha value."
246
- msgstr ""
247
- "Geben Sie die Zeit (in Sekunden) ein, in der ein Benutzer die Aufgabe lösen "
248
- "muss."
249
-
250
- #: ../wp-math-captcha.php:947
251
- msgid "Delete settings on plugin deactivation"
252
- msgstr "Lösche Einstellungen bei Deaktivierung des Plugins"
253
-
254
- #: ../wp-math-captcha.php:968
255
- msgid "Select which mathematical operations to use in your captcha."
256
- msgstr ""
257
- "Wählen Sie aus, welche Art Rechenoperationen benutzt werden sollen, um das "
258
- "Captcha zu generieren."
259
-
260
- #: ../wp-math-captcha.php:989
261
- msgid "Select how you'd like to display you captcha."
262
- msgstr "Wählen Sie aus, wie Sie das Captcha anzeigen lassen möchten."
263
-
264
- #: ../wp-math-captcha.php:1030
265
- msgid ""
266
- "You need to check at least one mathematical operation. Defaults settings of "
267
- "this option restored."
268
- msgstr ""
269
- "Sie müssen mindestens eine Rechenoperation auswählen. Für diese Option wurde "
270
- "der Standardwert wiederhergestellt."
271
-
272
- #: ../wp-math-captcha.php:1046
273
- msgid ""
274
- "You need to check at least one group. Defaults settings of this option "
275
- "restored."
276
- msgstr ""
277
- "Sie müssen mindestens eine Gruppe auswählen. Für diese Option wurde der "
278
- "Standardwert wiederhergestellt."
279
-
280
- #: ../wp-math-captcha.php:1080 ../wp-math-captcha.php:1081
281
- #: ../wp-math-captcha.php:1096 ../wp-math-captcha.php:1109
282
- #: ../includes/math-captcha-cf7.php:148
283
- msgid "Math Captcha"
284
- msgstr "Math Captcha"
285
-
286
- #: ../wp-math-captcha.php:1111
287
- msgid "Need support?"
288
- msgstr "Brauchen Sie Hilfe?"
289
-
290
- #: ../wp-math-captcha.php:1112
291
- msgid ""
292
- "If you are having problems with this plugin, please talk about them in the"
293
- msgstr "Wenn Sie mit diesem Plugin Probleme haben, teilen Sie diese bitte mit:"
294
-
295
- #: ../wp-math-captcha.php:1112
296
- msgid "Support forum"
297
- msgstr "Support forum"
298
-
299
- #: ../wp-math-captcha.php:1114
300
- msgid "Do you like this plugin?"
301
- msgstr "Mögen Sie dieses Plugin?"
302
-
303
- #: ../wp-math-captcha.php:1115
304
- msgid "Rate it 5"
305
- msgstr "Bewerten Sie es mit einer 5"
306
-
307
- #: ../wp-math-captcha.php:1115
308
- msgid "on WordPress.org"
309
- msgstr "auf WordPress.org"
310
-
311
- #: ../wp-math-captcha.php:1116
312
- msgid "Blog about it & link to the"
313
- msgstr "Bloggen Sie darüber und verlinken Sie zur"
314
-
315
- #: ../wp-math-captcha.php:1116
316
- msgid "plugin page"
317
- msgstr "Plugin-Seite"
318
-
319
- #: ../wp-math-captcha.php:1117
320
- msgid "Check out our other"
321
- msgstr "Schauen Sie sich auch unsere anderen"
322
-
323
- #: ../wp-math-captcha.php:1117
324
- msgid "WordPress plugins"
325
- msgstr "WordPress plugins an"
326
-
327
- #: ../wp-math-captcha.php:1170
328
- msgid "Support"
329
- msgstr "Support"
330
-
331
- #: ../wp-math-captcha.php:1192
332
- msgid "Settings"
333
- msgstr "Einstellungen"
334
-
335
- #: ../includes/math-captcha-cf7.php:160
336
- msgid "Name"
337
- msgstr "Name"
338
-
339
- #: ../includes/math-captcha-cf7.php:166
340
- msgid "Input field settings"
341
- msgstr "Eingabefeld-Einstellungen"
342
-
343
- #: ../includes/math-captcha-cf7.php:169 ../includes/math-captcha-cf7.php:173
344
- msgid "optional"
345
- msgstr "optional"
346
-
347
- #: ../includes/math-captcha-cf7.php:179
348
- msgid "Copy this code and paste it into the form left."
349
- msgstr "Kopieren Sie diesen Code und fügen Sie ihn in das Formular links ein."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-fa_IR.mo DELETED
Binary file
languages/math-captcha-fa_IR.po DELETED
@@ -1,344 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: math-captcha\n"
4
- "POT-Creation-Date: 2013-07-09 20:29+0330\n"
5
- "PO-Revision-Date: 2013-07-09 20:46+0330\n"
6
- "Last-Translator: Alimir <info@alimir.ir>\n"
7
- "Language-Team: Alimir.ir <info@alimir.ir>\n"
8
- "Language: Persian\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.4\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
- "X-Poedit-SearchPath-1: ..\n"
18
-
19
- #: ../wp-math-captcha.php:546
20
- msgid "one"
21
- msgstr "یک"
22
-
23
- #: ../wp-math-captcha.php:547
24
- msgid "two"
25
- msgstr "دو"
26
-
27
- #: ../wp-math-captcha.php:548
28
- msgid "three"
29
- msgstr "سه"
30
-
31
- #: ../wp-math-captcha.php:549
32
- msgid "four"
33
- msgstr "چهار"
34
-
35
- #: ../wp-math-captcha.php:550
36
- msgid "five"
37
- msgstr "پنج"
38
-
39
- #: ../wp-math-captcha.php:551
40
- msgid "six"
41
- msgstr "شش"
42
-
43
- #: ../wp-math-captcha.php:552
44
- msgid "seven"
45
- msgstr "هفت"
46
-
47
- #: ../wp-math-captcha.php:553
48
- msgid "eight"
49
- msgstr "هشت"
50
-
51
- #: ../wp-math-captcha.php:554
52
- msgid "nine"
53
- msgstr "نه"
54
-
55
- #: ../wp-math-captcha.php:555
56
- msgid "ten"
57
- msgstr "ده"
58
-
59
- #: ../wp-math-captcha.php:556
60
- msgid "eleven"
61
- msgstr "یازده"
62
-
63
- #: ../wp-math-captcha.php:557
64
- msgid "twelve"
65
- msgstr "دوازده"
66
-
67
- #: ../wp-math-captcha.php:558
68
- msgid "thirteen"
69
- msgstr "سیزده"
70
-
71
- #: ../wp-math-captcha.php:559
72
- msgid "fourteen"
73
- msgstr "چهارده"
74
-
75
- #: ../wp-math-captcha.php:560
76
- msgid "fifteen"
77
- msgstr "پانزده"
78
-
79
- #: ../wp-math-captcha.php:561
80
- msgid "sixteen"
81
- msgstr "شانزده"
82
-
83
- #: ../wp-math-captcha.php:562
84
- msgid "seventeen"
85
- msgstr "هفده"
86
-
87
- #: ../wp-math-captcha.php:563
88
- msgid "eighteen"
89
- msgstr "هجده"
90
-
91
- #: ../wp-math-captcha.php:564
92
- msgid "nineteen"
93
- msgstr "نوزده"
94
-
95
- #: ../wp-math-captcha.php:565
96
- msgid "twenty"
97
- msgstr "بیست"
98
-
99
- #: ../wp-math-captcha.php:566
100
- msgid "thirty"
101
- msgstr "سی"
102
-
103
- #: ../wp-math-captcha.php:567
104
- msgid "forty"
105
- msgstr "چهل"
106
-
107
- #: ../wp-math-captcha.php:568
108
- msgid "fifty"
109
- msgstr "پنجاه"
110
-
111
- #: ../wp-math-captcha.php:569
112
- msgid "sixty"
113
- msgstr "شصت"
114
-
115
- #: ../wp-math-captcha.php:570
116
- msgid "seventy"
117
- msgstr "هفتاد"
118
-
119
- #: ../wp-math-captcha.php:571
120
- msgid "eighty"
121
- msgstr "هشتاد"
122
-
123
- #: ../wp-math-captcha.php:572
124
- msgid "ninety"
125
- msgstr "نود"
126
-
127
- #: ../wp-math-captcha.php:873 ../wp-math-captcha.php:874
128
- #: ../wp-math-captcha.php:875
129
- msgid "ERROR"
130
- msgstr "خطا"
131
-
132
- #: ../wp-math-captcha.php:873 ../includes/math-captcha-cf7.php:113
133
- msgid "Please enter captcha value."
134
- msgstr "لطفا کد امنیتی را وارد کنید."
135
-
136
- #: ../wp-math-captcha.php:874 ../includes/math-captcha-cf7.php:109
137
- msgid "Invalid captcha value."
138
- msgstr "کد امنیتی وارد شده اشتباه است"
139
-
140
- #: ../wp-math-captcha.php:875 ../includes/math-captcha-cf7.php:117
141
- msgid "Captcha time expired."
142
- msgstr "فرصت وارد کردن کد امنیتی به اتمام رسید."
143
-
144
- #: ../wp-math-captcha.php:879
145
- msgid "login form"
146
- msgstr "فرم ورود"
147
-
148
- #: ../wp-math-captcha.php:880
149
- msgid "registration form"
150
- msgstr "فرم عضویت"
151
-
152
- #: ../wp-math-captcha.php:881
153
- msgid "reset password form"
154
- msgstr "بازیابی رمز عبور"
155
-
156
- #: ../wp-math-captcha.php:882
157
- msgid "comment form"
158
- msgstr "فرم دیدگاه ها"
159
-
160
- #: ../wp-math-captcha.php:883
161
- msgid "bbpress"
162
- msgstr "بی بی پرس"
163
-
164
- #: ../wp-math-captcha.php:884
165
- msgid "contact form 7"
166
- msgstr "فرم تماس 7"
167
-
168
- #: ../wp-math-captcha.php:888
169
- msgid "yes"
170
- msgstr "بله"
171
-
172
- #: ../wp-math-captcha.php:889
173
- msgid "no"
174
- msgstr "خیر"
175
-
176
- #: ../wp-math-captcha.php:893
177
- msgid "addition (+)"
178
- msgstr "جمع (+)"
179
-
180
- #: ../wp-math-captcha.php:894
181
- msgid "subtraction (-)"
182
- msgstr "تفریق (-)"
183
-
184
- #: ../wp-math-captcha.php:895
185
- msgid "multiplication (&#215;)"
186
- msgstr "ضرب (&#215;)"
187
-
188
- #: ../wp-math-captcha.php:896
189
- msgid "division (&#247;)"
190
- msgstr "تقسیم (&#247;)"
191
-
192
- #: ../wp-math-captcha.php:900
193
- msgid "numbers"
194
- msgstr "اعداد"
195
-
196
- #: ../wp-math-captcha.php:901
197
- msgid "words"
198
- msgstr "حروف"
199
-
200
- #: ../wp-math-captcha.php:913
201
- msgid "Math Captcha settings"
202
- msgstr "بخش تنظیمات کپچای ریاضیاتی"
203
-
204
- #: ../wp-math-captcha.php:914
205
- msgid "Enable Math Captcha for"
206
- msgstr "فعال سازی کد امنیتی برای:"
207
-
208
- #: ../wp-math-captcha.php:915
209
- msgid "Hide for logged in users"
210
- msgstr "پنهان نمودن کد برای کاربران وارد شده"
211
-
212
- #: ../wp-math-captcha.php:916
213
- msgid "Mathematical operations"
214
- msgstr "عملگرهای ریاضیاتی"
215
-
216
- #: ../wp-math-captcha.php:917
217
- msgid "Display captcha as"
218
- msgstr "نمایش کپچا به صورت"
219
-
220
- #: ../wp-math-captcha.php:918
221
- msgid "Captcha field title"
222
- msgstr "عنوان فیلد کپچا"
223
-
224
- #: ../wp-math-captcha.php:919
225
- msgid "Captcha time"
226
- msgstr "زمان دهی"
227
-
228
- #: ../wp-math-captcha.php:939
229
- msgid "Select were would you like to use Math Captcha."
230
- msgstr "محل استفاده ی کپچای ریاضیاتی را مشخص کنید."
231
-
232
- #: ../wp-math-captcha.php:960
233
- msgid "Would you like to hide captcha for logged in users?"
234
- msgstr "آیا می خواهید کد امنیتی از دید کاربران وارد شده مخفی بماند؟"
235
-
236
- #: ../wp-math-captcha.php:973
237
- msgid ""
238
- "Select what kind of mathematical operations will be used to generate captcha."
239
- msgstr "عنوانی را برای فیلد کپچا انتخاب کنید."
240
-
241
- #: ../wp-math-captcha.php:986
242
- msgid "Enter the time (in seconds) a user has to enter captcha value."
243
- msgstr "مهلت زمانیه وارد کردن کد امنیتی را برای کاربر مشخص کنید (به ثانیه)"
244
-
245
- #: ../wp-math-captcha.php:1007
246
- msgid "Select which mathematical operations to use in your captcha."
247
- msgstr ""
248
- "عملگرهای ریاضیاتی ای را که می خواهید در تولید کد امنیتی استفاده شوند، انتخاب "
249
- "کنید."
250
-
251
- #: ../wp-math-captcha.php:1028
252
- msgid "Select how you'd like to display you captcha."
253
- msgstr "نحوه ی نمایش دلخواه خود را برای کپچا انتخاب کنید."
254
-
255
- #: ../wp-math-captcha.php:1073
256
- msgid ""
257
- "You need to check at least one mathematical operation. Defaults settings of "
258
- "this option restored."
259
- msgstr ""
260
-
261
- #: ../wp-math-captcha.php:1089
262
- msgid ""
263
- "You need to check at least one group. Defaults settings of this option "
264
- "restored."
265
- msgstr ""
266
-
267
- #: ../wp-math-captcha.php:1119 ../wp-math-captcha.php:1120
268
- #: ../wp-math-captcha.php:1135 ../wp-math-captcha.php:1148
269
- #: ../includes/math-captcha-cf7.php:148
270
- msgid "Math Captcha"
271
- msgstr "کپچای ریاضیاتی"
272
-
273
- #: ../wp-math-captcha.php:1150
274
- msgid "Need support?"
275
- msgstr "نیاز به پشتیبانی دارید؟"
276
-
277
- #: ../wp-math-captcha.php:1151
278
- msgid ""
279
- "If you are having problems with this plugin, please talk about them in the"
280
- msgstr ""
281
- "اگر مشکلی با این افزونه دارید می توانید آن را در انجمن پشتیبانی به آدرس "
282
- "روبرو در میان بگذارید:"
283
-
284
- #: ../wp-math-captcha.php:1151
285
- msgid "Support forum"
286
- msgstr "ورود به انجمن پشتیبانی"
287
-
288
- #: ../wp-math-captcha.php:1153
289
- msgid "Do you like this plugin?"
290
- msgstr "آیا از این افزونه راضی هستید؟"
291
-
292
- #: ../wp-math-captcha.php:1154
293
- msgid "Rate it 5"
294
- msgstr "امتیاز دهی"
295
-
296
- #: ../wp-math-captcha.php:1154
297
- msgid "on WordPress.org"
298
- msgstr "به افزونه در مخزن وردپرس"
299
-
300
- #: ../wp-math-captcha.php:1155
301
- msgid "Blog about it & link to the"
302
- msgstr "مشاهده مشخصات بیشتر در"
303
-
304
- #: ../wp-math-captcha.php:1155
305
- msgid "plugin page"
306
- msgstr "صفحه ی افزونه"
307
-
308
- #: ../wp-math-captcha.php:1156
309
- msgid "Check out our other"
310
- msgstr "مشاهده ی دیگر"
311
-
312
- #: ../wp-math-captcha.php:1156
313
- msgid "WordPress plugins"
314
- msgstr "افزونه های وردپرسی ما"
315
-
316
- #: ../wp-math-captcha.php:1209
317
- msgid "Support"
318
- msgstr "پشتیبانی"
319
-
320
- #: ../wp-math-captcha.php:1231
321
- msgid "Settings"
322
- msgstr "تنظیمات"
323
-
324
- #: ../includes/math-captcha-cf7.php:160
325
- msgid "Name"
326
- msgstr "نام"
327
-
328
- #: ../includes/math-captcha-cf7.php:166
329
- msgid "Input field settings"
330
- msgstr "تنظیمات فیلد ورودی"
331
-
332
- #: ../includes/math-captcha-cf7.php:169 ../includes/math-captcha-cf7.php:173
333
- msgid "optional"
334
- msgstr "اختیاری"
335
-
336
- #: ../includes/math-captcha-cf7.php:179
337
- msgid "Copy this code and paste it into the form left."
338
- msgstr ""
339
-
340
- #~ msgid "Edited & Translated by"
341
- #~ msgstr " ویرایش و فارسی سازی در"
342
-
343
- #~ msgid "wordpress and programming world"
344
- #~ msgstr "دنیای وردپرس و برنامه نویسی"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-fr_FR.mo DELETED
Binary file
languages/math-captcha-fr_FR.po DELETED
@@ -1,427 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha v1.0.3\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-08-25 21:17:30+0000\n"
7
- "Last-Translator: SiL3R <contact@xarold.com>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n>1;\n"
13
- "X-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: French\n"
15
- "X-Poedit-Country: FRANCE\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #: includes/math-captcha-cf7.php:109
24
- #: wp-math-captcha.php:813
25
- #@ math-captcha
26
- msgid "Invalid captcha value."
27
- msgstr "Valeur du captcha invalide."
28
-
29
- #: includes/math-captcha-cf7.php:113
30
- #: wp-math-captcha.php:812
31
- #@ math-captcha
32
- msgid "Please enter captcha value."
33
- msgstr "Veuillez entrez la valeur du captcha."
34
-
35
- #: includes/math-captcha-cf7.php:117
36
- #: wp-math-captcha.php:814
37
- #@ math-captcha
38
- msgid "Captcha time expired."
39
- msgstr "Temps du captcha expiré."
40
-
41
- #: includes/math-captcha-cf7.php:148
42
- #: wp-math-captcha.php:1080
43
- #: wp-math-captcha.php:1081
44
- #: wp-math-captcha.php:1096
45
- #: wp-math-captcha.php:1109
46
- #@ math-captcha
47
- msgid "Math Captcha"
48
- msgstr "Math Captcha"
49
-
50
- #: includes/math-captcha-cf7.php:160
51
- #@ math-captcha
52
- msgid "Name"
53
- msgstr "Nom"
54
-
55
- #: includes/math-captcha-cf7.php:166
56
- #@ math-captcha
57
- msgid "Input field settings"
58
- msgstr "Réglages du champ"
59
-
60
- #: includes/math-captcha-cf7.php:169
61
- #: includes/math-captcha-cf7.php:173
62
- #@ math-captcha
63
- msgid "optional"
64
- msgstr "optionnel"
65
-
66
- #: includes/math-captcha-cf7.php:179
67
- #@ math-captcha
68
- msgid "Copy this code and paste it into the form left."
69
- msgstr "Copiez ce code et collez-le dans le formulaire de gauche."
70
-
71
- #: wp-math-captcha.php:496
72
- #@ math-captcha
73
- msgid "one"
74
- msgstr "un"
75
-
76
- #: wp-math-captcha.php:497
77
- #@ math-captcha
78
- msgid "two"
79
- msgstr "deux"
80
-
81
- #: wp-math-captcha.php:498
82
- #@ math-captcha
83
- msgid "three"
84
- msgstr "trois"
85
-
86
- #: wp-math-captcha.php:499
87
- #@ math-captcha
88
- msgid "four"
89
- msgstr "quatre"
90
-
91
- #: wp-math-captcha.php:500
92
- #@ math-captcha
93
- msgid "five"
94
- msgstr "cinq"
95
-
96
- #: wp-math-captcha.php:501
97
- #@ math-captcha
98
- msgid "six"
99
- msgstr "six"
100
-
101
- #: wp-math-captcha.php:502
102
- #@ math-captcha
103
- msgid "seven"
104
- msgstr "sept"
105
-
106
- #: wp-math-captcha.php:503
107
- #@ math-captcha
108
- msgid "eight"
109
- msgstr "huit"
110
-
111
- #: wp-math-captcha.php:504
112
- #@ math-captcha
113
- msgid "nine"
114
- msgstr "neuf"
115
-
116
- #: wp-math-captcha.php:505
117
- #@ math-captcha
118
- msgid "ten"
119
- msgstr "dix"
120
-
121
- #: wp-math-captcha.php:506
122
- #@ math-captcha
123
- msgid "eleven"
124
- msgstr "onze"
125
-
126
- #: wp-math-captcha.php:507
127
- #@ math-captcha
128
- msgid "twelve"
129
- msgstr "douze"
130
-
131
- #: wp-math-captcha.php:508
132
- #@ math-captcha
133
- msgid "thirteen"
134
- msgstr "treize"
135
-
136
- #: wp-math-captcha.php:509
137
- #@ math-captcha
138
- msgid "fourteen"
139
- msgstr "quatorze"
140
-
141
- #: wp-math-captcha.php:510
142
- #@ math-captcha
143
- msgid "fifteen"
144
- msgstr "quinze"
145
-
146
- #: wp-math-captcha.php:511
147
- #@ math-captcha
148
- msgid "sixteen"
149
- msgstr "seize"
150
-
151
- #: wp-math-captcha.php:512
152
- #@ math-captcha
153
- msgid "seventeen"
154
- msgstr "dix-sept"
155
-
156
- #: wp-math-captcha.php:513
157
- #@ math-captcha
158
- msgid "eighteen"
159
- msgstr "dix-huit"
160
-
161
- #: wp-math-captcha.php:514
162
- #@ math-captcha
163
- msgid "nineteen"
164
- msgstr "dix-neuf"
165
-
166
- #: wp-math-captcha.php:515
167
- #@ math-captcha
168
- msgid "twenty"
169
- msgstr "vingt"
170
-
171
- #: wp-math-captcha.php:516
172
- #@ math-captcha
173
- msgid "thirty"
174
- msgstr "trente"
175
-
176
- #: wp-math-captcha.php:517
177
- #@ math-captcha
178
- msgid "forty"
179
- msgstr "quarante"
180
-
181
- #: wp-math-captcha.php:518
182
- #@ math-captcha
183
- msgid "fifty"
184
- msgstr "cinquante"
185
-
186
- #: wp-math-captcha.php:519
187
- #@ math-captcha
188
- msgid "sixty"
189
- msgstr "soixante"
190
-
191
- #: wp-math-captcha.php:520
192
- #@ math-captcha
193
- msgid "seventy"
194
- msgstr "soixante-dix"
195
-
196
- #: wp-math-captcha.php:521
197
- #@ math-captcha
198
- msgid "eighty"
199
- msgstr "quatre-vingts"
200
-
201
- #: wp-math-captcha.php:522
202
- #@ math-captcha
203
- msgid "ninety"
204
- msgstr "quatre-vingts-dix"
205
-
206
- #: wp-math-captcha.php:812
207
- #: wp-math-captcha.php:813
208
- #: wp-math-captcha.php:814
209
- #@ math-captcha
210
- msgid "ERROR"
211
- msgstr "ERREUR"
212
-
213
- #: wp-math-captcha.php:818
214
- #@ math-captcha
215
- msgid "login form"
216
- msgstr "formulaire de connexion"
217
-
218
- #: wp-math-captcha.php:819
219
- #@ math-captcha
220
- msgid "registration form"
221
- msgstr "formulaire d'inscription"
222
-
223
- #: wp-math-captcha.php:820
224
- #@ math-captcha
225
- msgid "reset password form"
226
- msgstr "formulaire de réinitialisation du mot de passe"
227
-
228
- #: wp-math-captcha.php:821
229
- #@ math-captcha
230
- msgid "comment form"
231
- msgstr "formulaire de commentaire"
232
-
233
- #: wp-math-captcha.php:822
234
- #@ math-captcha
235
- msgid "bbpress"
236
- msgstr "bbpress"
237
-
238
- #: wp-math-captcha.php:823
239
- #@ math-captcha
240
- msgid "contact form 7"
241
- msgstr "contact form 7"
242
-
243
- #: wp-math-captcha.php:827
244
- #@ math-captcha
245
- msgid "yes"
246
- msgstr "oui"
247
-
248
- #: wp-math-captcha.php:828
249
- #@ math-captcha
250
- msgid "no"
251
- msgstr "non"
252
-
253
- #: wp-math-captcha.php:832
254
- #@ math-captcha
255
- msgid "addition (+)"
256
- msgstr "addition (+)"
257
-
258
- #: wp-math-captcha.php:833
259
- #@ math-captcha
260
- msgid "subtraction (-)"
261
- msgstr "soustraction (-)"
262
-
263
- #: wp-math-captcha.php:834
264
- #@ math-captcha
265
- msgid "multiplication (&#215;)"
266
- msgstr "multiplication (&#215;)"
267
-
268
- #: wp-math-captcha.php:835
269
- #@ math-captcha
270
- msgid "division (&#247;)"
271
- msgstr "division (&#247;)"
272
-
273
- #: wp-math-captcha.php:839
274
- #@ math-captcha
275
- msgid "numbers"
276
- msgstr "nombres"
277
-
278
- #: wp-math-captcha.php:840
279
- #@ math-captcha
280
- msgid "words"
281
- msgstr "mots"
282
-
283
- #: wp-math-captcha.php:852
284
- #@ math-captcha
285
- msgid "Math Captcha settings"
286
- msgstr "Réglages Math Captcha"
287
-
288
- #: wp-math-captcha.php:853
289
- #@ math-captcha
290
- msgid "Enable Math Captcha for"
291
- msgstr "Activer Math Captcha pour"
292
-
293
- #: wp-math-captcha.php:854
294
- #@ math-captcha
295
- msgid "Hide for logged in users"
296
- msgstr "Cacher pour les utilisateurs connectés"
297
-
298
- #: wp-math-captcha.php:855
299
- #@ math-captcha
300
- msgid "Mathematical operations"
301
- msgstr "Opérations mathématiques"
302
-
303
- #: wp-math-captcha.php:856
304
- #@ math-captcha
305
- msgid "Display captcha as"
306
- msgstr "Afficher captcha comme"
307
-
308
- #: wp-math-captcha.php:857
309
- #@ math-captcha
310
- msgid "Captcha field title"
311
- msgstr "Champ du titre du captcha"
312
-
313
- #: wp-math-captcha.php:858
314
- #@ math-captcha
315
- msgid "Captcha time"
316
- msgstr "Temps du captcha"
317
-
318
- #: wp-math-captcha.php:859
319
- #@ math-captcha
320
- msgid "Deactivation"
321
- msgstr "Désactivation"
322
-
323
- #: wp-math-captcha.php:879
324
- #@ math-captcha
325
- msgid "Select were would you like to use Math Captcha."
326
- msgstr "Séléctionner où utiliser Math Captcha"
327
-
328
- #: wp-math-captcha.php:900
329
- #@ math-captcha
330
- msgid "Would you like to hide captcha for logged in users?"
331
- msgstr "Voulez vous cacher Math Captcha pour les utilisateurs connectés ?"
332
-
333
- #: wp-math-captcha.php:913
334
- #@ math-captcha
335
- msgid "Select what kind of mathematical operations will be used to generate captcha."
336
- msgstr "Sélectionnez le type d'opérations mathématiques utilisés pour le captcha."
337
-
338
- #: wp-math-captcha.php:926
339
- #@ math-captcha
340
- msgid "Enter the time (in seconds) a user has to enter captcha value."
341
- msgstr "Entrez le temps (en secondes) qu'un utilisateur a pour entrer la valeur du captcha."
342
-
343
- #: wp-math-captcha.php:947
344
- #@ math-captcha
345
- msgid "Delete settings on plugin deactivation"
346
- msgstr "Supprimer les réglages à la désactivation du plugin"
347
-
348
- #: wp-math-captcha.php:968
349
- #@ math-captcha
350
- msgid "Select which mathematical operations to use in your captcha."
351
- msgstr "Sélectionnez les opérations mathématiques à utiliser pour votre captcha."
352
-
353
- #: wp-math-captcha.php:989
354
- #@ math-captcha
355
- msgid "Select how you'd like to display you captcha."
356
- msgstr "Sélectionnez la façon dont vous souhaitez afficher le captcha."
357
-
358
- #: wp-math-captcha.php:1030
359
- #@ math-captcha
360
- msgid "You need to check at least one mathematical operation. Defaults settings of this option restored."
361
- msgstr "Vous devez cocher au moins une opération mathématique. Valeurs par défaut de cette option restaurés."
362
-
363
- #: wp-math-captcha.php:1046
364
- #@ math-captcha
365
- msgid "You need to check at least one group. Defaults settings of this option restored."
366
- msgstr "Vous devez cocher au moins un groupe. Valeurs par défaut de cette option restaurés."
367
-
368
- #: wp-math-captcha.php:1111
369
- #@ math-captcha
370
- msgid "Need support?"
371
- msgstr "Besoin d'aide ?"
372
-
373
- #: wp-math-captcha.php:1112
374
- #@ math-captcha
375
- msgid "If you are having problems with this plugin, please talk about them in the"
376
- msgstr "Si vous rencontrez des problèmes avec ce plugin, veuillez en parler sur le"
377
-
378
- #: wp-math-captcha.php:1112
379
- #@ math-captcha
380
- msgid "Support forum"
381
- msgstr "forum d'entraide"
382
-
383
- #: wp-math-captcha.php:1114
384
- #@ math-captcha
385
- msgid "Do you like this plugin?"
386
- msgstr "Aimez-vous ce plugin ?"
387
-
388
- #: wp-math-captcha.php:1115
389
- #@ math-captcha
390
- msgid "Rate it 5"
391
- msgstr "Notez-le 5"
392
-
393
- #: wp-math-captcha.php:1115
394
- #@ math-captcha
395
- msgid "on WordPress.org"
396
- msgstr "sur WordPress.org"
397
-
398
- #: wp-math-captcha.php:1116
399
- #@ math-captcha
400
- msgid "Blog about it & link to the"
401
- msgstr "Blog à ce sujet et un lien vers la"
402
-
403
- #: wp-math-captcha.php:1116
404
- #@ math-captcha
405
- msgid "plugin page"
406
- msgstr "page du plugin"
407
-
408
- #: wp-math-captcha.php:1117
409
- #@ math-captcha
410
- msgid "Check out our other"
411
- msgstr "Découvrez nos autres"
412
-
413
- #: wp-math-captcha.php:1117
414
- #@ math-captcha
415
- msgid "WordPress plugins"
416
- msgstr "plugins WordPress"
417
-
418
- #: wp-math-captcha.php:1170
419
- #@ math-captcha
420
- msgid "Support"
421
- msgstr "Support"
422
-
423
- #: wp-math-captcha.php:1192
424
- #@ math-captcha
425
- msgid "Settings"
426
- msgstr "Réglages"
427
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-it_IT.mo DELETED
Binary file
languages/math-captcha-it_IT.po DELETED
@@ -1,343 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha\n"
4
- "POT-Creation-Date: 2013-08-28 11:18+0100\n"
5
- "PO-Revision-Date: 2013-10-07 09:21+0100\n"
6
- "Last-Translator: Alessandro Fiorotto <alex@fiorotto.com>\n"
7
- "Language-Team: \n"
8
- "Language: English\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- #: ../wp-math-captcha.php:496
19
- msgid "one"
20
- msgstr "uno"
21
-
22
- #: ../wp-math-captcha.php:497
23
- msgid "two"
24
- msgstr "due"
25
-
26
- #: ../wp-math-captcha.php:498
27
- msgid "three"
28
- msgstr "tre"
29
-
30
- #: ../wp-math-captcha.php:499
31
- msgid "four"
32
- msgstr "quattro"
33
-
34
- #: ../wp-math-captcha.php:500
35
- msgid "five"
36
- msgstr "cinque"
37
-
38
- #: ../wp-math-captcha.php:501
39
- msgid "six"
40
- msgstr "sei"
41
-
42
- #: ../wp-math-captcha.php:502
43
- msgid "seven"
44
- msgstr "sette"
45
-
46
- #: ../wp-math-captcha.php:503
47
- msgid "eight"
48
- msgstr "otto"
49
-
50
- #: ../wp-math-captcha.php:504
51
- msgid "nine"
52
- msgstr "nove"
53
-
54
- #: ../wp-math-captcha.php:505
55
- msgid "ten"
56
- msgstr "dieci"
57
-
58
- #: ../wp-math-captcha.php:506
59
- msgid "eleven"
60
- msgstr "undici"
61
-
62
- #: ../wp-math-captcha.php:507
63
- msgid "twelve"
64
- msgstr "dodici"
65
-
66
- #: ../wp-math-captcha.php:508
67
- msgid "thirteen"
68
- msgstr "tredici"
69
-
70
- #: ../wp-math-captcha.php:509
71
- msgid "fourteen"
72
- msgstr "quattordici"
73
-
74
- #: ../wp-math-captcha.php:510
75
- msgid "fifteen"
76
- msgstr "quindici"
77
-
78
- #: ../wp-math-captcha.php:511
79
- msgid "sixteen"
80
- msgstr "sedici"
81
-
82
- #: ../wp-math-captcha.php:512
83
- msgid "seventeen"
84
- msgstr "diciassette"
85
-
86
- #: ../wp-math-captcha.php:513
87
- msgid "eighteen"
88
- msgstr "diciotto"
89
-
90
- #: ../wp-math-captcha.php:514
91
- msgid "nineteen"
92
- msgstr "diciannove"
93
-
94
- #: ../wp-math-captcha.php:515
95
- msgid "twenty"
96
- msgstr "venti"
97
-
98
- #: ../wp-math-captcha.php:516
99
- msgid "thirty"
100
- msgstr "trenta"
101
-
102
- #: ../wp-math-captcha.php:517
103
- msgid "forty"
104
- msgstr "quaranta"
105
-
106
- #: ../wp-math-captcha.php:518
107
- msgid "fifty"
108
- msgstr "cinquanta"
109
-
110
- #: ../wp-math-captcha.php:519
111
- msgid "sixty"
112
- msgstr "sessanta"
113
-
114
- #: ../wp-math-captcha.php:520
115
- msgid "seventy"
116
- msgstr "settanta"
117
-
118
- #: ../wp-math-captcha.php:521
119
- msgid "eighty"
120
- msgstr "ottanta"
121
-
122
- #: ../wp-math-captcha.php:522
123
- msgid "ninety"
124
- msgstr "novanta"
125
-
126
- #: ../wp-math-captcha.php:814
127
- #: ../wp-math-captcha.php:815
128
- #: ../wp-math-captcha.php:816
129
- msgid "ERROR"
130
- msgstr "ERRORE"
131
-
132
- #: ../wp-math-captcha.php:814
133
- #: ../includes/math-captcha-cf7.php:113
134
- msgid "Please enter captcha value."
135
- msgstr "Inserire il risultato dell'operazione matematica."
136
-
137
- #: ../wp-math-captcha.php:815
138
- #: ../includes/math-captcha-cf7.php:109
139
- msgid "Invalid captcha value."
140
- msgstr "Il risultato dell'operazione matematica è sbagliato."
141
-
142
- #: ../wp-math-captcha.php:816
143
- #: ../includes/math-captcha-cf7.php:117
144
- msgid "Captcha time expired."
145
- msgstr "Il tempo per rispondere all'operazione matematica è scaduto."
146
-
147
- #: ../wp-math-captcha.php:820
148
- msgid "login form"
149
- msgstr "moduto di autenticazione"
150
-
151
- #: ../wp-math-captcha.php:821
152
- msgid "registration form"
153
- msgstr "modulo di registrazione"
154
-
155
- #: ../wp-math-captcha.php:822
156
- msgid "reset password form"
157
- msgstr "modulo reset password"
158
-
159
- #: ../wp-math-captcha.php:823
160
- msgid "comment form"
161
- msgstr "modulo dei commenti"
162
-
163
- #: ../wp-math-captcha.php:824
164
- msgid "bbpress"
165
- msgstr "bbpress"
166
-
167
- #: ../wp-math-captcha.php:825
168
- msgid "contact form 7"
169
- msgstr "contact form 7"
170
-
171
- #: ../wp-math-captcha.php:829
172
- msgid "yes"
173
- msgstr "si"
174
-
175
- #: ../wp-math-captcha.php:830
176
- msgid "no"
177
- msgstr "no"
178
-
179
- #: ../wp-math-captcha.php:834
180
- msgid "addition (+)"
181
- msgstr "addizione (+)"
182
-
183
- #: ../wp-math-captcha.php:835
184
- msgid "subtraction (-)"
185
- msgstr "sottrazione (-)"
186
-
187
- #: ../wp-math-captcha.php:836
188
- msgid "multiplication (&#215;)"
189
- msgstr "moltiplicazione (&#215;)"
190
-
191
- #: ../wp-math-captcha.php:837
192
- msgid "division (&#247;)"
193
- msgstr "divisione (&#247;)"
194
-
195
- #: ../wp-math-captcha.php:841
196
- msgid "numbers"
197
- msgstr "numeri"
198
-
199
- #: ../wp-math-captcha.php:842
200
- msgid "words"
201
- msgstr "parole"
202
-
203
- #: ../wp-math-captcha.php:854
204
- msgid "Math Captcha settings"
205
- msgstr "Impostazioni Math Captcha"
206
-
207
- #: ../wp-math-captcha.php:855
208
- msgid "Enable Math Captcha for"
209
- msgstr "Abilita Math Captcha per"
210
-
211
- #: ../wp-math-captcha.php:856
212
- msgid "Hide for logged in users"
213
- msgstr "Nascondi per gli utenti autenticati"
214
-
215
- #: ../wp-math-captcha.php:857
216
- msgid "Mathematical operations"
217
- msgstr "Operazioni matematiche"
218
-
219
- #: ../wp-math-captcha.php:858
220
- msgid "Display captcha as"
221
- msgstr "Mostra captcha come"
222
-
223
- #: ../wp-math-captcha.php:859
224
- msgid "Captcha field title"
225
- msgstr "Titolo del captcha"
226
-
227
- #: ../wp-math-captcha.php:860
228
- msgid "Captcha time"
229
- msgstr "Tempo a disposizione"
230
-
231
- #: ../wp-math-captcha.php:861
232
- msgid "Deactivation"
233
- msgstr "Disattivazione"
234
-
235
- #: ../wp-math-captcha.php:881
236
- msgid "Select were would you like to use Math Captcha."
237
- msgstr "Seleziona quando far apparire il Math Captcha."
238
-
239
- #: ../wp-math-captcha.php:902
240
- msgid "Would you like to hide captcha for logged in users?"
241
- msgstr "Desideri usare captcha per gli utenti autenticati?"
242
-
243
- #: ../wp-math-captcha.php:915
244
- msgid "How to entitle field with captcha?"
245
- msgstr "Come titolare il campo del captcha?"
246
-
247
- #: ../wp-math-captcha.php:928
248
- msgid "Enter the time (in seconds) a user has to enter captcha value."
249
- msgstr "Inserisci il tempo (in secondi) disponibile per inserire una risposta."
250
-
251
- #: ../wp-math-captcha.php:949
252
- msgid "Delete settings on plugin deactivation"
253
- msgstr "Cancella le impostazioni alla disattivazione del plugin"
254
-
255
- #: ../wp-math-captcha.php:970
256
- msgid "Select which mathematical operations to use in your captcha."
257
- msgstr "Seleziona quali operazioni matematiche utilizzare nel tuo captcha."
258
-
259
- #: ../wp-math-captcha.php:991
260
- msgid "Select how you'd like to display you captcha."
261
- msgstr "Selezionare come vuoi visualizzare il tuo captcha."
262
-
263
- #: ../wp-math-captcha.php:1032
264
- msgid "You need to check at least one mathematical operation. Defaults settings of this option restored."
265
- msgstr "Si deve selezionare almeno un'operazione matematica. Sono stare ripristinate le impostazioni predefinite."
266
-
267
- #: ../wp-math-captcha.php:1048
268
- msgid "You need to check at least one group. Defaults settings of this option restored."
269
- msgstr "Il captcha deve essere attivato per almeno un gruppo. Sono stare ripristinate le impostazioni predefinite."
270
-
271
- #: ../wp-math-captcha.php:1082
272
- #: ../wp-math-captcha.php:1083
273
- #: ../wp-math-captcha.php:1098
274
- #: ../wp-math-captcha.php:1111
275
- #: ../includes/math-captcha-cf7.php:148
276
- msgid "Math Captcha"
277
- msgstr "Math Captcha"
278
-
279
- #: ../wp-math-captcha.php:1113
280
- msgid "Need support?"
281
- msgstr "Serve aiuto?"
282
-
283
- #: ../wp-math-captcha.php:1114
284
- msgid "If you are having problems with this plugin, please talk about them in the"
285
- msgstr "Se hai problemi con questo plugin, parlane nel"
286
-
287
- #: ../wp-math-captcha.php:1114
288
- msgid "Support forum"
289
- msgstr "forum di supporto"
290
-
291
- #: ../wp-math-captcha.php:1116
292
- msgid "Do you like this plugin?"
293
- msgstr "Ti piace questo plugin?"
294
-
295
- #: ../wp-math-captcha.php:1117
296
- msgid "Rate it 5"
297
- msgstr "Votalo 5"
298
-
299
- #: ../wp-math-captcha.php:1117
300
- msgid "on WordPress.org"
301
- msgstr "su WordPress.org"
302
-
303
- #: ../wp-math-captcha.php:1118
304
- msgid "Blog about it & link to the"
305
- msgstr "Blogga e linka la"
306
-
307
- #: ../wp-math-captcha.php:1118
308
- msgid "plugin page"
309
- msgstr "pagina del plugin"
310
-
311
- #: ../wp-math-captcha.php:1119
312
- msgid "Check out our other"
313
- msgstr "Vedi gli altri nostri"
314
-
315
- #: ../wp-math-captcha.php:1119
316
- msgid "WordPress plugins"
317
- msgstr "plugin di WordPress"
318
-
319
- #: ../wp-math-captcha.php:1172
320
- msgid "Support"
321
- msgstr "Supporto"
322
-
323
- #: ../wp-math-captcha.php:1194
324
- msgid "Settings"
325
- msgstr "Impostazioni"
326
-
327
- #: ../includes/math-captcha-cf7.php:160
328
- msgid "Name"
329
- msgstr "Nome"
330
-
331
- #: ../includes/math-captcha-cf7.php:166
332
- msgid "Input field settings"
333
- msgstr "Impostazioni di inserimento"
334
-
335
- #: ../includes/math-captcha-cf7.php:169
336
- #: ../includes/math-captcha-cf7.php:173
337
- msgid "optional"
338
- msgstr "opzionale"
339
-
340
- #: ../includes/math-captcha-cf7.php:179
341
- msgid "Copy this code and paste it into the form left."
342
- msgstr "Copia questo codice alla sinistra del modulo."
343
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-ja.mo DELETED
Binary file
languages/math-captcha-ja.po DELETED
@@ -1,263 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha\n"
4
- "POT-Creation-Date: 2013-08-28 11:18+0100\n"
5
- "PO-Revision-Date: 2013-09-19 00:05+0900\n"
6
- "Last-Translator: \n"
7
- "Language-Team: stranger-jp\n"
8
- "Language: ja\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
13
- "X-Poedit-Basepath: .\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Generator: Poedit 1.5.7\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- msgid "one"
19
- msgstr "1"
20
-
21
- msgid "two"
22
- msgstr "2"
23
-
24
- msgid "three"
25
- msgstr "3"
26
-
27
- msgid "four"
28
- msgstr "4"
29
-
30
- msgid "five"
31
- msgstr "5"
32
-
33
- msgid "six"
34
- msgstr "6"
35
-
36
- msgid "seven"
37
- msgstr "7"
38
-
39
- msgid "eight"
40
- msgstr "8"
41
-
42
- msgid "nine"
43
- msgstr "9"
44
-
45
- msgid "ten"
46
- msgstr "10"
47
-
48
- msgid "eleven"
49
- msgstr "11"
50
-
51
- msgid "twelve"
52
- msgstr "12"
53
-
54
- msgid "thirteen"
55
- msgstr "13"
56
-
57
- msgid "fourteen"
58
- msgstr "14"
59
-
60
- msgid "fifteen"
61
- msgstr "15"
62
-
63
- msgid "sixteen"
64
- msgstr "16"
65
-
66
- msgid "seventeen"
67
- msgstr "17"
68
-
69
- msgid "eighteen"
70
- msgstr "18"
71
-
72
- msgid "nineteen"
73
- msgstr "19"
74
-
75
- msgid "twenty"
76
- msgstr "20"
77
-
78
- msgid "thirty"
79
- msgstr "30"
80
-
81
- msgid "forty"
82
- msgstr "40"
83
-
84
- msgid "fifty"
85
- msgstr "50"
86
-
87
- msgid "sixty"
88
- msgstr "60"
89
-
90
- msgid "seventy"
91
- msgstr "70"
92
-
93
- msgid "eighty"
94
- msgstr "80"
95
-
96
- msgid "ninety"
97
- msgstr "90"
98
-
99
- msgid "ERROR"
100
- msgstr "エラー"
101
-
102
- msgid "Please enter captcha value."
103
- msgstr "キャプチャの値を入力してください。"
104
-
105
- msgid "Invalid captcha value."
106
- msgstr "キャプチャ値が無効です。"
107
-
108
- msgid "Captcha time expired."
109
- msgstr "キャプチャの期限切れです。"
110
-
111
- msgid "login form"
112
- msgstr "ログインフォーム"
113
-
114
- msgid "registration form"
115
- msgstr "登録フォーム"
116
-
117
- msgid "reset password form"
118
- msgstr "パスワードのリセットフォーム"
119
-
120
- msgid "comment form"
121
- msgstr "コメントフォーム"
122
-
123
- msgid "bbpress"
124
- msgstr "bbPress"
125
-
126
- msgid "contact form 7"
127
- msgstr "contact form 7"
128
-
129
- msgid "yes"
130
- msgstr "はい"
131
-
132
- msgid "no"
133
- msgstr "いいえ"
134
-
135
- msgid "addition (+)"
136
- msgstr "加算 (+)"
137
-
138
- msgid "subtraction (-)"
139
- msgstr "減算 (-)"
140
-
141
- msgid "multiplication (&#215;)"
142
- msgstr "乗算 (&#215;)"
143
-
144
- msgid "division (&#247;)"
145
- msgstr "除算 (&#247;)"
146
-
147
- msgid "numbers"
148
- msgstr "整数"
149
-
150
- msgid "words"
151
- msgstr "数値"
152
-
153
- msgid "Math Captcha settings"
154
- msgstr "数学キャプチャ設定"
155
-
156
- msgid "Enable Math Captcha for"
157
- msgstr "有効にする項目"
158
-
159
- msgid "Hide for logged in users"
160
- msgstr "ログインユーザーに非表示"
161
-
162
- msgid "Mathematical operations"
163
- msgstr "キャプチャの計算方法"
164
-
165
- msgid "Display captcha as"
166
- msgstr "キャプチャの表示方法"
167
-
168
- msgid "Captcha field title"
169
- msgstr "キャプチャフィールドのタイトル"
170
-
171
- msgid "Captcha time"
172
- msgstr "キャプチャ時間"
173
-
174
- msgid "Deactivation"
175
- msgstr "プラグインの設定を削除"
176
-
177
- msgid "Select were would you like to use Math Captcha."
178
- msgstr "キャプチャを使用する項目を選択してください。"
179
-
180
- msgid "Would you like to hide captcha for logged in users?"
181
- msgstr "ログインユーザーはキャプチャを非表示にしますか?"
182
-
183
- msgid "How to entitle field with captcha?"
184
- msgstr "キャプチャを適用するフィールドに表示するタイトルを指定します。"
185
-
186
- msgid "Enter the time (in seconds) a user has to enter captcha value."
187
- msgstr "ユーザーがキャプチャの値を入力しなければならない時間(秒)を指定します。"
188
-
189
- msgid "Delete settings on plugin deactivation"
190
- msgstr "プラグインの停止時にすべてのデータを削除する場合は有効にします。"
191
-
192
- msgid "Select which mathematical operations to use in your captcha."
193
- msgstr "キャプチャで使用する計算方法を選択します。"
194
-
195
- msgid "Select how you'd like to display you captcha."
196
- msgstr "キャプチャの表示方法を選択します。"
197
-
198
- msgid ""
199
- "You need to check at least one mathematical operation. Defaults settings of "
200
- "this option restored."
201
- msgstr ""
202
- "キャプチャの計算方法は少なくとも一つ選択する必要があります。このオプションの"
203
- "デフォルト設定を復元します。"
204
-
205
- msgid ""
206
- "You need to check at least one group. Defaults settings of this option "
207
- "restored."
208
- msgstr ""
209
- "キャプチャの表示方法は少なくとも1つ選択する必要があります。このオプションのデ"
210
- "フォルト設定を復元します。"
211
-
212
- msgid "Math Captcha"
213
- msgstr "数学キャプチャ"
214
-
215
- msgid "Need support?"
216
- msgstr "Need support?"
217
-
218
- msgid ""
219
- "If you are having problems with this plugin, please talk about them in the"
220
- msgstr ""
221
- "If you are having problems with this plugin, please talk about them in the"
222
-
223
- msgid "Support forum"
224
- msgstr "Support forum"
225
-
226
- msgid "Do you like this plugin?"
227
- msgstr "Do you like this plugin?"
228
-
229
- msgid "Rate it 5"
230
- msgstr "Rate it 5"
231
-
232
- msgid "on WordPress.org"
233
- msgstr "on WordPress.org"
234
-
235
- msgid "Blog about it & link to the"
236
- msgstr "Blog about it & link to the"
237
-
238
- msgid "plugin page"
239
- msgstr "プラグインのページ"
240
-
241
- msgid "Check out our other"
242
- msgstr "Check out our other"
243
-
244
- msgid "WordPress plugins"
245
- msgstr "WordPress plugins"
246
-
247
- msgid "Support"
248
- msgstr "サポート"
249
-
250
- msgid "Settings"
251
- msgstr "設定"
252
-
253
- msgid "Name"
254
- msgstr "名前"
255
-
256
- msgid "Input field settings"
257
- msgstr "入力フィールドの設定"
258
-
259
- msgid "optional"
260
- msgstr "オプショナル"
261
-
262
- msgid "Copy this code and paste it into the form left."
263
- msgstr "このコードをコピーして左のフォームに貼り付けます。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-nl_NL.mo DELETED
Binary file
languages/math-captcha-nl_NL.po DELETED
@@ -1,427 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha v1.0.5\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-09-20 05:04:24+0000\n"
7
- "Last-Translator: redactie <redactie@datisslimbedacht.nl>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Dutch\n"
15
- "X-Poedit-Country: NETHERLANDS\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #: includes/math-captcha-cf7.php:109
24
- #: wp-math-captcha.php:811
25
- #@ math-captcha
26
- msgid "Invalid captcha value."
27
- msgstr "Ongeldige captcha waarde"
28
-
29
- #: includes/math-captcha-cf7.php:113
30
- #: wp-math-captcha.php:810
31
- #@ math-captcha
32
- msgid "Please enter captcha value."
33
- msgstr "Voer aub een captcha waarde in"
34
-
35
- #: includes/math-captcha-cf7.php:117
36
- #: wp-math-captcha.php:812
37
- #@ math-captcha
38
- msgid "Captcha time expired."
39
- msgstr "Captcha duur tot time-out."
40
-
41
- #: includes/math-captcha-cf7.php:148
42
- #: wp-math-captcha.php:1078
43
- #: wp-math-captcha.php:1079
44
- #: wp-math-captcha.php:1094
45
- #: wp-math-captcha.php:1107
46
- #@ math-captcha
47
- msgid "Math Captcha"
48
- msgstr "Match Captcha"
49
-
50
- #: includes/math-captcha-cf7.php:160
51
- #@ math-captcha
52
- msgid "Name"
53
- msgstr "Naam"
54
-
55
- #: includes/math-captcha-cf7.php:166
56
- #@ math-captcha
57
- msgid "Input field settings"
58
- msgstr "Instellingen invoervelden"
59
-
60
- #: includes/math-captcha-cf7.php:169
61
- #: includes/math-captcha-cf7.php:173
62
- #@ math-captcha
63
- msgid "optional"
64
- msgstr "optioneel"
65
-
66
- #: includes/math-captcha-cf7.php:179
67
- #@ math-captcha
68
- msgid "Copy this code and paste it into the form left."
69
- msgstr "Kopieer deze code en plak het in het formulier."
70
-
71
- #: wp-math-captcha.php:496
72
- #@ math-captcha
73
- msgid "one"
74
- msgstr "een"
75
-
76
- #: wp-math-captcha.php:497
77
- #@ math-captcha
78
- msgid "two"
79
- msgstr "twee"
80
-
81
- #: wp-math-captcha.php:498
82
- #@ math-captcha
83
- msgid "three"
84
- msgstr "drie"
85
-
86
- #: wp-math-captcha.php:499
87
- #@ math-captcha
88
- msgid "four"
89
- msgstr "vier"
90
-
91
- #: wp-math-captcha.php:500
92
- #@ math-captcha
93
- msgid "five"
94
- msgstr "vijf"
95
-
96
- #: wp-math-captcha.php:501
97
- #@ math-captcha
98
- msgid "six"
99
- msgstr "zes"
100
-
101
- #: wp-math-captcha.php:502
102
- #@ math-captcha
103
- msgid "seven"
104
- msgstr "zeven"
105
-
106
- #: wp-math-captcha.php:503
107
- #@ math-captcha
108
- msgid "eight"
109
- msgstr "acht"
110
-
111
- #: wp-math-captcha.php:504
112
- #@ math-captcha
113
- msgid "nine"
114
- msgstr "negen"
115
-
116
- #: wp-math-captcha.php:505
117
- #@ math-captcha
118
- msgid "ten"
119
- msgstr "tien"
120
-
121
- #: wp-math-captcha.php:506
122
- #@ math-captcha
123
- msgid "eleven"
124
- msgstr "elf"
125
-
126
- #: wp-math-captcha.php:507
127
- #@ math-captcha
128
- msgid "twelve"
129
- msgstr "twaalf"
130
-
131
- #: wp-math-captcha.php:508
132
- #@ math-captcha
133
- msgid "thirteen"
134
- msgstr "dertien"
135
-
136
- #: wp-math-captcha.php:509
137
- #@ math-captcha
138
- msgid "fourteen"
139
- msgstr "veertien"
140
-
141
- #: wp-math-captcha.php:510
142
- #@ math-captcha
143
- msgid "fifteen"
144
- msgstr "vijftien"
145
-
146
- #: wp-math-captcha.php:511
147
- #@ math-captcha
148
- msgid "sixteen"
149
- msgstr "zestien"
150
-
151
- #: wp-math-captcha.php:512
152
- #@ math-captcha
153
- msgid "seventeen"
154
- msgstr "zeventien"
155
-
156
- #: wp-math-captcha.php:513
157
- #@ math-captcha
158
- msgid "eighteen"
159
- msgstr "achttien"
160
-
161
- #: wp-math-captcha.php:514
162
- #@ math-captcha
163
- msgid "nineteen"
164
- msgstr "negentien"
165
-
166
- #: wp-math-captcha.php:515
167
- #@ math-captcha
168
- msgid "twenty"
169
- msgstr "twintig"
170
-
171
- #: wp-math-captcha.php:516
172
- #@ math-captcha
173
- msgid "thirty"
174
- msgstr "dertig"
175
-
176
- #: wp-math-captcha.php:517
177
- #@ math-captcha
178
- msgid "forty"
179
- msgstr "veertig"
180
-
181
- #: wp-math-captcha.php:518
182
- #@ math-captcha
183
- msgid "fifty"
184
- msgstr "vijftig"
185
-
186
- #: wp-math-captcha.php:519
187
- #@ math-captcha
188
- msgid "sixty"
189
- msgstr "zestig"
190
-
191
- #: wp-math-captcha.php:520
192
- #@ math-captcha
193
- msgid "seventy"
194
- msgstr "zeventig"
195
-
196
- #: wp-math-captcha.php:521
197
- #@ math-captcha
198
- msgid "eighty"
199
- msgstr "tachtig"
200
-
201
- #: wp-math-captcha.php:522
202
- #@ math-captcha
203
- msgid "ninety"
204
- msgstr "negentig"
205
-
206
- #: wp-math-captcha.php:810
207
- #: wp-math-captcha.php:811
208
- #: wp-math-captcha.php:812
209
- #@ math-captcha
210
- msgid "ERROR"
211
- msgstr "FOUT"
212
-
213
- #: wp-math-captcha.php:816
214
- #@ math-captcha
215
- msgid "login form"
216
- msgstr "login formulier"
217
-
218
- #: wp-math-captcha.php:817
219
- #@ math-captcha
220
- msgid "registration form"
221
- msgstr "registratie formulier"
222
-
223
- #: wp-math-captcha.php:818
224
- #@ math-captcha
225
- msgid "reset password form"
226
- msgstr "herstel wachtwoord formulier"
227
-
228
- #: wp-math-captcha.php:819
229
- #@ math-captcha
230
- msgid "comment form"
231
- msgstr "reactie formulier"
232
-
233
- #: wp-math-captcha.php:820
234
- #@ math-captcha
235
- msgid "bbpress"
236
- msgstr "bbpress"
237
-
238
- #: wp-math-captcha.php:821
239
- #@ math-captcha
240
- msgid "contact form 7"
241
- msgstr "contact formulier 7"
242
-
243
- #: wp-math-captcha.php:825
244
- #@ math-captcha
245
- msgid "yes"
246
- msgstr "ja"
247
-
248
- #: wp-math-captcha.php:826
249
- #@ math-captcha
250
- msgid "no"
251
- msgstr "nee"
252
-
253
- #: wp-math-captcha.php:830
254
- #@ math-captcha
255
- msgid "addition (+)"
256
- msgstr "optellen (+)"
257
-
258
- #: wp-math-captcha.php:831
259
- #@ math-captcha
260
- msgid "subtraction (-)"
261
- msgstr "aftrekken (-)"
262
-
263
- #: wp-math-captcha.php:832
264
- #@ math-captcha
265
- msgid "multiplication (&#215;)"
266
- msgstr "vermenigvuldigen (&#215;)"
267
-
268
- #: wp-math-captcha.php:833
269
- #@ math-captcha
270
- msgid "division (&#247;)"
271
- msgstr "deel door (&#247;)"
272
-
273
- #: wp-math-captcha.php:837
274
- #@ math-captcha
275
- msgid "numbers"
276
- msgstr "cijfers"
277
-
278
- #: wp-math-captcha.php:838
279
- #@ math-captcha
280
- msgid "words"
281
- msgstr "woorden"
282
-
283
- #: wp-math-captcha.php:850
284
- #@ math-captcha
285
- msgid "Math Captcha settings"
286
- msgstr "Match Captcha instellingen"
287
-
288
- #: wp-math-captcha.php:851
289
- #@ math-captcha
290
- msgid "Enable Math Captcha for"
291
- msgstr "Zet Match Captcha voor"
292
-
293
- #: wp-math-captcha.php:852
294
- #@ math-captcha
295
- msgid "Hide for logged in users"
296
- msgstr "Verberg voor gebruikers die ingelogd zijn"
297
-
298
- #: wp-math-captcha.php:853
299
- #@ math-captcha
300
- msgid "Mathematical operations"
301
- msgstr "Soort sommen"
302
-
303
- #: wp-math-captcha.php:854
304
- #@ math-captcha
305
- msgid "Display captcha as"
306
- msgstr "Toon captcha als"
307
-
308
- #: wp-math-captcha.php:855
309
- #@ math-captcha
310
- msgid "Captcha field title"
311
- msgstr "Captcha titel"
312
-
313
- #: wp-math-captcha.php:856
314
- #@ math-captcha
315
- msgid "Captcha time"
316
- msgstr "Captcha tijd"
317
-
318
- #: wp-math-captcha.php:857
319
- #@ math-captcha
320
- msgid "Deactivation"
321
- msgstr "Deactivatie"
322
-
323
- #: wp-math-captcha.php:877
324
- #@ math-captcha
325
- msgid "Select were would you like to use Math Captcha."
326
- msgstr "Selecteer waar je Match Captcha wilt gebruiken"
327
-
328
- #: wp-math-captcha.php:898
329
- #@ math-captcha
330
- msgid "Would you like to hide captcha for logged in users?"
331
- msgstr "Wil je captcha verbergen voor ingelogde gebruikers?"
332
-
333
- #: wp-math-captcha.php:911
334
- #@ math-captcha
335
- msgid "How to entitle field with captcha?"
336
- msgstr "Wat moet er bij de captcha getoond worden als titel?"
337
-
338
- #: wp-math-captcha.php:924
339
- #@ math-captcha
340
- msgid "Enter the time (in seconds) a user has to enter captcha value."
341
- msgstr "Voer de tijd in (in seconden) die een gebruiker heeft om de captcha waarde in te geven."
342
-
343
- #: wp-math-captcha.php:945
344
- #@ math-captcha
345
- msgid "Delete settings on plugin deactivation"
346
- msgstr "Verwijder instellingen bij deactivatie plugin"
347
-
348
- #: wp-math-captcha.php:966
349
- #@ math-captcha
350
- msgid "Select which mathematical operations to use in your captcha."
351
- msgstr "Selecteer welke soort sommen er gebruikt moeten worden."
352
-
353
- #: wp-math-captcha.php:987
354
- #@ math-captcha
355
- msgid "Select how you'd like to display you captcha."
356
- msgstr "Selecteer hoe je de captcha wilt weergeven."
357
-
358
- #: wp-math-captcha.php:1028
359
- #@ math-captcha
360
- msgid "You need to check at least one mathematical operation. Defaults settings of this option restored."
361
- msgstr "U dient tenminste 1 soort som te selecteren. Standaard waarde hersteld."
362
-
363
- #: wp-math-captcha.php:1044
364
- #@ math-captcha
365
- msgid "You need to check at least one group. Defaults settings of this option restored."
366
- msgstr "U dient tenminste 1 groep te selecteren. Standaard waarde hersteld."
367
-
368
- #: wp-math-captcha.php:1109
369
- #@ math-captcha
370
- msgid "Need support?"
371
- msgstr "Hulp nodig?"
372
-
373
- #: wp-math-captcha.php:1110
374
- #@ math-captcha
375
- msgid "If you are having problems with this plugin, please talk about them in the"
376
- msgstr "Indien u problemen heeft met deze plugin, geef dit dan aan in het"
377
-
378
- #: wp-math-captcha.php:1110
379
- #@ math-captcha
380
- msgid "Support forum"
381
- msgstr "Support forum"
382
-
383
- #: wp-math-captcha.php:1112
384
- #@ math-captcha
385
- msgid "Do you like this plugin?"
386
- msgstr "Vind u deze plugin leuk?"
387
-
388
- #: wp-math-captcha.php:1113
389
- #@ math-captcha
390
- msgid "Rate it 5"
391
- msgstr "Waardeer het met 5"
392
-
393
- #: wp-math-captcha.php:1113
394
- #@ math-captcha
395
- msgid "on WordPress.org"
396
- msgstr "op Wordpress..org"
397
-
398
- #: wp-math-captcha.php:1114
399
- #@ math-captcha
400
- msgid "Blog about it & link to the"
401
- msgstr "Blog en link naar het"
402
-
403
- #: wp-math-captcha.php:1114
404
- #@ math-captcha
405
- msgid "plugin page"
406
- msgstr "plugin pagina"
407
-
408
- #: wp-math-captcha.php:1115
409
- #@ math-captcha
410
- msgid "Check out our other"
411
- msgstr "Kijk naar onze andere"
412
-
413
- #: wp-math-captcha.php:1115
414
- #@ math-captcha
415
- msgid "WordPress plugins"
416
- msgstr "Wordpress plugins"
417
-
418
- #: wp-math-captcha.php:1168
419
- #@ math-captcha
420
- msgid "Support"
421
- msgstr "Support"
422
-
423
- #: wp-math-captcha.php:1190
424
- #@ math-captcha
425
- msgid "Settings"
426
- msgstr "Instellingen"
427
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-pl_PL.mo CHANGED
Binary file
languages/math-captcha-pl_PL.po CHANGED
@@ -1,715 +1,666 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha\n"
4
- "POT-Creation-Date: 2015-01-25 22:43+0100\n"
5
- "PO-Revision-Date: 2015-01-25 22:44+0100\n"
6
- "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
- "Language-Team: dFactory <info@dfactory.eu>\n"
8
- "Language: en\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.3\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- #: ../includes/class-core.php:39 ../includes/class-core.php:40
19
- #: ../includes/class-core.php:41
20
- msgid "ERROR"
21
- msgstr "BŁĄD"
22
-
23
- #: ../includes/class-core.php:39 ../includes/integration-cf7.php:104
24
- msgid "Please enter captcha value."
25
- msgstr "Proszę wpisać wartość."
26
-
27
- #: ../includes/class-core.php:40 ../includes/integration-cf7.php:100
28
- msgid "Invalid captcha value."
29
- msgstr "Nieprawidłowa wartość."
30
-
31
- #: ../includes/class-core.php:41 ../includes/integration-cf7.php:108
32
- msgid "Captcha time expired."
33
- msgstr "Upłynął czas."
34
-
35
- #: ../includes/class-core.php:428
36
- msgid "one"
37
- msgstr "jeden"
38
-
39
- #: ../includes/class-core.php:429
40
- msgid "two"
41
- msgstr "dwa"
42
-
43
- #: ../includes/class-core.php:430
44
- msgid "three"
45
- msgstr "trzy"
46
-
47
- #: ../includes/class-core.php:431
48
- msgid "four"
49
- msgstr "cztery"
50
-
51
- #: ../includes/class-core.php:432
52
- msgid "five"
53
- msgstr "pięć"
54
-
55
- #: ../includes/class-core.php:433
56
- msgid "six"
57
- msgstr "sześć"
58
-
59
- #: ../includes/class-core.php:434
60
- msgid "seven"
61
- msgstr "siedem"
62
-
63
- #: ../includes/class-core.php:435
64
- msgid "eight"
65
- msgstr "osiem"
66
-
67
- #: ../includes/class-core.php:436
68
- msgid "nine"
69
- msgstr "dziewięć"
70
-
71
- #: ../includes/class-core.php:437
72
- msgid "ten"
73
- msgstr "dziesięć"
74
-
75
- #: ../includes/class-core.php:438
76
- msgid "eleven"
77
- msgstr "jedenaście"
78
-
79
- #: ../includes/class-core.php:439
80
- msgid "twelve"
81
- msgstr "dwanaście"
82
-
83
- #: ../includes/class-core.php:440
84
- msgid "thirteen"
85
- msgstr "trzynaście"
86
-
87
- #: ../includes/class-core.php:441
88
- msgid "fourteen"
89
- msgstr "czternaście"
90
-
91
- #: ../includes/class-core.php:442
92
- msgid "fifteen"
93
- msgstr "piętnaście"
94
-
95
- #: ../includes/class-core.php:443
96
- msgid "sixteen"
97
- msgstr "szesnaście"
98
-
99
- #: ../includes/class-core.php:444
100
- msgid "seventeen"
101
- msgstr "siedemnaście"
102
-
103
- #: ../includes/class-core.php:445
104
- msgid "eighteen"
105
- msgstr "osiemnaście"
106
-
107
- #: ../includes/class-core.php:446
108
- msgid "nineteen"
109
- msgstr "dziewiętnaście"
110
-
111
- #: ../includes/class-core.php:447
112
- msgid "twenty"
113
- msgstr "dwadzieścia"
114
-
115
- #: ../includes/class-core.php:448
116
- msgid "thirty"
117
- msgstr "trzydzieści"
118
-
119
- #: ../includes/class-core.php:449
120
- msgid "forty"
121
- msgstr "czterdzieści"
122
-
123
- #: ../includes/class-core.php:450
124
- msgid "fifty"
125
- msgstr "pięćdziesiąt"
126
-
127
- #: ../includes/class-core.php:451
128
- msgid "sixty"
129
- msgstr "sześćdziesiąt"
130
-
131
- #: ../includes/class-core.php:452
132
- msgid "seventy"
133
- msgstr "siedemdziesiąt"
134
-
135
- #: ../includes/class-core.php:453
136
- msgid "eighty"
137
- msgstr "osiemdziesiąt"
138
-
139
- #: ../includes/class-core.php:454
140
- msgid "ninety"
141
- msgstr "dziewięćdziesiąt"
142
-
143
- #: ../includes/class-settings.php:34
144
- msgid "login form"
145
- msgstr "formularz logowania"
146
-
147
- #: ../includes/class-settings.php:35
148
- msgid "registration form"
149
- msgstr "formularz rejestracji"
150
-
151
- #: ../includes/class-settings.php:36
152
- msgid "reset password form"
153
- msgstr "resetowanie hasła"
154
-
155
- #: ../includes/class-settings.php:37
156
- msgid "comment form"
157
- msgstr "komentarze"
158
-
159
- #: ../includes/class-settings.php:38
160
- msgid "bbpress"
161
- msgstr "bbpress"
162
-
163
- #: ../includes/class-settings.php:39
164
- msgid "contact form 7"
165
- msgstr "contact form 7"
166
-
167
- #: ../includes/class-settings.php:43
168
- msgid "addition (+)"
169
- msgstr "dodawanie (+)"
170
-
171
- #: ../includes/class-settings.php:44
172
- msgid "subtraction (-)"
173
- msgstr "odejmowanie (-)"
174
-
175
- #: ../includes/class-settings.php:45
176
- msgid "multiplication (&#215;)"
177
- msgstr "mnożenie (&#215;)"
178
-
179
- #: ../includes/class-settings.php:46
180
- msgid "division (&#247;)"
181
- msgstr "dzielenie (&#247;)"
182
-
183
- #: ../includes/class-settings.php:50
184
- msgid "numbers"
185
- msgstr "liczby"
186
-
187
- #: ../includes/class-settings.php:51
188
- msgid "words"
189
- msgstr "słowa"
190
-
191
- #: ../includes/class-settings.php:62 ../includes/class-settings.php:63
192
- #: ../includes/class-settings.php:78 ../includes/class-settings.php:81
193
- #: ../includes/integration-cf7.php:139
194
- msgid "Math Captcha"
195
- msgstr "Math Captcha"
196
-
197
- #: ../includes/class-settings.php:83
198
- msgid "Need support?"
199
- msgstr "Potrzebujesz pomocy?"
200
-
201
- #: ../includes/class-settings.php:84
202
- msgid ""
203
- "If you are having problems with this plugin, please talk about them in the"
204
- msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o tym na"
205
-
206
- #: ../includes/class-settings.php:84
207
- msgid "Support forum"
208
- msgstr "Forum pomocy"
209
-
210
- #: ../includes/class-settings.php:86
211
- msgid "Do you like this plugin?"
212
- msgstr "Lubisz tę wtyczkę?"
213
-
214
- #: ../includes/class-settings.php:87
215
- msgid "Rate it 5"
216
- msgstr "Oceń na 5"
217
-
218
- #: ../includes/class-settings.php:87
219
- msgid "on WordPress.org"
220
- msgstr "na WordPress.org"
221
-
222
- #: ../includes/class-settings.php:88
223
- msgid "Blog about it & link to the"
224
- msgstr "Napisz o niej i dodaj link do"
225
-
226
- #: ../includes/class-settings.php:88
227
- msgid "plugin page"
228
- msgstr "strony wtyczki"
229
-
230
- #: ../includes/class-settings.php:89
231
- msgid "Check out our other"
232
- msgstr "Sprawdź nasze inne"
233
-
234
- #: ../includes/class-settings.php:89
235
- msgid "WordPress plugins"
236
- msgstr "wtyczki do WordPressa"
237
-
238
- #: ../includes/class-settings.php:114
239
- msgid "Reset to defaults"
240
- msgstr "Resetuj do domyślnych"
241
-
242
- #: ../includes/class-settings.php:132
243
- msgid "Math Captcha settings"
244
- msgstr "Ustawienia Math Captcha"
245
-
246
- #: ../includes/class-settings.php:133
247
- msgid "Enable Math Captcha for"
248
- msgstr "Włącz captcha dla"
249
-
250
- #: ../includes/class-settings.php:134
251
- msgid "Hide for logged in users"
252
- msgstr "Ukryj dla zalogowanych"
253
-
254
- #: ../includes/class-settings.php:135
255
- msgid "Mathematical operations"
256
- msgstr "Operacje matematyczne"
257
-
258
- #: ../includes/class-settings.php:136
259
- msgid "Display captcha as"
260
- msgstr "Wyświetlaj captcha jako"
261
-
262
- #: ../includes/class-settings.php:137
263
- msgid "Captcha field title"
264
- msgstr "Tytuł pola captcha"
265
-
266
- #: ../includes/class-settings.php:138
267
- msgid "Captcha time"
268
- msgstr "Czas captcha"
269
-
270
- #: ../includes/class-settings.php:139
271
- msgid "Block Direct Comments"
272
- msgstr "Blokowanie bezpośrednich komentarzy"
273
-
274
- #: ../includes/class-settings.php:140
275
- msgid "Deactivation"
276
- msgstr "Deaktywacja wtyczki"
277
-
278
- #: ../includes/class-settings.php:161
279
- msgid "Select where you'd like to use Math Captcha."
280
- msgstr "Wybierz w których miejscach chcesz używać Math Captcha."
281
-
282
- #: ../includes/class-settings.php:175
283
- msgid "Enable to hide captcha for logged in users."
284
- msgstr "Włącz aby ukryć captcha dla zalogowanych użytkowników."
285
-
286
- #: ../includes/class-settings.php:177
287
- msgid "Would you like to hide captcha for logged in users?"
288
- msgstr "Chesz ukryć captcha dla zalogowanych użytkowników?"
289
-
290
- #: ../includes/class-settings.php:200
291
- msgid "Select which mathematical operations to use in your captcha."
292
- msgstr ""
293
- "Wybierz jakie rodzaje operacji matematycznych będą stosowane w captcha."
294
-
295
- #: ../includes/class-settings.php:223
296
- msgid "Select how you'd like to display you captcha."
297
- msgstr "Wybierz w jaki sposób chcesz wyświetlać captcha."
298
-
299
- #: ../includes/class-settings.php:239
300
- msgid "How to entitle field with captcha?"
301
- msgstr "Jaki tytuł będzie miało pole z captcha?"
302
-
303
- #: ../includes/class-settings.php:255
304
- msgid "Enter the time (in seconds) a user has to enter captcha value."
305
- msgstr "Podaj czas (w sekundach) w jakim należy uzupełnić pole captcha."
306
-
307
- #: ../includes/class-settings.php:269
308
- msgid "Block direct access to wp-comments-post.php."
309
- msgstr "Blokuj bezpośredni dostęp do wp-comments-post.php."
310
-
311
- #: ../includes/class-settings.php:271
312
- msgid "Enable this to prevent spambots from posting to Wordpress via a URL."
313
- msgstr ""
314
- "Włącz to jeśli chcesz uniemożliwiść spambotom dodawanie komentarzy poprzez "
315
- "URL."
316
-
317
- #: ../includes/class-settings.php:285
318
- msgid "Delete settings on plugin deactivation."
319
- msgstr "Usuń wszystkie dane wtyczki podczas deaktywacji."
320
-
321
- #: ../includes/class-settings.php:287
322
- msgid "Delete settings on plugin deactivation"
323
- msgstr "Usuń dane wtyczki podczas jej deaktywacji"
324
-
325
- #: ../includes/class-settings.php:331
326
- msgid ""
327
- "You need to check at least one mathematical operation. Defaults settings of "
328
- "this option restored."
329
- msgstr ""
330
- "Musisz wybrać przynajmniej jedną operację. Przywrócono domyślne ustawienie "
331
- "tej opcji."
332
-
333
- #: ../includes/class-settings.php:350
334
- msgid ""
335
- "You need to check at least one group. Defaults settings of this option "
336
- "restored."
337
- msgstr ""
338
- "Musisz wybrać przynajmniej jedną grupę. Przywrócono domyślne ustawienie tej "
339
- "opcji."
340
-
341
- #: ../includes/class-settings.php:387
342
- msgid "Settings restored to defaults."
343
- msgstr "Ustawienia zostały przywrócone do domyślnych."
344
-
345
- #: ../includes/integration-cf7.php:151
346
- msgid "Name"
347
- msgstr "Nazwa"
348
-
349
- #: ../includes/integration-cf7.php:157
350
- msgid "Input field settings"
351
- msgstr "Ustawienia pola"
352
-
353
- #: ../includes/integration-cf7.php:160 ../includes/integration-cf7.php:164
354
- msgid "optional"
355
- msgstr "opcjonalne"
356
-
357
- #: ../includes/integration-cf7.php:170
358
- msgid "Copy this code and paste it into the form left."
359
- msgstr "Skopij i wkej ten kod do formularza po lewej."
360
-
361
- #: ../wp-math-captcha.php:167
362
- msgid "Are you sure you want to reset these settings to defaults?"
363
- msgstr "Jesteś pewny, że chcesz przywrócić te ustawienia do domyślnych?"
364
-
365
- #: ../wp-math-captcha.php:202
366
- msgid "Support"
367
- msgstr "Forum pomocy"
368
-
369
- #: ../wp-math-captcha.php:224
370
- msgid "Settings"
371
- msgstr "Ustawienia"
372
-
373
- #~ msgid ""
374
- #~ "Blocks direct access to wp-comments-post.php. Enable this to prevent "
375
- #~ "spambots from posting to Wordpress via a URL."
376
- #~ msgstr ""
377
- #~ "To ustawienie blokuje bezpośredni dostęp do pliku wp-comments-post.php. "
378
- #~ "Włącz to jeśli chcesz uniemożliwiść spambotom dodawanie komentarzy "
379
- #~ "poprzez URL."
380
-
381
- #~ msgid "yes"
382
- #~ msgstr "tak"
383
-
384
- #~ msgid "no"
385
- #~ msgstr "nie"
386
-
387
- #~ msgid ""
388
- #~ "Select what kind of mathematical operations will be used to generate "
389
- #~ "captcha."
390
- #~ msgstr ""
391
- #~ "Wybierz jakie rodzaje operacji matematycznych będą stosowane w captcha."
392
-
393
- #~ msgid "Created by"
394
- #~ msgstr "Stworzone przez"
395
-
396
- #~ msgid "form top"
397
- #~ msgstr "na górze formularza"
398
-
399
- #~ msgid "before form fields"
400
- #~ msgstr "przed polami formularza"
401
-
402
- #~ msgid "form bottom"
403
- #~ msgstr "na dole formularza"
404
-
405
- #~ msgid "after form"
406
- #~ msgstr "po formularzu"
407
-
408
- #~ msgid "WordPress default"
409
- #~ msgstr "Domyślny WordPressa"
410
-
411
- #~ msgid "Bootstrap"
412
- #~ msgstr "Bootstrap"
413
-
414
- #~ msgid "do not hide"
415
- #~ msgstr "nie ukrywaj"
416
-
417
- #~ msgid "1 second"
418
- #~ msgstr "1 sekunda"
419
-
420
- #~ msgid "2 seconds"
421
- #~ msgstr "2 sekundy"
422
-
423
- #~ msgid "3 seconds"
424
- #~ msgstr "3 sekundy"
425
-
426
- #~ msgid "5 seconds"
427
- #~ msgstr "5 sekund"
428
-
429
- #~ msgid "10 seconds"
430
- #~ msgstr "10 sekund"
431
-
432
- #~ msgid "fade"
433
- #~ msgstr "zanikanie"
434
-
435
- #~ msgid "slide"
436
- #~ msgstr "zjeżdżanie"
437
-
438
- #~ msgid "approved"
439
- #~ msgstr "zatwierdzone"
440
-
441
- #~ msgid "unapproved"
442
- #~ msgstr "niezatwierdzone"
443
-
444
- #~ msgid "trash"
445
- #~ msgstr "w koszu"
446
-
447
- #~ msgid "spam"
448
- #~ msgstr "spam"
449
-
450
- #~ msgid "Inline Edit"
451
- #~ msgstr "Edycja"
452
-
453
- #~ msgid "Messages"
454
- #~ msgstr "Komunikaty"
455
-
456
- #~ msgid "Edit"
457
- #~ msgstr "Edytuj"
458
-
459
- #~ msgid "Save"
460
- #~ msgstr "Zapisz"
461
-
462
- #~ msgid "Cancel"
463
- #~ msgstr "Anuluj"
464
-
465
- #~ msgid "Time remaining"
466
- #~ msgstr "Pozostały czas"
467
-
468
- #~ msgid "Delete"
469
- #~ msgstr "Usuń"
470
-
471
- #~ msgid "Unapprove"
472
- #~ msgstr "Odrzuć"
473
-
474
- #~ msgid "Spam"
475
- #~ msgstr "Oznacz jako spam"
476
-
477
- #~ msgid "Trash"
478
- #~ msgstr "Kosz"
479
-
480
- #~ msgid "Approve"
481
- #~ msgstr "Zatwierdź"
482
-
483
- #~ msgid "Restore"
484
- #~ msgstr "Przywróć"
485
-
486
- #~ msgid "Unspam"
487
- #~ msgstr "Odznacz spam"
488
-
489
- #~ msgid "Comments statuses"
490
- #~ msgstr "Statusy komentarzy"
491
-
492
- #~ msgid "Comment Edit Timer"
493
- #~ msgstr "Edycja komentarza"
494
-
495
- #~ msgid "Editing time"
496
- #~ msgstr "Czas edycji"
497
-
498
- #~ msgid "Delete permanently button"
499
- #~ msgstr "Przycisk Usuń"
500
-
501
- #~ msgid "Edit comment effect"
502
- #~ msgstr "Efekt przy edycji komentarza"
503
-
504
- #~ msgid "CSS style"
505
- #~ msgstr "Styl CSS"
506
-
507
- #~ msgid "Show on hover"
508
- #~ msgstr "Pokaż po najechaniu"
509
-
510
- #~ msgid "Highlight comments"
511
- #~ msgstr "Podświetlanie komentarzy"
512
-
513
- #~ msgid "Highlight colors"
514
- #~ msgstr "Kolory podświetlenia"
515
-
516
- #~ msgid "Messages Settings"
517
- #~ msgstr "Ustawienia komunikatów"
518
-
519
- #~ msgid "Message box position for logged in users"
520
- #~ msgstr "Pozycja pola z komunikatami dla zalogowanych użytkowników"
521
-
522
- #~ msgid "Message box position for logged out users"
523
- #~ msgstr "Pozycja pola z komunikatami dla niezalogowanych użytkowników"
524
-
525
- #~ msgid "Show message effect"
526
- #~ msgstr "Efekt wyświetlania komunikatów"
527
-
528
- #~ msgid "Hide message effect"
529
- #~ msgstr "Efekt ukrywania komunikatów"
530
-
531
- #~ msgid "Hide message after"
532
- #~ msgstr "Ukrywanie komunikatów po"
533
-
534
- #~ msgid ""
535
- #~ "Comment timer allows users to edit their comments for specified time."
536
- #~ msgstr ""
537
- #~ "Stoper komentarza pozwala użytkownikom na edycję ich komentarzy przez "
538
- #~ "określony czas."
539
-
540
- #~ msgid "How much time (in minutes) a user has to edit a published comment"
541
- #~ msgstr ""
542
- #~ "Jak długo (w minutach) użtkownik może edytować opublikowany komentarz"
543
-
544
- #~ msgid "Pick highlight colors for specific comment statuses"
545
- #~ msgstr "Wybierz kolory podświetlenia określonych statusów komentarzy"
546
-
547
- #~ msgid "Highlight comments with specific colors"
548
- #~ msgstr "Podświetl komentarze określonym kolorem"
549
-
550
- #~ msgid "Show inline edit actions only on hovering over a comment"
551
- #~ msgstr "Wyświetl przyciski tylko po najechaniu myszką na komentarz"
552
-
553
- #~ msgid ""
554
- #~ "Select comments of which statuses will be available for moderation on the "
555
- #~ "front-end of your site"
556
- #~ msgstr ""
557
- #~ "Wybierz statusy komentarzy, które będą dostępne do moderacji na stronie"
558
-
559
- #~ msgid ""
560
- #~ "This will add Delete to edit buttons that allows you to permanently "
561
- #~ "delete comments"
562
- #~ msgstr ""
563
- #~ "Zostanie dodany przycisk Usuń do przycików edycji, który umożliwia trwałe "
564
- #~ "usunięcie komentarzy"
565
-
566
- #~ msgid "Select animation for showing messages"
567
- #~ msgstr "Wybierz animację przy wyświetlaniu komunikatów"
568
-
569
- #~ msgid "Select animation for hiding messages"
570
- #~ msgstr "Wybierz animację przy ukrywaniu komunikatów"
571
-
572
- #~ msgid "Select animation effect for edit comment"
573
- #~ msgstr "Wybierz animację przy edycji komentarza"
574
-
575
- #~ msgid "Choose your message box style"
576
- #~ msgstr "Wybierz styl dla pola z komunikatami"
577
-
578
- #~ msgid "Select style for Inline Edit buttons"
579
- #~ msgstr "Wybierz styl dla przycisków edycji"
580
-
581
- #~ msgid "Select for how long message box should be displayed"
582
- #~ msgstr "Wybierz przez jaki czas ma być wyświetlany komunikat"
583
-
584
- #~ msgid "Select message box position for logged in users"
585
- #~ msgstr "Wybierz pozycję pola z komunikatami dla zalogowanych użytkowników"
586
-
587
- #~ msgid "Select message box position for logged out users"
588
- #~ msgstr ""
589
- #~ "Wybierz pozycję pola z komunikatami dla niezalogowanych użytkowników"
590
-
591
- #~ msgid "Ajaxed Comments"
592
- #~ msgstr "Komentarze Ajax"
593
-
594
- #~ msgid "Ajaxed Comments Settings"
595
- #~ msgstr "Ustawienia komentarzy Ajax"
596
-
597
- #~ msgid "Error has occurred. Please try again later or reload a page."
598
- #~ msgstr ""
599
- #~ "Wystąpił nieznany błąd. Proszę spróbować później lub odświeżyć stronę."
600
-
601
- #~ msgid "Comment is empty."
602
- #~ msgstr "Komentarz jest pusty."
603
-
604
- #~ msgid "Unknown error has occurred."
605
- #~ msgstr "Wystąpił nieznany błąd."
606
-
607
- #~ msgid "Widgets"
608
- #~ msgstr "Widgety"
609
-
610
- #~ msgid "Custom Post Types"
611
- #~ msgstr "Własne typy wpisów"
612
-
613
- #~ msgid "Custom Post Type Archives"
614
- #~ msgstr "Archiwa własnych typów wpisów"
615
-
616
- #~ msgid "Categories"
617
- #~ msgstr "Kategorie"
618
-
619
- #~ msgid "Taxonomies"
620
- #~ msgstr "Taksonomie"
621
-
622
- #~ msgid "Others"
623
- #~ msgstr "Inne"
624
-
625
- #~ msgid "Users"
626
- #~ msgstr "Użytkownicy"
627
-
628
- #~ msgid "Languages"
629
- #~ msgstr "Języki"
630
-
631
- #~ msgid "Front Page"
632
- #~ msgstr "Strona główna"
633
-
634
- #~ msgid "Blog Page"
635
- #~ msgstr "Strona z wpisami"
636
-
637
- #~ msgid "Single Posts"
638
- #~ msgstr "Pojedyncze wpisy"
639
-
640
- #~ msgid "Sticky Posts"
641
- #~ msgstr "Wpisy przyklejone"
642
-
643
- #~ msgid "Author Archive"
644
- #~ msgstr "Archiwum autora"
645
-
646
- #~ msgid "Date Archive"
647
- #~ msgstr "Archiwum daty"
648
-
649
- #~ msgid "404 Page"
650
- #~ msgstr "Strona błędów 404"
651
-
652
- #~ msgid "Search Page"
653
- #~ msgstr "Strona wyszukiwania"
654
-
655
- #~ msgid "Logged out users"
656
- #~ msgstr "Wylogowani użytkownicy"
657
-
658
- #~ msgid "Restrict widgets"
659
- #~ msgstr "Ograniczenia widgetów"
660
-
661
- #~ msgid ""
662
- #~ "Use this settings to manage access to widgets page and to restrict "
663
- #~ "availability of certain widgets, sidebars and widgets options to site "
664
- #~ "administrators only."
665
- #~ msgstr ""
666
- #~ "Użyj tych ustawień aby określić kto może mieć dostęp do widgetów, jakie "
667
- #~ "widgety, panele boczne i ustawienia widgetów są dostępne dla użytkowników "
668
- #~ "a jakie tylko dla administratorów."
669
-
670
- #~ msgid "Restrict Users"
671
- #~ msgstr "Ograniczenia użytkowników"
672
-
673
- #~ msgid "Select user roles restricted to manage widgets."
674
- #~ msgstr "Wybierz role użytkowników, którzy mogą zarządzać widgetami."
675
-
676
- #~ msgid "Restrict Sidebars"
677
- #~ msgstr "Ograniczenia paneli bocznych"
678
-
679
- #~ msgid "Select which sidebars will be restricted to admins only."
680
- #~ msgstr ""
681
- #~ "Wybierz panele boczne, które będą dostępne tylko dla administratorów."
682
-
683
- #~ msgid "Restrict Widgets"
684
- #~ msgstr "Ograniczenia widgetów"
685
-
686
- #~ msgid "Select which widgets will be restricted to admins only."
687
- #~ msgstr "Wybierz widgety, któe będą dostępne tylko dla administratorów."
688
-
689
- #~ msgid "Restrict Widget Options"
690
- #~ msgstr "Ograniczenia opcji widgetów"
691
-
692
- #~ msgid "Select which widget options will be restricted to admins only."
693
- #~ msgstr ""
694
- #~ "Wybierz które opcje widgetów, będą dostępne tylko dla administratorów."
695
-
696
- #~ msgid "Restrict Option Groups"
697
- #~ msgstr "Ograniczenia grup opcji"
698
-
699
- #~ msgid "Display widget options in groups"
700
- #~ msgstr "Wyświetl opcje widgetów w grupach"
701
-
702
- #~ msgid "Single %s"
703
- #~ msgstr "Pojedyncze %s"
704
-
705
- #~ msgid "%s Archive"
706
- #~ msgstr "Archiwum %s"
707
-
708
- #~ msgid "Display / Hide Widget"
709
- #~ msgstr "Wyświetl / Ukryj widget"
710
-
711
- #~ msgid "Display widget on selected"
712
- #~ msgstr "Wyświetl widget na wybranych stronach"
713
-
714
- #~ msgid "Hide widget on selected"
715
- #~ msgstr "Ukryj widget na wybranych stronach"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Math Captcha\n"
4
+ "POT-Creation-Date: 2013-06-13 20:00+0100\n"
5
+ "PO-Revision-Date: 2013-06-13 20:09+0100\n"
6
+ "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
+ "Language-Team: dFactory <info@dfactory.eu>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.5\n"
13
+ "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../math-captcha.php:70 ../math-captcha.php:71 ../math-captcha.php:72
19
+ msgid "ERROR"
20
+ msgstr "BŁĄD"
21
+
22
+ #: ../math-captcha.php:70 ../includes/math-captcha-cf7.php:104
23
+ msgid "Please enter captcha value."
24
+ msgstr "Proszę wpisać wartość."
25
+
26
+ #: ../math-captcha.php:71 ../includes/math-captcha-cf7.php:100
27
+ msgid "Invalid captcha value."
28
+ msgstr "Nieprawidłowa wartość."
29
+
30
+ #: ../math-captcha.php:72 ../includes/math-captcha-cf7.php:108
31
+ msgid "Captcha time expired."
32
+ msgstr "Upłynął czas."
33
+
34
+ #: ../math-captcha.php:503
35
+ msgid "one"
36
+ msgstr "jeden"
37
+
38
+ #: ../math-captcha.php:504
39
+ msgid "two"
40
+ msgstr "dwa"
41
+
42
+ #: ../math-captcha.php:505
43
+ msgid "three"
44
+ msgstr "trzy"
45
+
46
+ #: ../math-captcha.php:506
47
+ msgid "four"
48
+ msgstr "cztery"
49
+
50
+ #: ../math-captcha.php:507
51
+ msgid "five"
52
+ msgstr "pięć"
53
+
54
+ #: ../math-captcha.php:508
55
+ msgid "six"
56
+ msgstr "sześć"
57
+
58
+ #: ../math-captcha.php:509
59
+ msgid "seven"
60
+ msgstr "siedem"
61
+
62
+ #: ../math-captcha.php:510
63
+ msgid "eight"
64
+ msgstr "osiem"
65
+
66
+ #: ../math-captcha.php:511
67
+ msgid "nine"
68
+ msgstr "dziewięć"
69
+
70
+ #: ../math-captcha.php:512
71
+ msgid "ten"
72
+ msgstr "dziesięć"
73
+
74
+ #: ../math-captcha.php:513
75
+ msgid "eleven"
76
+ msgstr "jedenaście"
77
+
78
+ #: ../math-captcha.php:514
79
+ msgid "twelve"
80
+ msgstr "dwanaście"
81
+
82
+ #: ../math-captcha.php:515
83
+ msgid "thirteen"
84
+ msgstr "trzynaście"
85
+
86
+ #: ../math-captcha.php:516
87
+ msgid "fourteen"
88
+ msgstr "czternaście"
89
+
90
+ #: ../math-captcha.php:517
91
+ msgid "fifteen"
92
+ msgstr "piętnaście"
93
+
94
+ #: ../math-captcha.php:518
95
+ msgid "sixteen"
96
+ msgstr "szesnaście"
97
+
98
+ #: ../math-captcha.php:519
99
+ msgid "seventeen"
100
+ msgstr "siedemnaście"
101
+
102
+ #: ../math-captcha.php:520
103
+ msgid "eighteen"
104
+ msgstr "osiemnaście"
105
+
106
+ #: ../math-captcha.php:521
107
+ msgid "nineteen"
108
+ msgstr "dziewiętnaście"
109
+
110
+ #: ../math-captcha.php:522
111
+ msgid "twenty"
112
+ msgstr "dwadzieścia"
113
+
114
+ #: ../math-captcha.php:523
115
+ msgid "thirty"
116
+ msgstr "trzydzieści"
117
+
118
+ #: ../math-captcha.php:524
119
+ msgid "forty"
120
+ msgstr "czterdzieści"
121
+
122
+ #: ../math-captcha.php:525
123
+ msgid "fifty"
124
+ msgstr "pięćdziesiąt"
125
+
126
+ #: ../math-captcha.php:526
127
+ msgid "sixty"
128
+ msgstr "sześćdziesiąt"
129
+
130
+ #: ../math-captcha.php:527
131
+ msgid "seventy"
132
+ msgstr "siedemdziesiąt"
133
+
134
+ #: ../math-captcha.php:528
135
+ msgid "eighty"
136
+ msgstr "osiemdziesiąt"
137
+
138
+ #: ../math-captcha.php:529
139
+ msgid "ninety"
140
+ msgstr "dziewięćdziesiąt"
141
+
142
+ #: ../math-captcha.php:824
143
+ msgid "login form"
144
+ msgstr "formularz logowania"
145
+
146
+ #: ../math-captcha.php:825
147
+ msgid "registration form"
148
+ msgstr "formularz rejestracji"
149
+
150
+ #: ../math-captcha.php:826
151
+ msgid "reset password form"
152
+ msgstr "resetowanie hasła"
153
+
154
+ #: ../math-captcha.php:827
155
+ msgid "comment form"
156
+ msgstr "komentarze"
157
+
158
+ #: ../math-captcha.php:828
159
+ msgid "bbpress"
160
+ msgstr "bbpress"
161
+
162
+ #: ../math-captcha.php:829
163
+ msgid "contact form 7"
164
+ msgstr "contact form 7"
165
+
166
+ #: ../math-captcha.php:832
167
+ msgid "yes"
168
+ msgstr "tak"
169
+
170
+ #: ../math-captcha.php:833
171
+ msgid "no"
172
+ msgstr "nie"
173
+
174
+ #: ../math-captcha.php:836
175
+ msgid "addition (+)"
176
+ msgstr "dodawanie (+)"
177
+
178
+ #: ../math-captcha.php:837
179
+ msgid "subtraction (-)"
180
+ msgstr "odejmowanie (-)"
181
+
182
+ #: ../math-captcha.php:838
183
+ msgid "multiplication (&#215;)"
184
+ msgstr "mnożenie (&#215;)"
185
+
186
+ #: ../math-captcha.php:839
187
+ msgid "division (&#247;)"
188
+ msgstr "dzielenie (&#247;)"
189
+
190
+ #: ../math-captcha.php:842
191
+ msgid "numbers"
192
+ msgstr "liczby"
193
+
194
+ #: ../math-captcha.php:843
195
+ msgid "words"
196
+ msgstr "słowa"
197
+
198
+ #: ../math-captcha.php:852
199
+ msgid "Math Captcha settings"
200
+ msgstr "Ustawienia Math Captcha"
201
+
202
+ #: ../math-captcha.php:853
203
+ msgid "Enable Math Captcha for"
204
+ msgstr "Włącz captcha dla"
205
+
206
+ #: ../math-captcha.php:854
207
+ msgid "Hide for logged in users"
208
+ msgstr "Ukryj dla zalogowanych"
209
+
210
+ #: ../math-captcha.php:855
211
+ msgid "Mathematical operations"
212
+ msgstr "Operacje matematyczne"
213
+
214
+ #: ../math-captcha.php:856
215
+ msgid "Display captcha as"
216
+ msgstr "Wyśiwtlaj captcha jako"
217
+
218
+ #: ../math-captcha.php:857
219
+ msgid "Captcha field title"
220
+ msgstr "Tytuł pola captcha"
221
+
222
+ #: ../math-captcha.php:858
223
+ msgid "Captcha time"
224
+ msgstr "Czas captcha"
225
+
226
+ #: ../math-captcha.php:875
227
+ msgid "Select were would you like to use Math Captcha."
228
+ msgstr "Wybierz w których miejscach chcesz używać Math Captcha"
229
+
230
+ #: ../math-captcha.php:893
231
+ msgid "Would you like to hide captcha for logged in users?"
232
+ msgstr "Czy chcesz ukryć captcha dla zalogowanych użytkowników?"
233
+
234
+ #: ../math-captcha.php:903
235
+ msgid ""
236
+ "Select what kind of mathematical operation will be used to generate captcha."
237
+ msgstr ""
238
+ "Wybierz jakie rodzaje operacji matematycznych będą stosowane w captcha."
239
+
240
+ #: ../math-captcha.php:913
241
+ msgid "Enter the time (in seconds) a user has to enter captcha value."
242
+ msgstr "Podaj czas (w sekundach) w jakim należy uzupełnić pole captcha."
243
+
244
+ #: ../math-captcha.php:931 ../math-captcha.php:949
245
+ msgid "Opis"
246
+ msgstr ""
247
+
248
+ #: ../math-captcha.php:991
249
+ msgid ""
250
+ "You need to check at least one mathematical operation. Defaults settings of "
251
+ "this option restored."
252
+ msgstr ""
253
+ "Musisz wybrać przynajmniej jedną operację. Przywrócono domyślne ustawienie "
254
+ "tej opcji."
255
+
256
+ #: ../math-captcha.php:1007
257
+ msgid ""
258
+ "You need to check at least one group. Defaults settings of this option "
259
+ "restored."
260
+ msgstr ""
261
+ "Musisz wybrać przynajmniej jedną grupę. Przywrócono domyślne ustawienie tej "
262
+ "opcji."
263
+
264
+ #: ../math-captcha.php:1034 ../math-captcha.php:1035 ../math-captcha.php:1047
265
+ #: ../math-captcha.php:1060 ../includes/math-captcha-cf7.php:139
266
+ msgid "Math Captcha"
267
+ msgstr "Math Captcha"
268
+
269
+ #: ../math-captcha.php:1062
270
+ msgid "Need support?"
271
+ msgstr "Potrzebujesz pomocy?"
272
+
273
+ #: ../math-captcha.php:1063
274
+ msgid ""
275
+ "If you are having problems with this plugin, please talk about them in the"
276
+ msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o tym na"
277
+
278
+ #: ../math-captcha.php:1063
279
+ msgid "Support forum"
280
+ msgstr "Forum pomocy"
281
+
282
+ #: ../math-captcha.php:1065
283
+ msgid "Do you like this plugin?"
284
+ msgstr "Lubisz wtyczkę?"
285
+
286
+ #: ../math-captcha.php:1066
287
+ msgid "Rate it 5"
288
+ msgstr "Oceń na 5"
289
+
290
+ #: ../math-captcha.php:1066
291
+ msgid "on WordPress.org"
292
+ msgstr "na WordPress.org"
293
+
294
+ #: ../math-captcha.php:1067
295
+ msgid "Blog about it & link to the"
296
+ msgstr "Napisz o niej i dodaj link do"
297
+
298
+ #: ../math-captcha.php:1067
299
+ msgid "plugin page"
300
+ msgstr "strony wtyczki"
301
+
302
+ #: ../math-captcha.php:1068
303
+ msgid "Check out our other"
304
+ msgstr "Sprawdź nasze inne"
305
+
306
+ #: ../math-captcha.php:1068
307
+ msgid "WordPress plugins"
308
+ msgstr "wtyczki do WordPressa"
309
+
310
+ #: ../math-captcha.php:1071
311
+ msgid "Created by"
312
+ msgstr "Stworzone przez"
313
+
314
+ #: ../math-captcha.php:1132
315
+ msgid "Support"
316
+ msgstr "Forum pomocy"
317
+
318
+ #: ../math-captcha.php:1154
319
+ msgid "Settings"
320
+ msgstr "Ustawienia"
321
+
322
+ #: ../includes/math-captcha-cf7.php:151
323
+ msgid "Name"
324
+ msgstr "Nazwa"
325
+
326
+ #: ../includes/math-captcha-cf7.php:157
327
+ msgid "Input field settings"
328
+ msgstr "Ustawienia pola"
329
+
330
+ #: ../includes/math-captcha-cf7.php:160 ../includes/math-captcha-cf7.php:164
331
+ msgid "optional"
332
+ msgstr "opcjonalne"
333
+
334
+ #: ../includes/math-captcha-cf7.php:170
335
+ msgid "Copy this code and paste it into the form left."
336
+ msgstr "Skopij i wkej ten kod do formularza po lewej."
337
+
338
+ #~ msgid "form top"
339
+ #~ msgstr "na górze formularza"
340
+
341
+ #~ msgid "before form fields"
342
+ #~ msgstr "przed polami formularza"
343
+
344
+ #~ msgid "form bottom"
345
+ #~ msgstr "na dole formularza"
346
+
347
+ #~ msgid "after form"
348
+ #~ msgstr "po formularzu"
349
+
350
+ #~ msgid "WordPress default"
351
+ #~ msgstr "Domyślny WordPressa"
352
+
353
+ #~ msgid "Bootstrap"
354
+ #~ msgstr "Bootstrap"
355
+
356
+ #~ msgid "do not hide"
357
+ #~ msgstr "nie ukrywaj"
358
+
359
+ #~ msgid "1 second"
360
+ #~ msgstr "1 sekunda"
361
+
362
+ #~ msgid "2 seconds"
363
+ #~ msgstr "2 sekundy"
364
+
365
+ #~ msgid "3 seconds"
366
+ #~ msgstr "3 sekundy"
367
+
368
+ #~ msgid "5 seconds"
369
+ #~ msgstr "5 sekund"
370
+
371
+ #~ msgid "10 seconds"
372
+ #~ msgstr "10 sekund"
373
+
374
+ #~ msgid "fade"
375
+ #~ msgstr "zanikanie"
376
+
377
+ #~ msgid "slide"
378
+ #~ msgstr "zjeżdżanie"
379
+
380
+ #~ msgid "approved"
381
+ #~ msgstr "zatwierdzone"
382
+
383
+ #~ msgid "unapproved"
384
+ #~ msgstr "niezatwierdzone"
385
+
386
+ #~ msgid "trash"
387
+ #~ msgstr "w koszu"
388
+
389
+ #~ msgid "spam"
390
+ #~ msgstr "spam"
391
+
392
+ #~ msgid "Inline Edit"
393
+ #~ msgstr "Edycja"
394
+
395
+ #~ msgid "Messages"
396
+ #~ msgstr "Komunikaty"
397
+
398
+ #~ msgid "Edit"
399
+ #~ msgstr "Edytuj"
400
+
401
+ #~ msgid "Save"
402
+ #~ msgstr "Zapisz"
403
+
404
+ #~ msgid "Cancel"
405
+ #~ msgstr "Anuluj"
406
+
407
+ #~ msgid "Time remaining"
408
+ #~ msgstr "Pozostały czas"
409
+
410
+ #~ msgid "Delete"
411
+ #~ msgstr "Usuń"
412
+
413
+ #~ msgid "Unapprove"
414
+ #~ msgstr "Odrzuć"
415
+
416
+ #~ msgid "Spam"
417
+ #~ msgstr "Oznacz jako spam"
418
+
419
+ #~ msgid "Trash"
420
+ #~ msgstr "Kosz"
421
+
422
+ #~ msgid "Approve"
423
+ #~ msgstr "Zatwierdź"
424
+
425
+ #~ msgid "Restore"
426
+ #~ msgstr "Przywróć"
427
+
428
+ #~ msgid "Unspam"
429
+ #~ msgstr "Odznacz spam"
430
+
431
+ #~ msgid "Comments statuses"
432
+ #~ msgstr "Statusy komentarzy"
433
+
434
+ #~ msgid "Comment Edit Timer"
435
+ #~ msgstr "Edycja komentarza"
436
+
437
+ #~ msgid "Editing time"
438
+ #~ msgstr "Czas edycji"
439
+
440
+ #~ msgid "Delete permanently button"
441
+ #~ msgstr "Przycisk Usuń"
442
+
443
+ #~ msgid "Edit comment effect"
444
+ #~ msgstr "Efekt przy edycji komentarza"
445
+
446
+ #~ msgid "CSS style"
447
+ #~ msgstr "Styl CSS"
448
+
449
+ #~ msgid "Show on hover"
450
+ #~ msgstr "Pokaż po najechaniu"
451
+
452
+ #~ msgid "Highlight comments"
453
+ #~ msgstr "Podświetlanie komentarzy"
454
+
455
+ #~ msgid "Highlight colors"
456
+ #~ msgstr "Kolory podświetlenia"
457
+
458
+ #~ msgid "Messages Settings"
459
+ #~ msgstr "Ustawienia komunikatów"
460
+
461
+ #~ msgid "Message box position for logged in users"
462
+ #~ msgstr "Pozycja pola z komunikatami dla zalogowanych użytkowników"
463
+
464
+ #~ msgid "Message box position for logged out users"
465
+ #~ msgstr "Pozycja pola z komunikatami dla niezalogowanych użytkowników"
466
+
467
+ #~ msgid "Show message effect"
468
+ #~ msgstr "Efekt wyświetlania komunikatów"
469
+
470
+ #~ msgid "Hide message effect"
471
+ #~ msgstr "Efekt ukrywania komunikatów"
472
+
473
+ #~ msgid "Hide message after"
474
+ #~ msgstr "Ukrywanie komunikatów po"
475
+
476
+ #~ msgid ""
477
+ #~ "Comment timer allows users to edit their comments for specified time."
478
+ #~ msgstr ""
479
+ #~ "Stoper komentarza pozwala użytkownikom na edycję ich komentarzy przez "
480
+ #~ "określony czas."
481
+
482
+ #~ msgid "How much time (in minutes) a user has to edit a published comment"
483
+ #~ msgstr ""
484
+ #~ "Jak długo (w minutach) użtkownik może edytować opublikowany komentarz"
485
+
486
+ #~ msgid "Pick highlight colors for specific comment statuses"
487
+ #~ msgstr "Wybierz kolory podświetlenia określonych statusów komentarzy"
488
+
489
+ #~ msgid "Highlight comments with specific colors"
490
+ #~ msgstr "Podświetl komentarze określonym kolorem"
491
+
492
+ #~ msgid "Show inline edit actions only on hovering over a comment"
493
+ #~ msgstr "Wyświetl przyciski tylko po najechaniu myszką na komentarz"
494
+
495
+ #~ msgid ""
496
+ #~ "Select comments of which statuses will be available for moderation on the "
497
+ #~ "front-end of your site"
498
+ #~ msgstr ""
499
+ #~ "Wybierz statusy komentarzy, które będą dostępne do moderacji na stronie"
500
+
501
+ #~ msgid ""
502
+ #~ "This will add Delete to edit buttons that allows you to permanently "
503
+ #~ "delete comments"
504
+ #~ msgstr ""
505
+ #~ "Zostanie dodany przycisk Usuń do przycików edycji, który umożliwia trwałe "
506
+ #~ "usunięcie komentarzy"
507
+
508
+ #~ msgid "Select animation for showing messages"
509
+ #~ msgstr "Wybierz animację przy wyświetlaniu komunikatów"
510
+
511
+ #~ msgid "Select animation for hiding messages"
512
+ #~ msgstr "Wybierz animację przy ukrywaniu komunikatów"
513
+
514
+ #~ msgid "Select animation effect for edit comment"
515
+ #~ msgstr "Wybierz animację przy edycji komentarza"
516
+
517
+ #~ msgid "Choose your message box style"
518
+ #~ msgstr "Wybierz styl dla pola z komunikatami"
519
+
520
+ #~ msgid "Select style for Inline Edit buttons"
521
+ #~ msgstr "Wybierz styl dla przycisków edycji"
522
+
523
+ #~ msgid "Select for how long message box should be displayed"
524
+ #~ msgstr "Wybierz przez jaki czas ma być wyświetlany komunikat"
525
+
526
+ #~ msgid "Select message box position for logged in users"
527
+ #~ msgstr "Wybierz pozycję pola z komunikatami dla zalogowanych użytkowników"
528
+
529
+ #~ msgid "Select message box position for logged out users"
530
+ #~ msgstr ""
531
+ #~ "Wybierz pozycję pola z komunikatami dla niezalogowanych użytkowników"
532
+
533
+ #~ msgid "Ajaxed Comments"
534
+ #~ msgstr "Komentarze Ajax"
535
+
536
+ #~ msgid "Ajaxed Comments Settings"
537
+ #~ msgstr "Ustawienia komentarzy Ajax"
538
+
539
+ #~ msgid "Error has occurred. Please try again later or reload a page."
540
+ #~ msgstr ""
541
+ #~ "Wystąpił nieznany błąd. Proszę spróbować później lub odświeżyć stronę."
542
+
543
+ #~ msgid "Comment is empty."
544
+ #~ msgstr "Komentarz jest pusty."
545
+
546
+ #~ msgid "Are you sure you want to delete this comment?"
547
+ #~ msgstr "Jesteś pewny, że chcesz usunąć ten komentarz."
548
+
549
+ #~ msgid "Unknown error has occurred."
550
+ #~ msgstr "Wystąpił nieznany błąd."
551
+
552
+ #~ msgid "Widgets"
553
+ #~ msgstr "Widgety"
554
+
555
+ #~ msgid "Custom Post Types"
556
+ #~ msgstr "Własne typy wpisów"
557
+
558
+ #~ msgid "Custom Post Type Archives"
559
+ #~ msgstr "Archiwa własnych typów wpisów"
560
+
561
+ #~ msgid "Categories"
562
+ #~ msgstr "Kategorie"
563
+
564
+ #~ msgid "Taxonomies"
565
+ #~ msgstr "Taksonomie"
566
+
567
+ #~ msgid "Others"
568
+ #~ msgstr "Inne"
569
+
570
+ #~ msgid "Users"
571
+ #~ msgstr "Użytkownicy"
572
+
573
+ #~ msgid "Languages"
574
+ #~ msgstr "Języki"
575
+
576
+ #~ msgid "Front Page"
577
+ #~ msgstr "Strona główna"
578
+
579
+ #~ msgid "Blog Page"
580
+ #~ msgstr "Strona z wpisami"
581
+
582
+ #~ msgid "Single Posts"
583
+ #~ msgstr "Pojedyncze wpisy"
584
+
585
+ #~ msgid "Sticky Posts"
586
+ #~ msgstr "Wpisy przyklejone"
587
+
588
+ #~ msgid "Author Archive"
589
+ #~ msgstr "Archiwum autora"
590
+
591
+ #~ msgid "Date Archive"
592
+ #~ msgstr "Archiwum daty"
593
+
594
+ #~ msgid "404 Page"
595
+ #~ msgstr "Strona błędów 404"
596
+
597
+ #~ msgid "Search Page"
598
+ #~ msgstr "Strona wyszukiwania"
599
+
600
+ #~ msgid "Logged out users"
601
+ #~ msgstr "Wylogowani użytkownicy"
602
+
603
+ #~ msgid "Restrict widgets"
604
+ #~ msgstr "Ograniczenia widgetów"
605
+
606
+ #~ msgid ""
607
+ #~ "Use this settings to manage access to widgets page and to restrict "
608
+ #~ "availability of certain widgets, sidebars and widgets options to site "
609
+ #~ "administrators only."
610
+ #~ msgstr ""
611
+ #~ "Użyj tych ustawień aby określić kto może mieć dostęp do widgetów, jakie "
612
+ #~ "widgety, panele boczne i ustawienia widgetów są dostępne dla użytkowników "
613
+ #~ "a jakie tylko dla administratorów."
614
+
615
+ #~ msgid "Restrict Users"
616
+ #~ msgstr "Ograniczenia użytkowników"
617
+
618
+ #~ msgid "Select user roles restricted to manage widgets."
619
+ #~ msgstr "Wybierz role użytkowników, którzy mogą zarządzać widgetami."
620
+
621
+ #~ msgid "Restrict Sidebars"
622
+ #~ msgstr "Ograniczenia paneli bocznych"
623
+
624
+ #~ msgid "Select which sidebars will be restricted to admins only."
625
+ #~ msgstr ""
626
+ #~ "Wybierz panele boczne, które będą dostępne tylko dla administratorów."
627
+
628
+ #~ msgid "Restrict Widgets"
629
+ #~ msgstr "Ograniczenia widgetów"
630
+
631
+ #~ msgid "Select which widgets will be restricted to admins only."
632
+ #~ msgstr "Wybierz widgety, któe będą dostępne tylko dla administratorów."
633
+
634
+ #~ msgid "Restrict Widget Options"
635
+ #~ msgstr "Ograniczenia opcji widgetów"
636
+
637
+ #~ msgid "Select which widget options will be restricted to admins only."
638
+ #~ msgstr ""
639
+ #~ "Wybierz które opcje widgetów, będą dostępne tylko dla administratorów."
640
+
641
+ #~ msgid "Restrict Option Groups"
642
+ #~ msgstr "Ograniczenia grup opcji"
643
+
644
+ #~ msgid "Display widget options in groups"
645
+ #~ msgstr "Wyświetl opcje widgetów w grupach"
646
+
647
+ #~ msgid "Plugin Deactivation"
648
+ #~ msgstr "Deaktywacja wtyczki"
649
+
650
+ #~ msgid "Remove all plugin data on deactivation"
651
+ #~ msgstr "Usuń wszystkie dane wtyczki podczas deaktywacji"
652
+
653
+ #~ msgid "Single %s"
654
+ #~ msgstr "Pojedyncze %s"
655
+
656
+ #~ msgid "%s Archive"
657
+ #~ msgstr "Archiwum %s"
658
+
659
+ #~ msgid "Display / Hide Widget"
660
+ #~ msgstr "Wyświetl / Ukryj widget"
661
+
662
+ #~ msgid "Display widget on selected"
663
+ #~ msgstr "Wyświetl widget na wybranych stronach"
664
+
665
+ #~ msgid "Hide widget on selected"
666
+ #~ msgstr "Ukryj widget na wybranych stronach"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-ro_RO.mo DELETED
Binary file
languages/math-captcha-ro_RO.po DELETED
@@ -1,415 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha v1.0.3\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2015-01-19 17:40+0100\n"
7
- "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n>1;\n"
13
- "X-Generator: Poedit 1.7.3\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
- "X-Poedit-Basepath: ../\n"
17
- "X-Textdomain-Support: yes\n"
18
- "Language: ro_RO\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- # @ math-captcha
22
- #: includes/math-captcha-cf7.php:109 wp-math-captcha.php:813
23
- msgid "Invalid captcha value."
24
- msgstr "Cod captcha invalid"
25
-
26
- # @ math-captcha
27
- #: includes/math-captcha-cf7.php:113 wp-math-captcha.php:812
28
- msgid "Please enter captcha value."
29
- msgstr "Te rugam sa introduci codul captcha"
30
-
31
- # @ math-captcha
32
- #: includes/math-captcha-cf7.php:117 wp-math-captcha.php:814
33
- msgid "Captcha time expired."
34
- msgstr "Codul captcha a expirat"
35
-
36
- # @ math-captcha
37
- #: includes/math-captcha-cf7.php:148 wp-math-captcha.php:1080
38
- #: wp-math-captcha.php:1081 wp-math-captcha.php:1096 wp-math-captcha.php:1109
39
- msgid "Math Captcha"
40
- msgstr "Math Captcha"
41
-
42
- # @ math-captcha
43
- #: includes/math-captcha-cf7.php:160
44
- msgid "Name"
45
- msgstr "Nume"
46
-
47
- # @ math-captcha
48
- #: includes/math-captcha-cf7.php:166
49
- msgid "Input field settings"
50
- msgstr "Setari camp"
51
-
52
- # @ math-captcha
53
- #: includes/math-captcha-cf7.php:169 includes/math-captcha-cf7.php:173
54
- msgid "optional"
55
- msgstr "optional"
56
-
57
- # @ math-captcha
58
- #: includes/math-captcha-cf7.php:179
59
- msgid "Copy this code and paste it into the form left."
60
- msgstr "Copiati acest cod si inserati-l in formularul din stanga."
61
-
62
- # @ math-captcha
63
- #: wp-math-captcha.php:496
64
- msgid "one"
65
- msgstr "unu"
66
-
67
- # @ math-captcha
68
- #: wp-math-captcha.php:497
69
- msgid "two"
70
- msgstr "doi"
71
-
72
- # @ math-captcha
73
- #: wp-math-captcha.php:498
74
- msgid "three"
75
- msgstr "trei"
76
-
77
- # @ math-captcha
78
- #: wp-math-captcha.php:499
79
- msgid "four"
80
- msgstr "patru"
81
-
82
- # @ math-captcha
83
- #: wp-math-captcha.php:500
84
- msgid "five"
85
- msgstr "cinci"
86
-
87
- # @ math-captcha
88
- #: wp-math-captcha.php:501
89
- msgid "six"
90
- msgstr "sase"
91
-
92
- # @ math-captcha
93
- #: wp-math-captcha.php:502
94
- msgid "seven"
95
- msgstr "sapte"
96
-
97
- # @ math-captcha
98
- #: wp-math-captcha.php:503
99
- msgid "eight"
100
- msgstr "opt"
101
-
102
- # @ math-captcha
103
- #: wp-math-captcha.php:504
104
- msgid "nine"
105
- msgstr "noua"
106
-
107
- # @ math-captcha
108
- #: wp-math-captcha.php:505
109
- msgid "ten"
110
- msgstr "zece"
111
-
112
- # @ math-captcha
113
- #: wp-math-captcha.php:506
114
- msgid "eleven"
115
- msgstr "unsprezece"
116
-
117
- # @ math-captcha
118
- #: wp-math-captcha.php:507
119
- msgid "twelve"
120
- msgstr "doisprezece"
121
-
122
- # @ math-captcha
123
- #: wp-math-captcha.php:508
124
- msgid "thirteen"
125
- msgstr "treisprezece"
126
-
127
- # @ math-captcha
128
- #: wp-math-captcha.php:509
129
- msgid "fourteen"
130
- msgstr "patrusprezece"
131
-
132
- # @ math-captcha
133
- #: wp-math-captcha.php:510
134
- msgid "fifteen"
135
- msgstr "cincisprezece"
136
-
137
- # @ math-captcha
138
- #: wp-math-captcha.php:511
139
- msgid "sixteen"
140
- msgstr "saisprezece"
141
-
142
- # @ math-captcha
143
- #: wp-math-captcha.php:512
144
- msgid "seventeen"
145
- msgstr "saptesprezece"
146
-
147
- # @ math-captcha
148
- #: wp-math-captcha.php:513
149
- msgid "eighteen"
150
- msgstr "optsprezece"
151
-
152
- # @ math-captcha
153
- #: wp-math-captcha.php:514
154
- msgid "nineteen"
155
- msgstr "nouasprezece"
156
-
157
- # @ math-captcha
158
- #: wp-math-captcha.php:515
159
- msgid "twenty"
160
- msgstr "douazeci"
161
-
162
- # @ math-captcha
163
- #: wp-math-captcha.php:516
164
- msgid "thirty"
165
- msgstr "treizeci"
166
-
167
- # @ math-captcha
168
- #: wp-math-captcha.php:517
169
- msgid "forty"
170
- msgstr "patruzeci"
171
-
172
- # @ math-captcha
173
- #: wp-math-captcha.php:518
174
- msgid "fifty"
175
- msgstr "cincizeci"
176
-
177
- # @ math-captcha
178
- #: wp-math-captcha.php:519
179
- msgid "sixty"
180
- msgstr "saizeci"
181
-
182
- # @ math-captcha
183
- #: wp-math-captcha.php:520
184
- msgid "seventy"
185
- msgstr "saptezeci"
186
-
187
- # @ math-captcha
188
- #: wp-math-captcha.php:521
189
- msgid "eighty"
190
- msgstr "optzeci"
191
-
192
- # @ math-captcha
193
- #: wp-math-captcha.php:522
194
- msgid "ninety"
195
- msgstr "nouazeci"
196
-
197
- # @ math-captcha
198
- #: wp-math-captcha.php:812 wp-math-captcha.php:813 wp-math-captcha.php:814
199
- msgid "ERROR"
200
- msgstr "EROARE"
201
-
202
- # @ math-captcha
203
- #: wp-math-captcha.php:818
204
- msgid "login form"
205
- msgstr "formular de login"
206
-
207
- # @ math-captcha
208
- #: wp-math-captcha.php:819
209
- msgid "registration form"
210
- msgstr "formular de inregistrare"
211
-
212
- # @ math-captcha
213
- #: wp-math-captcha.php:820
214
- msgid "reset password form"
215
- msgstr "formular resetare parola"
216
-
217
- # @ math-captcha
218
- #: wp-math-captcha.php:821
219
- msgid "comment form"
220
- msgstr "formular comentarii"
221
-
222
- # @ math-captcha
223
- #: wp-math-captcha.php:822
224
- msgid "bbpress"
225
- msgstr "bbpress"
226
-
227
- # @ math-captcha
228
- #: wp-math-captcha.php:823
229
- msgid "contact form 7"
230
- msgstr "contact form 7"
231
-
232
- # @ math-captcha
233
- #: wp-math-captcha.php:827
234
- msgid "yes"
235
- msgstr "da"
236
-
237
- # @ math-captcha
238
- #: wp-math-captcha.php:828
239
- msgid "no"
240
- msgstr "nu"
241
-
242
- # @ math-captcha
243
- #: wp-math-captcha.php:832
244
- msgid "addition (+)"
245
- msgstr "adunare (+)"
246
-
247
- # @ math-captcha
248
- #: wp-math-captcha.php:833
249
- msgid "subtraction (-)"
250
- msgstr "scadere (-)"
251
-
252
- # @ math-captcha
253
- #: wp-math-captcha.php:834
254
- msgid "multiplication (&#215;)"
255
- msgstr "inmultire (&#215;)"
256
-
257
- # @ math-captcha
258
- #: wp-math-captcha.php:835
259
- msgid "division (&#247;)"
260
- msgstr "impartire (&#247;)"
261
-
262
- # @ math-captcha
263
- #: wp-math-captcha.php:839
264
- msgid "numbers"
265
- msgstr "numere"
266
-
267
- # @ math-captcha
268
- #: wp-math-captcha.php:840
269
- msgid "words"
270
- msgstr "cuvinte"
271
-
272
- # @ math-captcha
273
- #: wp-math-captcha.php:852
274
- msgid "Math Captcha settings"
275
- msgstr "Setari Math Captcha"
276
-
277
- # @ math-captcha
278
- #: wp-math-captcha.php:853
279
- msgid "Enable Math Captcha for"
280
- msgstr "Activeaza Math Captcha pentru"
281
-
282
- # @ math-captcha
283
- #: wp-math-captcha.php:854
284
- msgid "Hide for logged in users"
285
- msgstr "Ascunde pentru utilizatorii logati"
286
-
287
- # @ math-captcha
288
- #: wp-math-captcha.php:855
289
- msgid "Mathematical operations"
290
- msgstr "Operatii matematice"
291
-
292
- # @ math-captcha
293
- #: wp-math-captcha.php:856
294
- msgid "Display captcha as"
295
- msgstr "Afiseaza captcha ca"
296
-
297
- # @ math-captcha
298
- #: wp-math-captcha.php:857
299
- msgid "Captcha field title"
300
- msgstr "Camp titlu captcha"
301
-
302
- # @ math-captcha
303
- #: wp-math-captcha.php:858
304
- msgid "Captcha time"
305
- msgstr "timp captcha"
306
-
307
- # @ math-captcha
308
- #: wp-math-captcha.php:859
309
- msgid "Deactivation"
310
- msgstr "Dezactivare"
311
-
312
- # @ math-captcha
313
- #: wp-math-captcha.php:879
314
- msgid "Select were would you like to use Math Captcha."
315
- msgstr "Alege unde vrei afisare captcha"
316
-
317
- # @ math-captcha
318
- #: wp-math-captcha.php:900
319
- msgid "Would you like to hide captcha for logged in users?"
320
- msgstr "Vrei sa ascunzi captcha pentru utilizatorii logati?"
321
-
322
- # @ math-captcha
323
- #: wp-math-captcha.php:913
324
- msgid "Select what kind of mathematical operations will be used to generate captcha."
325
- msgstr "Alege ce tip de operatii matematice vei folosi sa generezi captcha"
326
-
327
- # @ math-captcha
328
- #: wp-math-captcha.php:926
329
- msgid "Enter the time (in seconds) a user has to enter captcha value."
330
- msgstr "Introdu timpul (in secunde) pana sa expire captcha."
331
-
332
- # @ math-captcha
333
- #: wp-math-captcha.php:947
334
- msgid "Delete settings on plugin deactivation"
335
- msgstr "Elimina setarile la dezinstalarea plugin-ului."
336
-
337
- # @ math-captcha
338
- #: wp-math-captcha.php:968
339
- msgid "Select which mathematical operations to use in your captcha."
340
- msgstr "Alege care operatii matematice vei folosi in captcha."
341
-
342
- # @ math-captcha
343
- #: wp-math-captcha.php:989
344
- msgid "Select how you'd like to display you captcha."
345
- msgstr "Alege cum vei afisa captcha."
346
-
347
- # @ math-captcha
348
- #: wp-math-captcha.php:1030
349
- msgid "You need to check at least one mathematical operation. Defaults settings of this option restored."
350
- msgstr "Trebuie sa selectezi cel putin o operatie matematica. "
351
-
352
- # @ math-captcha
353
- #: wp-math-captcha.php:1046
354
- msgid "You need to check at least one group. Defaults settings of this option restored."
355
- msgstr "Trebuie sa alegi cel putin un grup."
356
-
357
- # @ math-captcha
358
- #: wp-math-captcha.php:1111
359
- msgid "Need support?"
360
- msgstr "Ai nevoie de ajutor ?"
361
-
362
- # @ math-captcha
363
- #: wp-math-captcha.php:1112
364
- msgid "If you are having problems with this plugin, please talk about them in the"
365
- msgstr "Daca intampini probleme cu plugin-ul, te rugam sa le expui"
366
-
367
- # @ math-captcha
368
- #: wp-math-captcha.php:1112
369
- msgid "Support forum"
370
- msgstr "Forum suport"
371
-
372
- # @ math-captcha
373
- #: wp-math-captcha.php:1114
374
- msgid "Do you like this plugin?"
375
- msgstr "Iti place acest plugin?"
376
-
377
- # @ math-captcha
378
- #: wp-math-captcha.php:1115
379
- msgid "Rate it 5"
380
- msgstr "Da-ne 5 stele"
381
-
382
- # @ math-captcha
383
- #: wp-math-captcha.php:1115
384
- msgid "on WordPress.org"
385
- msgstr "pe WordPress.org"
386
-
387
- # @ math-captcha
388
- #: wp-math-captcha.php:1116
389
- msgid "Blog about it & link to the"
390
- msgstr "Discuta despre asta si pune un link catre"
391
-
392
- # @ math-captcha
393
- #: wp-math-captcha.php:1116
394
- msgid "plugin page"
395
- msgstr "pagina plugin-ului"
396
-
397
- # @ math-captcha
398
- #: wp-math-captcha.php:1117
399
- msgid "Check out our other"
400
- msgstr "Vezi si celelalte"
401
-
402
- # @ math-captcha
403
- #: wp-math-captcha.php:1117
404
- msgid "WordPress plugins"
405
- msgstr "WordPress pluginu-ri"
406
-
407
- # @ math-captcha
408
- #: wp-math-captcha.php:1170
409
- msgid "Support"
410
- msgstr "Suport"
411
-
412
- # @ math-captcha
413
- #: wp-math-captcha.php:1192
414
- msgid "Settings"
415
- msgstr "Setari"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-ru_RU.mo DELETED
Binary file
languages/math-captcha-ru_RU.po DELETED
@@ -1,356 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha\n"
4
- "POT-Creation-Date: 2014-01-22 15:55+0400\n"
5
- "PO-Revision-Date: 2014-01-22 17:32+0400\n"
6
- "Last-Translator: Valery Ryaboshapko <valera@creator.su>\n"
7
- "Language-Team: \n"
8
- "Language: ru-RU\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
13
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
14
-
15
- #: ../wp-math-captcha.php:645
16
- msgid "one"
17
- msgstr "один"
18
-
19
- #: ../wp-math-captcha.php:646
20
- msgid "two"
21
- msgstr "два"
22
-
23
- #: ../wp-math-captcha.php:647
24
- msgid "three"
25
- msgstr "три"
26
-
27
- #: ../wp-math-captcha.php:648
28
- msgid "four"
29
- msgstr "четыре"
30
-
31
- #: ../wp-math-captcha.php:649
32
- msgid "five"
33
- msgstr "пять"
34
-
35
- #: ../wp-math-captcha.php:650
36
- msgid "six"
37
- msgstr "шесть"
38
-
39
- #: ../wp-math-captcha.php:651
40
- msgid "seven"
41
- msgstr "семь"
42
-
43
- #: ../wp-math-captcha.php:652
44
- msgid "eight"
45
- msgstr "восемь"
46
-
47
- #: ../wp-math-captcha.php:653
48
- msgid "nine"
49
- msgstr "девять"
50
-
51
- #: ../wp-math-captcha.php:654
52
- msgid "ten"
53
- msgstr "десять"
54
-
55
- #: ../wp-math-captcha.php:655
56
- msgid "eleven"
57
- msgstr "одиннадцать"
58
-
59
- #: ../wp-math-captcha.php:656
60
- msgid "twelve"
61
- msgstr "двенадцать"
62
-
63
- #: ../wp-math-captcha.php:657
64
- msgid "thirteen"
65
- msgstr "тринадцать"
66
-
67
- #: ../wp-math-captcha.php:658
68
- msgid "fourteen"
69
- msgstr "четырнадцать"
70
-
71
- #: ../wp-math-captcha.php:659
72
- msgid "fifteen"
73
- msgstr "пятнадцать"
74
-
75
- #: ../wp-math-captcha.php:660
76
- msgid "sixteen"
77
- msgstr "шестнадцать"
78
-
79
- #: ../wp-math-captcha.php:661
80
- msgid "seventeen"
81
- msgstr "семнадцать"
82
-
83
- #: ../wp-math-captcha.php:662
84
- msgid "eighteen"
85
- msgstr "восемнадцать"
86
-
87
- #: ../wp-math-captcha.php:663
88
- msgid "nineteen"
89
- msgstr "девятнадцать"
90
-
91
- #: ../wp-math-captcha.php:664
92
- msgid "twenty"
93
- msgstr "двадцать"
94
-
95
- #: ../wp-math-captcha.php:665
96
- msgid "thirty"
97
- msgstr "тридцать"
98
-
99
- #: ../wp-math-captcha.php:666
100
- msgid "forty"
101
- msgstr "сорок"
102
-
103
- #: ../wp-math-captcha.php:667
104
- msgid "fifty"
105
- msgstr "пятьдесят"
106
-
107
- #: ../wp-math-captcha.php:668
108
- msgid "sixty"
109
- msgstr "шестьдесят"
110
-
111
- #: ../wp-math-captcha.php:669
112
- msgid "seventy"
113
- msgstr "семьдесят"
114
-
115
- #: ../wp-math-captcha.php:670
116
- msgid "eighty"
117
- msgstr "восемьдесят"
118
-
119
- #: ../wp-math-captcha.php:671
120
- msgid "ninety"
121
- msgstr "девяносто"
122
-
123
- #: ../wp-math-captcha.php:943 ../wp-math-captcha.php:944
124
- #: ../wp-math-captcha.php:945
125
- msgid "ERROR"
126
- msgstr "ОШИБКА"
127
-
128
- #: ../wp-math-captcha.php:943 ../includes/math-captcha-cf7.php:109
129
- msgid "Please enter captcha value."
130
- msgstr "Пожалуйста, введите капчу."
131
-
132
- #: ../wp-math-captcha.php:944 ../includes/math-captcha-cf7.php:105
133
- msgid "Invalid captcha value."
134
- msgstr "Неверно введена капча"
135
-
136
- #: ../wp-math-captcha.php:945 ../includes/math-captcha-cf7.php:113
137
- msgid "Captcha time expired."
138
- msgstr "Срок годности капчи истёк"
139
-
140
- #: ../wp-math-captcha.php:949
141
- msgid "login form"
142
- msgstr "входа"
143
-
144
- #: ../wp-math-captcha.php:950
145
- msgid "registration form"
146
- msgstr "регистрации"
147
-
148
- #: ../wp-math-captcha.php:951
149
- msgid "reset password form"
150
- msgstr "восстановления пароля"
151
-
152
- #: ../wp-math-captcha.php:952
153
- msgid "comment form"
154
- msgstr "комментариев"
155
-
156
- #: ../wp-math-captcha.php:953
157
- msgid "bbpress"
158
- msgstr "bbpress"
159
-
160
- #: ../wp-math-captcha.php:954
161
- msgid "contact form 7"
162
- msgstr "contact form 7"
163
-
164
- #: ../wp-math-captcha.php:958
165
- msgid "yes"
166
- msgstr "да"
167
-
168
- #: ../wp-math-captcha.php:959
169
- msgid "no"
170
- msgstr "нет"
171
-
172
- #: ../wp-math-captcha.php:963
173
- msgid "addition (+)"
174
- msgstr "сложение (+)"
175
-
176
- #: ../wp-math-captcha.php:964
177
- msgid "subtraction (-)"
178
- msgstr "вычитание (&minus;)"
179
-
180
- #: ../wp-math-captcha.php:965
181
- msgid "multiplication (&#215;)"
182
- msgstr "умножение (&#215;)"
183
-
184
- #: ../wp-math-captcha.php:966
185
- msgid "division (&#247;)"
186
- msgstr "деление (&#247;)"
187
-
188
- #: ../wp-math-captcha.php:970
189
- msgid "numbers"
190
- msgstr "цифры"
191
-
192
- #: ../wp-math-captcha.php:971
193
- msgid "words"
194
- msgstr "слова"
195
-
196
- #: ../wp-math-captcha.php:983
197
- msgid "Math Captcha settings"
198
- msgstr "Параметры Math Captcha"
199
-
200
- #: ../wp-math-captcha.php:984
201
- msgid "Enable Math Captcha for"
202
- msgstr "Использовать Math Captcha для"
203
-
204
- #: ../wp-math-captcha.php:985
205
- msgid "Hide for logged in users"
206
- msgstr "Скрыть для зарегистрированных пользователей"
207
-
208
- #: ../wp-math-captcha.php:986
209
- msgid "Mathematical operations"
210
- msgstr "Математические операции"
211
-
212
- #: ../wp-math-captcha.php:987
213
- msgid "Display captcha as"
214
- msgstr "Показывать капчу как"
215
-
216
- #: ../wp-math-captcha.php:988
217
- msgid "Captcha field title"
218
- msgstr "Заголовок поля с капчей"
219
-
220
- #: ../wp-math-captcha.php:989
221
- msgid "Captcha time"
222
- msgstr "Срок годности капчи"
223
-
224
- #: ../wp-math-captcha.php:990
225
- msgid "Block Direct Comments"
226
- msgstr "Блокировать прямые комментарии"
227
-
228
- #: ../wp-math-captcha.php:991
229
- msgid "Deactivation"
230
- msgstr "Деактивация"
231
-
232
- #: ../wp-math-captcha.php:1011
233
- msgid "Select were would you like to use Math Captcha."
234
- msgstr "Выберите, где бы вы хотели видеть капчу."
235
-
236
- #: ../wp-math-captcha.php:1032
237
- msgid "Would you like to hide captcha for logged in users?"
238
- msgstr "Хотите, чтобы капча скрывалась от зарегистрированных пользователей?"
239
-
240
- #: ../wp-math-captcha.php:1045
241
- msgid "How to entitle field with captcha?"
242
- msgstr "Как озаглавить поле с капчей?"
243
-
244
- #: ../wp-math-captcha.php:1058
245
- msgid "Enter the time (in seconds) a user has to enter captcha value."
246
- msgstr ""
247
- "Введите время (в секундах), в течение которого пользователь должен ввести "
248
- "капчу."
249
-
250
- #: ../wp-math-captcha.php:1079
251
- msgid ""
252
- "Blocks direct access to wp-comments-post.php. Enable this to prevent "
253
- "spambots from posting to Wordpress via a URL."
254
- msgstr ""
255
- "Заблокировать прямой доступ к wp-comments-post.php. Включите, чтобы спам-"
256
- "боты не могли добавлять комментарии напрямую через URL."
257
-
258
- #: ../wp-math-captcha.php:1100
259
- msgid "Delete settings on plugin deactivation"
260
- msgstr "Удалять настройки при деактивации плагина"
261
-
262
- #: ../wp-math-captcha.php:1121
263
- msgid "Select which mathematical operations to use in your captcha."
264
- msgstr "Выберите, какие математические операции использовать в капче."
265
-
266
- #: ../wp-math-captcha.php:1142
267
- msgid "Select how you'd like to display you captcha."
268
- msgstr "Выберите, как бы вы хотели отображать капчу."
269
-
270
- #: ../wp-math-captcha.php:1183
271
- msgid ""
272
- "You need to check at least one mathematical operation. Defaults settings of "
273
- "this option restored."
274
- msgstr ""
275
- "Хотя бы две математические операции должны быть отмечены. Восстановлены "
276
- "параметры по умолчанию."
277
-
278
- #: ../wp-math-captcha.php:1199
279
- msgid ""
280
- "You need to check at least one group. Defaults settings of this option "
281
- "restored."
282
- msgstr ""
283
- "Хотя бы один способ отражения капчи должен быть выбран. Восстановлены "
284
- "настройки по умолчанию."
285
-
286
- #: ../wp-math-captcha.php:1236 ../wp-math-captcha.php:1237
287
- #: ../wp-math-captcha.php:1252 ../wp-math-captcha.php:1265
288
- #: ../includes/math-captcha-cf7.php:144
289
- msgid "Math Captcha"
290
- msgstr "Math Captcha"
291
-
292
- #: ../wp-math-captcha.php:1267
293
- msgid "Need support?"
294
- msgstr "Нужна помощь?"
295
-
296
- #: ../wp-math-captcha.php:1268
297
- msgid ""
298
- "If you are having problems with this plugin, please talk about them in the"
299
- msgstr ""
300
- "Если у вас возникли проблемы с этим плагином, пожалуйста, сообщите о них на"
301
-
302
- #: ../wp-math-captcha.php:1268
303
- msgid "Support forum"
304
- msgstr "Форум поддержки"
305
-
306
- #: ../wp-math-captcha.php:1270
307
- msgid "Do you like this plugin?"
308
- msgstr "Понравился этот плагин?"
309
-
310
- #: ../wp-math-captcha.php:1271
311
- msgid "Rate it 5"
312
- msgstr "Поставьте ему «пять»"
313
-
314
- #: ../wp-math-captcha.php:1271
315
- msgid "on WordPress.org"
316
- msgstr "на WordPress.org"
317
-
318
- #: ../wp-math-captcha.php:1272
319
- msgid "Blog about it & link to the"
320
- msgstr "Блог и"
321
-
322
- #: ../wp-math-captcha.php:1272
323
- msgid "plugin page"
324
- msgstr "страница плагина"
325
-
326
- #: ../wp-math-captcha.php:1273
327
- msgid "Check out our other"
328
- msgstr "Взглянуть на другие наши"
329
-
330
- #: ../wp-math-captcha.php:1273
331
- msgid "WordPress plugins"
332
- msgstr "плагины WordPress"
333
-
334
- #: ../wp-math-captcha.php:1335
335
- msgid "Support"
336
- msgstr "Поддержка"
337
-
338
- #: ../wp-math-captcha.php:1357
339
- msgid "Settings"
340
- msgstr "Параметры"
341
-
342
- #: ../includes/math-captcha-cf7.php:156
343
- msgid "Name"
344
- msgstr "Имя"
345
-
346
- #: ../includes/math-captcha-cf7.php:162
347
- msgid "Input field settings"
348
- msgstr "Введите поле параметров"
349
-
350
- #: ../includes/math-captcha-cf7.php:165 ../includes/math-captcha-cf7.php:169
351
- msgid "optional"
352
- msgstr "не обязательно"
353
-
354
- #: ../includes/math-captcha-cf7.php:175
355
- msgid "Copy this code and paste it into the form left."
356
- msgstr "Скопируйте этот код и вставьте в форму слева."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-sk_SK.mo DELETED
Binary file
languages/math-captcha-sk_SK.po DELETED
@@ -1,371 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha SK\n"
4
- "POT-Creation-Date: 2014-10-22 06:09+0100\n"
5
- "PO-Revision-Date: 2014-10-22 07:18+0100\n"
6
- "Last-Translator: Jan Fajcak <ja@fajo.name>\n"
7
- "Language-Team: Jan Fajcak <ja@fajo.name>\n"
8
- "Language: sk\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.10\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- #: ../includes/class-core.php:39 ../includes/class-core.php:40
19
- #: ../includes/class-core.php:41
20
- msgid "ERROR"
21
- msgstr "CHYBA"
22
-
23
- #: ../includes/class-core.php:39 ../includes/integration-cf7.php:104
24
- #: ../includes/math-captcha-cf7.php:104
25
- msgid "Please enter captcha value."
26
- msgstr "Prosím, vložte správny výsledok."
27
-
28
- #: ../includes/class-core.php:40 ../includes/integration-cf7.php:100
29
- #: ../includes/math-captcha-cf7.php:100
30
- msgid "Invalid captcha value."
31
- msgstr "Nesprávny výsledok."
32
-
33
- #: ../includes/class-core.php:41 ../includes/integration-cf7.php:108
34
- #: ../includes/math-captcha-cf7.php:108
35
- msgid "Captcha time expired."
36
- msgstr "Čas na vloženie výsledku vypršal."
37
-
38
- #: ../includes/class-core.php:428
39
- msgid "one"
40
- msgstr "jeden"
41
-
42
- #: ../includes/class-core.php:429
43
- msgid "two"
44
- msgstr "dva"
45
-
46
- #: ../includes/class-core.php:430
47
- msgid "three"
48
- msgstr "tri"
49
-
50
- #: ../includes/class-core.php:431
51
- msgid "four"
52
- msgstr "štyri"
53
-
54
- #: ../includes/class-core.php:432
55
- msgid "five"
56
- msgstr "päť"
57
-
58
- #: ../includes/class-core.php:433
59
- msgid "six"
60
- msgstr "šesť"
61
-
62
- #: ../includes/class-core.php:434
63
- msgid "seven"
64
- msgstr "sedem"
65
-
66
- #: ../includes/class-core.php:435
67
- msgid "eight"
68
- msgstr "osem"
69
-
70
- #: ../includes/class-core.php:436
71
- msgid "nine"
72
- msgstr "deväť"
73
-
74
- #: ../includes/class-core.php:437
75
- msgid "ten"
76
- msgstr "desať"
77
-
78
- #: ../includes/class-core.php:438
79
- msgid "eleven"
80
- msgstr "jedenásť"
81
-
82
- #: ../includes/class-core.php:439
83
- msgid "twelve"
84
- msgstr "dvanásť"
85
-
86
- #: ../includes/class-core.php:440
87
- msgid "thirteen"
88
- msgstr "trinásť"
89
-
90
- #: ../includes/class-core.php:441
91
- msgid "fourteen"
92
- msgstr "štrnásť"
93
-
94
- #: ../includes/class-core.php:442
95
- msgid "fifteen"
96
- msgstr "pätnásť"
97
-
98
- #: ../includes/class-core.php:443
99
- msgid "sixteen"
100
- msgstr "šestnásť"
101
-
102
- #: ../includes/class-core.php:444
103
- msgid "seventeen"
104
- msgstr "sedemnásť"
105
-
106
- #: ../includes/class-core.php:445
107
- msgid "eighteen"
108
- msgstr "osemnásť"
109
-
110
- #: ../includes/class-core.php:446
111
- msgid "nineteen"
112
- msgstr "devätnásť"
113
-
114
- #: ../includes/class-core.php:447
115
- msgid "twenty"
116
- msgstr "dvadsať"
117
-
118
- #: ../includes/class-core.php:448
119
- msgid "thirty"
120
- msgstr "tridsať"
121
-
122
- #: ../includes/class-core.php:449
123
- msgid "forty"
124
- msgstr "štyridsať"
125
-
126
- #: ../includes/class-core.php:450
127
- msgid "fifty"
128
- msgstr "päťdesiat"
129
-
130
- #: ../includes/class-core.php:451
131
- msgid "sixty"
132
- msgstr "šesťdesiat"
133
-
134
- #: ../includes/class-core.php:452
135
- msgid "seventy"
136
- msgstr "sedemdesiat"
137
-
138
- #: ../includes/class-core.php:453
139
- msgid "eighty"
140
- msgstr "osemdesiat"
141
-
142
- #: ../includes/class-core.php:454
143
- msgid "ninety"
144
- msgstr "deväťdesiat"
145
-
146
- #: ../includes/class-settings.php:34
147
- msgid "login form"
148
- msgstr "prihlasovanie"
149
-
150
- #: ../includes/class-settings.php:35
151
- msgid "registration form"
152
- msgstr "registrácia"
153
-
154
- #: ../includes/class-settings.php:36
155
- msgid "reset password form"
156
- msgstr "obnovenie hesla"
157
-
158
- #: ../includes/class-settings.php:37
159
- msgid "comment form"
160
- msgstr "komentáre"
161
-
162
- #: ../includes/class-settings.php:38
163
- msgid "bbpress"
164
- msgstr "bbpress"
165
-
166
- #: ../includes/class-settings.php:39
167
- msgid "contact form 7"
168
- msgstr "contact form 7"
169
-
170
- #: ../includes/class-settings.php:43
171
- msgid "addition (+)"
172
- msgstr "sčítanie (+)"
173
-
174
- #: ../includes/class-settings.php:44
175
- msgid "subtraction (-)"
176
- msgstr "odčítanie (-)"
177
-
178
- #: ../includes/class-settings.php:45
179
- msgid "multiplication (&#215;)"
180
- msgstr "násobenie (&#215;)"
181
-
182
- #: ../includes/class-settings.php:46
183
- msgid "division (&#247;)"
184
- msgstr "delenie (&#247;)"
185
-
186
- #: ../includes/class-settings.php:50
187
- msgid "numbers"
188
- msgstr "čísla"
189
-
190
- #: ../includes/class-settings.php:51
191
- msgid "words"
192
- msgstr "slová"
193
-
194
- #: ../includes/class-settings.php:62 ../includes/class-settings.php:63
195
- #: ../includes/class-settings.php:78 ../includes/class-settings.php:81
196
- #: ../includes/integration-cf7.php:139 ../includes/math-captcha-cf7.php:139
197
- msgid "Math Captcha"
198
- msgstr "Math Captcha"
199
-
200
- #: ../includes/class-settings.php:83
201
- msgid "Need support?"
202
- msgstr "Potrebujete pomoc?"
203
-
204
- #: ../includes/class-settings.php:84
205
- msgid ""
206
- "If you are having problems with this plugin, please talk about them in the"
207
- msgstr "Ak máte problém s týmto modulom, prosím povedzte o tom na"
208
-
209
- #: ../includes/class-settings.php:84
210
- msgid "Support forum"
211
- msgstr "Fóre podpory"
212
-
213
- #: ../includes/class-settings.php:86
214
- msgid "Do you like this plugin?"
215
- msgstr "Páči sa vám tento modul?"
216
-
217
- #: ../includes/class-settings.php:87
218
- msgid "Rate it 5"
219
- msgstr "Ohodnoďte ho"
220
-
221
- #: ../includes/class-settings.php:87
222
- msgid "on WordPress.org"
223
- msgstr "na WordPress.org "
224
-
225
- #: ../includes/class-settings.php:88
226
- msgid "Blog about it & link to the"
227
- msgstr "Blog o module a odkaz na"
228
-
229
- #: ../includes/class-settings.php:88
230
- msgid "plugin page"
231
- msgstr "stránka modulu"
232
-
233
- #: ../includes/class-settings.php:89
234
- msgid "Check out our other"
235
- msgstr "Pozrite sa na ďalšie naše"
236
-
237
- #: ../includes/class-settings.php:89
238
- msgid "WordPress plugins"
239
- msgstr "WordPress moduly"
240
-
241
- #: ../includes/class-settings.php:114
242
- msgid "Reset to defaults"
243
- msgstr "Obnoviť predvolené nastavenia"
244
-
245
- #: ../includes/class-settings.php:132
246
- msgid "Math Captcha settings"
247
- msgstr "Nastavenia Math Captcha"
248
-
249
- #: ../includes/class-settings.php:133
250
- msgid "Enable Math Captcha for"
251
- msgstr "Zapnúť Math Captcha pre"
252
-
253
- #: ../includes/class-settings.php:134
254
- msgid "Hide for logged in users"
255
- msgstr "Skryť pre prihlásených používateľov"
256
-
257
- #: ../includes/class-settings.php:135
258
- msgid "Mathematical operations"
259
- msgstr "Matematické operácie"
260
-
261
- #: ../includes/class-settings.php:136
262
- msgid "Display captcha as"
263
- msgstr "Zobraziť captchu ako"
264
-
265
- #: ../includes/class-settings.php:137
266
- msgid "Captcha field title"
267
- msgstr "Titulok poľa Captcha"
268
-
269
- #: ../includes/class-settings.php:138
270
- msgid "Captcha time"
271
- msgstr "Čas vypršania"
272
-
273
- #: ../includes/class-settings.php:139
274
- msgid "Block Direct Comments"
275
- msgstr "Blokovať priame komentáre"
276
-
277
- #: ../includes/class-settings.php:140
278
- msgid "Deactivation"
279
- msgstr "Deaktivácia"
280
-
281
- #: ../includes/class-settings.php:161
282
- msgid "Select where you'd like to use Math Captcha."
283
- msgstr "Vyberte, kde chcete captchu použiť."
284
-
285
- #: ../includes/class-settings.php:175
286
- msgid "Enable to hide captcha for logged in users."
287
- msgstr "Skryť captchu pre prihlásených používateľov."
288
-
289
- #: ../includes/class-settings.php:198
290
- msgid "Select which mathematical operations to use in your captcha."
291
- msgstr "Vyberte matematickú operáciu, ktorú chcete použiť."
292
-
293
- #: ../includes/class-settings.php:221
294
- msgid "Select how you'd like to display you captcha."
295
- msgstr "Vyberte, ako chcete zobraziť captchu."
296
-
297
- #: ../includes/class-settings.php:237
298
- msgid "How to entitle field with captcha?"
299
- msgstr "Vložte titulok pre pole s captchou."
300
-
301
- #: ../includes/class-settings.php:253
302
- msgid "Enter the time (in seconds) a user has to enter captcha value."
303
- msgstr "Vložte čas (v sekundách) na zadanie správnej hodnoty captche."
304
-
305
- #: ../includes/class-settings.php:267
306
- msgid ""
307
- "Blocks direct access to wp-comments-post.php. Enable this to prevent "
308
- "spambots from posting to Wordpress via a URL."
309
- msgstr ""
310
- "Blokovať priamy prístup do wp-comments-post.php. Zapnite a zabráňte "
311
- "spambotom publikovať vo WordPress cez URL."
312
-
313
- #: ../includes/class-settings.php:281
314
- msgid "Delete settings on plugin deactivation."
315
- msgstr "Vymazať nastavenia pri deaktivovaní modulu."
316
-
317
- #: ../includes/class-settings.php:325
318
- msgid ""
319
- "You need to check at least one mathematical operation. Defaults settings of "
320
- "this option restored."
321
- msgstr "Je potrebné označiť aspoň jednu matematickú operáciu."
322
-
323
- #: ../includes/class-settings.php:344
324
- msgid ""
325
- "You need to check at least one group. Defaults settings of this option "
326
- "restored."
327
- msgstr "Je potrebné označiť aspoň jednu skupinu."
328
-
329
- #: ../includes/class-settings.php:381
330
- msgid "Settings restored to defaults."
331
- msgstr "Nastavenia obnovené na pôvodné hodnoty."
332
-
333
- #: ../includes/integration-cf7.php:151 ../includes/math-captcha-cf7.php:151
334
- msgid "Name"
335
- msgstr "Meno"
336
-
337
- #: ../includes/integration-cf7.php:157 ../includes/math-captcha-cf7.php:157
338
- msgid "Input field settings"
339
- msgstr "Nastavenia vstupného poľa"
340
-
341
- #: ../includes/integration-cf7.php:160 ../includes/integration-cf7.php:164
342
- #: ../includes/math-captcha-cf7.php:160 ../includes/math-captcha-cf7.php:164
343
- msgid "optional"
344
- msgstr "voliteľné"
345
-
346
- #: ../includes/integration-cf7.php:170 ../includes/math-captcha-cf7.php:170
347
- msgid "Copy this code and paste it into the form left."
348
- msgstr "Skopírujte tento kód a vložte ho do formulára vľavo."
349
-
350
- #: ../wp-math-captcha.php:167
351
- msgid "Are you sure you want to reset these settings to defaults?"
352
- msgstr "Naozaj chcete obnoviť pôvodné nastavenia modulu?"
353
-
354
- #: ../wp-math-captcha.php:202
355
- msgid "Support"
356
- msgstr "Podpora "
357
-
358
- #: ../wp-math-captcha.php:224
359
- msgid "Settings"
360
- msgstr "Nastavenia"
361
-
362
- #~ msgid "yes"
363
- #~ msgstr "ano"
364
-
365
- #~ msgid "no"
366
- #~ msgstr "ne"
367
-
368
- #~ msgid ""
369
- #~ "Select what kind of mathematical operations will be used to generate "
370
- #~ "captcha."
371
- #~ msgstr "Vyberte, jaký druh matematické operace má captcha generovat."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-zh_CN.mo DELETED
Binary file
languages/math-captcha-zh_CN.po DELETED
@@ -1,347 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Math Captcha\n"
4
- "POT-Creation-Date: 2013-08-08 08:01+0100\n"
5
- "PO-Revision-Date: 2013-10-08 15:43+0800\n"
6
- "Last-Translator: Stephan Hilchenbach <info@elcats.de>\n"
7
- "Language-Team: 逍遥乐汉化 <luoxiao123@outlook.com>\n"
8
- "Language: zh-CN\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- #: ../wp-math-captcha.php:496
19
- msgid "one"
20
- msgstr "一"
21
-
22
- #: ../wp-math-captcha.php:497
23
- msgid "two"
24
- msgstr "二"
25
-
26
- #: ../wp-math-captcha.php:498
27
- msgid "three"
28
- msgstr "三"
29
-
30
- #: ../wp-math-captcha.php:499
31
- msgid "four"
32
- msgstr "四"
33
-
34
- #: ../wp-math-captcha.php:500
35
- msgid "five"
36
- msgstr "五"
37
-
38
- #: ../wp-math-captcha.php:501
39
- msgid "six"
40
- msgstr "六"
41
-
42
- #: ../wp-math-captcha.php:502
43
- msgid "seven"
44
- msgstr "七"
45
-
46
- #: ../wp-math-captcha.php:503
47
- msgid "eight"
48
- msgstr "八"
49
-
50
- #: ../wp-math-captcha.php:504
51
- msgid "nine"
52
- msgstr "九"
53
-
54
- #: ../wp-math-captcha.php:505
55
- msgid "ten"
56
- msgstr "十"
57
-
58
- #: ../wp-math-captcha.php:506
59
- msgid "eleven"
60
- msgstr "十一"
61
-
62
- #: ../wp-math-captcha.php:507
63
- msgid "twelve"
64
- msgstr "十二"
65
-
66
- #: ../wp-math-captcha.php:508
67
- msgid "thirteen"
68
- msgstr "十三"
69
-
70
- #: ../wp-math-captcha.php:509
71
- msgid "fourteen"
72
- msgstr "十四"
73
-
74
- #: ../wp-math-captcha.php:510
75
- msgid "fifteen"
76
- msgstr "十五"
77
-
78
- #: ../wp-math-captcha.php:511
79
- msgid "sixteen"
80
- msgstr "十六"
81
-
82
- #: ../wp-math-captcha.php:512
83
- msgid "seventeen"
84
- msgstr "十七"
85
-
86
- #: ../wp-math-captcha.php:513
87
- msgid "eighteen"
88
- msgstr "十八"
89
-
90
- #: ../wp-math-captcha.php:514
91
- msgid "nineteen"
92
- msgstr "十九"
93
-
94
- #: ../wp-math-captcha.php:515
95
- msgid "twenty"
96
- msgstr "二十"
97
-
98
- #: ../wp-math-captcha.php:516
99
- msgid "thirty"
100
- msgstr "三十"
101
-
102
- #: ../wp-math-captcha.php:517
103
- msgid "forty"
104
- msgstr "四十"
105
-
106
- #: ../wp-math-captcha.php:518
107
- msgid "fifty"
108
- msgstr "五十"
109
-
110
- #: ../wp-math-captcha.php:519
111
- msgid "sixty"
112
- msgstr "六十"
113
-
114
- #: ../wp-math-captcha.php:520
115
- msgid "seventy"
116
- msgstr "七十"
117
-
118
- #: ../wp-math-captcha.php:521
119
- msgid "eighty"
120
- msgstr "八十"
121
-
122
- #: ../wp-math-captcha.php:522
123
- msgid "ninety"
124
- msgstr "九十"
125
-
126
- #: ../wp-math-captcha.php:812 ../wp-math-captcha.php:813
127
- #: ../wp-math-captcha.php:814
128
- msgid "ERROR"
129
- msgstr "错误"
130
-
131
- #: ../wp-math-captcha.php:812 ../includes/math-captcha-cf7.php:113
132
- msgid "Please enter captcha value."
133
- msgstr "oh my gad! 兄弟你忘记填写验证码了!"
134
-
135
- #: ../wp-math-captcha.php:813 ../includes/math-captcha-cf7.php:109
136
- msgid "Invalid captcha value."
137
- msgstr "您输入的验证码不正确,请重新输入"
138
-
139
- #: ../wp-math-captcha.php:814 ../includes/math-captcha-cf7.php:117
140
- msgid "Captcha time expired."
141
- msgstr "验证码过期时间。"
142
-
143
- #: ../wp-math-captcha.php:818
144
- msgid "login form"
145
- msgstr "登录表单"
146
-
147
- #: ../wp-math-captcha.php:819
148
- msgid "registration form"
149
- msgstr "注册表单"
150
-
151
- #: ../wp-math-captcha.php:820
152
- msgid "reset password form"
153
- msgstr "重置密码表单"
154
-
155
- #: ../wp-math-captcha.php:821
156
- msgid "comment form"
157
- msgstr "评论表单"
158
-
159
- #: ../wp-math-captcha.php:822
160
- msgid "bbpress"
161
- msgstr "bbpress"
162
-
163
- #: ../wp-math-captcha.php:823
164
- msgid "contact form 7"
165
- msgstr "contact form 7"
166
-
167
- #: ../wp-math-captcha.php:827
168
- msgid "yes"
169
- msgstr "是"
170
-
171
- #: ../wp-math-captcha.php:828
172
- msgid "no"
173
- msgstr "否"
174
-
175
- #: ../wp-math-captcha.php:832
176
- msgid "addition (+)"
177
- msgstr "加法 (+)"
178
-
179
- #: ../wp-math-captcha.php:833
180
- msgid "subtraction (-)"
181
- msgstr "减法 (-)"
182
-
183
- #: ../wp-math-captcha.php:834
184
- msgid "multiplication (&#215;)"
185
- msgstr "乘法 (&#215;)"
186
-
187
- #: ../wp-math-captcha.php:835
188
- msgid "division (&#247;)"
189
- msgstr "除法 (&#247;)"
190
-
191
- #: ../wp-math-captcha.php:839
192
- msgid "numbers"
193
- msgstr "阿拉伯数字"
194
-
195
- #: ../wp-math-captcha.php:840
196
- msgid "words"
197
- msgstr "中文大写数字"
198
-
199
- #: ../wp-math-captcha.php:852
200
- msgid "Math Captcha settings"
201
- msgstr "Math Captcha设置"
202
-
203
- #: ../wp-math-captcha.php:853
204
- msgid "Enable Math Captcha for"
205
- msgstr "启用 Math Captcha 到"
206
-
207
- #: ../wp-math-captcha.php:854
208
- msgid "Hide for logged in users"
209
- msgstr "登录用户不显示验证码"
210
-
211
- #: ../wp-math-captcha.php:855
212
- msgid "Mathematical operations"
213
- msgstr "数学运算"
214
-
215
- #: ../wp-math-captcha.php:856
216
- msgid "Display captcha as"
217
- msgstr "显示验证码"
218
-
219
- #: ../wp-math-captcha.php:857
220
- msgid "Captcha field title"
221
- msgstr "验证码字段标题"
222
-
223
- #: ../wp-math-captcha.php:858
224
- msgid "Captcha time"
225
- msgstr "验证码时间"
226
-
227
- #: ../wp-math-captcha.php:859
228
- msgid "Deactivation"
229
- msgstr "停用"
230
-
231
- #: ../wp-math-captcha.php:879
232
- msgid "Select were would you like to use Math Captcha."
233
- msgstr "选择你想使用的数学验证码。"
234
-
235
- #: ../wp-math-captcha.php:900
236
- msgid "Would you like to hide captcha for logged in users?"
237
- msgstr "你想让登录用户隐藏验证码?"
238
-
239
- #: ../wp-math-captcha.php:913
240
- msgid ""
241
- "Select what kind of mathematical operations will be used to generate captcha."
242
- msgstr "选择什么样的数学运算,将被用来生成验证码。"
243
-
244
- #: ../wp-math-captcha.php:926
245
- msgid "Enter the time (in seconds) a user has to enter captcha value."
246
- msgstr "输入的时间(以秒为单位),用户必须输入验证码值。"
247
-
248
- #: ../wp-math-captcha.php:947
249
- msgid "Delete settings on plugin deactivation"
250
- msgstr "停用插件时删除设置"
251
-
252
- #: ../wp-math-captcha.php:968
253
- msgid "Select which mathematical operations to use in your captcha."
254
- msgstr "选择算术运算的类型被用来生成的验证码。"
255
-
256
- #: ../wp-math-captcha.php:989
257
- msgid "Select how you'd like to display you captcha."
258
- msgstr "选择你想怎么显示的验证码。"
259
-
260
- #: ../wp-math-captcha.php:1030
261
- msgid ""
262
- "You need to check at least one mathematical operation. Defaults settings of "
263
- "this option restored."
264
- msgstr "您必须选择至少一个算术运算。对于此选项,恢复默认值。"
265
-
266
- #: ../wp-math-captcha.php:1046
267
- msgid ""
268
- "You need to check at least one group. Defaults settings of this option "
269
- "restored."
270
- msgstr "你必须选择至少一组。对于此选项,恢复默认值。"
271
-
272
- #: ../wp-math-captcha.php:1080 ../wp-math-captcha.php:1081
273
- #: ../wp-math-captcha.php:1096 ../wp-math-captcha.php:1109
274
- #: ../includes/math-captcha-cf7.php:148
275
- msgid "Math Captcha"
276
- msgstr "Math Captcha"
277
-
278
- #: ../wp-math-captcha.php:1111
279
- msgid "Need support?"
280
- msgstr "需要支持吗?"
281
-
282
- #: ../wp-math-captcha.php:1112
283
- msgid ""
284
- "If you are having problems with this plugin, please talk about them in the"
285
- msgstr ""
286
- "本插件由逍遥乐进行汉化,如果您在使用本插件时遇到什么汉化问题,请联系<a href="
287
- "\"http://www.luoxiao123.cn\">逍遥乐</a>,一切汉化相关稳定都可以到<a href="
288
- "\"http://www.luoxiao123.cn\">逍遥乐IT博客www.luoxiao123.cn</a>咨询逍遥乐!插"
289
- "件具体问题请到原作者支持论坛:"
290
-
291
- #: ../wp-math-captcha.php:1112
292
- msgid "Support forum"
293
- msgstr "支持论坛"
294
-
295
- #: ../wp-math-captcha.php:1114
296
- msgid "Do you like this plugin?"
297
- msgstr "你喜欢这个插件?"
298
-
299
- #: ../wp-math-captcha.php:1115
300
- msgid "Rate it 5"
301
- msgstr "评分5"
302
-
303
- #: ../wp-math-captcha.php:1115
304
- msgid "on WordPress.org"
305
- msgstr "在 WordPress.org"
306
-
307
- #: ../wp-math-captcha.php:1116
308
- msgid "Blog about it & link to the"
309
- msgstr "关于博客&链接到"
310
-
311
- #: ../wp-math-captcha.php:1116
312
- msgid "plugin page"
313
- msgstr "插件页面"
314
-
315
- #: ../wp-math-captcha.php:1117
316
- msgid "Check out our other"
317
- msgstr ""
318
- "请到<a href=\"http://www.luoxiao123.cn\">逍遥乐IT博客www.luoxiao123.cn</a>查"
319
- "看更多汉化作品!原作者更多作品请到:"
320
-
321
- #: ../wp-math-captcha.php:1117
322
- msgid "WordPress plugins"
323
- msgstr "WordPress 插件"
324
-
325
- #: ../wp-math-captcha.php:1170
326
- msgid "Support"
327
- msgstr "支持"
328
-
329
- #: ../wp-math-captcha.php:1192
330
- msgid "Settings"
331
- msgstr "设置"
332
-
333
- #: ../includes/math-captcha-cf7.php:160
334
- msgid "Name"
335
- msgstr "名称"
336
-
337
- #: ../includes/math-captcha-cf7.php:166
338
- msgid "Input field settings"
339
- msgstr "输入字段设置"
340
-
341
- #: ../includes/math-captcha-cf7.php:169 ../includes/math-captcha-cf7.php:173
342
- msgid "optional"
343
- msgstr "可选"
344
-
345
- #: ../includes/math-captcha-cf7.php:179
346
- msgid "Copy this code and paste it into the form left."
347
- msgstr "将此代码复制并粘贴到左侧。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-math-captcha-he_IL.mo DELETED
Binary file
languages/wp-math-captcha-he_IL.po DELETED
@@ -1,605 +0,0 @@
1
- # This file was generated by WPML
2
- # WPML is a WordPress plugin that can turn any WordPress or WordPressMU site into a full featured multilingual content management system.
3
- # http://wpml.org
4
- msgid ""
5
- msgstr ""
6
- "Content-Type: text/plain; charset=UTF-8\n"
7
- "Content-Transfer-Encoding: 8bit\n"
8
- "Project-Id-Version: wp-math-captcha\n"
9
- "POT-Creation-Date: \n"
10
- "PO-Revision-Date: \n"
11
- "Last-Translator: Ahrale <contact@atar4u.com>\n"
12
- "Language-Team: Ahrale, Atar4U.com <contact@atar4u.com>\n"
13
- "MIME-Version: 1.0\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "Language: he_IL\n"
16
- "X-Generator: Poedit 1.7.3\n"
17
- "X-Poedit-SourceCharset: UTF-8\n"
18
-
19
- # {
20
- # $settings_link = sprintf('<a href="%s">%s</a>', admin_url('options-general.php').'?page=math-captcha', __('Settings', 'math-captcha'));
21
- # array_unshift($links, $settings_link);
22
- # wpml-name: f4f70727dc34561dfde1a3c529b6205c
23
- msgid "Settings"
24
- msgstr "הגדרות"
25
-
26
- # $links,
27
- # array(sprintf('<a href="http://www.dfactory.eu/support/forum/math-captcha/" target="_blank">%s</a>', __('Support', 'math-captcha')))
28
- # );
29
- # wpml-name: db5eb84117d06047c97c9a0191b5fffe
30
- msgid "Support"
31
- msgstr "תמיכה"
32
-
33
- # array(
34
- # 'resetToDefaults' => __('Are you sure you want to reset these settings to defaults?', 'math-captcha')
35
- # )
36
- # wpml-name: 52aeab346895416e7ababa964b135420
37
- msgid "Are you sure you want to reset these settings to defaults?"
38
- msgstr "האם אתה בטוח רוצה לאפס את ההגדרות לברירת המחדל?"
39
-
40
- # 80 => __('eighty', 'math-captcha'),
41
- # 90 => __('ninety', 'math-captcha')
42
- # );
43
- # wpml-name: 2a08e96cadfba8bfb49c392bd4ec27a7
44
- msgid "ninety"
45
- msgstr "תשעים"
46
-
47
- # 70 => __('seventy', 'math-captcha'),
48
- # 80 => __('eighty', 'math-captcha'),
49
- # 90 => __('ninety', 'math-captcha')
50
- # wpml-name: b82bb8f7ebdd7b8d823dcfba622ea1b7
51
- msgid "eighty"
52
- msgstr "שמונים"
53
-
54
- # 60 => __('sixty', 'math-captcha'),
55
- # 70 => __('seventy', 'math-captcha'),
56
- # 80 => __('eighty', 'math-captcha'),
57
- # wpml-name: 5456a19d6c110eaa6f65778cf4a98478
58
- msgid "seventy"
59
- msgstr "שבעים"
60
-
61
- # 50 => __('fifty', 'math-captcha'),
62
- # 60 => __('sixty', 'math-captcha'),
63
- # 70 => __('seventy', 'math-captcha'),
64
- # wpml-name: cd0dd38642b573594237123be25db01b
65
- msgid "sixty"
66
- msgstr "שישים"
67
-
68
- # 40 => __('forty', 'math-captcha'),
69
- # 50 => __('fifty', 'math-captcha'),
70
- # 60 => __('sixty', 'math-captcha'),
71
- # wpml-name: 97a9bccc3dd6254bd19760d42178ace9
72
- msgid "fifty"
73
- msgstr "חמישים"
74
-
75
- # 30 => __('thirty', 'math-captcha'),
76
- # 40 => __('forty', 'math-captcha'),
77
- # 50 => __('fifty', 'math-captcha'),
78
- # wpml-name: 2b54fd1b555329a0f52e197e54903aca
79
- msgid "forty"
80
- msgstr "ארבעים"
81
-
82
- # 20 => __('twenty', 'math-captcha'),
83
- # 30 => __('thirty', 'math-captcha'),
84
- # 40 => __('forty', 'math-captcha'),
85
- # wpml-name: 1a3161e2ddd0c76177d617fa103d8453
86
- msgid "thirty"
87
- msgstr "שלושים"
88
-
89
- # 19 => __('nineteen', 'math-captcha'),
90
- # 20 => __('twenty', 'math-captcha'),
91
- # 30 => __('thirty', 'math-captcha'),
92
- # wpml-name: ab389edaabf8d841f5719d0cf64006a3
93
- msgid "twenty"
94
- msgstr "עשרים"
95
-
96
- # 18 => __('eighteen', 'math-captcha'),
97
- # 19 => __('nineteen', 'math-captcha'),
98
- # 20 => __('twenty', 'math-captcha'),
99
- # wpml-name: 1d56cec552bf111de57687e4b5f8c795
100
- msgid "nineteen"
101
- msgstr "תשע עשרה"
102
-
103
- # 17 => __('seventeen', 'math-captcha'),
104
- # 18 => __('eighteen', 'math-captcha'),
105
- # 19 => __('nineteen', 'math-captcha'),
106
- # wpml-name: 2cbdaf9ce47a2c4adbd1fd578a192c58
107
- msgid "eighteen"
108
- msgstr "שמונה עשרה"
109
-
110
- # 16 => __('sixteen', 'math-captcha'),
111
- # 17 => __('seventeen', 'math-captcha'),
112
- # 18 => __('eighteen', 'math-captcha'),
113
- # wpml-name: 2e457d2f9f38af419f5a34092cba8438
114
- msgid "seventeen"
115
- msgstr "שבע עשרה"
116
-
117
- # 15 => __('fifteen', 'math-captcha'),
118
- # 16 => __('sixteen', 'math-captcha'),
119
- # 17 => __('seventeen', 'math-captcha'),
120
- # wpml-name: bd2c775d9eaf5f71da52b55ade9989a4
121
- msgid "sixteen"
122
- msgstr "שש עשרה"
123
-
124
- # 14 => __('fourteen', 'math-captcha'),
125
- # 15 => __('fifteen', 'math-captcha'),
126
- # 16 => __('sixteen', 'math-captcha'),
127
- # wpml-name: 92a2132e0190d6e582f13376ddc660d5
128
- msgid "fifteen"
129
- msgstr "חמש עשרה"
130
-
131
- # 13 => __('thirteen', 'math-captcha'),
132
- # 14 => __('fourteen', 'math-captcha'),
133
- # 15 => __('fifteen', 'math-captcha'),
134
- # wpml-name: 279e962ea623aa2a3a86739622772e1f
135
- msgid "fourteen"
136
- msgstr "ארבע עשרה"
137
-
138
- # 12 => __('twelve', 'math-captcha'),
139
- # 13 => __('thirteen', 'math-captcha'),
140
- # 14 => __('fourteen', 'math-captcha'),
141
- # wpml-name: 422ecc084f2458defc620ecebf2a6448
142
- msgid "thirteen"
143
- msgstr "שלש עשרה"
144
-
145
- # 11 => __('eleven', 'math-captcha'),
146
- # 12 => __('twelve', 'math-captcha'),
147
- # 13 => __('thirteen', 'math-captcha'),
148
- # wpml-name: 15f6f8dc036519d7fe15b39338f6e5db
149
- msgid "twelve"
150
- msgstr "שתים עשרה"
151
-
152
- # 10 => __('ten', 'math-captcha'),
153
- # 11 => __('eleven', 'math-captcha'),
154
- # 12 => __('twelve', 'math-captcha'),
155
- # wpml-name: 9c8454ddf7aa50116496bac348d7550d
156
- msgid "eleven"
157
- msgstr "אחת עשרה"
158
-
159
- # 9 => __('nine', 'math-captcha'),
160
- # 10 => __('ten', 'math-captcha'),
161
- # 11 => __('eleven', 'math-captcha'),
162
- # wpml-name: b1b9a972ccd8c962a473909b97007eb4
163
- msgid "ten"
164
- msgstr "עשר"
165
-
166
- # 8 => __('eight', 'math-captcha'),
167
- # 9 => __('nine', 'math-captcha'),
168
- # 10 => __('ten', 'math-captcha'),
169
- # wpml-name: c785e1ed2950e3e36b1e2ca01f299a54
170
- msgid "nine"
171
- msgstr "תשע"
172
-
173
- # 7 => __('seven', 'math-captcha'),
174
- # 8 => __('eight', 'math-captcha'),
175
- # 9 => __('nine', 'math-captcha'),
176
- # wpml-name: 24d27c169c2c881eb09a065116f2aa5c
177
- msgid "eight"
178
- msgstr "שמונה"
179
-
180
- # 6 => __('six', 'math-captcha'),
181
- # 7 => __('seven', 'math-captcha'),
182
- # 8 => __('eight', 'math-captcha'),
183
- # wpml-name: bb3aec0fdcdbc2974890f805c585d432
184
- msgid "seven"
185
- msgstr "שבע"
186
-
187
- # 5 => __('five', 'math-captcha'),
188
- # 6 => __('six', 'math-captcha'),
189
- # 7 => __('seven', 'math-captcha'),
190
- # wpml-name: f52b5e449a2303c031a0c3a1109360bf
191
- msgid "six"
192
- msgstr "שש"
193
-
194
- # 4 => __('four', 'math-captcha'),
195
- # 5 => __('five', 'math-captcha'),
196
- # 6 => __('six', 'math-captcha'),
197
- # wpml-name: 30056e1cab7a61d256fc8edd970d14f5
198
- msgid "five"
199
- msgstr "חמש"
200
-
201
- # 3 => __('three', 'math-captcha'),
202
- # 4 => __('four', 'math-captcha'),
203
- # 5 => __('five', 'math-captcha'),
204
- # wpml-name: 8cbad96aced40b3838dd9f07f6ef5772
205
- msgid "four"
206
- msgstr "ארבע"
207
-
208
- # 2 => __('two', 'math-captcha'),
209
- # 3 => __('three', 'math-captcha'),
210
- # 4 => __('four', 'math-captcha'),
211
- # wpml-name: 35d6d33467aae9a2e3dccb4b6b027878
212
- msgid "three"
213
- msgstr "שלש"
214
-
215
- # 1 => __('one', 'math-captcha'),
216
- # 2 => __('two', 'math-captcha'),
217
- # 3 => __('three', 'math-captcha'),
218
- # wpml-name: b8a9f715dbb64fd5c56e7783c6820a61
219
- msgid "two"
220
- msgstr "שתיים"
221
-
222
- # $words = array(
223
- # 1 => __('one', 'math-captcha'),
224
- # 2 => __('two', 'math-captcha'),
225
- # wpml-name: f97c5d29941bfb1b2fdab0874906ab82
226
- msgid "one"
227
- msgstr "אחת"
228
-
229
- # 'wrong' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Invalid captcha value.', 'math-captcha'),
230
- # 'time' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Captcha time expired.', 'math-captcha')
231
- # );
232
- # wpml-name: bb1ca97ec761fc37101737ba0aa2e7c5
233
- msgid "ERROR"
234
- msgstr "שגיאה"
235
-
236
- # <div class="tg-tag">
237
- # '.esc_html(__('Copy this code and paste it into the form left.', 'math-captcha')).'<br />
238
- # <input type="text" name="mathcaptcha" class="tag" readonly="readonly" onfocus="this.select()" />
239
- # wpml-name: 654b69e787fe8b5bb59c4f0c0eb0aa99
240
- msgid "Copy this code and paste it into the form left."
241
- msgstr "נא להעתיק קוד זה לשדה קוד האימות."
242
-
243
- # <td>
244
- # <code>class</code> ('.esc_html(__('optional', 'math-captcha')).')<br />
245
- # <input type="text" name="class" class="classvalue oneline option" />
246
- # wpml-name: d57c24f3fe52d16e7169b912dd647f0d
247
- msgid "optional"
248
- msgstr "רשות"
249
-
250
- # <table class="scope mathcaptcha">
251
- # <caption>'.esc_html(__('Input field settings', 'math-captcha')).'</caption>
252
- # <tr>
253
- # wpml-name: 2d4fb1895f6c380c74480ec133a15230
254
- msgid "Input field settings"
255
- msgstr "הגדרות שדות קלט"
256
-
257
- # <td>
258
- # '.esc_html(__('Name', 'math-captcha')).'<br />
259
- # <input type="text" name="name" class="tg-name oneline" />
260
- # wpml-name: 49ee3087348e8d44e1feda1917443987
261
- msgid "Name"
262
- msgstr "שם"
263
-
264
- # 'wrong' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Invalid captcha value.', 'math-captcha'),
265
- # 'time' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Captcha time expired.', 'math-captcha')
266
- # );
267
- # wpml-name: 0307ffef0062e37562d39f4da3f5317c
268
- msgid "Captcha time expired."
269
- msgstr "קוד האימות מתפוגג עם הזמן."
270
-
271
- # $this->error_messages = array(
272
- # 'fill' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Please enter captcha value.', 'math-captcha'),
273
- # 'wrong' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Invalid captcha value.', 'math-captcha'),
274
- # wpml-name: 749eb4e4ddab5da2ac0ae09c482eff29
275
- msgid "Please enter captcha value."
276
- msgstr "נא להזין ערך קוד אימות."
277
-
278
- # 'fill' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Please enter captcha value.', 'math-captcha'),
279
- # 'wrong' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Invalid captcha value.', 'math-captcha'),
280
- # 'time' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Captcha time expired.', 'math-captcha')
281
- # wpml-name: ff179f40f37ce3821090ba5dacd375fa
282
- msgid "Invalid captcha value."
283
- msgstr "ערך קוד אימות שגוי."
284
-
285
- #
286
- # add_settings_error('settings', 'settings_reset', __('Settings restored to defaults.', 'math-captcha'), 'updated');
287
- # }
288
- # wpml-name: 505ae664397d960d95676dc6bdfde2c7
289
- msgid "Settings restored to defaults."
290
- msgstr "ההגדרות אופסו לברירת המחדל."
291
-
292
- # {
293
- # add_settings_error('empty-groups', 'settings_updated', __('You need to check at least one group. Defaults settings of this option restored.', 'math-captcha'), 'error');
294
- #
295
- # wpml-name: 977458b0797e949d3bfa4610a3b37e16
296
- msgid "You need to check at least one group. Defaults settings of this option restored."
297
- msgstr "עליך לסמן לפחות קבוצה אחת. הגדרות ברירת המחדל לאפשרות זו שוחזרו."
298
-
299
- # {
300
- # add_settings_error('empty-operations', 'settings_updated', __('You need to check at least one mathematical operation. Defaults settings of this option restored.', 'math-captcha'), 'error');
301
- #
302
- # wpml-name: f9bbe70f3af2ee059ea7d97076799605
303
- msgid "You need to check at least one mathematical operation. Defaults settings of this option restored."
304
- msgstr "עליך לסמן לפחות פעולה מתמטית אחת. ברירת המחדל עבור אפשרות זו שוחזרה."
305
-
306
- # <br/>
307
- # <span class="description">'.__('Delete settings on plugin deactivation', 'math-captcha').'</span>
308
- # </fieldset>
309
- # wpml-name: f90dea0b02b46e84b6bdc9f7e12b33b7
310
- msgid "Delete settings on plugin deactivation"
311
- msgstr "מחק את ההגדרות עם כיבוי התוסף"
312
-
313
- # <fieldset>
314
- # <input id="mc-general-deactivation-delete" type="checkbox" name="math_captcha_options[deactivation_delete]" '.checked(true, Math_Captcha()->options['general']['deactivation_delete'], false).'/><label for="mc-general-deactivation-delete">'.__('Delete settings on plugin deactivation.', 'math-captcha').'</label>
315
- # <br/>
316
- # wpml-name: bd5a31b5d217f167c3e39ad218cc8106
317
- msgid "Delete settings on plugin deactivation."
318
- msgstr "מחק את ההגדרות עם כיבוי התוסף."
319
-
320
- # <br/>
321
- # <span class="description">'.__('Blocks direct access to wp-comments-post.php. Enable this to prevent spambots from posting to Wordpress via a URL.', 'math-captcha').'</span>
322
- # </fieldset>
323
- # wpml-name: d04ea48b32b98406c2141b6124fc6817
324
- msgid "Blocks direct access to wp-comments-post.php. Enable this to prevent spambots from posting to Wordpress via a URL."
325
- msgstr "חוסם פניות ישירות לקובץ wp-comments-post.php. הפעל אפשרות זו כדי למנוע בוטים של תגובות זבל מלפרסם תגובות לאתר באמצעות כתובת URL."
326
-
327
- # <br/>
328
- # <span class="description">'.__('Enter the time (in seconds) a user has to enter captcha value.', 'math-captcha').'</span>
329
- # </fieldset>
330
- # wpml-name: 51e6380cf3f45b437d094e76881b4468
331
- msgid "Enter the time (in seconds) a user has to enter captcha value."
332
- msgstr "הזן את הזמן (בשניות) שיש למשתמש להזין ערך קוד אימות."
333
-
334
- # <br/>
335
- # <span class="description">'.__('How to entitle field with captcha?', 'math-captcha').'</span>
336
- # </fieldset>
337
- # wpml-name: fd88b78ab074a5ac0ef12dbc649e9abb
338
- msgid "How to entitle field with captcha?"
339
- msgstr "איך לכנות את השדה עם קוד האימות?"
340
-
341
- # <br/>
342
- # <span class="description">'.__('Select how you\'d like to display you captcha.', 'math-captcha').'</span>
343
- # </fieldset>
344
- # wpml-name: 1bdd1bc404a81c2bc5592e6151719c2d
345
- msgid "Select how you'd like to display you captcha."
346
- msgstr "בחר כיצד להציג את קוד האימות שלך."
347
-
348
- # <br/>
349
- # <span class="description">'.__('Select which mathematical operations to use in your captcha.', 'math-captcha').'</span>
350
- # </fieldset>
351
- # wpml-name: 64cd7fea4ed4bf54afda2832241ac72a
352
- msgid "Select which mathematical operations to use in your captcha."
353
- msgstr "בחר אילו פעולות מתמטיות יופיעו בקוד האימות שלך."
354
-
355
- # <br/>
356
- # <span class="description">'.__('Would you like to hide captcha for logged in users?', 'math-captcha').'</span>
357
- # </fieldset>
358
- # wpml-name: d81a5787a7d626d43e202d49cf1e4f80
359
- msgid "Would you like to hide captcha for logged in users?"
360
- msgstr "האם תרצה להסתיר את קוד האימות ממשתמשים מחוברים?"
361
-
362
- # <fieldset>
363
- # <input id="mc-general-hide-for-logged" type="checkbox" name="math_captcha_options[hide_for_logged_users]" '.checked(true, Math_Captcha()->options['general']['hide_for_logged_users'], false).'/><label for="mc-general-hide-for-logged">'.__('Enable to hide captcha for logged in users.', 'math-captcha').'</label>
364
- # <br/>
365
- # wpml-name: 959daaa098fa3068baae9406c817a777
366
- msgid "Enable to hide captcha for logged in users."
367
- msgstr "הפעל הסתרת קוד אימות ממשתמשים מחוברים."
368
-
369
- # <br/>
370
- # <span class="description">'.__('Select where you\'d like to use Math Captcha.', 'math-captcha').'</span>
371
- # </fieldset>
372
- # wpml-name: 4e431a984f89910efa559298a52f4e71
373
- msgid "Select where you'd like to use Math Captcha."
374
- msgstr "בחר היכן ברצונך להשתמש בקוד האימות."
375
-
376
- # add_settings_field('mc_general_block_direct_comments', __('Block Direct Comments', 'math-captcha'), array(&$this, 'mc_general_block_direct_comments'), 'math_captcha_options', 'math_captcha_settings');
377
- # add_settings_field('mc_general_deactivation_delete', __('Deactivation', 'math-captcha'), array(&$this, 'mc_general_deactivation_delete'), 'math_captcha_options', 'math_captcha_settings');
378
- # }
379
- # wpml-name: 142b518220d1a501f6ebc72daf0c218d
380
- msgid "Deactivation"
381
- msgstr "כיבוי"
382
-
383
- # add_settings_field('mc_general_time', __('Captcha time', 'math-captcha'), array(&$this, 'mc_general_time'), 'math_captcha_options', 'math_captcha_settings');
384
- # add_settings_field('mc_general_block_direct_comments', __('Block Direct Comments', 'math-captcha'), array(&$this, 'mc_general_block_direct_comments'), 'math_captcha_options', 'math_captcha_settings');
385
- # add_settings_field('mc_general_deactivation_delete', __('Deactivation', 'math-captcha'), array(&$this, 'mc_general_deactivation_delete'), 'math_captcha_options', 'math_captcha_settings');
386
- # wpml-name: 841f335fba6373e35b7222b1e84cd499
387
- msgid "Block Direct Comments"
388
- msgstr "חסום תגובות ישירות"
389
-
390
- # add_settings_field('mc_general_title', __('Captcha field title', 'math-captcha'), array(&$this, 'mc_general_title'), 'math_captcha_options', 'math_captcha_settings');
391
- # add_settings_field('mc_general_time', __('Captcha time', 'math-captcha'), array(&$this, 'mc_general_time'), 'math_captcha_options', 'math_captcha_settings');
392
- # add_settings_field('mc_general_block_direct_comments', __('Block Direct Comments', 'math-captcha'), array(&$this, 'mc_general_block_direct_comments'), 'math_captcha_options', 'math_captcha_settings');
393
- # wpml-name: 70c8d8d94510188f642d39cc1a1c9095
394
- msgid "Captcha time"
395
- msgstr "זמן קוד אימות"
396
-
397
- # add_settings_field('mc_general_groups', __('Display captcha as', 'math-captcha'), array(&$this, 'mc_general_groups'), 'math_captcha_options', 'math_captcha_settings');
398
- # add_settings_field('mc_general_title', __('Captcha field title', 'math-captcha'), array(&$this, 'mc_general_title'), 'math_captcha_options', 'math_captcha_settings');
399
- # add_settings_field('mc_general_time', __('Captcha time', 'math-captcha'), array(&$this, 'mc_general_time'), 'math_captcha_options', 'math_captcha_settings');
400
- # wpml-name: 68842c137e68b171718405cfcd53864f
401
- msgid "Captcha field title"
402
- msgstr "שדה כותרת קוד האימות"
403
-
404
- # add_settings_field('mc_general_mathematical_operations', __('Mathematical operations', 'math-captcha'), array(&$this, 'mc_general_mathematical_operations'), 'math_captcha_options', 'math_captcha_settings');
405
- # add_settings_field('mc_general_groups', __('Display captcha as', 'math-captcha'), array(&$this, 'mc_general_groups'), 'math_captcha_options', 'math_captcha_settings');
406
- # add_settings_field('mc_general_title', __('Captcha field title', 'math-captcha'), array(&$this, 'mc_general_title'), 'math_captcha_options', 'math_captcha_settings');
407
- # wpml-name: f0e27627f15b64d4dd00e0372a3355a4
408
- msgid "Display captcha as"
409
- msgstr "הצג קוד אימות כ"
410
-
411
- # add_settings_field('mc_general_hide_for_logged_users', __('Hide for logged in users', 'math-captcha'), array(&$this, 'mc_general_hide_for_logged_users'), 'math_captcha_options', 'math_captcha_settings');
412
- # add_settings_field('mc_general_mathematical_operations', __('Mathematical operations', 'math-captcha'), array(&$this, 'mc_general_mathematical_operations'), 'math_captcha_options', 'math_captcha_settings');
413
- # add_settings_field('mc_general_groups', __('Display captcha as', 'math-captcha'), array(&$this, 'mc_general_groups'), 'math_captcha_options', 'math_captcha_settings');
414
- # wpml-name: fb3595af27ed8bd142c95323c0dab340
415
- msgid "Mathematical operations"
416
- msgstr "פעולות מתמטיות"
417
-
418
- # add_settings_field('mc_general_enable_captcha_for', __('Enable Math Captcha for', 'math-captcha'), array(&$this, 'mc_general_enable_captcha_for'), 'math_captcha_options', 'math_captcha_settings');
419
- # add_settings_field('mc_general_hide_for_logged_users', __('Hide for logged in users', 'math-captcha'), array(&$this, 'mc_general_hide_for_logged_users'), 'math_captcha_options', 'math_captcha_settings');
420
- # add_settings_field('mc_general_mathematical_operations', __('Mathematical operations', 'math-captcha'), array(&$this, 'mc_general_mathematical_operations'), 'math_captcha_options', 'math_captcha_settings');
421
- # wpml-name: 118879d11615ba2420695e34ebe24d49
422
- msgid "Hide for logged in users"
423
- msgstr "הסתר ממשתמשים מחוברים"
424
-
425
- # add_settings_section('math_captcha_settings', __('Math Captcha settings', 'math-captcha'), '', 'math_captcha_options');
426
- # add_settings_field('mc_general_enable_captcha_for', __('Enable Math Captcha for', 'math-captcha'), array(&$this, 'mc_general_enable_captcha_for'), 'math_captcha_options', 'math_captcha_settings');
427
- # add_settings_field('mc_general_hide_for_logged_users', __('Hide for logged in users', 'math-captcha'), array(&$this, 'mc_general_hide_for_logged_users'), 'math_captcha_options', 'math_captcha_settings');
428
- # wpml-name: 0c0284f63b2333e4877146fc2a4f0580
429
- msgid "Enable Math Captcha for"
430
- msgstr "הפעל קוד אימות עבור"
431
-
432
- # register_setting('math_captcha_options', 'math_captcha_options', array(&$this, 'validate_settings'));
433
- # add_settings_section('math_captcha_settings', __('Math Captcha settings', 'math-captcha'), '', 'math_captcha_options');
434
- # add_settings_field('mc_general_enable_captcha_for', __('Enable Math Captcha for', 'math-captcha'), array(&$this, 'mc_general_enable_captcha_for'), 'math_captcha_options', 'math_captcha_settings');
435
- # wpml-name: ed80d6ebe9b6c7e2d58791102f860e1e
436
- msgid "Math Captcha settings"
437
- msgstr "הגדרות קוד אימות"
438
-
439
- #
440
- # submit_button(__('Reset to defaults', 'math-captcha'), 'secondary reset_mc_settings', 'reset_mc_general', false);
441
- #
442
- # wpml-name: 21e2bb42873eddcb9b476b8eafbe0c18
443
- msgid "Reset to defaults"
444
- msgstr "איפוס להגדרות ברירת המחדל"
445
-
446
- # __('Blog about it & link to the', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br/>'.
447
- # __('Check out our other', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="'.__('WordPress plugins', 'math-captcha').'">'.__('WordPress plugins', 'math-captcha').'</a>
448
- # </p>
449
- # wpml-name: b5f7ccb06aac73d562f608432419984f
450
- msgid "WordPress plugins"
451
- msgstr "תוספי וורדפרס שלנו"
452
-
453
- # __('Blog about it & link to the', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br/>'.
454
- # __('Check out our other', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="'.__('WordPress plugins', 'math-captcha').'">'.__('WordPress plugins', 'math-captcha').'</a>
455
- # </p>
456
- # wpml-name: d441f42d18b3436b5dced81f65942cb3
457
- msgid "Check out our other"
458
- msgstr "בדוק עוד"
459
-
460
- # <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="'.__('Rate it 5', 'math-captcha').'">'.__('Rate it 5', 'math-captcha').'</a> '.__('on WordPress.org', 'math-captcha').'<br/>'.
461
- # __('Blog about it & link to the', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br/>'.
462
- # __('Check out our other', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="'.__('WordPress plugins', 'math-captcha').'">'.__('WordPress plugins', 'math-captcha').'</a>
463
- # wpml-name: aea33adedbe687186a07d5eeb8f7532d
464
- msgid "plugin page"
465
- msgstr "דף התוסף"
466
-
467
- # <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="'.__('Rate it 5', 'math-captcha').'">'.__('Rate it 5', 'math-captcha').'</a> '.__('on WordPress.org', 'math-captcha').'<br/>'.
468
- # __('Blog about it & link to the', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br/>'.
469
- # __('Check out our other', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="'.__('WordPress plugins', 'math-captcha').'">'.__('WordPress plugins', 'math-captcha').'</a>
470
- # wpml-name: 12c59d2144988f54887561fd5d07bd15
471
- msgid "Blog about it & link to the"
472
- msgstr "הפץ את זה וקשר ל"
473
-
474
- # <h4 class="inner">'.__('Do you like this plugin?', 'math-captcha').'</h4>
475
- # <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="'.__('Rate it 5', 'math-captcha').'">'.__('Rate it 5', 'math-captcha').'</a> '.__('on WordPress.org', 'math-captcha').'<br/>'.
476
- # __('Blog about it & link to the', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br/>'.
477
- # wpml-name: a56dc830655cfe3ea6ec18bed27290b2
478
- msgid "on WordPress.org"
479
- msgstr "ב WordPress.org"
480
-
481
- # <h4 class="inner">'.__('Do you like this plugin?', 'math-captcha').'</h4>
482
- # <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="'.__('Rate it 5', 'math-captcha').'">'.__('Rate it 5', 'math-captcha').'</a> '.__('on WordPress.org', 'math-captcha').'<br/>'.
483
- # __('Blog about it & link to the', 'math-captcha').' <a href="http://www.dfactory.eu/plugins/math-captcha/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br/>'.
484
- # wpml-name: b9933f69a39bb5385a7533195b9ddb1c
485
- msgid "Rate it 5"
486
- msgstr "דרג את זה 5"
487
-
488
- # <hr/>
489
- # <h4 class="inner">'.__('Do you like this plugin?', 'math-captcha').'</h4>
490
- # <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="'.__('Rate it 5', 'math-captcha').'">'.__('Rate it 5', 'math-captcha').'</a> '.__('on WordPress.org', 'math-captcha').'<br/>'.
491
- # wpml-name: acee3a6f37049e783fd1a4f32d91ecf2
492
- msgid "Do you like this plugin?"
493
- msgstr "האם אתה אוהב את התוסף?"
494
-
495
- # <h4 class="inner">'.__('Need support?', 'math-captcha').'</h4>
496
- # <p class="inner">'.__('If you are having problems with this plugin, please talk about them in the', 'math-captcha').' <a href="http://www.dfactory.eu/support/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=support" target="_blank" title="'.__('Support forum','math-captcha').'">'.__('Support forum', 'math-captcha').'</a></p>
497
- # <hr/>
498
- # wpml-name: cc1f1c9c830fc864d17ca868906b9888
499
- msgid "Support forum"
500
- msgstr "פורום תמיכה"
501
-
502
- # <h4 class="inner">'.__('Need support?', 'math-captcha').'</h4>
503
- # <p class="inner">'.__('If you are having problems with this plugin, please talk about them in the', 'math-captcha').' <a href="http://www.dfactory.eu/support/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=support" target="_blank" title="'.__('Support forum','math-captcha').'">'.__('Support forum', 'math-captcha').'</a></p>
504
- # <hr/>
505
- # wpml-name: 59f672d449c7bf54a3bc0a52a15bb1ef
506
- msgid "If you are having problems with this plugin, please talk about them in the"
507
- msgstr "אם יש לך בעיות עם התוסף, נא להעלות אותן ב"
508
-
509
- # <div class="inside">
510
- # <h4 class="inner">'.__('Need support?', 'math-captcha').'</h4>
511
- # <p class="inner">'.__('If you are having problems with this plugin, please talk about them in the', 'math-captcha').' <a href="http://www.dfactory.eu/support/?utm_source=math-captcha-settings&utm_medium=link&utm_campaign=support" target="_blank" title="'.__('Support forum','math-captcha').'">'.__('Support forum', 'math-captcha').'</a></p>
512
- # wpml-name: 1ce6a536b250322c39855d2bc9196576
513
- msgid "Need support?"
514
- msgstr "זקוק לתמיכה?"
515
-
516
- #
517
- # wpcf7_add_tag_generator('mathcaptcha', __('Math Captcha', 'math-captcha'), 'wpcf7-mathcaptcha', 'wpcf7_tg_pane_mathcaptcha');
518
- # }
519
- # wpml-name: 7157739afaa87082cfcb7ceac32e9558
520
- msgid "Math Captcha"
521
- msgstr "קוד אימות מתמטי"
522
-
523
- # 'numbers' => __('numbers', 'math-captcha'),
524
- # 'words' => __('words', 'math-captcha')
525
- # );
526
- # wpml-name: 89759e1284e2479b991d2669de104942
527
- msgid "words"
528
- msgstr "מילים"
529
-
530
- # $this->groups = array(
531
- # 'numbers' => __('numbers', 'math-captcha'),
532
- # 'words' => __('words', 'math-captcha')
533
- # wpml-name: ee5c35ce3d081da90622a10d2272ed5e
534
- msgid "numbers"
535
- msgstr "ספרות"
536
-
537
- # 'multiplication' => __('multiplication (&#215;)', 'math-captcha'),
538
- # 'division' => __('division (&#247;)', 'math-captcha')
539
- # );
540
- # wpml-name: a0f967854e8e4178e3ffc270863aacf0
541
- msgid "division (&#247;)"
542
- msgstr "חילוק (÷)"
543
-
544
- # 'subtraction' => __('subtraction (-)', 'math-captcha'),
545
- # 'multiplication' => __('multiplication (&#215;)', 'math-captcha'),
546
- # 'division' => __('division (&#247;)', 'math-captcha')
547
- # wpml-name: 7df1c24b644df15e2a9e86a58e33d85c
548
- msgid "multiplication (&#215;)"
549
- msgstr "כפל (×)"
550
-
551
- # 'addition' => __('addition (+)', 'math-captcha'),
552
- # 'subtraction' => __('subtraction (-)', 'math-captcha'),
553
- # 'multiplication' => __('multiplication (&#215;)', 'math-captcha'),
554
- # wpml-name: 0edd9b97a1df4f31fc0b1386b243e7c7
555
- msgid "subtraction (-)"
556
- msgstr "חיסור (-)"
557
-
558
- # $this->mathematical_operations = array(
559
- # 'addition' => __('addition (+)', 'math-captcha'),
560
- # 'subtraction' => __('subtraction (-)', 'math-captcha'),
561
- # wpml-name: 80cf10d993db20a3c5474b2718c59547
562
- msgid "addition (+)"
563
- msgstr "חיבור (+)"
564
-
565
- # 'bbpress' => __('bbpress', 'math-captcha'),
566
- # 'contact_form_7' => __('contact form 7', 'math-captcha')
567
- # );
568
- # wpml-name: 50c9c0dca0303ee63cc47b5cae058317
569
- msgid "contact form 7"
570
- msgstr "contact form 7"
571
-
572
- # 'comment_form' => __('comment form', 'math-captcha'),
573
- # 'bbpress' => __('bbpress', 'math-captcha'),
574
- # 'contact_form_7' => __('contact form 7', 'math-captcha')
575
- # wpml-name: 0c390ae9909d8b87af27dd01f911d336
576
- msgid "bbpress"
577
- msgstr "bbpress"
578
-
579
- # 'reset_password_form' => __('reset password form', 'math-captcha'),
580
- # 'comment_form' => __('comment form', 'math-captcha'),
581
- # 'bbpress' => __('bbpress', 'math-captcha'),
582
- # wpml-name: 0c0dd539dea86a1a87c1ecacf8a043fb
583
- msgid "comment form"
584
- msgstr "טופס תגובה"
585
-
586
- # 'registration_form' => __('registration form', 'math-captcha'),
587
- # 'reset_password_form' => __('reset password form', 'math-captcha'),
588
- # 'comment_form' => __('comment form', 'math-captcha'),
589
- # wpml-name: 3e2f35c5277b04a9029910d58c964ae6
590
- msgid "reset password form"
591
- msgstr "טופס איפוס סיסמה"
592
-
593
- # 'login_form' => __('login form', 'math-captcha'),
594
- # 'registration_form' => __('registration form', 'math-captcha'),
595
- # 'reset_password_form' => __('reset password form', 'math-captcha'),
596
- # wpml-name: af9fc0aaff34d9e542827c64af415e2e
597
- msgid "registration form"
598
- msgstr "טופס הרשמה"
599
-
600
- # $this->forms = array(
601
- # 'login_form' => __('login form', 'math-captcha'),
602
- # 'registration_form' => __('registration form', 'math-captcha'),
603
- # wpml-name: 6526659b85b03313837b58adf2c918a0
604
- msgid "login form"
605
- msgstr "טופס התחברות"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: antispam, capcha, captcha, captha, catcha, comment, comments, spam, security, login, lost password, math captcha, registration, cf7, contact, contact forms, form, contact form 7, bbpress
5
  Requires at least: 4.0
6
- Tested up to: 4.3.1
7
- Stable tag: 1.2.6
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -28,21 +28,6 @@ For more information, check out the [plugin page](http://www.dfactory.eu/plugins
28
  * Option to set captcha input time
29
  * .pot file for translations included
30
 
31
- = Translations: =
32
-
33
- * Chinese - by xiaoyaole
34
- * Dutch - by [Monique](http://www.datisslimbedacht.nl)
35
- * French - by sil3r
36
- * German - by Stephan Hilchenbach
37
- * Hebrew - by [Ahrale Shrem](http://atar4u.com/)
38
- * Italian - by Alessandro Fiorotto
39
- * Japanese - by stranger-jp
40
- * Polish - by Bartosz Arendt
41
- * Persian - by [Ali Mirzaei](http://alimir.ir/)
42
- * Romanian - by [Robert M.](http://www.administrezimobile.net)
43
- * Russian - by Valery Ryaboshapko
44
- * Slovak - by [Ján Fajčák](http://fajo.name/)
45
-
46
  == Installation ==
47
 
48
  1. Install Math Captcha either via the WordPress.org plugin directory, or by uploading the files to your server
@@ -61,6 +46,10 @@ A. Chances are, someone else has asked it. Check out the support forum at: http:
61
 
62
  == Changelog ==
63
 
 
 
 
 
64
  = 1.2.6 =
65
  * Fix: Contact form 7 compatibility fix
66
 
@@ -136,5 +125,5 @@ A. Chances are, someone else has asked it. Check out the support forum at: http:
136
 
137
  == Upgrade Notice ==
138
 
139
- = 1.2.6 =
140
- * Fix: Contact form 7 compatibility fix
3
  Donate link: http://www.dfactory.eu/
4
  Tags: antispam, capcha, captcha, captha, catcha, comment, comments, spam, security, login, lost password, math captcha, registration, cf7, contact, contact forms, form, contact form 7, bbpress
5
  Requires at least: 4.0
6
+ Tested up to: 4.7
7
+ Stable tag: 1.2.7
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
28
  * Option to set captcha input time
29
  * .pot file for translations included
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  == Installation ==
32
 
33
  1. Install Math Captcha either via the WordPress.org plugin directory, or by uploading the files to your server
46
 
47
  == Changelog ==
48
 
49
+ = 1.2.7 =
50
+ * Fix: Contact form 7 compatibility fix
51
+ * Tweak: Removed local translation files in favor of WP repository translations.
52
+
53
  = 1.2.6 =
54
  * Fix: Contact form 7 compatibility fix
55
 
125
 
126
  == Upgrade Notice ==
127
 
128
+ = 1.2.7 =
129
+ * Fix: Contact form 7 compatibility fix * Tweak: Removed local translation files in favor of WP repository translations.
wp-math-captcha.php CHANGED
@@ -1,218 +1,230 @@
1
- <?php
2
- /*
3
- Plugin Name: Math Captcha
4
- Description: Math Captcha is a <strong>100% effective CAPTCHA for WordPress</strong> that integrates into login, registration, comments, Contact Form 7 and bbPress.
5
- Version: 1.2.6
6
- Author: dFactory
7
- Author URI: http://www.dfactory.eu/
8
- Plugin URI: http://www.dfactory.eu/plugins/math-captcha/
9
- License: MIT License
10
- License URI: http://opensource.org/licenses/MIT
11
- Text Domain: math-captcha
12
- Domain Path: /languages
13
-
14
- Math Captcha
15
- Copyright (C) 2013-2015, Digital Factory - info@digitalfactory.pl
16
-
17
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
- */
23
-
24
- if ( ! defined( 'ABSPATH' ) )
25
- exit;
26
-
27
- define( 'MATH_CAPTCHA_URL', plugins_url( '', __FILE__ ) );
28
- define( 'MATH_CAPTCHA_PATH', plugin_dir_path( __FILE__ ) );
29
- define( 'MATH_CAPTCHA_REL_PATH', dirname( plugin_basename( __FILE__ ) ) . '/' );
30
-
31
- include_once(MATH_CAPTCHA_PATH . 'includes/class-cookie-session.php');
32
- include_once(MATH_CAPTCHA_PATH . 'includes/class-update.php');
33
- include_once(MATH_CAPTCHA_PATH . 'includes/class-core.php');
34
- include_once(MATH_CAPTCHA_PATH . 'includes/class-settings.php');
35
-
36
- class Math_Captcha {
37
-
38
- private static $_instance;
39
- public $core;
40
- public $cookie_session;
41
- public $options;
42
- public $defaults = array(
43
- 'general' => array(
44
- 'enable_for' => array(
45
- 'login_form' => false,
46
- 'registration_form' => true,
47
- 'reset_password_form' => true,
48
- 'comment_form' => true,
49
- 'bbpress' => false,
50
- 'contact_form_7' => false
51
- ),
52
- 'block_direct_comments' => false,
53
- 'hide_for_logged_users' => true,
54
- 'title' => 'Math Captcha',
55
- 'mathematical_operations' => array(
56
- 'addition' => true,
57
- 'subtraction' => true,
58
- 'multiplication' => false,
59
- 'division' => false
60
- ),
61
- 'groups' => array(
62
- 'numbers' => true,
63
- 'words' => false
64
- ),
65
- 'time' => 300,
66
- 'deactivation_delete' => false,
67
- 'flush_rules' => false
68
- ),
69
- 'version' => '1.2.6'
70
- );
71
-
72
- public static function instance() {
73
- if ( self::$_instance === null )
74
- self::$_instance = new self();
75
-
76
- return self::$_instance;
77
- }
78
-
79
- private function __clone() {
80
-
81
- }
82
-
83
- private function __wakeup() {
84
-
85
- }
86
-
87
- /**
88
- *
89
- */
90
- public function __construct() {
91
- register_activation_hook( __FILE__, array( &$this, 'activation' ) );
92
- register_deactivation_hook( __FILE__, array( &$this, 'deactivation' ) );
93
-
94
- // settings
95
- $this->options = array(
96
- 'general' => array_merge( $this->defaults['general'], get_option( 'math_captcha_options', $this->defaults['general'] ) )
97
- );
98
-
99
- // actions
100
- add_action( 'plugins_loaded', array( &$this, 'load_textdomain' ) );
101
- add_action( 'admin_enqueue_scripts', array( &$this, 'admin_comments_scripts_styles' ) );
102
- add_action( 'wp_enqueue_scripts', array( &$this, 'frontend_comments_scripts_styles' ) );
103
- add_action( 'login_enqueue_scripts', array( &$this, 'frontend_comments_scripts_styles' ) );
104
-
105
- // filters
106
- add_filter( 'plugin_action_links', array( &$this, 'plugin_settings_link' ), 10, 2 );
107
- add_filter( 'plugin_row_meta', array( &$this, 'plugin_extend_links' ), 10, 2 );
108
- }
109
-
110
- /**
111
- * Activation
112
- */
113
- public function activation() {
114
- add_option( 'math_captcha_options', $this->defaults['general'], '', 'no' );
115
- add_option( 'math_captcha_version', $this->defaults['version'], '', 'no' );
116
- }
117
-
118
- /**
119
- * Deactivation
120
- */
121
- public function deactivation() {
122
- if ( $this->options['general']['deactivation_delete'] )
123
- delete_option( 'math_captcha_options' );
124
- }
125
-
126
- /**
127
- * Loads textdomain
128
- */
129
- public function load_textdomain() {
130
- load_plugin_textdomain( 'math-captcha', false, MATH_CAPTCHA_REL_PATH . 'languages/' );
131
- }
132
-
133
- /**
134
- * Enqueues scripts and styles (admin)
135
- */
136
- public function admin_comments_scripts_styles( $page ) {
137
- if ( $page === 'settings_page_math-captcha' ) {
138
- wp_register_style(
139
- 'math-captcha-admin', MATH_CAPTCHA_URL . '/css/admin.css'
140
- );
141
-
142
- wp_enqueue_style( 'math-captcha-admin' );
143
-
144
- wp_register_script(
145
- 'math-captcha-admin-settings', MATH_CAPTCHA_URL . '/js/admin-settings.js', array( 'jquery' )
146
- );
147
-
148
- wp_enqueue_script( 'math-captcha-admin-settings' );
149
-
150
- wp_localize_script(
151
- 'math-captcha-admin-settings', 'mcArgsSettings', array(
152
- 'resetToDefaults' => __( 'Are you sure you want to reset these settings to defaults?', 'math-captcha' )
153
- )
154
- );
155
- }
156
- }
157
-
158
- /**
159
- * Enqueues scripts and styles (frontend)
160
- */
161
- public function frontend_comments_scripts_styles( $page ) {
162
- wp_register_style(
163
- 'math-captcha-frontend', MATH_CAPTCHA_URL . '/css/frontend.css'
164
- );
165
-
166
- wp_enqueue_style( 'math-captcha-frontend' );
167
- }
168
-
169
- /**
170
- * Add links to Support Forum
171
- */
172
- public function plugin_extend_links( $links, $file ) {
173
- if ( ! current_user_can( 'install_plugins' ) )
174
- return $links;
175
-
176
- $plugin = plugin_basename( __FILE__ );
177
-
178
- if ( $file == $plugin ) {
179
- return array_merge(
180
- $links, array( sprintf( '<a href="http://www.dfactory.eu/support/forum/math-captcha/" target="_blank">%s</a>', __( 'Support', 'math-captcha' ) ) )
181
- );
182
- }
183
-
184
- return $links;
185
- }
186
-
187
- /**
188
- * Add links to Settings page
189
- */
190
- function plugin_settings_link( $links, $file ) {
191
- if ( ! is_admin() || ! current_user_can( 'manage_options' ) )
192
- return $links;
193
-
194
- static $plugin;
195
-
196
- $plugin = plugin_basename( __FILE__ );
197
-
198
- if ( $file == $plugin ) {
199
- $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php' ) . '?page=math-captcha', __( 'Settings', 'math-captcha' ) );
200
- array_unshift( $links, $settings_link );
201
- }
202
-
203
- return $links;
204
- }
205
-
206
- }
207
-
208
- function Math_Captcha() {
209
- static $instance;
210
-
211
- // first call to instance() initializes the plugin
212
- if ( $instance === null || ! ($instance instanceof Math_Captcha) )
213
- $instance = Math_Captcha::instance();
214
-
215
- return $instance;
216
- }
217
-
 
 
 
 
 
 
 
 
 
 
 
 
218
  Math_Captcha();
1
+ <?php
2
+ /*
3
+ Plugin Name: Math Captcha
4
+ Description: Math Captcha is a <strong>100% effective CAPTCHA for WordPress</strong> that integrates into login, registration, comments, Contact Form 7 and bbPress.
5
+ Version: 1.2.7
6
+ Author: dFactory
7
+ Author URI: http://www.dfactory.eu/
8
+ Plugin URI: http://www.dfactory.eu/plugins/math-captcha/
9
+ License: MIT License
10
+ License URI: http://opensource.org/licenses/MIT
11
+ Text Domain: math-captcha
12
+ Domain Path: /languages
13
+
14
+ Math Captcha
15
+ Copyright (C) 2013-2015, Digital Factory - info@digitalfactory.pl
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ */
23
+
24
+ // exit if accessed directly
25
+ if ( ! defined( 'ABSPATH' ) )
26
+ exit;
27
+
28
+ define( 'MATH_CAPTCHA_URL', plugins_url( '', __FILE__ ) );
29
+ define( 'MATH_CAPTCHA_PATH', plugin_dir_path( __FILE__ ) );
30
+ define( 'MATH_CAPTCHA_REL_PATH', dirname( plugin_basename( __FILE__ ) ) . '/' );
31
+
32
+ include_once(MATH_CAPTCHA_PATH . 'includes/class-cookie-session.php');
33
+ include_once(MATH_CAPTCHA_PATH . 'includes/class-update.php');
34
+ include_once(MATH_CAPTCHA_PATH . 'includes/class-core.php');
35
+ include_once(MATH_CAPTCHA_PATH . 'includes/class-settings.php');
36
+
37
+ /**
38
+ * Math Captcha class.
39
+ *
40
+ * @class Math_Captcha
41
+ * @version 1.2.7
42
+ */
43
+ class Math_Captcha {
44
+
45
+ private static $_instance;
46
+ public $core;
47
+ public $cookie_session;
48
+ public $options;
49
+ public $defaults = array(
50
+ 'general' => array(
51
+ 'enable_for' => array(
52
+ 'login_form' => false,
53
+ 'registration_form' => true,
54
+ 'reset_password_form' => true,
55
+ 'comment_form' => true,
56
+ 'bbpress' => false,
57
+ 'contact_form_7' => false
58
+ ),
59
+ 'block_direct_comments' => false,
60
+ 'hide_for_logged_users' => true,
61
+ 'title' => 'Math Captcha',
62
+ 'mathematical_operations' => array(
63
+ 'addition' => true,
64
+ 'subtraction' => true,
65
+ 'multiplication' => false,
66
+ 'division' => false
67
+ ),
68
+ 'groups' => array(
69
+ 'numbers' => true,
70
+ 'words' => false
71
+ ),
72
+ 'time' => 300,
73
+ 'deactivation_delete' => false,
74
+ 'flush_rules' => false
75
+ ),
76
+ 'version' => '1.2.7'
77
+ );
78
+
79
+ public static function instance() {
80
+ if ( self::$_instance === null )
81
+ self::$_instance = new self();
82
+
83
+ return self::$_instance;
84
+ }
85
+
86
+ private function __clone() {}
87
+ private function __wakeup() {}
88
+
89
+ /**
90
+ * Class constructor.
91
+ */
92
+ public function __construct() {
93
+ register_activation_hook( __FILE__, array( &$this, 'activation' ) );
94
+ register_deactivation_hook( __FILE__, array( &$this, 'deactivation' ) );
95
+
96
+ // settings
97
+ $this->options = array(
98
+ 'general' => array_merge( $this->defaults['general'], get_option( 'math_captcha_options', $this->defaults['general'] ) )
99
+ );
100
+
101
+ // actions
102
+ add_action( 'plugins_loaded', array( &$this, 'load_textdomain' ) );
103
+ add_action( 'admin_enqueue_scripts', array( &$this, 'admin_comments_scripts_styles' ) );
104
+ add_action( 'wp_enqueue_scripts', array( &$this, 'frontend_comments_scripts_styles' ) );
105
+ add_action( 'login_enqueue_scripts', array( &$this, 'frontend_comments_scripts_styles' ) );
106
+
107
+ // filters
108
+ add_filter( 'plugin_action_links', array( &$this, 'plugin_settings_link' ), 10, 2 );
109
+ add_filter( 'plugin_row_meta', array( &$this, 'plugin_extend_links' ), 10, 2 );
110
+ }
111
+
112
+ /**
113
+ * Activation.
114
+ */
115
+ public function activation() {
116
+ add_option( 'math_captcha_options', $this->defaults['general'], '', 'no' );
117
+ add_option( 'math_captcha_version', $this->defaults['version'], '', 'no' );
118
+ }
119
+
120
+ /**
121
+ * Deactivation.
122
+ */
123
+ public function deactivation() {
124
+ if ( $this->options['general']['deactivation_delete'] )
125
+ delete_option( 'math_captcha_options' );
126
+ }
127
+
128
+ /**
129
+ * Load plugin textdomain.
130
+ */
131
+ public function load_textdomain() {
132
+ load_plugin_textdomain( 'math-captcha', false, MATH_CAPTCHA_REL_PATH . 'languages/' );
133
+ }
134
+
135
+ /**
136
+ * Enqueue admin scripts and styles.
137
+ *
138
+ * @param string $page
139
+ */
140
+ public function admin_comments_scripts_styles( $page ) {
141
+ if ( $page === 'settings_page_math-captcha' ) {
142
+ wp_register_style(
143
+ 'math-captcha-admin', MATH_CAPTCHA_URL . '/css/admin.css'
144
+ );
145
+
146
+ wp_enqueue_style( 'math-captcha-admin' );
147
+
148
+ wp_register_script(
149
+ 'math-captcha-admin-settings', MATH_CAPTCHA_URL . '/js/admin-settings.js', array( 'jquery' )
150
+ );
151
+
152
+ wp_enqueue_script( 'math-captcha-admin-settings' );
153
+
154
+ wp_localize_script(
155
+ 'math-captcha-admin-settings', 'mcArgsSettings', array(
156
+ 'resetToDefaults' => __( 'Are you sure you want to reset these settings to defaults?', 'math-captcha' )
157
+ )
158
+ );
159
+ }
160
+ }
161
+
162
+ /**
163
+ * Enqueue frontend scripts and styles
164
+ */
165
+ public function frontend_comments_scripts_styles() {
166
+ wp_register_style(
167
+ 'math-captcha-frontend', MATH_CAPTCHA_URL . '/css/frontend.css'
168
+ );
169
+
170
+ wp_enqueue_style( 'math-captcha-frontend' );
171
+ }
172
+
173
+ /**
174
+ * Add links to support forum
175
+ *
176
+ * @param array $links
177
+ * @param string $file
178
+ * @return array
179
+ */
180
+ public function plugin_extend_links( $links, $file ) {
181
+ if ( ! current_user_can( 'install_plugins' ) )
182
+ return $links;
183
+
184
+ $plugin = plugin_basename( __FILE__ );
185
+
186
+ if ( $file == $plugin ) {
187
+ return array_merge(
188
+ $links, array( sprintf( '<a href="https://www.dfactory.eu/support/forum/math-captcha/" target="_blank">%s</a>', __( 'Support', 'math-captcha' ) ) )
189
+ );
190
+ }
191
+
192
+ return $links;
193
+ }
194
+
195
+ /**
196
+ * Add links to settings page
197
+ *
198
+ * @param array $links
199
+ * @param string $file
200
+ * @return array
201
+ */
202
+ function plugin_settings_link( $links, $file ) {
203
+ if ( ! is_admin() || ! current_user_can( 'manage_options' ) )
204
+ return $links;
205
+
206
+ static $plugin;
207
+
208
+ $plugin = plugin_basename( __FILE__ );
209
+
210
+ if ( $file == $plugin ) {
211
+ $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php' ) . '?page=math-captcha', __( 'Settings', 'math-captcha' ) );
212
+ array_unshift( $links, $settings_link );
213
+ }
214
+
215
+ return $links;
216
+ }
217
+
218
+ }
219
+
220
+ function Math_Captcha() {
221
+ static $instance;
222
+
223
+ // first call to instance() initializes the plugin
224
+ if ( $instance === null || ! ($instance instanceof Math_Captcha) )
225
+ $instance = Math_Captcha::instance();
226
+
227
+ return $instance;
228
+ }
229
+
230
  Math_Captcha();