Version Description
- The configuration validator has been introduced.
- The language selector has been removed from Add New Contact Form screen.
- Attach a plain text version of the message when sending HTML mail.
- Added do_not_store additional setting to tell data storage add-ons not to store data through the contact form.
- The minimum required WordPress version has been changed from 4.2 to 4.3.
Download this release
Release Info
Developer | takayukister |
Plugin | Contact Form 7 |
Version | 4.4 |
Comparing to | |
See all releases |
Code changes from version 4.3.1 to 4.4
- admin/admin.php +160 -48
- admin/css/styles-rtl.css +1 -1
- admin/css/styles.css +28 -2
- admin/edit-contact-form.php +2 -2
- admin/includes/admin-functions.php +35 -4
- admin/includes/class-contact-forms-list-table.php +25 -6
- admin/includes/editor.php +48 -10
- admin/includes/help-tabs.php +0 -11
- admin/js/tag-generator.js +4 -0
- includes/config-validator.php +325 -0
- includes/contact-form-template.php +17 -13
- includes/contact-form.php +37 -0
- includes/functions.php +5 -0
- includes/integration.php +1 -1
- includes/l10n.php +22 -68
- includes/mail.php +35 -9
- languages/contact-form-7-az.mo +0 -0
- languages/{contact-form-7-be_BY.mo → contact-form-7-bel.mo} +0 -0
- languages/{contact-form-7-eo_EO.mo → contact-form-7-eo.mo} +0 -0
- languages/{contact-form-7-ga_IE.mo → contact-form-7-ga.mo} +0 -0
- languages/{contact-form-7-gu_IN.mo → contact-form-7-gu.mo} +0 -0
- languages/contact-form-7-hr.mo +0 -0
- languages/contact-form-7-hu_HU.mo +0 -0
- languages/{contact-form-7-hy_AM.mo → contact-form-7-hy.mo} +0 -0
- languages/contact-form-7-ja.mo +0 -0
- languages/contact-form-7-nl_NL.mo +0 -0
- languages/contact-form-7-pt_PT.mo +0 -0
- languages/contact-form-7-sv_SE.mo +0 -0
- languages/{contact-form-7-ta.mo → contact-form-7-ta_IN.mo} +0 -0
- languages/contact-form-7.pot +222 -446
- license.txt +1 -1
- modules/date.php +3 -3
- modules/file.php +5 -5
- modules/flamingo.php +2 -1
- modules/jetpack.php +0 -27
- modules/number.php +3 -3
- modules/quiz.php +1 -1
- modules/text.php +3 -3
- readme.txt +17 -73
- settings.php +1 -1
- wp-contact-form-7.php +7 -3
admin/admin.php
CHANGED
@@ -13,10 +13,15 @@ function wpcf7_admin_init() {
|
|
13 |
add_action( 'admin_menu', 'wpcf7_admin_menu', 9 );
|
14 |
|
15 |
function wpcf7_admin_menu() {
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
__( 'Contact', 'contact-form-7' ),
|
18 |
'wpcf7_read_contact_forms', 'wpcf7',
|
19 |
-
'wpcf7_admin_management_page', 'dashicons-email'
|
|
|
20 |
|
21 |
$edit = add_submenu_page( 'wpcf7',
|
22 |
__( 'Edit Contact Form', 'contact-form-7' ),
|
@@ -149,13 +154,49 @@ function wpcf7_load_contact_form_admin() {
|
|
149 |
exit();
|
150 |
}
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
$_GET['post'] = isset( $_GET['post'] ) ? $_GET['post'] : '';
|
153 |
|
154 |
$post = null;
|
155 |
|
156 |
-
if ( 'wpcf7-new' == $plugin_page
|
157 |
$post = WPCF7_ContactForm::get_template( array(
|
158 |
-
'locale' => $_GET['locale'] ) );
|
159 |
} elseif ( ! empty( $_GET['post'] ) ) {
|
160 |
$post = WPCF7_ContactForm::get_instance( $_GET['post'] );
|
161 |
}
|
@@ -166,10 +207,6 @@ function wpcf7_load_contact_form_admin() {
|
|
166 |
|
167 |
if ( $post && current_user_can( 'wpcf7_edit_contact_form', $post->id() ) ) {
|
168 |
$help_tabs->set_help_tabs( 'edit' );
|
169 |
-
|
170 |
-
} else if ( 'wpcf7-new' == $plugin_page ) {
|
171 |
-
$help_tabs->set_help_tabs( 'add_new' );
|
172 |
-
|
173 |
} else {
|
174 |
$help_tabs->set_help_tabs( 'list' );
|
175 |
|
@@ -229,13 +266,20 @@ function wpcf7_admin_management_page() {
|
|
229 |
return;
|
230 |
}
|
231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
$list_table = new WPCF7_Contact_Form_List_Table();
|
233 |
$list_table->prepare_items();
|
234 |
|
235 |
?>
|
236 |
<div class="wrap">
|
237 |
|
238 |
-
<
|
239 |
echo esc_html( __( 'Contact Forms', 'contact-form-7' ) );
|
240 |
|
241 |
if ( current_user_can( 'wpcf7_edit_contact_forms' ) ) {
|
@@ -247,7 +291,7 @@ function wpcf7_admin_management_page() {
|
|
247 |
. __( 'Search results for “%s”', 'contact-form-7' )
|
248 |
. '</span>', esc_html( $_REQUEST['s'] ) );
|
249 |
}
|
250 |
-
?></
|
251 |
|
252 |
<?php do_action( 'wpcf7_admin_notices' ); ?>
|
253 |
|
@@ -261,48 +305,45 @@ function wpcf7_admin_management_page() {
|
|
261 |
<?php
|
262 |
}
|
263 |
|
264 |
-
function
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
require_once WPCF7_PLUGIN_DIR . '/admin/includes/editor.php';
|
269 |
-
require_once WPCF7_PLUGIN_DIR . '/admin/edit-contact-form.php';
|
270 |
-
return;
|
271 |
-
}
|
272 |
-
|
273 |
-
$available_locales = wpcf7_l10n();
|
274 |
-
$default_locale = get_locale();
|
275 |
|
276 |
-
|
277 |
-
|
278 |
-
|
|
|
|
|
|
|
279 |
|
280 |
?>
|
281 |
<div class="wrap">
|
282 |
|
283 |
-
<
|
284 |
-
|
285 |
-
<?php do_action( 'wpcf7_admin_notices' ); ?>
|
286 |
|
287 |
-
<
|
288 |
-
<
|
289 |
-
|
290 |
-
<?php
|
291 |
-
<h3><?php echo esc_html( __( 'Or', 'contact-form-7' ) ); ?></h3>
|
292 |
-
<form action="" method="get">
|
293 |
-
<input type="hidden" name="page" value="wpcf7-new" />
|
294 |
-
<select name="locale">
|
295 |
-
<option value="" selected="selected"><?php echo esc_html( __( '(select language)', 'contact-form-7' ) ); ?></option>
|
296 |
-
<?php foreach ( $available_locales as $code => $locale ) : ?>
|
297 |
-
<option value="<?php echo esc_attr( $code ); ?>"><?php echo esc_html( $locale ); ?></option>
|
298 |
-
<?php endforeach; ?>
|
299 |
-
</select>
|
300 |
-
<input type="submit" class="button" value="<?php echo esc_attr( __( 'Add New', 'contact-form-7' ) ); ?>" />
|
301 |
</form>
|
|
|
302 |
</div>
|
303 |
<?php
|
304 |
}
|
305 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
function wpcf7_load_integration_page() {
|
307 |
$integration = WPCF7_Integration::get_instance();
|
308 |
|
@@ -322,7 +363,7 @@ function wpcf7_admin_integration_page() {
|
|
322 |
?>
|
323 |
<div class="wrap">
|
324 |
|
325 |
-
<
|
326 |
|
327 |
<?php do_action( 'wpcf7_admin_notices' ); ?>
|
328 |
|
@@ -351,11 +392,26 @@ function wpcf7_admin_updated_message() {
|
|
351 |
}
|
352 |
|
353 |
if ( 'created' == $_REQUEST['message'] ) {
|
354 |
-
$updated_message = __(
|
355 |
} elseif ( 'saved' == $_REQUEST['message'] ) {
|
356 |
-
$updated_message = __(
|
357 |
} elseif ( 'deleted' == $_REQUEST['message'] ) {
|
358 |
-
$updated_message = __(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
}
|
360 |
|
361 |
if ( ! empty( $updated_message ) ) {
|
@@ -419,13 +475,13 @@ function wpcf7_welcome_panel() {
|
|
419 |
<div class="welcome-panel-content">
|
420 |
<div class="welcome-panel-column-container">
|
421 |
<div class="welcome-panel-column">
|
422 |
-
<
|
423 |
<p class="message"><?php echo esc_html( __( "It is hard to continue development and support for this plugin without contributions from users like you. If you enjoy using Contact Form 7 and find it useful, please consider making a donation.", 'contact-form-7' ) ); ?></p>
|
424 |
<p><?php echo wpcf7_link( __( 'http://contactform7.com/donate/', 'contact-form-7' ), __( 'Donate', 'contact-form-7' ), array( 'class' => 'button button-primary' ) ); ?></p>
|
425 |
</div>
|
426 |
|
427 |
<div class="welcome-panel-column">
|
428 |
-
<
|
429 |
<ul>
|
430 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/getting-started-with-contact-form-7/', 'contact-form-7' ), __( 'Getting Started with Contact Form 7', 'contact-form-7' ) ); ?></li>
|
431 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/admin-screen/', 'contact-form-7' ), __( 'Admin Screen', 'contact-form-7' ) ); ?></li>
|
@@ -435,7 +491,7 @@ function wpcf7_welcome_panel() {
|
|
435 |
</div>
|
436 |
|
437 |
<div class="welcome-panel-column">
|
438 |
-
<
|
439 |
<ul>
|
440 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/spam-filtering-with-akismet/', 'contact-form-7' ), __( 'Spam Filtering with Akismet', 'contact-form-7' ) ); ?></li>
|
441 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/save-submitted-messages-with-flamingo/', 'contact-form-7' ), __( 'Save Messages with Flamingo', 'contact-form-7' ) ); ?></li>
|
@@ -492,3 +548,59 @@ function wpcf7_not_allowed_to_edit() {
|
|
492 |
'<div class="notice notice-warning is-dismissible"><p>%s</p></div>',
|
493 |
esc_html( $message ) );
|
494 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
add_action( 'admin_menu', 'wpcf7_admin_menu', 9 );
|
14 |
|
15 |
function wpcf7_admin_menu() {
|
16 |
+
global $_wp_last_object_menu;
|
17 |
+
|
18 |
+
$_wp_last_object_menu++;
|
19 |
+
|
20 |
+
add_menu_page( __( 'Contact Form 7', 'contact-form-7' ),
|
21 |
__( 'Contact', 'contact-form-7' ),
|
22 |
'wpcf7_read_contact_forms', 'wpcf7',
|
23 |
+
'wpcf7_admin_management_page', 'dashicons-email',
|
24 |
+
$_wp_last_object_menu );
|
25 |
|
26 |
$edit = add_submenu_page( 'wpcf7',
|
27 |
__( 'Edit Contact Form', 'contact-form-7' ),
|
154 |
exit();
|
155 |
}
|
156 |
|
157 |
+
if ( 'validate' == $action && wpcf7_validate_configuration() ) {
|
158 |
+
if ( 'POST' == $_SERVER['REQUEST_METHOD'] ) {
|
159 |
+
check_admin_referer( 'wpcf7-bulk-validate' );
|
160 |
+
|
161 |
+
if ( ! current_user_can( 'wpcf7_edit_contact_forms' ) ) {
|
162 |
+
wp_die( __( "You are not allowed to validate configuration.", 'contact-form-7' ) );
|
163 |
+
}
|
164 |
+
|
165 |
+
$contact_forms = WPCF7_ContactForm::find();
|
166 |
+
$result = array(
|
167 |
+
'timestamp' => current_time( 'timestamp' ),
|
168 |
+
'version' => WPCF7_VERSION,
|
169 |
+
'count_valid' => 0,
|
170 |
+
'count_invalid' => 0 );
|
171 |
+
|
172 |
+
foreach ( $contact_forms as $contact_form ) {
|
173 |
+
$contact_form->validate_configuration();
|
174 |
+
|
175 |
+
if ( $contact_form->get_config_errors() ) {
|
176 |
+
$result['count_invalid'] += 1;
|
177 |
+
} else {
|
178 |
+
$result['count_valid'] += 1;
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
WPCF7::update_option( 'bulk_validate', $result );
|
183 |
+
|
184 |
+
$query = array(
|
185 |
+
'message' => 'validated' );
|
186 |
+
|
187 |
+
$redirect_to = add_query_arg( $query, menu_page_url( 'wpcf7', false ) );
|
188 |
+
wp_safe_redirect( $redirect_to );
|
189 |
+
exit();
|
190 |
+
}
|
191 |
+
}
|
192 |
+
|
193 |
$_GET['post'] = isset( $_GET['post'] ) ? $_GET['post'] : '';
|
194 |
|
195 |
$post = null;
|
196 |
|
197 |
+
if ( 'wpcf7-new' == $plugin_page ) {
|
198 |
$post = WPCF7_ContactForm::get_template( array(
|
199 |
+
'locale' => isset( $_GET['locale'] ) ? $_GET['locale'] : null ) );
|
200 |
} elseif ( ! empty( $_GET['post'] ) ) {
|
201 |
$post = WPCF7_ContactForm::get_instance( $_GET['post'] );
|
202 |
}
|
207 |
|
208 |
if ( $post && current_user_can( 'wpcf7_edit_contact_form', $post->id() ) ) {
|
209 |
$help_tabs->set_help_tabs( 'edit' );
|
|
|
|
|
|
|
|
|
210 |
} else {
|
211 |
$help_tabs->set_help_tabs( 'list' );
|
212 |
|
266 |
return;
|
267 |
}
|
268 |
|
269 |
+
if ( 'validate' == wpcf7_current_action()
|
270 |
+
&& wpcf7_validate_configuration()
|
271 |
+
&& current_user_can( 'wpcf7_edit_contact_forms' ) ) {
|
272 |
+
wpcf7_admin_bulk_validate_page();
|
273 |
+
return;
|
274 |
+
}
|
275 |
+
|
276 |
$list_table = new WPCF7_Contact_Form_List_Table();
|
277 |
$list_table->prepare_items();
|
278 |
|
279 |
?>
|
280 |
<div class="wrap">
|
281 |
|
282 |
+
<h1><?php
|
283 |
echo esc_html( __( 'Contact Forms', 'contact-form-7' ) );
|
284 |
|
285 |
if ( current_user_can( 'wpcf7_edit_contact_forms' ) ) {
|
291 |
. __( 'Search results for “%s”', 'contact-form-7' )
|
292 |
. '</span>', esc_html( $_REQUEST['s'] ) );
|
293 |
}
|
294 |
+
?></h1>
|
295 |
|
296 |
<?php do_action( 'wpcf7_admin_notices' ); ?>
|
297 |
|
305 |
<?php
|
306 |
}
|
307 |
|
308 |
+
function wpcf7_admin_bulk_validate_page() {
|
309 |
+
$contact_forms = WPCF7_ContactForm::find();
|
310 |
+
$count = WPCF7_ContactForm::count();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
|
312 |
+
$submit_text = sprintf(
|
313 |
+
_n(
|
314 |
+
"Validate %s Contact Form Now",
|
315 |
+
"Validate %s Contact Forms Now",
|
316 |
+
$count, 'contact-form-7' ),
|
317 |
+
number_format_i18n( $count ) );
|
318 |
|
319 |
?>
|
320 |
<div class="wrap">
|
321 |
|
322 |
+
<h1><?php echo esc_html( __( 'Validate Configuration', 'contact-form-7' ) ); ?></h1>
|
|
|
|
|
323 |
|
324 |
+
<form method="post" action="">
|
325 |
+
<input type="hidden" name="action" value="validate" />
|
326 |
+
<?php wp_nonce_field( 'wpcf7-bulk-validate' ); ?>
|
327 |
+
<p><input type="submit" class="button" value="<?php echo esc_attr( $submit_text ); ?>" /></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
</form>
|
329 |
+
|
330 |
</div>
|
331 |
<?php
|
332 |
}
|
333 |
|
334 |
+
function wpcf7_admin_add_new_page() {
|
335 |
+
$post = wpcf7_get_current_contact_form();
|
336 |
+
|
337 |
+
if ( ! $post ) {
|
338 |
+
$post = WPCF7_ContactForm::get_template();
|
339 |
+
}
|
340 |
+
|
341 |
+
$post_id = -1;
|
342 |
+
|
343 |
+
require_once WPCF7_PLUGIN_DIR . '/admin/includes/editor.php';
|
344 |
+
require_once WPCF7_PLUGIN_DIR . '/admin/edit-contact-form.php';
|
345 |
+
}
|
346 |
+
|
347 |
function wpcf7_load_integration_page() {
|
348 |
$integration = WPCF7_Integration::get_instance();
|
349 |
|
363 |
?>
|
364 |
<div class="wrap">
|
365 |
|
366 |
+
<h1><?php echo esc_html( __( 'Integration with Other Services', 'contact-form-7' ) ); ?></h1>
|
367 |
|
368 |
<?php do_action( 'wpcf7_admin_notices' ); ?>
|
369 |
|
392 |
}
|
393 |
|
394 |
if ( 'created' == $_REQUEST['message'] ) {
|
395 |
+
$updated_message = __( "Contact form created.", 'contact-form-7' );
|
396 |
} elseif ( 'saved' == $_REQUEST['message'] ) {
|
397 |
+
$updated_message = __( "Contact form saved.", 'contact-form-7' );
|
398 |
} elseif ( 'deleted' == $_REQUEST['message'] ) {
|
399 |
+
$updated_message = __( "Contact form deleted.", 'contact-form-7' );
|
400 |
+
} elseif ( 'validated' == $_REQUEST['message'] ) {
|
401 |
+
$bulk_validate = WPCF7::get_option( 'bulk_validate', array() );
|
402 |
+
$count_invalid = isset( $bulk_validate['count_invalid'] )
|
403 |
+
? absint( $bulk_validate['count_invalid'] ) : 0;
|
404 |
+
|
405 |
+
if ( $count_invalid ) {
|
406 |
+
$updated_message = sprintf(
|
407 |
+
_n(
|
408 |
+
"Configuration validation completed. An invalid contact form was found.",
|
409 |
+
"Configuration validation completed. %s invalid contact forms were found.",
|
410 |
+
$count_invalid, 'contact-form-7' ),
|
411 |
+
number_format_i18n( $count_invalid ) );
|
412 |
+
} else {
|
413 |
+
$updated_message = __( "Configuration validation completed. No invalid contact form was found.", 'contact-form-7' );
|
414 |
+
}
|
415 |
}
|
416 |
|
417 |
if ( ! empty( $updated_message ) ) {
|
475 |
<div class="welcome-panel-content">
|
476 |
<div class="welcome-panel-column-container">
|
477 |
<div class="welcome-panel-column">
|
478 |
+
<h3><?php echo esc_html( __( 'Contact Form 7 Needs Your Support', 'contact-form-7' ) ); ?></h3>
|
479 |
<p class="message"><?php echo esc_html( __( "It is hard to continue development and support for this plugin without contributions from users like you. If you enjoy using Contact Form 7 and find it useful, please consider making a donation.", 'contact-form-7' ) ); ?></p>
|
480 |
<p><?php echo wpcf7_link( __( 'http://contactform7.com/donate/', 'contact-form-7' ), __( 'Donate', 'contact-form-7' ), array( 'class' => 'button button-primary' ) ); ?></p>
|
481 |
</div>
|
482 |
|
483 |
<div class="welcome-panel-column">
|
484 |
+
<h3><?php echo esc_html( __( 'Get Started', 'contact-form-7' ) ); ?></h3>
|
485 |
<ul>
|
486 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/getting-started-with-contact-form-7/', 'contact-form-7' ), __( 'Getting Started with Contact Form 7', 'contact-form-7' ) ); ?></li>
|
487 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/admin-screen/', 'contact-form-7' ), __( 'Admin Screen', 'contact-form-7' ) ); ?></li>
|
491 |
</div>
|
492 |
|
493 |
<div class="welcome-panel-column">
|
494 |
+
<h3><?php echo esc_html( __( 'Did You Know?', 'contact-form-7' ) ); ?></h3>
|
495 |
<ul>
|
496 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/spam-filtering-with-akismet/', 'contact-form-7' ), __( 'Spam Filtering with Akismet', 'contact-form-7' ) ); ?></li>
|
497 |
<li><?php echo wpcf7_link( __( 'http://contactform7.com/save-submitted-messages-with-flamingo/', 'contact-form-7' ), __( 'Save Messages with Flamingo', 'contact-form-7' ) ); ?></li>
|
548 |
'<div class="notice notice-warning is-dismissible"><p>%s</p></div>',
|
549 |
esc_html( $message ) );
|
550 |
}
|
551 |
+
|
552 |
+
add_action( 'wpcf7_admin_notices', 'wpcf7_notice_config_errors' );
|
553 |
+
|
554 |
+
function wpcf7_notice_config_errors() {
|
555 |
+
if ( ! $contact_form = wpcf7_get_current_contact_form() ) {
|
556 |
+
return;
|
557 |
+
}
|
558 |
+
|
559 |
+
if ( ! wpcf7_validate_configuration()
|
560 |
+
|| ! current_user_can( 'wpcf7_edit_contact_form', $contact_form->id() ) ) {
|
561 |
+
return;
|
562 |
+
}
|
563 |
+
|
564 |
+
if ( $config_errors = $contact_form->get_config_errors() ) {
|
565 |
+
$message = sprintf(
|
566 |
+
_n(
|
567 |
+
"This contact form has a configuration error.",
|
568 |
+
"This contact form has %s configuration errors.",
|
569 |
+
count( $config_errors ), 'contact-form-7' ),
|
570 |
+
number_format_i18n( count( $config_errors ) ) );
|
571 |
+
|
572 |
+
$link = wpcf7_link(
|
573 |
+
__( 'http://contactform7.com/configuration-errors/', 'contact-form-7' ),
|
574 |
+
__( 'How to Resolve Configuration Errors', 'contact-form-7' ) );
|
575 |
+
|
576 |
+
echo sprintf( '<div class="notice notice-error is-dismissible"><p>%s » %s</p></div>', esc_html( $message ), $link );
|
577 |
+
}
|
578 |
+
}
|
579 |
+
|
580 |
+
add_action( 'admin_notices', 'wpcf7_notice_bulk_validate_config' );
|
581 |
+
|
582 |
+
function wpcf7_notice_bulk_validate_config() {
|
583 |
+
if ( ! wpcf7_validate_configuration()
|
584 |
+
|| ! current_user_can( 'wpcf7_edit_contact_forms' ) ) {
|
585 |
+
return;
|
586 |
+
}
|
587 |
+
|
588 |
+
if ( isset( $_GET['page'] ) && 'wpcf7' == $_GET['page']
|
589 |
+
&& isset( $_GET['action'] ) && 'validate' == $_GET['action'] ) {
|
590 |
+
return;
|
591 |
+
}
|
592 |
+
|
593 |
+
if ( WPCF7::get_option( 'bulk_validate' ) ) { // already done.
|
594 |
+
return;
|
595 |
+
}
|
596 |
+
|
597 |
+
$link = add_query_arg(
|
598 |
+
array( 'action' => 'validate' ),
|
599 |
+
menu_page_url( 'wpcf7', false ) );
|
600 |
+
|
601 |
+
$link = sprintf( '<a href="%s">%s</a>', $link, esc_html( __( 'Validate Contact Form 7 Configuration', 'contact-form-7' ) ) );
|
602 |
+
|
603 |
+
$message = __( "Misconfiguration leads to mail delivery failure or other troubles. Validate your contact forms now.", 'contact-form-7' );
|
604 |
+
|
605 |
+
echo sprintf( '<div class="notice notice-warning is-dismissible"><p>%s » %s</p></div>', esc_html( $message ), $link );
|
606 |
+
}
|
admin/css/styles-rtl.css
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
margin: 8px -8px 8px 8px;
|
26 |
}
|
27 |
|
28 |
-
.card
|
29 |
float: right;
|
30 |
}
|
31 |
|
25 |
margin: 8px -8px 8px 8px;
|
26 |
}
|
27 |
|
28 |
+
.card h2.title {
|
29 |
float: right;
|
30 |
}
|
31 |
|
admin/css/styles.css
CHANGED
@@ -39,6 +39,10 @@ span.shortcode > input {
|
|
39 |
color: #a00;
|
40 |
}
|
41 |
|
|
|
|
|
|
|
|
|
42 |
#submitpost input.delete:focus {
|
43 |
outline: thin dotted;
|
44 |
}
|
@@ -52,6 +56,12 @@ span.shortcode > input {
|
|
52 |
color: #23282d;
|
53 |
}
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
/*
|
56 |
* Tabs
|
57 |
*/
|
@@ -103,7 +113,7 @@ span.shortcode > input {
|
|
103 |
color: #000;
|
104 |
}
|
105 |
|
106 |
-
#contact-form-editor .contact-form-editor-panel
|
107 |
font-size: 18px;
|
108 |
font-weight: 400;
|
109 |
line-height: 24px;
|
@@ -253,6 +263,13 @@ span.shortcode > input {
|
|
253 |
color: #666;
|
254 |
}
|
255 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
/*
|
257 |
* List Table
|
258 |
*/
|
@@ -267,6 +284,13 @@ span.shortcode > input {
|
|
267 |
/*
|
268 |
* Welcome Panel
|
269 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
.welcome-panel p.message {
|
271 |
line-height: 1.4em;
|
272 |
margin-right: 25px;
|
@@ -304,9 +328,11 @@ span.shortcode > input {
|
|
304 |
margin: 8px 8px 8px -8px;
|
305 |
}
|
306 |
|
307 |
-
.card
|
308 |
float: left;
|
309 |
max-width: 240px;
|
|
|
|
|
310 |
}
|
311 |
|
312 |
.card .infobox {
|
39 |
color: #a00;
|
40 |
}
|
41 |
|
42 |
+
#submitpost input.delete:hover {
|
43 |
+
color: #f00;
|
44 |
+
}
|
45 |
+
|
46 |
#submitpost input.delete:focus {
|
47 |
outline: thin dotted;
|
48 |
}
|
56 |
color: #23282d;
|
57 |
}
|
58 |
|
59 |
+
div.config-error, span.config-error {
|
60 |
+
color: #d00;
|
61 |
+
font-style: normal;
|
62 |
+
font-size: 13px;
|
63 |
+
}
|
64 |
+
|
65 |
/*
|
66 |
* Tabs
|
67 |
*/
|
113 |
color: #000;
|
114 |
}
|
115 |
|
116 |
+
#contact-form-editor .contact-form-editor-panel h2 {
|
117 |
font-size: 18px;
|
118 |
font-weight: 400;
|
119 |
line-height: 24px;
|
263 |
color: #666;
|
264 |
}
|
265 |
|
266 |
+
/*
|
267 |
+
* Messages Panel
|
268 |
+
*/
|
269 |
+
#messages-panel p.description {
|
270 |
+
margin: 5px 0 10px;
|
271 |
+
}
|
272 |
+
|
273 |
/*
|
274 |
* List Table
|
275 |
*/
|
284 |
/*
|
285 |
* Welcome Panel
|
286 |
*/
|
287 |
+
.welcome-panel h3 {
|
288 |
+
font-size: 16px;
|
289 |
+
font-weight: 600;
|
290 |
+
line-height: 2.1em;
|
291 |
+
margin: 1.33em 0 0;
|
292 |
+
}
|
293 |
+
|
294 |
.welcome-panel p.message {
|
295 |
line-height: 1.4em;
|
296 |
margin-right: 25px;
|
328 |
margin: 8px 8px 8px -8px;
|
329 |
}
|
330 |
|
331 |
+
.card h2.title {
|
332 |
float: left;
|
333 |
max-width: 240px;
|
334 |
+
font-size: 1.3em;
|
335 |
+
font-weight: 600;
|
336 |
}
|
337 |
|
338 |
.card .infobox {
|
admin/edit-contact-form.php
CHANGED
@@ -31,7 +31,7 @@ function wpcf7_admin_save_button( $post_id ) {
|
|
31 |
|
32 |
?><div class="wrap">
|
33 |
|
34 |
-
<
|
35 |
if ( $post->initial() ) {
|
36 |
echo esc_html( __( 'Add New Contact Form', 'contact-form-7' ) );
|
37 |
} else {
|
@@ -41,7 +41,7 @@ function wpcf7_admin_save_button( $post_id ) {
|
|
41 |
echo ' <a href="' . esc_url( menu_page_url( 'wpcf7-new', false ) ) . '" class="add-new-h2">' . esc_html( __( 'Add New', 'contact-form-7' ) ) . '</a>';
|
42 |
}
|
43 |
}
|
44 |
-
?></
|
45 |
|
46 |
<?php do_action( 'wpcf7_admin_notices' ); ?>
|
47 |
|
31 |
|
32 |
?><div class="wrap">
|
33 |
|
34 |
+
<h1><?php
|
35 |
if ( $post->initial() ) {
|
36 |
echo esc_html( __( 'Add New Contact Form', 'contact-form-7' ) );
|
37 |
} else {
|
41 |
echo ' <a href="' . esc_url( menu_page_url( 'wpcf7-new', false ) ) . '" class="add-new-h2">' . esc_html( __( 'Add New', 'contact-form-7' ) ) . '</a>';
|
42 |
}
|
43 |
}
|
44 |
+
?></h1>
|
45 |
|
46 |
<?php do_action( 'wpcf7_admin_notices' ); ?>
|
47 |
|
admin/includes/admin-functions.php
CHANGED
@@ -67,7 +67,20 @@ function wpcf7_save_contact_form( $post_id = -1 ) {
|
|
67 |
}
|
68 |
|
69 |
if ( isset( $_POST['wpcf7-mail-additional-headers'] ) ) {
|
70 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
if ( isset( $_POST['wpcf7-mail-attachments'] ) ) {
|
@@ -100,8 +113,20 @@ function wpcf7_save_contact_form( $post_id = -1 ) {
|
|
100 |
}
|
101 |
|
102 |
if ( isset( $_POST['wpcf7-mail-2-additional-headers'] ) ) {
|
103 |
-
$
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
|
107 |
if ( isset( $_POST['wpcf7-mail-2-attachments'] ) ) {
|
@@ -130,5 +155,11 @@ function wpcf7_save_contact_form( $post_id = -1 ) {
|
|
130 |
|
131 |
do_action( 'wpcf7_save_contact_form', $contact_form );
|
132 |
|
133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
}
|
67 |
}
|
68 |
|
69 |
if ( isset( $_POST['wpcf7-mail-additional-headers'] ) ) {
|
70 |
+
$headers = '';
|
71 |
+
$tempheaders = str_replace(
|
72 |
+
"\r\n", "\n", $_POST['wpcf7-mail-additional-headers'] );
|
73 |
+
$tempheaders = explode( "\n", $tempheaders );
|
74 |
+
|
75 |
+
foreach ( $tempheaders as $header ) {
|
76 |
+
$header = trim( $header );
|
77 |
+
|
78 |
+
if ( '' !== $header ) {
|
79 |
+
$headers .= $header . "\n";
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
$mail['additional_headers'] = trim( $headers );
|
84 |
}
|
85 |
|
86 |
if ( isset( $_POST['wpcf7-mail-attachments'] ) ) {
|
113 |
}
|
114 |
|
115 |
if ( isset( $_POST['wpcf7-mail-2-additional-headers'] ) ) {
|
116 |
+
$headers = '';
|
117 |
+
$tempheaders = str_replace(
|
118 |
+
"\r\n", "\n", $_POST['wpcf7-mail-2-additional-headers'] );
|
119 |
+
$tempheaders = explode( "\n", $tempheaders );
|
120 |
+
|
121 |
+
foreach ( $tempheaders as $header ) {
|
122 |
+
$header = trim( $header );
|
123 |
+
|
124 |
+
if ( '' !== $header ) {
|
125 |
+
$headers .= $header . "\n";
|
126 |
+
}
|
127 |
+
}
|
128 |
+
|
129 |
+
$mail_2['additional_headers'] = trim( $headers );
|
130 |
}
|
131 |
|
132 |
if ( isset( $_POST['wpcf7-mail-2-attachments'] ) ) {
|
155 |
|
156 |
do_action( 'wpcf7_save_contact_form', $contact_form );
|
157 |
|
158 |
+
$post_id = $contact_form->save();
|
159 |
+
|
160 |
+
if ( wpcf7_validate_configuration() ) {
|
161 |
+
$contact_form->validate_configuration();
|
162 |
+
}
|
163 |
+
|
164 |
+
return $post_id;
|
165 |
}
|
admin/includes/class-contact-forms-list-table.php
CHANGED
@@ -100,6 +100,29 @@ class WPCF7_Contact_Form_List_Table extends WP_List_Table {
|
|
100 |
$url = admin_url( 'admin.php?page=wpcf7&post=' . absint( $item->id() ) );
|
101 |
$edit_link = add_query_arg( array( 'action' => 'edit' ), $url );
|
102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
$actions = array(
|
104 |
'edit' => sprintf( '<a href="%1$s">%2$s</a>',
|
105 |
esc_url( $edit_link ),
|
@@ -116,13 +139,9 @@ class WPCF7_Contact_Form_List_Table extends WP_List_Table {
|
|
116 |
esc_html( __( 'Duplicate', 'contact-form-7' ) ) ) ) );
|
117 |
}
|
118 |
|
119 |
-
$
|
120 |
-
esc_url( $edit_link ),
|
121 |
-
esc_attr( sprintf( __( 'Edit “%s”', 'contact-form-7' ),
|
122 |
-
$item->title() ) ),
|
123 |
-
esc_html( $item->title() ) );
|
124 |
|
125 |
-
return
|
126 |
}
|
127 |
|
128 |
function column_author( $item ) {
|
100 |
$url = admin_url( 'admin.php?page=wpcf7&post=' . absint( $item->id() ) );
|
101 |
$edit_link = add_query_arg( array( 'action' => 'edit' ), $url );
|
102 |
|
103 |
+
$output = sprintf(
|
104 |
+
'<a class="row-title" href="%1$s" title="%2$s">%3$s</a>',
|
105 |
+
esc_url( $edit_link ),
|
106 |
+
esc_attr( sprintf( __( 'Edit “%s”', 'contact-form-7' ),
|
107 |
+
$item->title() ) ),
|
108 |
+
esc_html( $item->title() ) );
|
109 |
+
|
110 |
+
$output = sprintf( '<strong>%s</strong>', $output );
|
111 |
+
|
112 |
+
if ( wpcf7_validate_configuration()
|
113 |
+
&& current_user_can( 'wpcf7_edit_contact_form', $item->id() )
|
114 |
+
&& $config_errors = $item->get_config_errors() ) {
|
115 |
+
$error_notice = sprintf(
|
116 |
+
_n(
|
117 |
+
'%s configuration error found',
|
118 |
+
'%s configuration errors found',
|
119 |
+
count( $config_errors ), 'contact-form-7' ),
|
120 |
+
number_format_i18n( count( $config_errors ) ) );
|
121 |
+
$output .= sprintf(
|
122 |
+
'<div class="config-error">%s</div>',
|
123 |
+
$error_notice );
|
124 |
+
}
|
125 |
+
|
126 |
$actions = array(
|
127 |
'edit' => sprintf( '<a href="%1$s">%2$s</a>',
|
128 |
esc_url( $edit_link ),
|
139 |
esc_html( __( 'Duplicate', 'contact-form-7' ) ) ) ) );
|
140 |
}
|
141 |
|
142 |
+
$output .= $this->row_actions( $actions );
|
|
|
|
|
|
|
|
|
143 |
|
144 |
+
return $output;
|
145 |
}
|
146 |
|
147 |
function column_author( $item ) {
|
admin/includes/editor.php
CHANGED
@@ -42,7 +42,7 @@ class WPCF7_Editor {
|
|
42 |
|
43 |
function wpcf7_editor_panel_form( $post ) {
|
44 |
?>
|
45 |
-
<
|
46 |
|
47 |
<?php
|
48 |
$tag_generator = WPCF7_TagGenerator::get_instance();
|
@@ -79,9 +79,11 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {
|
|
79 |
'subject' => '', 'body' => '', 'additional_headers' => '',
|
80 |
'attachments' => '', 'use_html' => false, 'exclude_blank' => false ) );
|
81 |
|
|
|
|
|
82 |
?>
|
83 |
<div class="contact-form-editor-box-mail" id="<?php echo $id; ?>">
|
84 |
-
<
|
85 |
|
86 |
<?php
|
87 |
if ( ! empty( $args['use'] ) ) :
|
@@ -102,7 +104,12 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {
|
|
102 |
<label for="<?php echo $id; ?>-recipient"><?php echo esc_html( __( 'To', 'contact-form-7' ) ); ?></label>
|
103 |
</th>
|
104 |
<td>
|
105 |
-
|
|
|
|
|
|
|
|
|
|
|
106 |
</td>
|
107 |
</tr>
|
108 |
|
@@ -111,7 +118,12 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {
|
|
111 |
<label for="<?php echo $id; ?>-sender"><?php echo esc_html( __( 'From', 'contact-form-7' ) ); ?></label>
|
112 |
</th>
|
113 |
<td>
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
115 |
</td>
|
116 |
</tr>
|
117 |
|
@@ -120,7 +132,12 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {
|
|
120 |
<label for="<?php echo $id; ?>-subject"><?php echo esc_html( __( 'Subject', 'contact-form-7' ) ); ?></label>
|
121 |
</th>
|
122 |
<td>
|
123 |
-
|
|
|
|
|
|
|
|
|
|
|
124 |
</td>
|
125 |
</tr>
|
126 |
|
@@ -129,7 +146,12 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {
|
|
129 |
<label for="<?php echo $id; ?>-additional-headers"><?php echo esc_html( __( 'Additional Headers', 'contact-form-7' ) ); ?></label>
|
130 |
</th>
|
131 |
<td>
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
133 |
</td>
|
134 |
</tr>
|
135 |
|
@@ -138,7 +160,12 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {
|
|
138 |
<label for="<?php echo $id; ?>-body"><?php echo esc_html( __( 'Message Body', 'contact-form-7' ) ); ?></label>
|
139 |
</th>
|
140 |
<td>
|
141 |
-
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
<p><label for="<?php echo $id; ?>-exclude-blank"><input type="checkbox" id="<?php echo $id; ?>-exclude-blank" name="<?php echo $id; ?>-exclude-blank" value="1"<?php echo ( ! empty( $mail['exclude_blank'] ) ) ? ' checked="checked"' : ''; ?> /> <?php echo esc_html( __( 'Exclude lines with blank mail-tags from output', 'contact-form-7' ) ); ?></label></p>
|
144 |
|
@@ -168,18 +195,29 @@ function wpcf7_editor_panel_messages( $post ) {
|
|
168 |
unset( $messages['captcha_not_match'] );
|
169 |
}
|
170 |
|
|
|
|
|
171 |
?>
|
172 |
-
<
|
173 |
<fieldset>
|
174 |
<legend><?php echo esc_html( __( 'Edit messages used in the following situations.', 'contact-form-7' ) ); ?></legend>
|
175 |
<?php
|
176 |
|
177 |
foreach ( $messages as $key => $arr ) {
|
178 |
$field_name = 'wpcf7-message-' . strtr( $key, '_', '-' );
|
|
|
|
|
|
|
|
|
179 |
?>
|
180 |
<p class="description">
|
181 |
<label for="<?php echo $field_name; ?>"><?php echo esc_html( $arr['description'] ); ?><br />
|
182 |
-
<input type="text" id="<?php echo $field_name; ?>" name="<?php echo $field_name; ?>" class="large-text" size="70" value="<?php echo esc_attr( $post->message( $key, false ) ); ?>" />
|
|
|
|
|
|
|
|
|
|
|
183 |
</label>
|
184 |
</p>
|
185 |
<?php
|
@@ -197,7 +235,7 @@ function wpcf7_editor_panel_additional_settings( $post ) {
|
|
197 |
$description = sprintf( esc_html( $description ), $desc_link );
|
198 |
|
199 |
?>
|
200 |
-
<
|
201 |
<fieldset>
|
202 |
<legend><?php echo $description; ?></legend>
|
203 |
<textarea id="wpcf7-additional-settings" name="wpcf7-additional-settings" cols="100" rows="8" class="large-text"><?php echo esc_textarea( $post->prop( 'additional_settings' ) ); ?></textarea>
|
42 |
|
43 |
function wpcf7_editor_panel_form( $post ) {
|
44 |
?>
|
45 |
+
<h2><?php echo esc_html( __( 'Form', 'contact-form-7' ) ); ?></h2>
|
46 |
|
47 |
<?php
|
48 |
$tag_generator = WPCF7_TagGenerator::get_instance();
|
79 |
'subject' => '', 'body' => '', 'additional_headers' => '',
|
80 |
'attachments' => '', 'use_html' => false, 'exclude_blank' => false ) );
|
81 |
|
82 |
+
$do_validate = wpcf7_validate_configuration();
|
83 |
+
|
84 |
?>
|
85 |
<div class="contact-form-editor-box-mail" id="<?php echo $id; ?>">
|
86 |
+
<h2><?php echo esc_html( $args['title'] ); ?></h2>
|
87 |
|
88 |
<?php
|
89 |
if ( ! empty( $args['use'] ) ) :
|
104 |
<label for="<?php echo $id; ?>-recipient"><?php echo esc_html( __( 'To', 'contact-form-7' ) ); ?></label>
|
105 |
</th>
|
106 |
<td>
|
107 |
+
<?php $config_error = $post->config_error(
|
108 |
+
sprintf( '%s.recipient', $args['name'] ) ); ?>
|
109 |
+
<input type="text" id="<?php echo $id; ?>-recipient" name="<?php echo $id; ?>-recipient" class="large-text code" size="70" value="<?php echo esc_attr( $mail['recipient'] ); ?>"<?php if ( $do_validate && $config_error ) { echo ' aria-invalid="true"'; } ?> />
|
110 |
+
<?php if ( $do_validate && $config_error ) {
|
111 |
+
echo sprintf( '<br /><span role="alert" class="config-error">%s</span>', $config_error );
|
112 |
+
} ?>
|
113 |
</td>
|
114 |
</tr>
|
115 |
|
118 |
<label for="<?php echo $id; ?>-sender"><?php echo esc_html( __( 'From', 'contact-form-7' ) ); ?></label>
|
119 |
</th>
|
120 |
<td>
|
121 |
+
<?php $config_error = $post->config_error(
|
122 |
+
sprintf( '%s.sender', $args['name'] ) ); ?>
|
123 |
+
<input type="text" id="<?php echo $id; ?>-sender" name="<?php echo $id; ?>-sender" class="large-text code" size="70" value="<?php echo esc_attr( $mail['sender'] ); ?>"<?php if ( $do_validate && $config_error ) { echo ' aria-invalid="true"'; } ?> />
|
124 |
+
<?php if ( $do_validate && $config_error ) {
|
125 |
+
echo sprintf( '<br /><span role="alert" class="config-error">%s</span>', $config_error );
|
126 |
+
} ?>
|
127 |
</td>
|
128 |
</tr>
|
129 |
|
132 |
<label for="<?php echo $id; ?>-subject"><?php echo esc_html( __( 'Subject', 'contact-form-7' ) ); ?></label>
|
133 |
</th>
|
134 |
<td>
|
135 |
+
<?php $config_error = $post->config_error(
|
136 |
+
sprintf( '%s.subject', $args['name'] ) ); ?>
|
137 |
+
<input type="text" id="<?php echo $id; ?>-subject" name="<?php echo $id; ?>-subject" class="large-text code" size="70" value="<?php echo esc_attr( $mail['subject'] ); ?>"<?php if ( $do_validate && $config_error ) { echo ' aria-invalid="true"'; } ?> />
|
138 |
+
<?php if ( $do_validate && $config_error ) {
|
139 |
+
echo sprintf( '<br /><span role="alert" class="config-error">%s</span>', $config_error );
|
140 |
+
} ?>
|
141 |
</td>
|
142 |
</tr>
|
143 |
|
146 |
<label for="<?php echo $id; ?>-additional-headers"><?php echo esc_html( __( 'Additional Headers', 'contact-form-7' ) ); ?></label>
|
147 |
</th>
|
148 |
<td>
|
149 |
+
<?php $config_error = $post->config_error(
|
150 |
+
sprintf( '%s.additional_headers', $args['name'] ) ); ?>
|
151 |
+
<textarea id="<?php echo $id; ?>-additional-headers" name="<?php echo $id; ?>-additional-headers" cols="100" rows="4" class="large-text code"<?php if ( $do_validate && $config_error ) { echo ' aria-invalid="true"'; } ?>><?php echo esc_textarea( $mail['additional_headers'] ); ?></textarea>
|
152 |
+
<?php if ( $do_validate && $config_error ) {
|
153 |
+
echo sprintf( '<br /><span role="alert" class="config-error">%s</span>', $config_error );
|
154 |
+
} ?>
|
155 |
</td>
|
156 |
</tr>
|
157 |
|
160 |
<label for="<?php echo $id; ?>-body"><?php echo esc_html( __( 'Message Body', 'contact-form-7' ) ); ?></label>
|
161 |
</th>
|
162 |
<td>
|
163 |
+
<?php $config_error = $post->config_error(
|
164 |
+
sprintf( '%s.body', $args['name'] ) ); ?>
|
165 |
+
<textarea id="<?php echo $id; ?>-body" name="<?php echo $id; ?>-body" cols="100" rows="18" class="large-text code"<?php if ( $do_validate && $config_error ) { echo ' aria-invalid="true"'; } ?>><?php echo esc_textarea( $mail['body'] ); ?></textarea>
|
166 |
+
<?php if ( $do_validate && $config_error ) {
|
167 |
+
echo sprintf( '<br /><span role="alert" class="config-error">%s</span>', $config_error );
|
168 |
+
} ?>
|
169 |
|
170 |
<p><label for="<?php echo $id; ?>-exclude-blank"><input type="checkbox" id="<?php echo $id; ?>-exclude-blank" name="<?php echo $id; ?>-exclude-blank" value="1"<?php echo ( ! empty( $mail['exclude_blank'] ) ) ? ' checked="checked"' : ''; ?> /> <?php echo esc_html( __( 'Exclude lines with blank mail-tags from output', 'contact-form-7' ) ); ?></label></p>
|
171 |
|
195 |
unset( $messages['captcha_not_match'] );
|
196 |
}
|
197 |
|
198 |
+
$do_validate = wpcf7_validate_configuration();
|
199 |
+
|
200 |
?>
|
201 |
+
<h2><?php echo esc_html( __( 'Messages', 'contact-form-7' ) ); ?></h2>
|
202 |
<fieldset>
|
203 |
<legend><?php echo esc_html( __( 'Edit messages used in the following situations.', 'contact-form-7' ) ); ?></legend>
|
204 |
<?php
|
205 |
|
206 |
foreach ( $messages as $key => $arr ) {
|
207 |
$field_name = 'wpcf7-message-' . strtr( $key, '_', '-' );
|
208 |
+
|
209 |
+
$config_error = $do_validate
|
210 |
+
? $post->config_error( sprintf( 'messages.%s', $key ) ) : '';
|
211 |
+
|
212 |
?>
|
213 |
<p class="description">
|
214 |
<label for="<?php echo $field_name; ?>"><?php echo esc_html( $arr['description'] ); ?><br />
|
215 |
+
<input type="text" id="<?php echo $field_name; ?>" name="<?php echo $field_name; ?>" class="large-text" size="70" value="<?php echo esc_attr( $post->message( $key, false ) ); ?>"<?php echo $config_error ? ' aria-invalid="true"' : ''; ?> />
|
216 |
+
<?php
|
217 |
+
if ( $config_error ) {
|
218 |
+
echo sprintf( '<br /><span role="alert" class="config-error">%s</span>', $config_error );
|
219 |
+
}
|
220 |
+
?>
|
221 |
</label>
|
222 |
</p>
|
223 |
<?php
|
235 |
$description = sprintf( esc_html( $description ), $desc_link );
|
236 |
|
237 |
?>
|
238 |
+
<h2><?php echo esc_html( __( 'Additional Settings', 'contact-form-7' ) ); ?></h2>
|
239 |
<fieldset>
|
240 |
<legend><?php echo $description; ?></legend>
|
241 |
<textarea id="wpcf7-additional-settings" name="wpcf7-additional-settings" cols="100" rows="8" class="large-text"><?php echo esc_textarea( $post->prop( 'additional_settings' ) ); ?></textarea>
|
admin/includes/help-tabs.php
CHANGED
@@ -23,15 +23,6 @@ class WPCF7_Help_Tabs {
|
|
23 |
|
24 |
$this->sidebar();
|
25 |
|
26 |
-
return;
|
27 |
-
case 'add_new':
|
28 |
-
$this->screen->add_help_tab( array(
|
29 |
-
'id' => 'add_new',
|
30 |
-
'title' => __( 'Adding A New Contact Form', 'contact-form-7' ),
|
31 |
-
'content' => $this->content( 'add_new' ) ) );
|
32 |
-
|
33 |
-
$this->sidebar();
|
34 |
-
|
35 |
return;
|
36 |
case 'edit':
|
37 |
$this->screen->add_help_tab( array(
|
@@ -73,8 +64,6 @@ class WPCF7_Help_Tabs {
|
|
73 |
$content['list_available_actions'] .= '<p>' . __( "<strong>Edit</strong> - Navigates to the editing screen for that contact form. You can also reach that screen by clicking on the contact form title.", 'contact-form-7' ) . '</p>';
|
74 |
$content['list_available_actions'] .= '<p>' . __( "<strong>Duplicate</strong> - Clones that contact form. A cloned contact form inherits all content from the original, but has a different ID.", 'contact-form-7' ) . '</p>';
|
75 |
|
76 |
-
$content['add_new'] = '<p>' . __( "You can add a new contact form on this screen. You can create a contact form in your language, which is set WordPress local settings, or in a language that you select from available options.", 'contact-form-7' ) . '</p>';
|
77 |
-
|
78 |
$content['edit_overview'] = '<p>' . __( "On this screen, you can edit a contact form. A contact form is comprised of the following components:", 'contact-form-7' ) . '</p>';
|
79 |
$content['edit_overview'] .= '<p>' . __( "<strong>Title</strong> is the title of a contact form. This title is only used for labeling a contact form, and can be edited.", 'contact-form-7' ) . '</p>';
|
80 |
$content['edit_overview'] .= '<p>' . __( "<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, which is allowed inside a form element. You can also use Contact Form 7’s form-tags here.", 'contact-form-7' ) . '</p>';
|
23 |
|
24 |
$this->sidebar();
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
return;
|
27 |
case 'edit':
|
28 |
$this->screen->add_help_tab( array(
|
64 |
$content['list_available_actions'] .= '<p>' . __( "<strong>Edit</strong> - Navigates to the editing screen for that contact form. You can also reach that screen by clicking on the contact form title.", 'contact-form-7' ) . '</p>';
|
65 |
$content['list_available_actions'] .= '<p>' . __( "<strong>Duplicate</strong> - Clones that contact form. A cloned contact form inherits all content from the original, but has a different ID.", 'contact-form-7' ) . '</p>';
|
66 |
|
|
|
|
|
67 |
$content['edit_overview'] = '<p>' . __( "On this screen, you can edit a contact form. A contact form is comprised of the following components:", 'contact-form-7' ) . '</p>';
|
68 |
$content['edit_overview'] .= '<p>' . __( "<strong>Title</strong> is the title of a contact form. This title is only used for labeling a contact form, and can be edited.", 'contact-form-7' ) . '</p>';
|
69 |
$content['edit_overview'] .= '<p>' . __( "<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, which is allowed inside a form element. You can also use Contact Form 7’s form-tags here.", 'contact-form-7' ) . '</p>';
|
admin/js/tag-generator.js
CHANGED
@@ -122,6 +122,10 @@
|
|
122 |
}
|
123 |
});
|
124 |
|
|
|
|
|
|
|
|
|
125 |
options = (options.length > 0) ? options.join(' ') : '';
|
126 |
|
127 |
var value = '';
|
122 |
}
|
123 |
});
|
124 |
|
125 |
+
if ('radio' == tagType) {
|
126 |
+
options.push('default:1');
|
127 |
+
}
|
128 |
+
|
129 |
options = (options.length > 0) ? options.join(' ') : '';
|
130 |
|
131 |
var value = '';
|
includes/config-validator.php
ADDED
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WPCF7_ConfigValidator {
|
4 |
+
|
5 |
+
const error_maybe_empty = 101;
|
6 |
+
const error_invalid_syntax = 102;
|
7 |
+
const error_email_not_in_site_domain = 103;
|
8 |
+
const error_html_in_message = 104;
|
9 |
+
|
10 |
+
private $contact_form;
|
11 |
+
private $errors = array();
|
12 |
+
|
13 |
+
public function __construct( WPCF7_ContactForm $contact_form ) {
|
14 |
+
$this->contact_form = $contact_form;
|
15 |
+
$this->errors = (array) get_post_meta(
|
16 |
+
$this->contact_form->id(), '_config_errors', true );
|
17 |
+
$this->errors = array_filter( $this->errors );
|
18 |
+
}
|
19 |
+
|
20 |
+
public function is_valid() {
|
21 |
+
return ! $this->errors;
|
22 |
+
}
|
23 |
+
|
24 |
+
public function get_errors() {
|
25 |
+
return $this->errors;
|
26 |
+
}
|
27 |
+
|
28 |
+
public function get_error( $section ) {
|
29 |
+
if ( isset( $this->errors[$section] ) ) {
|
30 |
+
return $this->errors[$section];
|
31 |
+
}
|
32 |
+
|
33 |
+
return null;
|
34 |
+
}
|
35 |
+
|
36 |
+
public function get_error_message( $section ) {
|
37 |
+
$code = $this->get_error( $section );
|
38 |
+
|
39 |
+
switch ( $code ) {
|
40 |
+
case self::error_maybe_empty:
|
41 |
+
return __( "This field can be empty depending on user input.", 'contact-form-7' );
|
42 |
+
case self::error_invalid_syntax:
|
43 |
+
return __( "This field has syntax errors.", 'contact-form-7' );
|
44 |
+
case self::error_email_not_in_site_domain:
|
45 |
+
return __( "This email address does not belong to the same domain as the site.", 'contact-form-7' );
|
46 |
+
case self::error_html_in_message:
|
47 |
+
return __( "HTML tags are not allowed in a message.", 'contact-form-7' );
|
48 |
+
default:
|
49 |
+
return '';
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
private function add_error( $section, $error ) {
|
54 |
+
$this->errors[$section] = $error;
|
55 |
+
}
|
56 |
+
|
57 |
+
public function validate() {
|
58 |
+
$this->errors = array();
|
59 |
+
|
60 |
+
$this->validate_mail( 'mail' );
|
61 |
+
$this->validate_mail( 'mail_2' );
|
62 |
+
$this->validate_messages();
|
63 |
+
|
64 |
+
delete_post_meta( $this->contact_form->id(), '_config_errors' );
|
65 |
+
|
66 |
+
if ( $this->errors ) {
|
67 |
+
update_post_meta( $this->contact_form->id(), '_config_errors',
|
68 |
+
$this->errors );
|
69 |
+
return false;
|
70 |
+
}
|
71 |
+
|
72 |
+
return true;
|
73 |
+
}
|
74 |
+
|
75 |
+
public function validate_mail( $template = 'mail' ) {
|
76 |
+
$components = (array) $this->contact_form->prop( $template );
|
77 |
+
|
78 |
+
if ( ! $components ) {
|
79 |
+
return;
|
80 |
+
}
|
81 |
+
|
82 |
+
if ( 'mail' != $template && empty( $components['active'] ) ) {
|
83 |
+
return;
|
84 |
+
}
|
85 |
+
|
86 |
+
$components = wp_parse_args( $components, array(
|
87 |
+
'subject' => '',
|
88 |
+
'sender' => '',
|
89 |
+
'recipient' => '',
|
90 |
+
'additional_headers' => '',
|
91 |
+
'body' => '' ) );
|
92 |
+
|
93 |
+
$callback = array( $this, 'replace_mail_tags_with_minimum_input' );
|
94 |
+
|
95 |
+
$subject = $components['subject'];
|
96 |
+
$subject = new WPCF7_MailTaggedText( $subject,
|
97 |
+
array( 'callback' => $callback ) );
|
98 |
+
$subject = $subject->replace_tags();
|
99 |
+
$subject = wpcf7_strip_newline( $subject );
|
100 |
+
|
101 |
+
if ( '' === $subject ) {
|
102 |
+
$this->add_error( sprintf( '%s.subject', $template ),
|
103 |
+
self::error_maybe_empty );
|
104 |
+
}
|
105 |
+
|
106 |
+
$sender = $components['sender'];
|
107 |
+
$sender = new WPCF7_MailTaggedText( $sender,
|
108 |
+
array( 'callback' => $callback ) );
|
109 |
+
$sender = $sender->replace_tags();
|
110 |
+
$sender = wpcf7_strip_newline( $sender );
|
111 |
+
|
112 |
+
if ( ! $this->test_from_field_syntax( $sender ) ) {
|
113 |
+
$this->add_error( sprintf( '%s.sender', $template ),
|
114 |
+
self::error_invalid_syntax );
|
115 |
+
} elseif ( ! $this->test_email_in_site_domain( $sender ) ) {
|
116 |
+
$this->add_error( sprintf( '%s.sender', $template ),
|
117 |
+
self::error_email_not_in_site_domain );
|
118 |
+
}
|
119 |
+
|
120 |
+
$recipient = $components['recipient'];
|
121 |
+
$recipient = new WPCF7_MailTaggedText( $recipient,
|
122 |
+
array( 'callback' => $callback ) );
|
123 |
+
$recipient = $recipient->replace_tags();
|
124 |
+
$recipient = wpcf7_strip_newline( $recipient );
|
125 |
+
|
126 |
+
if ( ! $this->test_to_field_syntax( $recipient ) ) {
|
127 |
+
$this->add_error( sprintf( '%s.recipient', $template ),
|
128 |
+
self::error_invalid_syntax );
|
129 |
+
}
|
130 |
+
|
131 |
+
$additional_headers = $components['additional_headers'];
|
132 |
+
$additional_headers = new WPCF7_MailTaggedText( $additional_headers,
|
133 |
+
array( 'callback' => $callback ) );
|
134 |
+
$additional_headers = $additional_headers->replace_tags();
|
135 |
+
|
136 |
+
if ( ! $this->test_additional_headers_syntax( $additional_headers ) ) {
|
137 |
+
$this->add_error( sprintf( '%s.additional_headers', $template ),
|
138 |
+
self::error_invalid_syntax );
|
139 |
+
}
|
140 |
+
|
141 |
+
$body = $components['body'];
|
142 |
+
$body = new WPCF7_MailTaggedText( $body,
|
143 |
+
array( 'callback' => $callback ) );
|
144 |
+
$body = $body->replace_tags();
|
145 |
+
|
146 |
+
if ( '' === $body ) {
|
147 |
+
$this->add_error( sprintf( '%s.body', $template ),
|
148 |
+
self::error_maybe_empty );
|
149 |
+
}
|
150 |
+
}
|
151 |
+
|
152 |
+
public function test_from_field_syntax( $content ) {
|
153 |
+
$content = trim( $content );
|
154 |
+
|
155 |
+
if ( preg_match( '/<(.+)>$/', $content, $matches ) ) {
|
156 |
+
$email = $matches[1];
|
157 |
+
} else {
|
158 |
+
$email = $content;
|
159 |
+
}
|
160 |
+
|
161 |
+
return wpcf7_is_email( $email );
|
162 |
+
}
|
163 |
+
|
164 |
+
public function test_email_in_site_domain( $content ) {
|
165 |
+
if ( wpcf7_is_localhost() ) {
|
166 |
+
return true;
|
167 |
+
}
|
168 |
+
|
169 |
+
$site_domain = strtolower( $_SERVER['SERVER_NAME'] );
|
170 |
+
|
171 |
+
if ( substr( $site_domain, 0, 4 ) == 'www.' ) {
|
172 |
+
$site_domain = substr( $site_domain, 4 );
|
173 |
+
}
|
174 |
+
|
175 |
+
$content = trim( $content );
|
176 |
+
|
177 |
+
if ( preg_match( '/<(.+)>$/', $content, $matches ) ) {
|
178 |
+
$email = strtolower( $matches[1] );
|
179 |
+
} else {
|
180 |
+
$email = strtolower( $content );
|
181 |
+
}
|
182 |
+
|
183 |
+
return ( substr( $email, - strlen( $site_domain ) ) == $site_domain );
|
184 |
+
}
|
185 |
+
|
186 |
+
public function test_to_field_syntax( $content ) {
|
187 |
+
$tos = explode( ',', $content );
|
188 |
+
|
189 |
+
foreach ( $tos as $to ) {
|
190 |
+
$to = trim( $to );
|
191 |
+
|
192 |
+
if ( preg_match( '/<(.+)>$/', $to, $matches ) ) {
|
193 |
+
$to = $matches[1];
|
194 |
+
}
|
195 |
+
|
196 |
+
if ( ! wpcf7_is_email( $to ) ) {
|
197 |
+
return false;
|
198 |
+
}
|
199 |
+
}
|
200 |
+
|
201 |
+
return true;
|
202 |
+
}
|
203 |
+
|
204 |
+
public function test_additional_headers_syntax( $content ) {
|
205 |
+
$headers = explode( "\n", $content );
|
206 |
+
|
207 |
+
foreach ( $headers as $header ) {
|
208 |
+
$header = trim( $header );
|
209 |
+
|
210 |
+
if ( '' === $header ) {
|
211 |
+
continue;
|
212 |
+
}
|
213 |
+
|
214 |
+
if ( ! preg_match( '/^[0-9A-Za-z-]+:.+$/', $header ) ) {
|
215 |
+
return false;
|
216 |
+
}
|
217 |
+
}
|
218 |
+
|
219 |
+
return true;
|
220 |
+
}
|
221 |
+
|
222 |
+
public function validate_messages() {
|
223 |
+
$messages = (array) $this->contact_form->prop( 'messages' );
|
224 |
+
|
225 |
+
if ( ! $messages ) {
|
226 |
+
return;
|
227 |
+
}
|
228 |
+
|
229 |
+
foreach ( $messages as $key => $message ) {
|
230 |
+
$stripped = wp_strip_all_tags( $message );
|
231 |
+
|
232 |
+
if ( $stripped != $message ) {
|
233 |
+
$this->add_error( sprintf( 'messages.%s', $key ),
|
234 |
+
self::error_html_in_message );
|
235 |
+
}
|
236 |
+
}
|
237 |
+
}
|
238 |
+
|
239 |
+
public function replace_mail_tags_with_minimum_input( $matches ) {
|
240 |
+
// allow [[foo]] syntax for escaping a tag
|
241 |
+
if ( $matches[1] == '[' && $matches[4] == ']' ) {
|
242 |
+
return substr( $matches[0], 1, -1 );
|
243 |
+
}
|
244 |
+
|
245 |
+
$tag = $matches[0];
|
246 |
+
$tagname = $matches[2];
|
247 |
+
$values = $matches[3];
|
248 |
+
|
249 |
+
if ( ! empty( $values ) ) {
|
250 |
+
preg_match_all( '/"[^"]*"|\'[^\']*\'/', $values, $matches );
|
251 |
+
$values = wpcf7_strip_quote_deep( $matches[0] );
|
252 |
+
}
|
253 |
+
|
254 |
+
$do_not_heat = false;
|
255 |
+
|
256 |
+
if ( preg_match( '/^_raw_(.+)$/', $tagname, $matches ) ) {
|
257 |
+
$tagname = trim( $matches[1] );
|
258 |
+
$do_not_heat = true;
|
259 |
+
}
|
260 |
+
|
261 |
+
$format = '';
|
262 |
+
|
263 |
+
if ( preg_match( '/^_format_(.+)$/', $tagname, $matches ) ) {
|
264 |
+
$tagname = trim( $matches[1] );
|
265 |
+
$format = $values[0];
|
266 |
+
}
|
267 |
+
|
268 |
+
$example_email = 'example@example.com';
|
269 |
+
$example_text = 'example';
|
270 |
+
$example_blank = '';
|
271 |
+
|
272 |
+
$form_tags = $this->contact_form->form_scan_shortcode(
|
273 |
+
array( 'name' => $tagname ) );
|
274 |
+
|
275 |
+
if ( $form_tags ) {
|
276 |
+
$form_tag = new WPCF7_Shortcode( $form_tags[0] );
|
277 |
+
|
278 |
+
$is_required = ( $form_tag->is_required() || 'radio' == $form_tag->type );
|
279 |
+
|
280 |
+
if ( ! $is_required ) {
|
281 |
+
return $example_blank;
|
282 |
+
}
|
283 |
+
|
284 |
+
$is_selectable = in_array( $form_tag->basetype,
|
285 |
+
array( 'radio', 'checkbox', 'select' ) );
|
286 |
+
|
287 |
+
if ( $is_selectable ) {
|
288 |
+
if ( $form_tag->pipes instanceof WPCF7_Pipes ) {
|
289 |
+
if ( $do_not_heat ) {
|
290 |
+
$before_pipes = $form_tag->pipes->collect_befores();
|
291 |
+
$last_item = array_pop( $before_pipes );
|
292 |
+
} else {
|
293 |
+
$after_pipes = $form_tag->pipes->collect_afters();
|
294 |
+
$last_item = array_pop( $after_pipes );
|
295 |
+
}
|
296 |
+
} else {
|
297 |
+
$last_item = array_pop( $form_tag->values );
|
298 |
+
}
|
299 |
+
|
300 |
+
if ( $last_item && wpcf7_is_email( $last_item ) ) {
|
301 |
+
return $example_email;
|
302 |
+
} else {
|
303 |
+
return $example_text;
|
304 |
+
}
|
305 |
+
}
|
306 |
+
|
307 |
+
if ( 'email' == $form_tag->basetype ) {
|
308 |
+
return $example_email;
|
309 |
+
} else {
|
310 |
+
return $example_text;
|
311 |
+
}
|
312 |
+
|
313 |
+
} else {
|
314 |
+
$tagname = preg_replace( '/^wpcf7\./', '_', $tagname ); // for back-compat
|
315 |
+
|
316 |
+
if ( '_post_author_email' == $tagname ) {
|
317 |
+
return $example_email;
|
318 |
+
} elseif ( '_' == substr( $tagname, 0, 1 ) ) { // maybe special mail tag
|
319 |
+
return $example_text;
|
320 |
+
}
|
321 |
+
}
|
322 |
+
|
323 |
+
return $tag;
|
324 |
+
}
|
325 |
+
}
|
includes/contact-form-template.php
CHANGED
@@ -37,7 +37,9 @@ class WPCF7_ContactFormTemplate {
|
|
37 |
|
38 |
public static function mail() {
|
39 |
$template = array(
|
40 |
-
'subject' =>
|
|
|
|
|
41 |
'sender' => sprintf( '[your-name] <%s>', self::from_email() ),
|
42 |
'body' =>
|
43 |
sprintf( __( 'From: %s', 'contact-form-7' ),
|
@@ -61,7 +63,9 @@ class WPCF7_ContactFormTemplate {
|
|
61 |
public static function mail_2() {
|
62 |
$template = array(
|
63 |
'active' => false,
|
64 |
-
'subject' =>
|
|
|
|
|
65 |
'sender' => sprintf( '%s <%s>',
|
66 |
get_bloginfo( 'name' ), self::from_email() ),
|
67 |
'body' =>
|
@@ -116,56 +120,56 @@ function wpcf7_messages() {
|
|
116 |
'description'
|
117 |
=> __( "Sender's message was sent successfully", 'contact-form-7' ),
|
118 |
'default'
|
119 |
-
=> __(
|
120 |
),
|
121 |
|
122 |
'mail_sent_ng' => array(
|
123 |
'description'
|
124 |
-
=> __( "Sender's message
|
125 |
'default'
|
126 |
-
=> __(
|
127 |
),
|
128 |
|
129 |
'validation_error' => array(
|
130 |
'description'
|
131 |
=> __( "Validation errors occurred", 'contact-form-7' ),
|
132 |
'default'
|
133 |
-
=> __(
|
134 |
),
|
135 |
|
136 |
'spam' => array(
|
137 |
'description'
|
138 |
=> __( "Submission was referred to as spam", 'contact-form-7' ),
|
139 |
'default'
|
140 |
-
=> __(
|
141 |
),
|
142 |
|
143 |
'accept_terms' => array(
|
144 |
'description'
|
145 |
=> __( "There are terms that the sender must accept", 'contact-form-7' ),
|
146 |
'default'
|
147 |
-
=> __(
|
148 |
),
|
149 |
|
150 |
'invalid_required' => array(
|
151 |
'description'
|
152 |
=> __( "There is a field that the sender must fill in", 'contact-form-7' ),
|
153 |
'default'
|
154 |
-
=> __(
|
155 |
),
|
156 |
|
157 |
'invalid_too_long' => array(
|
158 |
'description'
|
159 |
-
=> __( "There is a field
|
160 |
'default'
|
161 |
-
=> __(
|
162 |
),
|
163 |
|
164 |
'invalid_too_short' => array(
|
165 |
'description'
|
166 |
-
=> __( "There is a field
|
167 |
'default'
|
168 |
-
=> __(
|
169 |
)
|
170 |
);
|
171 |
|
37 |
|
38 |
public static function mail() {
|
39 |
$template = array(
|
40 |
+
'subject' => sprintf(
|
41 |
+
_x( '%1$s "%2$s"', 'mail subject', 'contact-form-7' ),
|
42 |
+
get_bloginfo( 'name' ), '[your-subject]' ),
|
43 |
'sender' => sprintf( '[your-name] <%s>', self::from_email() ),
|
44 |
'body' =>
|
45 |
sprintf( __( 'From: %s', 'contact-form-7' ),
|
63 |
public static function mail_2() {
|
64 |
$template = array(
|
65 |
'active' => false,
|
66 |
+
'subject' => sprintf(
|
67 |
+
_x( '%1$s "%2$s"', 'mail subject', 'contact-form-7' ),
|
68 |
+
get_bloginfo( 'name' ), '[your-subject]' ),
|
69 |
'sender' => sprintf( '%s <%s>',
|
70 |
get_bloginfo( 'name' ), self::from_email() ),
|
71 |
'body' =>
|
120 |
'description'
|
121 |
=> __( "Sender's message was sent successfully", 'contact-form-7' ),
|
122 |
'default'
|
123 |
+
=> __( "Thank you for your message. It has been sent.", 'contact-form-7' )
|
124 |
),
|
125 |
|
126 |
'mail_sent_ng' => array(
|
127 |
'description'
|
128 |
+
=> __( "Sender's message failed to send", 'contact-form-7' ),
|
129 |
'default'
|
130 |
+
=> __( "There was an error trying to send your message. Please try again later.", 'contact-form-7' )
|
131 |
),
|
132 |
|
133 |
'validation_error' => array(
|
134 |
'description'
|
135 |
=> __( "Validation errors occurred", 'contact-form-7' ),
|
136 |
'default'
|
137 |
+
=> __( "One or more fields have an error. Please check and try again.", 'contact-form-7' )
|
138 |
),
|
139 |
|
140 |
'spam' => array(
|
141 |
'description'
|
142 |
=> __( "Submission was referred to as spam", 'contact-form-7' ),
|
143 |
'default'
|
144 |
+
=> __( "There was an error trying to send your message. Please try again later.", 'contact-form-7' )
|
145 |
),
|
146 |
|
147 |
'accept_terms' => array(
|
148 |
'description'
|
149 |
=> __( "There are terms that the sender must accept", 'contact-form-7' ),
|
150 |
'default'
|
151 |
+
=> __( "You must accept the terms and conditions before sending your message.", 'contact-form-7' )
|
152 |
),
|
153 |
|
154 |
'invalid_required' => array(
|
155 |
'description'
|
156 |
=> __( "There is a field that the sender must fill in", 'contact-form-7' ),
|
157 |
'default'
|
158 |
+
=> __( "The field is required.", 'contact-form-7' )
|
159 |
),
|
160 |
|
161 |
'invalid_too_long' => array(
|
162 |
'description'
|
163 |
+
=> __( "There is a field with input that is longer than the maximum allowed length", 'contact-form-7' ),
|
164 |
'default'
|
165 |
+
=> __( "The field is too long.", 'contact-form-7' )
|
166 |
),
|
167 |
|
168 |
'invalid_too_short' => array(
|
169 |
'description'
|
170 |
+
=> __( "There is a field with input that is shorter than the minimum allowed length", 'contact-form-7' ),
|
171 |
'default'
|
172 |
+
=> __( "The field is too short.", 'contact-form-7' )
|
173 |
)
|
174 |
);
|
175 |
|
includes/contact-form.php
CHANGED
@@ -14,6 +14,7 @@ class WPCF7_ContactForm {
|
|
14 |
private $unit_tag;
|
15 |
private $responses_count = 0;
|
16 |
private $scanned_form_tags;
|
|
|
17 |
|
18 |
public static function count() {
|
19 |
return self::$found_items;
|
@@ -654,6 +655,7 @@ class WPCF7_ContactForm {
|
|
654 |
$message = isset( $messages[$status] ) ? $messages[$status] : '';
|
655 |
|
656 |
if ( $filter ) {
|
|
|
657 |
$message = wpcf7_mail_replace_tags( $message, array( 'html' => true ) );
|
658 |
$message = apply_filters( 'wpcf7_display_message', $message, $status );
|
659 |
}
|
@@ -809,6 +811,41 @@ class WPCF7_ContactForm {
|
|
809 |
|
810 |
return apply_filters( 'wpcf7_contact_form_shortcode', $shortcode, $args, $this );
|
811 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
812 |
}
|
813 |
|
814 |
function wpcf7_contact_form( $id ) {
|
14 |
private $unit_tag;
|
15 |
private $responses_count = 0;
|
16 |
private $scanned_form_tags;
|
17 |
+
private $config_validator;
|
18 |
|
19 |
public static function count() {
|
20 |
return self::$found_items;
|
655 |
$message = isset( $messages[$status] ) ? $messages[$status] : '';
|
656 |
|
657 |
if ( $filter ) {
|
658 |
+
$message = wp_strip_all_tags( $message );
|
659 |
$message = wpcf7_mail_replace_tags( $message, array( 'html' => true ) );
|
660 |
$message = apply_filters( 'wpcf7_display_message', $message, $status );
|
661 |
}
|
811 |
|
812 |
return apply_filters( 'wpcf7_contact_form_shortcode', $shortcode, $args, $this );
|
813 |
}
|
814 |
+
|
815 |
+
public function validate_configuration() {
|
816 |
+
if ( ! $this->initial() ) {
|
817 |
+
if ( ! $this->config_validator ) {
|
818 |
+
$this->config_validator = new WPCF7_ConfigValidator( $this );
|
819 |
+
}
|
820 |
+
|
821 |
+
$this->config_validator->validate();
|
822 |
+
}
|
823 |
+
}
|
824 |
+
|
825 |
+
public function get_config_errors() {
|
826 |
+
if ( ! $this->initial() ) {
|
827 |
+
if ( ! $this->config_validator ) {
|
828 |
+
$this->config_validator = new WPCF7_ConfigValidator( $this );
|
829 |
+
}
|
830 |
+
|
831 |
+
return $this->config_validator->get_errors();
|
832 |
+
}
|
833 |
+
|
834 |
+
return array();
|
835 |
+
}
|
836 |
+
|
837 |
+
public function config_error( $section ) {
|
838 |
+
if ( ! $this->initial() ) {
|
839 |
+
if ( ! $this->config_validator ) {
|
840 |
+
$this->config_validator = new WPCF7_ConfigValidator( $this );
|
841 |
+
}
|
842 |
+
|
843 |
+
return $this->config_validator->get_error_message( $section );
|
844 |
+
}
|
845 |
+
|
846 |
+
return '';
|
847 |
+
}
|
848 |
+
|
849 |
}
|
850 |
|
851 |
function wpcf7_contact_form( $id ) {
|
includes/functions.php
CHANGED
@@ -107,6 +107,11 @@ function wpcf7_use_really_simple_captcha() {
|
|
107 |
WPCF7_USE_REALLY_SIMPLE_CAPTCHA );
|
108 |
}
|
109 |
|
|
|
|
|
|
|
|
|
|
|
110 |
function wpcf7_load_js() {
|
111 |
return apply_filters( 'wpcf7_load_js', WPCF7_LOAD_JS );
|
112 |
}
|
107 |
WPCF7_USE_REALLY_SIMPLE_CAPTCHA );
|
108 |
}
|
109 |
|
110 |
+
function wpcf7_validate_configuration() {
|
111 |
+
return apply_filters( 'wpcf7_validate_configuration',
|
112 |
+
WPCF7_VALIDATE_CONFIGURATION );
|
113 |
+
}
|
114 |
+
|
115 |
function wpcf7_load_js() {
|
116 |
return apply_filters( 'wpcf7_load_js', WPCF7_LOAD_JS );
|
117 |
}
|
includes/integration.php
CHANGED
@@ -81,7 +81,7 @@ class WPCF7_Integration {
|
|
81 |
?>
|
82 |
<div class="card<?php echo $service->is_active() ? ' active' : ''; ?>" id="<?php echo esc_attr( $name ); ?>">
|
83 |
<?php $service->icon(); ?>
|
84 |
-
<
|
85 |
<div class="infobox">
|
86 |
<?php echo esc_html( implode( ', ', $cats ) ); ?>
|
87 |
<br />
|
81 |
?>
|
82 |
<div class="card<?php echo $service->is_active() ? ' active' : ''; ?>" id="<?php echo esc_attr( $name ); ?>">
|
83 |
<?php $service->icon(); ?>
|
84 |
+
<h2 class="title"><?php echo esc_html( $service->get_title() ); ?></h2>
|
85 |
<div class="infobox">
|
86 |
<?php echo esc_html( implode( ', ', $cats ) ); ?>
|
87 |
<br />
|
includes/l10n.php
CHANGED
@@ -7,79 +7,33 @@ function wpcf7_l10n() {
|
|
7 |
return $l10n;
|
8 |
}
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
'
|
18 |
-
'
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
'eo_EO' => __( 'Esperanto', 'contact-form-7' ),
|
31 |
-
'et' => __( 'Estonian', 'contact-form-7' ),
|
32 |
-
'fi' => __( 'Finnish', 'contact-form-7' ),
|
33 |
-
'fr_FR' => __( 'French (France)', 'contact-form-7' ),
|
34 |
-
'gl_ES' => __( 'Galician', 'contact-form-7' ),
|
35 |
-
'gu_IN' => __( 'Gujarati', 'contact-form-7' ),
|
36 |
-
'ka_GE' => __( 'Georgian', 'contact-form-7' ),
|
37 |
-
'de_DE' => __( 'German', 'contact-form-7' ),
|
38 |
-
'el' => __( 'Greek', 'contact-form-7' ),
|
39 |
-
'ht' => __( 'Haitian', 'contact-form-7' ),
|
40 |
-
'he_IL' => __( 'Hebrew', 'contact-form-7' ),
|
41 |
-
'hi_IN' => __( 'Hindi', 'contact-form-7' ),
|
42 |
-
'hu_HU' => __( 'Hungarian', 'contact-form-7' ),
|
43 |
-
'bn_IN' => __( 'Indian Bengali', 'contact-form-7' ),
|
44 |
-
'id_ID' => __( 'Indonesian', 'contact-form-7' ),
|
45 |
-
'ga_IE' => __( 'Irish', 'contact-form-7' ),
|
46 |
-
'it_IT' => __( 'Italian', 'contact-form-7' ),
|
47 |
-
'ja' => __( 'Japanese', 'contact-form-7' ),
|
48 |
-
'ko_KR' => __( 'Korean', 'contact-form-7' ),
|
49 |
-
'lv' => __( 'Latvian', 'contact-form-7' ),
|
50 |
-
'lt_LT' => __( 'Lithuanian', 'contact-form-7' ),
|
51 |
-
'mk_MK' => __( 'Macedonian', 'contact-form-7' ),
|
52 |
-
'ms_MY' => __( 'Malay', 'contact-form-7' ),
|
53 |
-
'ml_IN' => __( 'Malayalam', 'contact-form-7' ),
|
54 |
-
'mt_MT' => __( 'Maltese', 'contact-form-7' ),
|
55 |
-
'nb_NO' => __( 'Norwegian (Bokmål)', 'contact-form-7' ),
|
56 |
-
'fa_IR' => __( 'Persian', 'contact-form-7' ),
|
57 |
-
'pl_PL' => __( 'Polish', 'contact-form-7' ),
|
58 |
-
'pt_BR' => __( 'Portuguese (Brazil)', 'contact-form-7' ),
|
59 |
-
'pt_PT' => __( 'Portuguese (Portugal)', 'contact-form-7' ),
|
60 |
-
'pa_IN' => __( 'Punjabi', 'contact-form-7' ),
|
61 |
-
'ru_RU' => __( 'Russian', 'contact-form-7' ),
|
62 |
-
'ro_RO' => __( 'Romanian', 'contact-form-7' ),
|
63 |
-
'sr_RS' => __( 'Serbian', 'contact-form-7' ),
|
64 |
-
'si_LK' => __( 'Sinhala', 'contact-form-7' ),
|
65 |
-
'sk_SK' => __( 'Slovak', 'contact-form-7' ),
|
66 |
-
'sl_SI' => __( 'Slovene', 'contact-form-7' ),
|
67 |
-
'es_ES' => __( 'Spanish (Spain)', 'contact-form-7' ),
|
68 |
-
'sv_SE' => __( 'Swedish', 'contact-form-7' ),
|
69 |
-
'ta' => __( 'Tamil', 'contact-form-7' ),
|
70 |
-
'th' => __( 'Thai', 'contact-form-7' ),
|
71 |
-
'tl' => __( 'Tagalog', 'contact-form-7' ),
|
72 |
-
'tr_TR' => __( 'Turkish', 'contact-form-7' ),
|
73 |
-
'uk' => __( 'Ukrainian', 'contact-form-7' ),
|
74 |
-
'vi' => __( 'Vietnamese', 'contact-form-7' )
|
75 |
-
);
|
76 |
|
77 |
return $l10n;
|
78 |
}
|
79 |
|
80 |
function wpcf7_is_valid_locale( $locale ) {
|
81 |
-
$
|
82 |
-
return
|
83 |
}
|
84 |
|
85 |
function wpcf7_is_rtl( $locale = '' ) {
|
7 |
return $l10n;
|
8 |
}
|
9 |
|
10 |
+
if ( ! is_admin() ) {
|
11 |
+
return $l10n;
|
12 |
+
}
|
13 |
+
|
14 |
+
require_once( ABSPATH . 'wp-admin/includes/translation-install.php' );
|
15 |
+
|
16 |
+
$api = translations_api( 'plugins', array(
|
17 |
+
'slug' => 'contact-form-7',
|
18 |
+
'version' => WPCF7_VERSION ) );
|
19 |
+
|
20 |
+
if ( is_wp_error( $api ) || empty( $api['translations'] ) ) {
|
21 |
+
return $l10n;
|
22 |
+
}
|
23 |
+
|
24 |
+
foreach ( (array) $api['translations'] as $translation ) {
|
25 |
+
if ( ! empty( $translation['language'] )
|
26 |
+
&& ! empty( $translation['english_name'] ) ) {
|
27 |
+
$l10n[$translation['language']] = $translation['english_name'];
|
28 |
+
}
|
29 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
return $l10n;
|
32 |
}
|
33 |
|
34 |
function wpcf7_is_valid_locale( $locale ) {
|
35 |
+
$pattern = '/^[a-z]{2,3}(?:_[a-zA-Z_]{2,})?$/';
|
36 |
+
return (bool) preg_match( $pattern, $locale );
|
37 |
}
|
38 |
|
39 |
function wpcf7_is_rtl( $locale = '' ) {
|
includes/mail.php
CHANGED
@@ -72,6 +72,9 @@ class WPCF7_Mail {
|
|
72 |
|
73 |
if ( $use_html ) {
|
74 |
$headers .= "Content-Type: text/html\n";
|
|
|
|
|
|
|
75 |
}
|
76 |
|
77 |
if ( $additional_headers ) {
|
@@ -165,16 +168,45 @@ function wpcf7_mail_replace_tags( $content, $args = '' ) {
|
|
165 |
return $content;
|
166 |
}
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
class WPCF7_MailTaggedText {
|
169 |
|
170 |
private $html = false;
|
|
|
171 |
private $content = '';
|
172 |
private $replaced_tags = array();
|
173 |
|
174 |
public function __construct( $content, $args = '' ) {
|
175 |
-
$args = wp_parse_args( $args, array(
|
|
|
|
|
176 |
|
177 |
$this->html = (bool) $args['html'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
$this->content = $content;
|
179 |
}
|
180 |
|
@@ -188,13 +220,7 @@ class WPCF7_MailTaggedText {
|
|
188 |
. '((?:[\t ]+"[^"]*"|[\t ]+\'[^\']*\')*)' // [3] = values
|
189 |
. '[\t ]*\](\]?)/';
|
190 |
|
191 |
-
|
192 |
-
$callback = array( $this, 'replace_tags_callback_html' );
|
193 |
-
} else {
|
194 |
-
$callback = array( $this, 'replace_tags_callback' );
|
195 |
-
}
|
196 |
-
|
197 |
-
return preg_replace_callback( $regex, $callback, $this->content );
|
198 |
}
|
199 |
|
200 |
private function replace_tags_callback_html( $matches ) {
|
@@ -377,4 +403,4 @@ function wpcf7_special_mail_tag( $output, $name, $html ) {
|
|
377 |
return $output;
|
378 |
}
|
379 |
|
380 |
-
?>
|
72 |
|
73 |
if ( $use_html ) {
|
74 |
$headers .= "Content-Type: text/html\n";
|
75 |
+
$headers .= "X-WPCF7-Content-Type: text/html\n";
|
76 |
+
} else {
|
77 |
+
$headers .= "X-WPCF7-Content-Type: text/plain\n";
|
78 |
}
|
79 |
|
80 |
if ( $additional_headers ) {
|
168 |
return $content;
|
169 |
}
|
170 |
|
171 |
+
add_action( 'phpmailer_init', 'wpcf7_phpmailer_init' );
|
172 |
+
|
173 |
+
function wpcf7_phpmailer_init( $phpmailer ) {
|
174 |
+
$wpcf7_content_type = false;
|
175 |
+
|
176 |
+
foreach ( (array) $phpmailer->getCustomHeaders() as $custom_header ) {
|
177 |
+
if ( 'X-WPCF7-Content-Type' == $custom_header[0] ) {
|
178 |
+
$wpcf7_content_type = trim( $custom_header[1] );
|
179 |
+
break;
|
180 |
+
}
|
181 |
+
}
|
182 |
+
|
183 |
+
if ( 'text/html' == $wpcf7_content_type ) {
|
184 |
+
$phpmailer->msgHTML( $phpmailer->Body );
|
185 |
+
}
|
186 |
+
}
|
187 |
+
|
188 |
class WPCF7_MailTaggedText {
|
189 |
|
190 |
private $html = false;
|
191 |
+
private $callback = null;
|
192 |
private $content = '';
|
193 |
private $replaced_tags = array();
|
194 |
|
195 |
public function __construct( $content, $args = '' ) {
|
196 |
+
$args = wp_parse_args( $args, array(
|
197 |
+
'html' => false,
|
198 |
+
'callback' => null ) );
|
199 |
|
200 |
$this->html = (bool) $args['html'];
|
201 |
+
|
202 |
+
if ( null !== $args['callback'] && is_callable( $args['callback'] ) ) {
|
203 |
+
$this->callback = $args['callback'];
|
204 |
+
} elseif ( $this->html ) {
|
205 |
+
$this->callback = array( $this, 'replace_tags_callback_html' );
|
206 |
+
} else {
|
207 |
+
$this->callback = array( $this, 'replace_tags_callback' );
|
208 |
+
}
|
209 |
+
|
210 |
$this->content = $content;
|
211 |
}
|
212 |
|
220 |
. '((?:[\t ]+"[^"]*"|[\t ]+\'[^\']*\')*)' // [3] = values
|
221 |
. '[\t ]*\](\]?)/';
|
222 |
|
223 |
+
return preg_replace_callback( $regex, $this->callback, $this->content );
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
}
|
225 |
|
226 |
private function replace_tags_callback_html( $matches ) {
|
403 |
return $output;
|
404 |
}
|
405 |
|
406 |
+
?>
|
languages/contact-form-7-az.mo
DELETED
Binary file
|
languages/{contact-form-7-be_BY.mo → contact-form-7-bel.mo}
RENAMED
File without changes
|
languages/{contact-form-7-eo_EO.mo → contact-form-7-eo.mo}
RENAMED
File without changes
|
languages/{contact-form-7-ga_IE.mo → contact-form-7-ga.mo}
RENAMED
File without changes
|
languages/{contact-form-7-gu_IN.mo → contact-form-7-gu.mo}
RENAMED
File without changes
|
languages/contact-form-7-hr.mo
DELETED
Binary file
|
languages/contact-form-7-hu_HU.mo
DELETED
Binary file
|
languages/{contact-form-7-hy_AM.mo → contact-form-7-hy.mo}
RENAMED
File without changes
|
languages/contact-form-7-ja.mo
DELETED
Binary file
|
languages/contact-form-7-nl_NL.mo
DELETED
Binary file
|
languages/contact-form-7-pt_PT.mo
DELETED
Binary file
|
languages/contact-form-7-sv_SE.mo
DELETED
Binary file
|
languages/{contact-form-7-ta.mo → contact-form-7-ta_IN.mo}
RENAMED
File without changes
|
languages/contact-form-7.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Contact Form 7\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date:
|
7 |
"PO-Revision-Date: 2015-05-18 21:49+0900\n"
|
8 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
9 |
"Language-Team: \n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
15 |
"X-Poedit-Basepath: ../..\n"
|
16 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
17 |
"X-Generator: Poedit 1.8.6\n"
|
@@ -21,204 +21,239 @@ msgstr ""
|
|
21 |
msgid "Just another contact form plugin. Simple but flexible."
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: contact-form-7/admin/admin.php:
|
25 |
msgid "Contact Form 7"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: contact-form-7/admin/admin.php:
|
29 |
msgid "Contact"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: contact-form-7/admin/admin.php:
|
33 |
#: contact-form-7/admin/edit-contact-form.php:38
|
34 |
msgid "Edit Contact Form"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: contact-form-7/admin/admin.php:
|
38 |
-
#: contact-form-7/includes/contact-form.php:
|
39 |
msgid "Contact Forms"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: contact-form-7/admin/admin.php:
|
43 |
#: contact-form-7/admin/edit-contact-form.php:36
|
44 |
msgid "Add New Contact Form"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: contact-form-7/admin/admin.php:
|
48 |
-
#: contact-form-7/admin/admin.php:288 contact-form-7/admin/admin.php:300
|
49 |
#: contact-form-7/admin/edit-contact-form.php:41
|
50 |
msgid "Add New"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: contact-form-7/admin/admin.php:
|
54 |
msgid "Integration with Other Services"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: contact-form-7/admin/admin.php:
|
58 |
msgid "Integration"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: contact-form-7/admin/admin.php:
|
62 |
msgid "You are not allowed to edit this item."
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: contact-form-7/admin/admin.php:
|
66 |
msgid "You are not allowed to delete this item."
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: contact-form-7/admin/admin.php:
|
70 |
msgid "Error in deleting."
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: contact-form-7/admin/admin.php:
|
|
|
|
|
|
|
|
|
74 |
msgid "The changes you made will be lost if you navigate away from this page."
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: contact-form-7/admin/admin.php:
|
78 |
#, php-format
|
79 |
msgid "Search results for “%s”"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: contact-form-7/admin/admin.php:
|
83 |
msgid "Search Contact Forms"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: contact-form-7/admin/admin.php:
|
87 |
#, php-format
|
88 |
-
msgid "
|
89 |
-
|
90 |
-
|
91 |
-
#: contact-form-7/admin/admin.php:291
|
92 |
-
msgid "Or"
|
93 |
-
msgstr ""
|
94 |
|
95 |
-
#: contact-form-7/admin/admin.php:
|
96 |
-
msgid "
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: contact-form-7/admin/admin.php:
|
100 |
msgid "Contact form created."
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: contact-form-7/admin/admin.php:
|
104 |
msgid "Contact form saved."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: contact-form-7/admin/admin.php:
|
108 |
msgid "Contact form deleted."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: contact-form-7/admin/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
msgid "Settings"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: contact-form-7/admin/admin.php:
|
116 |
#, php-format
|
117 |
msgid ""
|
118 |
"<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> "
|
119 |
"Please <a href=\"%3$s\">update WordPress</a> first."
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: contact-form-7/admin/admin.php:
|
123 |
msgid "Dismiss"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: contact-form-7/admin/admin.php:
|
127 |
msgid "Contact Form 7 Needs Your Support"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: contact-form-7/admin/admin.php:
|
131 |
msgid ""
|
132 |
"It is hard to continue development and support for this plugin without "
|
133 |
"contributions from users like you. If you enjoy using Contact Form 7 and "
|
134 |
"find it useful, please consider making a donation."
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: contact-form-7/admin/admin.php:
|
138 |
msgid "http://contactform7.com/donate/"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: contact-form-7/admin/admin.php:
|
142 |
msgid "Donate"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: contact-form-7/admin/admin.php:
|
146 |
msgid "Get Started"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: contact-form-7/admin/admin.php:
|
150 |
msgid "http://contactform7.com/getting-started-with-contact-form-7/"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: contact-form-7/admin/admin.php:
|
154 |
msgid "Getting Started with Contact Form 7"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: contact-form-7/admin/admin.php:
|
158 |
msgid "http://contactform7.com/admin-screen/"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: contact-form-7/admin/admin.php:
|
162 |
msgid "Admin Screen"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: contact-form-7/admin/admin.php:
|
166 |
msgid "http://contactform7.com/tag-syntax/"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: contact-form-7/admin/admin.php:
|
170 |
msgid "How Tags Work"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: contact-form-7/admin/admin.php:
|
174 |
msgid "http://contactform7.com/setting-up-mail/"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: contact-form-7/admin/admin.php:
|
178 |
msgid "Setting Up Mail"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: contact-form-7/admin/admin.php:
|
182 |
msgid "Did You Know?"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: contact-form-7/admin/admin.php:
|
186 |
msgid "http://contactform7.com/spam-filtering-with-akismet/"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: contact-form-7/admin/admin.php:
|
190 |
msgid "Spam Filtering with Akismet"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: contact-form-7/admin/admin.php:
|
194 |
msgid "http://contactform7.com/save-submitted-messages-with-flamingo/"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: contact-form-7/admin/admin.php:
|
198 |
msgid "Save Messages with Flamingo"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: contact-form-7/admin/admin.php:
|
202 |
msgid "http://contactform7.com/selectable-recipient-with-pipes/"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: contact-form-7/admin/admin.php:
|
206 |
msgid "Selectable Recipient with Pipes"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: contact-form-7/admin/admin.php:
|
210 |
msgid ""
|
211 |
"http://contactform7.com/tracking-form-submissions-with-google-analytics/"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: contact-form-7/admin/admin.php:
|
215 |
msgid "Tracking with Google Analytics"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: contact-form-7/admin/admin.php:
|
219 |
msgid "You are not allowed to edit this contact form."
|
220 |
msgstr ""
|
221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
#: contact-form-7/admin/edit-contact-form.php:26
|
223 |
#: contact-form-7/admin/edit-contact-form.php:124
|
224 |
#: contact-form-7/modules/recaptcha.php:206
|
@@ -244,7 +279,7 @@ msgid "Status"
|
|
244 |
msgstr ""
|
245 |
|
246 |
#: contact-form-7/admin/edit-contact-form.php:131
|
247 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
248 |
msgid "Duplicate"
|
249 |
msgstr ""
|
250 |
|
@@ -264,32 +299,32 @@ msgid "Information"
|
|
264 |
msgstr ""
|
265 |
|
266 |
#: contact-form-7/admin/edit-contact-form.php:161
|
267 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
268 |
msgid "http://contactform7.com/docs/"
|
269 |
msgstr ""
|
270 |
|
271 |
#: contact-form-7/admin/edit-contact-form.php:161
|
272 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
273 |
msgid "Docs"
|
274 |
msgstr ""
|
275 |
|
276 |
#: contact-form-7/admin/edit-contact-form.php:162
|
277 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
278 |
msgid "http://contactform7.com/faq/"
|
279 |
msgstr ""
|
280 |
|
281 |
#: contact-form-7/admin/edit-contact-form.php:162
|
282 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
283 |
msgid "FAQ"
|
284 |
msgstr ""
|
285 |
|
286 |
#: contact-form-7/admin/edit-contact-form.php:163
|
287 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
288 |
msgid "http://contactform7.com/support/"
|
289 |
msgstr ""
|
290 |
|
291 |
#: contact-form-7/admin/edit-contact-form.php:163
|
292 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
293 |
msgid "Support"
|
294 |
msgstr ""
|
295 |
|
@@ -309,7 +344,7 @@ msgid "Mail"
|
|
309 |
msgstr ""
|
310 |
|
311 |
#: contact-form-7/admin/edit-contact-form.php:188
|
312 |
-
#: contact-form-7/admin/includes/editor.php:
|
313 |
msgid "Messages"
|
314 |
msgstr ""
|
315 |
|
@@ -319,8 +354,8 @@ msgid "Additional Settings (%d)"
|
|
319 |
msgstr ""
|
320 |
|
321 |
#: contact-form-7/admin/edit-contact-form.php:201
|
322 |
-
#: contact-form-7/admin/includes/editor.php:
|
323 |
-
#: contact-form-7/admin/includes/editor.php:
|
324 |
msgid "Additional Settings"
|
325 |
msgstr ""
|
326 |
|
@@ -341,24 +376,30 @@ msgid "Date"
|
|
341 |
msgstr ""
|
342 |
|
343 |
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:106
|
344 |
-
|
|
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
348 |
#, php-format
|
349 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
353 |
msgid "Y/m/d g:i:s A"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
357 |
#, php-format
|
358 |
msgid "%s ago"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
362 |
msgid "Y/m/d"
|
363 |
msgstr ""
|
364 |
|
@@ -370,63 +411,63 @@ msgstr ""
|
|
370 |
msgid "Use Mail (2)"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: contact-form-7/admin/includes/editor.php:
|
374 |
msgid "Mail (2) is an additional mail template often used as an autoresponder."
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: contact-form-7/admin/includes/editor.php:
|
378 |
msgid "In the following fields, you can use these mail-tags:"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: contact-form-7/admin/includes/editor.php:
|
382 |
msgid "To"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: contact-form-7/admin/includes/editor.php:
|
386 |
msgid "From"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: contact-form-7/admin/includes/editor.php:
|
390 |
#: contact-form-7/includes/contact-form-template.php:29
|
391 |
msgid "Subject"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: contact-form-7/admin/includes/editor.php:
|
395 |
msgid "Additional Headers"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: contact-form-7/admin/includes/editor.php:
|
399 |
msgid "Message Body"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: contact-form-7/admin/includes/editor.php:
|
403 |
msgid "Exclude lines with blank mail-tags from output"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: contact-form-7/admin/includes/editor.php:
|
407 |
msgid "Use HTML content type"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: contact-form-7/admin/includes/editor.php:
|
411 |
msgid "File Attachments"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: contact-form-7/admin/includes/editor.php:
|
415 |
msgid "Edit messages used in the following situations."
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: contact-form-7/admin/includes/editor.php:
|
419 |
msgid "http://contactform7.com/additional-settings/"
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: contact-form-7/admin/includes/editor.php:
|
423 |
#, php-format
|
424 |
msgid "You can add customization code snippets here. For details, see %s."
|
425 |
msgstr ""
|
426 |
|
427 |
#: contact-form-7/admin/includes/help-tabs.php:16
|
428 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
429 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
430 |
msgid "Overview"
|
431 |
msgstr ""
|
432 |
|
@@ -434,19 +475,15 @@ msgstr ""
|
|
434 |
msgid "Available Actions"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
438 |
-
msgid "Adding A New Contact Form"
|
439 |
-
msgstr ""
|
440 |
-
|
441 |
-
#: contact-form-7/admin/includes/help-tabs.php:44
|
442 |
msgid "Form-tags"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
446 |
msgid "Mail-tags"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
450 |
msgid ""
|
451 |
"On this screen, you can manage contact forms provided by Contact Form 7. You "
|
452 |
"can manage an unlimited number of contact forms. Each contact form has a "
|
@@ -455,78 +492,71 @@ msgid ""
|
|
455 |
"target."
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
459 |
msgid ""
|
460 |
"Hovering over a row in the contact forms list will display action links that "
|
461 |
"allow you to manage your contact form. You can perform the following actions:"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
465 |
msgid ""
|
466 |
"<strong>Edit</strong> - Navigates to the editing screen for that contact "
|
467 |
"form. You can also reach that screen by clicking on the contact form title."
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
471 |
msgid ""
|
472 |
"<strong>Duplicate</strong> - Clones that contact form. A cloned contact form "
|
473 |
"inherits all content from the original, but has a different ID."
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
477 |
-
msgid ""
|
478 |
-
"You can add a new contact form on this screen. You can create a contact form "
|
479 |
-
"in your language, which is set WordPress local settings, or in a language "
|
480 |
-
"that you select from available options."
|
481 |
-
msgstr ""
|
482 |
-
|
483 |
-
#: contact-form-7/admin/includes/help-tabs.php:78
|
484 |
msgid ""
|
485 |
"On this screen, you can edit a contact form. A contact form is comprised of "
|
486 |
"the following components:"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
490 |
msgid ""
|
491 |
"<strong>Title</strong> is the title of a contact form. This title is only "
|
492 |
"used for labeling a contact form, and can be edited."
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
496 |
msgid ""
|
497 |
"<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, "
|
498 |
"which is allowed inside a form element. You can also use Contact Form "
|
499 |
"7’s form-tags here."
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
503 |
msgid ""
|
504 |
"<strong>Mail</strong> manages a mail template (headers and message body) "
|
505 |
"that this contact form will send when users submit it. You can use Contact "
|
506 |
"Form 7’s mail-tags here."
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
510 |
msgid ""
|
511 |
"<strong>Mail (2)</strong> is an additional mail template that works similar "
|
512 |
"to Mail. Mail (2) is different in that it is sent only when Mail has been "
|
513 |
"sent successfully."
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
517 |
msgid ""
|
518 |
"In <strong>Messages</strong>, you can edit various types of messages used "
|
519 |
"for this contact form. These messages are relatively short messages, like a "
|
520 |
"validation error message you see when you leave a required field blank."
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
524 |
msgid ""
|
525 |
"<strong>Additional Settings</strong> provides a place where you can "
|
526 |
"customize the behavior of this contact form by adding code snippets."
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
530 |
msgid ""
|
531 |
"A form-tag is a short code enclosed in square brackets used in a form "
|
532 |
"content. A form-tag generally represents an input field, and its components "
|
@@ -536,21 +566,21 @@ msgid ""
|
|
536 |
"fields, CAPTCHAs, and quiz fields."
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
540 |
msgid ""
|
541 |
"While form-tags have a comparatively complex syntax, you don’t need to "
|
542 |
"know the syntax to add form-tags because you can use the straightforward tag "
|
543 |
"generator (<strong>Generate Tag</strong> button on this screen)."
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
547 |
msgid ""
|
548 |
"A mail-tag is also a short code enclosed in square brackets that you can use "
|
549 |
"in every Mail and Mail (2) field. A mail-tag represents a user input value "
|
550 |
"through an input field of a corresponding form-tag."
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
554 |
msgid ""
|
555 |
"There are also special mail-tags that have specific names, but don’t "
|
556 |
"have corresponding form-tags. They are used to represent meta information of "
|
@@ -558,27 +588,27 @@ msgid ""
|
|
558 |
"page."
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
562 |
msgid ""
|
563 |
"On this screen, you can manage services that are available through Contact "
|
564 |
"Form 7. Using API will allow you to collaborate with any services that are "
|
565 |
"available."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
569 |
msgid ""
|
570 |
"You may need to first sign up for an account with the service that you plan "
|
571 |
"to use. When you do so, you would need to authorize Contact Form 7 to access "
|
572 |
"the service with your account."
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
576 |
msgid ""
|
577 |
"Any information you provide will not be shared with service providers "
|
578 |
"without your authorization."
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: contact-form-7/admin/includes/help-tabs.php:
|
582 |
msgid "For more information:"
|
583 |
msgstr ""
|
584 |
|
@@ -587,6 +617,22 @@ msgstr ""
|
|
587 |
msgid "Form-tag Generator: %s"
|
588 |
msgstr ""
|
589 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
590 |
#: contact-form-7/includes/contact-form-template.php:23
|
591 |
msgid "Your Name"
|
592 |
msgstr ""
|
@@ -609,105 +655,106 @@ msgstr ""
|
|
609 |
msgid "Send"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: contact-form-7/includes/contact-form-template.php:
|
|
|
613 |
#, php-format
|
614 |
-
msgid "
|
615 |
msgstr ""
|
616 |
|
617 |
#: contact-form-7/includes/contact-form-template.php:45
|
618 |
#, php-format
|
619 |
-
msgid "
|
620 |
msgstr ""
|
621 |
|
622 |
#: contact-form-7/includes/contact-form-template.php:47
|
623 |
-
|
|
|
|
|
|
|
|
|
|
|
624 |
msgid "Message Body:"
|
625 |
msgstr ""
|
626 |
|
627 |
-
#: contact-form-7/includes/contact-form-template.php:
|
628 |
-
#: contact-form-7/includes/contact-form-template.php:
|
629 |
#, php-format
|
630 |
msgid "This e-mail was sent from a contact form on %1$s (%2$s)"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: contact-form-7/includes/contact-form-template.php:
|
634 |
msgid "Sender's message was sent successfully"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: contact-form-7/includes/contact-form-template.php:
|
638 |
-
msgid "
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: contact-form-7/includes/contact-form-template.php:
|
642 |
-
msgid "Sender's message
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: contact-form-7/includes/contact-form-template.php:
|
646 |
-
#: contact-form-7/includes/contact-form-template.php:
|
647 |
-
msgid ""
|
648 |
-
"Failed to send your message. Please try later or contact the administrator "
|
649 |
-
"by another method."
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: contact-form-7/includes/contact-form-template.php:
|
653 |
msgid "Validation errors occurred"
|
654 |
msgstr ""
|
655 |
|
656 |
-
#: contact-form-7/includes/contact-form-template.php:
|
657 |
-
msgid ""
|
658 |
-
"Validation errors occurred. Please confirm the fields and submit it again."
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: contact-form-7/includes/contact-form-template.php:
|
662 |
msgid "Submission was referred to as spam"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: contact-form-7/includes/contact-form-template.php:
|
666 |
msgid "There are terms that the sender must accept"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: contact-form-7/includes/contact-form-template.php:
|
670 |
-
msgid "
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: contact-form-7/includes/contact-form-template.php:
|
674 |
msgid "There is a field that the sender must fill in"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: contact-form-7/includes/contact-form-template.php:
|
678 |
-
msgid "
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: contact-form-7/includes/contact-form-template.php:
|
682 |
msgid ""
|
683 |
-
"There is a field
|
684 |
-
"length"
|
685 |
msgstr ""
|
686 |
|
687 |
-
#: contact-form-7/includes/contact-form-template.php:
|
688 |
-
msgid "
|
689 |
msgstr ""
|
690 |
|
691 |
-
#: contact-form-7/includes/contact-form-template.php:
|
692 |
msgid ""
|
693 |
-
"There is a field
|
694 |
-
"length"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: contact-form-7/includes/contact-form-template.php:
|
698 |
-
msgid "
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: contact-form-7/includes/contact-form.php:
|
702 |
msgid "Contact Form"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: contact-form-7/includes/contact-form.php:
|
706 |
-
#: contact-form-7/includes/contact-form.php:
|
707 |
msgid "Untitled"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: contact-form-7/includes/contact-form.php:
|
711 |
#, php-format
|
712 |
msgid ""
|
713 |
"<code>%1$s</code> property of a <code>WPCF7_ContactForm</code> object is "
|
@@ -722,262 +769,6 @@ msgstr ""
|
|
722 |
msgid "Sending ..."
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: contact-form-7/includes/l10n.php:11
|
726 |
-
msgid "Afrikaans"
|
727 |
-
msgstr ""
|
728 |
-
|
729 |
-
#: contact-form-7/includes/l10n.php:12
|
730 |
-
msgid "Albanian"
|
731 |
-
msgstr ""
|
732 |
-
|
733 |
-
#: contact-form-7/includes/l10n.php:13
|
734 |
-
msgid "Arabic"
|
735 |
-
msgstr ""
|
736 |
-
|
737 |
-
#: contact-form-7/includes/l10n.php:14
|
738 |
-
msgid "Armenian"
|
739 |
-
msgstr ""
|
740 |
-
|
741 |
-
#: contact-form-7/includes/l10n.php:15
|
742 |
-
msgid "Azerbaijani"
|
743 |
-
msgstr ""
|
744 |
-
|
745 |
-
#: contact-form-7/includes/l10n.php:16
|
746 |
-
msgid "Bangla"
|
747 |
-
msgstr ""
|
748 |
-
|
749 |
-
#: contact-form-7/includes/l10n.php:17
|
750 |
-
msgid "Basque"
|
751 |
-
msgstr ""
|
752 |
-
|
753 |
-
#: contact-form-7/includes/l10n.php:18
|
754 |
-
msgid "Belarusian"
|
755 |
-
msgstr ""
|
756 |
-
|
757 |
-
#: contact-form-7/includes/l10n.php:19
|
758 |
-
msgid "Bosnian"
|
759 |
-
msgstr ""
|
760 |
-
|
761 |
-
#: contact-form-7/includes/l10n.php:20
|
762 |
-
msgid "Bulgarian"
|
763 |
-
msgstr ""
|
764 |
-
|
765 |
-
#: contact-form-7/includes/l10n.php:21
|
766 |
-
msgid "Catalan"
|
767 |
-
msgstr ""
|
768 |
-
|
769 |
-
#: contact-form-7/includes/l10n.php:22
|
770 |
-
msgid "Central Kurdish"
|
771 |
-
msgstr ""
|
772 |
-
|
773 |
-
#: contact-form-7/includes/l10n.php:23
|
774 |
-
msgid "Chinese (China)"
|
775 |
-
msgstr ""
|
776 |
-
|
777 |
-
#: contact-form-7/includes/l10n.php:24
|
778 |
-
msgid "Chinese (Taiwan)"
|
779 |
-
msgstr ""
|
780 |
-
|
781 |
-
#: contact-form-7/includes/l10n.php:25
|
782 |
-
msgid "Croatian"
|
783 |
-
msgstr ""
|
784 |
-
|
785 |
-
#: contact-form-7/includes/l10n.php:26
|
786 |
-
msgid "Czech"
|
787 |
-
msgstr ""
|
788 |
-
|
789 |
-
#: contact-form-7/includes/l10n.php:27
|
790 |
-
msgid "Danish"
|
791 |
-
msgstr ""
|
792 |
-
|
793 |
-
#: contact-form-7/includes/l10n.php:28
|
794 |
-
msgid "Dutch"
|
795 |
-
msgstr ""
|
796 |
-
|
797 |
-
#: contact-form-7/includes/l10n.php:29
|
798 |
-
msgid "English (United States)"
|
799 |
-
msgstr ""
|
800 |
-
|
801 |
-
#: contact-form-7/includes/l10n.php:30
|
802 |
-
msgid "Esperanto"
|
803 |
-
msgstr ""
|
804 |
-
|
805 |
-
#: contact-form-7/includes/l10n.php:31
|
806 |
-
msgid "Estonian"
|
807 |
-
msgstr ""
|
808 |
-
|
809 |
-
#: contact-form-7/includes/l10n.php:32
|
810 |
-
msgid "Finnish"
|
811 |
-
msgstr ""
|
812 |
-
|
813 |
-
#: contact-form-7/includes/l10n.php:33
|
814 |
-
msgid "French (France)"
|
815 |
-
msgstr ""
|
816 |
-
|
817 |
-
#: contact-form-7/includes/l10n.php:34
|
818 |
-
msgid "Galician"
|
819 |
-
msgstr ""
|
820 |
-
|
821 |
-
#: contact-form-7/includes/l10n.php:35
|
822 |
-
msgid "Gujarati"
|
823 |
-
msgstr ""
|
824 |
-
|
825 |
-
#: contact-form-7/includes/l10n.php:36
|
826 |
-
msgid "Georgian"
|
827 |
-
msgstr ""
|
828 |
-
|
829 |
-
#: contact-form-7/includes/l10n.php:37
|
830 |
-
msgid "German"
|
831 |
-
msgstr ""
|
832 |
-
|
833 |
-
#: contact-form-7/includes/l10n.php:38
|
834 |
-
msgid "Greek"
|
835 |
-
msgstr ""
|
836 |
-
|
837 |
-
#: contact-form-7/includes/l10n.php:39
|
838 |
-
msgid "Haitian"
|
839 |
-
msgstr ""
|
840 |
-
|
841 |
-
#: contact-form-7/includes/l10n.php:40
|
842 |
-
msgid "Hebrew"
|
843 |
-
msgstr ""
|
844 |
-
|
845 |
-
#: contact-form-7/includes/l10n.php:41
|
846 |
-
msgid "Hindi"
|
847 |
-
msgstr ""
|
848 |
-
|
849 |
-
#: contact-form-7/includes/l10n.php:42
|
850 |
-
msgid "Hungarian"
|
851 |
-
msgstr ""
|
852 |
-
|
853 |
-
#: contact-form-7/includes/l10n.php:43
|
854 |
-
msgid "Indian Bengali"
|
855 |
-
msgstr ""
|
856 |
-
|
857 |
-
#: contact-form-7/includes/l10n.php:44
|
858 |
-
msgid "Indonesian"
|
859 |
-
msgstr ""
|
860 |
-
|
861 |
-
#: contact-form-7/includes/l10n.php:45
|
862 |
-
msgid "Irish"
|
863 |
-
msgstr ""
|
864 |
-
|
865 |
-
#: contact-form-7/includes/l10n.php:46
|
866 |
-
msgid "Italian"
|
867 |
-
msgstr ""
|
868 |
-
|
869 |
-
#: contact-form-7/includes/l10n.php:47
|
870 |
-
msgid "Japanese"
|
871 |
-
msgstr ""
|
872 |
-
|
873 |
-
#: contact-form-7/includes/l10n.php:48
|
874 |
-
msgid "Korean"
|
875 |
-
msgstr ""
|
876 |
-
|
877 |
-
#: contact-form-7/includes/l10n.php:49
|
878 |
-
msgid "Latvian"
|
879 |
-
msgstr ""
|
880 |
-
|
881 |
-
#: contact-form-7/includes/l10n.php:50
|
882 |
-
msgid "Lithuanian"
|
883 |
-
msgstr ""
|
884 |
-
|
885 |
-
#: contact-form-7/includes/l10n.php:51
|
886 |
-
msgid "Macedonian"
|
887 |
-
msgstr ""
|
888 |
-
|
889 |
-
#: contact-form-7/includes/l10n.php:52
|
890 |
-
msgid "Malay"
|
891 |
-
msgstr ""
|
892 |
-
|
893 |
-
#: contact-form-7/includes/l10n.php:53
|
894 |
-
msgid "Malayalam"
|
895 |
-
msgstr ""
|
896 |
-
|
897 |
-
#: contact-form-7/includes/l10n.php:54
|
898 |
-
msgid "Maltese"
|
899 |
-
msgstr ""
|
900 |
-
|
901 |
-
#: contact-form-7/includes/l10n.php:55
|
902 |
-
msgid "Norwegian (Bokmål)"
|
903 |
-
msgstr ""
|
904 |
-
|
905 |
-
#: contact-form-7/includes/l10n.php:56
|
906 |
-
msgid "Persian"
|
907 |
-
msgstr ""
|
908 |
-
|
909 |
-
#: contact-form-7/includes/l10n.php:57
|
910 |
-
msgid "Polish"
|
911 |
-
msgstr ""
|
912 |
-
|
913 |
-
#: contact-form-7/includes/l10n.php:58
|
914 |
-
msgid "Portuguese (Brazil)"
|
915 |
-
msgstr ""
|
916 |
-
|
917 |
-
#: contact-form-7/includes/l10n.php:59
|
918 |
-
msgid "Portuguese (Portugal)"
|
919 |
-
msgstr ""
|
920 |
-
|
921 |
-
#: contact-form-7/includes/l10n.php:60
|
922 |
-
msgid "Punjabi"
|
923 |
-
msgstr ""
|
924 |
-
|
925 |
-
#: contact-form-7/includes/l10n.php:61
|
926 |
-
msgid "Russian"
|
927 |
-
msgstr ""
|
928 |
-
|
929 |
-
#: contact-form-7/includes/l10n.php:62
|
930 |
-
msgid "Romanian"
|
931 |
-
msgstr ""
|
932 |
-
|
933 |
-
#: contact-form-7/includes/l10n.php:63
|
934 |
-
msgid "Serbian"
|
935 |
-
msgstr ""
|
936 |
-
|
937 |
-
#: contact-form-7/includes/l10n.php:64
|
938 |
-
msgid "Sinhala"
|
939 |
-
msgstr ""
|
940 |
-
|
941 |
-
#: contact-form-7/includes/l10n.php:65
|
942 |
-
msgid "Slovak"
|
943 |
-
msgstr ""
|
944 |
-
|
945 |
-
#: contact-form-7/includes/l10n.php:66
|
946 |
-
msgid "Slovene"
|
947 |
-
msgstr ""
|
948 |
-
|
949 |
-
#: contact-form-7/includes/l10n.php:67
|
950 |
-
msgid "Spanish (Spain)"
|
951 |
-
msgstr ""
|
952 |
-
|
953 |
-
#: contact-form-7/includes/l10n.php:68
|
954 |
-
msgid "Swedish"
|
955 |
-
msgstr ""
|
956 |
-
|
957 |
-
#: contact-form-7/includes/l10n.php:69
|
958 |
-
msgid "Tamil"
|
959 |
-
msgstr ""
|
960 |
-
|
961 |
-
#: contact-form-7/includes/l10n.php:70
|
962 |
-
msgid "Thai"
|
963 |
-
msgstr ""
|
964 |
-
|
965 |
-
#: contact-form-7/includes/l10n.php:71
|
966 |
-
msgid "Tagalog"
|
967 |
-
msgstr ""
|
968 |
-
|
969 |
-
#: contact-form-7/includes/l10n.php:72
|
970 |
-
msgid "Turkish"
|
971 |
-
msgstr ""
|
972 |
-
|
973 |
-
#: contact-form-7/includes/l10n.php:73
|
974 |
-
msgid "Ukrainian"
|
975 |
-
msgstr ""
|
976 |
-
|
977 |
-
#: contact-form-7/includes/l10n.php:74
|
978 |
-
msgid "Vietnamese"
|
979 |
-
msgstr ""
|
980 |
-
|
981 |
#: contact-form-7/modules/acceptance.php:130
|
982 |
msgid "acceptance"
|
983 |
msgstr ""
|
@@ -1136,7 +927,7 @@ msgid "Date format that the sender entered is invalid"
|
|
1136 |
msgstr ""
|
1137 |
|
1138 |
#: contact-form-7/modules/date.php:118
|
1139 |
-
msgid "
|
1140 |
msgstr ""
|
1141 |
|
1142 |
#: contact-form-7/modules/date.php:122
|
@@ -1144,7 +935,7 @@ msgid "Date is earlier than minimum limit"
|
|
1144 |
msgstr ""
|
1145 |
|
1146 |
#: contact-form-7/modules/date.php:123
|
1147 |
-
msgid "
|
1148 |
msgstr ""
|
1149 |
|
1150 |
#: contact-form-7/modules/date.php:127
|
@@ -1152,7 +943,7 @@ msgid "Date is later than maximum limit"
|
|
1152 |
msgstr ""
|
1153 |
|
1154 |
#: contact-form-7/modules/date.php:128
|
1155 |
-
msgid "
|
1156 |
msgstr ""
|
1157 |
|
1158 |
#: contact-form-7/modules/date.php:139
|
@@ -1200,15 +991,15 @@ msgid "Uploading a file fails for any reason"
|
|
1200 |
msgstr ""
|
1201 |
|
1202 |
#: contact-form-7/modules/file.php:196
|
1203 |
-
msgid "
|
1204 |
msgstr ""
|
1205 |
|
1206 |
#: contact-form-7/modules/file.php:200
|
1207 |
-
msgid "Uploaded file is not allowed file type"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
#: contact-form-7/modules/file.php:201
|
1211 |
-
msgid "
|
1212 |
msgstr ""
|
1213 |
|
1214 |
#: contact-form-7/modules/file.php:205
|
@@ -1216,7 +1007,7 @@ msgid "Uploaded file is too large"
|
|
1216 |
msgstr ""
|
1217 |
|
1218 |
#: contact-form-7/modules/file.php:206
|
1219 |
-
msgid "
|
1220 |
msgstr ""
|
1221 |
|
1222 |
#: contact-form-7/modules/file.php:210
|
@@ -1224,7 +1015,7 @@ msgid "Uploading a file fails for PHP error"
|
|
1224 |
msgstr ""
|
1225 |
|
1226 |
#: contact-form-7/modules/file.php:211
|
1227 |
-
msgid "
|
1228 |
msgstr ""
|
1229 |
|
1230 |
#: contact-form-7/modules/file.php:223
|
@@ -1269,27 +1060,12 @@ msgid ""
|
|
1269 |
"folder or change its permission manually."
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#: contact-form-7/modules/jetpack.php:20
|
1273 |
-
msgid "http://contactform7.com/jetpack-overrides-contact-forms/"
|
1274 |
-
msgstr ""
|
1275 |
-
|
1276 |
-
#: contact-form-7/modules/jetpack.php:20
|
1277 |
-
msgid "Jetpack Overrides Contact Forms"
|
1278 |
-
msgstr ""
|
1279 |
-
|
1280 |
-
#: contact-form-7/modules/jetpack.php:24
|
1281 |
-
#, php-format
|
1282 |
-
msgid ""
|
1283 |
-
"Jetpack may cause problems for other plugins in certain cases. For more "
|
1284 |
-
"details, see %s."
|
1285 |
-
msgstr ""
|
1286 |
-
|
1287 |
#: contact-form-7/modules/number.php:120
|
1288 |
msgid "Number format that the sender entered is invalid"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
#: contact-form-7/modules/number.php:121
|
1292 |
-
msgid "
|
1293 |
msgstr ""
|
1294 |
|
1295 |
#: contact-form-7/modules/number.php:125
|
@@ -1297,7 +1073,7 @@ msgid "Number is smaller than minimum limit"
|
|
1297 |
msgstr ""
|
1298 |
|
1299 |
#: contact-form-7/modules/number.php:126
|
1300 |
-
msgid "
|
1301 |
msgstr ""
|
1302 |
|
1303 |
#: contact-form-7/modules/number.php:130
|
@@ -1305,7 +1081,7 @@ msgid "Number is larger than maximum limit"
|
|
1305 |
msgstr ""
|
1306 |
|
1307 |
#: contact-form-7/modules/number.php:131
|
1308 |
-
msgid "
|
1309 |
msgstr ""
|
1310 |
|
1311 |
#: contact-form-7/modules/number.php:142
|
@@ -1340,7 +1116,7 @@ msgid "Sender doesn't enter the correct answer to the quiz"
|
|
1340 |
msgstr ""
|
1341 |
|
1342 |
#: contact-form-7/modules/quiz.php:150
|
1343 |
-
msgid "
|
1344 |
msgstr ""
|
1345 |
|
1346 |
#: contact-form-7/modules/quiz.php:161
|
@@ -1571,7 +1347,7 @@ msgid "Email address that the sender entered is invalid"
|
|
1571 |
msgstr ""
|
1572 |
|
1573 |
#: contact-form-7/modules/text.php:170
|
1574 |
-
msgid "
|
1575 |
msgstr ""
|
1576 |
|
1577 |
#: contact-form-7/modules/text.php:174
|
@@ -1579,7 +1355,7 @@ msgid "URL that the sender entered is invalid"
|
|
1579 |
msgstr ""
|
1580 |
|
1581 |
#: contact-form-7/modules/text.php:175
|
1582 |
-
msgid "URL
|
1583 |
msgstr ""
|
1584 |
|
1585 |
#: contact-form-7/modules/text.php:179
|
@@ -1587,7 +1363,7 @@ msgid "Telephone number that the sender entered is invalid"
|
|
1587 |
msgstr ""
|
1588 |
|
1589 |
#: contact-form-7/modules/text.php:180
|
1590 |
-
msgid "
|
1591 |
msgstr ""
|
1592 |
|
1593 |
#: contact-form-7/modules/text.php:191
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Contact Form 7\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2016-02-20 13:50+0900\n"
|
7 |
"PO-Revision-Date: 2015-05-18 21:49+0900\n"
|
8 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
9 |
"Language-Team: \n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;_n:1,2;_x\n"
|
15 |
"X-Poedit-Basepath: ../..\n"
|
16 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
17 |
"X-Generator: Poedit 1.8.6\n"
|
21 |
msgid "Just another contact form plugin. Simple but flexible."
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: contact-form-7/admin/admin.php:20 contact-form-7/modules/flamingo.php:137
|
25 |
msgid "Contact Form 7"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: contact-form-7/admin/admin.php:21
|
29 |
msgid "Contact"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: contact-form-7/admin/admin.php:27
|
33 |
#: contact-form-7/admin/edit-contact-form.php:38
|
34 |
msgid "Edit Contact Form"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: contact-form-7/admin/admin.php:28 contact-form-7/admin/admin.php:283
|
38 |
+
#: contact-form-7/includes/contact-form.php:30
|
39 |
msgid "Contact Forms"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: contact-form-7/admin/admin.php:35
|
43 |
#: contact-form-7/admin/edit-contact-form.php:36
|
44 |
msgid "Add New Contact Form"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: contact-form-7/admin/admin.php:36 contact-form-7/admin/admin.php:286
|
|
|
48 |
#: contact-form-7/admin/edit-contact-form.php:41
|
49 |
msgid "Add New"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: contact-form-7/admin/admin.php:46 contact-form-7/admin/admin.php:366
|
53 |
msgid "Integration with Other Services"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: contact-form-7/admin/admin.php:47
|
57 |
msgid "Integration"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: contact-form-7/admin/admin.php:77 contact-form-7/admin/admin.php:99
|
61 |
msgid "You are not allowed to edit this item."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: contact-form-7/admin/admin.php:138
|
65 |
msgid "You are not allowed to delete this item."
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: contact-form-7/admin/admin.php:141
|
69 |
msgid "Error in deleting."
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: contact-form-7/admin/admin.php:162
|
73 |
+
msgid "You are not allowed to validate configuration."
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: contact-form-7/admin/admin.php:250
|
77 |
msgid "The changes you made will be lost if you navigate away from this page."
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: contact-form-7/admin/admin.php:291
|
81 |
#, php-format
|
82 |
msgid "Search results for “%s”"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: contact-form-7/admin/admin.php:300
|
86 |
msgid "Search Contact Forms"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: contact-form-7/admin/admin.php:314
|
90 |
#, php-format
|
91 |
+
msgid "Validate %s Contact Form Now"
|
92 |
+
msgid_plural "Validate %s Contact Forms Now"
|
93 |
+
msgstr[0] ""
|
|
|
|
|
|
|
94 |
|
95 |
+
#: contact-form-7/admin/admin.php:322
|
96 |
+
msgid "Validate Configuration"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: contact-form-7/admin/admin.php:395
|
100 |
msgid "Contact form created."
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: contact-form-7/admin/admin.php:397
|
104 |
msgid "Contact form saved."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: contact-form-7/admin/admin.php:399
|
108 |
msgid "Contact form deleted."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: contact-form-7/admin/admin.php:408
|
112 |
+
#, php-format
|
113 |
+
msgid "Configuration validation completed. An invalid contact form was found."
|
114 |
+
msgid_plural ""
|
115 |
+
"Configuration validation completed. %s invalid contact forms were found."
|
116 |
+
msgstr[0] ""
|
117 |
+
|
118 |
+
#: contact-form-7/admin/admin.php:413
|
119 |
+
msgid "Configuration validation completed. No invalid contact form was found."
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: contact-form-7/admin/admin.php:429
|
123 |
msgid "Settings"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: contact-form-7/admin/admin.php:447
|
127 |
#, php-format
|
128 |
msgid ""
|
129 |
"<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> "
|
130 |
"Please <a href=\"%3$s\">update WordPress</a> first."
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: contact-form-7/admin/admin.php:473
|
134 |
msgid "Dismiss"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: contact-form-7/admin/admin.php:478
|
138 |
msgid "Contact Form 7 Needs Your Support"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: contact-form-7/admin/admin.php:479
|
142 |
msgid ""
|
143 |
"It is hard to continue development and support for this plugin without "
|
144 |
"contributions from users like you. If you enjoy using Contact Form 7 and "
|
145 |
"find it useful, please consider making a donation."
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: contact-form-7/admin/admin.php:480
|
149 |
msgid "http://contactform7.com/donate/"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: contact-form-7/admin/admin.php:480
|
153 |
msgid "Donate"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: contact-form-7/admin/admin.php:484
|
157 |
msgid "Get Started"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: contact-form-7/admin/admin.php:486
|
161 |
msgid "http://contactform7.com/getting-started-with-contact-form-7/"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: contact-form-7/admin/admin.php:486
|
165 |
msgid "Getting Started with Contact Form 7"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: contact-form-7/admin/admin.php:487
|
169 |
msgid "http://contactform7.com/admin-screen/"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: contact-form-7/admin/admin.php:487
|
173 |
msgid "Admin Screen"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: contact-form-7/admin/admin.php:488
|
177 |
msgid "http://contactform7.com/tag-syntax/"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: contact-form-7/admin/admin.php:488
|
181 |
msgid "How Tags Work"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: contact-form-7/admin/admin.php:489
|
185 |
msgid "http://contactform7.com/setting-up-mail/"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: contact-form-7/admin/admin.php:489
|
189 |
msgid "Setting Up Mail"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: contact-form-7/admin/admin.php:494
|
193 |
msgid "Did You Know?"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: contact-form-7/admin/admin.php:496
|
197 |
msgid "http://contactform7.com/spam-filtering-with-akismet/"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: contact-form-7/admin/admin.php:496
|
201 |
msgid "Spam Filtering with Akismet"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: contact-form-7/admin/admin.php:497
|
205 |
msgid "http://contactform7.com/save-submitted-messages-with-flamingo/"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: contact-form-7/admin/admin.php:497
|
209 |
msgid "Save Messages with Flamingo"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: contact-form-7/admin/admin.php:498
|
213 |
msgid "http://contactform7.com/selectable-recipient-with-pipes/"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: contact-form-7/admin/admin.php:498
|
217 |
msgid "Selectable Recipient with Pipes"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: contact-form-7/admin/admin.php:499
|
221 |
msgid ""
|
222 |
"http://contactform7.com/tracking-form-submissions-with-google-analytics/"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: contact-form-7/admin/admin.php:499
|
226 |
msgid "Tracking with Google Analytics"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: contact-form-7/admin/admin.php:544
|
230 |
msgid "You are not allowed to edit this contact form."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: contact-form-7/admin/admin.php:567
|
234 |
+
#, php-format
|
235 |
+
msgid "This contact form has a configuration error."
|
236 |
+
msgid_plural "This contact form has %s configuration errors."
|
237 |
+
msgstr[0] ""
|
238 |
+
|
239 |
+
#: contact-form-7/admin/admin.php:573
|
240 |
+
msgid "http://contactform7.com/configuration-errors/"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: contact-form-7/admin/admin.php:574
|
244 |
+
msgid "How to Resolve Configuration Errors"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: contact-form-7/admin/admin.php:601
|
248 |
+
msgid "Validate Contact Form 7 Configuration"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: contact-form-7/admin/admin.php:603
|
252 |
+
msgid ""
|
253 |
+
"Misconfiguration leads to mail delivery failure or other troubles. Validate "
|
254 |
+
"your contact forms now."
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
#: contact-form-7/admin/edit-contact-form.php:26
|
258 |
#: contact-form-7/admin/edit-contact-form.php:124
|
259 |
#: contact-form-7/modules/recaptcha.php:206
|
279 |
msgstr ""
|
280 |
|
281 |
#: contact-form-7/admin/edit-contact-form.php:131
|
282 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:139
|
283 |
msgid "Duplicate"
|
284 |
msgstr ""
|
285 |
|
299 |
msgstr ""
|
300 |
|
301 |
#: contact-form-7/admin/edit-contact-form.php:161
|
302 |
+
#: contact-form-7/admin/includes/help-tabs.php:92
|
303 |
msgid "http://contactform7.com/docs/"
|
304 |
msgstr ""
|
305 |
|
306 |
#: contact-form-7/admin/edit-contact-form.php:161
|
307 |
+
#: contact-form-7/admin/includes/help-tabs.php:92
|
308 |
msgid "Docs"
|
309 |
msgstr ""
|
310 |
|
311 |
#: contact-form-7/admin/edit-contact-form.php:162
|
312 |
+
#: contact-form-7/admin/includes/help-tabs.php:93
|
313 |
msgid "http://contactform7.com/faq/"
|
314 |
msgstr ""
|
315 |
|
316 |
#: contact-form-7/admin/edit-contact-form.php:162
|
317 |
+
#: contact-form-7/admin/includes/help-tabs.php:93
|
318 |
msgid "FAQ"
|
319 |
msgstr ""
|
320 |
|
321 |
#: contact-form-7/admin/edit-contact-form.php:163
|
322 |
+
#: contact-form-7/admin/includes/help-tabs.php:94
|
323 |
msgid "http://contactform7.com/support/"
|
324 |
msgstr ""
|
325 |
|
326 |
#: contact-form-7/admin/edit-contact-form.php:163
|
327 |
+
#: contact-form-7/admin/includes/help-tabs.php:94
|
328 |
msgid "Support"
|
329 |
msgstr ""
|
330 |
|
344 |
msgstr ""
|
345 |
|
346 |
#: contact-form-7/admin/edit-contact-form.php:188
|
347 |
+
#: contact-form-7/admin/includes/editor.php:201
|
348 |
msgid "Messages"
|
349 |
msgstr ""
|
350 |
|
354 |
msgstr ""
|
355 |
|
356 |
#: contact-form-7/admin/edit-contact-form.php:201
|
357 |
+
#: contact-form-7/admin/includes/editor.php:233
|
358 |
+
#: contact-form-7/admin/includes/editor.php:238
|
359 |
msgid "Additional Settings"
|
360 |
msgstr ""
|
361 |
|
376 |
msgstr ""
|
377 |
|
378 |
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:106
|
379 |
+
#, php-format
|
380 |
+
msgid "Edit “%s”"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:117
|
384 |
#, php-format
|
385 |
+
msgid "%s configuration error found"
|
386 |
+
msgid_plural "%s configuration errors found"
|
387 |
+
msgstr[0] ""
|
388 |
+
|
389 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:129
|
390 |
+
msgid "Edit"
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:184
|
394 |
msgid "Y/m/d g:i:s A"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:191
|
398 |
#, php-format
|
399 |
msgid "%s ago"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:193
|
403 |
msgid "Y/m/d"
|
404 |
msgstr ""
|
405 |
|
411 |
msgid "Use Mail (2)"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: contact-form-7/admin/includes/editor.php:92
|
415 |
msgid "Mail (2) is an additional mail template often used as an autoresponder."
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: contact-form-7/admin/includes/editor.php:98
|
419 |
msgid "In the following fields, you can use these mail-tags:"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: contact-form-7/admin/includes/editor.php:104
|
423 |
msgid "To"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: contact-form-7/admin/includes/editor.php:118
|
427 |
msgid "From"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: contact-form-7/admin/includes/editor.php:132
|
431 |
#: contact-form-7/includes/contact-form-template.php:29
|
432 |
msgid "Subject"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: contact-form-7/admin/includes/editor.php:146
|
436 |
msgid "Additional Headers"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: contact-form-7/admin/includes/editor.php:160
|
440 |
msgid "Message Body"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: contact-form-7/admin/includes/editor.php:170
|
444 |
msgid "Exclude lines with blank mail-tags from output"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: contact-form-7/admin/includes/editor.php:172
|
448 |
msgid "Use HTML content type"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: contact-form-7/admin/includes/editor.php:178
|
452 |
msgid "File Attachments"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: contact-form-7/admin/includes/editor.php:203
|
456 |
msgid "Edit messages used in the following situations."
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: contact-form-7/admin/includes/editor.php:232
|
460 |
msgid "http://contactform7.com/additional-settings/"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: contact-form-7/admin/includes/editor.php:234
|
464 |
#, php-format
|
465 |
msgid "You can add customization code snippets here. For details, see %s."
|
466 |
msgstr ""
|
467 |
|
468 |
#: contact-form-7/admin/includes/help-tabs.php:16
|
469 |
+
#: contact-form-7/admin/includes/help-tabs.php:30
|
470 |
+
#: contact-form-7/admin/includes/help-tabs.php:49
|
471 |
msgid "Overview"
|
472 |
msgstr ""
|
473 |
|
475 |
msgid "Available Actions"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: contact-form-7/admin/includes/help-tabs.php:35
|
|
|
|
|
|
|
|
|
479 |
msgid "Form-tags"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: contact-form-7/admin/includes/help-tabs.php:40
|
483 |
msgid "Mail-tags"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: contact-form-7/admin/includes/help-tabs.php:61
|
487 |
msgid ""
|
488 |
"On this screen, you can manage contact forms provided by Contact Form 7. You "
|
489 |
"can manage an unlimited number of contact forms. Each contact form has a "
|
492 |
"target."
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: contact-form-7/admin/includes/help-tabs.php:63
|
496 |
msgid ""
|
497 |
"Hovering over a row in the contact forms list will display action links that "
|
498 |
"allow you to manage your contact form. You can perform the following actions:"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: contact-form-7/admin/includes/help-tabs.php:64
|
502 |
msgid ""
|
503 |
"<strong>Edit</strong> - Navigates to the editing screen for that contact "
|
504 |
"form. You can also reach that screen by clicking on the contact form title."
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: contact-form-7/admin/includes/help-tabs.php:65
|
508 |
msgid ""
|
509 |
"<strong>Duplicate</strong> - Clones that contact form. A cloned contact form "
|
510 |
"inherits all content from the original, but has a different ID."
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: contact-form-7/admin/includes/help-tabs.php:67
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
514 |
msgid ""
|
515 |
"On this screen, you can edit a contact form. A contact form is comprised of "
|
516 |
"the following components:"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: contact-form-7/admin/includes/help-tabs.php:68
|
520 |
msgid ""
|
521 |
"<strong>Title</strong> is the title of a contact form. This title is only "
|
522 |
"used for labeling a contact form, and can be edited."
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: contact-form-7/admin/includes/help-tabs.php:69
|
526 |
msgid ""
|
527 |
"<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, "
|
528 |
"which is allowed inside a form element. You can also use Contact Form "
|
529 |
"7’s form-tags here."
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: contact-form-7/admin/includes/help-tabs.php:70
|
533 |
msgid ""
|
534 |
"<strong>Mail</strong> manages a mail template (headers and message body) "
|
535 |
"that this contact form will send when users submit it. You can use Contact "
|
536 |
"Form 7’s mail-tags here."
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: contact-form-7/admin/includes/help-tabs.php:71
|
540 |
msgid ""
|
541 |
"<strong>Mail (2)</strong> is an additional mail template that works similar "
|
542 |
"to Mail. Mail (2) is different in that it is sent only when Mail has been "
|
543 |
"sent successfully."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: contact-form-7/admin/includes/help-tabs.php:72
|
547 |
msgid ""
|
548 |
"In <strong>Messages</strong>, you can edit various types of messages used "
|
549 |
"for this contact form. These messages are relatively short messages, like a "
|
550 |
"validation error message you see when you leave a required field blank."
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: contact-form-7/admin/includes/help-tabs.php:73
|
554 |
msgid ""
|
555 |
"<strong>Additional Settings</strong> provides a place where you can "
|
556 |
"customize the behavior of this contact form by adding code snippets."
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: contact-form-7/admin/includes/help-tabs.php:75
|
560 |
msgid ""
|
561 |
"A form-tag is a short code enclosed in square brackets used in a form "
|
562 |
"content. A form-tag generally represents an input field, and its components "
|
566 |
"fields, CAPTCHAs, and quiz fields."
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: contact-form-7/admin/includes/help-tabs.php:76
|
570 |
msgid ""
|
571 |
"While form-tags have a comparatively complex syntax, you don’t need to "
|
572 |
"know the syntax to add form-tags because you can use the straightforward tag "
|
573 |
"generator (<strong>Generate Tag</strong> button on this screen)."
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: contact-form-7/admin/includes/help-tabs.php:78
|
577 |
msgid ""
|
578 |
"A mail-tag is also a short code enclosed in square brackets that you can use "
|
579 |
"in every Mail and Mail (2) field. A mail-tag represents a user input value "
|
580 |
"through an input field of a corresponding form-tag."
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: contact-form-7/admin/includes/help-tabs.php:79
|
584 |
msgid ""
|
585 |
"There are also special mail-tags that have specific names, but don’t "
|
586 |
"have corresponding form-tags. They are used to represent meta information of "
|
588 |
"page."
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: contact-form-7/admin/includes/help-tabs.php:81
|
592 |
msgid ""
|
593 |
"On this screen, you can manage services that are available through Contact "
|
594 |
"Form 7. Using API will allow you to collaborate with any services that are "
|
595 |
"available."
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: contact-form-7/admin/includes/help-tabs.php:82
|
599 |
msgid ""
|
600 |
"You may need to first sign up for an account with the service that you plan "
|
601 |
"to use. When you do so, you would need to authorize Contact Form 7 to access "
|
602 |
"the service with your account."
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: contact-form-7/admin/includes/help-tabs.php:83
|
606 |
msgid ""
|
607 |
"Any information you provide will not be shared with service providers "
|
608 |
"without your authorization."
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: contact-form-7/admin/includes/help-tabs.php:91
|
612 |
msgid "For more information:"
|
613 |
msgstr ""
|
614 |
|
617 |
msgid "Form-tag Generator: %s"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: contact-form-7/includes/config-validator.php:41
|
621 |
+
msgid "This field can be empty depending on user input."
|
622 |
+
msgstr ""
|
623 |
+
|
624 |
+
#: contact-form-7/includes/config-validator.php:43
|
625 |
+
msgid "This field has syntax errors."
|
626 |
+
msgstr ""
|
627 |
+
|
628 |
+
#: contact-form-7/includes/config-validator.php:45
|
629 |
+
msgid "This email address does not belong to the same domain as the site."
|
630 |
+
msgstr ""
|
631 |
+
|
632 |
+
#: contact-form-7/includes/config-validator.php:47
|
633 |
+
msgid "HTML tags are not allowed in a message."
|
634 |
+
msgstr ""
|
635 |
+
|
636 |
#: contact-form-7/includes/contact-form-template.php:23
|
637 |
msgid "Your Name"
|
638 |
msgstr ""
|
655 |
msgid "Send"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: contact-form-7/includes/contact-form-template.php:41
|
659 |
+
#: contact-form-7/includes/contact-form-template.php:67
|
660 |
#, php-format
|
661 |
+
msgid "%1$s \"%2$s\""
|
662 |
msgstr ""
|
663 |
|
664 |
#: contact-form-7/includes/contact-form-template.php:45
|
665 |
#, php-format
|
666 |
+
msgid "From: %s"
|
667 |
msgstr ""
|
668 |
|
669 |
#: contact-form-7/includes/contact-form-template.php:47
|
670 |
+
#, php-format
|
671 |
+
msgid "Subject: %s"
|
672 |
+
msgstr ""
|
673 |
+
|
674 |
+
#: contact-form-7/includes/contact-form-template.php:49
|
675 |
+
#: contact-form-7/includes/contact-form-template.php:72
|
676 |
msgid "Message Body:"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: contact-form-7/includes/contact-form-template.php:52
|
680 |
+
#: contact-form-7/includes/contact-form-template.php:75
|
681 |
#, php-format
|
682 |
msgid "This e-mail was sent from a contact form on %1$s (%2$s)"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: contact-form-7/includes/contact-form-template.php:121
|
686 |
msgid "Sender's message was sent successfully"
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: contact-form-7/includes/contact-form-template.php:123
|
690 |
+
msgid "Thank you for your message. It has been sent."
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: contact-form-7/includes/contact-form-template.php:128
|
694 |
+
msgid "Sender's message failed to send"
|
695 |
msgstr ""
|
696 |
|
697 |
+
#: contact-form-7/includes/contact-form-template.php:130
|
698 |
+
#: contact-form-7/includes/contact-form-template.php:144
|
699 |
+
msgid "There was an error trying to send your message. Please try again later."
|
|
|
|
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: contact-form-7/includes/contact-form-template.php:135
|
703 |
msgid "Validation errors occurred"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: contact-form-7/includes/contact-form-template.php:137
|
707 |
+
msgid "One or more fields have an error. Please check and try again."
|
|
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: contact-form-7/includes/contact-form-template.php:142
|
711 |
msgid "Submission was referred to as spam"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: contact-form-7/includes/contact-form-template.php:149
|
715 |
msgid "There are terms that the sender must accept"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: contact-form-7/includes/contact-form-template.php:151
|
719 |
+
msgid "You must accept the terms and conditions before sending your message."
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: contact-form-7/includes/contact-form-template.php:156
|
723 |
msgid "There is a field that the sender must fill in"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: contact-form-7/includes/contact-form-template.php:158
|
727 |
+
msgid "The field is required."
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: contact-form-7/includes/contact-form-template.php:163
|
731 |
msgid ""
|
732 |
+
"There is a field with input that is longer than the maximum allowed length"
|
|
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: contact-form-7/includes/contact-form-template.php:165
|
736 |
+
msgid "The field is too long."
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: contact-form-7/includes/contact-form-template.php:170
|
740 |
msgid ""
|
741 |
+
"There is a field with input that is shorter than the minimum allowed length"
|
|
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: contact-form-7/includes/contact-form-template.php:172
|
745 |
+
msgid "The field is too short."
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: contact-form-7/includes/contact-form.php:31
|
749 |
msgid "Contact Form"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: contact-form-7/includes/contact-form.php:77
|
753 |
+
#: contact-form-7/includes/contact-form.php:227
|
754 |
msgid "Untitled"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: contact-form-7/includes/contact-form.php:153
|
758 |
#, php-format
|
759 |
msgid ""
|
760 |
"<code>%1$s</code> property of a <code>WPCF7_ContactForm</code> object is "
|
769 |
msgid "Sending ..."
|
770 |
msgstr ""
|
771 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
772 |
#: contact-form-7/modules/acceptance.php:130
|
773 |
msgid "acceptance"
|
774 |
msgstr ""
|
927 |
msgstr ""
|
928 |
|
929 |
#: contact-form-7/modules/date.php:118
|
930 |
+
msgid "The date format is incorrect."
|
931 |
msgstr ""
|
932 |
|
933 |
#: contact-form-7/modules/date.php:122
|
935 |
msgstr ""
|
936 |
|
937 |
#: contact-form-7/modules/date.php:123
|
938 |
+
msgid "The date is before the earliest one allowed."
|
939 |
msgstr ""
|
940 |
|
941 |
#: contact-form-7/modules/date.php:127
|
943 |
msgstr ""
|
944 |
|
945 |
#: contact-form-7/modules/date.php:128
|
946 |
+
msgid "The date is after the latest one allowed."
|
947 |
msgstr ""
|
948 |
|
949 |
#: contact-form-7/modules/date.php:139
|
991 |
msgstr ""
|
992 |
|
993 |
#: contact-form-7/modules/file.php:196
|
994 |
+
msgid "There was an unknown error uploading the file."
|
995 |
msgstr ""
|
996 |
|
997 |
#: contact-form-7/modules/file.php:200
|
998 |
+
msgid "Uploaded file is not allowed for file type"
|
999 |
msgstr ""
|
1000 |
|
1001 |
#: contact-form-7/modules/file.php:201
|
1002 |
+
msgid "You are not allowed to upload files of this type."
|
1003 |
msgstr ""
|
1004 |
|
1005 |
#: contact-form-7/modules/file.php:205
|
1007 |
msgstr ""
|
1008 |
|
1009 |
#: contact-form-7/modules/file.php:206
|
1010 |
+
msgid "The file is too big."
|
1011 |
msgstr ""
|
1012 |
|
1013 |
#: contact-form-7/modules/file.php:210
|
1015 |
msgstr ""
|
1016 |
|
1017 |
#: contact-form-7/modules/file.php:211
|
1018 |
+
msgid "There was an error uploading the file."
|
1019 |
msgstr ""
|
1020 |
|
1021 |
#: contact-form-7/modules/file.php:223
|
1060 |
"folder or change its permission manually."
|
1061 |
msgstr ""
|
1062 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1063 |
#: contact-form-7/modules/number.php:120
|
1064 |
msgid "Number format that the sender entered is invalid"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
#: contact-form-7/modules/number.php:121
|
1068 |
+
msgid "The number format is invalid."
|
1069 |
msgstr ""
|
1070 |
|
1071 |
#: contact-form-7/modules/number.php:125
|
1073 |
msgstr ""
|
1074 |
|
1075 |
#: contact-form-7/modules/number.php:126
|
1076 |
+
msgid "The number is smaller than the minimum allowed."
|
1077 |
msgstr ""
|
1078 |
|
1079 |
#: contact-form-7/modules/number.php:130
|
1081 |
msgstr ""
|
1082 |
|
1083 |
#: contact-form-7/modules/number.php:131
|
1084 |
+
msgid "The number is larger than the maximum allowed."
|
1085 |
msgstr ""
|
1086 |
|
1087 |
#: contact-form-7/modules/number.php:142
|
1116 |
msgstr ""
|
1117 |
|
1118 |
#: contact-form-7/modules/quiz.php:150
|
1119 |
+
msgid "The answer to the quiz is incorrect."
|
1120 |
msgstr ""
|
1121 |
|
1122 |
#: contact-form-7/modules/quiz.php:161
|
1347 |
msgstr ""
|
1348 |
|
1349 |
#: contact-form-7/modules/text.php:170
|
1350 |
+
msgid "The e-mail address entered is invalid."
|
1351 |
msgstr ""
|
1352 |
|
1353 |
#: contact-form-7/modules/text.php:174
|
1355 |
msgstr ""
|
1356 |
|
1357 |
#: contact-form-7/modules/text.php:175
|
1358 |
+
msgid "The URL is invalid."
|
1359 |
msgstr ""
|
1360 |
|
1361 |
#: contact-form-7/modules/text.php:179
|
1363 |
msgstr ""
|
1364 |
|
1365 |
#: contact-form-7/modules/text.php:180
|
1366 |
+
msgid "The telephone number is invalid."
|
1367 |
msgstr ""
|
1368 |
|
1369 |
#: contact-form-7/modules/text.php:191
|
license.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
Contact Form 7 WordPress Plugin, 2007-
|
2 |
Contact Form 7 is distributed under the terms of the GNU GPL
|
3 |
|
4 |
This program is free software; you can redistribute it and/or modify
|
1 |
+
Contact Form 7 WordPress Plugin, 2007-2016 Takayuki Miyoshi
|
2 |
Contact Form 7 is distributed under the terms of the GNU GPL
|
3 |
|
4 |
This program is free software; you can redistribute it and/or modify
|
modules/date.php
CHANGED
@@ -115,17 +115,17 @@ function wpcf7_date_messages( $messages ) {
|
|
115 |
return array_merge( $messages, array(
|
116 |
'invalid_date' => array(
|
117 |
'description' => __( "Date format that the sender entered is invalid", 'contact-form-7' ),
|
118 |
-
'default' => __(
|
119 |
),
|
120 |
|
121 |
'date_too_early' => array(
|
122 |
'description' => __( "Date is earlier than minimum limit", 'contact-form-7' ),
|
123 |
-
'default' => __(
|
124 |
),
|
125 |
|
126 |
'date_too_late' => array(
|
127 |
'description' => __( "Date is later than maximum limit", 'contact-form-7' ),
|
128 |
-
'default' => __(
|
129 |
) ) );
|
130 |
}
|
131 |
|
115 |
return array_merge( $messages, array(
|
116 |
'invalid_date' => array(
|
117 |
'description' => __( "Date format that the sender entered is invalid", 'contact-form-7' ),
|
118 |
+
'default' => __( "The date format is incorrect.", 'contact-form-7' )
|
119 |
),
|
120 |
|
121 |
'date_too_early' => array(
|
122 |
'description' => __( "Date is earlier than minimum limit", 'contact-form-7' ),
|
123 |
+
'default' => __( "The date is before the earliest one allowed.", 'contact-form-7' )
|
124 |
),
|
125 |
|
126 |
'date_too_late' => array(
|
127 |
'description' => __( "Date is later than maximum limit", 'contact-form-7' ),
|
128 |
+
'default' => __( "The date is after the latest one allowed.", 'contact-form-7' )
|
129 |
) ) );
|
130 |
}
|
131 |
|
modules/file.php
CHANGED
@@ -193,22 +193,22 @@ function wpcf7_file_messages( $messages ) {
|
|
193 |
return array_merge( $messages, array(
|
194 |
'upload_failed' => array(
|
195 |
'description' => __( "Uploading a file fails for any reason", 'contact-form-7' ),
|
196 |
-
'default' => __(
|
197 |
),
|
198 |
|
199 |
'upload_file_type_invalid' => array(
|
200 |
-
'description' => __( "Uploaded file is not allowed file type", 'contact-form-7' ),
|
201 |
-
'default' => __(
|
202 |
),
|
203 |
|
204 |
'upload_file_too_large' => array(
|
205 |
'description' => __( "Uploaded file is too large", 'contact-form-7' ),
|
206 |
-
'default' => __(
|
207 |
),
|
208 |
|
209 |
'upload_failed_php_error' => array(
|
210 |
'description' => __( "Uploading a file fails for PHP error", 'contact-form-7' ),
|
211 |
-
'default' => __(
|
212 |
)
|
213 |
) );
|
214 |
}
|
193 |
return array_merge( $messages, array(
|
194 |
'upload_failed' => array(
|
195 |
'description' => __( "Uploading a file fails for any reason", 'contact-form-7' ),
|
196 |
+
'default' => __( "There was an unknown error uploading the file.", 'contact-form-7' )
|
197 |
),
|
198 |
|
199 |
'upload_file_type_invalid' => array(
|
200 |
+
'description' => __( "Uploaded file is not allowed for file type", 'contact-form-7' ),
|
201 |
+
'default' => __( "You are not allowed to upload files of this type.", 'contact-form-7' )
|
202 |
),
|
203 |
|
204 |
'upload_file_too_large' => array(
|
205 |
'description' => __( "Uploaded file is too large", 'contact-form-7' ),
|
206 |
+
'default' => __( "The file is too big.", 'contact-form-7' )
|
207 |
),
|
208 |
|
209 |
'upload_failed_php_error' => array(
|
210 |
'description' => __( "Uploading a file fails for PHP error", 'contact-form-7' ),
|
211 |
+
'default' => __( "There was an error uploading the file.", 'contact-form-7' )
|
212 |
)
|
213 |
) );
|
214 |
}
|
modules/flamingo.php
CHANGED
@@ -12,7 +12,8 @@ function wpcf7_flamingo_submit( $contactform, $result ) {
|
|
12 |
return;
|
13 |
}
|
14 |
|
15 |
-
if ( $contactform->in_demo_mode()
|
|
|
16 |
return;
|
17 |
}
|
18 |
|
12 |
return;
|
13 |
}
|
14 |
|
15 |
+
if ( $contactform->in_demo_mode()
|
16 |
+
|| $contactform->is_true( 'do_not_store' ) ) {
|
17 |
return;
|
18 |
}
|
19 |
|
modules/jetpack.php
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
add_action( 'wpcf7_admin_notices', 'wpcf7_jetpack_admin_notices' );
|
4 |
-
|
5 |
-
function wpcf7_jetpack_admin_notices() {
|
6 |
-
global $wpdb;
|
7 |
-
|
8 |
-
if ( ! class_exists( 'Jetpack' )
|
9 |
-
|| ! Jetpack::is_module( 'contact-form' )
|
10 |
-
|| ! in_array( 'contact-form', Jetpack::get_active_modules() ) ) {
|
11 |
-
return;
|
12 |
-
}
|
13 |
-
|
14 |
-
$q = "SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_old_cf7_unit_id'";
|
15 |
-
|
16 |
-
if ( ! $wpdb->get_var( $q ) ) {
|
17 |
-
return;
|
18 |
-
}
|
19 |
-
|
20 |
-
$desc_link = wpcf7_link( __( 'http://contactform7.com/jetpack-overrides-contact-forms/', 'contact-form-7' ), __( 'Jetpack Overrides Contact Forms', 'contact-form-7' ) );
|
21 |
-
|
22 |
-
?>
|
23 |
-
<div class="notice notice-warning is-dismissible">
|
24 |
-
<p><?php echo sprintf( esc_html( __( 'Jetpack may cause problems for other plugins in certain cases. For more details, see %s.', 'contact-form-7' ) ), $desc_link ); ?></p>
|
25 |
-
</div>
|
26 |
-
<?php
|
27 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/number.php
CHANGED
@@ -118,17 +118,17 @@ function wpcf7_number_messages( $messages ) {
|
|
118 |
return array_merge( $messages, array(
|
119 |
'invalid_number' => array(
|
120 |
'description' => __( "Number format that the sender entered is invalid", 'contact-form-7' ),
|
121 |
-
'default' => __(
|
122 |
),
|
123 |
|
124 |
'number_too_small' => array(
|
125 |
'description' => __( "Number is smaller than minimum limit", 'contact-form-7' ),
|
126 |
-
'default' => __(
|
127 |
),
|
128 |
|
129 |
'number_too_large' => array(
|
130 |
'description' => __( "Number is larger than maximum limit", 'contact-form-7' ),
|
131 |
-
'default' => __(
|
132 |
) ) );
|
133 |
}
|
134 |
|
118 |
return array_merge( $messages, array(
|
119 |
'invalid_number' => array(
|
120 |
'description' => __( "Number format that the sender entered is invalid", 'contact-form-7' ),
|
121 |
+
'default' => __( "The number format is invalid.", 'contact-form-7' )
|
122 |
),
|
123 |
|
124 |
'number_too_small' => array(
|
125 |
'description' => __( "Number is smaller than minimum limit", 'contact-form-7' ),
|
126 |
+
'default' => __( "The number is smaller than the minimum allowed.", 'contact-form-7' )
|
127 |
),
|
128 |
|
129 |
'number_too_large' => array(
|
130 |
'description' => __( "Number is larger than maximum limit", 'contact-form-7' ),
|
131 |
+
'default' => __( "The number is larger than the maximum allowed.", 'contact-form-7' )
|
132 |
) ) );
|
133 |
}
|
134 |
|
modules/quiz.php
CHANGED
@@ -147,7 +147,7 @@ add_filter( 'wpcf7_messages', 'wpcf7_quiz_messages' );
|
|
147 |
function wpcf7_quiz_messages( $messages ) {
|
148 |
return array_merge( $messages, array( 'quiz_answer_not_correct' => array(
|
149 |
'description' => __( "Sender doesn't enter the correct answer to the quiz", 'contact-form-7' ),
|
150 |
-
'default' => __(
|
151 |
) ) );
|
152 |
}
|
153 |
|
147 |
function wpcf7_quiz_messages( $messages ) {
|
148 |
return array_merge( $messages, array( 'quiz_answer_not_correct' => array(
|
149 |
'description' => __( "Sender doesn't enter the correct answer to the quiz", 'contact-form-7' ),
|
150 |
+
'default' => __( "The answer to the quiz is incorrect.", 'contact-form-7' )
|
151 |
) ) );
|
152 |
}
|
153 |
|
modules/text.php
CHANGED
@@ -167,17 +167,17 @@ function wpcf7_text_messages( $messages ) {
|
|
167 |
return array_merge( $messages, array(
|
168 |
'invalid_email' => array(
|
169 |
'description' => __( "Email address that the sender entered is invalid", 'contact-form-7' ),
|
170 |
-
'default' => __(
|
171 |
),
|
172 |
|
173 |
'invalid_url' => array(
|
174 |
'description' => __( "URL that the sender entered is invalid", 'contact-form-7' ),
|
175 |
-
'default' => __(
|
176 |
),
|
177 |
|
178 |
'invalid_tel' => array(
|
179 |
'description' => __( "Telephone number that the sender entered is invalid", 'contact-form-7' ),
|
180 |
-
'default' => __(
|
181 |
) ) );
|
182 |
}
|
183 |
|
167 |
return array_merge( $messages, array(
|
168 |
'invalid_email' => array(
|
169 |
'description' => __( "Email address that the sender entered is invalid", 'contact-form-7' ),
|
170 |
+
'default' => __( "The e-mail address entered is invalid.", 'contact-form-7' )
|
171 |
),
|
172 |
|
173 |
'invalid_url' => array(
|
174 |
'description' => __( "URL that the sender entered is invalid", 'contact-form-7' ),
|
175 |
+
'default' => __( "The URL is invalid.", 'contact-form-7' )
|
176 |
),
|
177 |
|
178 |
'invalid_tel' => array(
|
179 |
'description' => __( "Telephone number that the sender entered is invalid", 'contact-form-7' ),
|
180 |
+
'default' => __( "The telephone number is invalid.", 'contact-form-7' )
|
181 |
) ) );
|
182 |
}
|
183 |
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
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.
|
6 |
-
Tested up to: 4.4
|
7 |
-
Stable tag: 4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -26,79 +26,15 @@ It is hard to continue development and support for this free plugin without cont
|
|
26 |
|
27 |
The following plugins are recommended for Contact Form 7 users:
|
28 |
|
29 |
-
* [Flamingo](
|
30 |
* [Postman](https://wordpress.org/plugins/postman-smtp/) by
|
31 |
Jason Hendriks - Postman is a next-generation SMTP Mailer, software that assists in the delivery of email generated by your WordPress site.
|
32 |
* [Contact Form 7: Accessible Defaults](https://wordpress.org/plugins/contact-form-7-accessible-defaults/) by Joe Dolson - Replaces the default Contact Form 7 form with an accessible equivalent and provides a suite of selectable base forms.
|
33 |
-
* [Bogo](
|
34 |
-
|
35 |
-
=
|
36 |
-
|
37 |
-
|
38 |
-
* Albanian (sq) - Olgi Zenullari
|
39 |
-
* Arabic (ar) - Tarek Chaaban, Muhammed Lardi, Yaser Maadan
|
40 |
-
* Armenian (hy_AM) - Emmanuelle Traduction
|
41 |
-
* Azerbaijani (az) - Zaur Bayramov
|
42 |
-
* Bangla (bn_BD) - SM Mehdi Akram
|
43 |
-
* Basque (Euskara; eu) - karrikas
|
44 |
-
* Belarusian (be_BY) - Igor Dubilei
|
45 |
-
* Bosnian (bs_BA) - Vedran
|
46 |
-
* Bulgarian (bg_BG) - Iliyan Darganov
|
47 |
-
* Catalan (ca) - Jordi Sancho, Robert Buj, Jaume Aragay Badia, luba lee
|
48 |
-
* Central Kurdish (ckb) - Mahr Hassan
|
49 |
-
* Chinese (China; zh_CN) - Soz, Keefe Dunn, Stella Hu
|
50 |
-
* Chinese (Taiwan; zh_TW) - James Wu
|
51 |
-
* Croatian (hr) - tolingo Translation Services, Marko Puskaric, Sanjin Barac
|
52 |
-
* Czech (cs_CZ) - Korry, Radovan Fiser, Tomas Vesely, Pavel Bilek, Vladislav Šenk
|
53 |
-
* Danish (da_DK) - Jens Griebel, Georg S. Adamsen, Thomas Blomberg Hansen
|
54 |
-
* Dutch (nl_NL) - Chris Devriese, Martin Hein, Rene, TenSheep, Tim de Hoog, Henk Buma
|
55 |
-
* Esperanto (eo_EO) - Arkadiusz Zychewicz
|
56 |
-
* Estonian (et) - Peeter Rahuvarm, Egon Elbre, Tanel Jüris
|
57 |
-
* Finnish (fi) - Miika Turunen, Mediajalostamo, Jani Alha
|
58 |
-
* French (fr_FR) - Jillij, Oncle Tom, Maître Mô, Emmanuel Simond, Hédi Sellami
|
59 |
-
* Galician (gl_ES) - Arume Desenvolvementos Informáticos
|
60 |
-
* Georgian (ka_GE) - Nodar Rocko Davituri
|
61 |
-
* German (de_DE) - Marcel Spitau, Ivan Graf
|
62 |
-
* Greek (el) - Nick Mouratidis, Pr. friedlich, John D. Dimoferlias
|
63 |
-
* Gujarati (gu_IN) - Apoto
|
64 |
-
* Haitian (ht) - Lam Tu Do
|
65 |
-
* Hebrew (he_IL) - Yaron Ofer, Arik Galansky, Ahrale
|
66 |
-
* Hindi (hi_IN) - Tarun Joshi, Ashish
|
67 |
-
* Hungarian (hu_HU) - Andras Hirschler, János Csárdi-Braunstein, Farkas Győző
|
68 |
-
* Indian Bengali (bn_IN) - Suman Manna
|
69 |
-
* Indonesian (Bahasa Indonesia; id_ID) - Hendry Lee, Belajar Seo Indonesia
|
70 |
-
* Irish (ga_IE) - Vikas Arora
|
71 |
-
* Italian (it_IT) - Bruno, Gianni Diurno
|
72 |
-
* Japanese (ja) - Takayuki Miyoshi
|
73 |
-
* Korean (ko_KR) - Seong Eun Lee, Jong-In Kim, martian36
|
74 |
-
* Latvian (lv) - Sandis Veinbergs
|
75 |
-
* Lithuanian (lt_LT) - Ernestas Kardzys, Vincent G, Mantas Malcius
|
76 |
-
* Macedonian (mk_MK) - Darko
|
77 |
-
* Malay (ms_MY) - Zairul Azmil
|
78 |
-
* Malayalam (ml_IN) - RAHUL.S.A
|
79 |
-
* Maltese (mt_MT) - Ajoft Technologies
|
80 |
-
* Norwegian (nb_NO) - Kjetil M. Bergem, aanvik.net, Peter Holme
|
81 |
-
* Persian (Farsi; fa_IR) - Mohammad Musavi, Mohsen Firoozmandan, Ghaem Omidi, Ehsan Np
|
82 |
-
* Polish (pl_PL) - Zbigniew Czernik, Daniel Fruzynski, RafalDesign, Bartosz Arendt
|
83 |
-
* Portuguese (Brazil; pt_BR) - Leonardo Pinheiro, Henrique Vianna, Caciano Gabriel Batista, Gervásio Antônio, Gilvanilson Santos
|
84 |
-
* Portuguese (Portugal; pt_PT) - Hugo Baeta, Pedro Nave, Pedro Mendonça
|
85 |
-
* Punjabi (pa_IN) - Jasvinder Sing
|
86 |
-
* Russian (ru_RU) - Dmitry Volotovich, Denis Voituk, twisted tits, kg69design
|
87 |
-
* Romanian (ro_RO) - Stas Sushkov, Anunturi Jibo, Marius Olar, Inbox Translation
|
88 |
-
* Serbian (sr_RS) - Vedran, Aleksandar Urošević
|
89 |
-
* Sinhala (si_LK) - Nitin Aggarwal
|
90 |
-
* Slovak (sk_SK) - Patrik Bóna, WordPress Slovakia
|
91 |
-
* Slovene (sl_SI) - Mihael Simonič, Jani Roskar, Marko Ambrožič
|
92 |
-
* Spanish (es_ES) - Jordi Sancho, Vladimir Prieto, Federico Mikaelian, Matias Baldanza, Carlos Agnese, Lourdes Cuesta, Carlos Oropesa, Ana Ayelén Martínez
|
93 |
-
* Swedish (sv_SE) - Fredrik Jonsson, the Swedish community
|
94 |
-
* Tagalog (tl) - Rupert Agnew Lanuza, Hanne, Language Connect
|
95 |
-
* Tamil (ta) - Nitin Aggarwal
|
96 |
-
* Thai (th) - ToshiK, kazama, TG Knowledge
|
97 |
-
* Turkish (tr_TR) - Roman Neumuller, Hasan Yılmaz, Emin Buğra Saral, Burak Yavuz
|
98 |
-
* Ukrainian (uk) - Andrey Kovba, Ukrainian WordPress localization team, Myroslava Pabyrivska
|
99 |
-
* Vietnamese (vi) - Thanh Hải, Hà, Khang Minh
|
100 |
-
|
101 |
-
If you have created your own language pack, or have an update of an existing one, you can send [gettext PO and MO files](http://codex.wordpress.org/Translating_WordPress) to [me](http://ideasilo.wordpress.com/about/) so that I can bundle it into Contact Form 7. You can download the latest [POT file](http://plugins.svn.wordpress.org/contact-form-7/trunk/languages/contact-form-7.pot), and [PO files in each language](http://plugins.svn.wordpress.org/contact-form-7/branches/languages/).
|
102 |
|
103 |
== Installation ==
|
104 |
|
@@ -127,6 +63,14 @@ Do you have questions or issues with Contact Form 7? Use these support channels
|
|
127 |
|
128 |
For more information, see [Releases](http://contactform7.com/category/releases/).
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
= 4.3.1 =
|
131 |
|
132 |
* Use wp_loaded action hook instead of init to initialize the controller process.
|
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.3
|
6 |
+
Tested up to: 4.4.2
|
7 |
+
Stable tag: 4.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
26 |
|
27 |
The following plugins are recommended for Contact Form 7 users:
|
28 |
|
29 |
+
* [Flamingo](https://wordpress.org/plugins/flamingo/) by Takayuki Miyoshi - With Flamingo, you can save submitted messages via contact forms in the database.
|
30 |
* [Postman](https://wordpress.org/plugins/postman-smtp/) by
|
31 |
Jason Hendriks - Postman is a next-generation SMTP Mailer, software that assists in the delivery of email generated by your WordPress site.
|
32 |
* [Contact Form 7: Accessible Defaults](https://wordpress.org/plugins/contact-form-7-accessible-defaults/) by Joe Dolson - Replaces the default Contact Form 7 form with an accessible equivalent and provides a suite of selectable base forms.
|
33 |
+
* [Bogo](https://wordpress.org/plugins/bogo/) by Takayuki Miyoshi - Bogo is a straight-forward multilingual plugin that doesn't cause headaches.
|
34 |
+
|
35 |
+
= Translations =
|
36 |
+
|
37 |
+
You can [translate Contact Form 7](http://contactform7.com/translating-contact-form-7/) on [__translate.wordpress.org__](https://translate.wordpress.org/projects/wp-plugins/contact-form-7).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
== Installation ==
|
40 |
|
63 |
|
64 |
For more information, see [Releases](http://contactform7.com/category/releases/).
|
65 |
|
66 |
+
= 4.4 =
|
67 |
+
|
68 |
+
* The configuration validator has been introduced.
|
69 |
+
* The language selector has been removed from Add New Contact Form screen.
|
70 |
+
* Attach a plain text version of the message when sending HTML mail.
|
71 |
+
* Added do_not_store additional setting to tell data storage add-ons not to store data through the contact form.
|
72 |
+
* The minimum required WordPress version has been changed from 4.2 to 4.3.
|
73 |
+
|
74 |
= 4.3.1 =
|
75 |
|
76 |
* Use wp_loaded action hook instead of init to initialize the controller process.
|
settings.php
CHANGED
@@ -12,6 +12,7 @@ require_once WPCF7_PLUGIN_DIR . '/includes/mail.php';
|
|
12 |
require_once WPCF7_PLUGIN_DIR . '/includes/submission.php';
|
13 |
require_once WPCF7_PLUGIN_DIR . '/includes/upgrade.php';
|
14 |
require_once WPCF7_PLUGIN_DIR . '/includes/integration.php';
|
|
|
15 |
|
16 |
if ( is_admin() ) {
|
17 |
require_once WPCF7_PLUGIN_DIR . '/admin/admin.php';
|
@@ -29,7 +30,6 @@ class WPCF7 {
|
|
29 |
self::load_module( 'date' );
|
30 |
self::load_module( 'file' );
|
31 |
self::load_module( 'flamingo' );
|
32 |
-
self::load_module( 'jetpack' );
|
33 |
self::load_module( 'listo' );
|
34 |
self::load_module( 'number' );
|
35 |
self::load_module( 'quiz' );
|
12 |
require_once WPCF7_PLUGIN_DIR . '/includes/submission.php';
|
13 |
require_once WPCF7_PLUGIN_DIR . '/includes/upgrade.php';
|
14 |
require_once WPCF7_PLUGIN_DIR . '/includes/integration.php';
|
15 |
+
require_once WPCF7_PLUGIN_DIR . '/includes/config-validator.php';
|
16 |
|
17 |
if ( is_admin() ) {
|
18 |
require_once WPCF7_PLUGIN_DIR . '/admin/admin.php';
|
30 |
self::load_module( 'date' );
|
31 |
self::load_module( 'file' );
|
32 |
self::load_module( 'flamingo' );
|
|
|
33 |
self::load_module( 'listo' );
|
34 |
self::load_module( 'number' );
|
35 |
self::load_module( 'quiz' );
|
wp-contact-form-7.php
CHANGED
@@ -7,12 +7,12 @@ 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 |
-
define( 'WPCF7_VERSION', '4.
|
14 |
|
15 |
-
define( 'WPCF7_REQUIRED_WP_VERSION', '4.
|
16 |
|
17 |
define( 'WPCF7_PLUGIN', __FILE__ );
|
18 |
|
@@ -56,6 +56,10 @@ if ( ! defined( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA' ) ) {
|
|
56 |
define( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA', false );
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
59 |
// Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead.
|
60 |
define( 'WPCF7_PLUGIN_URL', untrailingslashit( plugins_url( '', WPCF7_PLUGIN ) ) );
|
61 |
|
7 |
Author URI: http://ideasilo.wordpress.com/
|
8 |
Text Domain: contact-form-7
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 4.4
|
11 |
*/
|
12 |
|
13 |
+
define( 'WPCF7_VERSION', '4.4' );
|
14 |
|
15 |
+
define( 'WPCF7_REQUIRED_WP_VERSION', '4.3' );
|
16 |
|
17 |
define( 'WPCF7_PLUGIN', __FILE__ );
|
18 |
|
56 |
define( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA', false );
|
57 |
}
|
58 |
|
59 |
+
if ( ! defined( 'WPCF7_VALIDATE_CONFIGURATION' ) ) {
|
60 |
+
define( 'WPCF7_VALIDATE_CONFIGURATION', true );
|
61 |
+
}
|
62 |
+
|
63 |
// Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead.
|
64 |
define( 'WPCF7_PLUGIN_URL', untrailingslashit( plugins_url( '', WPCF7_PLUGIN ) ) );
|
65 |
|