Version Description
- Added role="form" to wrapper div elements.
- Added wrapping label elements to quiz question strings.
- Translation for Portuguese has been updated.
Download this release
Release Info
Developer | takayukister |
Plugin | Contact Form 7 |
Version | 4.1.2 |
Comparing to | |
See all releases |
Code changes from version 4.1.1 to 4.1.2
- admin/includes/class-contact-forms-list-table.php +11 -7
- admin/includes/meta-boxes.php +11 -3
- includes/contact-form.php +1 -0
- includes/js/scripts.js +2 -1
- languages/contact-form-7-pt_PT.mo +0 -0
- languages/contact-form-7.pot +82 -82
- modules/quiz.php +1 -1
- readme.txt +9 -3
- wp-contact-form-7.php +2 -2
admin/includes/class-contact-forms-list-table.php
CHANGED
@@ -87,7 +87,7 @@ class WPCF7_Contact_Form_List_Table extends WP_List_Table {
|
|
87 |
|
88 |
function column_default( $item, $column_name ) {
|
89 |
return '';
|
90 |
-
|
91 |
|
92 |
function column_cb( $item ) {
|
93 |
return sprintf(
|
@@ -101,7 +101,9 @@ class WPCF7_Contact_Form_List_Table extends WP_List_Table {
|
|
101 |
$edit_link = add_query_arg( array( 'action' => 'edit' ), $url );
|
102 |
|
103 |
$actions = array(
|
104 |
-
'edit' => '<a href="
|
|
|
|
|
105 |
|
106 |
if ( current_user_can( 'wpcf7_edit_contact_form', $item->id() ) ) {
|
107 |
$copy_link = wp_nonce_url(
|
@@ -109,17 +111,19 @@ class WPCF7_Contact_Form_List_Table extends WP_List_Table {
|
|
109 |
'wpcf7-copy-contact-form_' . absint( $item->id() ) );
|
110 |
|
111 |
$actions = array_merge( $actions, array(
|
112 |
-
'copy' => '<a href="
|
|
|
|
|
113 |
}
|
114 |
|
115 |
$a = sprintf( '<a class="row-title" href="%1$s" title="%2$s">%3$s</a>',
|
116 |
-
$edit_link,
|
117 |
esc_attr( sprintf( __( 'Edit “%s”', 'contact-form-7' ),
|
118 |
$item->title() ) ),
|
119 |
esc_html( $item->title() ) );
|
120 |
|
121 |
return '<strong>' . $a . '</strong> ' . $this->row_actions( $actions );
|
122 |
-
|
123 |
|
124 |
function column_author( $item ) {
|
125 |
$post = get_post( $item->id() );
|
@@ -130,7 +134,7 @@ class WPCF7_Contact_Form_List_Table extends WP_List_Table {
|
|
130 |
$author = get_userdata( $post->post_author );
|
131 |
|
132 |
return esc_html( $author->display_name );
|
133 |
-
|
134 |
|
135 |
function column_shortcode( $item ) {
|
136 |
$shortcodes = array(
|
@@ -167,7 +171,7 @@ class WPCF7_Contact_Form_List_Table extends WP_List_Table {
|
|
167 |
$h_time = mysql2date( __( 'Y/m/d', 'contact-form-7' ), $m_time );
|
168 |
|
169 |
return '<abbr title="' . $t_time . '">' . $h_time . '</abbr>';
|
170 |
-
|
171 |
}
|
172 |
|
173 |
?>
|
87 |
|
88 |
function column_default( $item, $column_name ) {
|
89 |
return '';
|
90 |
+
}
|
91 |
|
92 |
function column_cb( $item ) {
|
93 |
return sprintf(
|
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 ),
|
106 |
+
esc_html( __( 'Edit', 'contact-form-7' ) ) ) );
|
107 |
|
108 |
if ( current_user_can( 'wpcf7_edit_contact_form', $item->id() ) ) {
|
109 |
$copy_link = wp_nonce_url(
|
111 |
'wpcf7-copy-contact-form_' . absint( $item->id() ) );
|
112 |
|
113 |
$actions = array_merge( $actions, array(
|
114 |
+
'copy' => sprintf( '<a href="%1$s">%2$s</a>',
|
115 |
+
esc_url( $copy_link ),
|
116 |
+
esc_html( __( 'Duplicate', 'contact-form-7' ) ) ) ) );
|
117 |
}
|
118 |
|
119 |
$a = sprintf( '<a class="row-title" href="%1$s" title="%2$s">%3$s</a>',
|
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 '<strong>' . $a . '</strong> ' . $this->row_actions( $actions );
|
126 |
+
}
|
127 |
|
128 |
function column_author( $item ) {
|
129 |
$post = get_post( $item->id() );
|
134 |
$author = get_userdata( $post->post_author );
|
135 |
|
136 |
return esc_html( $author->display_name );
|
137 |
+
}
|
138 |
|
139 |
function column_shortcode( $item ) {
|
140 |
$shortcodes = array(
|
171 |
$h_time = mysql2date( __( 'Y/m/d', 'contact-form-7' ), $m_time );
|
172 |
|
173 |
return '<abbr title="' . $t_time . '">' . $h_time . '</abbr>';
|
174 |
+
}
|
175 |
}
|
176 |
|
177 |
?>
|
admin/includes/meta-boxes.php
CHANGED
@@ -33,8 +33,10 @@ function wpcf7_mail_meta_box( $post, $box ) {
|
|
33 |
if ( ! empty( $args['use'] ) ) :
|
34 |
?>
|
35 |
<div class="mail-field">
|
|
|
36 |
<input type="checkbox" id="<?php echo $id; ?>-active" name="<?php echo $id; ?>-active" class="check-if-these-fields-are-active" value="1"<?php echo ( $mail['active'] ) ? ' checked="checked"' : ''; ?> />
|
37 |
-
|
|
|
38 |
<div class="pseudo-hr"></div>
|
39 |
</div>
|
40 |
|
@@ -73,8 +75,11 @@ function wpcf7_mail_meta_box( $post, $box ) {
|
|
73 |
<div class="pseudo-hr"></div>
|
74 |
|
75 |
<div class="mail-field">
|
|
|
|
|
76 |
<input type="checkbox" id="<?php echo $id; ?>-use-html" name="<?php echo $id; ?>-use-html" value="1"<?php echo ( $mail['use_html'] ) ? ' checked="checked"' : ''; ?> />
|
77 |
-
|
|
|
78 |
</div>
|
79 |
</div>
|
80 |
|
@@ -85,8 +90,11 @@ function wpcf7_mail_meta_box( $post, $box ) {
|
|
85 |
</div>
|
86 |
|
87 |
<div class="mail-field">
|
|
|
|
|
88 |
<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"' : ''; ?> />
|
89 |
-
|
|
|
90 |
</div>
|
91 |
</div>
|
92 |
|
33 |
if ( ! empty( $args['use'] ) ) :
|
34 |
?>
|
35 |
<div class="mail-field">
|
36 |
+
<label for="<?php echo $id; ?>-active">
|
37 |
<input type="checkbox" id="<?php echo $id; ?>-active" name="<?php echo $id; ?>-active" class="check-if-these-fields-are-active" value="1"<?php echo ( $mail['active'] ) ? ' checked="checked"' : ''; ?> />
|
38 |
+
<?php echo esc_html( $args['use'] ); ?>
|
39 |
+
</label>
|
40 |
<div class="pseudo-hr"></div>
|
41 |
</div>
|
42 |
|
75 |
<div class="pseudo-hr"></div>
|
76 |
|
77 |
<div class="mail-field">
|
78 |
+
|
79 |
+
<label for="<?php echo $id; ?>-use-html">
|
80 |
<input type="checkbox" id="<?php echo $id; ?>-use-html" name="<?php echo $id; ?>-use-html" value="1"<?php echo ( $mail['use_html'] ) ? ' checked="checked"' : ''; ?> />
|
81 |
+
<?php echo esc_html( __( 'Use HTML content type', 'contact-form-7' ) ); ?>
|
82 |
+
</label>
|
83 |
</div>
|
84 |
</div>
|
85 |
|
90 |
</div>
|
91 |
|
92 |
<div class="mail-field">
|
93 |
+
|
94 |
+
<label for="<?php echo $id; ?>-exclude-blank">
|
95 |
<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"' : ''; ?> />
|
96 |
+
<?php echo esc_html( __( 'Exclude lines with blank mail-tags from output', 'contact-form-7' ) ); ?>
|
97 |
+
</label>
|
98 |
</div>
|
99 |
</div>
|
100 |
|
includes/contact-form.php
CHANGED
@@ -259,6 +259,7 @@ class WPCF7_ContactForm {
|
|
259 |
$this->unit_tag = self::get_unit_tag( $this->id );
|
260 |
|
261 |
$html = sprintf( '<div %s>', wpcf7_format_atts( array(
|
|
|
262 |
'class' => 'wpcf7',
|
263 |
'id' => $this->unit_tag,
|
264 |
( get_option( 'html_type' ) == 'text/html' ) ? 'lang' : 'xml:lang'
|
259 |
$this->unit_tag = self::get_unit_tag( $this->id );
|
260 |
|
261 |
$html = sprintf( '<div %s>', wpcf7_format_atts( array(
|
262 |
+
'role' => 'form',
|
263 |
'class' => 'wpcf7',
|
264 |
'id' => $this->unit_tag,
|
265 |
( get_option( 'html_type' ) == 'text/html' ) ? 'lang' : 'xml:lang'
|
includes/js/scripts.js
CHANGED
@@ -148,7 +148,8 @@
|
|
148 |
|
149 |
$.fn.wpcf7ExclusiveCheckbox = function() {
|
150 |
return this.find('input:checkbox').click(function() {
|
151 |
-
$(this).
|
|
|
152 |
});
|
153 |
};
|
154 |
|
148 |
|
149 |
$.fn.wpcf7ExclusiveCheckbox = function() {
|
150 |
return this.find('input:checkbox').click(function() {
|
151 |
+
var name = $(this).attr('name');
|
152 |
+
$(this).closest('form').find('input:checkbox[name="' + name + '"]').not(this).prop('checked', false);
|
153 |
});
|
154 |
};
|
155 |
|
languages/contact-form-7-pt_PT.mo
CHANGED
Binary file
|
languages/contact-form-7.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-
|
6 |
-
"PO-Revision-Date: 2015-
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
14 |
"X-Poedit-Basepath: ../..\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
16 |
-
"X-Generator: Poedit 1.7.
|
17 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
18 |
|
19 |
#: contact-form-7/wp-contact-form-7.php:5
|
@@ -269,7 +269,7 @@ msgid "Save"
|
|
269 |
msgstr ""
|
270 |
|
271 |
#: contact-form-7/admin/edit-contact-form.php:68
|
272 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
273 |
msgid "Duplicate"
|
274 |
msgstr ""
|
275 |
|
@@ -301,25 +301,25 @@ msgstr ""
|
|
301 |
msgid "Date"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
305 |
msgid "Edit"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
309 |
#, php-format
|
310 |
msgid "Edit “%s”"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
314 |
msgid "Y/m/d g:i:s A"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
318 |
#, php-format
|
319 |
msgid "%s ago"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:
|
323 |
msgid "Y/m/d"
|
324 |
msgstr ""
|
325 |
|
@@ -473,39 +473,39 @@ msgid ""
|
|
473 |
"<a href=\"http://contactform7.com/support/\" target=\"_blank\">Support</a>"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
477 |
msgid "To:"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
481 |
msgid "From:"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
485 |
msgid "Subject:"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
489 |
msgid "Additional headers:"
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
493 |
msgid "File attachments:"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
497 |
msgid "Use HTML content type"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
501 |
msgid "Message body:"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
505 |
msgid "Exclude lines with blank mail-tags from output"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: contact-form-7/admin/includes/meta-boxes.php:
|
509 |
msgid "Show all messages"
|
510 |
msgstr ""
|
511 |
|
@@ -644,259 +644,259 @@ msgstr ""
|
|
644 |
msgid "Sending ..."
|
645 |
msgstr ""
|
646 |
|
647 |
-
#: contact-form-7/includes/functions.php:
|
648 |
msgid "Afrikaans"
|
649 |
msgstr ""
|
650 |
|
651 |
-
#: contact-form-7/includes/functions.php:
|
652 |
msgid "Albanian"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: contact-form-7/includes/functions.php:
|
656 |
msgid "Arabic"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: contact-form-7/includes/functions.php:
|
660 |
msgid "Armenian"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: contact-form-7/includes/functions.php:
|
664 |
msgid "Azerbaijani"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: contact-form-7/includes/functions.php:
|
668 |
msgid "Bangla"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: contact-form-7/includes/functions.php:
|
672 |
msgid "Basque"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: contact-form-7/includes/functions.php:
|
676 |
msgid "Belarusian"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: contact-form-7/includes/functions.php:
|
680 |
msgid "Bosnian"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#: contact-form-7/includes/functions.php:
|
684 |
msgid "Bulgarian"
|
685 |
msgstr ""
|
686 |
|
687 |
-
#: contact-form-7/includes/functions.php:
|
688 |
msgid "Catalan"
|
689 |
msgstr ""
|
690 |
|
691 |
-
#: contact-form-7/includes/functions.php:
|
692 |
msgid "Central Kurdish"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: contact-form-7/includes/functions.php:
|
696 |
msgid "Chinese (China)"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: contact-form-7/includes/functions.php:
|
700 |
msgid "Chinese (Taiwan)"
|
701 |
msgstr ""
|
702 |
|
703 |
-
#: contact-form-7/includes/functions.php:
|
704 |
msgid "Croatian"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: contact-form-7/includes/functions.php:
|
708 |
msgid "Czech"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: contact-form-7/includes/functions.php:
|
712 |
msgid "Danish"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: contact-form-7/includes/functions.php:
|
716 |
msgid "Dutch"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: contact-form-7/includes/functions.php:
|
720 |
msgid "English (United States)"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: contact-form-7/includes/functions.php:
|
724 |
msgid "Esperanto"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: contact-form-7/includes/functions.php:
|
728 |
msgid "Estonian"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: contact-form-7/includes/functions.php:
|
732 |
msgid "Finnish"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: contact-form-7/includes/functions.php:
|
736 |
msgid "French (France)"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: contact-form-7/includes/functions.php:
|
740 |
msgid "Galician"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: contact-form-7/includes/functions.php:
|
744 |
msgid "Gujarati"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: contact-form-7/includes/functions.php:
|
748 |
msgid "Georgian"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: contact-form-7/includes/functions.php:
|
752 |
msgid "German"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: contact-form-7/includes/functions.php:
|
756 |
msgid "Greek"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: contact-form-7/includes/functions.php:
|
760 |
msgid "Haitian"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: contact-form-7/includes/functions.php:
|
764 |
msgid "Hebrew"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: contact-form-7/includes/functions.php:
|
768 |
msgid "Hindi"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: contact-form-7/includes/functions.php:
|
772 |
msgid "Hungarian"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: contact-form-7/includes/functions.php:
|
776 |
msgid "Indian Bengali"
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: contact-form-7/includes/functions.php:
|
780 |
msgid "Indonesian"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: contact-form-7/includes/functions.php:
|
784 |
msgid "Irish"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: contact-form-7/includes/functions.php:
|
788 |
msgid "Italian"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: contact-form-7/includes/functions.php:
|
792 |
msgid "Japanese"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: contact-form-7/includes/functions.php:
|
796 |
msgid "Korean"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: contact-form-7/includes/functions.php:
|
800 |
msgid "Latvian"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: contact-form-7/includes/functions.php:
|
804 |
msgid "Lithuanian"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: contact-form-7/includes/functions.php:
|
808 |
msgid "Macedonian"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: contact-form-7/includes/functions.php:
|
812 |
msgid "Malay"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: contact-form-7/includes/functions.php:
|
816 |
msgid "Malayalam"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: contact-form-7/includes/functions.php:
|
820 |
msgid "Maltese"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: contact-form-7/includes/functions.php:
|
824 |
msgid "Norwegian (Bokmål)"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: contact-form-7/includes/functions.php:
|
828 |
msgid "Persian"
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: contact-form-7/includes/functions.php:
|
832 |
msgid "Polish"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: contact-form-7/includes/functions.php:
|
836 |
msgid "Portuguese (Brazil)"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: contact-form-7/includes/functions.php:
|
840 |
msgid "Portuguese (Portugal)"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: contact-form-7/includes/functions.php:
|
844 |
msgid "Punjabi"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: contact-form-7/includes/functions.php:
|
848 |
msgid "Russian"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: contact-form-7/includes/functions.php:
|
852 |
msgid "Romanian"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: contact-form-7/includes/functions.php:
|
856 |
msgid "Serbian"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: contact-form-7/includes/functions.php:
|
860 |
msgid "Sinhala"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: contact-form-7/includes/functions.php:
|
864 |
msgid "Slovak"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: contact-form-7/includes/functions.php:
|
868 |
msgid "Slovene"
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: contact-form-7/includes/functions.php:
|
872 |
msgid "Spanish (Spain)"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: contact-form-7/includes/functions.php:
|
876 |
msgid "Swedish"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: contact-form-7/includes/functions.php:
|
880 |
msgid "Tamil"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: contact-form-7/includes/functions.php:
|
884 |
msgid "Thai"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: contact-form-7/includes/functions.php:
|
888 |
msgid "Tagalog"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: contact-form-7/includes/functions.php:
|
892 |
msgid "Turkish"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: contact-form-7/includes/functions.php:
|
896 |
msgid "Ukrainian"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: contact-form-7/includes/functions.php:
|
900 |
msgid "Vietnamese"
|
901 |
msgstr ""
|
902 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-04-24 03:09+0900\n"
|
6 |
+
"PO-Revision-Date: 2015-04-24 03:09+0900\n"
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
14 |
"X-Poedit-Basepath: ../..\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
16 |
+
"X-Generator: Poedit 1.7.6\n"
|
17 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
18 |
|
19 |
#: contact-form-7/wp-contact-form-7.php:5
|
269 |
msgstr ""
|
270 |
|
271 |
#: contact-form-7/admin/edit-contact-form.php:68
|
272 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:116
|
273 |
msgid "Duplicate"
|
274 |
msgstr ""
|
275 |
|
301 |
msgid "Date"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:106
|
305 |
msgid "Edit"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:121
|
309 |
#, php-format
|
310 |
msgid "Edit “%s”"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:162
|
314 |
msgid "Y/m/d g:i:s A"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:169
|
318 |
#, php-format
|
319 |
msgid "%s ago"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:171
|
323 |
msgid "Y/m/d"
|
324 |
msgstr ""
|
325 |
|
473 |
"<a href=\"http://contactform7.com/support/\" target=\"_blank\">Support</a>"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: contact-form-7/admin/includes/meta-boxes.php:49
|
477 |
msgid "To:"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: contact-form-7/admin/includes/meta-boxes.php:54
|
481 |
msgid "From:"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: contact-form-7/admin/includes/meta-boxes.php:59
|
485 |
msgid "Subject:"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: contact-form-7/admin/includes/meta-boxes.php:66
|
489 |
msgid "Additional headers:"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: contact-form-7/admin/includes/meta-boxes.php:71
|
493 |
msgid "File attachments:"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: contact-form-7/admin/includes/meta-boxes.php:81
|
497 |
msgid "Use HTML content type"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: contact-form-7/admin/includes/meta-boxes.php:88
|
501 |
msgid "Message body:"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: contact-form-7/admin/includes/meta-boxes.php:96
|
505 |
msgid "Exclude lines with blank mail-tags from output"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: contact-form-7/admin/includes/meta-boxes.php:125
|
509 |
msgid "Show all messages"
|
510 |
msgstr ""
|
511 |
|
644 |
msgid "Sending ..."
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: contact-form-7/includes/functions.php:40
|
648 |
msgid "Afrikaans"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: contact-form-7/includes/functions.php:41
|
652 |
msgid "Albanian"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: contact-form-7/includes/functions.php:42
|
656 |
msgid "Arabic"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: contact-form-7/includes/functions.php:43
|
660 |
msgid "Armenian"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: contact-form-7/includes/functions.php:44
|
664 |
msgid "Azerbaijani"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: contact-form-7/includes/functions.php:45
|
668 |
msgid "Bangla"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: contact-form-7/includes/functions.php:46
|
672 |
msgid "Basque"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: contact-form-7/includes/functions.php:47
|
676 |
msgid "Belarusian"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: contact-form-7/includes/functions.php:48
|
680 |
msgid "Bosnian"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: contact-form-7/includes/functions.php:49
|
684 |
msgid "Bulgarian"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: contact-form-7/includes/functions.php:50
|
688 |
msgid "Catalan"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: contact-form-7/includes/functions.php:51
|
692 |
msgid "Central Kurdish"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: contact-form-7/includes/functions.php:52
|
696 |
msgid "Chinese (China)"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: contact-form-7/includes/functions.php:53
|
700 |
msgid "Chinese (Taiwan)"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: contact-form-7/includes/functions.php:54
|
704 |
msgid "Croatian"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: contact-form-7/includes/functions.php:55
|
708 |
msgid "Czech"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: contact-form-7/includes/functions.php:56
|
712 |
msgid "Danish"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: contact-form-7/includes/functions.php:57
|
716 |
msgid "Dutch"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: contact-form-7/includes/functions.php:58
|
720 |
msgid "English (United States)"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: contact-form-7/includes/functions.php:59
|
724 |
msgid "Esperanto"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: contact-form-7/includes/functions.php:60
|
728 |
msgid "Estonian"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: contact-form-7/includes/functions.php:61
|
732 |
msgid "Finnish"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: contact-form-7/includes/functions.php:62
|
736 |
msgid "French (France)"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: contact-form-7/includes/functions.php:63
|
740 |
msgid "Galician"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: contact-form-7/includes/functions.php:64
|
744 |
msgid "Gujarati"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: contact-form-7/includes/functions.php:65
|
748 |
msgid "Georgian"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: contact-form-7/includes/functions.php:66
|
752 |
msgid "German"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: contact-form-7/includes/functions.php:67
|
756 |
msgid "Greek"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: contact-form-7/includes/functions.php:68
|
760 |
msgid "Haitian"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: contact-form-7/includes/functions.php:69
|
764 |
msgid "Hebrew"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: contact-form-7/includes/functions.php:70
|
768 |
msgid "Hindi"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: contact-form-7/includes/functions.php:71
|
772 |
msgid "Hungarian"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: contact-form-7/includes/functions.php:72
|
776 |
msgid "Indian Bengali"
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: contact-form-7/includes/functions.php:73
|
780 |
msgid "Indonesian"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: contact-form-7/includes/functions.php:74
|
784 |
msgid "Irish"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: contact-form-7/includes/functions.php:75
|
788 |
msgid "Italian"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: contact-form-7/includes/functions.php:76
|
792 |
msgid "Japanese"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: contact-form-7/includes/functions.php:77
|
796 |
msgid "Korean"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: contact-form-7/includes/functions.php:78
|
800 |
msgid "Latvian"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: contact-form-7/includes/functions.php:79
|
804 |
msgid "Lithuanian"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: contact-form-7/includes/functions.php:80
|
808 |
msgid "Macedonian"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: contact-form-7/includes/functions.php:81
|
812 |
msgid "Malay"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: contact-form-7/includes/functions.php:82
|
816 |
msgid "Malayalam"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: contact-form-7/includes/functions.php:83
|
820 |
msgid "Maltese"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: contact-form-7/includes/functions.php:84
|
824 |
msgid "Norwegian (Bokmål)"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: contact-form-7/includes/functions.php:85
|
828 |
msgid "Persian"
|
829 |
msgstr ""
|
830 |
|
831 |
+
#: contact-form-7/includes/functions.php:86
|
832 |
msgid "Polish"
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: contact-form-7/includes/functions.php:87
|
836 |
msgid "Portuguese (Brazil)"
|
837 |
msgstr ""
|
838 |
|
839 |
+
#: contact-form-7/includes/functions.php:88
|
840 |
msgid "Portuguese (Portugal)"
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: contact-form-7/includes/functions.php:89
|
844 |
msgid "Punjabi"
|
845 |
msgstr ""
|
846 |
|
847 |
+
#: contact-form-7/includes/functions.php:90
|
848 |
msgid "Russian"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: contact-form-7/includes/functions.php:91
|
852 |
msgid "Romanian"
|
853 |
msgstr ""
|
854 |
|
855 |
+
#: contact-form-7/includes/functions.php:92
|
856 |
msgid "Serbian"
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: contact-form-7/includes/functions.php:93
|
860 |
msgid "Sinhala"
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: contact-form-7/includes/functions.php:94
|
864 |
msgid "Slovak"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: contact-form-7/includes/functions.php:95
|
868 |
msgid "Slovene"
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: contact-form-7/includes/functions.php:96
|
872 |
msgid "Spanish (Spain)"
|
873 |
msgstr ""
|
874 |
|
875 |
+
#: contact-form-7/includes/functions.php:97
|
876 |
msgid "Swedish"
|
877 |
msgstr ""
|
878 |
|
879 |
+
#: contact-form-7/includes/functions.php:98
|
880 |
msgid "Tamil"
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: contact-form-7/includes/functions.php:99
|
884 |
msgid "Thai"
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: contact-form-7/includes/functions.php:100
|
888 |
msgid "Tagalog"
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: contact-form-7/includes/functions.php:101
|
892 |
msgid "Turkish"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: contact-form-7/includes/functions.php:102
|
896 |
msgid "Ukrainian"
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: contact-form-7/includes/functions.php:103
|
900 |
msgid "Vietnamese"
|
901 |
msgstr ""
|
902 |
|
modules/quiz.php
CHANGED
@@ -60,7 +60,7 @@ function wpcf7_quiz_shortcode_handler( $tag ) {
|
|
60 |
$atts = wpcf7_format_atts( $atts );
|
61 |
|
62 |
$html = sprintf(
|
63 |
-
'<span class="wpcf7-form-control-wrap %1$s"><span class="wpcf7-quiz-label">%2$s</span
|
64 |
sanitize_html_class( $tag->name ),
|
65 |
esc_html( $question ), $atts, $tag->name,
|
66 |
wp_hash( $answer, 'wpcf7_quiz' ), $validation_error );
|
60 |
$atts = wpcf7_format_atts( $atts );
|
61 |
|
62 |
$html = sprintf(
|
63 |
+
'<span class="wpcf7-form-control-wrap %1$s"><label><span class="wpcf7-quiz-label">%2$s</span> <input %3$s /></label><input type="hidden" name="_wpcf7_quiz_answer_%4$s" value="%5$s" />%6$s</span>',
|
64 |
sanitize_html_class( $tag->name ),
|
65 |
esc_html( $question ), $atts, $tag->name,
|
66 |
wp_hash( $answer, 'wpcf7_quiz' ), $validation_error );
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: takayukister
|
|
3 |
Donate link: http://contactform7.com/donate/
|
4 |
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 4.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -119,12 +119,18 @@ Do you have questions or issues with Contact Form 7? Use these support channels
|
|
119 |
|
120 |
== Screenshots ==
|
121 |
|
122 |
-
1. screenshot-1.png
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
For more information, see [Releases](http://contactform7.com/category/releases/).
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
= 4.1.1 =
|
129 |
|
130 |
* Security enhancement: use wp_rand() instead of mt_rand() for CAPTCHA file name generation to make it harder for attackers to predict its next value.
|
3 |
Donate link: http://contactform7.com/donate/
|
4 |
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.2
|
7 |
+
Stable tag: 4.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
119 |
|
120 |
== Screenshots ==
|
121 |
|
122 |
+
1. screenshot-1.png
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
For more information, see [Releases](http://contactform7.com/category/releases/).
|
127 |
|
128 |
+
= 4.1.2 =
|
129 |
+
|
130 |
+
* Added role="form" to wrapper div elements.
|
131 |
+
* Added wrapping label elements to quiz question strings.
|
132 |
+
* Translation for Portuguese has been updated.
|
133 |
+
|
134 |
= 4.1.1 =
|
135 |
|
136 |
* Security enhancement: use wp_rand() instead of mt_rand() for CAPTCHA file name generation to make it harder for attackers to predict its next value.
|
wp-contact-form-7.php
CHANGED
@@ -7,7 +7,7 @@ Author: Takayuki Miyoshi
|
|
7 |
Author URI: http://ideasilo.wordpress.com/
|
8 |
Text Domain: contact-form-7
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 4.1.
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2007-2015 Takayuki Miyoshi (email: takayukister at gmail.com)
|
@@ -27,7 +27,7 @@ Version: 4.1.1
|
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
-
define( 'WPCF7_VERSION', '4.1.
|
31 |
|
32 |
define( 'WPCF7_REQUIRED_WP_VERSION', '4.0' );
|
33 |
|
7 |
Author URI: http://ideasilo.wordpress.com/
|
8 |
Text Domain: contact-form-7
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 4.1.2
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2007-2015 Takayuki Miyoshi (email: takayukister at gmail.com)
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
+
define( 'WPCF7_VERSION', '4.1.2' );
|
31 |
|
32 |
define( 'WPCF7_REQUIRED_WP_VERSION', '4.0' );
|
33 |
|