MW WP Form - Version 0.9

Version Description

  • Added : Akismet
Download this release

Release Info

Developer inc2734
Plugin Icon wp plugin MW WP Form
Version 0.9
Comparing to
See all releases

Code changes from version 0.8.1 to 0.9

css/admin.css CHANGED
@@ -95,6 +95,28 @@ span#formkey_field {
95
  margin: 0 2px 0 0;
96
  }
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  /**
99
  * バリデーションルールを追加
100
  */
95
  margin: 0 2px 0 0;
96
  }
97
 
98
+ /**
99
+ * 設定
100
+ */
101
+ #mw-wp-form_settings p {
102
+ border-bottom: #dfdfdf solid 1px;
103
+ margin: 0 0 15px;
104
+ padding: 0 0 15px;
105
+ }
106
+ #mw-wp-form_settings table td {
107
+ padding: 0 5px 0 0;
108
+ text-align: left;
109
+ vertical-align: middle;
110
+ }
111
+ #mw-wp-form_settings table td input {
112
+ width: 100%;
113
+ }
114
+ #mw-wp-form_settings table.akismet th {
115
+ font-weight: normal;
116
+ padding: 0 0 5px;
117
+ text-align: left;
118
+ }
119
+
120
  /**
121
  * バリデーションルールを追加
122
  */
form_fields/mw_form_field_akismet_error.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Name: MW Form Field Akismet Error
4
+ * URI: http://2inc.org
5
+ * Description: Akismetのエラーを出力。
6
+ * Version: 1.0
7
+ * Author: Takashi Kitajima
8
+ * Author URI: http://2inc.org
9
+ * Created: June 21, 2013
10
+ * Modified:
11
+ * License: GPL2
12
+ *
13
+ * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
+ *
15
+ * This program is free software; you can redistribute it and/or modify
16
+ * it under the terms of the GNU General Public License, version 2, as
17
+ * published by the Free Software Foundation.
18
+ *
19
+ * This program is distributed in the hope that it will be useful,
20
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
+ * GNU General Public License for more details.
23
+ *
24
+ * You should have received a copy of the GNU General Public License
25
+ * along with this program; if not, write to the Free Software
26
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27
+ */
28
+ class mw_form_field_akismet_error extends mw_form_field {
29
+
30
+ /**
31
+ * String $short_code_name
32
+ */
33
+ protected $short_code_name = 'mwform_akismet_error';
34
+
35
+ /**
36
+ * setDefaults
37
+ * $this->defaultsを設定し返す
38
+ * @return Array defaults
39
+ */
40
+ protected function setDefaults() {
41
+ return array();
42
+ }
43
+
44
+ /**
45
+ * inputPage
46
+ * 入力ページでのフォーム項目を返す
47
+ * @param Array $atts
48
+ * @return String HTML
49
+ */
50
+ protected function inputPage( $atts ) {
51
+ return '<div class="akismet_error">' . $this->getError( MWF_Config::AKISMET ) . '</div>';
52
+ }
53
+
54
+ /**
55
+ * previewPage
56
+ * 確認ページでのフォーム項目を返す
57
+ * @param Array $atts
58
+ * @return String HTML
59
+ */
60
+ protected function previewPage( $atts ) {
61
+ }
62
+
63
+ /**
64
+ * add_qtags
65
+ * QTags.addButton を出力
66
+ */
67
+ protected function add_qtags() {
68
+ ?>
69
+ '<?php echo $this->short_code_name; ?>',
70
+ '<?php _e( 'Akismet Error', MWF_Config::DOMAIN ); ?>',
71
+ '[<?php echo $this->short_code_name; ?>]',
72
+ ''
73
+ <?php
74
+ }
75
+ }
languages/mw-wp-form-ja.mo CHANGED
Binary file
languages/mw-wp-form-ja.po CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the MW WP Form package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: MW WP Form 0.8\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
- "POT-Creation-Date: 2013-06-05 14:21:16+00:00\n"
8
- "PO-Revision-Date: 2013-06-05 23:24+0900\n"
9
  "Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "MIME-Version: 1.0\n"
@@ -18,250 +18,260 @@ msgstr ""
18
  "X-Poedit-KeywordsList: __;_e;_x\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
- #: form_fields/mw_form_field_back_button.php:42
22
- #: form_fields/mw_form_field_back_button.php:72
 
 
 
 
 
 
 
 
 
 
 
 
23
  msgid "Back"
24
  msgstr "戻る"
25
 
26
- #: form_fields/mw_form_field_button.php:74
27
  msgid "Button"
28
  msgstr "ボタン"
29
 
30
- #: form_fields/mw_form_field_checkbox.php:87
31
  msgid "Checkbox"
32
  msgstr "チェックボックス"
33
 
34
- #: form_fields/mw_form_field_datepicker.php:108
35
  msgid "Datepicker"
36
  msgstr "日付"
37
 
38
- #: form_fields/mw_form_field_error.php:77
39
  msgid "Error Message"
40
  msgstr "エラーメッセージ"
41
 
42
- #: form_fields/mw_form_field_file.php:62 form_fields/mw_form_field_file.php:80
 
43
  msgid "Uploaded."
44
  msgstr "アップロードしました。"
45
 
46
- #: form_fields/mw_form_field_file.php:93
47
  msgid "File"
48
  msgstr "ファイルフィールド"
49
 
50
- #: form_fields/mw_form_field_hidden.php:75
51
  msgid "Hidden"
52
  msgstr "hiddenフィールド"
53
 
54
- #: form_fields/mw_form_field_image.php:93
55
  msgid "Image"
56
  msgstr "画像フィールド"
57
 
58
- #: form_fields/mw_form_field_password.php:85
59
  msgid "Password"
60
  msgstr "パスワードフィールド"
61
 
62
- #: form_fields/mw_form_field_preview_button.php:42
63
- #: form_fields/mw_form_field_submit_button.php:43
64
  msgid "Confirm"
65
  msgstr "確認画面へ"
66
 
67
- #: form_fields/mw_form_field_radio.php:86
68
  msgid "Radio"
69
  msgstr "ラジオボタン"
70
 
71
- #: form_fields/mw_form_field_select.php:86
72
  msgid "Select"
73
  msgstr "セレクトボックス"
74
 
75
- #: form_fields/mw_form_field_submit.php:43
76
- #: form_fields/mw_form_field_submit_button.php:44
77
  msgid "Send"
78
  msgstr "送信する"
79
 
80
- #: form_fields/mw_form_field_submit.php:74
81
  msgid "Submit"
82
  msgstr "送信"
83
 
84
- #: form_fields/mw_form_field_submit_button.php:78
85
  msgid "Confirm &amp; Submit"
86
  msgstr "確認・送信"
87
 
88
- #: form_fields/mw_form_field_tel.php:81 system/mw_wp_form_admin_page.php:510
 
89
  msgid "Tel"
90
  msgstr "電話番号"
91
 
92
- #: form_fields/mw_form_field_text.php:87
93
  msgid "Text"
94
  msgstr "テキストフィールド"
95
 
96
- #: form_fields/mw_form_field_textarea.php:87
97
  msgid "Textarea"
98
  msgstr "テキストエリア"
99
 
100
- #: form_fields/mw_form_field_zip.php:81
101
  msgid "Zip Code"
102
  msgstr "郵便番号"
103
 
104
- #: mw-wp-form.php:311
105
- msgid "Validation Object is not a MW Validation Class."
106
- msgstr ""
107
-
108
- #: mw-wp-form.php:443
109
- msgid "Uploaded from "
110
- msgstr ""
111
-
112
- #: system/mw_validation.php:75
113
  msgid "This is required."
114
  msgstr "必須項目です。"
115
 
