Version Description
Download this release
Release Info
Developer | takayukister |
Plugin | Contact Form 7 |
Version | 1.7.4 |
Comparing to | |
See all releases |
Code changes from version 1.7.2 to 1.7.4
- README.txt +3 -1
- languages/wpcf7-ja.mo +0 -0
- languages/wpcf7-ja.po +42 -38
- languages/wpcf7.pot +42 -38
- wp-contact-form-7.php +37 -27
- wpcf7-admin.js +26 -12
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://takayukister.chipin.com/contact-form-7
|
|
4 |
Tags: contact form, email, ajax, captcha, akismet
|
5 |
Requires at least: 2.2
|
6 |
Tested up to: 2.4-bleeding
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
Just another contact form plugin. Simple but flexible.
|
10 |
|
@@ -23,6 +23,8 @@ Just another contact form plugin. Simple but flexible.
|
|
23 |
1. Upload whole `contact-form-7` folder to the `/wp-content/plugins/` directory
|
24 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
25 |
|
|
|
|
|
26 |
== Frequently Asked Questions ==
|
27 |
|
28 |
If you have questions about Contact Form 7,
|
4 |
Tags: contact form, email, ajax, captcha, akismet
|
5 |
Requires at least: 2.2
|
6 |
Tested up to: 2.4-bleeding
|
7 |
+
Stable tag: 1.7.4
|
8 |
|
9 |
Just another contact form plugin. Simple but flexible.
|
10 |
|
23 |
1. Upload whole `contact-form-7` folder to the `/wp-content/plugins/` directory
|
24 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
25 |
|
26 |
+
See also: [plugin homepage](http://ideasilo.wordpress.com/2007/04/30/contact-form-7/)
|
27 |
+
|
28 |
== Frequently Asked Questions ==
|
29 |
|
30 |
If you have questions about Contact Form 7,
|
languages/wpcf7-ja.mo
CHANGED
Binary file
|
languages/wpcf7-ja.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Contact Form 7\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
-
"PO-Revision-Date: 2007-
|
6 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
7 |
"Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -73,148 +73,152 @@ msgid "Required field?"
|
|
73 |
msgstr "必須入力の項目ですか?"
|
74 |
|
75 |
#: contact-form-7/wp-contact-form-7.php:364
|
76 |
-
msgid "
|
77 |
msgstr "複数選択を可能にしますか?"
|
78 |
|
79 |
#: contact-form-7/wp-contact-form-7.php:365
|
|
|
|
|
|
|
|
|
80 |
msgid "Choices"
|
81 |
msgstr "選択項目"
|
82 |
|
83 |
-
#: contact-form-7/wp-contact-form-7.php:
|
84 |
msgid "Label"
|
85 |
msgstr "ラベル"
|
86 |
|
87 |
-
#: contact-form-7/wp-contact-form-7.php:
|
88 |
msgid "Default value"
|
89 |
msgstr "デフォルト値"
|
90 |
|
91 |
-
#: contact-form-7/wp-contact-form-7.php:
|
92 |
msgid "Akismet"
|
93 |
msgstr "Akismet"
|
94 |
|
95 |
-
#: contact-form-7/wp-contact-form-7.php:
|
96 |
msgid "This field requires author's name"
|
97 |
msgstr "送信者の名前の入力を要求する項目"
|
98 |
|
99 |
-
#: contact-form-7/wp-contact-form-7.php:
|
100 |
msgid "This field requires author's URL"
|
101 |
msgstr "送信者の URL の入力を要求する項目"
|
102 |
|
103 |
-
#: contact-form-7/wp-contact-form-7.php:
|
104 |
msgid "This field requires author's email address"
|
105 |
msgstr "送信者のメールアドレスの入力を要求する項目"
|
106 |
|
107 |
-
#: contact-form-7/wp-contact-form-7.php:
|
108 |
msgid "Copy and paste this code into the form"
|
109 |
msgstr "次のコードをコピーしてフォームにペーストして下さい。"
|
110 |
|
111 |
-
#: contact-form-7/wp-contact-form-7.php:
|
112 |
msgid "Foreground color"
|
113 |
msgstr "文字色"
|
114 |
|
115 |
-
#: contact-form-7/wp-contact-form-7.php:
|
116 |
msgid "Background color"
|
117 |
msgstr "背景色"
|
118 |
|
119 |
-
#: contact-form-7/wp-contact-form-7.php:
|
120 |
msgid "Image size"
|
121 |
msgstr "画像サイズ"
|
122 |
|
123 |
-
#: contact-form-7/wp-contact-form-7.php:
|
124 |
msgid "Small"
|
125 |
msgstr "小"
|
126 |
|
127 |
-
#: contact-form-7/wp-contact-form-7.php:
|
128 |
msgid "Medium"
|
129 |
msgstr "中"
|
130 |
|
131 |
-
#: contact-form-7/wp-contact-form-7.php:
|
132 |
msgid "Large"
|
133 |
msgstr "大"
|
134 |
|
135 |
-
#: contact-form-7/wp-contact-form-7.php:
|
136 |
msgid "Image settings"
|
137 |
msgstr "画像の設定"
|
138 |
|
139 |
-
#: contact-form-7/wp-contact-form-7.php:
|
140 |
msgid "Input field settings"
|
141 |
msgstr "入力項目の設定"
|
142 |
|
143 |
-
#: contact-form-7/wp-contact-form-7.php:
|
144 |
msgid "For image"
|
145 |
msgstr "画像"
|
146 |
|
147 |
-
#: contact-form-7/wp-contact-form-7.php:
|
148 |
msgid "For input field"
|
149 |
msgstr "入力項目"
|
150 |
|
151 |
-
#: contact-form-7/wp-contact-form-7.php:
|
152 |
msgid "* One choice per line."
|
153 |
msgstr "* 1行ごとに分けて入力してください。"
|
154 |
|
155 |
-
#: contact-form-7/wp-contact-form-7.php:
|
156 |
msgid "Contact form created."
|
157 |
msgstr "コンタクトフォームが作成されました。"
|
158 |
|
159 |
-
#: contact-form-7/wp-contact-form-7.php:
|
160 |
msgid "Contact form saved."
|
161 |
msgstr "コンタクトフォームが保存されました。"
|
162 |
|
163 |
-
#: contact-form-7/wp-contact-form-7.php:
|
164 |
msgid "Contact form deleted."
|
165 |
msgstr "コンタクトフォームが削除されました。"
|
166 |
|
167 |
-
#: contact-form-7/wp-contact-form-7.php:
|
168 |
msgid "Untitled"
|
169 |
msgstr "無題"
|
170 |
|
171 |
-
#: contact-form-7/wp-contact-form-7.php:
|
172 |
msgid "Your Name"
|
173 |
msgstr "お名前"
|
174 |
|
175 |
-
#: contact-form-7/wp-contact-form-7.php:
|
176 |
-
#: contact-form-7/wp-contact-form-7.php:
|
177 |
msgid "(required)"
|
178 |
msgstr "(必須)"
|
179 |
|
180 |
-
#: contact-form-7/wp-contact-form-7.php:
|
181 |
msgid "Your Email"
|
182 |
msgstr "メールアドレス"
|
183 |
|
184 |
-
#: contact-form-7/wp-contact-form-7.php:
|
185 |
msgid "Subject"
|
186 |
msgstr "題名"
|
187 |
|
188 |
-
#: contact-form-7/wp-contact-form-7.php:
|
189 |
msgid "Your Message"
|
190 |
msgstr "メッセージ本文"
|
191 |
|
192 |
-
#: contact-form-7/wp-contact-form-7.php:
|
193 |
-
#: contact-form-7/wp-contact-form-7.php:
|
194 |
msgid "Send"
|
195 |
msgstr "送信"
|
196 |
|
197 |
-
#: contact-form-7/wp-contact-form-7.php:
|
198 |
msgid "Your message was sent successfully. Thanks."
|
199 |
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
|
200 |
|
201 |
-
#: contact-form-7/wp-contact-form-7.php:
|
202 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
203 |
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
|
204 |
|
205 |
-
#: contact-form-7/wp-contact-form-7.php:
|
206 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
207 |
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
|
208 |
|
209 |
-
#: contact-form-7/wp-contact-form-7.php:
|
210 |
msgid "Email address seems invalid."
|
211 |
msgstr "メールアドレスの形式が正しくないようです。"
|
212 |
|
213 |
-
#: contact-form-7/wp-contact-form-7.php:
|
214 |
msgid "Please fill the required field."
|
215 |
msgstr "必須項目に記入もれがあります。"
|
216 |
|
217 |
-
#: contact-form-7/wp-contact-form-7.php:
|
218 |
msgid "Your entered code is incorrect."
|
219 |
msgstr "入力されたコードが正しくありません。"
|
220 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Contact Form 7\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: 2007-12-30 20:07+0900\n"
|
6 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
7 |
"Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
73 |
msgstr "必須入力の項目ですか?"
|
74 |
|
75 |
#: contact-form-7/wp-contact-form-7.php:364
|
76 |
+
msgid "Allow multiple selections?"
|
77 |
msgstr "複数選択を可能にしますか?"
|
78 |
|
79 |
#: contact-form-7/wp-contact-form-7.php:365
|
80 |
+
msgid "Make checkboxes exclusive?"
|
81 |
+
msgstr "チェックボックスを排他化しますか?"
|
82 |
+
|
83 |
+
#: contact-form-7/wp-contact-form-7.php:366
|
84 |
msgid "Choices"
|
85 |
msgstr "選択項目"
|
86 |
|
87 |
+
#: contact-form-7/wp-contact-form-7.php:367
|
88 |
msgid "Label"
|
89 |
msgstr "ラベル"
|
90 |
|
91 |
+
#: contact-form-7/wp-contact-form-7.php:368
|
92 |
msgid "Default value"
|
93 |
msgstr "デフォルト値"
|
94 |
|
95 |
+
#: contact-form-7/wp-contact-form-7.php:369
|
96 |
msgid "Akismet"
|
97 |
msgstr "Akismet"
|
98 |
|
99 |
+
#: contact-form-7/wp-contact-form-7.php:370
|
100 |
msgid "This field requires author's name"
|
101 |
msgstr "送信者の名前の入力を要求する項目"
|
102 |
|
103 |
+
#: contact-form-7/wp-contact-form-7.php:371
|
104 |
msgid "This field requires author's URL"
|
105 |
msgstr "送信者の URL の入力を要求する項目"
|
106 |
|
107 |
+
#: contact-form-7/wp-contact-form-7.php:372
|
108 |
msgid "This field requires author's email address"
|
109 |
msgstr "送信者のメールアドレスの入力を要求する項目"
|
110 |
|
111 |
+
#: contact-form-7/wp-contact-form-7.php:373
|
112 |
msgid "Copy and paste this code into the form"
|
113 |
msgstr "次のコードをコピーしてフォームにペーストして下さい。"
|
114 |
|
115 |
+
#: contact-form-7/wp-contact-form-7.php:374
|
116 |
msgid "Foreground color"
|
117 |
msgstr "文字色"
|
118 |
|
119 |
+
#: contact-form-7/wp-contact-form-7.php:375
|
120 |
msgid "Background color"
|
121 |
msgstr "背景色"
|
122 |
|
123 |
+
#: contact-form-7/wp-contact-form-7.php:376
|
124 |
msgid "Image size"
|
125 |
msgstr "画像サイズ"
|
126 |
|
127 |
+
#: contact-form-7/wp-contact-form-7.php:377
|
128 |
msgid "Small"
|
129 |
msgstr "小"
|
130 |
|
131 |
+
#: contact-form-7/wp-contact-form-7.php:378
|
132 |
msgid "Medium"
|
133 |
msgstr "中"
|
134 |
|
135 |
+
#: contact-form-7/wp-contact-form-7.php:379
|
136 |
msgid "Large"
|
137 |
msgstr "大"
|
138 |
|
139 |
+
#: contact-form-7/wp-contact-form-7.php:380
|
140 |
msgid "Image settings"
|
141 |
msgstr "画像の設定"
|
142 |
|
143 |
+
#: contact-form-7/wp-contact-form-7.php:381
|
144 |
msgid "Input field settings"
|
145 |
msgstr "入力項目の設定"
|
146 |
|
147 |
+
#: contact-form-7/wp-contact-form-7.php:382
|
148 |
msgid "For image"
|
149 |
msgstr "画像"
|
150 |
|
151 |
+
#: contact-form-7/wp-contact-form-7.php:383
|
152 |
msgid "For input field"
|
153 |
msgstr "入力項目"
|
154 |
|
155 |
+
#: contact-form-7/wp-contact-form-7.php:384
|
156 |
msgid "* One choice per line."
|
157 |
msgstr "* 1行ごとに分けて入力してください。"
|
158 |
|
159 |
+
#: contact-form-7/wp-contact-form-7.php:403
|
160 |
msgid "Contact form created."
|
161 |
msgstr "コンタクトフォームが作成されました。"
|
162 |
|
163 |
+
#: contact-form-7/wp-contact-form-7.php:406
|
164 |
msgid "Contact form saved."
|
165 |
msgstr "コンタクトフォームが保存されました。"
|
166 |
|
167 |
+
#: contact-form-7/wp-contact-form-7.php:409
|
168 |
msgid "Contact form deleted."
|
169 |
msgstr "コンタクトフォームが削除されました。"
|
170 |
|
171 |
+
#: contact-form-7/wp-contact-form-7.php:416
|
172 |
msgid "Untitled"
|
173 |
msgstr "無題"
|
174 |
|
175 |
+
#: contact-form-7/wp-contact-form-7.php:440
|
176 |
msgid "Your Name"
|
177 |
msgstr "お名前"
|
178 |
|
179 |
+
#: contact-form-7/wp-contact-form-7.php:440
|
180 |
+
#: contact-form-7/wp-contact-form-7.php:442
|
181 |
msgid "(required)"
|
182 |
msgstr "(必須)"
|
183 |
|
184 |
+
#: contact-form-7/wp-contact-form-7.php:442
|
185 |
msgid "Your Email"
|
186 |
msgstr "メールアドレス"
|
187 |
|
188 |
+
#: contact-form-7/wp-contact-form-7.php:444
|
189 |
msgid "Subject"
|
190 |
msgstr "題名"
|
191 |
|
192 |
+
#: contact-form-7/wp-contact-form-7.php:446
|
193 |
msgid "Your Message"
|
194 |
msgstr "メッセージ本文"
|
195 |
|
196 |
+
#: contact-form-7/wp-contact-form-7.php:448
|
197 |
+
#: contact-form-7/wp-contact-form-7.php:901
|
198 |
msgid "Send"
|
199 |
msgstr "送信"
|
200 |
|
201 |
+
#: contact-form-7/wp-contact-form-7.php:477
|
202 |
msgid "Your message was sent successfully. Thanks."
|
203 |
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
|
204 |
|
205 |
+
#: contact-form-7/wp-contact-form-7.php:479
|
206 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
207 |
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
|
208 |
|
209 |
+
#: contact-form-7/wp-contact-form-7.php:481
|
210 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
211 |
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
|
212 |
|
213 |
+
#: contact-form-7/wp-contact-form-7.php:483
|
214 |
msgid "Email address seems invalid."
|
215 |
msgstr "メールアドレスの形式が正しくないようです。"
|
216 |
|
217 |
+
#: contact-form-7/wp-contact-form-7.php:485
|
218 |
msgid "Please fill the required field."
|
219 |
msgstr "必須項目に記入もれがあります。"
|
220 |
|
221 |
+
#: contact-form-7/wp-contact-form-7.php:487
|
222 |
msgid "Your entered code is incorrect."
|
223 |
msgstr "入力されたコードが正しくありません。"
|
224 |
|
languages/wpcf7.pot
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"POT-Creation-Date: 2007-10-24 13:47+0900\n"
|
5 |
-
"PO-Revision-Date: 2007-
|
6 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -71,148 +71,152 @@ msgid "Required field?"
|
|
71 |
msgstr ""
|
72 |
|
73 |
#: contact-form-7/wp-contact-form-7.php:364
|
74 |
-
msgid "
|
75 |
msgstr ""
|
76 |
|
77 |
#: contact-form-7/wp-contact-form-7.php:365
|
78 |
-
msgid "
|
79 |
msgstr ""
|
80 |
|
81 |
#: contact-form-7/wp-contact-form-7.php:366
|
82 |
-
msgid "
|
83 |
msgstr ""
|
84 |
|
85 |
#: contact-form-7/wp-contact-form-7.php:367
|
86 |
-
msgid "
|
87 |
msgstr ""
|
88 |
|
89 |
#: contact-form-7/wp-contact-form-7.php:368
|
90 |
-
msgid "
|
91 |
msgstr ""
|
92 |
|
93 |
#: contact-form-7/wp-contact-form-7.php:369
|
94 |
-
msgid "
|
95 |
msgstr ""
|
96 |
|
97 |
#: contact-form-7/wp-contact-form-7.php:370
|
98 |
-
msgid "This field requires author's
|
99 |
msgstr ""
|
100 |
|
101 |
#: contact-form-7/wp-contact-form-7.php:371
|
102 |
-
msgid "This field requires author's
|
103 |
msgstr ""
|
104 |
|
105 |
#: contact-form-7/wp-contact-form-7.php:372
|
106 |
-
msgid "
|
107 |
msgstr ""
|
108 |
|
109 |
#: contact-form-7/wp-contact-form-7.php:373
|
110 |
-
msgid "
|
111 |
msgstr ""
|
112 |
|
113 |
#: contact-form-7/wp-contact-form-7.php:374
|
114 |
-
msgid "
|
115 |
msgstr ""
|
116 |
|
117 |
#: contact-form-7/wp-contact-form-7.php:375
|
118 |
-
msgid "
|
119 |
msgstr ""
|
120 |
|
121 |
#: contact-form-7/wp-contact-form-7.php:376
|
122 |
-
msgid "
|
123 |
msgstr ""
|
124 |
|
125 |
#: contact-form-7/wp-contact-form-7.php:377
|
126 |
-
msgid "
|
127 |
msgstr ""
|
128 |
|
129 |
#: contact-form-7/wp-contact-form-7.php:378
|
130 |
-
msgid "
|
131 |
msgstr ""
|
132 |
|
133 |
#: contact-form-7/wp-contact-form-7.php:379
|
134 |
-
msgid "
|
135 |
msgstr ""
|
136 |
|
137 |
#: contact-form-7/wp-contact-form-7.php:380
|
138 |
-
msgid "
|
139 |
msgstr ""
|
140 |
|
141 |
#: contact-form-7/wp-contact-form-7.php:381
|
142 |
-
msgid "
|
143 |
msgstr ""
|
144 |
|
145 |
#: contact-form-7/wp-contact-form-7.php:382
|
146 |
-
msgid "For
|
147 |
msgstr ""
|
148 |
|
149 |
#: contact-form-7/wp-contact-form-7.php:383
|
|
|
|
|
|
|
|
|
150 |
msgid "* One choice per line."
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: contact-form-7/wp-contact-form-7.php:
|
154 |
msgid "Contact form created."
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: contact-form-7/wp-contact-form-7.php:
|
158 |
msgid "Contact form saved."
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: contact-form-7/wp-contact-form-7.php:
|
162 |
msgid "Contact form deleted."
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: contact-form-7/wp-contact-form-7.php:
|
166 |
msgid "Untitled"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: contact-form-7/wp-contact-form-7.php:
|
170 |
msgid "Your Name"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: contact-form-7/wp-contact-form-7.php:
|
174 |
-
#: contact-form-7/wp-contact-form-7.php:
|
175 |
msgid "(required)"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: contact-form-7/wp-contact-form-7.php:
|
179 |
msgid "Your Email"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: contact-form-7/wp-contact-form-7.php:
|
183 |
msgid "Subject"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: contact-form-7/wp-contact-form-7.php:
|
187 |
msgid "Your Message"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: contact-form-7/wp-contact-form-7.php:
|
191 |
-
#: contact-form-7/wp-contact-form-7.php:
|
192 |
msgid "Send"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: contact-form-7/wp-contact-form-7.php:
|
196 |
msgid "Your message was sent successfully. Thanks."
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: contact-form-7/wp-contact-form-7.php:
|
200 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: contact-form-7/wp-contact-form-7.php:
|
204 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: contact-form-7/wp-contact-form-7.php:
|
208 |
msgid "Email address seems invalid."
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: contact-form-7/wp-contact-form-7.php:
|
212 |
msgid "Please fill the required field."
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: contact-form-7/wp-contact-form-7.php:
|
216 |
msgid "Your entered code is incorrect."
|
217 |
msgstr ""
|
218 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"POT-Creation-Date: 2007-10-24 13:47+0900\n"
|
5 |
+
"PO-Revision-Date: 2007-12-30 20:05+0900\n"
|
6 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
71 |
msgstr ""
|
72 |
|
73 |
#: contact-form-7/wp-contact-form-7.php:364
|
74 |
+
msgid "Allow multiple selections?"
|
75 |
msgstr ""
|
76 |
|
77 |
#: contact-form-7/wp-contact-form-7.php:365
|
78 |
+
msgid "Make checkboxes exclusive?"
|
79 |
msgstr ""
|
80 |
|
81 |
#: contact-form-7/wp-contact-form-7.php:366
|
82 |
+
msgid "Choices"
|
83 |
msgstr ""
|
84 |
|
85 |
#: contact-form-7/wp-contact-form-7.php:367
|
86 |
+
msgid "Label"
|
87 |
msgstr ""
|
88 |
|
89 |
#: contact-form-7/wp-contact-form-7.php:368
|
90 |
+
msgid "Default value"
|
91 |
msgstr ""
|
92 |
|
93 |
#: contact-form-7/wp-contact-form-7.php:369
|
94 |
+
msgid "Akismet"
|
95 |
msgstr ""
|
96 |
|
97 |
#: contact-form-7/wp-contact-form-7.php:370
|
98 |
+
msgid "This field requires author's name"
|
99 |
msgstr ""
|
100 |
|
101 |
#: contact-form-7/wp-contact-form-7.php:371
|
102 |
+
msgid "This field requires author's URL"
|
103 |
msgstr ""
|
104 |
|
105 |
#: contact-form-7/wp-contact-form-7.php:372
|
106 |
+
msgid "This field requires author's email address"
|
107 |
msgstr ""
|
108 |
|
109 |
#: contact-form-7/wp-contact-form-7.php:373
|
110 |
+
msgid "Copy and paste this code into the form"
|
111 |
msgstr ""
|
112 |
|
113 |
#: contact-form-7/wp-contact-form-7.php:374
|
114 |
+
msgid "Foreground color"
|
115 |
msgstr ""
|
116 |
|
117 |
#: contact-form-7/wp-contact-form-7.php:375
|
118 |
+
msgid "Background color"
|
119 |
msgstr ""
|
120 |
|
121 |
#: contact-form-7/wp-contact-form-7.php:376
|
122 |
+
msgid "Image size"
|
123 |
msgstr ""
|
124 |
|
125 |
#: contact-form-7/wp-contact-form-7.php:377
|
126 |
+
msgid "Small"
|
127 |
msgstr ""
|
128 |
|
129 |
#: contact-form-7/wp-contact-form-7.php:378
|
130 |
+
msgid "Medium"
|
131 |
msgstr ""
|
132 |
|
133 |
#: contact-form-7/wp-contact-form-7.php:379
|
134 |
+
msgid "Large"
|
135 |
msgstr ""
|
136 |
|
137 |
#: contact-form-7/wp-contact-form-7.php:380
|
138 |
+
msgid "Image settings"
|
139 |
msgstr ""
|
140 |
|
141 |
#: contact-form-7/wp-contact-form-7.php:381
|
142 |
+
msgid "Input field settings"
|
143 |
msgstr ""
|
144 |
|
145 |
#: contact-form-7/wp-contact-form-7.php:382
|
146 |
+
msgid "For image"
|
147 |
msgstr ""
|
148 |
|
149 |
#: contact-form-7/wp-contact-form-7.php:383
|
150 |
+
msgid "For input field"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: contact-form-7/wp-contact-form-7.php:384
|
154 |
msgid "* One choice per line."
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: contact-form-7/wp-contact-form-7.php:403
|
158 |
msgid "Contact form created."
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: contact-form-7/wp-contact-form-7.php:406
|
162 |
msgid "Contact form saved."
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: contact-form-7/wp-contact-form-7.php:409
|
166 |
msgid "Contact form deleted."
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: contact-form-7/wp-contact-form-7.php:416
|
170 |
msgid "Untitled"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: contact-form-7/wp-contact-form-7.php:440
|
174 |
msgid "Your Name"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: contact-form-7/wp-contact-form-7.php:440
|
178 |
+
#: contact-form-7/wp-contact-form-7.php:442
|
179 |
msgid "(required)"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: contact-form-7/wp-contact-form-7.php:442
|
183 |
msgid "Your Email"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: contact-form-7/wp-contact-form-7.php:444
|
187 |
msgid "Subject"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: contact-form-7/wp-contact-form-7.php:446
|
191 |
msgid "Your Message"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: contact-form-7/wp-contact-form-7.php:448
|
195 |
+
#: contact-form-7/wp-contact-form-7.php:901
|
196 |
msgid "Send"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: contact-form-7/wp-contact-form-7.php:477
|
200 |
msgid "Your message was sent successfully. Thanks."
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: contact-form-7/wp-contact-form-7.php:479
|
204 |
msgid "Failed to send your message. Please try later or contact administrator by other way."
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: contact-form-7/wp-contact-form-7.php:481
|
208 |
msgid "Validation errors occurred. Please confirm the fields and submit it again."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: contact-form-7/wp-contact-form-7.php:483
|
212 |
msgid "Email address seems invalid."
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: contact-form-7/wp-contact-form-7.php:485
|
216 |
msgid "Please fill the required field."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: contact-form-7/wp-contact-form-7.php:487
|
220 |
msgid "Your entered code is incorrect."
|
221 |
msgstr ""
|
222 |
|
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 |
|
@@ -361,7 +361,8 @@ var _wpcf7 = {
|
|
361 |
submit: "<?php echo js_escape(__('Submit button', 'wpcf7')); ?>",
|
362 |
tagName: "<?php echo js_escape(__('Name', 'wpcf7')); ?>",
|
363 |
isRequiredField: "<?php echo js_escape(__('Required field?', 'wpcf7')); ?>",
|
364 |
-
allowsMultipleSelections: "<?php echo js_escape(__('
|
|
|
365 |
menuChoices: "<?php echo js_escape(__('Choices', 'wpcf7')); ?>",
|
366 |
label: "<?php echo js_escape(__('Label', 'wpcf7')); ?>",
|
367 |
defaultValue: "<?php echo js_escape(__('Default value', 'wpcf7')); ?>",
|
@@ -604,15 +605,14 @@ var _wpcf7 = {
|
|
604 |
$_POST[$name] = trim(strtr($_POST[$name], "\n", " "));
|
605 |
|
606 |
if (preg_match('/^(?:select|checkbox|radio)$/', $type)) {
|
607 |
-
if (
|
608 |
-
$_POST[$name]
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
unset($_POST[$name][$key]);
|
616 |
}
|
617 |
}
|
618 |
|
@@ -697,7 +697,7 @@ var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
|
|
697 |
/* Processing form element placeholders */
|
698 |
|
699 |
function form_elements($form, $replace = true) {
|
700 |
-
$types = 'text[*]?|email[*]?|textarea[*]?|select
|
701 |
$regex = '%\[\s*(' . $types . ')(\s+[a-zA-Z][0-9a-zA-Z:._-]*)([-0-9a-zA-Z:#_/\s]*)?((?:\s*(?:"[^"]*"|\'[^\']*\'))*)?\s*\]%';
|
702 |
$submit_regex = '/\[\s*submit(\s+(?:"[^"]*"|\'[^\']*\'))?\s*\]/';
|
703 |
if ($replace) {
|
@@ -751,9 +751,6 @@ var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
|
|
751 |
if ('checkbox' == $type)
|
752 |
$class_att .= ' wpcf7-checkbox';
|
753 |
|
754 |
-
if ('checkbox+' == $type)
|
755 |
-
$class_att .= ' wpcf7-checkbox-plus';
|
756 |
-
|
757 |
if ('radio' == $type)
|
758 |
$class_att .= ' wpcf7-radio';
|
759 |
|
@@ -774,6 +771,13 @@ var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
|
|
774 |
} else {
|
775 |
$value = $values[0];
|
776 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
777 |
|
778 |
switch ($type) {
|
779 |
case 'text':
|
@@ -812,19 +816,20 @@ var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
|
|
812 |
return $html;
|
813 |
break;
|
814 |
case 'select':
|
815 |
-
|
816 |
-
|
817 |
-
if (empty($values))
|
818 |
array_push($values, '---');
|
819 |
$html = '';
|
820 |
-
|
821 |
$selected = '';
|
|
|
|
|
822 |
if ($this->processing_unit_tag == $_POST['_wpcf7_unit_tag'] && (
|
823 |
$multiple && in_array($value, $_POST[$name]) ||
|
824 |
! $multiple && $_POST[$name] == $value))
|
825 |
$selected = ' selected="selected"';
|
826 |
$html .= '<option value="' . attribute_escape($value) . '"' . $selected . '>' . $value . '</option>';
|
827 |
-
|
828 |
|
829 |
if ($multiple)
|
830 |
$atts .= ' multiple="multiple"';
|
@@ -834,23 +839,28 @@ var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
|
|
834 |
return $html;
|
835 |
break;
|
836 |
case 'checkbox':
|
837 |
-
case 'checkbox+':
|
838 |
case 'radio':
|
839 |
-
$multiple = ('checkbox
|
840 |
-
$input_type = preg_replace('/[+]$/', '', $type);
|
841 |
$html = '';
|
842 |
|
843 |
-
if ('checkbox' == $type)
|
844 |
$input_class = ' class="exclusive"';
|
845 |
|
846 |
-
foreach ($values as $value) {
|
847 |
$checked = '';
|
|
|
|
|
848 |
if ($this->processing_unit_tag == $_POST['_wpcf7_unit_tag'] && (
|
849 |
$multiple && in_array($value, $_POST[$name]) ||
|
850 |
! $multiple && $_POST[$name] == $value))
|
851 |
$checked = ' checked="checked"';
|
852 |
-
|
853 |
-
|
|
|
|
|
|
|
|
|
|
|
854 |
$item = '<span class="wpcf7-list-item">' . $item . '</span>';
|
855 |
$html .= $item;
|
856 |
}
|
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.4
|
8 |
Author URI: http://ideasilo.wordpress.com/
|
9 |
*/
|
10 |
|
361 |
submit: "<?php echo js_escape(__('Submit button', 'wpcf7')); ?>",
|
362 |
tagName: "<?php echo js_escape(__('Name', 'wpcf7')); ?>",
|
363 |
isRequiredField: "<?php echo js_escape(__('Required field?', 'wpcf7')); ?>",
|
364 |
+
allowsMultipleSelections: "<?php echo js_escape(__('Allow multiple selections?', 'wpcf7')); ?>",
|
365 |
+
makeCheckboxesExclusive: "<?php echo js_escape(__('Make checkboxes exclusive?', 'wpcf7')); ?>",
|
366 |
menuChoices: "<?php echo js_escape(__('Choices', 'wpcf7')); ?>",
|
367 |
label: "<?php echo js_escape(__('Label', 'wpcf7')); ?>",
|
368 |
defaultValue: "<?php echo js_escape(__('Default value', 'wpcf7')); ?>",
|
605 |
$_POST[$name] = trim(strtr($_POST[$name], "\n", " "));
|
606 |
|
607 |
if (preg_match('/^(?:select|checkbox|radio)$/', $type)) {
|
608 |
+
if (is_array($_POST[$name])) {
|
609 |
+
foreach ($_POST[$name] as $key => $value) {
|
610 |
+
if (! in_array($value, $values)) // Not in given choices.
|
611 |
+
unset($_POST[$name][$key]);
|
612 |
+
}
|
613 |
+
} else {
|
614 |
+
if (! in_array($_POST[$name], $values)) // Not in given choices.
|
615 |
+
$_POST[$name] = '';
|
|
|
616 |
}
|
617 |
}
|
618 |
|
697 |
/* Processing form element placeholders */
|
698 |
|
699 |
function form_elements($form, $replace = true) {
|
700 |
+
$types = 'text[*]?|email[*]?|textarea[*]?|select|checkbox|radio|captchac|captchar';
|
701 |
$regex = '%\[\s*(' . $types . ')(\s+[a-zA-Z][0-9a-zA-Z:._-]*)([-0-9a-zA-Z:#_/\s]*)?((?:\s*(?:"[^"]*"|\'[^\']*\'))*)?\s*\]%';
|
702 |
$submit_regex = '/\[\s*submit(\s+(?:"[^"]*"|\'[^\']*\'))?\s*\]/';
|
703 |
if ($replace) {
|
751 |
if ('checkbox' == $type)
|
752 |
$class_att .= ' wpcf7-checkbox';
|
753 |
|
|
|
|
|
|
|
754 |
if ('radio' == $type)
|
755 |
$class_att .= ' wpcf7-radio';
|
756 |
|
771 |
} else {
|
772 |
$value = $values[0];
|
773 |
}
|
774 |
+
|
775 |
+
// Default selected/checked for select/checkbox/radio
|
776 |
+
if (preg_match('/^(?:select|checkbox|radio)$/', $type)) {
|
777 |
+
$scr_defaults = array_values(preg_grep('/^default:/', $options));
|
778 |
+
preg_match('/^default:([0-9_]+)$/', $scr_defaults[0], $scr_default_matches);
|
779 |
+
$scr_default = explode('_', $scr_default_matches[1]);
|
780 |
+
}
|
781 |
|
782 |
switch ($type) {
|
783 |
case 'text':
|
816 |
return $html;
|
817 |
break;
|
818 |
case 'select':
|
819 |
+
$multiple = (preg_grep('%^multiple$%', $options)) ? true : false;
|
820 |
+
if ($empty_select = empty($values))
|
|
|
821 |
array_push($values, '---');
|
822 |
$html = '';
|
823 |
+
foreach ($values as $key => $value) {
|
824 |
$selected = '';
|
825 |
+
if (! $empty_select && in_array($key + 1, $scr_default))
|
826 |
+
$selected = ' selected="selected"';
|
827 |
if ($this->processing_unit_tag == $_POST['_wpcf7_unit_tag'] && (
|
828 |
$multiple && in_array($value, $_POST[$name]) ||
|
829 |
! $multiple && $_POST[$name] == $value))
|
830 |
$selected = ' selected="selected"';
|
831 |
$html .= '<option value="' . attribute_escape($value) . '"' . $selected . '>' . $value . '</option>';
|
832 |
+
}
|
833 |
|
834 |
if ($multiple)
|
835 |
$atts .= ' multiple="multiple"';
|
839 |
return $html;
|
840 |
break;
|
841 |
case 'checkbox':
|
|
|
842 |
case 'radio':
|
843 |
+
$multiple = ('checkbox' == $type && ! preg_grep('%^exclusive$%', $options)) ? true : false;
|
|
|
844 |
$html = '';
|
845 |
|
846 |
+
if ('checkbox' == $type && ! $multiple)
|
847 |
$input_class = ' class="exclusive"';
|
848 |
|
849 |
+
foreach ($values as $key => $value) {
|
850 |
$checked = '';
|
851 |
+
if (in_array($key + 1, $scr_default))
|
852 |
+
$checked = ' checked="checked"';
|
853 |
if ($this->processing_unit_tag == $_POST['_wpcf7_unit_tag'] && (
|
854 |
$multiple && in_array($value, $_POST[$name]) ||
|
855 |
! $multiple && $_POST[$name] == $value))
|
856 |
$checked = ' checked="checked"';
|
857 |
+
if (preg_grep('%^label[_-]?first$%', $options)) { // put label first, input last
|
858 |
+
$item = '<span class="wpcf7-list-item-label">' . $value . '</span> ';
|
859 |
+
$item .= '<input type="' . $type . '" name="' . $name . ($multiple ? '[]' : '') . '" value="' . attribute_escape($value) . '"' . $checked . $input_class . ' />';
|
860 |
+
} else {
|
861 |
+
$item = '<input type="' . $type . '" name="' . $name . ($multiple ? '[]' : '') . '" value="' . attribute_escape($value) . '"' . $checked . $input_class . ' />';
|
862 |
+
$item .= ' <span class="wpcf7-list-item-label">' . $value . '</span>';
|
863 |
+
}
|
864 |
$item = '<span class="wpcf7-list-item">' . $item . '</span>';
|
865 |
$html .= $item;
|
866 |
}
|
wpcf7-admin.js
CHANGED
@@ -146,7 +146,8 @@ function tgPane(pane, tagType) {
|
|
146 |
});
|
147 |
});
|
148 |
tgInputs.tagName.css({ 'border-color': '#555' });
|
149 |
-
jQuery.each([ 'isRequiredField', 'allowsMultipleSelections', '
|
|
|
150 |
'imageSizeSmall', 'imageSizeMedium', 'imageSizeLarge' ], function(i, n) {
|
151 |
tgInputs[n] = jQuery('<input type="checkbox" />');
|
152 |
tgInputs[n].change(function() {
|
@@ -234,11 +235,6 @@ function tgPane(pane, tagType) {
|
|
234 |
var table1 = jQuery('<table></table>');
|
235 |
pane.append(table1);
|
236 |
|
237 |
-
if ('radioButtons' != tagType)
|
238 |
-
table1.append(tgTr(
|
239 |
-
jQuery('<span> ' + _wpcf7.l10n.allowsMultipleSelections + '</span>').prepend(tgInputs.allowsMultipleSelections)
|
240 |
-
));
|
241 |
-
|
242 |
table1.append(tgTr(
|
243 |
jQuery('<span>' + _wpcf7.l10n.tagName + '<br /></span>').append(tgInputs.tagName),
|
244 |
jQuery('<span></span>')
|
@@ -250,10 +246,26 @@ function tgPane(pane, tagType) {
|
|
250 |
jQuery('<span><code>id</code> (' + _wpcf7.l10n.optional + ')<br /></span>').append(tgInputs.tagId),
|
251 |
jQuery('<span><code>class</code> (' + _wpcf7.l10n.optional + ')<br /></span>').append(tgInputs.tagClasses)
|
252 |
));
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
pane.append(jQuery('<div class="tg-tag">' + _wpcf7.l10n.generatedTag + '<br /></div>').append(tgInputs.tag1st));
|
258 |
break;
|
259 |
case 'captcha':
|
@@ -451,11 +463,13 @@ function tgCreateTag(tagType, tgInputs, trigger) {
|
|
451 |
type = 'checkbox';
|
452 |
else if ('radioButtons' == tagType)
|
453 |
type = 'radio';
|
454 |
-
if (tgInputs.allowsMultipleSelections.is(':checked'))
|
455 |
-
type += '+';
|
456 |
|
457 |
var name = tgInputs.tagName.val();
|
458 |
var options = [];
|
|
|
|
|
|
|
|
|
459 |
if (tgInputs.tagId.val())
|
460 |
options.push('id:' + tgInputs.tagId.val());
|
461 |
if (tgInputs.tagClasses.val())
|
146 |
});
|
147 |
});
|
148 |
tgInputs.tagName.css({ 'border-color': '#555' });
|
149 |
+
jQuery.each([ 'isRequiredField', 'allowsMultipleSelections', 'makeCheckboxesExclusive',
|
150 |
+
'akismetAuthor', 'akismetAuthorEmail', 'akismetAuthorUrl',
|
151 |
'imageSizeSmall', 'imageSizeMedium', 'imageSizeLarge' ], function(i, n) {
|
152 |
tgInputs[n] = jQuery('<input type="checkbox" />');
|
153 |
tgInputs[n].change(function() {
|
235 |
var table1 = jQuery('<table></table>');
|
236 |
pane.append(table1);
|
237 |
|
|
|
|
|
|
|
|
|
|
|
238 |
table1.append(tgTr(
|
239 |
jQuery('<span>' + _wpcf7.l10n.tagName + '<br /></span>').append(tgInputs.tagName),
|
240 |
jQuery('<span></span>')
|
246 |
jQuery('<span><code>id</code> (' + _wpcf7.l10n.optional + ')<br /></span>').append(tgInputs.tagId),
|
247 |
jQuery('<span><code>class</code> (' + _wpcf7.l10n.optional + ')<br /></span>').append(tgInputs.tagClasses)
|
248 |
));
|
249 |
+
|
250 |
+
if ('menu' == tagType) {
|
251 |
+
table2.append(tgTr(
|
252 |
+
jQuery('<span>' + _wpcf7.l10n.menuChoices + '<br /></span>').append(tgInputs.menuChoices)
|
253 |
+
.append('<br /><span style="font-size: smaller">' + _wpcf7.l10n.oneChoicePerLine + '</span>'),
|
254 |
+
jQuery('<span> ' + _wpcf7.l10n.allowsMultipleSelections + '</span>').prepend(tgInputs.allowsMultipleSelections).prepend('<br />')
|
255 |
+
));
|
256 |
+
} else if ('checkboxes' == tagType) {
|
257 |
+
table2.append(tgTr(
|
258 |
+
jQuery('<span>' + _wpcf7.l10n.menuChoices + '<br /></span>').append(tgInputs.menuChoices)
|
259 |
+
.append('<br /><span style="font-size: smaller">' + _wpcf7.l10n.oneChoicePerLine + '</span>'),
|
260 |
+
jQuery('<span> ' + _wpcf7.l10n.makeCheckboxesExclusive + '</span>').prepend(tgInputs.makeCheckboxesExclusive).prepend('<br />')
|
261 |
+
));
|
262 |
+
} else {
|
263 |
+
table2.append(tgTr(
|
264 |
+
jQuery('<span>' + _wpcf7.l10n.menuChoices + '<br /></span>').append(tgInputs.menuChoices)
|
265 |
+
.append('<br /><span style="font-size: smaller">' + _wpcf7.l10n.oneChoicePerLine + '</span>')
|
266 |
+
));
|
267 |
+
}
|
268 |
+
|
269 |
pane.append(jQuery('<div class="tg-tag">' + _wpcf7.l10n.generatedTag + '<br /></div>').append(tgInputs.tag1st));
|
270 |
break;
|
271 |
case 'captcha':
|
463 |
type = 'checkbox';
|
464 |
else if ('radioButtons' == tagType)
|
465 |
type = 'radio';
|
|
|
|
|
466 |
|
467 |
var name = tgInputs.tagName.val();
|
468 |
var options = [];
|
469 |
+
if (tgInputs.allowsMultipleSelections.is(':checked'))
|
470 |
+
options.push('multiple');
|
471 |
+
if (tgInputs.makeCheckboxesExclusive.is(':checked'))
|
472 |
+
options.push('exclusive');
|
473 |
if (tgInputs.tagId.val())
|
474 |
options.push('id:' + tgInputs.tagId.val());
|
475 |
if (tgInputs.tagClasses.val())
|