Version Description
Download this release
Release Info
Developer | takayukister |
Plugin | Contact Form 7 |
Version | 4.1-beta |
Comparing to | |
See all releases |
Code changes from version 4.0.3 to 4.1-beta
- admin/css/styles.css +2 -3
- admin/includes/help-tabs.php +1 -1
- admin/includes/meta-boxes.php +20 -3
- admin/js/scripts.js +6 -0
- includes/contact-form-template.php +15 -1
- includes/functions.php +34 -1
- includes/js/scripts.js +57 -0
- includes/shortcodes.php +16 -0
- includes/submission.php +5 -22
- includes/validation.php +81 -0
- languages/contact-form-7-de_DE.mo +0 -0
- languages/contact-form-7-ja.mo +0 -0
- languages/contact-form-7-pt_PT.mo +0 -0
- languages/contact-form-7-tr_TR.mo +0 -0
- languages/contact-form-7.pot +243 -222
- modules/acceptance.php +1 -6
- modules/captcha.php +8 -6
- modules/checkbox.php +2 -9
- modules/count.php +57 -0
- modules/date.php +4 -12
- modules/file.php +5 -15
- modules/number.php +4 -12
- modules/quiz.php +9 -8
- modules/select.php +3 -9
- modules/text.php +32 -18
- modules/textarea.php +25 -7
- readme.txt +1 -1
- wp-contact-form-7.php +4 -4
admin/css/styles.css
CHANGED
@@ -136,9 +136,8 @@ label.disabled {
|
|
136 |
color: #777;
|
137 |
}
|
138 |
|
139 |
-
#messagesdiv
|
140 |
-
|
141 |
-
overflow: auto;
|
142 |
}
|
143 |
|
144 |
div.tag-generator {
|
136 |
color: #777;
|
137 |
}
|
138 |
|
139 |
+
#messagesdiv .hide-initially {
|
140 |
+
display: none;
|
|
|
141 |
}
|
142 |
|
143 |
div.tag-generator {
|
admin/includes/help-tabs.php
CHANGED
@@ -13,7 +13,7 @@ class WPCF7_Help_Tabs {
|
|
13 |
case 'list':
|
14 |
$this->screen->add_help_tab( array(
|
15 |
'id' => 'list_overview',
|
16 |
-
'title' => __( '
|
17 |
'content' => $this->content( 'list_overview' ) ) );
|
18 |
|
19 |
$this->screen->add_help_tab( array(
|
13 |
case 'list':
|
14 |
$this->screen->add_help_tab( array(
|
15 |
'id' => 'list_overview',
|
16 |
+
'title' => __( 'Overview', 'contact-form-7' ),
|
17 |
'content' => $this->content( 'list_overview' ) ) );
|
18 |
|
19 |
$this->screen->add_help_tab( array(
|
admin/includes/meta-boxes.php
CHANGED
@@ -96,16 +96,33 @@ function wpcf7_mail_meta_box( $post, $box ) {
|
|
96 |
}
|
97 |
|
98 |
function wpcf7_messages_meta_box( $post ) {
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
$field_name = 'wpcf7-message-' . strtr( $key, '_', '-' );
|
101 |
|
102 |
?>
|
103 |
<div class="message-field">
|
104 |
-
<label for="<?php echo $field_name; ?>"
|
105 |
<input type="text" id="<?php echo $field_name; ?>" name="<?php echo $field_name; ?>" class="wide" size="70" value="<?php echo esc_attr( $post->message( $key, false ) ); ?>" />
|
106 |
</div>
|
107 |
<?php
|
108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
}
|
110 |
|
111 |
function wpcf7_additional_settings_meta_box( $post ) {
|
96 |
}
|
97 |
|
98 |
function wpcf7_messages_meta_box( $post ) {
|
99 |
+
$updated = isset( $_REQUEST['message'] )
|
100 |
+
&& in_array( $_REQUEST['message'], array( 'saved', 'created' ) );
|
101 |
+
$count = 0;
|
102 |
+
$messages = wpcf7_messages();
|
103 |
+
|
104 |
+
foreach ( $messages as $key => $arr ) {
|
105 |
+
$count += 1;
|
106 |
$field_name = 'wpcf7-message-' . strtr( $key, '_', '-' );
|
107 |
|
108 |
?>
|
109 |
<div class="message-field">
|
110 |
+
<p class="description"><label for="<?php echo $field_name; ?>"><?php echo esc_html( $arr['description'] ); ?></label></p>
|
111 |
<input type="text" id="<?php echo $field_name; ?>" name="<?php echo $field_name; ?>" class="wide" size="70" value="<?php echo esc_attr( $post->message( $key, false ) ); ?>" />
|
112 |
</div>
|
113 |
<?php
|
114 |
+
|
115 |
+
if ( ! $updated && 10 <= count( $messages ) ) {
|
116 |
+
if ( 6 == $count ) {
|
117 |
+
echo '<p><a href="#" id="show-all-messages">' . esc_html( __( 'Show all messages', 'contact-form-7' ) ) . '</a></p>' . "\n";
|
118 |
+
echo '<div class="hide-initially">';
|
119 |
+
}
|
120 |
+
|
121 |
+
if ( count( $messages ) == $count ) {
|
122 |
+
echo '</div>';
|
123 |
+
}
|
124 |
+
}
|
125 |
+
}
|
126 |
}
|
127 |
|
128 |
function wpcf7_additional_settings_meta_box( $post ) {
|
admin/js/scripts.js
CHANGED
@@ -48,6 +48,12 @@
|
|
48 |
updateTag();
|
49 |
});
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
updateTag();
|
52 |
|
53 |
$('.check-if-these-fields-are-active').each(function(index) {
|
48 |
updateTag();
|
49 |
});
|
50 |
|
51 |
+
$('#show-all-messages').click(function() {
|
52 |
+
$('#messagesdiv .hide-initially').slideDown();
|
53 |
+
$(this).closest('p').remove();
|
54 |
+
return false;
|
55 |
+
});
|
56 |
+
|
57 |
updateTag();
|
58 |
|
59 |
$('.check-if-these-fields-are-active').each(function(index) {
|
includes/contact-form-template.php
CHANGED
@@ -151,7 +151,21 @@ function wpcf7_messages() {
|
|
151 |
'description'
|
152 |
=> __( "There is a field that the sender must fill in", 'contact-form-7' ),
|
153 |
'default'
|
154 |
-
=> __( 'Please fill the required field.', 'contact-form-7' )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
)
|
156 |
);
|
157 |
|
151 |
'description'
|
152 |
=> __( "There is a field that the sender must fill in", 'contact-form-7' ),
|
153 |
'default'
|
154 |
+
=> __( 'Please fill in the required field.', 'contact-form-7' )
|
155 |
+
),
|
156 |
+
|
157 |
+
'invalid_too_long' => array(
|
158 |
+
'description'
|
159 |
+
=> __( "There is a field that the user input is longer than the maximum allowed length", 'contact-form-7' ),
|
160 |
+
'default'
|
161 |
+
=> __( 'This input is too long.', 'contact-form-7' )
|
162 |
+
),
|
163 |
+
|
164 |
+
'invalid_too_short' => array(
|
165 |
+
'description'
|
166 |
+
=> __( "There is a field that the user input is shorter than the minimum allowed length", 'contact-form-7' ),
|
167 |
+
'default'
|
168 |
+
=> __( 'This input is too short.', 'contact-form-7' )
|
169 |
)
|
170 |
);
|
171 |
|
includes/functions.php
CHANGED
@@ -274,7 +274,7 @@ function wpcf7_load_modules() {
|
|
274 |
'acceptance', 'flamingo',
|
275 |
'akismet', 'jetpack', 'submit', 'captcha', 'number',
|
276 |
'text', 'checkbox', 'quiz', 'textarea', 'date',
|
277 |
-
'response', 'file', 'select', 'listo' );
|
278 |
|
279 |
foreach ( $mods as $mod ) {
|
280 |
$file = trailingslashit( $dir ) . $mod . '.php';
|
@@ -417,4 +417,37 @@ function wpcf7_build_query( $args, $key = '' ) {
|
|
417 |
return implode( $sep, $ret );
|
418 |
}
|
419 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
?>
|
274 |
'acceptance', 'flamingo',
|
275 |
'akismet', 'jetpack', 'submit', 'captcha', 'number',
|
276 |
'text', 'checkbox', 'quiz', 'textarea', 'date',
|
277 |
+
'response', 'file', 'select', 'listo', 'count' );
|
278 |
|
279 |
foreach ( $mods as $mod ) {
|
280 |
$file = trailingslashit( $dir ) . $mod . '.php';
|
417 |
return implode( $sep, $ret );
|
418 |
}
|
419 |
|
420 |
+
/**
|
421 |
+
* Returns the number of code units in a string.
|
422 |
+
*
|
423 |
+
* @see http://www.w3.org/TR/html5/infrastructure.html#code-unit-length
|
424 |
+
*
|
425 |
+
* @return int|bool The number of code units, or false if mb_convert_encoding is not available.
|
426 |
+
*/
|
427 |
+
function wpcf7_count_code_units( $string ) {
|
428 |
+
static $use_mb = null;
|
429 |
+
|
430 |
+
if ( is_null( $use_mb ) ) {
|
431 |
+
$use_mb = function_exists( 'mb_convert_encoding' );
|
432 |
+
}
|
433 |
+
|
434 |
+
if ( ! $use_mb ) {
|
435 |
+
return false;
|
436 |
+
}
|
437 |
+
|
438 |
+
$string = (string) $string;
|
439 |
+
|
440 |
+
$encoding = mb_detect_encoding( $string, mb_detect_order(), true );
|
441 |
+
|
442 |
+
if ( $encoding ) {
|
443 |
+
$string = mb_convert_encoding( $string, 'UTF-16', $encoding );
|
444 |
+
} else {
|
445 |
+
$string = mb_convert_encoding( $string, 'UTF-16', 'UTF-8' );
|
446 |
+
}
|
447 |
+
|
448 |
+
$byte_count = mb_strlen( $string, '8bit' );
|
449 |
+
|
450 |
+
return floor( $byte_count / 2 );
|
451 |
+
}
|
452 |
+
|
453 |
?>
|
includes/js/scripts.js
CHANGED
@@ -69,6 +69,12 @@
|
|
69 |
});
|
70 |
});
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
};
|
73 |
|
74 |
$.wpcf7AjaxSuccess = function(data, status, xhr, $form) {
|
@@ -226,6 +232,57 @@
|
|
226 |
});
|
227 |
};
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
$.fn.wpcf7NotValidTip = function(message) {
|
230 |
return this.each(function() {
|
231 |
var $into = $(this);
|
69 |
});
|
70 |
});
|
71 |
}
|
72 |
+
|
73 |
+
this.find('.wpcf7-character-count').wpcf7CharacterCount();
|
74 |
+
|
75 |
+
this.find('.wpcf7-validates-as-url').change(function() {
|
76 |
+
$(this).wpcf7NormalizeUrl();
|
77 |
+
});
|
78 |
};
|
79 |
|
80 |
$.wpcf7AjaxSuccess = function(data, status, xhr, $form) {
|
232 |
});
|
233 |
};
|
234 |
|
235 |
+
$.fn.wpcf7CharacterCount = function() {
|
236 |
+
return this.each(function() {
|
237 |
+
var $count = $(this);
|
238 |
+
var name = $count.attr('data-target-name');
|
239 |
+
var down = $count.hasClass('down');
|
240 |
+
var starting = parseInt($count.attr('data-starting-value'), 10);
|
241 |
+
var maximum = parseInt($count.attr('data-maximum-value'), 10);
|
242 |
+
var minimum = parseInt($count.attr('data-minimum-value'), 10);
|
243 |
+
|
244 |
+
var updateCount = function($target) {
|
245 |
+
var length = $target.val().length;
|
246 |
+
var count = down ? starting - length : length;
|
247 |
+
$count.attr('data-current-value', count);
|
248 |
+
$count.text(count);
|
249 |
+
|
250 |
+
if (maximum && maximum < length) {
|
251 |
+
$count.addClass('too-long');
|
252 |
+
} else {
|
253 |
+
$count.removeClass('too-long');
|
254 |
+
}
|
255 |
+
|
256 |
+
if (minimum && length < minimum) {
|
257 |
+
$count.addClass('too-short');
|
258 |
+
} else {
|
259 |
+
$count.removeClass('too-short');
|
260 |
+
}
|
261 |
+
};
|
262 |
+
|
263 |
+
$count.closest('form').find(':input[name="' + name + '"]').each(function() {
|
264 |
+
updateCount($(this));
|
265 |
+
|
266 |
+
$(this).keyup(function() {
|
267 |
+
updateCount($(this));
|
268 |
+
});
|
269 |
+
});
|
270 |
+
});
|
271 |
+
};
|
272 |
+
|
273 |
+
$.fn.wpcf7NormalizeUrl = function() {
|
274 |
+
return this.each(function() {
|
275 |
+
var val = $.trim($(this).val());
|
276 |
+
|
277 |
+
if (! val.match(/^[a-z][a-z0-9.+-]*:/i)) { // check the scheme part
|
278 |
+
val = val.replace(/^\/+/, '');
|
279 |
+
val = 'http://' + val;
|
280 |
+
}
|
281 |
+
|
282 |
+
$(this).val(val);
|
283 |
+
});
|
284 |
+
};
|
285 |
+
|
286 |
$.fn.wpcf7NotValidTip = function(message) {
|
287 |
return this.each(function() {
|
288 |
var $into = $(this);
|
includes/shortcodes.php
CHANGED
@@ -306,6 +306,12 @@ class WPCF7_Shortcode {
|
|
306 |
}
|
307 |
|
308 |
public function get_maxlength_option( $default = '' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
$matches_a = $this->get_all_match_options(
|
310 |
'%^(?:[0-9]*x?[0-9]*)?/([0-9]+)$%' );
|
311 |
|
@@ -317,6 +323,16 @@ class WPCF7_Shortcode {
|
|
317 |
return $default;
|
318 |
}
|
319 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
public function get_cols_option( $default = '' ) {
|
321 |
$matches_a = $this->get_all_match_options(
|
322 |
'%^([0-9]*)x([0-9]*)(?:/[0-9]+)?$%' );
|
306 |
}
|
307 |
|
308 |
public function get_maxlength_option( $default = '' ) {
|
309 |
+
$option = $this->get_option( 'maxlength', 'int', true );
|
310 |
+
|
311 |
+
if ( $option ) {
|
312 |
+
return $option;
|
313 |
+
}
|
314 |
+
|
315 |
$matches_a = $this->get_all_match_options(
|
316 |
'%^(?:[0-9]*x?[0-9]*)?/([0-9]+)$%' );
|
317 |
|
323 |
return $default;
|
324 |
}
|
325 |
|
326 |
+
public function get_minlength_option( $default = '' ) {
|
327 |
+
$option = $this->get_option( 'minlength', 'int', true );
|
328 |
+
|
329 |
+
if ( $option ) {
|
330 |
+
return $option;
|
331 |
+
} else {
|
332 |
+
return $default;
|
333 |
+
}
|
334 |
+
}
|
335 |
+
|
336 |
public function get_cols_option( $default = '' ) {
|
337 |
$matches_a = $this->get_all_match_options(
|
338 |
'%^([0-9]*)x([0-9]*)(?:/[0-9]+)?$%' );
|
includes/submission.php
CHANGED
@@ -89,7 +89,7 @@ class WPCF7_Submission {
|
|
89 |
$pipes = $tag['pipes'];
|
90 |
|
91 |
if ( WPCF7_USE_PIPE
|
92 |
-
&&
|
93 |
&& ! $pipes->zero() ) {
|
94 |
if ( is_array( $value) ) {
|
95 |
$new_value = array();
|
@@ -164,10 +164,8 @@ class WPCF7_Submission {
|
|
164 |
return false;
|
165 |
}
|
166 |
|
167 |
-
|
168 |
-
|
169 |
-
'reason' => array(),
|
170 |
-
'idref' => array() );
|
171 |
|
172 |
$tags = $this->contact_form->form_scan_shortcode();
|
173 |
|
@@ -178,24 +176,9 @@ class WPCF7_Submission {
|
|
178 |
|
179 |
$result = apply_filters( 'wpcf7_validate', $result );
|
180 |
|
181 |
-
|
182 |
-
return true;
|
183 |
-
} else {
|
184 |
-
foreach ( (array) $result['reason'] as $name => $reason ) {
|
185 |
-
$field = array( 'reason' => $reason );
|
186 |
-
|
187 |
-
if ( isset( $result['idref'][$name] )
|
188 |
-
&& wpcf7_is_name( $result['idref'][$name] ) ) {
|
189 |
-
$field['idref'] = $result['idref'][$name];
|
190 |
-
} else {
|
191 |
-
$field['idref'] = null;
|
192 |
-
}
|
193 |
|
194 |
-
|
195 |
-
}
|
196 |
-
|
197 |
-
return false;
|
198 |
-
}
|
199 |
}
|
200 |
|
201 |
private function accepted() {
|
89 |
$pipes = $tag['pipes'];
|
90 |
|
91 |
if ( WPCF7_USE_PIPE
|
92 |
+
&& $pipes instanceof WPCF7_Pipes
|
93 |
&& ! $pipes->zero() ) {
|
94 |
if ( is_array( $value) ) {
|
95 |
$new_value = array();
|
164 |
return false;
|
165 |
}
|
166 |
|
167 |
+
require_once WPCF7_PLUGIN_DIR . '/includes/validation.php';
|
168 |
+
$result = new WPCF7_Validation();
|
|
|
|
|
169 |
|
170 |
$tags = $this->contact_form->form_scan_shortcode();
|
171 |
|
176 |
|
177 |
$result = apply_filters( 'wpcf7_validate', $result );
|
178 |
|
179 |
+
$this->invalid_fields = $result->get_invalid_fields();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
|
181 |
+
return $result->is_valid();
|
|
|
|
|
|
|
|
|
182 |
}
|
183 |
|
184 |
private function accepted() {
|
includes/validation.php
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WPCF7_Validation implements ArrayAccess {
|
4 |
+
private $invalid_fields = array();
|
5 |
+
private $container = array();
|
6 |
+
|
7 |
+
public function __construct() {
|
8 |
+
$this->container = array(
|
9 |
+
'valid' => true,
|
10 |
+
'reason' => array(),
|
11 |
+
'idref' => array() );
|
12 |
+
}
|
13 |
+
|
14 |
+
public function invalidate( $context, $message ) {
|
15 |
+
if ( $context instanceof WPCF7_Shortcode ) {
|
16 |
+
$tag = $context;
|
17 |
+
} elseif ( is_array( $context ) ) {
|
18 |
+
$tag = new WPCF7_Shortcode( $context );
|
19 |
+
} elseif ( is_string( $context ) ) {
|
20 |
+
$tags = wpcf7_scan_shortcode( array( 'name' => trim( $context ) ) );
|
21 |
+
$tag = $tags ? new WPCF7_Shortcode( $tags[0] ) : null;
|
22 |
+
}
|
23 |
+
|
24 |
+
$name = ! empty( $tag ) ? $tag->name : null;
|
25 |
+
|
26 |
+
if ( empty( $name ) || ! wpcf7_is_name( $name ) ) {
|
27 |
+
return;
|
28 |
+
}
|
29 |
+
|
30 |
+
if ( $this->is_valid( $name ) ) {
|
31 |
+
$id = $tag->get_id_option();
|
32 |
+
|
33 |
+
if ( empty( $id ) || ! wpcf7_is_name( $id ) ) {
|
34 |
+
$id = null;
|
35 |
+
}
|
36 |
+
|
37 |
+
$this->invalid_fields[$name] = array(
|
38 |
+
'reason' => (string) $message,
|
39 |
+
'idref' => $id );
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
public function is_valid( $name = null ) {
|
44 |
+
if ( ! empty( $name ) ) {
|
45 |
+
return ! isset( $this->invalid_fields[$name] );
|
46 |
+
} else {
|
47 |
+
return empty( $this->invalid_fields );
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
public function get_invalid_fields() {
|
52 |
+
return $this->invalid_fields;
|
53 |
+
}
|
54 |
+
|
55 |
+
public function offsetSet( $offset, $value ) {
|
56 |
+
if ( isset( $this->container[$offset] ) ) {
|
57 |
+
$this->container[$offset] = $value;
|
58 |
+
}
|
59 |
+
|
60 |
+
if ( 'reason' == $offset && is_array( $value ) ) {
|
61 |
+
foreach ( $value as $k => $v ) {
|
62 |
+
$this->invalidate( $k, $v );
|
63 |
+
}
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
public function offsetGet( $offset ) {
|
68 |
+
if ( isset( $this->container[$offset] ) ) {
|
69 |
+
return $this->container[$offset];
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
public function offsetExists( $offset ) {
|
74 |
+
return isset( $this->container[$offset] );
|
75 |
+
}
|
76 |
+
|
77 |
+
public function offsetUnset( $offset ) {
|
78 |
+
}
|
79 |
+
}
|
80 |
+
|
81 |
+
?>
|
languages/contact-form-7-de_DE.mo
CHANGED
Binary file
|
languages/contact-form-7-ja.mo
CHANGED
Binary file
|
languages/contact-form-7-pt_PT.mo
CHANGED
Binary file
|
languages/contact-form-7-tr_TR.mo
CHANGED
Binary file
|
languages/contact-form-7.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -13,18 +13,13 @@ msgstr ""
|
|
13 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
14 |
"X-Poedit-Basepath: ../..\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
16 |
-
"X-Generator: Poedit 1.
|
17 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
18 |
|
19 |
#: contact-form-7/wp-contact-form-7.php:5
|
20 |
msgid "Just another contact form plugin. Simple but flexible."
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: contact-form-7/settings.php:72
|
24 |
-
#, php-format
|
25 |
-
msgid "Contact form %d"
|
26 |
-
msgstr ""
|
27 |
-
|
28 |
#: contact-form-7/admin/admin.php:8 contact-form-7/modules/flamingo.php:134
|
29 |
msgid "Contact Form 7"
|
30 |
msgstr ""
|
@@ -39,18 +34,18 @@ msgid "Edit Contact Form"
|
|
39 |
msgstr ""
|
40 |
|
41 |
#: contact-form-7/admin/admin.php:15 contact-form-7/admin/admin.php:165
|
42 |
-
#: contact-form-7/admin/admin.php:
|
43 |
#: contact-form-7/includes/contact-form.php:29
|
44 |
msgid "Contact Forms"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: contact-form-7/admin/admin.php:22 contact-form-7/admin/admin.php:
|
48 |
#: contact-form-7/admin/edit-contact-form.php:11
|
49 |
msgid "Add New Contact Form"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: contact-form-7/admin/admin.php:23 contact-form-7/admin/admin.php:
|
53 |
-
#: contact-form-7/admin/admin.php:
|
54 |
#: contact-form-7/admin/edit-contact-form.php:15
|
55 |
msgid "Add New"
|
56 |
msgstr ""
|
@@ -67,196 +62,196 @@ msgstr ""
|
|
67 |
msgid "Error in deleting."
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: contact-form-7/admin/admin.php:
|
71 |
msgid "Generate Tag"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: contact-form-7/admin/admin.php:
|
75 |
#, php-format
|
76 |
msgid "Search results for “%s”"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: contact-form-7/admin/admin.php:
|
80 |
msgid "Search Contact Forms"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: contact-form-7/admin/admin.php:
|
84 |
#, php-format
|
85 |
msgid "Use the default language (%s)"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: contact-form-7/admin/admin.php:
|
89 |
msgid "Or"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: contact-form-7/admin/admin.php:
|
93 |
msgid "(select language)"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: contact-form-7/admin/admin.php:
|
97 |
msgid "Form"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: contact-form-7/admin/admin.php:
|
101 |
msgid "Mail"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: contact-form-7/admin/admin.php:
|
105 |
msgid "Mail (2)"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: contact-form-7/admin/admin.php:
|
109 |
msgid "Use mail (2)"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: contact-form-7/admin/admin.php:
|
113 |
msgid "Messages"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: contact-form-7/admin/admin.php:
|
117 |
msgid "Additional Settings"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: contact-form-7/admin/admin.php:
|
121 |
msgid "Contact form created."
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: contact-form-7/admin/admin.php:
|
125 |
msgid "Contact form saved."
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: contact-form-7/admin/admin.php:
|
129 |
msgid "Contact form deleted."
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: contact-form-7/admin/admin.php:
|
133 |
msgid "Settings"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: contact-form-7/admin/admin.php:
|
137 |
msgid "http://contactform7.com/docs/"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: contact-form-7/admin/admin.php:
|
141 |
msgid "Docs"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: contact-form-7/admin/admin.php:
|
145 |
msgid "http://contactform7.com/faq/"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: contact-form-7/admin/admin.php:
|
149 |
msgid "FAQ"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: contact-form-7/admin/admin.php:
|
153 |
msgid "http://contactform7.com/support/"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: contact-form-7/admin/admin.php:
|
157 |
msgid "Support"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: contact-form-7/admin/admin.php:
|
161 |
msgid "http://contactform7.com/donate/"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: contact-form-7/admin/admin.php:
|
165 |
msgid "Donate"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: contact-form-7/admin/admin.php:
|
169 |
#, php-format
|
170 |
msgid ""
|
171 |
"<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> "
|
172 |
"Please <a href=\"%3$s\">update WordPress</a> first."
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: contact-form-7/admin/admin.php:
|
176 |
msgid "Dismiss"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: contact-form-7/admin/admin.php:
|
180 |
msgid "Contact Form 7 Needs Your Support"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: contact-form-7/admin/admin.php:
|
184 |
msgid ""
|
185 |
"It is hard to continue development and support for this plugin without "
|
186 |
"contributions from users like you. If you enjoy using Contact Form 7 and "
|
187 |
"find it useful, please consider making a donation."
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: contact-form-7/admin/admin.php:
|
191 |
msgid "Get Started"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: contact-form-7/admin/admin.php:
|
195 |
msgid "http://contactform7.com/getting-started-with-contact-form-7/"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: contact-form-7/admin/admin.php:
|
199 |
msgid "Getting Started with Contact Form 7"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: contact-form-7/admin/admin.php:
|
203 |
msgid "http://contactform7.com/admin-screen/"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: contact-form-7/admin/admin.php:
|
207 |
msgid "Admin Screen"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: contact-form-7/admin/admin.php:
|
211 |
msgid "http://contactform7.com/tag-syntax/"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: contact-form-7/admin/admin.php:
|
215 |
msgid "How Tags Work"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: contact-form-7/admin/admin.php:
|
219 |
msgid "http://contactform7.com/setting-up-mail/"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: contact-form-7/admin/admin.php:
|
223 |
msgid "Setting Up Mail"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: contact-form-7/admin/admin.php:
|
227 |
msgid "Did You Know?"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: contact-form-7/admin/admin.php:
|
231 |
msgid "http://contactform7.com/spam-filtering-with-akismet/"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: contact-form-7/admin/admin.php:
|
235 |
msgid "Spam Filtering with Akismet"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: contact-form-7/admin/admin.php:
|
239 |
msgid "http://contactform7.com/save-submitted-messages-with-flamingo/"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: contact-form-7/admin/admin.php:
|
243 |
msgid "Save Messages with Flamingo"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: contact-form-7/admin/admin.php:
|
247 |
msgid "http://contactform7.com/selectable-recipient-with-pipes/"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: contact-form-7/admin/admin.php:
|
251 |
msgid "Selectable Recipient with Pipes"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: contact-form-7/admin/admin.php:
|
255 |
msgid ""
|
256 |
"http://contactform7.com/tracking-form-submissions-with-google-analytics/"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: contact-form-7/admin/admin.php:
|
260 |
msgid "Tracking with Google Analytics"
|
261 |
msgstr ""
|
262 |
|
@@ -302,7 +297,7 @@ msgid "Author"
|
|
302 |
msgstr ""
|
303 |
|
304 |
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:14
|
305 |
-
#: contact-form-7/modules/date.php:
|
306 |
msgid "Date"
|
307 |
msgstr ""
|
308 |
|
@@ -329,30 +324,27 @@ msgid "Y/m/d"
|
|
329 |
msgstr ""
|
330 |
|
331 |
#: contact-form-7/admin/includes/help-tabs.php:16
|
332 |
-
|
|
|
333 |
msgstr ""
|
334 |
|
335 |
#: contact-form-7/admin/includes/help-tabs.php:21
|
336 |
msgid "Available Actions"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
340 |
msgid "Adding A New Contact Form"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
344 |
-
msgid "Overview"
|
345 |
-
msgstr ""
|
346 |
-
|
347 |
-
#: contact-form-7/admin/includes/help-tabs.php:40
|
348 |
msgid "Form-tags"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
352 |
msgid "Mail-tags"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
356 |
msgid ""
|
357 |
"On this screen, you can manage contact forms provided by Contact Form 7. You "
|
358 |
"can manage an unlimited number of contact forms. Each contact form has a "
|
@@ -361,78 +353,78 @@ msgid ""
|
|
361 |
"target."
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
365 |
msgid ""
|
366 |
"Hovering over a row in the contact forms list will display action links that "
|
367 |
"allow you to manage your contact form. You can perform the following actions:"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
371 |
msgid ""
|
372 |
"<strong>Edit</strong> - Navigates to the editing screen for that contact "
|
373 |
"form. You can also reach that screen by clicking on the contact form title."
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
377 |
msgid ""
|
378 |
"<strong>Duplicate</strong> - Clones that contact form. A cloned contact form "
|
379 |
"inherits all content from the original, but has a different ID."
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
383 |
msgid ""
|
384 |
"You can add a new contact form on this screen. You can create a contact form "
|
385 |
"in your language, which is set WordPress local settings, or in a language "
|
386 |
"that you select from available options."
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
390 |
msgid ""
|
391 |
"On this screen, you can edit a contact form. A contact form is comprised of "
|
392 |
"the following components:"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
396 |
msgid ""
|
397 |
"<strong>Title</strong> is the title of a contact form. This title is only "
|
398 |
"used for labeling a contact form, and can be edited."
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
402 |
msgid ""
|
403 |
"<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, "
|
404 |
"which is allowed inside a form element. You can also use Contact Form "
|
405 |
"7’s form-tags here."
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
409 |
msgid ""
|
410 |
"<strong>Mail</strong> manages a mail template (headers and message body) "
|
411 |
"that this contact form will send when users submit it. You can use Contact "
|
412 |
"Form 7’s mail-tags here."
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
416 |
msgid ""
|
417 |
"<strong>Mail (2)</strong> is an additional mail template that works similar "
|
418 |
"to Mail. Mail (2) is different in that it is sent only when Mail has been "
|
419 |
"sent successfully."
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
423 |
msgid ""
|
424 |
"In <strong>Messages</strong>, you can edit various types of messages used "
|
425 |
"for this contact form. These messages are relatively short messages, like a "
|
426 |
"validation error message you see when you leave a required field blank."
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
430 |
msgid ""
|
431 |
"<strong>Additional Settings</strong> provides a place where you can "
|
432 |
"customize the behavior of this contact form by adding code snippets."
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
436 |
msgid ""
|
437 |
"A form-tag is a short code enclosed in square brackets used in a form "
|
438 |
"content. A form-tag generally represents an input field, and its components "
|
@@ -442,21 +434,21 @@ msgid ""
|
|
442 |
"fields, CAPTCHAs, and quiz fields."
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
446 |
msgid ""
|
447 |
"While form-tags have a comparatively complex syntax, you don’t need to "
|
448 |
"know the syntax to add form-tags because you can use the straightforward tag "
|
449 |
"generator (<strong>Generate Tag</strong> button on this screen)."
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
453 |
msgid ""
|
454 |
"A mail-tag is also a short code enclosed in square brackets that you can use "
|
455 |
"in every Mail and Mail (2) field. A mail-tag represents a user input value "
|
456 |
"through an input field of a corresponding form-tag."
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
460 |
msgid ""
|
461 |
"There are also special mail-tags that have specific names, but don’t "
|
462 |
"have corresponding form-tags. They are used to represent meta information of "
|
@@ -464,19 +456,19 @@ msgid ""
|
|
464 |
"page."
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
468 |
msgid "For more information:"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
472 |
msgid "<a href=\"http://contactform7.com/docs/\" target=\"_blank\">Docs</a>"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
476 |
msgid "<a href=\"http://contactform7.com/faq/\" target=\"_blank\">FAQ</a>"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
480 |
msgid ""
|
481 |
"<a href=\"http://contactform7.com/support/\" target=\"_blank\">Support</a>"
|
482 |
msgstr ""
|
@@ -513,6 +505,10 @@ msgstr ""
|
|
513 |
msgid "Exclude lines with blank mail-tags from output"
|
514 |
msgstr ""
|
515 |
|
|
|
|
|
|
|
|
|
516 |
#: contact-form-7/includes/contact-form-template.php:23
|
517 |
msgid "Your Name"
|
518 |
msgstr ""
|
@@ -605,7 +601,27 @@ msgid "There is a field that the sender must fill in"
|
|
605 |
msgstr ""
|
606 |
|
607 |
#: contact-form-7/includes/contact-form-template.php:154
|
608 |
-
msgid "Please fill the required field."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
609 |
msgstr ""
|
610 |
|
611 |
#: contact-form-7/includes/contact-form.php:30
|
@@ -884,75 +900,75 @@ msgstr ""
|
|
884 |
msgid "Vietnamese"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: contact-form-7/modules/acceptance.php:
|
888 |
msgid "Acceptance"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: contact-form-7/modules/acceptance.php:
|
892 |
-
#: contact-form-7/modules/captcha.php:
|
893 |
-
#: contact-form-7/modules/checkbox.php:
|
894 |
-
#: contact-form-7/modules/file.php:
|
895 |
-
#: contact-form-7/modules/quiz.php:
|
896 |
-
#: contact-form-7/modules/text.php:
|
897 |
msgid "Name"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: contact-form-7/modules/acceptance.php:
|
901 |
-
#: contact-form-7/modules/acceptance.php:
|
902 |
-
#: contact-form-7/modules/captcha.php:
|
903 |
-
#: contact-form-7/modules/captcha.php:
|
904 |
-
#: contact-form-7/modules/captcha.php:
|
905 |
-
#: contact-form-7/modules/captcha.php:
|
906 |
-
#: contact-form-7/modules/captcha.php:
|
907 |
-
#: contact-form-7/modules/captcha.php:
|
908 |
-
#: contact-form-7/modules/captcha.php:
|
909 |
-
#: contact-form-7/modules/captcha.php:
|
910 |
-
#: contact-form-7/modules/captcha.php:
|
911 |
-
#: contact-form-7/modules/checkbox.php:
|
912 |
-
#: contact-form-7/modules/checkbox.php:
|
|
|
913 |
#: contact-form-7/modules/date.php:172 contact-form-7/modules/date.php:177
|
914 |
-
#: contact-form-7/modules/date.php:
|
915 |
-
#: contact-form-7/modules/
|
916 |
-
#: contact-form-7/modules/file.php:
|
917 |
-
#: contact-form-7/modules/
|
918 |
#: contact-form-7/modules/number.php:182 contact-form-7/modules/number.php:187
|
919 |
-
#: contact-form-7/modules/number.php:
|
920 |
-
#: contact-form-7/modules/
|
921 |
-
#: contact-form-7/modules/quiz.php:
|
922 |
-
#: contact-form-7/modules/
|
923 |
-
#: contact-form-7/modules/select.php:169 contact-form-7/modules/submit.php:59
|
924 |
#: contact-form-7/modules/submit.php:62 contact-form-7/modules/submit.php:67
|
925 |
-
#: contact-form-7/modules/text.php:
|
926 |
-
#: contact-form-7/modules/text.php:
|
927 |
-
#: contact-form-7/modules/text.php:
|
928 |
-
#: contact-form-7/modules/textarea.php:
|
929 |
-
#: contact-form-7/modules/textarea.php:124
|
930 |
-
#: contact-form-7/modules/textarea.php:129
|
931 |
-
#: contact-form-7/modules/textarea.php:132
|
932 |
-
#: contact-form-7/modules/textarea.php:137
|
933 |
#: contact-form-7/modules/textarea.php:142
|
|
|
|
|
|
|
|
|
934 |
msgid "optional"
|
935 |
msgstr ""
|
936 |
|
937 |
-
#: contact-form-7/modules/acceptance.php:
|
938 |
msgid "Make this checkbox checked by default?"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: contact-form-7/modules/acceptance.php:
|
942 |
msgid "Make this checkbox work inversely?"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: contact-form-7/modules/acceptance.php:
|
946 |
msgid "* That means visitor who accepts the term unchecks it."
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: contact-form-7/modules/acceptance.php:
|
950 |
-
#: contact-form-7/modules/captcha.php:
|
951 |
-
#: contact-form-7/modules/checkbox.php:
|
952 |
-
#: contact-form-7/modules/file.php:
|
953 |
-
#: contact-form-7/modules/quiz.php:
|
954 |
-
#: contact-form-7/modules/submit.php:74 contact-form-7/modules/text.php:
|
955 |
-
#: contact-form-7/modules/textarea.php:
|
956 |
msgid "Copy this code and paste it into the form left."
|
957 |
msgstr ""
|
958 |
|
@@ -962,63 +978,63 @@ msgid ""
|
|
962 |
"really-simple-captcha/\">Really Simple CAPTCHA</a> plugin installed."
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: contact-form-7/modules/captcha.php:
|
966 |
msgid "The code that sender entered does not match the CAPTCHA"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: contact-form-7/modules/captcha.php:
|
970 |
msgid "Your entered code is incorrect."
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: contact-form-7/modules/captcha.php:
|
974 |
msgid "CAPTCHA"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: contact-form-7/modules/captcha.php:
|
978 |
msgid "Note: To use CAPTCHA, you need Really Simple CAPTCHA plugin installed."
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: contact-form-7/modules/captcha.php:
|
982 |
msgid "Image settings"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: contact-form-7/modules/captcha.php:
|
986 |
msgid "Foreground color"
|
987 |
msgstr ""
|
988 |
|
989 |
-
#: contact-form-7/modules/captcha.php:
|
990 |
msgid "Background color"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: contact-form-7/modules/captcha.php:
|
994 |
msgid "Image size"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: contact-form-7/modules/captcha.php:
|
998 |
msgid "Small"
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#: contact-form-7/modules/captcha.php:
|
1002 |
msgid "Medium"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: contact-form-7/modules/captcha.php:
|
1006 |
msgid "Large"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: contact-form-7/modules/captcha.php:
|
1010 |
msgid "Input field settings"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: contact-form-7/modules/captcha.php:
|
1014 |
msgid "For image"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: contact-form-7/modules/captcha.php:
|
1018 |
msgid "For input field"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: contact-form-7/modules/captcha.php:
|
1022 |
#, php-format
|
1023 |
msgid ""
|
1024 |
"This contact form contains CAPTCHA fields, but the temporary folder for the "
|
@@ -1026,142 +1042,142 @@ msgid ""
|
|
1026 |
"change its permission manually."
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: contact-form-7/modules/captcha.php:
|
1030 |
msgid ""
|
1031 |
"This contact form contains CAPTCHA fields, but the necessary libraries (GD "
|
1032 |
"and FreeType) are not available on your server."
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: contact-form-7/modules/checkbox.php:
|
1036 |
msgid "Checkboxes"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#: contact-form-7/modules/checkbox.php:
|
1040 |
msgid "Radio buttons"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: contact-form-7/modules/checkbox.php:
|
1044 |
-
#: contact-form-7/modules/file.php:
|
1045 |
-
#: contact-form-7/modules/select.php:
|
1046 |
-
#: contact-form-7/modules/textarea.php:
|
1047 |
msgid "Required field?"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: contact-form-7/modules/checkbox.php:
|
1051 |
-
#: contact-form-7/modules/select.php:
|
1052 |
msgid "Choices"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: contact-form-7/modules/checkbox.php:
|
1056 |
-
#: contact-form-7/modules/select.php:
|
1057 |
msgid "* One choice per line."
|
1058 |
msgstr ""
|
1059 |
|
1060 |
-
#: contact-form-7/modules/checkbox.php:
|
1061 |
msgid "Put a label first, a checkbox last?"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
-
#: contact-form-7/modules/checkbox.php:
|
1065 |
msgid "Wrap each item with <label> tag?"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: contact-form-7/modules/checkbox.php:
|
1069 |
msgid "Make checkboxes exclusive?"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: contact-form-7/modules/checkbox.php:
|
1073 |
-
#: contact-form-7/modules/number.php:
|
1074 |
-
#: contact-form-7/modules/text.php:
|
1075 |
msgid "And, put this code into the Mail fields below."
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: contact-form-7/modules/date.php:
|
1079 |
msgid "Date format that the sender entered is invalid"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
-
#: contact-form-7/modules/date.php:
|
1083 |
msgid "Date format seems invalid."
|
1084 |
msgstr ""
|
1085 |
|
1086 |
-
#: contact-form-7/modules/date.php:
|
1087 |
msgid "Date is earlier than minimum limit"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
-
#: contact-form-7/modules/date.php:
|
1091 |
msgid "This date is too early."
|
1092 |
msgstr ""
|
1093 |
|
1094 |
-
#: contact-form-7/modules/date.php:
|
1095 |
msgid "Date is later than maximum limit"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
-
#: contact-form-7/modules/date.php:
|
1099 |
msgid "This date is too late."
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: contact-form-7/modules/date.php:
|
1103 |
-
#: contact-form-7/modules/text.php:
|
1104 |
msgid "Default value"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#: contact-form-7/modules/date.php:
|
1108 |
-
#: contact-form-7/modules/text.php:
|
1109 |
msgid "Use this text as placeholder?"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: contact-form-7/modules/file.php:
|
1113 |
msgid "Uploading a file fails for any reason"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: contact-form-7/modules/file.php:
|
1117 |
msgid "Failed to upload file."
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: contact-form-7/modules/file.php:
|
1121 |
msgid "Uploaded file is not allowed file type"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: contact-form-7/modules/file.php:
|
1125 |
msgid "This file type is not allowed."
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: contact-form-7/modules/file.php:
|
1129 |
msgid "Uploaded file is too large"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: contact-form-7/modules/file.php:
|
1133 |
msgid "This file is too large."
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: contact-form-7/modules/file.php:
|
1137 |
msgid "Uploading a file fails for PHP error"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
-
#: contact-form-7/modules/file.php:
|
1141 |
msgid "Failed to upload file. Error occurred."
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: contact-form-7/modules/file.php:
|
1145 |
msgid "File upload"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: contact-form-7/modules/file.php:
|
1149 |
msgid "File size limit"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: contact-form-7/modules/file.php:
|
1153 |
msgid "bytes"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: contact-form-7/modules/file.php:
|
1157 |
msgid "Acceptable file types"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: contact-form-7/modules/file.php:
|
1161 |
msgid "And, put this code into the File Attachments field below."
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: contact-form-7/modules/file.php:
|
1165 |
#, php-format
|
1166 |
msgid ""
|
1167 |
"This contact form contains file uploading fields, but the temporary folder "
|
@@ -1176,67 +1192,67 @@ msgid ""
|
|
1176 |
"strong> <a href=\"%s\" target=\"_blank\">See how to avoid it.</a>"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
-
#: contact-form-7/modules/number.php:
|
1180 |
msgid "Number format that the sender entered is invalid"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
-
#: contact-form-7/modules/number.php:
|
1184 |
msgid "Number format seems invalid."
|
1185 |
msgstr ""
|
1186 |
|
1187 |
-
#: contact-form-7/modules/number.php:
|
1188 |
msgid "Number is smaller than minimum limit"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: contact-form-7/modules/number.php:
|
1192 |
msgid "This number is too small."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: contact-form-7/modules/number.php:
|
1196 |
msgid "Number is larger than maximum limit"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
-
#: contact-form-7/modules/number.php:
|
1200 |
msgid "This number is too large."
|
1201 |
msgstr ""
|
1202 |
|
1203 |
-
#: contact-form-7/modules/number.php:
|
1204 |
msgid "Number (spinbox)"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
-
#: contact-form-7/modules/number.php:
|
1208 |
msgid "Number (slider)"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
-
#: contact-form-7/modules/quiz.php:
|
1212 |
msgid "Sender doesn't enter the correct answer to the quiz"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: contact-form-7/modules/quiz.php:
|
1216 |
msgid "Your answer is not correct."
|
1217 |
msgstr ""
|
1218 |
|
1219 |
-
#: contact-form-7/modules/quiz.php:
|
1220 |
msgid "Quiz"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
-
#: contact-form-7/modules/quiz.php:
|
1224 |
msgid "Quizzes"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
-
#: contact-form-7/modules/quiz.php:
|
1228 |
msgid "* quiz|answer (e.g. 1+1=?|2)"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
-
#: contact-form-7/modules/select.php:
|
1232 |
msgid "Drop-down menu"
|
1233 |
msgstr ""
|
1234 |
|
1235 |
-
#: contact-form-7/modules/select.php:
|
1236 |
msgid "Allow multiple selections?"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
-
#: contact-form-7/modules/select.php:
|
1240 |
msgid "Insert a blank item as the first option?"
|
1241 |
msgstr ""
|
1242 |
|
@@ -1248,62 +1264,67 @@ msgstr ""
|
|
1248 |
msgid "Label"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: contact-form-7/modules/text.php:
|
1252 |
msgid "Email address that the sender entered is invalid"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: contact-form-7/modules/text.php:
|
1256 |
msgid "Email address seems invalid."
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: contact-form-7/modules/text.php:
|
1260 |
msgid "URL that the sender entered is invalid"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: contact-form-7/modules/text.php:
|
1264 |
msgid "URL seems invalid."
|
1265 |
msgstr ""
|
1266 |
|
1267 |
-
#: contact-form-7/modules/text.php:
|
1268 |
msgid "Telephone number that the sender entered is invalid"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
-
#: contact-form-7/modules/text.php:
|
1272 |
msgid "Telephone number seems invalid."
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: contact-form-7/modules/text.php:
|
1276 |
msgid "Text field"
|
1277 |
msgstr ""
|
1278 |
|
1279 |
-
#: contact-form-7/modules/text.php:
|
1280 |
msgid "Email"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
-
#: contact-form-7/modules/text.php:
|
1284 |
msgid "URL"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: contact-form-7/modules/text.php:
|
1288 |
msgid "Telephone number"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: contact-form-7/modules/text.php:
|
1292 |
msgid "Akismet"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#: contact-form-7/modules/text.php:
|
1296 |
msgid "This field requires author's name"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: contact-form-7/modules/text.php:
|
1300 |
msgid "This field requires author's email address"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#: contact-form-7/modules/text.php:
|
1304 |
msgid "This field requires author's URL"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
-
#: contact-form-7/modules/textarea.php:
|
1308 |
msgid "Text area"
|
1309 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-01-06 10:11+0900\n"
|
6 |
+
"PO-Revision-Date: 2015-01-06 10:11+0900\n"
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
14 |
"X-Poedit-Basepath: ../..\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
16 |
+
"X-Generator: Poedit 1.7.1\n"
|
17 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
18 |
|
19 |
#: contact-form-7/wp-contact-form-7.php:5
|
20 |
msgid "Just another contact form plugin. Simple but flexible."
|
21 |
msgstr ""
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
#: contact-form-7/admin/admin.php:8 contact-form-7/modules/flamingo.php:134
|
24 |
msgid "Contact Form 7"
|
25 |
msgstr ""
|
34 |
msgstr ""
|
35 |
|
36 |
#: contact-form-7/admin/admin.php:15 contact-form-7/admin/admin.php:165
|
37 |
+
#: contact-form-7/admin/admin.php:221
|
38 |
#: contact-form-7/includes/contact-form.php:29
|
39 |
msgid "Contact Forms"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: contact-form-7/admin/admin.php:22 contact-form-7/admin/admin.php:263
|
43 |
#: contact-form-7/admin/edit-contact-form.php:11
|
44 |
msgid "Add New Contact Form"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: contact-form-7/admin/admin.php:23 contact-form-7/admin/admin.php:223
|
48 |
+
#: contact-form-7/admin/admin.php:268 contact-form-7/admin/admin.php:280
|
49 |
#: contact-form-7/admin/edit-contact-form.php:15
|
50 |
msgid "Add New"
|
51 |
msgstr ""
|
62 |
msgid "Error in deleting."
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: contact-form-7/admin/admin.php:200
|
66 |
msgid "Generate Tag"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: contact-form-7/admin/admin.php:227
|
70 |
#, php-format
|
71 |
msgid "Search results for “%s”"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: contact-form-7/admin/admin.php:236
|
75 |
msgid "Search Contact Forms"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: contact-form-7/admin/admin.php:267
|
79 |
#, php-format
|
80 |
msgid "Use the default language (%s)"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: contact-form-7/admin/admin.php:271
|
84 |
msgid "Or"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: contact-form-7/admin/admin.php:275
|
88 |
msgid "(select language)"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: contact-form-7/admin/admin.php:287
|
92 |
msgid "Form"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: contact-form-7/admin/admin.php:290
|
96 |
msgid "Mail"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: contact-form-7/admin/admin.php:293
|
100 |
msgid "Mail (2)"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: contact-form-7/admin/admin.php:298
|
104 |
msgid "Use mail (2)"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: contact-form-7/admin/admin.php:300
|
108 |
msgid "Messages"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: contact-form-7/admin/admin.php:303
|
112 |
msgid "Additional Settings"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: contact-form-7/admin/admin.php:318
|
116 |
msgid "Contact form created."
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: contact-form-7/admin/admin.php:320
|
120 |
msgid "Contact form saved."
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: contact-form-7/admin/admin.php:322
|
124 |
msgid "Contact form deleted."
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: contact-form-7/admin/admin.php:339
|
128 |
msgid "Settings"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: contact-form-7/admin/admin.php:350
|
132 |
msgid "http://contactform7.com/docs/"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: contact-form-7/admin/admin.php:351
|
136 |
msgid "Docs"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: contact-form-7/admin/admin.php:352
|
140 |
msgid "http://contactform7.com/faq/"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: contact-form-7/admin/admin.php:353
|
144 |
msgid "FAQ"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: contact-form-7/admin/admin.php:354
|
148 |
msgid "http://contactform7.com/support/"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: contact-form-7/admin/admin.php:355
|
152 |
msgid "Support"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: contact-form-7/admin/admin.php:356 contact-form-7/admin/admin.php:412
|
156 |
msgid "http://contactform7.com/donate/"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: contact-form-7/admin/admin.php:357 contact-form-7/admin/admin.php:412
|
160 |
msgid "Donate"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: contact-form-7/admin/admin.php:379
|
164 |
#, php-format
|
165 |
msgid ""
|
166 |
"<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> "
|
167 |
"Please <a href=\"%3$s\">update WordPress</a> first."
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: contact-form-7/admin/admin.php:405
|
171 |
msgid "Dismiss"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: contact-form-7/admin/admin.php:410
|
175 |
msgid "Contact Form 7 Needs Your Support"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: contact-form-7/admin/admin.php:411
|
179 |
msgid ""
|
180 |
"It is hard to continue development and support for this plugin without "
|
181 |
"contributions from users like you. If you enjoy using Contact Form 7 and "
|
182 |
"find it useful, please consider making a donation."
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: contact-form-7/admin/admin.php:416
|
186 |
msgid "Get Started"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: contact-form-7/admin/admin.php:418
|
190 |
msgid "http://contactform7.com/getting-started-with-contact-form-7/"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: contact-form-7/admin/admin.php:418
|
194 |
msgid "Getting Started with Contact Form 7"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: contact-form-7/admin/admin.php:419
|
198 |
msgid "http://contactform7.com/admin-screen/"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: contact-form-7/admin/admin.php:419
|
202 |
msgid "Admin Screen"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: contact-form-7/admin/admin.php:420
|
206 |
msgid "http://contactform7.com/tag-syntax/"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: contact-form-7/admin/admin.php:420
|
210 |
msgid "How Tags Work"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: contact-form-7/admin/admin.php:421
|
214 |
msgid "http://contactform7.com/setting-up-mail/"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: contact-form-7/admin/admin.php:421
|
218 |
msgid "Setting Up Mail"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: contact-form-7/admin/admin.php:426
|
222 |
msgid "Did You Know?"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: contact-form-7/admin/admin.php:428
|
226 |
msgid "http://contactform7.com/spam-filtering-with-akismet/"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: contact-form-7/admin/admin.php:428
|
230 |
msgid "Spam Filtering with Akismet"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: contact-form-7/admin/admin.php:429
|
234 |
msgid "http://contactform7.com/save-submitted-messages-with-flamingo/"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: contact-form-7/admin/admin.php:429
|
238 |
msgid "Save Messages with Flamingo"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: contact-form-7/admin/admin.php:430
|
242 |
msgid "http://contactform7.com/selectable-recipient-with-pipes/"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: contact-form-7/admin/admin.php:430
|
246 |
msgid "Selectable Recipient with Pipes"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: contact-form-7/admin/admin.php:431
|
250 |
msgid ""
|
251 |
"http://contactform7.com/tracking-form-submissions-with-google-analytics/"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: contact-form-7/admin/admin.php:431
|
255 |
msgid "Tracking with Google Analytics"
|
256 |
msgstr ""
|
257 |
|
297 |
msgstr ""
|
298 |
|
299 |
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:14
|
300 |
+
#: contact-form-7/modules/date.php:139
|
301 |
msgid "Date"
|
302 |
msgstr ""
|
303 |
|
324 |
msgstr ""
|
325 |
|
326 |
#: contact-form-7/admin/includes/help-tabs.php:16
|
327 |
+
#: contact-form-7/admin/includes/help-tabs.php:39
|
328 |
+
msgid "Overview"
|
329 |
msgstr ""
|
330 |
|
331 |
#: contact-form-7/admin/includes/help-tabs.php:21
|
332 |
msgid "Available Actions"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: contact-form-7/admin/includes/help-tabs.php:30
|
336 |
msgid "Adding A New Contact Form"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: contact-form-7/admin/includes/help-tabs.php:44
|
|
|
|
|
|
|
|
|
340 |
msgid "Form-tags"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: contact-form-7/admin/includes/help-tabs.php:49
|
344 |
msgid "Mail-tags"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: contact-form-7/admin/includes/help-tabs.php:61
|
348 |
msgid ""
|
349 |
"On this screen, you can manage contact forms provided by Contact Form 7. You "
|
350 |
"can manage an unlimited number of contact forms. Each contact form has a "
|
353 |
"target."
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: contact-form-7/admin/includes/help-tabs.php:63
|
357 |
msgid ""
|
358 |
"Hovering over a row in the contact forms list will display action links that "
|
359 |
"allow you to manage your contact form. You can perform the following actions:"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: contact-form-7/admin/includes/help-tabs.php:64
|
363 |
msgid ""
|
364 |
"<strong>Edit</strong> - Navigates to the editing screen for that contact "
|
365 |
"form. You can also reach that screen by clicking on the contact form title."
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: contact-form-7/admin/includes/help-tabs.php:65
|
369 |
msgid ""
|
370 |
"<strong>Duplicate</strong> - Clones that contact form. A cloned contact form "
|
371 |
"inherits all content from the original, but has a different ID."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: contact-form-7/admin/includes/help-tabs.php:67
|
375 |
msgid ""
|
376 |
"You can add a new contact form on this screen. You can create a contact form "
|
377 |
"in your language, which is set WordPress local settings, or in a language "
|
378 |
"that you select from available options."
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: contact-form-7/admin/includes/help-tabs.php:69
|
382 |
msgid ""
|
383 |
"On this screen, you can edit a contact form. A contact form is comprised of "
|
384 |
"the following components:"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: contact-form-7/admin/includes/help-tabs.php:70
|
388 |
msgid ""
|
389 |
"<strong>Title</strong> is the title of a contact form. This title is only "
|
390 |
"used for labeling a contact form, and can be edited."
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: contact-form-7/admin/includes/help-tabs.php:71
|
394 |
msgid ""
|
395 |
"<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, "
|
396 |
"which is allowed inside a form element. You can also use Contact Form "
|
397 |
"7’s form-tags here."
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: contact-form-7/admin/includes/help-tabs.php:72
|
401 |
msgid ""
|
402 |
"<strong>Mail</strong> manages a mail template (headers and message body) "
|
403 |
"that this contact form will send when users submit it. You can use Contact "
|
404 |
"Form 7’s mail-tags here."
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: contact-form-7/admin/includes/help-tabs.php:73
|
408 |
msgid ""
|
409 |
"<strong>Mail (2)</strong> is an additional mail template that works similar "
|
410 |
"to Mail. Mail (2) is different in that it is sent only when Mail has been "
|
411 |
"sent successfully."
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: contact-form-7/admin/includes/help-tabs.php:74
|
415 |
msgid ""
|
416 |
"In <strong>Messages</strong>, you can edit various types of messages used "
|
417 |
"for this contact form. These messages are relatively short messages, like a "
|
418 |
"validation error message you see when you leave a required field blank."
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: contact-form-7/admin/includes/help-tabs.php:75
|
422 |
msgid ""
|
423 |
"<strong>Additional Settings</strong> provides a place where you can "
|
424 |
"customize the behavior of this contact form by adding code snippets."
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: contact-form-7/admin/includes/help-tabs.php:77
|
428 |
msgid ""
|
429 |
"A form-tag is a short code enclosed in square brackets used in a form "
|
430 |
"content. A form-tag generally represents an input field, and its components "
|
434 |
"fields, CAPTCHAs, and quiz fields."
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: contact-form-7/admin/includes/help-tabs.php:78
|
438 |
msgid ""
|
439 |
"While form-tags have a comparatively complex syntax, you don’t need to "
|
440 |
"know the syntax to add form-tags because you can use the straightforward tag "
|
441 |
"generator (<strong>Generate Tag</strong> button on this screen)."
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: contact-form-7/admin/includes/help-tabs.php:80
|
445 |
msgid ""
|
446 |
"A mail-tag is also a short code enclosed in square brackets that you can use "
|
447 |
"in every Mail and Mail (2) field. A mail-tag represents a user input value "
|
448 |
"through an input field of a corresponding form-tag."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: contact-form-7/admin/includes/help-tabs.php:81
|
452 |
msgid ""
|
453 |
"There are also special mail-tags that have specific names, but don’t "
|
454 |
"have corresponding form-tags. They are used to represent meta information of "
|
456 |
"page."
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: contact-form-7/admin/includes/help-tabs.php:89
|
460 |
msgid "For more information:"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: contact-form-7/admin/includes/help-tabs.php:90
|
464 |
msgid "<a href=\"http://contactform7.com/docs/\" target=\"_blank\">Docs</a>"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: contact-form-7/admin/includes/help-tabs.php:91
|
468 |
msgid "<a href=\"http://contactform7.com/faq/\" target=\"_blank\">FAQ</a>"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: contact-form-7/admin/includes/help-tabs.php:92
|
472 |
msgid ""
|
473 |
"<a href=\"http://contactform7.com/support/\" target=\"_blank\">Support</a>"
|
474 |
msgstr ""
|
505 |
msgid "Exclude lines with blank mail-tags from output"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: contact-form-7/admin/includes/meta-boxes.php:117
|
509 |
+
msgid "Show all messages"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
#: contact-form-7/includes/contact-form-template.php:23
|
513 |
msgid "Your Name"
|
514 |
msgstr ""
|
601 |
msgstr ""
|
602 |
|
603 |
#: contact-form-7/includes/contact-form-template.php:154
|
604 |
+
msgid "Please fill in the required field."
|
605 |
+
msgstr ""
|
606 |
+
|
607 |
+
#: contact-form-7/includes/contact-form-template.php:159
|
608 |
+
msgid ""
|
609 |
+
"There is a field that the user input is longer than the maximum allowed "
|
610 |
+
"length"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: contact-form-7/includes/contact-form-template.php:161
|
614 |
+
msgid "This input is too long."
|
615 |
+
msgstr ""
|
616 |
+
|
617 |
+
#: contact-form-7/includes/contact-form-template.php:166
|
618 |
+
msgid ""
|
619 |
+
"There is a field that the user input is shorter than the minimum allowed "
|
620 |
+
"length"
|
621 |
+
msgstr ""
|
622 |
+
|
623 |
+
#: contact-form-7/includes/contact-form-template.php:168
|
624 |
+
msgid "This input is too short."
|
625 |
msgstr ""
|
626 |
|
627 |
#: contact-form-7/includes/contact-form.php:30
|
900 |
msgid "Vietnamese"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: contact-form-7/modules/acceptance.php:132
|
904 |
msgid "Acceptance"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: contact-form-7/modules/acceptance.php:141
|
908 |
+
#: contact-form-7/modules/captcha.php:212
|
909 |
+
#: contact-form-7/modules/checkbox.php:282 contact-form-7/modules/date.php:156
|
910 |
+
#: contact-form-7/modules/file.php:231 contact-form-7/modules/number.php:166
|
911 |
+
#: contact-form-7/modules/quiz.php:172 contact-form-7/modules/select.php:155
|
912 |
+
#: contact-form-7/modules/text.php:231 contact-form-7/modules/textarea.php:134
|
913 |
msgid "Name"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: contact-form-7/modules/acceptance.php:146
|
917 |
+
#: contact-form-7/modules/acceptance.php:149
|
918 |
+
#: contact-form-7/modules/captcha.php:219
|
919 |
+
#: contact-form-7/modules/captcha.php:222
|
920 |
+
#: contact-form-7/modules/captcha.php:227
|
921 |
+
#: contact-form-7/modules/captcha.php:230
|
922 |
+
#: contact-form-7/modules/captcha.php:234
|
923 |
+
#: contact-form-7/modules/captcha.php:245
|
924 |
+
#: contact-form-7/modules/captcha.php:248
|
925 |
+
#: contact-form-7/modules/captcha.php:253
|
926 |
+
#: contact-form-7/modules/captcha.php:256
|
927 |
+
#: contact-form-7/modules/checkbox.php:287
|
928 |
+
#: contact-form-7/modules/checkbox.php:290 contact-form-7/modules/date.php:161
|
929 |
+
#: contact-form-7/modules/date.php:164 contact-form-7/modules/date.php:169
|
930 |
#: contact-form-7/modules/date.php:172 contact-form-7/modules/date.php:177
|
931 |
+
#: contact-form-7/modules/date.php:182 contact-form-7/modules/file.php:236
|
932 |
+
#: contact-form-7/modules/file.php:239 contact-form-7/modules/file.php:244
|
933 |
+
#: contact-form-7/modules/file.php:247 contact-form-7/modules/number.php:171
|
934 |
+
#: contact-form-7/modules/number.php:174 contact-form-7/modules/number.php:179
|
935 |
#: contact-form-7/modules/number.php:182 contact-form-7/modules/number.php:187
|
936 |
+
#: contact-form-7/modules/number.php:192 contact-form-7/modules/quiz.php:177
|
937 |
+
#: contact-form-7/modules/quiz.php:180 contact-form-7/modules/quiz.php:185
|
938 |
+
#: contact-form-7/modules/quiz.php:188 contact-form-7/modules/select.php:160
|
939 |
+
#: contact-form-7/modules/select.php:163 contact-form-7/modules/submit.php:59
|
|
|
940 |
#: contact-form-7/modules/submit.php:62 contact-form-7/modules/submit.php:67
|
941 |
+
#: contact-form-7/modules/text.php:236 contact-form-7/modules/text.php:239
|
942 |
+
#: contact-form-7/modules/text.php:244 contact-form-7/modules/text.php:247
|
943 |
+
#: contact-form-7/modules/text.php:253 contact-form-7/modules/text.php:266
|
944 |
+
#: contact-form-7/modules/textarea.php:139
|
|
|
|
|
|
|
|
|
945 |
#: contact-form-7/modules/textarea.php:142
|
946 |
+
#: contact-form-7/modules/textarea.php:147
|
947 |
+
#: contact-form-7/modules/textarea.php:150
|
948 |
+
#: contact-form-7/modules/textarea.php:155
|
949 |
+
#: contact-form-7/modules/textarea.php:160
|
950 |
msgid "optional"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: contact-form-7/modules/acceptance.php:155
|
954 |
msgid "Make this checkbox checked by default?"
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: contact-form-7/modules/acceptance.php:156
|
958 |
msgid "Make this checkbox work inversely?"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: contact-form-7/modules/acceptance.php:157
|
962 |
msgid "* That means visitor who accepts the term unchecks it."
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: contact-form-7/modules/acceptance.php:162
|
966 |
+
#: contact-form-7/modules/captcha.php:261
|
967 |
+
#: contact-form-7/modules/checkbox.php:310 contact-form-7/modules/date.php:190
|
968 |
+
#: contact-form-7/modules/file.php:252 contact-form-7/modules/number.php:200
|
969 |
+
#: contact-form-7/modules/quiz.php:200 contact-form-7/modules/select.php:180
|
970 |
+
#: contact-form-7/modules/submit.php:74 contact-form-7/modules/text.php:274
|
971 |
+
#: contact-form-7/modules/textarea.php:168
|
972 |
msgid "Copy this code and paste it into the form left."
|
973 |
msgstr ""
|
974 |
|
978 |
"really-simple-captcha/\">Really Simple CAPTCHA</a> plugin installed."
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: contact-form-7/modules/captcha.php:184
|
982 |
msgid "The code that sender entered does not match the CAPTCHA"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: contact-form-7/modules/captcha.php:185
|
986 |
msgid "Your entered code is incorrect."
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: contact-form-7/modules/captcha.php:198
|
990 |
msgid "CAPTCHA"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: contact-form-7/modules/captcha.php:209
|
994 |
msgid "Note: To use CAPTCHA, you need Really Simple CAPTCHA plugin installed."
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: contact-form-7/modules/captcha.php:216
|
998 |
msgid "Image settings"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: contact-form-7/modules/captcha.php:227
|
1002 |
msgid "Foreground color"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: contact-form-7/modules/captcha.php:230
|
1006 |
msgid "Background color"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: contact-form-7/modules/captcha.php:234
|
1010 |
msgid "Image size"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: contact-form-7/modules/captcha.php:235
|
1014 |
msgid "Small"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: contact-form-7/modules/captcha.php:236
|
1018 |
msgid "Medium"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: contact-form-7/modules/captcha.php:237
|
1022 |
msgid "Large"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: contact-form-7/modules/captcha.php:242
|
1026 |
msgid "Input field settings"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: contact-form-7/modules/captcha.php:262
|
1030 |
msgid "For image"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: contact-form-7/modules/captcha.php:264
|
1034 |
msgid "For input field"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: contact-form-7/modules/captcha.php:295
|
1038 |
#, php-format
|
1039 |
msgid ""
|
1040 |
"This contact form contains CAPTCHA fields, but the temporary folder for the "
|
1042 |
"change its permission manually."
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: contact-form-7/modules/captcha.php:301
|
1046 |
msgid ""
|
1047 |
"This contact form contains CAPTCHA fields, but the necessary libraries (GD "
|
1048 |
"and FreeType) are not available on your server."
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: contact-form-7/modules/checkbox.php:255
|
1052 |
msgid "Checkboxes"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: contact-form-7/modules/checkbox.php:258
|
1056 |
msgid "Radio buttons"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: contact-form-7/modules/checkbox.php:279 contact-form-7/modules/date.php:155
|
1060 |
+
#: contact-form-7/modules/file.php:230 contact-form-7/modules/number.php:165
|
1061 |
+
#: contact-form-7/modules/select.php:154 contact-form-7/modules/text.php:230
|
1062 |
+
#: contact-form-7/modules/textarea.php:133
|
1063 |
msgid "Required field?"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: contact-form-7/modules/checkbox.php:295
|
1067 |
+
#: contact-form-7/modules/select.php:168
|
1068 |
msgid "Choices"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: contact-form-7/modules/checkbox.php:297
|
1072 |
+
#: contact-form-7/modules/select.php:170
|
1073 |
msgid "* One choice per line."
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: contact-form-7/modules/checkbox.php:301
|
1077 |
msgid "Put a label first, a checkbox last?"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: contact-form-7/modules/checkbox.php:302
|
1081 |
msgid "Wrap each item with <label> tag?"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: contact-form-7/modules/checkbox.php:304
|
1085 |
msgid "Make checkboxes exclusive?"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: contact-form-7/modules/checkbox.php:312 contact-form-7/modules/date.php:192
|
1089 |
+
#: contact-form-7/modules/number.php:202 contact-form-7/modules/select.php:182
|
1090 |
+
#: contact-form-7/modules/text.php:276 contact-form-7/modules/textarea.php:170
|
1091 |
msgid "And, put this code into the Mail fields below."
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: contact-form-7/modules/date.php:115
|
1095 |
msgid "Date format that the sender entered is invalid"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: contact-form-7/modules/date.php:116
|
1099 |
msgid "Date format seems invalid."
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: contact-form-7/modules/date.php:120
|
1103 |
msgid "Date is earlier than minimum limit"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: contact-form-7/modules/date.php:121
|
1107 |
msgid "This date is too early."
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: contact-form-7/modules/date.php:125
|
1111 |
msgid "Date is later than maximum limit"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: contact-form-7/modules/date.php:126
|
1115 |
msgid "This date is too late."
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: contact-form-7/modules/date.php:182 contact-form-7/modules/number.php:192
|
1119 |
+
#: contact-form-7/modules/text.php:266 contact-form-7/modules/textarea.php:160
|
1120 |
msgid "Default value"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: contact-form-7/modules/date.php:185 contact-form-7/modules/number.php:195
|
1124 |
+
#: contact-form-7/modules/text.php:269 contact-form-7/modules/textarea.php:163
|
1125 |
msgid "Use this text as placeholder?"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: contact-form-7/modules/file.php:191
|
1129 |
msgid "Uploading a file fails for any reason"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: contact-form-7/modules/file.php:192
|
1133 |
msgid "Failed to upload file."
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: contact-form-7/modules/file.php:196
|
1137 |
msgid "Uploaded file is not allowed file type"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: contact-form-7/modules/file.php:197
|
1141 |
msgid "This file type is not allowed."
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: contact-form-7/modules/file.php:201
|
1145 |
msgid "Uploaded file is too large"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: contact-form-7/modules/file.php:202
|
1149 |
msgid "This file is too large."
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: contact-form-7/modules/file.php:206
|
1153 |
msgid "Uploading a file fails for PHP error"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: contact-form-7/modules/file.php:207
|
1157 |
msgid "Failed to upload file. Error occurred."
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: contact-form-7/modules/file.php:221
|
1161 |
msgid "File upload"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: contact-form-7/modules/file.php:244
|
1165 |
msgid "File size limit"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: contact-form-7/modules/file.php:244
|
1169 |
msgid "bytes"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
+
#: contact-form-7/modules/file.php:247
|
1173 |
msgid "Acceptable file types"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: contact-form-7/modules/file.php:254
|
1177 |
msgid "And, put this code into the File Attachments field below."
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: contact-form-7/modules/file.php:280
|
1181 |
#, php-format
|
1182 |
msgid ""
|
1183 |
"This contact form contains file uploading fields, but the temporary folder "
|
1192 |
"strong> <a href=\"%s\" target=\"_blank\">See how to avoid it.</a>"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: contact-form-7/modules/number.php:118
|
1196 |
msgid "Number format that the sender entered is invalid"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
+
#: contact-form-7/modules/number.php:119
|
1200 |
msgid "Number format seems invalid."
|
1201 |
msgstr ""
|
1202 |
|
1203 |
+
#: contact-form-7/modules/number.php:123
|
1204 |
msgid "Number is smaller than minimum limit"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
+
#: contact-form-7/modules/number.php:124
|
1208 |
msgid "This number is too small."
|
1209 |
msgstr ""
|
1210 |
|
1211 |
+
#: contact-form-7/modules/number.php:128
|
1212 |
msgid "Number is larger than maximum limit"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: contact-form-7/modules/number.php:129
|
1216 |
msgid "This number is too large."
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: contact-form-7/modules/number.php:142
|
1220 |
msgid "Number (spinbox)"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
+
#: contact-form-7/modules/number.php:145
|
1224 |
msgid "Number (slider)"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: contact-form-7/modules/quiz.php:149
|
1228 |
msgid "Sender doesn't enter the correct answer to the quiz"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: contact-form-7/modules/quiz.php:150
|
1232 |
msgid "Your answer is not correct."
|
1233 |
msgstr ""
|
1234 |
|
1235 |
+
#: contact-form-7/modules/quiz.php:163
|
1236 |
msgid "Quiz"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
+
#: contact-form-7/modules/quiz.php:193
|
1240 |
msgid "Quizzes"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
+
#: contact-form-7/modules/quiz.php:195
|
1244 |
msgid "* quiz|answer (e.g. 1+1=?|2)"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: contact-form-7/modules/select.php:145
|
1248 |
msgid "Drop-down menu"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: contact-form-7/modules/select.php:174
|
1252 |
msgid "Allow multiple selections?"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: contact-form-7/modules/select.php:175
|
1256 |
msgid "Insert a blank item as the first option?"
|
1257 |
msgstr ""
|
1258 |
|
1264 |
msgid "Label"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
+
#: contact-form-7/modules/text.php:169
|
1268 |
msgid "Email address that the sender entered is invalid"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: contact-form-7/modules/text.php:170
|
1272 |
msgid "Email address seems invalid."
|
1273 |
msgstr ""
|
1274 |
|
1275 |
+
#: contact-form-7/modules/text.php:174
|
1276 |
msgid "URL that the sender entered is invalid"
|
1277 |
msgstr ""
|
1278 |
|
1279 |
+
#: contact-form-7/modules/text.php:175
|
1280 |
msgid "URL seems invalid."
|
1281 |
msgstr ""
|
1282 |
|
1283 |
+
#: contact-form-7/modules/text.php:179
|
1284 |
msgid "Telephone number that the sender entered is invalid"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
+
#: contact-form-7/modules/text.php:180
|
1288 |
msgid "Telephone number seems invalid."
|
1289 |
msgstr ""
|
1290 |
|
1291 |
+
#: contact-form-7/modules/text.php:193
|
1292 |
msgid "Text field"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
+
#: contact-form-7/modules/text.php:196
|
1296 |
msgid "Email"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
+
#: contact-form-7/modules/text.php:199
|
1300 |
msgid "URL"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
+
#: contact-form-7/modules/text.php:202
|
1304 |
msgid "Telephone number"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
+
#: contact-form-7/modules/text.php:253
|
1308 |
msgid "Akismet"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
+
#: contact-form-7/modules/text.php:255
|
1312 |
msgid "This field requires author's name"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
+
#: contact-form-7/modules/text.php:257
|
1316 |
msgid "This field requires author's email address"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
+
#: contact-form-7/modules/text.php:259
|
1320 |
msgid "This field requires author's URL"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
+
#: contact-form-7/modules/textarea.php:124
|
1324 |
msgid "Text area"
|
1325 |
msgstr ""
|
1326 |
+
|
1327 |
+
#: contact-form-7/settings.php:72
|
1328 |
+
#, php-format
|
1329 |
+
msgid "Contact form %d"
|
1330 |
+
msgstr ""
|
modules/acceptance.php
CHANGED
@@ -69,12 +69,7 @@ function wpcf7_acceptance_validation_filter( $result, $tag ) {
|
|
69 |
$invert = $tag->has_option( 'invert' );
|
70 |
|
71 |
if ( $invert && $value || ! $invert && ! $value ) {
|
72 |
-
$result
|
73 |
-
$result['reason'][$name] = wpcf7_get_message( 'accept_terms' );
|
74 |
-
}
|
75 |
-
|
76 |
-
if ( isset( $result['reason'][$name] ) && $id = $tag->get_id_option() ) {
|
77 |
-
$result['idref'][$name] = $id;
|
78 |
}
|
79 |
|
80 |
return $result;
|
69 |
$invert = $tag->has_option( 'invert' );
|
70 |
|
71 |
if ( $invert && $value || ! $invert && ! $value ) {
|
72 |
+
$result->invalidate( $tag, wpcf7_get_message( 'accept_terms' ) );
|
|
|
|
|
|
|
|
|
|
|
73 |
}
|
74 |
|
75 |
return $result;
|
modules/captcha.php
CHANGED
@@ -73,6 +73,13 @@ function wpcf7_captcha_shortcode_handler( $tag ) {
|
|
73 |
|
74 |
$atts['size'] = $tag->get_size_option( '40' );
|
75 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
$atts['class'] = $tag->get_class_option( $class );
|
77 |
$atts['id'] = $tag->get_id_option();
|
78 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
@@ -120,12 +127,7 @@ function wpcf7_captcha_validation_filter( $result, $tag ) {
|
|
120 |
$response = isset( $_POST[$name] ) ? (string) $_POST[$name] : '';
|
121 |
|
122 |
if ( 0 == strlen( $prefix ) || ! wpcf7_check_captcha( $prefix, $response ) ) {
|
123 |
-
$result
|
124 |
-
$result['reason'][$name] = wpcf7_get_message( 'captcha_not_match' );
|
125 |
-
}
|
126 |
-
|
127 |
-
if ( isset( $result['reason'][$name] ) && $id = $tag->get_id_option() ) {
|
128 |
-
$result['idref'][$name] = $id;
|
129 |
}
|
130 |
|
131 |
if ( 0 != strlen( $prefix ) ) {
|
73 |
|
74 |
$atts['size'] = $tag->get_size_option( '40' );
|
75 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
76 |
+
$atts['minlength'] = $tag->get_minlength_option();
|
77 |
+
|
78 |
+
if ( $atts['maxlength'] && $atts['minlength']
|
79 |
+
&& $atts['maxlength'] < $atts['minlength'] ) {
|
80 |
+
unset( $atts['maxlength'], $atts['minlength'] );
|
81 |
+
}
|
82 |
+
|
83 |
$atts['class'] = $tag->get_class_option( $class );
|
84 |
$atts['id'] = $tag->get_id_option();
|
85 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
127 |
$response = isset( $_POST[$name] ) ? (string) $_POST[$name] : '';
|
128 |
|
129 |
if ( 0 == strlen( $prefix ) || ! wpcf7_check_captcha( $prefix, $response ) ) {
|
130 |
+
$result->invalidate( $tag, wpcf7_get_message( 'captcha_not_match' ) );
|
|
|
|
|
|
|
|
|
|
|
131 |
}
|
132 |
|
133 |
if ( 0 != strlen( $prefix ) ) {
|
modules/checkbox.php
CHANGED
@@ -182,15 +182,8 @@ function wpcf7_checkbox_validation_filter( $result, $tag ) {
|
|
182 |
|
183 |
$value = isset( $_POST[$name] ) ? (array) $_POST[$name] : array();
|
184 |
|
185 |
-
if (
|
186 |
-
|
187 |
-
$result['valid'] = false;
|
188 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
189 |
-
}
|
190 |
-
}
|
191 |
-
|
192 |
-
if ( isset( $result['reason'][$name] ) && $id = $tag->get_id_option() ) {
|
193 |
-
$result['idref'][$name] = $id;
|
194 |
}
|
195 |
|
196 |
return $result;
|
182 |
|
183 |
$value = isset( $_POST[$name] ) ? (array) $_POST[$name] : array();
|
184 |
|
185 |
+
if ( $tag->is_required() && empty( $value ) ) {
|
186 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
}
|
188 |
|
189 |
return $result;
|
modules/count.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
** A base module for [count], Twitter-like character count
|
4 |
+
**/
|
5 |
+
|
6 |
+
/* Shortcode handler */
|
7 |
+
|
8 |
+
add_action( 'wpcf7_init', 'wpcf7_add_shortcode_count' );
|
9 |
+
|
10 |
+
function wpcf7_add_shortcode_count() {
|
11 |
+
wpcf7_add_shortcode( 'count', 'wpcf7_count_shortcode_handler', true );
|
12 |
+
}
|
13 |
+
|
14 |
+
function wpcf7_count_shortcode_handler( $tag ) {
|
15 |
+
$tag = new WPCF7_Shortcode( $tag );
|
16 |
+
|
17 |
+
if ( empty( $tag->name ) ) {
|
18 |
+
return '';
|
19 |
+
}
|
20 |
+
|
21 |
+
$target = wpcf7_scan_shortcode( array( 'name' => $tag->name ) );
|
22 |
+
$maxlength = $minlength = null;
|
23 |
+
|
24 |
+
if ( $target ) {
|
25 |
+
$target = new WPCF7_Shortcode( $target[0] );
|
26 |
+
$maxlength = $target->get_maxlength_option();
|
27 |
+
$minlength = $target->get_minlength_option();
|
28 |
+
|
29 |
+
if ( $maxlength && $minlength && $maxlength < $minlength ) {
|
30 |
+
$maxlength = $minlength = null;
|
31 |
+
}
|
32 |
+
}
|
33 |
+
|
34 |
+
if ( $tag->has_option( 'down' ) ) {
|
35 |
+
$value = (int) $maxlength;
|
36 |
+
$class = 'wpcf7-character-count down';
|
37 |
+
} else {
|
38 |
+
$value = '0';
|
39 |
+
$class = 'wpcf7-character-count up';
|
40 |
+
}
|
41 |
+
|
42 |
+
$atts = array();
|
43 |
+
$atts['id'] = $tag->get_id_option();
|
44 |
+
$atts['class'] = $tag->get_class_option( $class );
|
45 |
+
$atts['data-target-name'] = $tag->name;
|
46 |
+
$atts['data-starting-value'] = $value;
|
47 |
+
$atts['data-current-value'] = $value;
|
48 |
+
$atts['data-maximum-value'] = $maxlength;
|
49 |
+
$atts['data-minimum-value'] = $minlength;
|
50 |
+
$atts = wpcf7_format_atts( $atts );
|
51 |
+
|
52 |
+
$html = sprintf( '<span %1$s>%2$s</span>', $atts, $value );
|
53 |
+
|
54 |
+
return $html;
|
55 |
+
}
|
56 |
+
|
57 |
+
?>
|
modules/date.php
CHANGED
@@ -92,21 +92,13 @@ function wpcf7_date_validation_filter( $result, $tag ) {
|
|
92 |
: '';
|
93 |
|
94 |
if ( $tag->is_required() && '' == $value ) {
|
95 |
-
$result
|
96 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
97 |
} elseif ( '' != $value && ! wpcf7_is_date( $value ) ) {
|
98 |
-
$result
|
99 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_date' );
|
100 |
} elseif ( '' != $value && ! empty( $min ) && $value < $min ) {
|
101 |
-
$result
|
102 |
-
$result['reason'][$name] = wpcf7_get_message( 'date_too_early' );
|
103 |
} elseif ( '' != $value && ! empty( $max ) && $max < $value ) {
|
104 |
-
$result
|
105 |
-
$result['reason'][$name] = wpcf7_get_message( 'date_too_late' );
|
106 |
-
}
|
107 |
-
|
108 |
-
if ( isset( $result['reason'][$name] ) && $id = $tag->get_id_option() ) {
|
109 |
-
$result['idref'][$name] = $id;
|
110 |
}
|
111 |
|
112 |
return $result;
|
92 |
: '';
|
93 |
|
94 |
if ( $tag->is_required() && '' == $value ) {
|
95 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
96 |
} elseif ( '' != $value && ! wpcf7_is_date( $value ) ) {
|
97 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_date' ) );
|
|
|
98 |
} elseif ( '' != $value && ! empty( $min ) && $value < $min ) {
|
99 |
+
$result->invalidate( $tag, wpcf7_get_message( 'date_too_early' ) );
|
|
|
100 |
} elseif ( '' != $value && ! empty( $max ) && $max < $value ) {
|
101 |
+
$result->invalidate( $tag, wpcf7_get_message( 'date_too_late' ) );
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
103 |
|
104 |
return $result;
|
modules/file.php
CHANGED
@@ -80,16 +80,12 @@ function wpcf7_file_validation_filter( $result, $tag ) {
|
|
80 |
$file = isset( $_FILES[$name] ) ? $_FILES[$name] : null;
|
81 |
|
82 |
if ( $file['error'] && UPLOAD_ERR_NO_FILE != $file['error'] ) {
|
83 |
-
$result
|
84 |
-
$result['reason'][$name] = wpcf7_get_message( 'upload_failed_php_error' );
|
85 |
-
$result['idref'][$name] = $id ? $id : null;
|
86 |
return $result;
|
87 |
}
|
88 |
|
89 |
if ( empty( $file['tmp_name'] ) && $tag->is_required() ) {
|
90 |
-
$result
|
91 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
92 |
-
$result['idref'][$name] = $id ? $id : null;
|
93 |
return $result;
|
94 |
}
|
95 |
|
@@ -148,18 +144,14 @@ function wpcf7_file_validation_filter( $result, $tag ) {
|
|
148 |
$file_type_pattern = '/\.' . $file_type_pattern . '$/i';
|
149 |
|
150 |
if ( ! preg_match( $file_type_pattern, $file['name'] ) ) {
|
151 |
-
$result
|
152 |
-
$result['reason'][$name] = wpcf7_get_message( 'upload_file_type_invalid' );
|
153 |
-
$result['idref'][$name] = $id ? $id : null;
|
154 |
return $result;
|
155 |
}
|
156 |
|
157 |
/* File size validation */
|
158 |
|
159 |
if ( $file['size'] > $allowed_size ) {
|
160 |
-
$result
|
161 |
-
$result['reason'][$name] = wpcf7_get_message( 'upload_file_too_large' );
|
162 |
-
$result['idref'][$name] = $id ? $id : null;
|
163 |
return $result;
|
164 |
}
|
165 |
|
@@ -174,9 +166,7 @@ function wpcf7_file_validation_filter( $result, $tag ) {
|
|
174 |
$new_file = trailingslashit( $uploads_dir ) . $filename;
|
175 |
|
176 |
if ( false === @move_uploaded_file( $file['tmp_name'], $new_file ) ) {
|
177 |
-
$result
|
178 |
-
$result['reason'][$name] = wpcf7_get_message( 'upload_failed' );
|
179 |
-
$result['idref'][$name] = $id ? $id : null;
|
180 |
return $result;
|
181 |
}
|
182 |
|
80 |
$file = isset( $_FILES[$name] ) ? $_FILES[$name] : null;
|
81 |
|
82 |
if ( $file['error'] && UPLOAD_ERR_NO_FILE != $file['error'] ) {
|
83 |
+
$result->invalidate( $tag, wpcf7_get_message( 'upload_failed_php_error' ) );
|
|
|
|
|
84 |
return $result;
|
85 |
}
|
86 |
|
87 |
if ( empty( $file['tmp_name'] ) && $tag->is_required() ) {
|
88 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
|
|
89 |
return $result;
|
90 |
}
|
91 |
|
144 |
$file_type_pattern = '/\.' . $file_type_pattern . '$/i';
|
145 |
|
146 |
if ( ! preg_match( $file_type_pattern, $file['name'] ) ) {
|
147 |
+
$result->invalidate( $tag, wpcf7_get_message( 'upload_file_type_invalid' ) );
|
|
|
|
|
148 |
return $result;
|
149 |
}
|
150 |
|
151 |
/* File size validation */
|
152 |
|
153 |
if ( $file['size'] > $allowed_size ) {
|
154 |
+
$result->invalidate( $tag, wpcf7_get_message( 'upload_file_too_large' ) );
|
|
|
|
|
155 |
return $result;
|
156 |
}
|
157 |
|
166 |
$new_file = trailingslashit( $uploads_dir ) . $filename;
|
167 |
|
168 |
if ( false === @move_uploaded_file( $file['tmp_name'], $new_file ) ) {
|
169 |
+
$result->invalidate( $tag, wpcf7_get_message( 'upload_failed' ) );
|
|
|
|
|
170 |
return $result;
|
171 |
}
|
172 |
|
modules/number.php
CHANGED
@@ -95,21 +95,13 @@ function wpcf7_number_validation_filter( $result, $tag ) {
|
|
95 |
$max = $tag->get_option( 'max', 'signed_int', true );
|
96 |
|
97 |
if ( $tag->is_required() && '' == $value ) {
|
98 |
-
$result
|
99 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
100 |
} elseif ( '' != $value && ! wpcf7_is_number( $value ) ) {
|
101 |
-
$result
|
102 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_number' );
|
103 |
} elseif ( '' != $value && '' != $min && (float) $value < (float) $min ) {
|
104 |
-
$result
|
105 |
-
$result['reason'][$name] = wpcf7_get_message( 'number_too_small' );
|
106 |
} elseif ( '' != $value && '' != $max && (float) $max < (float) $value ) {
|
107 |
-
$result
|
108 |
-
$result['reason'][$name] = wpcf7_get_message( 'number_too_large' );
|
109 |
-
}
|
110 |
-
|
111 |
-
if ( isset( $result['reason'][$name] ) && $id = $tag->get_id_option() ) {
|
112 |
-
$result['idref'][$name] = $id;
|
113 |
}
|
114 |
|
115 |
return $result;
|
95 |
$max = $tag->get_option( 'max', 'signed_int', true );
|
96 |
|
97 |
if ( $tag->is_required() && '' == $value ) {
|
98 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
99 |
} elseif ( '' != $value && ! wpcf7_is_number( $value ) ) {
|
100 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_number' ) );
|
|
|
101 |
} elseif ( '' != $value && '' != $min && (float) $value < (float) $min ) {
|
102 |
+
$result->invalidate( $tag, wpcf7_get_message( 'number_too_small' ) );
|
|
|
103 |
} elseif ( '' != $value && '' != $max && (float) $max < (float) $value ) {
|
104 |
+
$result->invalidate( $tag, wpcf7_get_message( 'number_too_large' ) );
|
|
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
|
107 |
return $result;
|
modules/quiz.php
CHANGED
@@ -28,6 +28,12 @@ function wpcf7_quiz_shortcode_handler( $tag ) {
|
|
28 |
|
29 |
$atts['size'] = $tag->get_size_option( '40' );
|
30 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
$atts['class'] = $tag->get_class_option( $class );
|
32 |
$atts['id'] = $tag->get_id_option();
|
33 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
@@ -36,7 +42,7 @@ function wpcf7_quiz_shortcode_handler( $tag ) {
|
|
36 |
|
37 |
$pipes = $tag->pipes;
|
38 |
|
39 |
-
if (
|
40 |
$pipe = $pipes->random_pipe();
|
41 |
$question = $pipe->before;
|
42 |
$answer = $pipe->after;
|
@@ -82,12 +88,7 @@ function wpcf7_quiz_validation_filter( $result, $tag ) {
|
|
82 |
: '';
|
83 |
|
84 |
if ( $answer_hash != $expected_hash ) {
|
85 |
-
$result
|
86 |
-
$result['reason'][$name] = wpcf7_get_message( 'quiz_answer_not_correct' );
|
87 |
-
}
|
88 |
-
|
89 |
-
if ( isset( $result['reason'][$name] ) && $id = $tag->get_id_option() ) {
|
90 |
-
$result['idref'][$name] = $id;
|
91 |
}
|
92 |
|
93 |
return $result;
|
@@ -117,7 +118,7 @@ function wpcf7_quiz_ajax_refill( $items ) {
|
|
117 |
if ( empty( $name ) )
|
118 |
continue;
|
119 |
|
120 |
-
if (
|
121 |
$pipe = $pipes->random_pipe();
|
122 |
$question = $pipe->before;
|
123 |
$answer = $pipe->after;
|
28 |
|
29 |
$atts['size'] = $tag->get_size_option( '40' );
|
30 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
31 |
+
$atts['minlength'] = $tag->get_minlength_option();
|
32 |
+
|
33 |
+
if ( $atts['maxlength'] && $atts['minlength'] && $atts['maxlength'] < $atts['minlength'] ) {
|
34 |
+
unset( $atts['maxlength'], $atts['minlength'] );
|
35 |
+
}
|
36 |
+
|
37 |
$atts['class'] = $tag->get_class_option( $class );
|
38 |
$atts['id'] = $tag->get_id_option();
|
39 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
42 |
|
43 |
$pipes = $tag->pipes;
|
44 |
|
45 |
+
if ( $pipes instanceof WPCF7_Pipes && ! $pipes->zero() ) {
|
46 |
$pipe = $pipes->random_pipe();
|
47 |
$question = $pipe->before;
|
48 |
$answer = $pipe->after;
|
88 |
: '';
|
89 |
|
90 |
if ( $answer_hash != $expected_hash ) {
|
91 |
+
$result->invalidate( $tag, wpcf7_get_message( 'quiz_answer_not_correct' ) );
|
|
|
|
|
|
|
|
|
|
|
92 |
}
|
93 |
|
94 |
return $result;
|
118 |
if ( empty( $name ) )
|
119 |
continue;
|
120 |
|
121 |
+
if ( $pipes instanceof WPCF7_Pipes && ! $pipes->zero() ) {
|
122 |
$pipe = $pipes->random_pipe();
|
123 |
$question = $pipe->before;
|
124 |
$answer = $pipe->after;
|
modules/select.php
CHANGED
@@ -124,16 +124,10 @@ function wpcf7_select_validation_filter( $result, $tag ) {
|
|
124 |
}
|
125 |
}
|
126 |
|
127 |
-
|
128 |
-
if ( ! isset( $_POST[$name] )
|
129 |
-
|| empty( $_POST[$name] ) && '0' !== $_POST[$name] ) {
|
130 |
-
$result['valid'] = false;
|
131 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
132 |
-
}
|
133 |
-
}
|
134 |
|
135 |
-
if (
|
136 |
-
$result
|
137 |
}
|
138 |
|
139 |
return $result;
|
124 |
}
|
125 |
}
|
126 |
|
127 |
+
$empty = ! isset( $_POST[$name] ) || empty( $_POST[$name] ) && '0' !== $_POST[$name];
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
|
129 |
+
if ( $tag->is_required() && $empty ) {
|
130 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
131 |
}
|
132 |
|
133 |
return $result;
|
modules/text.php
CHANGED
@@ -37,6 +37,12 @@ function wpcf7_text_shortcode_handler( $tag ) {
|
|
37 |
|
38 |
$atts['size'] = $tag->get_size_option( '40' );
|
39 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
$atts['class'] = $tag->get_class_option( $class );
|
41 |
$atts['id'] = $tag->get_id_option();
|
42 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
@@ -100,45 +106,53 @@ function wpcf7_text_validation_filter( $result, $tag ) {
|
|
100 |
? trim( wp_unslash( strtr( (string) $_POST[$name], "\n", " " ) ) )
|
101 |
: '';
|
102 |
|
103 |
-
if ( 'text
|
104 |
-
if ( '' == $value ) {
|
105 |
-
$result
|
106 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
107 |
}
|
108 |
}
|
109 |
|
110 |
if ( 'email' == $tag->basetype ) {
|
111 |
if ( $tag->is_required() && '' == $value ) {
|
112 |
-
$result
|
113 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
114 |
} elseif ( '' != $value && ! wpcf7_is_email( $value ) ) {
|
115 |
-
$result
|
116 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_email' );
|
117 |
}
|
118 |
}
|
119 |
|
120 |
if ( 'url' == $tag->basetype ) {
|
121 |
if ( $tag->is_required() && '' == $value ) {
|
122 |
-
$result
|
123 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
124 |
} elseif ( '' != $value && ! wpcf7_is_url( $value ) ) {
|
125 |
-
$result
|
126 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_url' );
|
127 |
}
|
128 |
}
|
129 |
|
130 |
if ( 'tel' == $tag->basetype ) {
|
131 |
if ( $tag->is_required() && '' == $value ) {
|
132 |
-
$result
|
133 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
134 |
} elseif ( '' != $value && ! wpcf7_is_tel( $value ) ) {
|
135 |
-
$result
|
136 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_tel' );
|
137 |
}
|
138 |
}
|
139 |
|
140 |
-
if (
|
141 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
}
|
143 |
|
144 |
return $result;
|
37 |
|
38 |
$atts['size'] = $tag->get_size_option( '40' );
|
39 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
40 |
+
$atts['minlength'] = $tag->get_minlength_option();
|
41 |
+
|
42 |
+
if ( $atts['maxlength'] && $atts['minlength'] && $atts['maxlength'] < $atts['minlength'] ) {
|
43 |
+
unset( $atts['maxlength'], $atts['minlength'] );
|
44 |
+
}
|
45 |
+
|
46 |
$atts['class'] = $tag->get_class_option( $class );
|
47 |
$atts['id'] = $tag->get_id_option();
|
48 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
106 |
? trim( wp_unslash( strtr( (string) $_POST[$name], "\n", " " ) ) )
|
107 |
: '';
|
108 |
|
109 |
+
if ( 'text' == $tag->basetype ) {
|
110 |
+
if ( $tag->is_required() && '' == $value ) {
|
111 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
112 |
}
|
113 |
}
|
114 |
|
115 |
if ( 'email' == $tag->basetype ) {
|
116 |
if ( $tag->is_required() && '' == $value ) {
|
117 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
118 |
} elseif ( '' != $value && ! wpcf7_is_email( $value ) ) {
|
119 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_email' ) );
|
|
|
120 |
}
|
121 |
}
|
122 |
|
123 |
if ( 'url' == $tag->basetype ) {
|
124 |
if ( $tag->is_required() && '' == $value ) {
|
125 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
126 |
} elseif ( '' != $value && ! wpcf7_is_url( $value ) ) {
|
127 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_url' ) );
|
|
|
128 |
}
|
129 |
}
|
130 |
|
131 |
if ( 'tel' == $tag->basetype ) {
|
132 |
if ( $tag->is_required() && '' == $value ) {
|
133 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
134 |
} elseif ( '' != $value && ! wpcf7_is_tel( $value ) ) {
|
135 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_tel' ) );
|
|
|
136 |
}
|
137 |
}
|
138 |
|
139 |
+
if ( ! empty( $value ) ) {
|
140 |
+
$maxlength = $tag->get_maxlength_option();
|
141 |
+
$minlength = $tag->get_minlength_option();
|
142 |
+
|
143 |
+
if ( $maxlength && $minlength && $maxlength < $minlength ) {
|
144 |
+
$maxlength = $minlength = null;
|
145 |
+
}
|
146 |
+
|
147 |
+
$code_units = wpcf7_count_code_units( $value );
|
148 |
+
|
149 |
+
if ( false !== $code_units ) {
|
150 |
+
if ( $maxlength && $maxlength < $code_units ) {
|
151 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_too_long' ) );
|
152 |
+
} elseif ( $minlength && $code_units < $minlength ) {
|
153 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_too_short' ) );
|
154 |
+
}
|
155 |
+
}
|
156 |
}
|
157 |
|
158 |
return $result;
|
modules/textarea.php
CHANGED
@@ -30,6 +30,12 @@ function wpcf7_textarea_shortcode_handler( $tag ) {
|
|
30 |
$atts['cols'] = $tag->get_cols_option( '40' );
|
31 |
$atts['rows'] = $tag->get_rows_option( '10' );
|
32 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
$atts['class'] = $tag->get_class_option( $class );
|
34 |
$atts['id'] = $tag->get_id_option();
|
35 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
@@ -80,15 +86,27 @@ function wpcf7_textarea_validation_filter( $result, $tag ) {
|
|
80 |
|
81 |
$value = isset( $_POST[$name] ) ? (string) $_POST[$name] : '';
|
82 |
|
83 |
-
if ( '
|
84 |
-
|
85 |
-
$result['valid'] = false;
|
86 |
-
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );
|
87 |
-
}
|
88 |
}
|
89 |
|
90 |
-
if (
|
91 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
}
|
93 |
|
94 |
return $result;
|
30 |
$atts['cols'] = $tag->get_cols_option( '40' );
|
31 |
$atts['rows'] = $tag->get_rows_option( '10' );
|
32 |
$atts['maxlength'] = $tag->get_maxlength_option();
|
33 |
+
$atts['minlength'] = $tag->get_minlength_option();
|
34 |
+
|
35 |
+
if ( $atts['maxlength'] && $atts['minlength'] && $atts['maxlength'] < $atts['minlength'] ) {
|
36 |
+
unset( $atts['maxlength'], $atts['minlength'] );
|
37 |
+
}
|
38 |
+
|
39 |
$atts['class'] = $tag->get_class_option( $class );
|
40 |
$atts['id'] = $tag->get_id_option();
|
41 |
$atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true );
|
86 |
|
87 |
$value = isset( $_POST[$name] ) ? (string) $_POST[$name] : '';
|
88 |
|
89 |
+
if ( $tag->is_required() && '' == $value ) {
|
90 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_required' ) );
|
|
|
|
|
|
|
91 |
}
|
92 |
|
93 |
+
if ( ! empty( $value ) ) {
|
94 |
+
$maxlength = $tag->get_maxlength_option();
|
95 |
+
$minlength = $tag->get_minlength_option();
|
96 |
+
|
97 |
+
if ( $maxlength && $minlength && $maxlength < $minlength ) {
|
98 |
+
$maxlength = $minlength = null;
|
99 |
+
}
|
100 |
+
|
101 |
+
$code_units = wpcf7_count_code_units( $value );
|
102 |
+
|
103 |
+
if ( false !== $code_units ) {
|
104 |
+
if ( $maxlength && $maxlength < $code_units ) {
|
105 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_too_long' ) );
|
106 |
+
} elseif ( $minlength && $code_units < $minlength ) {
|
107 |
+
$result->invalidate( $tag, wpcf7_get_message( 'invalid_too_short' ) );
|
108 |
+
}
|
109 |
+
}
|
110 |
}
|
111 |
|
112 |
return $result;
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: takayukister
|
3 |
Donate link: http://contactform7.com/donate/
|
4 |
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
|
5 |
-
Requires at least:
|
6 |
Tested up to: 4.1
|
7 |
Stable tag: 4.0.3
|
8 |
License: GPLv2 or later
|
2 |
Contributors: takayukister
|
3 |
Donate link: http://contactform7.com/donate/
|
4 |
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
|
5 |
+
Requires at least: 4.0
|
6 |
Tested up to: 4.1
|
7 |
Stable tag: 4.0.3
|
8 |
License: GPLv2 or later
|
wp-contact-form-7.php
CHANGED
@@ -7,10 +7,10 @@ Author: Takayuki Miyoshi
|
|
7 |
Author URI: http://ideasilo.wordpress.com/
|
8 |
Text Domain: contact-form-7
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 4.
|
11 |
*/
|
12 |
|
13 |
-
/* Copyright 2007-
|
14 |
|
15 |
This program is free software; you can redistribute it and/or modify
|
16 |
it under the terms of the GNU General Public License as published by
|
@@ -27,9 +27,9 @@ Version: 4.0.3
|
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
-
define( 'WPCF7_VERSION', '4.
|
31 |
|
32 |
-
define( 'WPCF7_REQUIRED_WP_VERSION', '
|
33 |
|
34 |
define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
35 |
|
7 |
Author URI: http://ideasilo.wordpress.com/
|
8 |
Text Domain: contact-form-7
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 4.1-beta
|
11 |
*/
|
12 |
|
13 |
+
/* Copyright 2007-2015 Takayuki Miyoshi (email: takayukister at gmail.com)
|
14 |
|
15 |
This program is free software; you can redistribute it and/or modify
|
16 |
it under the terms of the GNU General Public License as published by
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
+
define( 'WPCF7_VERSION', '4.1-beta' );
|
31 |
|
32 |
+
define( 'WPCF7_REQUIRED_WP_VERSION', '4.0' );
|
33 |
|
34 |
define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
35 |
|