116
- #: system/mw_validation.php:95 system/mw_validation.php:115
117
  msgid "Please enter."
118
  msgstr "未入力です。"
119
 
120
- #: system/mw_validation.php:137
121
  msgid "Please enter with a half-width alphabetic character."
122
  msgstr "半角英字で入力してください。"
123
 
124
- #: system/mw_validation.php:157
125
  msgid "Please enter with a half-width number."
126
  msgstr "半角数字で入力してください。"
127
 
128
- #: system/mw_validation.php:177
129
  msgid "Please enter with a half-width alphanumeric character."
130
  msgstr "半角英数字で入力してください。"
131
 
132
- #: system/mw_validation.php:197
133
  msgid "This is not the format of a zip code."
134
  msgstr "郵便番号の形式ではありません。"
135
 
136
- #: system/mw_validation.php:224
137
  msgid "This is not the format of a tel number."
138
  msgstr "電話番号の形式ではありません。"
139
 
140
- #: system/mw_validation.php:251
141
  msgid "This is not the format of a mail address."
142
  msgstr "メールアドレスの形式ではありません。"
143
 
144
- #: system/mw_validation.php:271
145
  msgid "This is not the format of a url."
146
  msgstr "URLの形式ではありません。"
147
 
148
- #: system/mw_validation.php:292
149
  msgid "This is not in agreement."
150
  msgstr "一致しません。"
151
 
152
- #: system/mw_validation.php:316
153
  msgid "The number of characters is invalid."
154
  msgstr "文字数が正しくありません。"
155
 
156
- #: system/mw_validation.php:352
157
  msgid "The number of characters is a few."
158
  msgstr "文字数が足りません。"
159
 
160
- #: system/mw_validation.php:376
161
  msgid "This value is invalid."
162
  msgstr "値が不正です。"
163
 
164
- #: system/mw_validation.php:398
165
  msgid "This is not the format of a date."
166
  msgstr "日付の形式ではありません。"
167
 
168
- #: system/mw_validation.php:426
169
  msgid "This file is invalid."
170
  msgstr "許可されたファイルではありません。"
171
 
172
- #: system/mw_validation.php:456
173
  msgid "This file size is too big."
174
  msgstr "ファイルサイズが大きすぎます。"
175
 
176
- #: system/mw_wp_form_admin_page.php:66
 
 
 
 
177
  msgid "Add New Form"
178
  msgstr "フォームを追加"
179
 
180
- #: system/mw_wp_form_admin_page.php:67
181
  msgid "Edit Form"
182
  msgstr "フォームを編集"
183
 
184
- #: system/mw_wp_form_admin_page.php:68
185
  msgid "New Form"
186
  msgstr "新しいフォーム"
187
 
188
- #: system/mw_wp_form_admin_page.php:69
189
  msgid "View Form"
190
  msgstr "フォームを表示"
191
 
192
- #: system/mw_wp_form_admin_page.php:70
193
  msgid "Search Forms"
194
  msgstr "フォームを検索"
195
 
196
- #: system/mw_wp_form_admin_page.php:71
197
  msgid "No Forms found"
198
  msgstr "フォームがありません"
199
 
200
- #: system/mw_wp_form_admin_page.php:72
201
  msgid "No Forms found in Trash"
202
  msgstr "ゴミ箱にフォームはありません"
203
 
204
- #: system/mw_wp_form_admin_page.php:93
205
  msgid "Edit "
206
  msgstr "編集"
207
 
208
- #: system/mw_wp_form_admin_page.php:94
209
  msgid "View"
210
  msgstr "表示"
211
 
212
- #: system/mw_wp_form_admin_page.php:95
213
  msgid "Search"
214
  msgstr "検索"
215
 
216
- #: system/mw_wp_form_admin_page.php:96
217
  msgid "No data found"
218
  msgstr "データがありません"
219
 
220
- #: system/mw_wp_form_admin_page.php:97
221
  msgid "No data found in Trash"
222
  msgstr "ゴミ箱にデータはありません"
223
 
224
- #: system/mw_wp_form_admin_page.php:135
225
  msgid "Complete Message"
226
  msgstr "完了画面メッセージ"
227
 
228
- #: system/mw_wp_form_admin_page.php:142
229
  msgid "URL Options"
230
  msgstr "URL設定"
231
 
232
- #: system/mw_wp_form_admin_page.php:149
233
  msgid "Validation Rule"
234
  msgstr "バリデーションルール"
235
 
236
- #: system/mw_wp_form_admin_page.php:156
237
  msgid "Form Key"
238
  msgstr "フォーム識別子"
239
 
240
- #: system/mw_wp_form_admin_page.php:163
241
  msgid "Automatic Reply Email Options"
242
  msgstr "自動返信メール設定"
243
 
244
- #: system/mw_wp_form_admin_page.php:170
245
  msgid "Admin Email Options"
246
  msgstr "管理者宛メール設定"
247
 
248
- #: system/mw_wp_form_admin_page.php:177
249
  msgid "settings"
250
  msgstr "設定"
251
 
252
- #: system/mw_wp_form_admin_page.php:184
253
  msgid "Custom Fields"
254
  msgstr "カスタムフィールド"
255
 
256
- #: system/mw_wp_form_admin_page.php:347
257
  msgid "Copy and Paste this shortcode."
258
  msgstr "このショートコードをコピー&ペーストしてください。"
259
 
260
- #: system/mw_wp_form_admin_page.php:361
261
  msgid "Activate Query string of post"
262
  msgstr "URL引数を有効にする"
263
 
264
- #: system/mw_wp_form_admin_page.php:362
265
  msgid ""
266
  "If this field is active, MW WP Form get the post as query string \"post_id\" "
267
  "and you can use $post's property in editor"
@@ -269,35 +279,46 @@ msgstr ""
269
  "有効にした場合、MW WP FormはURL引数 ”post_id\" をもとに投稿を取得して、その投"
270
  "稿($post) のプロパティを使用できるようになります。"
271
 
272
- #: system/mw_wp_form_admin_page.php:363
273
  msgid "Example: {ID}, {post_title}, {post_meta} etc..."
274
  msgstr "例:{ID}、{post_title}、{post_meta}など…"
275
 
276
- #: system/mw_wp_form_admin_page.php:366
277
  msgid "Saving contact data in database"
278
  msgstr "問い合わせデータをデータベースに保存"
279
 
280
- #: system/mw_wp_form_admin_page.php:392 system/mw_wp_form_admin_page.php:424
 
 
 
 
 
 
 
 
 
281
  msgid "Subject"
282
  msgstr "件名"
283
 
284
- #: system/mw_wp_form_admin_page.php:396 system/mw_wp_form_admin_page.php:428
 
285
  msgid "Ccontent"
286
  msgstr "本文"
287
 
288
- #: system/mw_wp_form_admin_page.php:398 system/mw_wp_form_admin_page.php:430
 
289
  msgid "{key} is converted form data."
290
  msgstr "{キー}でそのフォーム項目に変換されます。"
291
 
292
- #: system/mw_wp_form_admin_page.php:401
293
  msgid "Automatic reply email"
294
  msgstr "自動返信メール"
295
 
296
- #: system/mw_wp_form_admin_page.php:403
297
- msgid "Please input the key to use as transmission to automatic reply email."
298
  msgstr "自動返信メールに使用する項目のキーを入力してください。"
299
 
300
- #: system/mw_wp_form_admin_page.php:416
301
  msgid ""
302
  "If Admin Email Options is a blank, Automatic Replay Email Options is used as "
303
  "Admin Email Options."
@@ -305,118 +326,101 @@ msgstr ""
305
  "管理者宛メール設定が空のときは自動返信メール設定が管理者宛メール設定が使用さ"
