Version Description
Download this release
Release Info
Developer | takayukister |
Plugin | Contact Form 7 |
Version | 1.7.6 |
Comparing to | |
See all releases |
Code changes from version 1.7.5 to 1.7.6
- README.txt +3 -7
- contact-form-7.js +29 -13
- languages/wpcf7-bg_BG.mo +0 -0
- languages/wpcf7-bg_BG.po +289 -0
- languages/wpcf7-ja.mo +0 -0
- languages/wpcf7-ja.po +78 -57
- languages/wpcf7.pot +78 -57
- wp-contact-form-7.php +76 -10
- wpcf7-admin.js +46 -1
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: takayukister
|
|
3 |
Donate link: http://takayukister.chipin.com/contact-form-7-20
|
4 |
Tags: contact form, email, ajax, captcha, akismet
|
5 |
Requires at least: 2.2
|
6 |
-
Tested up to: 2.
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
Just another contact form plugin. Simple but flexible.
|
10 |
|
@@ -31,11 +31,6 @@ If you have questions about Contact Form 7,
|
|
31 |
please submit it [to the support forum](http://wordpress.org/tags/contact-form-7#postform) or
|
32 |
comment [on my blog](http://ideasilo.wordpress.com/2007/04/30/contact-form-7/).
|
33 |
|
34 |
-
= By default the size of text field is really small. How can I increase it? =
|
35 |
-
|
36 |
-
[This documentation](http://ideasilo.wordpress.com/2007/04/30/contact-form-7/#Tags_in_form_content) may help.
|
37 |
-
You can do that by editting a tag like: `[text your-name 40/100]`
|
38 |
-
|
39 |
== Screenshots ==
|
40 |
|
41 |
1. screenshot-1.png
|
@@ -45,6 +40,7 @@ You can do that by editting a tag like: `[text your-name 40/100]`
|
|
45 |
Contact Form 7 has been translated into the following languages.
|
46 |
|
47 |
* Brazilian Portuguese, by [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/)
|
|
|
48 |
* Catalan, by [Jordi Sancho](http://www.qasolutions.net/blog)
|
49 |
* Czech, by Korry
|
50 |
* Dutch, by [Chris Devriese](http://www.100it.be/)
|
3 |
Donate link: http://takayukister.chipin.com/contact-form-7-20
|
4 |
Tags: contact form, email, ajax, captcha, akismet
|
5 |
Requires at least: 2.2
|
6 |
+
Tested up to: 2.5-beta1
|
7 |
+
Stable tag: 1.7.6
|
8 |
|
9 |
Just another contact form plugin. Simple but flexible.
|
10 |
|
31 |
please submit it [to the support forum](http://wordpress.org/tags/contact-form-7#postform) or
|
32 |
comment [on my blog](http://ideasilo.wordpress.com/2007/04/30/contact-form-7/).
|
33 |
|
|
|
|
|
|
|
|
|
|
|
34 |
== Screenshots ==
|
35 |
|
36 |
1. screenshot-1.png
|
40 |
Contact Form 7 has been translated into the following languages.
|
41 |
|
42 |
* Brazilian Portuguese, by [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/)
|
43 |
+
* Bulgarian, by [Iliyan Darganov](http://www.darganov.com/)
|
44 |
* Catalan, by [Jordi Sancho](http://www.qasolutions.net/blog)
|
45 |
* Czech, by Korry
|
46 |
* Dutch, by [Chris Devriese](http://www.100it.be/)
|
contact-form-7.js
CHANGED
@@ -1,18 +1,34 @@
|
|
1 |
jQuery(document).ready(function() {
|
2 |
jQuery('div.wpcf7 > form').ajaxForm({
|
3 |
-
beforeSubmit:
|
4 |
dataType: 'json',
|
5 |
-
success:
|
6 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
11 |
});
|
12 |
-
}
|
13 |
|
14 |
-
function
|
15 |
-
|
16 |
jQuery('img.ajax-loader', jqForm[0]).css({ visibility: 'visible' });
|
17 |
|
18 |
formData.push({name: '_wpcf7_is_ajax_call', value: 1});
|
@@ -20,7 +36,7 @@ function beforeSubmit(formData, jqForm, options) {
|
|
20 |
return true;
|
21 |
}
|
22 |
|
23 |
-
function
|
24 |
jQuery(input).after('<span class="wpcf7-not-valid-tip">' + message + '</span>');
|
25 |
jQuery('span.wpcf7-not-valid-tip').mouseover(function() {
|
26 |
jQuery(this).fadeOut('fast');
|
@@ -33,12 +49,12 @@ function notValidTip(input, message) {
|
|
33 |
});
|
34 |
}
|
35 |
|
36 |
-
function
|
37 |
var wpcf7ResponseOutput = jQuery(data.into).find('div.wpcf7-response-output');
|
38 |
-
|
39 |
if (data.invalids) {
|
40 |
jQuery.each(data.invalids, function(i, n) {
|
41 |
-
|
42 |
});
|
43 |
wpcf7ResponseOutput.addClass('wpcf7-validation-errors');
|
44 |
}
|
@@ -62,7 +78,7 @@ function processJson(data) {
|
|
62 |
wpcf7ResponseOutput.append(data.message).fadeIn('fast');
|
63 |
}
|
64 |
|
65 |
-
function
|
66 |
jQuery('div.wpcf7-response-output').hide().empty().removeClass('wpcf7-mail-sent-ok wpcf7-mail-sent-ng wpcf7-validation-errors wpcf7-spam-blocked');
|
67 |
jQuery('span.wpcf7-not-valid-tip').remove();
|
68 |
jQuery('img.ajax-loader').css({ visibility: 'hidden' });
|
1 |
jQuery(document).ready(function() {
|
2 |
jQuery('div.wpcf7 > form').ajaxForm({
|
3 |
+
beforeSubmit: wpcf7BeforeSubmit,
|
4 |
dataType: 'json',
|
5 |
+
success: wpcf7ProcessJson
|
6 |
});
|
7 |
+
});
|
8 |
+
|
9 |
+
// Exclusive checkbox
|
10 |
+
function wpcf7ExclusiveCheckbox(elem) {
|
11 |
+
jQuery(elem.form).find('input:checkbox[@name="' + elem.name + '"]').not(elem).removeAttr('checked');
|
12 |
+
}
|
13 |
+
|
14 |
+
// Toggle submit button
|
15 |
+
function wpcf7ToggleSubmit(form) {
|
16 |
+
var submit = jQuery(form).find('input:submit');
|
17 |
+
if (! submit.length) return;
|
18 |
|
19 |
+
var acceptances = jQuery(form).find('input:checkbox.wpcf7-acceptance');
|
20 |
+
if (! acceptances.length) return;
|
21 |
+
|
22 |
+
submit.removeAttr('disabled');
|
23 |
+
acceptances.each(function(i, n) {
|
24 |
+
n = jQuery(n);
|
25 |
+
if (n.hasClass('wpcf7-invert') && n.is(':checked') || ! n.hasClass('wpcf7-invert') && ! n.is(':checked'))
|
26 |
+
submit.attr('disabled', 'disabled');
|
27 |
});
|
28 |
+
}
|
29 |
|
30 |
+
function wpcf7BeforeSubmit(formData, jqForm, options) {
|
31 |
+
wpcf7ClearResponseOutput();
|
32 |
jQuery('img.ajax-loader', jqForm[0]).css({ visibility: 'visible' });
|
33 |
|
34 |
formData.push({name: '_wpcf7_is_ajax_call', value: 1});
|
36 |
return true;
|
37 |
}
|
38 |
|
39 |
+
function wpcf7NotValidTip(input, message) {
|
40 |
jQuery(input).after('<span class="wpcf7-not-valid-tip">' + message + '</span>');
|
41 |
jQuery('span.wpcf7-not-valid-tip').mouseover(function() {
|
42 |
jQuery(this).fadeOut('fast');
|
49 |
});
|
50 |
}
|
51 |
|
52 |
+
function wpcf7ProcessJson(data) {
|
53 |
var wpcf7ResponseOutput = jQuery(data.into).find('div.wpcf7-response-output');
|
54 |
+
wpcf7ClearResponseOutput();
|
55 |
if (data.invalids) {
|
56 |
jQuery.each(data.invalids, function(i, n) {
|
57 |
+
wpcf7NotValidTip(jQuery(data.into).find(n.into), n.message);
|
58 |
});
|
59 |
wpcf7ResponseOutput.addClass('wpcf7-validation-errors');
|
60 |
}
|
78 |
wpcf7ResponseOutput.append(data.message).fadeIn('fast');
|
79 |
}
|
80 |
|
81 |
+
function wpcf7ClearResponseOutput() {
|
82 |
jQuery('div.wpcf7-response-output').hide().empty().removeClass('wpcf7-mail-sent-ok wpcf7-mail-sent-ng wpcf7-validation-errors wpcf7-spam-blocked');
|
83 |
jQuery('span.wpcf7-not-valid-tip').remove();
|
84 |
jQuery('img.ajax-loader').css({ visibility: 'hidden' });
|
languages/wpcf7-bg_BG.mo
ADDED
Binary file
|
languages/wpcf7-bg_BG.po
ADDED
@@ -0,0 +1,289 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Contact Form 7 Bulgarian translation\n"
|
4 |
+
"POT-Creation-Date: 2007-10-24 13:47+0900\n"
|
5 |
+
"PO-Revision-Date: 2008-01-26 00:00+0200\n"
|
6 |
+
"Last-Translator: Iliyan Darganov <iliyan@darganov.com>\n"
|
7 |
+
"Language-Team: Iliyan Darganov <iliyan@darganov.com>\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
13 |
+
"X-Poedit-Basepath: ../..\n"
|
14 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
15 |
+
"X-Poedit-Language: Bulgarian\n"
|
16 |
+
"X-Poedit-Country: BULGARIA\n"
|
17 |
+
"X-Poedit-SearchPath-0: contact-form-7\n"
|
18 |
+
|
19 |
+
#: contact-form-7/wp-contact-form-7.php:251
|
20 |
+
msgid "Contact form"
|
21 |
+
msgstr "Форма за контакт"
|
22 |
+
|
23 |
+
#: contact-form-7/wp-contact-form-7.php:336
|
24 |
+
#: contact-form-7/includes/admin-panel.php:5
|
25 |
+
msgid "Contact Form 7"
|
26 |
+
msgstr "Contact Form 7"
|
27 |
+
|
28 |
+
#: contact-form-7/wp-contact-form-7.php:352
|
29 |
+
msgid "optional"
|
30 |
+
msgstr "незадължително"
|
31 |
+
|
32 |
+
#: contact-form-7/wp-contact-form-7.php:353
|
33 |
+
msgid "Generate Tag"
|
34 |
+
msgstr "Генериране на етикет"
|
35 |
+
|
36 |
+
#: contact-form-7/wp-contact-form-7.php:354
|
37 |
+
msgid "Text field"
|
38 |
+
msgstr "Текстово поле"
|
39 |
+
|
40 |
+
#: contact-form-7/wp-contact-form-7.php:355
|
41 |
+
msgid "Email field"
|
42 |
+
msgstr "Поле за email"
|
43 |
+
|
44 |
+
#: contact-form-7/wp-contact-form-7.php:356
|
45 |
+
msgid "Text area"
|
46 |
+
msgstr "Текстова област"
|
47 |
+
|
48 |
+
#: contact-form-7/wp-contact-form-7.php:357
|
49 |
+
msgid "Drop-down menu"
|
50 |
+
msgstr "Падащо меню"
|
51 |
+
|
52 |
+
#: contact-form-7/wp-contact-form-7.php:358
|
53 |
+
msgid "Checkboxes"
|
54 |
+
msgstr "Отметки"
|
55 |
+
|
56 |
+
#: contact-form-7/wp-contact-form-7.php:359
|
57 |
+
msgid "Radio buttons"
|
58 |
+
msgstr "Радио бутони"
|
59 |
+
|
60 |
+
#: contact-form-7/wp-contact-form-7.php:360
|
61 |
+
msgid "CAPTCHA"
|
62 |
+
msgstr "CAPTCHA"
|
63 |
+
|
64 |
+
#: contact-form-7/wp-contact-form-7.php:361
|
65 |
+
msgid "Submit button"
|
66 |
+
msgstr "Бутон за изпращане"
|
67 |
+
|
68 |
+
#: contact-form-7/wp-contact-form-7.php:362
|
69 |
+
msgid "Name"
|
70 |
+
msgstr "Име"
|
71 |
+
|
72 |
+
#: contact-form-7/wp-contact-form-7.php:363
|
73 |
+
msgid "Required field?"
|
74 |
+
msgstr "Задължително поле?"
|
75 |
+
|
76 |
+
#: contact-form-7/wp-contact-form-7.php:364
|
77 |
+
msgid "Allow multiple selections?"
|
78 |
+
msgstr "Възможност за избор на повече от едно?"
|
79 |
+
|
80 |
+
#: contact-form-7/wp-contact-form-7.php:365
|
81 |
+
msgid "Insert a blank item as the first option?"
|
82 |
+
msgstr "Вмъкване на празно поле за първа стойност?"
|
83 |
+
|
84 |
+
#: contact-form-7/wp-contact-form-7.php:366
|
85 |
+
msgid "Make checkboxes exclusive?"
|
86 |
+
msgstr "Да бъдат ли отметките специални?"
|
87 |
+
|
88 |
+
#: contact-form-7/wp-contact-form-7.php:367
|
89 |
+
msgid "Choices"
|
90 |
+
msgstr "Стойности"
|
91 |
+
|
92 |
+
#: contact-form-7/wp-contact-form-7.php:368
|
93 |
+
msgid "Label"
|
94 |
+
msgstr "Надпис"
|
95 |
+
|
96 |
+
#: contact-form-7/wp-contact-form-7.php:369
|
97 |
+
msgid "Default value"
|
98 |
+
msgstr "Стойност по подразбиране"
|
99 |
+
|
100 |
+
#: contact-form-7/wp-contact-form-7.php:370
|
101 |
+
msgid "Akismet"
|
102 |
+
msgstr "Akismet"
|
103 |
+
|
104 |
+
#: contact-form-7/wp-contact-form-7.php:371
|
105 |
+
msgid "This field requires author's name"
|
106 |
+
msgstr "Това поле изисква името на автора"
|
107 |
+
|
108 |
+
#: contact-form-7/wp-contact-form-7.php:372
|
109 |
+
msgid "This field requires author's URL"
|
110 |
+
msgstr "Това поле изисква URL адреса на автора"
|
111 |
+
|
112 |
+
#: contact-form-7/wp-contact-form-7.php:373
|
113 |
+
msgid "This field requires author's email address"
|
114 |
+
msgstr "Това поле изисква email адреса на автора"
|
115 |
+
|
116 |
+
#: contact-form-7/wp-contact-form-7.php:374
|
117 |
+
msgid "Copy and paste this code into the form"
|
118 |
+
msgstr "Копирайте и сложете този код във формата"
|
119 |
+
|
120 |
+
#: contact-form-7/wp-contact-form-7.php:375
|
121 |
+
msgid "Foreground color"
|
122 |
+
msgstr "Цвят на текста"
|
123 |
+
|
124 |
+
#: contact-form-7/wp-contact-form-7.php:376
|
125 |
+
msgid "Background color"
|
126 |
+
msgstr "Фонов цвят"
|
127 |
+
|
128 |
+
#: contact-form-7/wp-contact-form-7.php:377
|
129 |
+
msgid "Image size"
|
130 |
+
msgstr "Размер на изображението"
|
131 |
+
|
132 |
+
#: contact-form-7/wp-contact-form-7.php:378
|
133 |
+
msgid "Small"
|
134 |
+
msgstr "Малък"
|
135 |
+
|
136 |
+
#: contact-form-7/wp-contact-form-7.php:379
|
137 |
+
msgid "Medium"
|
138 |
+
msgstr "Среден"
|
139 |
+
|
140 |
+
#: contact-form-7/wp-contact-form-7.php:380
|
141 |
+
msgid "Large"
|
142 |
+
msgstr "Голям"
|
143 |
+
|
144 |
+
#: contact-form-7/wp-contact-form-7.php:381
|
145 |
+
msgid "Image settings"
|
146 |
+
msgstr "Настройки на изображението"
|
147 |
+
|
148 |
+
#: contact-form-7/wp-contact-form-7.php:382
|
149 |
+
msgid "Input field settings"
|
150 |
+
msgstr "Настройки на полето за въвеждане"
|
151 |
+
|
152 |
+
#: contact-form-7/wp-contact-form-7.php:383
|
153 |
+
msgid "For image"
|
154 |
+
msgstr "За изображение"
|
155 |
+
|
156 |
+
#: contact-form-7/wp-contact-form-7.php:384
|
157 |
+
msgid "For input field"
|
158 |
+
msgstr "За поле за въвеждане"
|
159 |
+
|
160 |
+
#: contact-form-7/wp-contact-form-7.php:385
|
161 |
+
msgid "* One choice per line."
|
162 |
+
msgstr "* На ред по една стойност."
|
163 |
+
|
164 |
+
#: contact-form-7/wp-contact-form-7.php:404
|
165 |
+
msgid "Contact form created."
|
166 |
+
msgstr "Формата за контакт е създадена."
|
167 |
+
|
168 |
+
#: contact-form-7/wp-contact-form-7.php:407
|
169 |
+
msgid "Contact form saved."
|
170 |
+
msgstr "Формата за контакт е запазена."
|
171 |
+
|
172 |
+
#: contact-form-7/wp-contact-form-7.php:410
|
173 |
+
msgid "Contact form deleted."
|
174 |
+
msgstr "Формата за контакт е изтрита."
|
175 |
+
|
176 |
+
#: contact-form-7/wp-contact-form-7.php:417
|
177 |
+
msgid "Untitled"
|
178 |
+
msgstr "Без име"
|
179 |
+
|
180 |
+
#: contact-form-7/wp-contact-form-7.php:441
|
181 |
+
msgid "Your Name"
|
182 |
+
msgstr "Вашето име"
|
183 |
+
|
184 |
+
#: contact-form-7/wp-contact-form-7.php:441
|
185 |
+
#: contact-form-7/wp-contact-form-7.php:443
|
186 |
+
msgid "(required)"
|
187 |
+
msgstr "(задължително)"
|
188 |
+
|
189 |
+
#: contact-form-7/wp-contact-form-7.php:443
|
190 |
+
msgid "Your Email"
|
191 |
+
msgstr "Вашият Email"
|
192 |
+
|
193 |
+
#: contact-form-7/wp-contact-form-7.php:445
|
194 |
+
msgid "Subject"
|
195 |
+
msgstr "Относно"
|
196 |
+
|
197 |
+
#: contact-form-7/wp-contact-form-7.php:447
|
198 |
+
msgid "Your Message"
|
199 |
+
msgstr "Вашето съобщение"
|
200 |
+
|
201 |
+
#: contact-form-7/wp-contact-form-7.php:449
|
202 |
+
#: contact-form-7/wp-contact-form-7.php:893
|
203 |
+
msgid "Send"
|
204 |
+
msgstr "Изпращане"
|
205 |
+
|
206 |
+
#: contact-form-7/wp-contact-form-7.php:478
|
207 |
+
msgid "Your message was sent successfully. Thanks."
|
208 |
+
msgstr "Вашето съобщение беше успешно изпратено."
|
209 |
+
|
210 |
+
#: contact-form-7/wp-contact-form-7.php:480
|
211 |
+
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
212 |
+
msgstr "Неуспешно изпращане на съобщението. Моля, опитайте по-късно или се свържете с администратора."
|
213 |
+
|
214 |
+
#: contact-form-7/wp-contact-form-7.php:482
|
215 |
+
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
216 |
+
msgstr "Възникнаха грешки при проверката. Моля, проверете полетата и изпратете формата отново."
|
217 |
+
|
218 |
+
#: contact-form-7/wp-contact-form-7.php:484
|
219 |
+
msgid "Email address seems invalid."
|
220 |
+
msgstr "Изглежда email адресът не е валиден."
|
221 |
+
|
222 |
+
#: contact-form-7/wp-contact-form-7.php:486
|
223 |
+
msgid "Please fill the required field."
|
224 |
+
msgstr "Моля, попълнете задължителното поле."
|
225 |
+
|
226 |
+
#: contact-form-7/wp-contact-form-7.php:488
|
227 |
+
msgid "Your entered code is incorrect."
|
228 |
+
msgstr "Въведеният код не е верен."
|
229 |
+
|
230 |
+
#: contact-form-7/includes/admin-panel.php:15
|
231 |
+
msgid "Add new"
|
232 |
+
msgstr "Добавяне на нова форма за контакт"
|
233 |
+
|
234 |
+
#: contact-form-7/includes/admin-panel.php:28
|
235 |
+
msgid "Copy and paste this code into your post content."
|
236 |
+
msgstr "Копирайте и сложете този код в съдържанието на Вашата публикация."
|
237 |
+
|
238 |
+
#: contact-form-7/includes/admin-panel.php:33
|
239 |
+
msgid "Form"
|
240 |
+
msgstr "Форма"
|
241 |
+
|
242 |
+
#: contact-form-7/includes/admin-panel.php:37
|
243 |
+
msgid "Mail"
|
244 |
+
msgstr "Поща"
|
245 |
+
|
246 |
+
#: contact-form-7/includes/admin-panel.php:39
|
247 |
+
#: contact-form-7/includes/admin-panel.php:60
|
248 |
+
msgid "To:"
|
249 |
+
msgstr "До:"
|
250 |
+
|
251 |
+
#: contact-form-7/includes/admin-panel.php:43
|
252 |
+
#: contact-form-7/includes/admin-panel.php:64
|
253 |
+
msgid "From:"
|
254 |
+
msgstr "От:"
|
255 |
+
|
256 |
+
#: contact-form-7/includes/admin-panel.php:47
|
257 |
+
#: contact-form-7/includes/admin-panel.php:68
|
258 |
+
msgid "Subject:"
|
259 |
+
msgstr "Относно:"
|
260 |
+
|
261 |
+
#: contact-form-7/includes/admin-panel.php:51
|
262 |
+
#: contact-form-7/includes/admin-panel.php:72
|
263 |
+
msgid "Message body:"
|
264 |
+
msgstr "Съобщение:"
|
265 |
+
|
266 |
+
#: contact-form-7/includes/admin-panel.php:56
|
267 |
+
msgid "Mail (2)"
|
268 |
+
msgstr "Поща (2)"
|
269 |
+
|
270 |
+
#: contact-form-7/includes/admin-panel.php:58
|
271 |
+
msgid "Use mail (2)"
|
272 |
+
msgstr "Използване на Поща (2)"
|
273 |
+
|
274 |
+
#: contact-form-7/includes/admin-panel.php:80
|
275 |
+
msgid "Save"
|
276 |
+
msgstr "Запазване"
|
277 |
+
|
278 |
+
#: contact-form-7/includes/admin-panel.php:86
|
279 |
+
msgid "Delete this contact form"
|
280 |
+
msgstr "Изтриване на формата за контакт"
|
281 |
+
|
282 |
+
#: contact-form-7/includes/admin-panel.php:87
|
283 |
+
msgid ""
|
284 |
+
"You are about to delete this contact form.\n"
|
285 |
+
" 'Cancel' to stop, 'OK' to delete."
|
286 |
+
msgstr ""
|
287 |
+
"Сигурни ли сте, че искате да изтриете тази форма за контакт.\n"
|
288 |
+
" 'Cancel' за отказ, 'OK' за изтриване."
|
289 |
+
|
languages/wpcf7-ja.mo
CHANGED
Binary file
|
languages/wpcf7-ja.po
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
-
"
|
5 |
-
"
|
|
|
6 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
7 |
"Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
"X-Poedit-Language: Japanese\n"
|
12 |
"X-Poedit-Country: JAPAN\n"
|
@@ -16,214 +17,234 @@ msgstr ""
|
|
16 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
17 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
18 |
|
19 |
-
#: contact-form-7/wp-contact-form-7.php:
|
20 |
msgid "Contact form"
|
21 |
msgstr "コンタクトフォーム"
|
22 |
|
23 |
-
#: contact-form-7/wp-contact-form-7.php:
|
24 |
#: contact-form-7/includes/admin-panel.php:5
|
25 |
msgid "Contact Form 7"
|
26 |
msgstr "Contact Form 7"
|
27 |
|
28 |
-
#: contact-form-7/wp-contact-form-7.php:
|
29 |
msgid "optional"
|
30 |
msgstr "オプション"
|
31 |
|
32 |
-
#: contact-form-7/wp-contact-form-7.php:
|
33 |
msgid "Generate Tag"
|
34 |
msgstr "タグの作成"
|
35 |
|
36 |
-
#: contact-form-7/wp-contact-form-7.php:
|
37 |
msgid "Text field"
|
38 |
msgstr "テキスト項目"
|
39 |
|
40 |
-
#: contact-form-7/wp-contact-form-7.php:
|
41 |
msgid "Email field"
|
42 |
msgstr "メールアドレス項目"
|
43 |
|
44 |
-
#: contact-form-7/wp-contact-form-7.php:
|
45 |
msgid "Text area"
|
46 |
msgstr "テキストエリア"
|
47 |
|
48 |
-
#: contact-form-7/wp-contact-form-7.php:
|
49 |
msgid "Drop-down menu"
|
50 |
msgstr "ドロップダウン・メニュー"
|
51 |
|
52 |
-
#: contact-form-7/wp-contact-form-7.php:
|
53 |
msgid "Checkboxes"
|
54 |
msgstr "チェックボックス"
|
55 |
|
56 |
-
#: contact-form-7/wp-contact-form-7.php:
|
57 |
msgid "Radio buttons"
|
58 |
msgstr "ラジオボタン"
|
59 |
|
60 |
-
#: contact-form-7/wp-contact-form-7.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
msgid "CAPTCHA"
|
62 |
msgstr "CAPTCHA"
|
63 |
|
64 |
-
#: contact-form-7/wp-contact-form-7.php:
|
65 |
msgid "Submit button"
|
66 |
msgstr "送信ボタン"
|
67 |
|
68 |
-
#: contact-form-7/wp-contact-form-7.php:
|
69 |
msgid "Name"
|
70 |
msgstr "名前"
|
71 |
|
72 |
-
#: contact-form-7/wp-contact-form-7.php:
|
73 |
msgid "Required field?"
|
74 |
msgstr "必須入力の項目ですか?"
|
75 |
|
76 |
-
#: contact-form-7/wp-contact-form-7.php:
|
77 |
msgid "Allow multiple selections?"
|
78 |
msgstr "複数選択を可能にしますか?"
|
79 |
|
80 |
-
#: contact-form-7/wp-contact-form-7.php:
|
81 |
msgid "Insert a blank item as the first option?"
|
82 |
msgstr "先頭に空の項目を挿入しますか?"
|
83 |
|
84 |
-
#: contact-form-7/wp-contact-form-7.php:
|
85 |
msgid "Make checkboxes exclusive?"
|
86 |
msgstr "チェックボックスを排他化しますか?"
|
87 |
|
88 |
-
#: contact-form-7/wp-contact-form-7.php:
|
89 |
msgid "Choices"
|
90 |
msgstr "選択項目"
|
91 |
|
92 |
-
#: contact-form-7/wp-contact-form-7.php:
|
93 |
msgid "Label"
|
94 |
msgstr "ラベル"
|
95 |
|
96 |
-
#: contact-form-7/wp-contact-form-7.php:
|
97 |
msgid "Default value"
|
98 |
msgstr "デフォルト値"
|
99 |
|
100 |
-
#: contact-form-7/wp-contact-form-7.php:
|
101 |
msgid "Akismet"
|
102 |
msgstr "Akismet"
|
103 |
|
104 |
-
#: contact-form-7/wp-contact-form-7.php:
|
105 |
msgid "This field requires author's name"
|
106 |
msgstr "送信者の名前の入力を要求する項目"
|
107 |
|
108 |
-
#: contact-form-7/wp-contact-form-7.php:
|
109 |
msgid "This field requires author's URL"
|
110 |
msgstr "送信者の URL の入力を要求する項目"
|
111 |
|
112 |
-
#: contact-form-7/wp-contact-form-7.php:
|
113 |
msgid "This field requires author's email address"
|
114 |
msgstr "送信者のメールアドレスの入力を要求する項目"
|
115 |
|
116 |
-
#: contact-form-7/wp-contact-form-7.php:
|
117 |
msgid "Copy and paste this code into the form"
|
118 |
msgstr "次のコードをコピーしてフォームにペーストして下さい。"
|
119 |
|
120 |
-
#: contact-form-7/wp-contact-form-7.php:
|
121 |
msgid "Foreground color"
|
122 |
msgstr "文字色"
|
123 |
|
124 |
-
#: contact-form-7/wp-contact-form-7.php:
|
125 |
msgid "Background color"
|
126 |
msgstr "背景色"
|
127 |
|
128 |
-
#: contact-form-7/wp-contact-form-7.php:
|
129 |
msgid "Image size"
|
130 |
msgstr "画像サイズ"
|
131 |
|
132 |
-
#: contact-form-7/wp-contact-form-7.php:
|
133 |
msgid "Small"
|
134 |
msgstr "小"
|
135 |
|
136 |
-
#: contact-form-7/wp-contact-form-7.php:
|
137 |
msgid "Medium"
|
138 |
msgstr "中"
|
139 |
|
140 |
-
#: contact-form-7/wp-contact-form-7.php:
|
141 |
msgid "Large"
|
142 |
msgstr "大"
|
143 |
|
144 |
-
#: contact-form-7/wp-contact-form-7.php:
|
145 |
msgid "Image settings"
|
146 |
msgstr "画像の設定"
|
147 |
|
148 |
-
#: contact-form-7/wp-contact-form-7.php:
|
149 |
msgid "Input field settings"
|
150 |
msgstr "入力項目の設定"
|
151 |
|
152 |
-
#: contact-form-7/wp-contact-form-7.php:
|
153 |
msgid "For image"
|
154 |
msgstr "画像"
|
155 |
|
156 |
-
#: contact-form-7/wp-contact-form-7.php:
|
157 |
msgid "For input field"
|
158 |
msgstr "入力項目"
|
159 |
|
160 |
-
#: contact-form-7/wp-contact-form-7.php:
|
161 |
msgid "* One choice per line."
|
162 |
msgstr "* 1行ごとに分けて入力してください。"
|
163 |
|
164 |
-
#: contact-form-7/wp-contact-form-7.php:
|
165 |
msgid "Contact form created."
|
166 |
msgstr "コンタクトフォームが作成されました。"
|
167 |
|
168 |
-
#: contact-form-7/wp-contact-form-7.php:
|
169 |
msgid "Contact form saved."
|
170 |
msgstr "コンタクトフォームが保存されました。"
|
171 |
|
172 |
-
#: contact-form-7/wp-contact-form-7.php:
|
173 |
msgid "Contact form deleted."
|
174 |
msgstr "コンタクトフォームが削除されました。"
|
175 |
|
176 |
-
#: contact-form-7/wp-contact-form-7.php:
|
177 |
msgid "Untitled"
|
178 |
msgstr "無題"
|
179 |
|
180 |
-
#: contact-form-7/wp-contact-form-7.php:
|
181 |
msgid "Your Name"
|
182 |
msgstr "お名前"
|
183 |
|
184 |
-
#: contact-form-7/wp-contact-form-7.php:
|
185 |
-
#: contact-form-7/wp-contact-form-7.php:
|
186 |
msgid "(required)"
|
187 |
msgstr "(必須)"
|
188 |
|
189 |
-
#: contact-form-7/wp-contact-form-7.php:
|
190 |
msgid "Your Email"
|
191 |
msgstr "メールアドレス"
|
192 |
|
193 |
-
#: contact-form-7/wp-contact-form-7.php:
|
194 |
msgid "Subject"
|
195 |
msgstr "題名"
|
196 |
|
197 |
-
#: contact-form-7/wp-contact-form-7.php:
|
198 |
msgid "Your Message"
|
199 |
msgstr "メッセージ本文"
|
200 |
|
201 |
-
#: contact-form-7/wp-contact-form-7.php:
|
202 |
-
#: contact-form-7/wp-contact-form-7.php:
|
203 |
msgid "Send"
|
204 |
msgstr "送信"
|
205 |
|
206 |
-
#: contact-form-7/wp-contact-form-7.php:
|
207 |
msgid "Your message was sent successfully. Thanks."
|
208 |
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
|
209 |
|
210 |
-
#: contact-form-7/wp-contact-form-7.php:
|
211 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
212 |
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
|
213 |
|
214 |
-
#: contact-form-7/wp-contact-form-7.php:
|
215 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
216 |
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
|
217 |
|
218 |
-
#: contact-form-7/wp-contact-form-7.php:
|
|
|
|
|
|
|
|
|
219 |
msgid "Email address seems invalid."
|
220 |
msgstr "メールアドレスの形式が正しくないようです。"
|
221 |
|
222 |
-
#: contact-form-7/wp-contact-form-7.php:
|
223 |
msgid "Please fill the required field."
|
224 |
msgstr "必須項目に記入もれがあります。"
|
225 |
|
226 |
-
#: contact-form-7/wp-contact-form-7.php:
|
227 |
msgid "Your entered code is incorrect."
|
228 |
msgstr "入力されたコードが正しくありません。"
|
229 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2008-03-02 16:52+0900\n"
|
6 |
+
"PO-Revision-Date: 2008-03-02 17:01+0900\n"
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-Language: Japanese\n"
|
13 |
"X-Poedit-Country: JAPAN\n"
|
17 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
18 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
19 |
|
20 |
+
#: contact-form-7/wp-contact-form-7.php:271
|
21 |
msgid "Contact form"
|
22 |
msgstr "コンタクトフォーム"
|
23 |
|
24 |
+
#: contact-form-7/wp-contact-form-7.php:356
|
25 |
#: contact-form-7/includes/admin-panel.php:5
|
26 |
msgid "Contact Form 7"
|
27 |
msgstr "Contact Form 7"
|
28 |
|
29 |
+
#: contact-form-7/wp-contact-form-7.php:372
|
30 |
msgid "optional"
|
31 |
msgstr "オプション"
|
32 |
|
33 |
+
#: contact-form-7/wp-contact-form-7.php:373
|
34 |
msgid "Generate Tag"
|
35 |
msgstr "タグの作成"
|
36 |
|
37 |
+
#: contact-form-7/wp-contact-form-7.php:374
|
38 |
msgid "Text field"
|
39 |
msgstr "テキスト項目"
|
40 |
|
41 |
+
#: contact-form-7/wp-contact-form-7.php:375
|
42 |
msgid "Email field"
|
43 |
msgstr "メールアドレス項目"
|
44 |
|
45 |
+
#: contact-form-7/wp-contact-form-7.php:376
|
46 |
msgid "Text area"
|
47 |
msgstr "テキストエリア"
|
48 |
|
49 |
+
#: contact-form-7/wp-contact-form-7.php:377
|
50 |
msgid "Drop-down menu"
|
51 |
msgstr "ドロップダウン・メニュー"
|
52 |
|
53 |
+
#: contact-form-7/wp-contact-form-7.php:378
|
54 |
msgid "Checkboxes"
|
55 |
msgstr "チェックボックス"
|
56 |
|
57 |
+
#: contact-form-7/wp-contact-form-7.php:379
|
58 |
msgid "Radio buttons"
|
59 |
msgstr "ラジオボタン"
|
60 |
|
61 |
+
#: contact-form-7/wp-contact-form-7.php:380
|
62 |
+
msgid "Acceptance"
|
63 |
+
msgstr "承諾の確認"
|
64 |
+
|
65 |
+
#: contact-form-7/wp-contact-form-7.php:381
|
66 |
+
msgid "Make this checkbox checked by default?"
|
67 |
+
msgstr "初期状態でチェックボックスにチェックを入れますか?"
|
68 |
+
|
69 |
+
#: contact-form-7/wp-contact-form-7.php:382
|
70 |
+
msgid "Make this checkbox work inversely?"
|
71 |
+
msgstr "チェックボックスを反転させますか?"
|
72 |
+
|
73 |
+
#: contact-form-7/wp-contact-form-7.php:383
|
74 |
+
msgid "* That means visitor who accepts the term unchecks it."
|
75 |
+
msgstr "* つまり、利用者には条項に承諾する場合にチェックボックスのチェックをはずしてもらいます。"
|
76 |
+
|
77 |
+
#: contact-form-7/wp-contact-form-7.php:384
|
78 |
msgid "CAPTCHA"
|
79 |
msgstr "CAPTCHA"
|
80 |
|
81 |
+
#: contact-form-7/wp-contact-form-7.php:385
|
82 |
msgid "Submit button"
|
83 |
msgstr "送信ボタン"
|
84 |
|
85 |
+
#: contact-form-7/wp-contact-form-7.php:386
|
86 |
msgid "Name"
|
87 |
msgstr "名前"
|
88 |
|
89 |
+
#: contact-form-7/wp-contact-form-7.php:387
|
90 |
msgid "Required field?"
|
91 |
msgstr "必須入力の項目ですか?"
|
92 |
|
93 |
+
#: contact-form-7/wp-contact-form-7.php:388
|
94 |
msgid "Allow multiple selections?"
|
95 |
msgstr "複数選択を可能にしますか?"
|
96 |
|
97 |
+
#: contact-form-7/wp-contact-form-7.php:389
|
98 |
msgid "Insert a blank item as the first option?"
|
99 |
msgstr "先頭に空の項目を挿入しますか?"
|
100 |
|
101 |
+
#: contact-form-7/wp-contact-form-7.php:390
|
102 |
msgid "Make checkboxes exclusive?"
|
103 |
msgstr "チェックボックスを排他化しますか?"
|
104 |
|
105 |
+
#: contact-form-7/wp-contact-form-7.php:391
|
106 |
msgid "Choices"
|
107 |
msgstr "選択項目"
|
108 |
|
109 |
+
#: contact-form-7/wp-contact-form-7.php:392
|
110 |
msgid "Label"
|
111 |
msgstr "ラベル"
|
112 |
|
113 |
+
#: contact-form-7/wp-contact-form-7.php:393
|
114 |
msgid "Default value"
|
115 |
msgstr "デフォルト値"
|
116 |
|
117 |
+
#: contact-form-7/wp-contact-form-7.php:394
|
118 |
msgid "Akismet"
|
119 |
msgstr "Akismet"
|
120 |
|
121 |
+
#: contact-form-7/wp-contact-form-7.php:395
|
122 |
msgid "This field requires author's name"
|
123 |
msgstr "送信者の名前の入力を要求する項目"
|
124 |
|
125 |
+
#: contact-form-7/wp-contact-form-7.php:396
|
126 |
msgid "This field requires author's URL"
|
127 |
msgstr "送信者の URL の入力を要求する項目"
|
128 |
|
129 |
+
#: contact-form-7/wp-contact-form-7.php:397
|
130 |
msgid "This field requires author's email address"
|
131 |
msgstr "送信者のメールアドレスの入力を要求する項目"
|
132 |
|
133 |
+
#: contact-form-7/wp-contact-form-7.php:398
|
134 |
msgid "Copy and paste this code into the form"
|
135 |
msgstr "次のコードをコピーしてフォームにペーストして下さい。"
|
136 |
|
137 |
+
#: contact-form-7/wp-contact-form-7.php:399
|
138 |
msgid "Foreground color"
|
139 |
msgstr "文字色"
|
140 |
|
141 |
+
#: contact-form-7/wp-contact-form-7.php:400
|
142 |
msgid "Background color"
|
143 |
msgstr "背景色"
|
144 |
|
145 |
+
#: contact-form-7/wp-contact-form-7.php:401
|
146 |
msgid "Image size"
|
147 |
msgstr "画像サイズ"
|
148 |
|
149 |
+
#: contact-form-7/wp-contact-form-7.php:402
|
150 |
msgid "Small"
|
151 |
msgstr "小"
|
152 |
|
153 |
+
#: contact-form-7/wp-contact-form-7.php:403
|
154 |
msgid "Medium"
|
155 |
msgstr "中"
|
156 |
|
157 |
+
#: contact-form-7/wp-contact-form-7.php:404
|
158 |
msgid "Large"
|
159 |
msgstr "大"
|
160 |
|
161 |
+
#: contact-form-7/wp-contact-form-7.php:405
|
162 |
msgid "Image settings"
|
163 |
msgstr "画像の設定"
|
164 |
|
165 |
+
#: contact-form-7/wp-contact-form-7.php:406
|
166 |
msgid "Input field settings"
|
167 |
msgstr "入力項目の設定"
|
168 |
|
169 |
+
#: contact-form-7/wp-contact-form-7.php:407
|
170 |
msgid "For image"
|
171 |
msgstr "画像"
|
172 |
|
173 |
+
#: contact-form-7/wp-contact-form-7.php:408
|
174 |
msgid "For input field"
|
175 |
msgstr "入力項目"
|
176 |
|
177 |
+
#: contact-form-7/wp-contact-form-7.php:409
|
178 |
msgid "* One choice per line."
|
179 |
msgstr "* 1行ごとに分けて入力してください。"
|
180 |
|
181 |
+
#: contact-form-7/wp-contact-form-7.php:428
|
182 |
msgid "Contact form created."
|
183 |
msgstr "コンタクトフォームが作成されました。"
|
184 |
|
185 |
+
#: contact-form-7/wp-contact-form-7.php:431
|
186 |
msgid "Contact form saved."
|
187 |
msgstr "コンタクトフォームが保存されました。"
|
188 |
|
189 |
+
#: contact-form-7/wp-contact-form-7.php:434
|
190 |
msgid "Contact form deleted."
|
191 |
msgstr "コンタクトフォームが削除されました。"
|
192 |
|
193 |
+
#: contact-form-7/wp-contact-form-7.php:441
|
194 |
msgid "Untitled"
|
195 |
msgstr "無題"
|
196 |
|
197 |
+
#: contact-form-7/wp-contact-form-7.php:465
|
198 |
msgid "Your Name"
|
199 |
msgstr "お名前"
|
200 |
|
201 |
+
#: contact-form-7/wp-contact-form-7.php:465
|
202 |
+
#: contact-form-7/wp-contact-form-7.php:467
|
203 |
msgid "(required)"
|
204 |
msgstr "(必須)"
|
205 |
|
206 |
+
#: contact-form-7/wp-contact-form-7.php:467
|
207 |
msgid "Your Email"
|
208 |
msgstr "メールアドレス"
|
209 |
|
210 |
+
#: contact-form-7/wp-contact-form-7.php:469
|
211 |
msgid "Subject"
|
212 |
msgstr "題名"
|
213 |
|
214 |
+
#: contact-form-7/wp-contact-form-7.php:471
|
215 |
msgid "Your Message"
|
216 |
msgstr "メッセージ本文"
|
217 |
|
218 |
+
#: contact-form-7/wp-contact-form-7.php:473
|
219 |
+
#: contact-form-7/wp-contact-form-7.php:956
|
220 |
msgid "Send"
|
221 |
msgstr "送信"
|
222 |
|
223 |
+
#: contact-form-7/wp-contact-form-7.php:502
|
224 |
msgid "Your message was sent successfully. Thanks."
|
225 |
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
|
226 |
|
227 |
+
#: contact-form-7/wp-contact-form-7.php:504
|
228 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
229 |
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
|
230 |
|
231 |
+
#: contact-form-7/wp-contact-form-7.php:506
|
232 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
233 |
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
|
234 |
|
235 |
+
#: contact-form-7/wp-contact-form-7.php:508
|
236 |
+
msgid "Please accept the terms to proceed."
|
237 |
+
msgstr "進めるには条項の承諾が必要です。"
|
238 |
+
|
239 |
+
#: contact-form-7/wp-contact-form-7.php:510
|
240 |
msgid "Email address seems invalid."
|
241 |
msgstr "メールアドレスの形式が正しくないようです。"
|
242 |
|
243 |
+
#: contact-form-7/wp-contact-form-7.php:512
|
244 |
msgid "Please fill the required field."
|
245 |
msgstr "必須項目に記入もれがあります。"
|
246 |
|
247 |
+
#: contact-form-7/wp-contact-form-7.php:514
|
248 |
msgid "Your entered code is incorrect."
|
249 |
msgstr "入力されたコードが正しくありません。"
|
250 |
|
languages/wpcf7.pot
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
-
"
|
5 |
-
"
|
|
|
6 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
"X-Poedit-SourceCharset: utf-8\n"
|
12 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
@@ -14,214 +15,234 @@ msgstr ""
|
|
14 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
15 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
16 |
|
17 |
-
#: contact-form-7/wp-contact-form-7.php:
|
18 |
msgid "Contact form"
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: contact-form-7/wp-contact-form-7.php:
|
22 |
#: contact-form-7/includes/admin-panel.php:5
|
23 |
msgid "Contact Form 7"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: contact-form-7/wp-contact-form-7.php:
|
27 |
msgid "optional"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: contact-form-7/wp-contact-form-7.php:
|
31 |
msgid "Generate Tag"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: contact-form-7/wp-contact-form-7.php:
|
35 |
msgid "Text field"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: contact-form-7/wp-contact-form-7.php:
|
39 |
msgid "Email field"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: contact-form-7/wp-contact-form-7.php:
|
43 |
msgid "Text area"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: contact-form-7/wp-contact-form-7.php:
|
47 |
msgid "Drop-down menu"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: contact-form-7/wp-contact-form-7.php:
|
51 |
msgid "Checkboxes"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: contact-form-7/wp-contact-form-7.php:
|
55 |
msgid "Radio buttons"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: contact-form-7/wp-contact-form-7.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
msgid "CAPTCHA"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: contact-form-7/wp-contact-form-7.php:
|
63 |
msgid "Submit button"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: contact-form-7/wp-contact-form-7.php:
|
67 |
msgid "Name"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: contact-form-7/wp-contact-form-7.php:
|
71 |
msgid "Required field?"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: contact-form-7/wp-contact-form-7.php:
|
75 |
msgid "Allow multiple selections?"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: contact-form-7/wp-contact-form-7.php:
|
79 |
msgid "Insert a blank item as the first option?"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: contact-form-7/wp-contact-form-7.php:
|
83 |
msgid "Make checkboxes exclusive?"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: contact-form-7/wp-contact-form-7.php:
|
87 |
msgid "Choices"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: contact-form-7/wp-contact-form-7.php:
|
91 |
msgid "Label"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: contact-form-7/wp-contact-form-7.php:
|
95 |
msgid "Default value"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: contact-form-7/wp-contact-form-7.php:
|
99 |
msgid "Akismet"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: contact-form-7/wp-contact-form-7.php:
|
103 |
msgid "This field requires author's name"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: contact-form-7/wp-contact-form-7.php:
|
107 |
msgid "This field requires author's URL"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: contact-form-7/wp-contact-form-7.php:
|
111 |
msgid "This field requires author's email address"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: contact-form-7/wp-contact-form-7.php:
|
115 |
msgid "Copy and paste this code into the form"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: contact-form-7/wp-contact-form-7.php:
|
119 |
msgid "Foreground color"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: contact-form-7/wp-contact-form-7.php:
|
123 |
msgid "Background color"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: contact-form-7/wp-contact-form-7.php:
|
127 |
msgid "Image size"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: contact-form-7/wp-contact-form-7.php:
|
131 |
msgid "Small"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: contact-form-7/wp-contact-form-7.php:
|
135 |
msgid "Medium"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: contact-form-7/wp-contact-form-7.php:
|
139 |
msgid "Large"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: contact-form-7/wp-contact-form-7.php:
|
143 |
msgid "Image settings"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: contact-form-7/wp-contact-form-7.php:
|
147 |
msgid "Input field settings"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: contact-form-7/wp-contact-form-7.php:
|
151 |
msgid "For image"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: contact-form-7/wp-contact-form-7.php:
|
155 |
msgid "For input field"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: contact-form-7/wp-contact-form-7.php:
|
159 |
msgid "* One choice per line."
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: contact-form-7/wp-contact-form-7.php:
|
163 |
msgid "Contact form created."
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: contact-form-7/wp-contact-form-7.php:
|
167 |
msgid "Contact form saved."
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: contact-form-7/wp-contact-form-7.php:
|
171 |
msgid "Contact form deleted."
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: contact-form-7/wp-contact-form-7.php:
|
175 |
msgid "Untitled"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: contact-form-7/wp-contact-form-7.php:
|
179 |
msgid "Your Name"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: contact-form-7/wp-contact-form-7.php:
|
183 |
-
#: contact-form-7/wp-contact-form-7.php:
|
184 |
msgid "(required)"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: contact-form-7/wp-contact-form-7.php:
|
188 |
msgid "Your Email"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: contact-form-7/wp-contact-form-7.php:
|
192 |
msgid "Subject"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: contact-form-7/wp-contact-form-7.php:
|
196 |
msgid "Your Message"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: contact-form-7/wp-contact-form-7.php:
|
200 |
-
#: contact-form-7/wp-contact-form-7.php:
|
201 |
msgid "Send"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: contact-form-7/wp-contact-form-7.php:
|
205 |
msgid "Your message was sent successfully. Thanks."
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: contact-form-7/wp-contact-form-7.php:
|
209 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: contact-form-7/wp-contact-form-7.php:
|
213 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: contact-form-7/wp-contact-form-7.php:
|
|
|
|
|
|
|
|
|
217 |
msgid "Email address seems invalid."
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: contact-form-7/wp-contact-form-7.php:
|
221 |
msgid "Please fill the required field."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: contact-form-7/wp-contact-form-7.php:
|
225 |
msgid "Your entered code is incorrect."
|
226 |
msgstr ""
|
227 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2008-03-02 16:52+0900\n"
|
6 |
+
"PO-Revision-Date: 2008-03-02 16:53+0900\n"
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-SourceCharset: utf-8\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
16 |
"X-Poedit-SearchPath-0: contact-form-7\n"
|
17 |
|
18 |
+
#: contact-form-7/wp-contact-form-7.php:271
|
19 |
msgid "Contact form"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: contact-form-7/wp-contact-form-7.php:356
|
23 |
#: contact-form-7/includes/admin-panel.php:5
|
24 |
msgid "Contact Form 7"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: contact-form-7/wp-contact-form-7.php:372
|
28 |
msgid "optional"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: contact-form-7/wp-contact-form-7.php:373
|
32 |
msgid "Generate Tag"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: contact-form-7/wp-contact-form-7.php:374
|
36 |
msgid "Text field"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: contact-form-7/wp-contact-form-7.php:375
|
40 |
msgid "Email field"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: contact-form-7/wp-contact-form-7.php:376
|
44 |
msgid "Text area"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: contact-form-7/wp-contact-form-7.php:377
|
48 |
msgid "Drop-down menu"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: contact-form-7/wp-contact-form-7.php:378
|
52 |
msgid "Checkboxes"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: contact-form-7/wp-contact-form-7.php:379
|
56 |
msgid "Radio buttons"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: contact-form-7/wp-contact-form-7.php:380
|
60 |
+
msgid "Acceptance"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: contact-form-7/wp-contact-form-7.php:381
|
64 |
+
msgid "Make this checkbox checked by default?"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: contact-form-7/wp-contact-form-7.php:382
|
68 |
+
msgid "Make this checkbox work inversely?"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: contact-form-7/wp-contact-form-7.php:383
|
72 |
+
msgid "* That means visitor who accepts the term unchecks it."
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: contact-form-7/wp-contact-form-7.php:384
|
76 |
msgid "CAPTCHA"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: contact-form-7/wp-contact-form-7.php:385
|
80 |
msgid "Submit button"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: contact-form-7/wp-contact-form-7.php:386
|
84 |
msgid "Name"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: contact-form-7/wp-contact-form-7.php:387
|
88 |
msgid "Required field?"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: contact-form-7/wp-contact-form-7.php:388
|
92 |
msgid "Allow multiple selections?"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: contact-form-7/wp-contact-form-7.php:389
|
96 |
msgid "Insert a blank item as the first option?"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: contact-form-7/wp-contact-form-7.php:390
|
100 |
msgid "Make checkboxes exclusive?"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: contact-form-7/wp-contact-form-7.php:391
|
104 |
msgid "Choices"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: contact-form-7/wp-contact-form-7.php:392
|
108 |
msgid "Label"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: contact-form-7/wp-contact-form-7.php:393
|
112 |
msgid "Default value"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: contact-form-7/wp-contact-form-7.php:394
|
116 |
msgid "Akismet"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: contact-form-7/wp-contact-form-7.php:395
|
120 |
msgid "This field requires author's name"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: contact-form-7/wp-contact-form-7.php:396
|
124 |
msgid "This field requires author's URL"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: contact-form-7/wp-contact-form-7.php:397
|
128 |
msgid "This field requires author's email address"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: contact-form-7/wp-contact-form-7.php:398
|
132 |
msgid "Copy and paste this code into the form"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: contact-form-7/wp-contact-form-7.php:399
|
136 |
msgid "Foreground color"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: contact-form-7/wp-contact-form-7.php:400
|
140 |
msgid "Background color"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: contact-form-7/wp-contact-form-7.php:401
|
144 |
msgid "Image size"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: contact-form-7/wp-contact-form-7.php:402
|
148 |
msgid "Small"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: contact-form-7/wp-contact-form-7.php:403
|
152 |
msgid "Medium"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: contact-form-7/wp-contact-form-7.php:404
|
156 |
msgid "Large"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: contact-form-7/wp-contact-form-7.php:405
|
160 |
msgid "Image settings"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: contact-form-7/wp-contact-form-7.php:406
|
164 |
msgid "Input field settings"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: contact-form-7/wp-contact-form-7.php:407
|
168 |
msgid "For image"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: contact-form-7/wp-contact-form-7.php:408
|
172 |
msgid "For input field"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: contact-form-7/wp-contact-form-7.php:409
|
176 |
msgid "* One choice per line."
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: contact-form-7/wp-contact-form-7.php:428
|
180 |
msgid "Contact form created."
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: contact-form-7/wp-contact-form-7.php:431
|
184 |
msgid "Contact form saved."
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: contact-form-7/wp-contact-form-7.php:434
|
188 |
msgid "Contact form deleted."
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: contact-form-7/wp-contact-form-7.php:441
|
192 |
msgid "Untitled"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: contact-form-7/wp-contact-form-7.php:465
|
196 |
msgid "Your Name"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: contact-form-7/wp-contact-form-7.php:465
|
200 |
+
#: contact-form-7/wp-contact-form-7.php:467
|
201 |
msgid "(required)"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: contact-form-7/wp-contact-form-7.php:467
|
205 |
msgid "Your Email"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: contact-form-7/wp-contact-form-7.php:469
|
209 |
msgid "Subject"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: contact-form-7/wp-contact-form-7.php:471
|
213 |
msgid "Your Message"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: contact-form-7/wp-contact-form-7.php:473
|
217 |
+
#: contact-form-7/wp-contact-form-7.php:956
|
218 |
msgid "Send"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: contact-form-7/wp-contact-form-7.php:502
|
222 |
msgid "Your message was sent successfully. Thanks."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: contact-form-7/wp-contact-form-7.php:504
|
226 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: contact-form-7/wp-contact-form-7.php:506
|
230 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: contact-form-7/wp-contact-form-7.php:508
|
234 |
+
msgid "Please accept the terms to proceed."
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: contact-form-7/wp-contact-form-7.php:510
|
238 |
msgid "Email address seems invalid."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: contact-form-7/wp-contact-form-7.php:512
|
242 |
msgid "Please fill the required field."
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: contact-form-7/wp-contact-form-7.php:514
|
246 |
msgid "Your entered code is incorrect."
|
247 |
msgstr ""
|
248 |
|
wp-contact-form-7.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form 7
|
|
4 |
Plugin URI: http://ideasilo.wordpress.com/2007/04/30/contact-form-7/
|
5 |
Description: Just another contact form plugin. Simple but flexible.
|
6 |
Author: Takayuki Miyoshi
|
7 |
-
Version: 1.7.
|
8 |
Author URI: http://ideasilo.wordpress.com/
|
9 |
*/
|
10 |
|
@@ -120,6 +120,8 @@ class tam_contact_form_seven {
|
|
120 |
}
|
121 |
$invalids = '[' . join(', ', $invalids) . ']';
|
122 |
echo '{ mailSent: 0, message: "' . js_escape($this->message('validation_error')) . '", into: "#' . $unit_tag . '", invalids: ' . $invalids . ', captcha: ' . $captcha . ' }';
|
|
|
|
|
123 |
} elseif ($this->akismet($cf)) { // Spam!
|
124 |
echo '{ mailSent: 0, message: "' . js_escape($this->message('mail_sent_ng')) . '", into: "#' . $unit_tag . '", spam: 1, captcha: ' . $captcha . ' }';
|
125 |
} elseif ($this->mail($cf)) {
|
@@ -238,6 +240,24 @@ class tam_contact_form_seven {
|
|
238 |
return false;
|
239 |
}
|
240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
function set_initial() {
|
242 |
$wpcf7 = get_option('wpcf7');
|
243 |
if (! is_array($wpcf7))
|
@@ -357,6 +377,10 @@ var _wpcf7 = {
|
|
357 |
menu: "<?php echo js_escape(__('Drop-down menu', 'wpcf7')); ?>",
|
358 |
checkboxes: "<?php echo js_escape(__('Checkboxes', 'wpcf7')); ?>",
|
359 |
radioButtons: "<?php echo js_escape(__('Radio buttons', 'wpcf7')); ?>",
|
|
|
|
|
|
|
|
|
360 |
captcha: "<?php echo js_escape(__('CAPTCHA', 'wpcf7')); ?>",
|
361 |
submit: "<?php echo js_escape(__('Submit button', 'wpcf7')); ?>",
|
362 |
tagName: "<?php echo js_escape(__('Name', 'wpcf7')); ?>",
|
@@ -480,6 +504,8 @@ var _wpcf7 = {
|
|
480 |
return __('Failed to send your message. Please try later or contact administrator by other way.', 'wpcf7');
|
481 |
case 'validation_error':
|
482 |
return __('Validation errors occurred. Please confirm the fields and submit it again.', 'wpcf7');
|
|
|
|
|
483 |
case 'invalid_email':
|
484 |
return __('Email address seems invalid.', 'wpcf7');
|
485 |
case 'invalid_required':
|
@@ -500,6 +526,8 @@ var _wpcf7 = {
|
|
500 |
$validation = $this->validate($cf);
|
501 |
if (! $validation['valid']) {
|
502 |
$_POST['_wpcf7_validation_errors'] = array('id' => $id, 'messages' => $validation['reason']);
|
|
|
|
|
503 |
} elseif ($this->akismet($cf)) { // Spam!
|
504 |
$_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message('mail_sent_ng'), 'spam' => true);
|
505 |
} elseif ($this->mail($cf)) {
|
@@ -555,7 +583,7 @@ var _wpcf7 = {
|
|
555 |
$url = parse_url($_SERVER['REQUEST_URI']);
|
556 |
$url = $url['path'] . (empty($url['query']) ? '' : '?' . $url['query']) . '#' . $unit_tag;
|
557 |
|
558 |
-
$form .= '<form action="' . $url . '" method="post" class="wpcf7-form">';
|
559 |
$form .= '<input type="hidden" name="_wpcf7" value="' . $id . '" />';
|
560 |
$form .= '<input type="hidden" name="_wpcf7_unit_tag" value="' . $unit_tag . '" />';
|
561 |
$form .= $this->form_elements($cf['form']);
|
@@ -584,6 +612,13 @@ var _wpcf7 = {
|
|
584 |
$class = ' class="' . $class . '"';
|
585 |
|
586 |
$form .= '<div' . $class . '>' . $content . '</div>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
587 |
|
588 |
$form .= '</div>';
|
589 |
|
@@ -617,6 +652,9 @@ var _wpcf7 = {
|
|
617 |
}
|
618 |
}
|
619 |
|
|
|
|
|
|
|
620 |
// Required item (*)
|
621 |
if (preg_match('/^(?:text|textarea)[*]$/', $type)) {
|
622 |
if (empty($_POST[$name])) {
|
@@ -686,7 +724,7 @@ var _wpcf7 = {
|
|
686 |
/* Processing form element placeholders */
|
687 |
|
688 |
function form_elements($form, $replace = true) {
|
689 |
-
$types = 'text[*]?|email[*]?|textarea[*]?|select|checkbox|radio|captchac|captchar';
|
690 |
$regex = '%\[\s*(' . $types . ')(\s+[a-zA-Z][0-9a-zA-Z:._-]*)([-0-9a-zA-Z:#_/\s]*)?((?:\s*(?:"[^"]*"|\'[^\']*\'))*)?\s*\]%';
|
691 |
$submit_regex = '/\[\s*submit(\s+(?:"[^"]*"|\'[^\']*\'))?\s*\]/';
|
692 |
if ($replace) {
|
@@ -746,6 +784,12 @@ var _wpcf7 = {
|
|
746 |
if (preg_match('/^captchac$/', $type))
|
747 |
$class_att .= ' wpcf7-captcha-' . $name;
|
748 |
|
|
|
|
|
|
|
|
|
|
|
|
|
749 |
if ($class_att)
|
750 |
$atts .= ' class="' . trim($class_att) . '"';
|
751 |
|
@@ -780,9 +824,13 @@ var _wpcf7 = {
|
|
780 |
preg_match('%^([0-9]*)[/x]([0-9]*)$%', $size_maxlength, $sm_matches);
|
781 |
if ($size = (int) $sm_matches[1])
|
782 |
$atts .= ' size="' . $size . '"';
|
|
|
|
|
783 |
if ($maxlength = (int) $sm_matches[2])
|
784 |
$atts .= ' maxlength="' . $maxlength . '"';
|
785 |
-
}
|
|
|
|
|
786 |
}
|
787 |
$html = '<input type="text" name="' . $name . '" value="' . attribute_escape($value) . '"' . $atts . ' />';
|
788 |
$html = '<span style="position: relative;">' . $html . $validation_error . '</span>';
|
@@ -796,9 +844,15 @@ var _wpcf7 = {
|
|
796 |
preg_match('%^([0-9]*)[x/]([0-9]*)$%', $cols_rows, $cr_matches);
|
797 |
if ($cols = (int) $cr_matches[1])
|
798 |
$atts .= ' cols="' . $cols . '"';
|
|
|
|
|
799 |
if ($rows = (int) $cr_matches[2])
|
800 |
$atts .= ' rows="' . $rows . '"';
|
801 |
-
|
|
|
|
|
|
|
|
|
802 |
}
|
803 |
$html = '<textarea name="' . $name . '"' . $atts . '>' . $value . '</textarea>';
|
804 |
$html = '<span style="position: relative;">' . $html . $validation_error . '</span>';
|
@@ -836,7 +890,7 @@ var _wpcf7 = {
|
|
836 |
$html = '';
|
837 |
|
838 |
if ('checkbox' == $type && ! $multiple)
|
839 |
-
$
|
840 |
|
841 |
foreach ($values as $key => $value) {
|
842 |
$checked = '';
|
@@ -848,9 +902,9 @@ var _wpcf7 = {
|
|
848 |
$checked = ' checked="checked"';
|
849 |
if (preg_grep('%^label[_-]?first$%', $options)) { // put label first, input last
|
850 |
$item = '<span class="wpcf7-list-item-label">' . $value . '</span> ';
|
851 |
-
$item .= '<input type="' . $type . '" name="' . $name . ($multiple ? '[]' : '') . '" value="' . attribute_escape($value) . '"' . $checked . $
|
852 |
} else {
|
853 |
-
$item = '<input type="' . $type . '" name="' . $name . ($multiple ? '[]' : '') . '" value="' . attribute_escape($value) . '"' . $checked . $
|
854 |
$item .= ' <span class="wpcf7-list-item-label">' . $value . '</span>';
|
855 |
}
|
856 |
$item = '<span class="wpcf7-list-item">' . $item . '</span>';
|
@@ -861,6 +915,15 @@ var _wpcf7 = {
|
|
861 |
$html = '<span style="position: relative;">' . $html . $validation_error . '</span>';
|
862 |
return $html;
|
863 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
864 |
case 'captchac':
|
865 |
$op = array();
|
866 |
// Default
|
@@ -878,7 +941,7 @@ var _wpcf7 = {
|
|
878 |
if (is_array($op['img_size']))
|
879 |
$atts .= ' width="' . $op['img_size'][0] . '" height="' . $op['img_size'][1] . '"';
|
880 |
$captcha_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/captcha/tmp/' . $filename;
|
881 |
-
$html = '<img src="' . $captcha_url . '"' . $atts . ' />';
|
882 |
$ref = substr($filename, 0, strrpos($filename, '.'));
|
883 |
$html = '<input type="hidden" name="_wpcf7_captcha_challenge_' . $name . '" value="' . $ref . '" />' . $html;
|
884 |
return $html;
|
@@ -892,7 +955,10 @@ var _wpcf7 = {
|
|
892 |
if (empty($value))
|
893 |
$value = __('Send', 'wpcf7');
|
894 |
$ajax_loader_image_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/images/ajax-loader.gif';
|
895 |
-
|
|
|
|
|
|
|
896 |
}
|
897 |
|
898 |
function form_element_parse($element) {
|
4 |
Plugin URI: http://ideasilo.wordpress.com/2007/04/30/contact-form-7/
|
5 |
Description: Just another contact form plugin. Simple but flexible.
|
6 |
Author: Takayuki Miyoshi
|
7 |
+
Version: 1.7.6
|
8 |
Author URI: http://ideasilo.wordpress.com/
|
9 |
*/
|
10 |
|
120 |
}
|
121 |
$invalids = '[' . join(', ', $invalids) . ']';
|
122 |
echo '{ mailSent: 0, message: "' . js_escape($this->message('validation_error')) . '", into: "#' . $unit_tag . '", invalids: ' . $invalids . ', captcha: ' . $captcha . ' }';
|
123 |
+
} elseif (! $this->acceptance($cf)) { // Not accepted terms
|
124 |
+
echo '{ mailSent: 0, message: "' . js_escape($this->message('accept_terms')) . '", into: "#' . $unit_tag . '", captcha: ' . $captcha . ' }';
|
125 |
} elseif ($this->akismet($cf)) { // Spam!
|
126 |
echo '{ mailSent: 0, message: "' . js_escape($this->message('mail_sent_ng')) . '", into: "#' . $unit_tag . '", spam: 1, captcha: ' . $captcha . ' }';
|
127 |
} elseif ($this->mail($cf)) {
|
240 |
return false;
|
241 |
}
|
242 |
|
243 |
+
function acceptance($contact_form) {
|
244 |
+
$fes = $this->form_elements($contact_form['form'], false);
|
245 |
+
|
246 |
+
$accepted = true;
|
247 |
+
|
248 |
+
foreach ($fes as $fe) {
|
249 |
+
if ('acceptance' != $fe['type'])
|
250 |
+
continue;
|
251 |
+
|
252 |
+
$invert = (bool) preg_grep('%^invert$%', $fe['options']);
|
253 |
+
|
254 |
+
if ($invert && $_POST[$fe['name']] || ! $invert && ! $_POST[$fe['name']])
|
255 |
+
$accepted = false;
|
256 |
+
}
|
257 |
+
|
258 |
+
return $accepted;
|
259 |
+
}
|
260 |
+
|
261 |
function set_initial() {
|
262 |
$wpcf7 = get_option('wpcf7');
|
263 |
if (! is_array($wpcf7))
|
377 |
menu: "<?php echo js_escape(__('Drop-down menu', 'wpcf7')); ?>",
|
378 |
checkboxes: "<?php echo js_escape(__('Checkboxes', 'wpcf7')); ?>",
|
379 |
radioButtons: "<?php echo js_escape(__('Radio buttons', 'wpcf7')); ?>",
|
380 |
+
acceptance: "<?php echo js_escape(__('Acceptance', 'wpcf7')); ?>",
|
381 |
+
isAcceptanceDefaultOn: "<?php echo js_escape(__("Make this checkbox checked by default?", 'wpcf7')); ?>",
|
382 |
+
isAcceptanceInvert: "<?php echo js_escape(__("Make this checkbox work inversely?", 'wpcf7')); ?>",
|
383 |
+
isAcceptanceInvertMeans: "<?php echo js_escape(__("* That means visitor who accepts the term unchecks it.", 'wpcf7')); ?>",
|
384 |
captcha: "<?php echo js_escape(__('CAPTCHA', 'wpcf7')); ?>",
|
385 |
submit: "<?php echo js_escape(__('Submit button', 'wpcf7')); ?>",
|
386 |
tagName: "<?php echo js_escape(__('Name', 'wpcf7')); ?>",
|
504 |
return __('Failed to send your message. Please try later or contact administrator by other way.', 'wpcf7');
|
505 |
case 'validation_error':
|
506 |
return __('Validation errors occurred. Please confirm the fields and submit it again.', 'wpcf7');
|
507 |
+
case 'accept_terms':
|
508 |
+
return __('Please accept the terms to proceed.', 'wpcf7');
|
509 |
case 'invalid_email':
|
510 |
return __('Email address seems invalid.', 'wpcf7');
|
511 |
case 'invalid_required':
|
526 |
$validation = $this->validate($cf);
|
527 |
if (! $validation['valid']) {
|
528 |
$_POST['_wpcf7_validation_errors'] = array('id' => $id, 'messages' => $validation['reason']);
|
529 |
+
} elseif (! $this->acceptance($cf)) { // Not accepted terms
|
530 |
+
$_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message('accept_terms'));
|
531 |
} elseif ($this->akismet($cf)) { // Spam!
|
532 |
$_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message('mail_sent_ng'), 'spam' => true);
|
533 |
} elseif ($this->mail($cf)) {
|
583 |
$url = parse_url($_SERVER['REQUEST_URI']);
|
584 |
$url = $url['path'] . (empty($url['query']) ? '' : '?' . $url['query']) . '#' . $unit_tag;
|
585 |
|
586 |
+
$form .= '<form action="' . $url . '" method="post" class="wpcf7-form" id="' . $unit_tag . '">';
|
587 |
$form .= '<input type="hidden" name="_wpcf7" value="' . $id . '" />';
|
588 |
$form .= '<input type="hidden" name="_wpcf7_unit_tag" value="' . $unit_tag . '" />';
|
589 |
$form .= $this->form_elements($cf['form']);
|
612 |
$class = ' class="' . $class . '"';
|
613 |
|
614 |
$form .= '<div' . $class . '>' . $content . '</div>';
|
615 |
+
|
616 |
+
$script = '<script type="text/javascript">
|
617 |
+
//<![CDATA[
|
618 |
+
wpcf7ToggleSubmit(jQuery("form#' . $unit_tag . '").get(0));
|
619 |
+
//]]>
|
620 |
+
</script>';
|
621 |
+
$form .= $script;
|
622 |
|
623 |
$form .= '</div>';
|
624 |
|
652 |
}
|
653 |
}
|
654 |
|
655 |
+
if ('acceptance' == $type)
|
656 |
+
$_POST[$name] = $_POST[$name] ? 1 : 0;
|
657 |
+
|
658 |
// Required item (*)
|
659 |
if (preg_match('/^(?:text|textarea)[*]$/', $type)) {
|
660 |
if (empty($_POST[$name])) {
|
724 |
/* Processing form element placeholders */
|
725 |
|
726 |
function form_elements($form, $replace = true) {
|
727 |
+
$types = 'text[*]?|email[*]?|textarea[*]?|select|checkbox|radio|acceptance|captchac|captchar';
|
728 |
$regex = '%\[\s*(' . $types . ')(\s+[a-zA-Z][0-9a-zA-Z:._-]*)([-0-9a-zA-Z:#_/\s]*)?((?:\s*(?:"[^"]*"|\'[^\']*\'))*)?\s*\]%';
|
729 |
$submit_regex = '/\[\s*submit(\s+(?:"[^"]*"|\'[^\']*\'))?\s*\]/';
|
730 |
if ($replace) {
|
784 |
if (preg_match('/^captchac$/', $type))
|
785 |
$class_att .= ' wpcf7-captcha-' . $name;
|
786 |
|
787 |
+
if ('acceptance' == $type) {
|
788 |
+
$class_att .= ' wpcf7-acceptance';
|
789 |
+
if (preg_grep('%^invert$%', $options))
|
790 |
+
$class_att .= ' wpcf7-invert';
|
791 |
+
}
|
792 |
+
|
793 |
if ($class_att)
|
794 |
$atts .= ' class="' . trim($class_att) . '"';
|
795 |
|
824 |
preg_match('%^([0-9]*)[/x]([0-9]*)$%', $size_maxlength, $sm_matches);
|
825 |
if ($size = (int) $sm_matches[1])
|
826 |
$atts .= ' size="' . $size . '"';
|
827 |
+
else
|
828 |
+
$atts .= ' size="40"';
|
829 |
if ($maxlength = (int) $sm_matches[2])
|
830 |
$atts .= ' maxlength="' . $maxlength . '"';
|
831 |
+
} else {
|
832 |
+
$atts .= ' size="40"';
|
833 |
+
}
|
834 |
}
|
835 |
$html = '<input type="text" name="' . $name . '" value="' . attribute_escape($value) . '"' . $atts . ' />';
|
836 |
$html = '<span style="position: relative;">' . $html . $validation_error . '</span>';
|
844 |
preg_match('%^([0-9]*)[x/]([0-9]*)$%', $cols_rows, $cr_matches);
|
845 |
if ($cols = (int) $cr_matches[1])
|
846 |
$atts .= ' cols="' . $cols . '"';
|
847 |
+
else
|
848 |
+
$atts .= ' cols="40"';
|
849 |
if ($rows = (int) $cr_matches[2])
|
850 |
$atts .= ' rows="' . $rows . '"';
|
851 |
+
else
|
852 |
+
$atts .= ' rows="10"';
|
853 |
+
} else {
|
854 |
+
$atts .= ' cols="40" rows="10"';
|
855 |
+
}
|
856 |
}
|
857 |
$html = '<textarea name="' . $name . '"' . $atts . '>' . $value . '</textarea>';
|
858 |
$html = '<span style="position: relative;">' . $html . $validation_error . '</span>';
|
890 |
$html = '';
|
891 |
|
892 |
if ('checkbox' == $type && ! $multiple)
|
893 |
+
$onclick = ' onclick="wpcf7ExclusiveCheckbox(this);"';
|
894 |
|
895 |
foreach ($values as $key => $value) {
|
896 |
$checked = '';
|
902 |
$checked = ' checked="checked"';
|
903 |
if (preg_grep('%^label[_-]?first$%', $options)) { // put label first, input last
|
904 |
$item = '<span class="wpcf7-list-item-label">' . $value . '</span> ';
|
905 |
+
$item .= '<input type="' . $type . '" name="' . $name . ($multiple ? '[]' : '') . '" value="' . attribute_escape($value) . '"' . $checked . $onclick . ' />';
|
906 |
} else {
|
907 |
+
$item = '<input type="' . $type . '" name="' . $name . ($multiple ? '[]' : '') . '" value="' . attribute_escape($value) . '"' . $checked . $onclick . ' />';
|
908 |
$item .= ' <span class="wpcf7-list-item-label">' . $value . '</span>';
|
909 |
}
|
910 |
$item = '<span class="wpcf7-list-item">' . $item . '</span>';
|
915 |
$html = '<span style="position: relative;">' . $html . $validation_error . '</span>';
|
916 |
return $html;
|
917 |
break;
|
918 |
+
case 'acceptance':
|
919 |
+
$invert = (bool) preg_grep('%^invert$%', $options);
|
920 |
+
$default = (bool) preg_grep('%^default:on$%', $options);
|
921 |
+
|
922 |
+
$onclick = ' onclick="wpcf7ToggleSubmit(this.form);"';
|
923 |
+
$checked = $default ? ' checked="checked"' : '';
|
924 |
+
$html = '<input type="checkbox" value="1"' . $atts . $onclick . $checked . ' />';
|
925 |
+
return $html;
|
926 |
+
break;
|
927 |
case 'captchac':
|
928 |
$op = array();
|
929 |
// Default
|
941 |
if (is_array($op['img_size']))
|
942 |
$atts .= ' width="' . $op['img_size'][0] . '" height="' . $op['img_size'][1] . '"';
|
943 |
$captcha_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/captcha/tmp/' . $filename;
|
944 |
+
$html = '<img alt="captcha" src="' . $captcha_url . '"' . $atts . ' />';
|
945 |
$ref = substr($filename, 0, strrpos($filename, '.'));
|
946 |
$html = '<input type="hidden" name="_wpcf7_captcha_challenge_' . $name . '" value="' . $ref . '" />' . $html;
|
947 |
return $html;
|
955 |
if (empty($value))
|
956 |
$value = __('Send', 'wpcf7');
|
957 |
$ajax_loader_image_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/images/ajax-loader.gif';
|
958 |
+
|
959 |
+
$html = '<input type="submit" value="' . $value . '" />';
|
960 |
+
$html .= ' <img class="ajax-loader" style="visibility: hidden;" alt="ajax loader" src="' . $ajax_loader_image_url . '" />';
|
961 |
+
return $html;
|
962 |
}
|
963 |
|
964 |
function form_element_parse($element) {
|
wpcf7-admin.js
CHANGED
@@ -93,7 +93,7 @@ function tagGenerator() {
|
|
93 |
var dropdown = jQuery('<div class="tg-dropdown"></div>');
|
94 |
dropdown.hide();
|
95 |
|
96 |
-
jQuery.each([ 'textField', 'emailField', 'textArea', 'menu', 'checkboxes', 'radioButtons', 'captcha', 'submit' ], function(i, n) {
|
97 |
var submenu = jQuery('<div>' + _wpcf7.l10n[n] + '</div>');
|
98 |
submenu.css({
|
99 |
margin: 0,
|
@@ -147,6 +147,7 @@ function tgPane(pane, tagType) {
|
|
147 |
});
|
148 |
tgInputs.tagName.css({ 'border-color': '#555' });
|
149 |
jQuery.each([ 'isRequiredField', 'allowsMultipleSelections', 'insertFirstBlankOption', 'makeCheckboxesExclusive',
|
|
|
150 |
'akismetAuthor', 'akismetAuthorEmail', 'akismetAuthorUrl',
|
151 |
'imageSizeSmall', 'imageSizeMedium', 'imageSizeLarge' ], function(i, n) {
|
152 |
tgInputs[n] = jQuery('<input type="checkbox" />');
|
@@ -269,6 +270,30 @@ function tgPane(pane, tagType) {
|
|
269 |
));
|
270 |
}
|
271 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
pane.append(jQuery('<div class="tg-tag">' + _wpcf7.l10n.generatedTag + '<br /></div>').append(tgInputs.tag1st));
|
273 |
break;
|
274 |
case 'captcha':
|
@@ -490,6 +515,24 @@ function tgCreateTag(tagType, tgInputs, trigger) {
|
|
490 |
var tag = name ? '[' + type + ' ' + name + options + choices + ']' : '';
|
491 |
tgInputs.tag1st.val(tag);
|
492 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
case 'captcha':
|
494 |
// for captchac
|
495 |
var type = 'captchac';
|
@@ -554,6 +597,8 @@ function tgDefaultName(tagType) {
|
|
554 |
return 'checkbox-' + rand;
|
555 |
} else if ('radioButtons' == tagType) {
|
556 |
return 'radio-' + rand;
|
|
|
|
|
557 |
} else if ('captcha' == tagType) {
|
558 |
return 'captcha-' + rand;
|
559 |
}
|
93 |
var dropdown = jQuery('<div class="tg-dropdown"></div>');
|
94 |
dropdown.hide();
|
95 |
|
96 |
+
jQuery.each([ 'textField', 'emailField', 'textArea', 'menu', 'checkboxes', 'radioButtons', 'acceptance', 'captcha', 'submit' ], function(i, n) {
|
97 |
var submenu = jQuery('<div>' + _wpcf7.l10n[n] + '</div>');
|
98 |
submenu.css({
|
99 |
margin: 0,
|
147 |
});
|
148 |
tgInputs.tagName.css({ 'border-color': '#555' });
|
149 |
jQuery.each([ 'isRequiredField', 'allowsMultipleSelections', 'insertFirstBlankOption', 'makeCheckboxesExclusive',
|
150 |
+
'isAcceptanceDefaultOn', 'isAcceptanceInvert',
|
151 |
'akismetAuthor', 'akismetAuthorEmail', 'akismetAuthorUrl',
|
152 |
'imageSizeSmall', 'imageSizeMedium', 'imageSizeLarge' ], function(i, n) {
|
153 |
tgInputs[n] = jQuery('<input type="checkbox" />');
|
270 |
));
|
271 |
}
|
272 |
|
273 |
+
pane.append(jQuery('<div class="tg-tag">' + _wpcf7.l10n.generatedTag + '<br /></div>').append(tgInputs.tag1st));
|
274 |
+
break;
|
275 |
+
case 'acceptance':
|
276 |
+
var table1 = jQuery('<table></table>');
|
277 |
+
pane.append(table1);
|
278 |
+
|
279 |
+
table1.append(tgTr(
|
280 |
+
jQuery('<span>' + _wpcf7.l10n.tagName + '<br /></span>').append(tgInputs.tagName),
|
281 |
+
jQuery('<span></span>')
|
282 |
+
));
|
283 |
+
|
284 |
+
var table2 = jQuery('<table></table>');
|
285 |
+
pane.append(table2);
|
286 |
+
table2.append(tgTr(
|
287 |
+
jQuery('<span><code>id</code> (' + _wpcf7.l10n.optional + ')<br /></span>').append(tgInputs.tagId),
|
288 |
+
jQuery('<span><code>class</code> (' + _wpcf7.l10n.optional + ')<br /></span>').append(tgInputs.tagClasses)
|
289 |
+
));
|
290 |
+
|
291 |
+
var menuOpt1 = jQuery('<span> ' + _wpcf7.l10n.isAcceptanceDefaultOn + '</span>').prepend(tgInputs.isAcceptanceDefaultOn).prepend('<br />');
|
292 |
+
var menuOpt2 = jQuery('<span> ' + _wpcf7.l10n.isAcceptanceInvert + '</span>').prepend(tgInputs.isAcceptanceInvert).prepend('<br />');
|
293 |
+
menuOpt2.append('<br /><span style="font-size: smaller;">' + _wpcf7.l10n.isAcceptanceInvertMeans + '</span>');
|
294 |
+
|
295 |
+
table2.append(tgTr(menuOpt1.append(menuOpt2)));
|
296 |
+
|
297 |
pane.append(jQuery('<div class="tg-tag">' + _wpcf7.l10n.generatedTag + '<br /></div>').append(tgInputs.tag1st));
|
298 |
break;
|
299 |
case 'captcha':
|
515 |
var tag = name ? '[' + type + ' ' + name + options + choices + ']' : '';
|
516 |
tgInputs.tag1st.val(tag);
|
517 |
break;
|
518 |
+
case 'acceptance':
|
519 |
+
var type = 'acceptance';
|
520 |
+
var name = tgInputs.tagName.val();
|
521 |
+
var options = [];
|
522 |
+
if (tgInputs.isAcceptanceDefaultOn.is(':checked'))
|
523 |
+
options.push('default:on');
|
524 |
+
if (tgInputs.isAcceptanceInvert.is(':checked'))
|
525 |
+
options.push('invert');
|
526 |
+
if (tgInputs.tagId.val())
|
527 |
+
options.push('id:' + tgInputs.tagId.val());
|
528 |
+
if (tgInputs.tagClasses.val())
|
529 |
+
jQuery.each(tgInputs.tagClasses.val().split(' '), function(i, n) {
|
530 |
+
options.push('class:' + n);
|
531 |
+
});
|
532 |
+
options = (options.length > 0) ? ' ' + options.join(' ') : '';
|
533 |
+
var tag = name ? '[' + type + ' ' + name + options + ']' : '';
|
534 |
+
tgInputs.tag1st.val(tag);
|
535 |
+
break;
|
536 |
case 'captcha':
|
537 |
// for captchac
|
538 |
var type = 'captchac';
|
597 |
return 'checkbox-' + rand;
|
598 |
} else if ('radioButtons' == tagType) {
|
599 |
return 'radio-' + rand;
|
600 |
+
} else if ('acceptance' == tagType) {
|
601 |
+
return 'acceptance-' + rand;
|
602 |
} else if ('captcha' == tagType) {
|
603 |
return 'captcha-' + rand;
|
604 |
}
|