Version Description
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- custom-field-template-ja.mo +0 -0
- custom-field-template-ja.po +136 -110
- custom-field-template.php +71 -16
- custom-field-template.pot +136 -110
- readme.txt +3 -1
custom-field-template-ja.mo
CHANGED
Binary file
|
custom-field-template-ja.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2009-03-
|
6 |
-
"PO-Revision-Date: 2009-03-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -16,346 +16,372 @@ msgstr ""
|
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
19 |
-
#: custom-field-template/custom-field-template.php:
|
20 |
-
#: custom-field-template/custom-field-template.php:
|
21 |
-
#: custom-field-template/custom-field-template.php:
|
22 |
-
#: custom-field-template/custom-field-template.php:
|
23 |
-
#: custom-field-template/custom-field-template.php:
|
24 |
-
#: custom-field-template/custom-field-template.php:
|
25 |
msgid "Custom Field Template"
|
26 |
msgstr "カスタムフィールドテンプレート"
|
27 |
|
28 |
-
#: custom-field-template/custom-field-template.php:
|
29 |
-
#: custom-field-template/custom-field-template.php:
|
30 |
msgid "Load"
|
31 |
msgstr "読込"
|
32 |
|
33 |
-
#: custom-field-template/custom-field-template.php:
|
34 |
msgid "read more"
|
35 |
msgstr "続きを表示"
|
36 |
|
37 |
-
#: custom-field-template/custom-field-template.php:
|
38 |
-
#: custom-field-template/custom-field-template.php:
|
39 |
msgid "Custom Fields"
|
40 |
msgstr "カスタムフィールド"
|
41 |
|
42 |
-
#: custom-field-template/custom-field-template.php:
|
43 |
msgid "Settings"
|
44 |
msgstr "設定"
|
45 |
|
46 |
-
#: custom-field-template/custom-field-template.php:
|
47 |
msgid "Default Template"
|
48 |
msgstr "デフォルトテンプレート"
|
49 |
|
50 |
-
#: custom-field-template/custom-field-template.php:
|
51 |
-
#: custom-field-template/custom-field-template.php:
|
52 |
-
#: custom-field-template/custom-field-template.php:
|
53 |
-
#: custom-field-template/custom-field-template.php:
|
54 |
-
#: custom-field-template/custom-field-template.php:
|
55 |
msgid "Options updated."
|
56 |
msgstr "オプションは更新されました。"
|
57 |
|
58 |
-
#: custom-field-template/custom-field-template.php:
|
59 |
msgid "Value Counts rebuilt."
|
60 |
msgstr "バリューカウントは再構築されました。"
|
61 |
|
62 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
63 |
msgid "Options resetted."
|
64 |
msgstr "オプションはリセットされました。"
|
65 |
|
66 |
-
#: custom-field-template/custom-field-template.php:
|
67 |
msgid "Options deleted."
|
68 |
msgstr "オプションは削除されました。"
|
69 |
|
70 |
-
#: custom-field-template/custom-field-template.php:
|
71 |
-
#: custom-field-template/custom-field-template.php:
|
72 |
-
#: custom-field-template/custom-field-template.php:
|
73 |
-
#: custom-field-template/custom-field-template.php:
|
74 |
-
#: custom-field-template/custom-field-template.php:
|
75 |
-
#: custom-field-template/custom-field-template.php:
|
76 |
-
#: custom-field-template/custom-field-template.php:
|
77 |
-
#: custom-field-template/custom-field-template.php:
|
78 |
-
#: custom-field-template/custom-field-template.php:
|
79 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
80 |
msgid "Click to toggle"
|
81 |
msgstr "クリックで切替"
|
82 |
|
83 |
-
#: custom-field-template/custom-field-template.php:
|
84 |
msgid "Custom Field Template Options"
|
85 |
msgstr "カスタムフィールドテンプレートオプション"
|
86 |
|
87 |
-
#: custom-field-template/custom-field-template.php:
|
88 |
msgid "Template Title"
|
89 |
msgstr "テンプレートタイトル"
|
90 |
|
91 |
-
#: custom-field-template/custom-field-template.php:
|
92 |
msgid "Template Instruction"
|
93 |
msgstr "テンプレートインストラクション"
|
94 |
|
95 |
-
#: custom-field-template/custom-field-template.php:
|
96 |
-
#: custom-field-template/custom-field-template.php:
|
97 |
msgid "Post Type"
|
98 |
msgstr "投稿タイプ"
|
99 |
|
100 |
-
#: custom-field-template/custom-field-template.php:
|
101 |
-
#: custom-field-template/custom-field-template.php:
|
102 |
msgid "Both"
|
103 |
msgstr "両方"
|
104 |
|
105 |
-
#: custom-field-template/custom-field-template.php:
|
106 |
-
#: custom-field-template/custom-field-template.php:
|
107 |
msgid "Post"
|
108 |
msgstr "投稿"
|
109 |
|
110 |
-
#: custom-field-template/custom-field-template.php:
|
111 |
-
#: custom-field-template/custom-field-template.php:
|
112 |
msgid "Page"
|
113 |
msgstr "ページ"
|
114 |
|
115 |
-
#: custom-field-template/custom-field-template.php:
|
116 |
-
#: custom-field-template/custom-field-template.php:
|
117 |
msgid "Category ID (comma-deliminated)"
|
118 |
msgstr "カテゴリーID(カンマ区切り)"
|
119 |
|
120 |
-
#: custom-field-template/custom-field-template.php:
|
121 |
msgid "Template Content"
|
122 |
msgstr "テンプレートコンテンツ"
|
123 |
|
124 |
-
#: custom-field-template/custom-field-template.php:
|
125 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
126 |
msgstr "カスタムフィールへの画像挿入を一度に複数枚実行する場合"
|
127 |
|
128 |
-
#: custom-field-template/custom-field-template.php:
|
129 |
msgid "Use multiple image inset"
|
130 |
msgstr "複数画像挿入を利用する"
|
131 |
|
132 |
-
#: custom-field-template/custom-field-template.php:
|
133 |
msgid "Caution:"
|
134 |
msgstr "ご注意:"
|
135 |
|
136 |
-
#: custom-field-template/custom-field-template.php:
|
137 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
138 |
msgstr "`wp-admin/includes/media.php`を編集する必要があります。media_send_to_editor関数の中身を削除するかコメントアウトしてください。"
|
139 |
|
140 |
-
#: custom-field-template/custom-field-template.php:
|
141 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
142 |
msgstr "`label`がセットされていて、カスタムフィールドのキーの代わりにラベルを表示したい場合"
|
143 |
|
144 |
-
#: custom-field-template/custom-field-template.php:
|
145 |
msgid "Use labels in place of custom keys"
|
146 |
msgstr "カスタムフィールドのキーの代わりにラベルを使用する"
|
147 |
|
148 |
-
#: custom-field-template/custom-field-template.php:
|
149 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
150 |
msgstr "テキストエリアでpタグ、brタグを自動的に追加したい場合"
|
151 |
|
152 |
-
#: custom-field-template/custom-field-template.php:
|
153 |
msgid "Use wpautop function"
|
154 |
msgstr "wpautop関数を使用する"
|
155 |
|
156 |
-
#: custom-field-template/custom-field-template.php:
|
157 |
msgid "In case that you would like to save values automatically in switching templates"
|
158 |
msgstr "テンプレート切替時自動で保存したい場合"
|
159 |
|
160 |
-
#: custom-field-template/custom-field-template.php:
|
161 |
msgid "Use the auto save in switching templates"
|
162 |
msgstr "テンプレート切替時の自動保存を使用する"
|
163 |
|
164 |
-
#: custom-field-template/custom-field-template.php:
|
165 |
msgid "In case that you would like to forbid to use the default custom fields."
|
166 |
msgstr "デフォルトのカスタムフィールドの使用を禁止する場合"
|
167 |
|
168 |
-
#: custom-field-template/custom-field-template.php:
|
169 |
msgid "Disable the default custom fields"
|
170 |
msgstr "デフォルトのカスタムフィールドを無効にする"
|
171 |
|
172 |
-
#: custom-field-template/custom-field-template.php:
|
173 |
msgid "In case that you would like to forbid to use the quick edit."
|
174 |
msgstr "クイック編集の使用を禁止する場合"
|
175 |
|
176 |
-
#: custom-field-template/custom-field-template.php:
|
177 |
msgid "Disable the quick edit"
|
178 |
msgstr "クイック編集を無効にする"
|
179 |
|
180 |
-
#: custom-field-template/custom-field-template.php:
|
181 |
msgid "In case that you would like to replace the box title with the template title."
|
182 |
msgstr "ボックスタイトルをテンプレートタイトルで置き換える場合"
|
183 |
|
184 |
-
#: custom-field-template/custom-field-template.php:
|
185 |
msgid "Replace the box title"
|
186 |
msgstr "ボックスタイトルを置き換える"
|
187 |
|
188 |
-
#: custom-field-template/custom-field-template.php:
|
189 |
msgid "In case that you would like to use the shortcode in the widget."
|
190 |
msgstr "ショートコードをウィジェットで使用したい場合"
|
191 |
|
192 |
-
#: custom-field-template/custom-field-template.php:
|
193 |
msgid "Use the shortcode in the widget"
|
194 |
msgstr "ショートコードをウィジェットで使用する"
|
195 |
|
196 |
-
#: custom-field-template/custom-field-template.php:
|
197 |
-
#: custom-field-template/custom-field-template.php:
|
198 |
-
#: custom-field-template/custom-field-template.php:
|
199 |
-
#: custom-field-template/custom-field-template.php:
|
200 |
-
#: custom-field-template/custom-field-template.php:
|
201 |
msgid "Update Options »"
|
202 |
msgstr "オプションを更新する »"
|
203 |
|
204 |
-
#: custom-field-template/custom-field-template.php:
|
205 |
msgid "ADMIN CSS"
|
206 |
msgstr "ADMIN CSS"
|
207 |
|
208 |
-
#: custom-field-template/custom-field-template.php:
|
209 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
210 |
msgstr "[cft] and [cftsearch] Shortcode Format"
|
211 |
|
212 |
-
#: custom-field-template/custom-field-template.php:
|
213 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
214 |
msgstr "[cft]では、[key]は、[key]の値に置換されます。"
|
215 |
|
216 |
-
#: custom-field-template/custom-field-template.php:
|
217 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
218 |
msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
|
219 |
|
220 |
-
#: custom-field-template/custom-field-template.php:
|
221 |
-
#: custom-field-template/custom-field-template.php:
|
222 |
msgid "Use PHP"
|
223 |
msgstr "PHPを使用する"
|
224 |
|
225 |
-
#: custom-field-template/custom-field-template.php:
|
226 |
msgid "PHP CODE (Experimental Option)"
|
227 |
msgstr "PHP CODE (Experimental Option)"
|
228 |
|
229 |
-
#: custom-field-template/custom-field-template.php:
|
230 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
231 |
msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
|
232 |
|
233 |
-
#: custom-field-template/custom-field-template.php:
|
234 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
235 |
msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
|
236 |
|
237 |
-
#: custom-field-template/custom-field-template.php:
|
238 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
239 |
msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
|
240 |
|
241 |
-
#: custom-field-template/custom-field-template.php:
|
242 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
243 |
msgstr "Auto Hook of `the_content()` (Experimental Option)"
|
244 |
|
245 |
-
#: custom-field-template/custom-field-template.php:
|
246 |
msgid "Position"
|
247 |
msgstr "位置"
|
248 |
|
249 |
-
#: custom-field-template/custom-field-template.php:
|
250 |
msgid "Before the conetnt"
|
251 |
msgstr "コンテンツの前"
|
252 |
|
253 |
-
#: custom-field-template/custom-field-template.php:
|
254 |
msgid "After the conetnt"
|
255 |
msgstr "コンテンツの後"
|
256 |
|
257 |
-
#: custom-field-template/custom-field-template.php:
|
258 |
#, php-format
|
259 |
msgid "Inside the conetnt ([cfthook hook=%d])"
|
260 |
msgstr "コンテンツの中 ([cfthook hook=%d])"
|
261 |
|
262 |
-
#: custom-field-template/custom-field-template.php:
|
263 |
msgid "Content"
|
264 |
msgstr "コンテンツ"
|
265 |
|
266 |
-
#: custom-field-template/custom-field-template.php:
|
267 |
msgid "Rebuild Value Counts"
|
268 |
msgstr "バリューカウントの再構築"
|
269 |
|
270 |
-
#: custom-field-template/custom-field-template.php:
|
271 |
msgid "Are you sure to rebuild all value counts?"
|
272 |
msgstr "本当に全てのバリューカウントを再構築しますか?"
|
273 |
|
274 |
-
#: custom-field-template/custom-field-template.php:
|
275 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
276 |
msgstr "バリューカウントはキーごとに値がどのくらいあるか一時的に保存するのに使用されます。`valueCount = true`をフィールドにセットしてください。"
|
277 |
|
278 |
-
#: custom-field-template/custom-field-template.php:
|
279 |
msgid "Rebuild Value Counts »"
|
280 |
msgstr "バリューカウントを再構築する »"
|
281 |
|
282 |
-
#: custom-field-template/custom-field-template.php:
|
283 |
msgid "Option List"
|
284 |
msgstr "オプションリスト"
|
285 |
|
286 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
msgid "Reset Options"
|
288 |
msgstr "オプションをリセットする"
|
289 |
|
290 |
-
#: custom-field-template/custom-field-template.php:
|
291 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
292 |
msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
|
293 |
|
294 |
-
#: custom-field-template/custom-field-template.php:
|
295 |
msgid "Unset Options »"
|
296 |
msgstr "オプションをリセットする »"
|
297 |
|
298 |
-
#: custom-field-template/custom-field-template.php:
|
299 |
msgid "Delete Options"
|
300 |
msgstr "オプションを削除する"
|
301 |
|
302 |
-
#: custom-field-template/custom-field-template.php:
|
303 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
304 |
msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
|
305 |
|
306 |
-
#: custom-field-template/custom-field-template.php:
|
307 |
msgid "Delete Options »"
|
308 |
msgstr "オプションを削除する »"
|
309 |
|
310 |
-
#: custom-field-template/custom-field-template.php:
|
311 |
msgid "Donation"
|
312 |
msgstr "寄付"
|
313 |
|
314 |
-
#: custom-field-template/custom-field-template.php:
|
315 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
316 |
msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
|
317 |
|
318 |
-
#: custom-field-template/custom-field-template.php:
|
319 |
msgid "Clear"
|
320 |
msgstr "解除"
|
321 |
|
322 |
-
#: custom-field-template/custom-field-template.php:
|
323 |
msgid "Select"
|
324 |
msgstr "選択してください"
|
325 |
|
326 |
-
#: custom-field-template/custom-field-template.php:
|
327 |
msgid "Add Media"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: custom-field-template/custom-field-template.php:
|
331 |
msgid "Add an Image"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: custom-field-template/custom-field-template.php:
|
335 |
msgid "Add Video"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: custom-field-template/custom-field-template.php:
|
339 |
msgid "Add Audio"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: custom-field-template/custom-field-template.php:
|
343 |
msgid "Toggle"
|
344 |
msgstr "切り替え"
|
345 |
|
346 |
-
#: custom-field-template/custom-field-template.php:
|
347 |
msgid "Initialize"
|
348 |
msgstr "初期化"
|
349 |
|
350 |
-
#: custom-field-template/custom-field-template.php:
|
351 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
352 |
msgstr "現在値をリセットしてもよろしいですか?初期値が読み込まれます。"
|
353 |
|
354 |
-
#: custom-field-template/custom-field-template.php:
|
355 |
msgid "Save"
|
356 |
msgstr "保存"
|
357 |
|
358 |
-
#: custom-field-template/custom-field-template.php:
|
359 |
msgid "Search »"
|
360 |
msgstr "検索 »"
|
361 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-03-31 19:55+0900\n"
|
6 |
+
"PO-Revision-Date: 2009-03-31 19:57+0900\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
19 |
+
#: custom-field-template/custom-field-template.php:118
|
20 |
+
#: custom-field-template/custom-field-template.php:119
|
21 |
+
#: custom-field-template/custom-field-template.php:449
|
22 |
+
#: custom-field-template/custom-field-template.php:629
|
23 |
+
#: custom-field-template/custom-field-template.php:1503
|
24 |
+
#: custom-field-template/custom-field-template.php:1623
|
25 |
msgid "Custom Field Template"
|
26 |
msgstr "カスタムフィールドテンプレート"
|
27 |
|
28 |
+
#: custom-field-template/custom-field-template.php:158
|
29 |
+
#: custom-field-template/custom-field-template.php:1715
|
30 |
msgid "Load"
|
31 |
msgstr "読込"
|
32 |
|
33 |
+
#: custom-field-template/custom-field-template.php:307
|
34 |
msgid "read more"
|
35 |
msgstr "続きを表示"
|
36 |
|
37 |
+
#: custom-field-template/custom-field-template.php:325
|
38 |
+
#: custom-field-template/custom-field-template.php:335
|
39 |
msgid "Custom Fields"
|
40 |
msgstr "カスタムフィールド"
|
41 |
|
42 |
+
#: custom-field-template/custom-field-template.php:365
|
43 |
msgid "Settings"
|
44 |
msgstr "設定"
|
45 |
|
46 |
+
#: custom-field-template/custom-field-template.php:377
|
47 |
msgid "Default Template"
|
48 |
msgstr "デフォルトテンプレート"
|
49 |
|
50 |
+
#: custom-field-template/custom-field-template.php:558
|
51 |
+
#: custom-field-template/custom-field-template.php:562
|
52 |
+
#: custom-field-template/custom-field-template.php:574
|
53 |
+
#: custom-field-template/custom-field-template.php:582
|
54 |
+
#: custom-field-template/custom-field-template.php:597
|
55 |
msgid "Options updated."
|
56 |
msgstr "オプションは更新されました。"
|
57 |
|
58 |
+
#: custom-field-template/custom-field-template.php:601
|
59 |
msgid "Value Counts rebuilt."
|
60 |
msgstr "バリューカウントは再構築されました。"
|
61 |
|
62 |
+
#: custom-field-template/custom-field-template.php:610
|
63 |
+
msgid "Options imported."
|
64 |
+
msgstr "オプションはインポートされました。"
|
65 |
+
|
66 |
+
#: custom-field-template/custom-field-template.php:617
|
67 |
msgid "Options resetted."
|
68 |
msgstr "オプションはリセットされました。"
|
69 |
|
70 |
+
#: custom-field-template/custom-field-template.php:621
|
71 |
msgid "Options deleted."
|
72 |
msgstr "オプションは削除されました。"
|
73 |
|
74 |
+
#: custom-field-template/custom-field-template.php:635
|
75 |
+
#: custom-field-template/custom-field-template.php:712
|
76 |
+
#: custom-field-template/custom-field-template.php:731
|
77 |
+
#: custom-field-template/custom-field-template.php:760
|
78 |
+
#: custom-field-template/custom-field-template.php:791
|
79 |
+
#: custom-field-template/custom-field-template.php:829
|
80 |
+
#: custom-field-template/custom-field-template.php:849
|
81 |
+
#: custom-field-template/custom-field-template.php:954
|
82 |
+
#: custom-field-template/custom-field-template.php:970
|
83 |
+
#: custom-field-template/custom-field-template.php:986
|
84 |
+
#: custom-field-template/custom-field-template.php:1002
|
85 |
+
#: custom-field-template/custom-field-template.php:1018
|
86 |
msgid "Click to toggle"
|
87 |
msgstr "クリックで切替"
|
88 |
|
89 |
+
#: custom-field-template/custom-field-template.php:636
|
90 |
msgid "Custom Field Template Options"
|
91 |
msgstr "カスタムフィールドテンプレートオプション"
|
92 |
|
93 |
+
#: custom-field-template/custom-field-template.php:646
|
94 |
msgid "Template Title"
|
95 |
msgstr "テンプレートタイトル"
|
96 |
|
97 |
+
#: custom-field-template/custom-field-template.php:648
|
98 |
msgid "Template Instruction"
|
99 |
msgstr "テンプレートインストラクション"
|
100 |
|
101 |
+
#: custom-field-template/custom-field-template.php:650
|
102 |
+
#: custom-field-template/custom-field-template.php:807
|
103 |
msgid "Post Type"
|
104 |
msgstr "投稿タイプ"
|
105 |
|
106 |
+
#: custom-field-template/custom-field-template.php:652
|
107 |
+
#: custom-field-template/custom-field-template.php:808
|
108 |
msgid "Both"
|
109 |
msgstr "両方"
|
110 |
|
111 |
+
#: custom-field-template/custom-field-template.php:653
|
112 |
+
#: custom-field-template/custom-field-template.php:809
|
113 |
msgid "Post"
|
114 |
msgstr "投稿"
|
115 |
|
116 |
+
#: custom-field-template/custom-field-template.php:654
|
117 |
+
#: custom-field-template/custom-field-template.php:810
|
118 |
msgid "Page"
|
119 |
msgstr "ページ"
|
120 |
|
121 |
+
#: custom-field-template/custom-field-template.php:655
|
122 |
+
#: custom-field-template/custom-field-template.php:811
|
123 |
msgid "Category ID (comma-deliminated)"
|
124 |
msgstr "カテゴリーID(カンマ区切り)"
|
125 |
|
126 |
+
#: custom-field-template/custom-field-template.php:657
|
127 |
msgid "Template Content"
|
128 |
msgstr "テンプレートコンテンツ"
|
129 |
|
130 |
+
#: custom-field-template/custom-field-template.php:664
|
131 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
132 |
msgstr "カスタムフィールへの画像挿入を一度に複数枚実行する場合"
|
133 |
|
134 |
+
#: custom-field-template/custom-field-template.php:665
|
135 |
msgid "Use multiple image inset"
|
136 |
msgstr "複数画像挿入を利用する"
|
137 |
|
138 |
+
#: custom-field-template/custom-field-template.php:665
|
139 |
msgid "Caution:"
|
140 |
msgstr "ご注意:"
|
141 |
|
142 |
+
#: custom-field-template/custom-field-template.php:665
|
143 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
144 |
msgstr "`wp-admin/includes/media.php`を編集する必要があります。media_send_to_editor関数の中身を削除するかコメントアウトしてください。"
|
145 |
|
146 |
+
#: custom-field-template/custom-field-template.php:669
|
147 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
148 |
msgstr "`label`がセットされていて、カスタムフィールドのキーの代わりにラベルを表示したい場合"
|
149 |
|
150 |
+
#: custom-field-template/custom-field-template.php:670
|
151 |
msgid "Use labels in place of custom keys"
|
152 |
msgstr "カスタムフィールドのキーの代わりにラベルを使用する"
|
153 |
|
154 |
+
#: custom-field-template/custom-field-template.php:673
|
155 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
156 |
msgstr "テキストエリアでpタグ、brタグを自動的に追加したい場合"
|
157 |
|
158 |
+
#: custom-field-template/custom-field-template.php:674
|
159 |
msgid "Use wpautop function"
|
160 |
msgstr "wpautop関数を使用する"
|
161 |
|
162 |
+
#: custom-field-template/custom-field-template.php:678
|
163 |
msgid "In case that you would like to save values automatically in switching templates"
|
164 |
msgstr "テンプレート切替時自動で保存したい場合"
|
165 |
|
166 |
+
#: custom-field-template/custom-field-template.php:679
|
167 |
msgid "Use the auto save in switching templates"
|
168 |
msgstr "テンプレート切替時の自動保存を使用する"
|
169 |
|
170 |
+
#: custom-field-template/custom-field-template.php:683
|
171 |
msgid "In case that you would like to forbid to use the default custom fields."
|
172 |
msgstr "デフォルトのカスタムフィールドの使用を禁止する場合"
|
173 |
|
174 |
+
#: custom-field-template/custom-field-template.php:684
|
175 |
msgid "Disable the default custom fields"
|
176 |
msgstr "デフォルトのカスタムフィールドを無効にする"
|
177 |
|
178 |
+
#: custom-field-template/custom-field-template.php:688
|
179 |
msgid "In case that you would like to forbid to use the quick edit."
|
180 |
msgstr "クイック編集の使用を禁止する場合"
|
181 |
|
182 |
+
#: custom-field-template/custom-field-template.php:689
|
183 |
msgid "Disable the quick edit"
|
184 |
msgstr "クイック編集を無効にする"
|
185 |
|
186 |
+
#: custom-field-template/custom-field-template.php:693
|
187 |
msgid "In case that you would like to replace the box title with the template title."
|
188 |
msgstr "ボックスタイトルをテンプレートタイトルで置き換える場合"
|
189 |
|
190 |
+
#: custom-field-template/custom-field-template.php:694
|
191 |
msgid "Replace the box title"
|
192 |
msgstr "ボックスタイトルを置き換える"
|
193 |
|
194 |
+
#: custom-field-template/custom-field-template.php:698
|
195 |
msgid "In case that you would like to use the shortcode in the widget."
|
196 |
msgstr "ショートコードをウィジェットで使用したい場合"
|
197 |
|
198 |
+
#: custom-field-template/custom-field-template.php:699
|
199 |
msgid "Use the shortcode in the widget"
|
200 |
msgstr "ショートコードをウィジェットで使用する"
|
201 |
|
202 |
+
#: custom-field-template/custom-field-template.php:703
|
203 |
+
#: custom-field-template/custom-field-template.php:722
|
204 |
+
#: custom-field-template/custom-field-template.php:751
|
205 |
+
#: custom-field-template/custom-field-template.php:782
|
206 |
+
#: custom-field-template/custom-field-template.php:820
|
207 |
msgid "Update Options »"
|
208 |
msgstr "オプションを更新する »"
|
209 |
|
210 |
+
#: custom-field-template/custom-field-template.php:713
|
211 |
msgid "ADMIN CSS"
|
212 |
msgstr "ADMIN CSS"
|
213 |
|
214 |
+
#: custom-field-template/custom-field-template.php:732
|
215 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
216 |
msgstr "[cft] and [cftsearch] Shortcode Format"
|
217 |
|
218 |
+
#: custom-field-template/custom-field-template.php:735
|
219 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
220 |
msgstr "[cft]では、[key]は、[key]の値に置換されます。"
|
221 |
|
222 |
+
#: custom-field-template/custom-field-template.php:736
|
223 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
224 |
msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
|
225 |
|
226 |
+
#: custom-field-template/custom-field-template.php:745
|
227 |
+
#: custom-field-template/custom-field-template.php:814
|
228 |
msgid "Use PHP"
|
229 |
msgstr "PHPを使用する"
|
230 |
|
231 |
+
#: custom-field-template/custom-field-template.php:761
|
232 |
msgid "PHP CODE (Experimental Option)"
|
233 |
msgstr "PHP CODE (Experimental Option)"
|
234 |
|
235 |
+
#: custom-field-template/custom-field-template.php:763
|
236 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
237 |
msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
|
238 |
|
239 |
+
#: custom-field-template/custom-field-template.php:764
|
240 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
241 |
msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
|
242 |
|
243 |
+
#: custom-field-template/custom-field-template.php:766
|
244 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
245 |
msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
|
246 |
|
247 |
+
#: custom-field-template/custom-field-template.php:792
|
248 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
249 |
msgstr "Auto Hook of `the_content()` (Experimental Option)"
|
250 |
|
251 |
+
#: custom-field-template/custom-field-template.php:802
|
252 |
msgid "Position"
|
253 |
msgstr "位置"
|
254 |
|
255 |
+
#: custom-field-template/custom-field-template.php:803
|
256 |
msgid "Before the conetnt"
|
257 |
msgstr "コンテンツの前"
|
258 |
|
259 |
+
#: custom-field-template/custom-field-template.php:804
|
260 |
msgid "After the conetnt"
|
261 |
msgstr "コンテンツの後"
|
262 |
|
263 |
+
#: custom-field-template/custom-field-template.php:805
|
264 |
#, php-format
|
265 |
msgid "Inside the conetnt ([cfthook hook=%d])"
|
266 |
msgstr "コンテンツの中 ([cfthook hook=%d])"
|
267 |
|
268 |
+
#: custom-field-template/custom-field-template.php:813
|
269 |
msgid "Content"
|
270 |
msgstr "コンテンツ"
|
271 |
|
272 |
+
#: custom-field-template/custom-field-template.php:830
|
273 |
msgid "Rebuild Value Counts"
|
274 |
msgstr "バリューカウントの再構築"
|
275 |
|
276 |
+
#: custom-field-template/custom-field-template.php:832
|
277 |
msgid "Are you sure to rebuild all value counts?"
|
278 |
msgstr "本当に全てのバリューカウントを再構築しますか?"
|
279 |
|
280 |
+
#: custom-field-template/custom-field-template.php:836
|
281 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
282 |
msgstr "バリューカウントはキーごとに値がどのくらいあるか一時的に保存するのに使用されます。`valueCount = true`をフィールドにセットしてください。"
|
283 |
|
284 |
+
#: custom-field-template/custom-field-template.php:840
|
285 |
msgid "Rebuild Value Counts »"
|
286 |
msgstr "バリューカウントを再構築する »"
|
287 |
|
288 |
+
#: custom-field-template/custom-field-template.php:850
|
289 |
msgid "Option List"
|
290 |
msgstr "オプションリスト"
|
291 |
|
292 |
+
#: custom-field-template/custom-field-template.php:955
|
293 |
+
msgid "Export Options"
|
294 |
+
msgstr "オプションをエクスポートする"
|
295 |
+
|
296 |
+
#: custom-field-template/custom-field-template.php:961
|
297 |
+
msgid "Export Options »"
|
298 |
+
msgstr "オプションをエクスポートする »"
|
299 |
+
|
300 |
+
#: custom-field-template/custom-field-template.php:971
|
301 |
+
msgid "Import Options"
|
302 |
+
msgstr "オプションをインポートする"
|
303 |
+
|
304 |
+
#: custom-field-template/custom-field-template.php:973
|
305 |
+
msgid "Are you sure to import options? Options you set will be overwritten."
|
306 |
+
msgstr "本当にオプションをインポートしてもよろしいですか?設定したオプションは上書きされます。"
|
307 |
+
|
308 |
+
#: custom-field-template/custom-field-template.php:977
|
309 |
+
msgid "Import Options »"
|
310 |
+
msgstr "オプションをインポートする »"
|
311 |
+
|
312 |
+
#: custom-field-template/custom-field-template.php:987
|
313 |
msgid "Reset Options"
|
314 |
msgstr "オプションをリセットする"
|
315 |
|
316 |
+
#: custom-field-template/custom-field-template.php:989
|
317 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
318 |
msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
|
319 |
|
320 |
+
#: custom-field-template/custom-field-template.php:993
|
321 |
msgid "Unset Options »"
|
322 |
msgstr "オプションをリセットする »"
|
323 |
|
324 |
+
#: custom-field-template/custom-field-template.php:1003
|
325 |
msgid "Delete Options"
|
326 |
msgstr "オプションを削除する"
|
327 |
|
328 |
+
#: custom-field-template/custom-field-template.php:1005
|
329 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
330 |
msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
|
331 |
|
332 |
+
#: custom-field-template/custom-field-template.php:1009
|
333 |
msgid "Delete Options »"
|
334 |
msgstr "オプションを削除する »"
|
335 |
|
336 |
+
#: custom-field-template/custom-field-template.php:1019
|
337 |
msgid "Donation"
|
338 |
msgstr "寄付"
|
339 |
|
340 |
+
#: custom-field-template/custom-field-template.php:1021
|
341 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
342 |
msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
|
343 |
|
344 |
+
#: custom-field-template/custom-field-template.php:1210
|
345 |
msgid "Clear"
|
346 |
msgstr "解除"
|
347 |
|
348 |
+
#: custom-field-template/custom-field-template.php:1285
|
349 |
msgid "Select"
|
350 |
msgstr "選択してください"
|
351 |
|
352 |
+
#: custom-field-template/custom-field-template.php:1344
|
353 |
msgid "Add Media"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: custom-field-template/custom-field-template.php:1346
|
357 |
msgid "Add an Image"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: custom-field-template/custom-field-template.php:1348
|
361 |
msgid "Add Video"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: custom-field-template/custom-field-template.php:1350
|
365 |
msgid "Add Audio"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: custom-field-template/custom-field-template.php:1361
|
369 |
msgid "Toggle"
|
370 |
msgstr "切り替え"
|
371 |
|
372 |
+
#: custom-field-template/custom-field-template.php:1664
|
373 |
msgid "Initialize"
|
374 |
msgstr "初期化"
|
375 |
|
376 |
+
#: custom-field-template/custom-field-template.php:1665
|
377 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
378 |
msgstr "現在値をリセットしてもよろしいですか?初期値が読み込まれます。"
|
379 |
|
380 |
+
#: custom-field-template/custom-field-template.php:1668
|
381 |
msgid "Save"
|
382 |
msgstr "保存"
|
383 |
|
384 |
+
#: custom-field-template/custom-field-template.php:2062
|
385 |
msgid "Search »"
|
386 |
msgstr "検索 »"
|
387 |
|
custom-field-template.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
|
|
4 |
Plugin URI: http://wordpressgogo.com/development/custom-field-template.html
|
5 |
Description: This plugin adds the default custom fields on the Write Post/Page.
|
6 |
Author: Hiroaki Miyashita
|
7 |
-
Version: 1.1.
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
@@ -86,6 +86,17 @@ class custom_field_template {
|
|
86 |
}
|
87 |
}
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
if ( $options['custom_field_template_widget_shortcode'] )
|
90 |
add_filter('widget_text', 'do_shortcode');
|
91 |
|
@@ -588,6 +599,17 @@ mediaButton = true';
|
|
588 |
$this->custom_field_template_rebuild_value_counts();
|
589 |
$options = $this->get_custom_field_template_data();
|
590 |
$message = __('Value Counts rebuilt.', 'custom-field-template');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
591 |
elseif ($_POST['custom_field_template_unset_options_submit']) :
|
592 |
$this->install_custom_field_template_data();
|
593 |
$this->install_custom_field_template_css();
|
@@ -912,6 +934,12 @@ hideKey = true<br />
|
|
912 |
<th>class</th><td>class = text</td><td>class = checkbox</td><td>class = radio</td><td>class = select</td><td>class = textarea</td>
|
913 |
</tr>
|
914 |
<tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
915 |
<th>valueCount</th><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td>
|
916 |
</tr>
|
917 |
<tr>
|
@@ -922,6 +950,38 @@ hideKey = true<br />
|
|
922 |
</div>
|
923 |
</div>
|
924 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
925 |
<div class="postbox closed">
|
926 |
<div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
|
927 |
<h3><?php _e('Reset Options', 'custom-field-template'); ?></h3>
|
@@ -1009,7 +1069,7 @@ jQuery(this).addClass("closed");
|
|
1009 |
return $custom_fields;
|
1010 |
}
|
1011 |
|
1012 |
-
function make_textfield( $name, $sid, $size = 25, $default, $hideKey, $label, $code, $class,
|
1013 |
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
|
1014 |
$options = $this->get_custom_field_template_data();
|
1015 |
|
@@ -1053,7 +1113,7 @@ jQuery(this).addClass("closed");
|
|
1053 |
|
1054 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1055 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1056 |
-
$out .= '<input id="' . $name . $sid . '" name="' . $name . '[]" value="' . attribute_escape(trim($value)) . '" type="text" size="' . $size . '"' . $class . $event_output . '
|
1057 |
'</dl>';
|
1058 |
return $out;
|
1059 |
}
|
@@ -1177,7 +1237,7 @@ jQuery(this).addClass("closed");
|
|
1177 |
return $out;
|
1178 |
}
|
1179 |
|
1180 |
-
function make_select( $name, $sid, $values, $valueLabel, $default, $hideKey, $label, $code, $class, $selectLabel,
|
1181 |
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
|
1182 |
$options = $this->get_custom_field_template_data();
|
1183 |
|
@@ -1217,7 +1277,7 @@ jQuery(this).addClass("closed");
|
|
1217 |
|
1218 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1219 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1220 |
-
$out .= '<select id="' . $name . $sid . '" name="' . $name . '[]"' . $class . $event_output . '>';
|
1221 |
|
1222 |
if ( $selectLabel )
|
1223 |
$out .= '<option value="" >' . stripcslashes(trim($selectLabel)) . '</option>';
|
@@ -1236,7 +1296,7 @@ jQuery(this).addClass("closed");
|
|
1236 |
$out .= '</option>';
|
1237 |
$i++;
|
1238 |
}
|
1239 |
-
$out .= '</select
|
1240 |
|
1241 |
return $out;
|
1242 |
}
|
@@ -1389,7 +1449,7 @@ EOF;
|
|
1389 |
$out .= '</div><div' . $class . '>';
|
1390 |
}
|
1391 |
else if( $data[$i]['type'] == 'textfield' || $data[$i]['type'] == 'text' ) {
|
1392 |
-
$out .= $this->make_textfield( $title, $i, $data[$i]['size'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'],
|
1393 |
$data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
|
1394 |
}
|
1395 |
else if( $data[$i]['type'] == 'checkbox' ) {
|
@@ -1406,7 +1466,7 @@ EOF;
|
|
1406 |
else if( $data[$i]['type'] == 'select' ) {
|
1407 |
$out .=
|
1408 |
$this->make_select(
|
1409 |
-
$title, $i, explode( '#', $data[$i]['value'] ), explode( '#', $data[$i]['valueLabel'] ), $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['selectLabel'],
|
1410 |
$data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
|
1411 |
}
|
1412 |
else if( $data[$i]['type'] == 'textarea' ) {
|
@@ -1698,15 +1758,10 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1698 |
|
1699 |
if ( $fields == null )
|
1700 |
return;
|
1701 |
-
|
1702 |
-
|
1703 |
-
$name = $this->sanitize_name( $title );
|
1704 |
-
$title = $wpdb->escape(stripcslashes(trim($title)));
|
1705 |
-
delete_post_meta($id, $title);
|
1706 |
-
}*/
|
1707 |
-
|
1708 |
-
if ( !class_exists('SimpleTags') )
|
1709 |
$tags_input = explode(",", $_POST['tags_input']);
|
|
|
1710 |
|
1711 |
foreach( $fields as $title => $data) {
|
1712 |
$name = $this->sanitize_name( $title );
|
4 |
Plugin URI: http://wordpressgogo.com/development/custom-field-template.html
|
5 |
Description: This plugin adds the default custom fields on the Write Post/Page.
|
6 |
Author: Hiroaki Miyashita
|
7 |
+
Version: 1.1.3
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
86 |
}
|
87 |
}
|
88 |
|
89 |
+
if ( function_exists('current_user_can') && current_user_can('edit_plugins') ) :
|
90 |
+
if ( $_POST['custom_field_template_export_options_submit'] ) :
|
91 |
+
$filename = "cft".date('Ymd');
|
92 |
+
header("Accept-Ranges: none");
|
93 |
+
header("Content-Disposition: attachment; filename=$filename");
|
94 |
+
header('Content-Type: application/octet-stream');
|
95 |
+
echo maybe_serialize($options);
|
96 |
+
exit();
|
97 |
+
endif;
|
98 |
+
endif;
|
99 |
+
|
100 |
if ( $options['custom_field_template_widget_shortcode'] )
|
101 |
add_filter('widget_text', 'do_shortcode');
|
102 |
|
599 |
$this->custom_field_template_rebuild_value_counts();
|
600 |
$options = $this->get_custom_field_template_data();
|
601 |
$message = __('Value Counts rebuilt.', 'custom-field-template');
|
602 |
+
elseif ($_POST['custom_field_template_import_options_submit']) :
|
603 |
+
if ( is_uploaded_file($_FILES['cftfile']['tmp_name']) ) :
|
604 |
+
ob_start();
|
605 |
+
readfile ($_FILES['cftfile']['tmp_name']);
|
606 |
+
$import = ob_get_contents();
|
607 |
+
ob_end_clean();
|
608 |
+
$import = maybe_unserialize($import);
|
609 |
+
update_option('custom_field_template_data', $import);
|
610 |
+
$message = __('Options imported.', 'custom-field-template');
|
611 |
+
$options = $this->get_custom_field_template_data();
|
612 |
+
endif;
|
613 |
elseif ($_POST['custom_field_template_unset_options_submit']) :
|
614 |
$this->install_custom_field_template_data();
|
615 |
$this->install_custom_field_template_css();
|
934 |
<th>class</th><td>class = text</td><td>class = checkbox</td><td>class = radio</td><td>class = select</td><td>class = textarea</td>
|
935 |
</tr>
|
936 |
<tr>
|
937 |
+
<th>before</th><td>before = abcde</td><td></td><td></td><td>before = abcde</td><td></td>
|
938 |
+
</tr>
|
939 |
+
<tr>
|
940 |
+
<th>after</th><td>after = abcde</td><td></td><td></td><td>after = abcde</td><td></td>
|
941 |
+
</tr>
|
942 |
+
<tr>
|
943 |
<th>valueCount</th><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td>
|
944 |
</tr>
|
945 |
<tr>
|
950 |
</div>
|
951 |
</div>
|
952 |
|
953 |
+
<div class="postbox closed">
|
954 |
+
<div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
|
955 |
+
<h3><?php _e('Export Options', 'custom-field-template'); ?></h3>
|
956 |
+
<div class="inside">
|
957 |
+
<form method="post">
|
958 |
+
<table class="form-table" style="margin-bottom:5px;">
|
959 |
+
<tbody>
|
960 |
+
<tr><td>
|
961 |
+
<p><input type="submit" name="custom_field_template_export_options_submit" value="<?php _e('Export Options »', 'custom-field-template'); ?>" class="button-primary" /></p>
|
962 |
+
</td></tr>
|
963 |
+
</tbody>
|
964 |
+
</table>
|
965 |
+
</form>
|
966 |
+
</div>
|
967 |
+
</div>
|
968 |
+
|
969 |
+
<div class="postbox closed">
|
970 |
+
<div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
|
971 |
+
<h3><?php _e('Import Options', 'custom-field-template'); ?></h3>
|
972 |
+
<div class="inside">
|
973 |
+
<form method="post" enctype="multipart/form-data" onsubmit="return confirm('<?php _e('Are you sure to import options? Options you set will be overwritten.', 'custom-field-template'); ?>');">
|
974 |
+
<table class="form-table" style="margin-bottom:5px;">
|
975 |
+
<tbody>
|
976 |
+
<tr><td>
|
977 |
+
<p><input type="file" name="cftfile" /> <input type="submit" name="custom_field_template_import_options_submit" value="<?php _e('Import Options »', 'custom-field-template'); ?>" class="button-primary" /></p>
|
978 |
+
</td></tr>
|
979 |
+
</tbody>
|
980 |
+
</table>
|
981 |
+
</form>
|
982 |
+
</div>
|
983 |
+
</div>
|
984 |
+
|
985 |
<div class="postbox closed">
|
986 |
<div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
|
987 |
<h3><?php _e('Reset Options', 'custom-field-template'); ?></h3>
|
1069 |
return $custom_fields;
|
1070 |
}
|
1071 |
|
1072 |
+
function make_textfield( $name, $sid, $size = 25, $default, $hideKey, $label, $code, $class, $before, $after,
|
1073 |
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
|
1074 |
$options = $this->get_custom_field_template_data();
|
1075 |
|
1113 |
|
1114 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1115 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1116 |
+
$out .= trim($before).'<input id="' . $name . $sid . '" name="' . $name . '[]" value="' . attribute_escape(trim($value)) . '" type="text" size="' . $size . '"' . $class . $event_output . ' />'.trim($after).'</dd>' .
|
1117 |
'</dl>';
|
1118 |
return $out;
|
1119 |
}
|
1237 |
return $out;
|
1238 |
}
|
1239 |
|
1240 |
+
function make_select( $name, $sid, $values, $valueLabel, $default, $hideKey, $label, $code, $class, $before, $after, $selectLabel,
|
1241 |
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
|
1242 |
$options = $this->get_custom_field_template_data();
|
1243 |
|
1277 |
|
1278 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1279 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1280 |
+
$out .= trim($before).'<select id="' . $name . $sid . '" name="' . $name . '[]"' . $class . $event_output . '>';
|
1281 |
|
1282 |
if ( $selectLabel )
|
1283 |
$out .= '<option value="" >' . stripcslashes(trim($selectLabel)) . '</option>';
|
1296 |
$out .= '</option>';
|
1297 |
$i++;
|
1298 |
}
|
1299 |
+
$out .= '</select>'.trim($after).'</dd></dl>';
|
1300 |
|
1301 |
return $out;
|
1302 |
}
|
1449 |
$out .= '</div><div' . $class . '>';
|
1450 |
}
|
1451 |
else if( $data[$i]['type'] == 'textfield' || $data[$i]['type'] == 'text' ) {
|
1452 |
+
$out .= $this->make_textfield( $title, $i, $data[$i]['size'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['before'], $data[$i]['after'],
|
1453 |
$data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
|
1454 |
}
|
1455 |
else if( $data[$i]['type'] == 'checkbox' ) {
|
1466 |
else if( $data[$i]['type'] == 'select' ) {
|
1467 |
$out .=
|
1468 |
$this->make_select(
|
1469 |
+
$title, $i, explode( '#', $data[$i]['value'] ), explode( '#', $data[$i]['valueLabel'] ), $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['before'], $data[$i]['after'], $data[$i]['selectLabel'],
|
1470 |
$data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
|
1471 |
}
|
1472 |
else if( $data[$i]['type'] == 'textarea' ) {
|
1758 |
|
1759 |
if ( $fields == null )
|
1760 |
return;
|
1761 |
+
|
1762 |
+
if ( !class_exists('SimpleTags') && strstr($_POST['tags_input'], ',') ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
1763 |
$tags_input = explode(",", $_POST['tags_input']);
|
1764 |
+
}
|
1765 |
|
1766 |
foreach( $fields as $title => $data) {
|
1767 |
$name = $this->sanitize_name( $title );
|
custom-field-template.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2009-03-
|
6 |
-
"PO-Revision-Date: 2009-03-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -13,346 +13,372 @@ msgstr ""
|
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
15 |
|
16 |
-
#: custom-field-template/custom-field-template.php:
|
17 |
-
#: custom-field-template/custom-field-template.php:
|
18 |
-
#: custom-field-template/custom-field-template.php:
|
19 |
-
#: custom-field-template/custom-field-template.php:
|
20 |
-
#: custom-field-template/custom-field-template.php:
|
21 |
-
#: custom-field-template/custom-field-template.php:
|
22 |
msgid "Custom Field Template"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: custom-field-template/custom-field-template.php:
|
26 |
-
#: custom-field-template/custom-field-template.php:
|
27 |
msgid "Load"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: custom-field-template/custom-field-template.php:
|
31 |
msgid "read more"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: custom-field-template/custom-field-template.php:
|
35 |
-
#: custom-field-template/custom-field-template.php:
|
36 |
msgid "Custom Fields"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: custom-field-template/custom-field-template.php:
|
40 |
msgid "Settings"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: custom-field-template/custom-field-template.php:
|
44 |
msgid "Default Template"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: custom-field-template/custom-field-template.php:
|
48 |
-
#: custom-field-template/custom-field-template.php:
|
49 |
-
#: custom-field-template/custom-field-template.php:
|
50 |
-
#: custom-field-template/custom-field-template.php:
|
51 |
-
#: custom-field-template/custom-field-template.php:
|
52 |
msgid "Options updated."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: custom-field-template/custom-field-template.php:
|
56 |
msgid "Value Counts rebuilt."
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
60 |
msgid "Options resetted."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: custom-field-template/custom-field-template.php:
|
64 |
msgid "Options deleted."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: custom-field-template/custom-field-template.php:
|
68 |
-
#: custom-field-template/custom-field-template.php:
|
69 |
-
#: custom-field-template/custom-field-template.php:
|
70 |
-
#: custom-field-template/custom-field-template.php:
|
71 |
-
#: custom-field-template/custom-field-template.php:
|
72 |
-
#: custom-field-template/custom-field-template.php:
|
73 |
-
#: custom-field-template/custom-field-template.php:
|
74 |
-
#: custom-field-template/custom-field-template.php:
|
75 |
-
#: custom-field-template/custom-field-template.php:
|
76 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
77 |
msgid "Click to toggle"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: custom-field-template/custom-field-template.php:
|
81 |
msgid "Custom Field Template Options"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: custom-field-template/custom-field-template.php:
|
85 |
msgid "Template Title"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: custom-field-template/custom-field-template.php:
|
89 |
msgid "Template Instruction"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: custom-field-template/custom-field-template.php:
|
93 |
-
#: custom-field-template/custom-field-template.php:
|
94 |
msgid "Post Type"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: custom-field-template/custom-field-template.php:
|
98 |
-
#: custom-field-template/custom-field-template.php:
|
99 |
msgid "Both"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: custom-field-template/custom-field-template.php:
|
103 |
-
#: custom-field-template/custom-field-template.php:
|
104 |
msgid "Post"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: custom-field-template/custom-field-template.php:
|
108 |
-
#: custom-field-template/custom-field-template.php:
|
109 |
msgid "Page"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: custom-field-template/custom-field-template.php:
|
113 |
-
#: custom-field-template/custom-field-template.php:
|
114 |
msgid "Category ID (comma-deliminated)"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: custom-field-template/custom-field-template.php:
|
118 |
msgid "Template Content"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: custom-field-template/custom-field-template.php:
|
122 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: custom-field-template/custom-field-template.php:
|
126 |
msgid "Use multiple image inset"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: custom-field-template/custom-field-template.php:
|
130 |
msgid "Caution:"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: custom-field-template/custom-field-template.php:
|
134 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: custom-field-template/custom-field-template.php:
|
138 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: custom-field-template/custom-field-template.php:
|
142 |
msgid "Use labels in place of custom keys"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: custom-field-template/custom-field-template.php:
|
146 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: custom-field-template/custom-field-template.php:
|
150 |
msgid "Use wpautop function"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: custom-field-template/custom-field-template.php:
|
154 |
msgid "In case that you would like to save values automatically in switching templates"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: custom-field-template/custom-field-template.php:
|
158 |
msgid "Use the auto save in switching templates"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: custom-field-template/custom-field-template.php:
|
162 |
msgid "In case that you would like to forbid to use the default custom fields."
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: custom-field-template/custom-field-template.php:
|
166 |
msgid "Disable the default custom fields"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: custom-field-template/custom-field-template.php:
|
170 |
msgid "In case that you would like to forbid to use the quick edit."
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: custom-field-template/custom-field-template.php:
|
174 |
msgid "Disable the quick edit"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: custom-field-template/custom-field-template.php:
|
178 |
msgid "In case that you would like to replace the box title with the template title."
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: custom-field-template/custom-field-template.php:
|
182 |
msgid "Replace the box title"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: custom-field-template/custom-field-template.php:
|
186 |
msgid "In case that you would like to use the shortcode in the widget."
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: custom-field-template/custom-field-template.php:
|
190 |
msgid "Use the shortcode in the widget"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: custom-field-template/custom-field-template.php:
|
194 |
-
#: custom-field-template/custom-field-template.php:
|
195 |
-
#: custom-field-template/custom-field-template.php:
|
196 |
-
#: custom-field-template/custom-field-template.php:
|
197 |
-
#: custom-field-template/custom-field-template.php:
|
198 |
msgid "Update Options »"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: custom-field-template/custom-field-template.php:
|
202 |
msgid "ADMIN CSS"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: custom-field-template/custom-field-template.php:
|
206 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: custom-field-template/custom-field-template.php:
|
210 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: custom-field-template/custom-field-template.php:
|
214 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: custom-field-template/custom-field-template.php:
|
218 |
-
#: custom-field-template/custom-field-template.php:
|
219 |
msgid "Use PHP"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: custom-field-template/custom-field-template.php:
|
223 |
msgid "PHP CODE (Experimental Option)"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: custom-field-template/custom-field-template.php:
|
227 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: custom-field-template/custom-field-template.php:
|
231 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: custom-field-template/custom-field-template.php:
|
235 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: custom-field-template/custom-field-template.php:
|
239 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: custom-field-template/custom-field-template.php:
|
243 |
msgid "Position"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: custom-field-template/custom-field-template.php:
|
247 |
msgid "Before the conetnt"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: custom-field-template/custom-field-template.php:
|
251 |
msgid "After the conetnt"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: custom-field-template/custom-field-template.php:
|
255 |
#, php-format
|
256 |
msgid "Inside the conetnt ([cfthook hook=%d])"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: custom-field-template/custom-field-template.php:
|
260 |
msgid "Content"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: custom-field-template/custom-field-template.php:
|
264 |
msgid "Rebuild Value Counts"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: custom-field-template/custom-field-template.php:
|
268 |
msgid "Are you sure to rebuild all value counts?"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: custom-field-template/custom-field-template.php:
|
272 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: custom-field-template/custom-field-template.php:
|
276 |
msgid "Rebuild Value Counts »"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: custom-field-template/custom-field-template.php:
|
280 |
msgid "Option List"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
284 |
msgid "Reset Options"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: custom-field-template/custom-field-template.php:
|
288 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: custom-field-template/custom-field-template.php:
|
292 |
msgid "Unset Options »"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: custom-field-template/custom-field-template.php:
|
296 |
msgid "Delete Options"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: custom-field-template/custom-field-template.php:
|
300 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: custom-field-template/custom-field-template.php:
|
304 |
msgid "Delete Options »"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: custom-field-template/custom-field-template.php:
|
308 |
msgid "Donation"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: custom-field-template/custom-field-template.php:
|
312 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: custom-field-template/custom-field-template.php:
|
316 |
msgid "Clear"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: custom-field-template/custom-field-template.php:
|
320 |
msgid "Select"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: custom-field-template/custom-field-template.php:
|
324 |
msgid "Add Media"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: custom-field-template/custom-field-template.php:
|
328 |
msgid "Add an Image"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: custom-field-template/custom-field-template.php:
|
332 |
msgid "Add Video"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: custom-field-template/custom-field-template.php:
|
336 |
msgid "Add Audio"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: custom-field-template/custom-field-template.php:
|
340 |
msgid "Toggle"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: custom-field-template/custom-field-template.php:
|
344 |
msgid "Initialize"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: custom-field-template/custom-field-template.php:
|
348 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: custom-field-template/custom-field-template.php:
|
352 |
msgid "Save"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: custom-field-template/custom-field-template.php:
|
356 |
msgid "Search »"
|
357 |
msgstr ""
|
358 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-03-31 19:57+0900\n"
|
6 |
+
"PO-Revision-Date: 2009-03-31 19:57+0900\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
15 |
|
16 |
+
#: custom-field-template/custom-field-template.php:118
|
17 |
+
#: custom-field-template/custom-field-template.php:119
|
18 |
+
#: custom-field-template/custom-field-template.php:449
|
19 |
+
#: custom-field-template/custom-field-template.php:629
|
20 |
+
#: custom-field-template/custom-field-template.php:1503
|
21 |
+
#: custom-field-template/custom-field-template.php:1623
|
22 |
msgid "Custom Field Template"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: custom-field-template/custom-field-template.php:158
|
26 |
+
#: custom-field-template/custom-field-template.php:1715
|
27 |
msgid "Load"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: custom-field-template/custom-field-template.php:307
|
31 |
msgid "read more"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: custom-field-template/custom-field-template.php:325
|
35 |
+
#: custom-field-template/custom-field-template.php:335
|
36 |
msgid "Custom Fields"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: custom-field-template/custom-field-template.php:365
|
40 |
msgid "Settings"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: custom-field-template/custom-field-template.php:377
|
44 |
msgid "Default Template"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: custom-field-template/custom-field-template.php:558
|
48 |
+
#: custom-field-template/custom-field-template.php:562
|
49 |
+
#: custom-field-template/custom-field-template.php:574
|
50 |
+
#: custom-field-template/custom-field-template.php:582
|
51 |
+
#: custom-field-template/custom-field-template.php:597
|
52 |
msgid "Options updated."
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: custom-field-template/custom-field-template.php:601
|
56 |
msgid "Value Counts rebuilt."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: custom-field-template/custom-field-template.php:610
|
60 |
+
msgid "Options imported."
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: custom-field-template/custom-field-template.php:617
|
64 |
msgid "Options resetted."
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: custom-field-template/custom-field-template.php:621
|
68 |
msgid "Options deleted."
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: custom-field-template/custom-field-template.php:635
|
72 |
+
#: custom-field-template/custom-field-template.php:712
|
73 |
+
#: custom-field-template/custom-field-template.php:731
|
74 |
+
#: custom-field-template/custom-field-template.php:760
|
75 |
+
#: custom-field-template/custom-field-template.php:791
|
76 |
+
#: custom-field-template/custom-field-template.php:829
|
77 |
+
#: custom-field-template/custom-field-template.php:849
|
78 |
+
#: custom-field-template/custom-field-template.php:954
|
79 |
+
#: custom-field-template/custom-field-template.php:970
|
80 |
+
#: custom-field-template/custom-field-template.php:986
|
81 |
+
#: custom-field-template/custom-field-template.php:1002
|
82 |
+
#: custom-field-template/custom-field-template.php:1018
|
83 |
msgid "Click to toggle"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: custom-field-template/custom-field-template.php:636
|
87 |
msgid "Custom Field Template Options"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: custom-field-template/custom-field-template.php:646
|
91 |
msgid "Template Title"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: custom-field-template/custom-field-template.php:648
|
95 |
msgid "Template Instruction"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: custom-field-template/custom-field-template.php:650
|
99 |
+
#: custom-field-template/custom-field-template.php:807
|
100 |
msgid "Post Type"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: custom-field-template/custom-field-template.php:652
|
104 |
+
#: custom-field-template/custom-field-template.php:808
|
105 |
msgid "Both"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: custom-field-template/custom-field-template.php:653
|
109 |
+
#: custom-field-template/custom-field-template.php:809
|
110 |
msgid "Post"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: custom-field-template/custom-field-template.php:654
|
114 |
+
#: custom-field-template/custom-field-template.php:810
|
115 |
msgid "Page"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: custom-field-template/custom-field-template.php:655
|
119 |
+
#: custom-field-template/custom-field-template.php:811
|
120 |
msgid "Category ID (comma-deliminated)"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: custom-field-template/custom-field-template.php:657
|
124 |
msgid "Template Content"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: custom-field-template/custom-field-template.php:664
|
128 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: custom-field-template/custom-field-template.php:665
|
132 |
msgid "Use multiple image inset"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: custom-field-template/custom-field-template.php:665
|
136 |
msgid "Caution:"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: custom-field-template/custom-field-template.php:665
|
140 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: custom-field-template/custom-field-template.php:669
|
144 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: custom-field-template/custom-field-template.php:670
|
148 |
msgid "Use labels in place of custom keys"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: custom-field-template/custom-field-template.php:673
|
152 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: custom-field-template/custom-field-template.php:674
|
156 |
msgid "Use wpautop function"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: custom-field-template/custom-field-template.php:678
|
160 |
msgid "In case that you would like to save values automatically in switching templates"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: custom-field-template/custom-field-template.php:679
|
164 |
msgid "Use the auto save in switching templates"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: custom-field-template/custom-field-template.php:683
|
168 |
msgid "In case that you would like to forbid to use the default custom fields."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: custom-field-template/custom-field-template.php:684
|
172 |
msgid "Disable the default custom fields"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: custom-field-template/custom-field-template.php:688
|
176 |
msgid "In case that you would like to forbid to use the quick edit."
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: custom-field-template/custom-field-template.php:689
|
180 |
msgid "Disable the quick edit"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: custom-field-template/custom-field-template.php:693
|
184 |
msgid "In case that you would like to replace the box title with the template title."
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: custom-field-template/custom-field-template.php:694
|
188 |
msgid "Replace the box title"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: custom-field-template/custom-field-template.php:698
|
192 |
msgid "In case that you would like to use the shortcode in the widget."
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: custom-field-template/custom-field-template.php:699
|
196 |
msgid "Use the shortcode in the widget"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: custom-field-template/custom-field-template.php:703
|
200 |
+
#: custom-field-template/custom-field-template.php:722
|
201 |
+
#: custom-field-template/custom-field-template.php:751
|
202 |
+
#: custom-field-template/custom-field-template.php:782
|
203 |
+
#: custom-field-template/custom-field-template.php:820
|
204 |
msgid "Update Options »"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: custom-field-template/custom-field-template.php:713
|
208 |
msgid "ADMIN CSS"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: custom-field-template/custom-field-template.php:732
|
212 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: custom-field-template/custom-field-template.php:735
|
216 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: custom-field-template/custom-field-template.php:736
|
220 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: custom-field-template/custom-field-template.php:745
|
224 |
+
#: custom-field-template/custom-field-template.php:814
|
225 |
msgid "Use PHP"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: custom-field-template/custom-field-template.php:761
|
229 |
msgid "PHP CODE (Experimental Option)"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: custom-field-template/custom-field-template.php:763
|
233 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: custom-field-template/custom-field-template.php:764
|
237 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: custom-field-template/custom-field-template.php:766
|
241 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: custom-field-template/custom-field-template.php:792
|
245 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: custom-field-template/custom-field-template.php:802
|
249 |
msgid "Position"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: custom-field-template/custom-field-template.php:803
|
253 |
msgid "Before the conetnt"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: custom-field-template/custom-field-template.php:804
|
257 |
msgid "After the conetnt"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: custom-field-template/custom-field-template.php:805
|
261 |
#, php-format
|
262 |
msgid "Inside the conetnt ([cfthook hook=%d])"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: custom-field-template/custom-field-template.php:813
|
266 |
msgid "Content"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: custom-field-template/custom-field-template.php:830
|
270 |
msgid "Rebuild Value Counts"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: custom-field-template/custom-field-template.php:832
|
274 |
msgid "Are you sure to rebuild all value counts?"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: custom-field-template/custom-field-template.php:836
|
278 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: custom-field-template/custom-field-template.php:840
|
282 |
msgid "Rebuild Value Counts »"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: custom-field-template/custom-field-template.php:850
|
286 |
msgid "Option List"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: custom-field-template/custom-field-template.php:955
|
290 |
+
msgid "Export Options"
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: custom-field-template/custom-field-template.php:961
|
294 |
+
msgid "Export Options »"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: custom-field-template/custom-field-template.php:971
|
298 |
+
msgid "Import Options"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: custom-field-template/custom-field-template.php:973
|
302 |
+
msgid "Are you sure to import options? Options you set will be overwritten."
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#: custom-field-template/custom-field-template.php:977
|
306 |
+
msgid "Import Options »"
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: custom-field-template/custom-field-template.php:987
|
310 |
msgid "Reset Options"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: custom-field-template/custom-field-template.php:989
|
314 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: custom-field-template/custom-field-template.php:993
|
318 |
msgid "Unset Options »"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: custom-field-template/custom-field-template.php:1003
|
322 |
msgid "Delete Options"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: custom-field-template/custom-field-template.php:1005
|
326 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: custom-field-template/custom-field-template.php:1009
|
330 |
msgid "Delete Options »"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: custom-field-template/custom-field-template.php:1019
|
334 |
msgid "Donation"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: custom-field-template/custom-field-template.php:1021
|
338 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: custom-field-template/custom-field-template.php:1210
|
342 |
msgid "Clear"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: custom-field-template/custom-field-template.php:1285
|
346 |
msgid "Select"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: custom-field-template/custom-field-template.php:1344
|
350 |
msgid "Add Media"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: custom-field-template/custom-field-template.php:1346
|
354 |
msgid "Add an Image"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: custom-field-template/custom-field-template.php:1348
|
358 |
msgid "Add Video"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: custom-field-template/custom-field-template.php:1350
|
362 |
msgid "Add Audio"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: custom-field-template/custom-field-template.php:1361
|
366 |
msgid "Toggle"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: custom-field-template/custom-field-template.php:1664
|
370 |
msgid "Initialize"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: custom-field-template/custom-field-template.php:1665
|
374 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: custom-field-template/custom-field-template.php:1668
|
378 |
msgid "Save"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: custom-field-template/custom-field-template.php:2062
|
382 |
msgid "Search »"
|
383 |
msgstr ""
|
384 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpressgogo.com/development/custom-field-template.html
|
|
4 |
Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.7.1
|
7 |
-
Stable tag: 1.1.
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
@@ -47,6 +47,8 @@ The Custom Field Template plugin adds the default custom fields on the Write Pos
|
|
47 |
* Adds the option to use the shortcode in the widhet.
|
48 |
* Adds the attributes of JavaScript Event Handlers. (`onclick = alert('ok');`)
|
49 |
* Adds the Initialize button.
|
|
|
|
|
50 |
|
51 |
Localization
|
52 |
|
4 |
Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.7.1
|
7 |
+
Stable tag: 1.1.3
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
47 |
* Adds the option to use the shortcode in the widhet.
|
48 |
* Adds the attributes of JavaScript Event Handlers. (`onclick = alert('ok');`)
|
49 |
* Adds the Initialize button.
|
50 |
+
* Adds the attributes of before and after text. (`before = blah`, `after = blah`)
|
51 |
+
* Adds the export and import functionality.
|
52 |
|
53 |
Localization
|
54 |
|