306
  "れます。"
307
 
308
- #: system/mw_wp_form_admin_page.php:419
309
  msgid "To ( E-mail address )"
310
  msgstr "送信先(E-mailアドレス)"
311
 
312
- #: system/mw_wp_form_admin_page.php:421
313
  msgid "If empty: Using admin E-mail address."
314
  msgstr "未入力の場合:管理者のE-mailアドレスを使用します。"
315
 
316
- #: system/mw_wp_form_admin_page.php:445
317
  msgid "Input Page URL"
318
  msgstr "入力画面URL"
319
 
320
- #: system/mw_wp_form_admin_page.php:451
321
  msgid "Confirmation Page URL"
322
  msgstr "確認画面URL"
323
 
324
- #: system/mw_wp_form_admin_page.php:457
325
  msgid "Complete Page URL"
326
  msgstr "完了画面URL"
327
 
328
- #: system/mw_wp_form_admin_page.php:494
329
  msgid "Add Validation rule"
330
  msgstr "バリデーションルールを追加"
331
 
332
- #: system/mw_wp_form_admin_page.php:500
333
  msgid "The key which applies validation"
334
  msgstr "バリデーションを適用する項目"
335
 
336
- #: system/mw_wp_form_admin_page.php:504
337
  msgid "No empty"
338
  msgstr "必須項目"
339
 
340
- #: system/mw_wp_form_admin_page.php:505
341
  msgid "No empty( with checkbox )"
342
  msgstr "必須項目(チェックボックス)"
343
 
344
- #: system/mw_wp_form_admin_page.php:506
345
  msgid "Numeric"
346
  msgstr "半角数字"
347
 
348
- #: system/mw_wp_form_admin_page.php:507
349
  msgid "Alphabet"
350
  msgstr "半角英字"
351
 
352
- #: system/mw_wp_form_admin_page.php:508
353
  msgid "Alphabet and Numeric"
354
  msgstr "半角英数字"
355
 
356
- #: system/mw_wp_form_admin_page.php:509
357
  msgid "Zip code"
358
  msgstr "郵便番号"
359
 
360
- #: system/mw_wp_form_admin_page.php:511
361
  msgid "E-mail"
362
  msgstr "メールアドレス"
363
 
364
- #: system/mw_wp_form_admin_page.php:512
365
  msgid "Date"
366
  msgstr "日付"
367
 
368
- #: system/mw_wp_form_admin_page.php:516
369
  msgid "The key at same value"
370
  msgstr "一致する項目"
371
 
372
- #: system/mw_wp_form_admin_page.php:520
373
  msgid "The range of the number of characters"
374
  msgstr "文字数の範囲"
375
 
376
- #: system/mw_wp_form_admin_page.php:528
377
  msgid "The number of the minimum characters"
378
  msgstr "最小文字数"
379
 
380
- #: system/mw_wp_form_admin_page.php:532
381
  msgid "Permitted Extension"
382
  msgstr "拡張子制限"
383
 
384
- #: system/mw_wp_form_admin_page.php:533
385
  msgid "Example:jpg or jpg,txt,…"
386
  msgstr "例:jpg もしくは jpg,txt…"
387
 
388
- #: system/mw_wp_form_admin_page.php:536
389
  msgid "Permitted file size"
390
  msgstr "サイズ制限"
391
 
392
- #: system/mw_wp_form_admin_page.php:537
393
  msgid "bytes"
394
  msgstr ""
395
 
396
- #: system/mw_wp_form_admin_page.php:574
397
  msgid "Registed Date"
398
  msgstr "登録日時"
399
 
400
- #. Plugin Name of the plugin/theme
401
- msgid "MW WP Form"
402
- msgstr ""
403
-
404
- #. Plugin URI of the plugin/theme
405
- msgid "http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/"
406
- msgstr ""
407
-
408
- #. Description of the plugin/theme
409
- msgid "MW WP Form can create mail form with a confirmation screen."
410
- msgstr ""
411
- "MW WP Formは確認画面付きのフォームを作成しメールを送信することができます。"
412
-
413
- #. Author of the plugin/theme
414
- msgid "Takashi Kitajima"
415
- msgstr ""
416
-
417
- #. Author URI of the plugin/theme
418
- msgid "http://2inc.org"
419
- msgstr ""
420
 
421
  #~ msgid "Active"
422
  #~ msgstr "有効にする"
2
  # This file is distributed under the same license as the MW WP Form package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: MW WP Form 0.9\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
+ "POT-Creation-Date: 2013-06-21 19:25+0900\n"
8
+ "PO-Revision-Date: 2013-06-21 19:26+0900\n"
9
  "Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "MIME-Version: 1.0\n"
18
  "X-Poedit-KeywordsList: __;_e;_x\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
+ #: ../mw-wp-form.php:315
22
+ msgid "Validation Object is not a MW Validation Class."
23
+ msgstr ""
24
+
25
+ #: ../mw-wp-form.php:500
26
+ msgid "Uploaded from "
27
+ msgstr ""
28
+
29
+ #: ../form_fields/mw_form_field_akismet_error.php:70
30
+ msgid "Akismet Error"
31
+ msgstr "Akismetエラー"
32
+
33
+ #: ../form_fields/mw_form_field_back_button.php:42
34
+ #: ../form_fields/mw_form_field_back_button.php:72
35
  msgid "Back"
36
  msgstr "戻る"
37
 
38
+ #: ../form_fields/mw_form_field_button.php:74
39
  msgid "Button"
40
  msgstr "ボタン"
41
 
42
+ #: ../form_fields/mw_form_field_checkbox.php:88
43
  msgid "Checkbox"
44
  msgstr "チェックボックス"
45
 
46
+ #: ../form_fields/mw_form_field_datepicker.php:108
47
  msgid "Datepicker"
48
  msgstr "日付"
49
 
50
+ #: ../form_fields/mw_form_field_error.php:77
51
  msgid "Error Message"
52
  msgstr "エラーメッセージ"
53
 
54
+ #: ../form_fields/mw_form_field_file.php:62
55
+ #: ../form_fields/mw_form_field_file.php:80
56
  msgid "Uploaded."
57
  msgstr "アップロードしました。"
58
 
59
+ #: ../form_fields/mw_form_field_file.php:93
60
  msgid "File"
61
  msgstr "ファイルフィールド"
62
 
63
+ #: ../form_fields/mw_form_field_hidden.php:75
64
  msgid "Hidden"
65
  msgstr "hiddenフィールド"
66
 
67
+ #: ../form_fields/mw_form_field_image.php:93
68
  msgid "Image"
69
  msgstr "画像フィールド"
70
 
71
+ #: ../form_fields/mw_form_field_password.php:85
72
  msgid "Password"
73
  msgstr "パスワードフィールド"
74
 
75
+ #: ../form_fields/mw_form_field_preview_button.php:42
76
+ #: ../form_fields/mw_form_field_submit_button.php:43
77
  msgid "Confirm"
78
  msgstr "確認画面へ"
79
 
80
+ #: ../form_fields/mw_form_field_radio.php:86
81
  msgid "Radio"
82
  msgstr "ラジオボタン"
83
 
84
+ #: ../form_fields/mw_form_field_select.php:86
85
  msgid "Select"
86
  msgstr "セレクトボックス"
87
 
88
+ #: ../form_fields/mw_form_field_submit.php:43
89
+ #: ../form_fields/mw_form_field_submit_button.php:44
90
  msgid "Send"
91
  msgstr "送信する"
92
 
93
+ #: ../form_fields/mw_form_field_submit.php:74
94
  msgid "Submit"
95
  msgstr "送信"
96
 
97
+ #: ../form_fields/mw_form_field_submit_button.php:78
98
  msgid "Confirm &amp; Submit"
99
  msgstr "確認・送信"
100
 
101
+ #: ../form_fields/mw_form_field_tel.php:81
102
+ #: ../system/mw_wp_form_admin_page.php:528
103
  msgid "Tel"
104
  msgstr "電話番号"
105
 
106
+ #: ../form_fields/mw_form_field_text.php:87
107
  msgid "Text"
108
  msgstr "テキストフィールド"
109
 
110
+ #: ../form_fields/mw_form_field_textarea.php:87
111
  msgid "Textarea"
112
  msgstr "テキストエリア"
113
 
114
+ #: ../form_fields/mw_form_field_zip.php:81
115
  msgid "Zip Code"
116
  msgstr "郵便番号"
117
 
118
+ #: ../system/mw_validation.php:75
 
 
 
 
 
 
 
 
119
  msgid "This is required."
120
  msgstr "必須項目です。"
121
 
122
+ #: ../system/mw_validation.php:95 ../system/mw_validation.php:115
123
  msgid "Please enter."
124
  msgstr "未入力です。"
125
 
126
+ #: ../system/mw_validation.php:137
127
  msgid "Please enter with a half-width alphabetic character."
128
  msgstr "半角英字で入力してください。"
129
 
130
+ #: ../system/mw_validation.php:157
131
  msgid "Please enter with a half-width number."
132
  msgstr "半角数字で入力してください。"
133
 
134
+ #: ../system/mw_validation.php:177
135
  msgid "Please enter with a half-width alphanumeric character."
136
  msgstr "半角英数字で入力してください。"
137
 
138
+ #: ../system/mw_validation.php:197
139
  msgid "This is not the format of a zip code."
140
  msgstr "郵便番号の形式ではありません。"
141
 
142
+ #: ../system/mw_validation.php:224
143
  msgid "This is not the format of a tel number."
144
  msgstr "電話番号の形式ではありません。"
145
 
146
+ #: ../system/mw_validation.php:251
147
  msgid "This is not the format of a mail address."
148
  msgstr "メールアドレスの形式ではありません。"
149
 
150
+ #: ../system/mw_validation.php:271
151
  msgid "This is not the format of a url."
152
  msgstr "URLの形式ではありません。"
153
 
154
+ #: ../system/mw_validation.php:292
155
  msgid "This is not in agreement."
156
  msgstr "一致しません。"
157
 
158
+ #: ../system/mw_validation.php:316
159
  msgid "The number of characters is invalid."
160
  msgstr "文字数が正しくありません。"
161
 
162
+ #: ../system/mw_validation.php:352
163
  msgid "The number of characters is a few."
164
  msgstr "文字数が足りません。"
165
 
166
+ #: ../system/mw_validation.php:376
167
  msgid "This value is invalid."
168
  msgstr "値が不正です。"
169
 
170
+ #: ../system/mw_validation.php:398
171
  msgid "This is not the format of a date."
172
  msgstr "日付の形式ではありません。"
173
 
174
+ #: ../system/mw_validation.php:426
175
  msgid "This file is invalid."
176
  msgstr "許可されたファイルではありません。"
177
 
178
+ #: ../system/mw_validation.php:456
179
  msgid "This file size is too big."
180
  msgstr "ファイルサイズが大きすぎます。"
181
 
182
+ #: ../system/mw_validation.php:476
183
+ msgid "The contents which you input were judged with spam."
184
+ msgstr "あなたの入力した内容はスパムと判定されました。"
185
+
186
+ #: ../system/mw_wp_form_admin_page.php:66
187
  msgid "Add New Form"
188
  msgstr "フォームを追加"
189
 
190
+ #: ../system/mw_wp_form_admin_page.php:67
191
  msgid "Edit Form"
192
  msgstr "フォームを編集"
193
 
194
+ #: ../system/mw_wp_form_admin_page.php:68
195
  msgid "New Form"
196
  msgstr "新しいフォーム"
197
 
198
+ #: ../system/mw_wp_form_admin_page.php:69
199
  msgid "View Form"
200
  msgstr "フォームを表示"
201
 
202
+ #: ../system/mw_wp_form_admin_page.php:70
203
  msgid "Search Forms"
204
  msgstr "フォームを検索"
205
 
206
+ #: ../system/mw_wp_form_admin_page.php:71
207
  msgid "No Forms found"
208
  msgstr "フォームがありません"
209
 
210
+ #: ../system/mw_wp_form_admin_page.php:72
211
  msgid "No Forms found in Trash"
212
  msgstr "ゴミ箱にフォームはありません"
213
 
214
+ #: ../system/mw_wp_form_admin_page.php:93
215
  msgid "Edit "
216
  msgstr "編集"
217
 
218
+ #: ../system/mw_wp_form_admin_page.php:94
219
  msgid "View"
220
  msgstr "表示"
221
 
222
+ #: ../system/mw_wp_form_admin_page.php:95
223
  msgid "Search"
224
  msgstr "検索"
225
 
226
+ #: ../system/mw_wp_form_admin_page.php:96
227
  msgid "No data found"
228
  msgstr "データがありません"
229
 
230
+ #: ../system/mw_wp_form_admin_page.php:97
231
  msgid "No data found in Trash"
232
  msgstr "ゴミ箱にデータはありません"
233
 
234
+ #: ../system/mw_wp_form_admin_page.php:135
235
  msgid "Complete Message"
236
  msgstr "完了画面メッセージ"
237
 
238
+ #: ../system/mw_wp_form_admin_page.php:142
239
  msgid "URL Options"
240
  msgstr "URL設定"
241
 
242
+ #: ../system/mw_wp_form_admin_page.php:149
243
  msgid "Validation Rule"
244
  msgstr "バリデーションルール"
245
 
246
+ #: ../system/mw_wp_form_admin_page.php:156
247
  msgid "Form Key"
248
  msgstr "フォーム識別子"
249
 
250
+ #: ../system/mw_wp_form_admin_page.php:163
251
  msgid "Automatic Reply Email Options"
252
  msgstr "自動返信メール設定"
253
 
254
+ #: ../system/mw_wp_form_admin_page.php:170
255
  msgid "Admin Email Options"
256
  msgstr "管理者宛メール設定"
257
 
258
+ #: ../system/mw_wp_form_admin_page.php:177
259
  msgid "settings"
260
  msgstr "設定"
261
 
262
+ #: ../system/mw_wp_form_admin_page.php:184
263
  msgid "Custom Fields"
264
  msgstr "カスタムフィールド"
265
 
266
+ #: ../system/mw_wp_form_admin_page.php:347
267
  msgid "Copy and Paste this shortcode."
268
  msgstr "このショートコードをコピー&ペーストしてください。"
269
 
270
+ #: ../system/mw_wp_form_admin_page.php:361
271
  msgid "Activate Query string of post"
272
  msgstr "URL引数を有効にする"
273
 
274
+ #: ../system/mw_wp_form_admin_page.php:362
275
  msgid ""
276
  "If this field is active, MW WP Form get the post as query string \"post_id\" "
277
  "and you can use $post's property in editor"
279
  "有効にした場合、MW WP FormはURL引数 ”post_id\" をもとに投稿を取得して、その投"
280
  "稿($post) のプロパティを使用できるようになります。"
281
 
282
+ #: ../system/mw_wp_form_admin_page.php:363
283
  msgid "Example: {ID}, {post_title}, {post_meta} etc..."
284
  msgstr "例:{ID}、{post_title}、{post_meta}など…"
285
 
286
+ #: ../system/mw_wp_form_admin_page.php:366
287
  msgid "Saving contact data in database"
288
  msgstr "問い合わせデータをデータベースに保存"
289
 
290
+ #: ../system/mw_wp_form_admin_page.php:370
291
+ msgid "Akismet Setting"
292
+ msgstr "Akismet 設定"
293
+
294
+ #: ../system/mw_wp_form_admin_page.php:385
295
+ msgid "Input the key to use Akismet."
296
+ msgstr "Akismetを使用する項目のキーを入力してください。"
297
+
298
+ #: ../system/mw_wp_form_admin_page.php:410
299
+ #: ../system/mw_wp_form_admin_page.php:442
300
  msgid "Subject"
301
  msgstr "件名"
302
 
303
+ #: ../system/mw_wp_form_admin_page.php:414
304
+ #: ../system/mw_wp_form_admin_page.php:446
305
  msgid "Ccontent"
306
  msgstr "本文"
307
 
308
+ #: ../system/mw_wp_form_admin_page.php:416
309
+ #: ../system/mw_wp_form_admin_page.php:448
310
  msgid "{key} is converted form data."
311
  msgstr "{キー}でそのフォーム項目に変換されます。"
312
 
313
+ #: ../system/mw_wp_form_admin_page.php:419
314
  msgid "Automatic reply email"
315
  msgstr "自動返信メール"
316
 
317
+ #: ../system/mw_wp_form_admin_page.php:421
318
+ msgid "Input the key to use as transmission to automatic reply email."
319
  msgstr "自動返信メールに使用する項目のキーを入力してください。"
320
 
321
+ #: ../system/mw_wp_form_admin_page.php:434
322
  msgid ""
323
  "If Admin Email Options is a blank, Automatic Replay Email Options is used as "
324
  "Admin Email Options."
326
  "管理者宛メール設定が空のときは自動返信メール設定が管理者宛メール設定が使用さ"
327
  "れます。"
328
 
329
+ #: ../system/mw_wp_form_admin_page.php:437
330
  msgid "To ( E-mail address )"
331
  msgstr "送信先(E-mailアドレス)"
332
 
333
+ #: ../system/mw_wp_form_admin_page.php:439
334
  msgid "If empty: Using admin E-mail address."
335
  msgstr "未入力の場合:管理者のE-mailアドレスを使用します。"
336
 
337
+ #: ../system/mw_wp_form_admin_page.php:463
338
  msgid "Input Page URL"
339
  msgstr "入力画面URL"
340
 
341
+ #: ../system/mw_wp_form_admin_page.php:469
342
  msgid "Confirmation Page URL"
343
  msgstr "確認画面URL"
344
 
345
+ #: ../system/mw_wp_form_admin_page.php:475
346
  msgid "Complete Page URL"
347
  msgstr "完了画面URL"
348
 
349
+ #: ../system/mw_wp_form_admin_page.php:512
350
  msgid "Add Validation rule"
351
  msgstr "バリデーションルールを追加"
352
 
353
+ #: ../system/mw_wp_form_admin_page.php:518
354
  msgid "The key which applies validation"
355
  msgstr "バリデーションを適用する項目"
356
 
357
+ #: ../system/mw_wp_form_admin_page.php:522
358
  msgid "No empty"
359
  msgstr "必須項目"
360
 
361
+ #: ../system/mw_wp_form_admin_page.php:523
362
  msgid "No empty( with checkbox )"
363
  msgstr "必須項目(チェックボックス)"
364
 
365
+ #: ../system/mw_wp_form_admin_page.php:524
366
  msgid "Numeric"
367
  msgstr "半角数字"
368
 
369
+ #: ../system/mw_wp_form_admin_page.php:525
370
  msgid "Alphabet"
371
  msgstr "半角英字"
372
 
373
+ #: ../system/mw_wp_form_admin_page.php:526
374
  msgid "Alphabet and Numeric"
375
  msgstr "半角英数字"
376
 
377
+ #: ../system/mw_wp_form_admin_page.php:527
378
  msgid "Zip code"
379
  msgstr "郵便番号"
380
 
381
+ #: ../system/mw_wp_form_admin_page.php:529
382
  msgid "E-mail"
383
  msgstr "メールアドレス"
384
 
385
+ #: ../system/mw_wp_form_admin_page.php:530
386
  msgid "Date"
387
  msgstr "日付"
388
 
389
+ #: ../system/mw_wp_form_admin_page.php:534
390
  msgid "The key at same value"
391
  msgstr "一致する項目"
392
 
393
+ #: ../system/mw_wp_form_admin_page.php:538
394
  msgid "The range of the number of characters"
395
  msgstr "文字数の範囲"
396
 
397
+ #: ../system/mw_wp_form_admin_page.php:546
398
  msgid "The number of the minimum characters"
399
  msgstr "最小文字数"
400
 
401
+ #: ../system/mw_wp_form_admin_page.php:550
402
  msgid "Permitted Extension"
403
  msgstr "拡張子制限"
404
 
405
+ #: ../system/mw_wp_form_admin_page.php:551
406
  msgid "Example:jpg or jpg,txt,…"
407
  msgstr "例:jpg もしくは jpg,txt…"
408
 
409
+ #: ../system/mw_wp_form_admin_page.php:554
410
  msgid "Permitted file size"
411
  msgstr "サイズ制限"
412
 
413
+ #: ../system/mw_wp_form_admin_page.php:555
414
  msgid "bytes"
415
  msgstr ""
416
 
417
+ #: ../system/mw_wp_form_admin_page.php:592
418
  msgid "Registed Date"
419
  msgstr "登録日時"
420
 
421
+ #~ msgid "MW WP Form can create mail form with a confirmation screen."
422
+ #~ msgstr ""
423
+ #~ "MW WP Formは確認画面付きのフォームを作成しメールを送信することができます。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
424
 
425
  #~ msgid "Active"
426
  #~ msgstr "有効にする"
languages/mw-wp-form.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the MW WP Form package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: MW WP Form 0.8\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
- "POT-Creation-Date: 2013-06-05 14:21:16+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -18,6 +18,10 @@ msgstr ""
18
  "X-Poedit-KeywordsList: __;_e\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
 
 
 
 
21
  #: form_fields/mw_form_field_back_button.php:42
22
  #: form_fields/mw_form_field_back_button.php:72
23
  msgid "Back"
@@ -27,7 +31,7 @@ msgstr ""
27
  msgid "Button"
28
  msgstr ""
29
 
30
- #: form_fields/mw_form_field_checkbox.php:87
31
  msgid "Checkbox"
32
  msgstr ""
33
 
@@ -85,7 +89,7 @@ msgstr ""
85
  msgid "Confirm &amp; Submit"
86
  msgstr ""
87
 
88
- #: form_fields/mw_form_field_tel.php:81 system/mw_wp_form_admin_page.php:510
89
  msgid "Tel"
90
  msgstr ""
91
 
@@ -101,11 +105,11 @@ msgstr ""
101
  msgid "Zip Code"
102
  msgstr ""
103
 
104
- #: mw-wp-form.php:311
105
  msgid "Validation Object is not a MW Validation Class."
106
  msgstr ""
107
 
108
- #: mw-wp-form.php:443
109
  msgid "Uploaded from "
110
  msgstr ""
111
 
@@ -173,6 +177,10 @@ msgstr ""
173
  msgid "This file size is too big."
174
  msgstr ""
175
 
 
 
 
 
176
  #: system/mw_wp_form_admin_page.php:66
177
  msgid "Add New Form"
178
  msgstr ""
@@ -275,121 +283,129 @@ msgstr ""
275
  msgid "Saving contact data in database"
276
  msgstr ""
277
 
278
- #: system/mw_wp_form_admin_page.php:392 system/mw_wp_form_admin_page.php:424
 
 
 
 
 
 
 
 
279
  msgid "Subject"
280
  msgstr ""
281
 
282
- #: system/mw_wp_form_admin_page.php:396 system/mw_wp_form_admin_page.php:428
283
  msgid "Ccontent"
284
  msgstr ""
285
 
286
- #: system/mw_wp_form_admin_page.php:398 system/mw_wp_form_admin_page.php:430
287
  msgid "{key} is converted form data."
288
  msgstr ""
289
 
290
- #: system/mw_wp_form_admin_page.php:401
291
  msgid "Automatic reply email"
292
  msgstr ""
293
 
294
- #: system/mw_wp_form_admin_page.php:403
295
- msgid "Please input the key to use as transmission to automatic reply email."
296
  msgstr ""
297
 
298
- #: system/mw_wp_form_admin_page.php:416
299
  msgid ""
300
  "If Admin Email Options is a blank, Automatic Replay Email Options is used as "
301
  "Admin Email Options."
302
  msgstr ""
303
 
304
- #: system/mw_wp_form_admin_page.php:419
305
  msgid "To ( E-mail address )"
306
  msgstr ""
307
 
308
- #: system/mw_wp_form_admin_page.php:421
309
  msgid "If empty: Using admin E-mail address."
310
  msgstr ""
311
 
312
- #: system/mw_wp_form_admin_page.php:445
313
  msgid "Input Page URL"
314
  msgstr ""
315
 
316
- #: system/mw_wp_form_admin_page.php:451
317
  msgid "Confirmation Page URL"
318
  msgstr ""
319
 
320
- #: system/mw_wp_form_admin_page.php:457
321
  msgid "Complete Page URL"
322
  msgstr ""
323
 
324
- #: system/mw_wp_form_admin_page.php:494
325
  msgid "Add Validation rule"
326
  msgstr ""
327
 
328
- #: system/mw_wp_form_admin_page.php:500
329
  msgid "The key which applies validation"
330
  msgstr ""
331
 
332
- #: system/mw_wp_form_admin_page.php:504
333
  msgid "No empty"
334
  msgstr ""
335
 
336
- #: system/mw_wp_form_admin_page.php:505
337
  msgid "No empty( with checkbox )"
338
  msgstr ""
339
 
340
- #: system/mw_wp_form_admin_page.php:506
341
  msgid "Numeric"
342
  msgstr ""
343
 
344
- #: system/mw_wp_form_admin_page.php:507
345
  msgid "Alphabet"
346
  msgstr ""
347
 
348
- #: system/mw_wp_form_admin_page.php:508
349
  msgid "Alphabet and Numeric"
350
  msgstr ""
351
 
352
- #: system/mw_wp_form_admin_page.php:509
353
  msgid "Zip code"
354
  msgstr ""
355
 
356
- #: system/mw_wp_form_admin_page.php:511
357
  msgid "E-mail"
358
  msgstr ""
359
 
360
- #: system/mw_wp_form_admin_page.php:512
361
  msgid "Date"
362
  msgstr ""
363
 
364
- #: system/mw_wp_form_admin_page.php:516
365
  msgid "The key at same value"
366
  msgstr ""
367
 
368
- #: system/mw_wp_form_admin_page.php:520
369
  msgid "The range of the number of characters"
370
  msgstr ""
371
 
372
- #: system/mw_wp_form_admin_page.php:528
373
  msgid "The number of the minimum characters"
374
  msgstr ""
375
 
376
- #: system/mw_wp_form_admin_page.php:532
377
  msgid "Permitted Extension"
378
  msgstr ""
379
 
380
- #: system/mw_wp_form_admin_page.php:533
381
  msgid "Example:jpg or jpg,txt,…"
382
  msgstr ""
383
 
384
- #: system/mw_wp_form_admin_page.php:536
385
  msgid "Permitted file size"
386
  msgstr ""
387
 
388
- #: system/mw_wp_form_admin_page.php:537
389
  msgid "bytes"
390
  msgstr ""
391
 
392
- #: system/mw_wp_form_admin_page.php:574
393
  msgid "Registed Date"
394
  msgstr ""
395
 
2
  # This file is distributed under the same license as the MW WP Form package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: MW WP Form 0.9\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
+ "POT-Creation-Date: 2013-06-21 10:17:01+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
18
  "X-Poedit-KeywordsList: __;_e\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
+ #: form_fields/mw_form_field_akismet_error.php:70
22
+ msgid "Akismet Error"
23
+ msgstr ""
24
+
25
  #: form_fields/mw_form_field_back_button.php:42
26
  #: form_fields/mw_form_field_back_button.php:72
27
  msgid "Back"
31
  msgid "Button"
32
  msgstr ""
33
 
34
+ #: form_fields/mw_form_field_checkbox.php:88
35
  msgid "Checkbox"
36
  msgstr ""
37
 
89
  msgid "Confirm &amp; Submit"
90
  msgstr ""
91
 
92
+ #: form_fields/mw_form_field_tel.php:81 system/mw_wp_form_admin_page.php:528
93
  msgid "Tel"
94
  msgstr ""
95
 
105
  msgid "Zip Code"
106
  msgstr ""
107
 
108
+ #: mw-wp-form.php:315
109
  msgid "Validation Object is not a MW Validation Class."
110
  msgstr ""
111
 
112
+ #: mw-wp-form.php:500
113
  msgid "Uploaded from "
114
  msgstr ""
115
 
177
  msgid "This file size is too big."
178
  msgstr ""
179
 
180
+ #: system/mw_validation.php:476
181
+ msgid "The contents which you input were judged with spam."
182
+ msgstr ""
183
+
184
  #: system/mw_wp_form_admin_page.php:66
185
  msgid "Add New Form"
186
  msgstr ""
283
  msgid "Saving contact data in database"
284
  msgstr ""
285
 
286
+ #: system/mw_wp_form_admin_page.php:370
287
+ msgid "Akismet Setting"
288
+ msgstr ""
289
+
290
+ #: system/mw_wp_form_admin_page.php:385
291
+ msgid "Input the key to use Akismet."
292
+ msgstr ""
293
+
294
+ #: system/mw_wp_form_admin_page.php:410 system/mw_wp_form_admin_page.php:442
295
  msgid "Subject"
296
  msgstr ""
297
 
298
+ #: system/mw_wp_form_admin_page.php:414 system/mw_wp_form_admin_page.php:446
299
  msgid "Ccontent"
300
  msgstr ""
301
 
302
+ #: system/mw_wp_form_admin_page.php:416 system/mw_wp_form_admin_page.php:448
303
  msgid "{key} is converted form data."
304
  msgstr ""
305
 
306
+ #: system/mw_wp_form_admin_page.php:419
307
  msgid "Automatic reply email"
308
  msgstr ""
309
 
310
+ #: system/mw_wp_form_admin_page.php:421
311
+ msgid "Input the key to use as transmission to automatic reply email."
312
  msgstr ""
313
 
314
+ #: system/mw_wp_form_admin_page.php:434
315
  msgid ""
316
  "If Admin Email Options is a blank, Automatic Replay Email Options is used as "
317
  "Admin Email Options."
318
  msgstr ""
319
 
320
+ #: system/mw_wp_form_admin_page.php:437
321
  msgid "To ( E-mail address )"
322
  msgstr ""
323
 
324
+ #: system/mw_wp_form_admin_page.php:439
325
  msgid "If empty: Using admin E-mail address."
326
  msgstr ""
327
 
328
+ #: system/mw_wp_form_admin_page.php:463
329
  msgid "Input Page URL"
330
  msgstr ""
331
 
332
+ #: system/mw_wp_form_admin_page.php:469
333
  msgid "Confirmation Page URL"
334
  msgstr ""
335
 
336
+ #: system/mw_wp_form_admin_page.php:475
337
  msgid "Complete Page URL"
338
  msgstr ""
339
 
340
+ #: system/mw_wp_form_admin_page.php:512
341
  msgid "Add Validation rule"
342
  msgstr ""
343
 
344
+ #: system/mw_wp_form_admin_page.php:518
345
  msgid "The key which applies validation"
346
  msgstr ""
347
 
348
+ #: system/mw_wp_form_admin_page.php:522
349
  msgid "No empty"
350
  msgstr ""
351
 
352
+ #: system/mw_wp_form_admin_page.php:523
353
  msgid "No empty( with checkbox )"
354
  msgstr ""
355
 
356
+ #: system/mw_wp_form_admin_page.php:524
357
  msgid "Numeric"
358
  msgstr ""
359
 
360
+ #: system/mw_wp_form_admin_page.php:525
361
  msgid "Alphabet"
362
  msgstr ""
363
 
364
+ #: system/mw_wp_form_admin_page.php:526
365
  msgid "Alphabet and Numeric"
366
  msgstr ""
367
 
368
+ #: system/mw_wp_form_admin_page.php:527
369
  msgid "Zip code"
370
  msgstr ""
371
 
372
+ #: system/mw_wp_form_admin_page.php:529
373
  msgid "E-mail"
374
  msgstr ""
375
 
376
+ #: system/mw_wp_form_admin_page.php:530
377
  msgid "Date"
378
  msgstr ""
379
 
380
+ #: system/mw_wp_form_admin_page.php:534
381
  msgid "The key at same value"
382
  msgstr ""
383
 
384
+ #: system/mw_wp_form_admin_page.php:538
385
  msgid "The range of the number of characters"
386
  msgstr ""
387
 
388
+ #: system/mw_wp_form_admin_page.php:546
389
  msgid "The number of the minimum characters"
390
  msgstr ""
391
 
392
+ #: system/mw_wp_form_admin_page.php:550
393
  msgid "Permitted Extension"
394
  msgstr ""
395
 
396
+ #: system/mw_wp_form_admin_page.php:551
397
  msgid "Example:jpg or jpg,txt,…"
398
  msgstr ""
399
 
400
+ #: system/mw_wp_form_admin_page.php:554
401
  msgid "Permitted file size"
402
  msgstr ""
403
 
404
+ #: system/mw_wp_form_admin_page.php:555
405
  msgid "bytes"
406
  msgstr ""
407
 
408
+ #: system/mw_wp_form_admin_page.php:592
409
  msgid "Registed Date"
410
  msgstr ""
411
 
mw-wp-form.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
5
  * Description: MW WP Form can create mail form with a confirmation screen.
6
- * Version: 0.8.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: September 25, 2012
10
- * Modified: May 29, 2013
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
@@ -306,12 +306,69 @@ class mw_wp_form {
306
  }
307
  }
308
 
 
 
 
 
309
  $this->Validation = apply_filters( $filterName, $this->Validation );
310
  if ( !is_a( $this->Validation, 'MW_Validation' ) ) {
311
  exit( __( 'Validation Object is not a MW Validation Class.', MWF_Config::DOMAIN ) );
312
  }
313
  }
314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  /**
316
  * apply_filters_mwform_mail
317
  * メール送信フィルター
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
5
  * Description: MW WP Form can create mail form with a confirmation screen.
6
+ * Version: 0.9
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: September 25, 2012
10
+ * Modified: June 21, 2013
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
306
  }
307
  }
308
 
309
+ if ( $this->akismet_check() ) {
310
+ $this->Validation->setRule( MWF_Config::AKISMET, 'akismet_check' );
311
+ }
312
+
313
  $this->Validation = apply_filters( $filterName, $this->Validation );
314
  if ( !is_a( $this->Validation, 'MW_Validation' ) ) {
315
  exit( __( 'Validation Object is not a MW Validation Class.', MWF_Config::DOMAIN ) );
316
  }
317
  }
318
 
319
+ protected function akismet_check() {
320
+ global $akismet_api_host, $akismet_api_port;
321
+ if ( ! function_exists( 'akismet_get_key' ) || ! akismet_get_key() )
322
+ return false;
323
+ $doAkismet = false;
324
+ $author = '';
325
+ $author_email = '';
326
+ $author_url = '';
327
+ $content = '';
328
+ if ( isset( $this->options_by_formkey['akismet_author'] ) ) {
329
+ if ( $author = $this->Data->getValue( $this->options_by_formkey['akismet_author'] ) )
330
+ $doAkismet = true;
331
+ }
332
+ if ( isset( $this->options_by_formkey['akismet_author_email'] ) ) {
333
+ if ( $author_email = $this->Data->getValue( $this->options_by_formkey['akismet_author_email'] ) )
334
+ $doAkismet = true;
335
+ }
336
+ if ( isset( $this->options_by_formkey['akismet_author_url'] ) ) {
337
+ if ( $author_url = $this->Data->getValue( $this->options_by_formkey['akismet_author_url'] ) )
338
+ $doAkismet = true;
339
+ }
340
+ if ( $doAkismet ) {
341
+ foreach ( $this->Data->getValues() as $value ) {
342
+ $content .= $value . "\n\n";
343
+ }
344
+ $permalink = get_permalink();
345
+ $akismet = array();
346
+ $akismet['blog'] = get_option( 'home' );
347
+ $akismet['blog_lang'] = get_locale();
348
+ $akismet['blog_charset'] = get_option( 'blog_charset' );
349
+ $akismet['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
350
+ $akismet['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
351
+ $akismet['referrer'] = $_SERVER['HTTP_REFERER'];
352
+ $akismet['comment_type'] = MWF_Config::NAME;
353
+ if ( $permalink ) $akismet['permalink'] = $permalink;
354
+ if ( $author ) $akismet['comment_author'] = $author;
355
+ if ( $author_email ) $akismet['comment_author_email'] = $author_email;
356
+ if ( $author_url ) $akismet['comment_author_url'] = $author_url;
357
+ if ( $content ) $akismet['comment_content'] = $content;
358
+
359
+ foreach ( $_SERVER as $key => $value ) {
360
+ if ( !in_array( $key, array( 'HTTP_COOKIE', 'HTTP_COOKIE2', 'PHP_AUTH_PW' ) ) )
361
+ $akismet["$key"] = $value;
362
+ }
363
+
364
+ $query_string = http_build_query( $akismet, null, '&' );
365
+ $response = akismet_http_post( $query_string, $akismet_api_host, '/1.1/comment-check', $akismet_api_port );
366
+ $response = apply_filters( 'mwform_akismet_responce', $response );
367
+
368
+ return ( $response[1] == 'true' ) ? true : false;
369
+ }
370
+ }
371
+
372
  /**
373
  * apply_filters_mwform_mail
374
  * メール送信フィルター
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: plugin, form, confirm, preview
5
  Requires at least: 3.4
6
  Tested up to: 3.5
7
- Stable tag: 0.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -21,10 +21,10 @@ MW WP Form can create mail form with a confirmation screen using shortcode.
21
 
22
  MW WP Form はショートコードを使って確認画面付きのメールフォームを作成することができるプラグインです。
23
 
24
- ・ショートコードを使用したフォーム生成
25
- ・確認画面が表示可能
26
- ・同一URL・個別URLでの画面変遷が可能
27
- ・豊富なバリデーションルール
28
 
29
  http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
30
 
@@ -36,6 +36,9 @@ http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
36
 
37
  == Changelog ==
38
 
 
 
 
39
  = 0.8.1 =
40
  * Cahged : functions.php を用いたフォーム作成は非推奨・サポート、メンテナンス停止
41
  * Added : チェックボックスで区切り文字の設定機能を追加
4
  Tags: plugin, form, confirm, preview
5
  Requires at least: 3.4
6
  Tested up to: 3.5
7
+ Stable tag: 0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
21
 
22
  MW WP Form はショートコードを使って確認画面付きのメールフォームを作成することができるプラグインです。
23
 
24
+ * ショートコードを使用したフォーム生成
25
+ * 確認画面が表示可能
26
+ * 同一URL・個別URLでの画面変遷が可能
27
+ * 豊富なバリデーションルール
28
 
29
  http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
30
 
36
 
37
  == Changelog ==
38
 
39
+ = 0.9 =
40
+ * Added : Akismet設定を追加
41
+
42
  = 0.8.1 =
43
  * Cahged : functions.php を用いたフォーム作成は非推奨・サポート、メンテナンス停止
44
  * Added : チェックボックスで区切り文字の設定機能を追加
system/mw_validation.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Validation
4
  * URI: http://2inc.org
5
  * Description: バリデーションクラス
6
- * Version: 1.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: July 20, 2012
10
- * Modified: May 29, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
@@ -464,6 +464,21 @@ class MW_Validation {
464
  return $_ret;
465
  }
466
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
467
  /**
468
  * Error
469
  * エラーオブジェクトを返す
3
  * Name: MW Validation
4
  * URI: http://2inc.org
5
  * Description: バリデーションクラス
6
+ * Version: 1.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: July 20, 2012
10
+ * Modified: June 21, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
464
  return $_ret;
465
  }
466
 
467
+ /**
468
+ * akismet_check
469
+ * Akismetのエラー。常にtrue。
470
+ * @param String キー
471
+ * Array ( 'message' => )
472
+ * @return String エラーメッセージ
473
+ */
474
+ public function akismet_check( $key, $options = array() ) {
475
+ $defaults = array(
476
+ 'message' => __( 'The contents which you input were judged with spam.', MWF_Config::DOMAIN )
477
+ );
478
+ $options = array_merge( $defaults, $options );
479
+ return $options['message'];
480
+ }
481
+
482
  /**
483
  * Error
484
  * エラーオブジェクトを返す
system/mw_wp_form_admin_page.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW WP Form Admin Page
4
  * URI: http://2inc.org
5
  * Description: 管理画面クラス
6
- * Version: 1.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: February 21, 2013
10
- * Modified: May 29, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
@@ -359,12 +359,30 @@ class MW_WP_Form_Admin_Page {
359
  ?>
360
  <p>
361
  <label><input type="checkbox" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[querystring]" value="1" <?php checked( $this->get_post_data( 'querystring' ), 1 ); ?> /> <?php _e( 'Activate Query string of post', MWF_Config::DOMAIN ); ?></label><br />
362
- <span class="mwf_note"><?php _e( 'If this field is active, MW WP Form get the post as query string "post_id" and you can use $post\'s property in editor', MWF_Config::DOMAIN ); ?></span><br />
363
- <?php _e( 'Example: {ID}, {post_title}, {post_meta} etc...', MWF_Config::DOMAIN ); ?>
364
  </p>
365
  <p>
366
- <input type="checkbox" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[usedb]" value="1" <?php checked( $this->get_post_data( 'usedb' ), 1 ); ?> /> <?php _e( 'Saving contact data in database', MWF_Config::DOMAIN ); ?></label>
367
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
368
  <?php
369
  }
370
 
@@ -400,7 +418,7 @@ class MW_WP_Form_Admin_Page {
400
  <p>
401
  <b><?php _e( 'Automatic reply email', MWF_Config::DOMAIN ); ?></b><br />
402
  <input type="text" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[automatic_reply_email]" value="<?php echo esc_attr( $this->get_post_data( 'automatic_reply_email') ); ?>" /><br />
403
- <span class="mwf_note"><?php _e( 'Please input the key to use as transmission to automatic reply email.', MWF_Config::DOMAIN ); ?></span>
404
  </p>
405
  <?php
406
  }
3
  * Name: MW WP Form Admin Page
4
  * URI: http://2inc.org
5
  * Description: 管理画面クラス
6
+ * Version: 1.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: February 21, 2013
10
+ * Modified: June 21, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
359
  ?>
360
  <p>
361
  <label><input type="checkbox" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[querystring]" value="1" <?php checked( $this->get_post_data( 'querystring' ), 1 ); ?> /> <?php _e( 'Activate Query string of post', MWF_Config::DOMAIN ); ?></label><br />
362
+ <span class="mwf_note"><?php _e( 'If this field is active, MW WP Form get the post as query string "post_id" and you can use $post\'s property in editor', MWF_Config::DOMAIN ); ?><br />
363
+ <?php _e( 'Example: {ID}, {post_title}, {post_meta} etc...', MWF_Config::DOMAIN ); ?></span>
364
  </p>
365
  <p>
366
+ <label><input type="checkbox" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[usedb]" value="1" <?php checked( $this->get_post_data( 'usedb' ), 1 ); ?> /> <?php _e( 'Saving contact data in database', MWF_Config::DOMAIN ); ?></label>
367
  </p>
368
+ <table border="0" cellpadding="0" cellspacing="0" class="akismet">
369
+ <tr>
370
+ <th colspan="2"><?php _e( 'Akismet Setting', MWF_Config::DOMAIN ); ?></th>
371
+ </tr>
372
+ <tr>
373
+ <td>author</td>
374
+ <td><input type="text" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[akismet_author]" value="<?php echo esc_attr( $this->get_post_data( 'akismet_author' ) ); ?>" /></td>
375
+ </tr>
376
+ <tr>
377
+ <td>email</td>
378
+ <td><input type="text" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[author_email]" value="<?php echo esc_attr( $this->get_post_data( 'akismet_author_email' ) ); ?>" /></td>
379
+ </tr>
380
+ <tr>
381
+ <td>url</td>
382
+ <td><input type="text" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[author_url]" value="<?php echo esc_attr( $this->get_post_data( 'akismet_author_url' ) ); ?>" /></td>
383
+ </tr>
384
+ </table>
385
+ <span class="mwf_note"><?php _e( 'Input the key to use Akismet.', MWF_Config::DOMAIN ); ?></span>
386
  <?php
387
  }
388
 
418
  <p>
419
  <b><?php _e( 'Automatic reply email', MWF_Config::DOMAIN ); ?></b><br />
420
  <input type="text" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[automatic_reply_email]" value="<?php echo esc_attr( $this->get_post_data( 'automatic_reply_email') ); ?>" /><br />
421
+ <span class="mwf_note"><?php _e( 'Input the key to use as transmission to automatic reply email.', MWF_Config::DOMAIN ); ?></span>
422
  </p>
423
  <?php
424
  }
system/mwf_config.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MWF_Config
4
  * URI: http://2inc.org
5
  * Description: 設定ファイル
6
- * Version: 1.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: May 29, 2013
10
- * Modified:
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
@@ -50,4 +50,10 @@ class MWF_Config {
50
  * アップロードファイルを示す name属性 を保存する配列、メタデータの名前
51
  */
52
  const UPLOAD_FILE_KEYS = 'mwf_upload_files';
 
 
 
 
 
 
53
  }
3
  * Name: MWF_Config
4
  * URI: http://2inc.org
5
  * Description: 設定ファイル
6
+ * Version: 1.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: May 29, 2013
10
+ * Modified: June, 21, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
50
  * アップロードファイルを示す name属性 を保存する配列、メタデータの名前
51
  */
52
  const UPLOAD_FILE_KEYS = 'mwf_upload_files';
53
+
54
+ /**
55
+ * AKISMET
56
+ * akismetのエラーを格納するValidationのキー
57
+ */
58
+ const AKISMET = 'mwf_akismet';
59
  }