Version Description
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- custom-field-template-it_IT.mo +0 -0
- custom-field-template-it_IT.po +301 -0
- custom-field-template-ja.mo +0 -0
- custom-field-template-ja.po +66 -58
- custom-field-template.php +60 -14
- custom-field-template.pot +93 -85
- readme.txt +4 -2
custom-field-template-it_IT.mo
ADDED
Binary file
|
custom-field-template-it_IT.po
ADDED
@@ -0,0 +1,301 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Custom Field Template in italiano\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-02-02 18:01+0900\n"
|
6 |
+
"PO-Revision-Date: 2009-02-02 17:50+0100\n"
|
7 |
+
"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
|
8 |
+
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: Italian\n"
|
13 |
+
"X-Poedit-Country: ITALY\n"
|
14 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;_c\n"
|
16 |
+
"X-Poedit-Basepath: ../\n"
|
17 |
+
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
+
|
19 |
+
#: custom-field-template/custom-field-template.php:93
|
20 |
+
#: custom-field-template/custom-field-template.php:94
|
21 |
+
#: custom-field-template/custom-field-template.php:424
|
22 |
+
#: custom-field-template/custom-field-template.php:537
|
23 |
+
#: custom-field-template/custom-field-template.php:1246
|
24 |
+
msgid "Custom Field Template"
|
25 |
+
msgstr "Custom Field Template"
|
26 |
+
|
27 |
+
#: custom-field-template/custom-field-template.php:133
|
28 |
+
#: custom-field-template/custom-field-template.php:1397
|
29 |
+
msgid "Load"
|
30 |
+
msgstr "Carica"
|
31 |
+
|
32 |
+
#: custom-field-template/custom-field-template.php:282
|
33 |
+
msgid "read more"
|
34 |
+
msgstr "prosegui"
|
35 |
+
|
36 |
+
#: custom-field-template/custom-field-template.php:300
|
37 |
+
#: custom-field-template/custom-field-template.php:310
|
38 |
+
msgid "Custom Fields"
|
39 |
+
msgstr "Campi personalizzati"
|
40 |
+
|
41 |
+
#: custom-field-template/custom-field-template.php:340
|
42 |
+
msgid "Settings"
|
43 |
+
msgstr "Impostazioni"
|
44 |
+
|
45 |
+
#: custom-field-template/custom-field-template.php:352
|
46 |
+
msgid "Default Template"
|
47 |
+
msgstr "Template predefinito"
|
48 |
+
|
49 |
+
#: custom-field-template/custom-field-template.php:482
|
50 |
+
#: custom-field-template/custom-field-template.php:486
|
51 |
+
#: custom-field-template/custom-field-template.php:498
|
52 |
+
#: custom-field-template/custom-field-template.php:506
|
53 |
+
#: custom-field-template/custom-field-template.php:520
|
54 |
+
msgid "Options updated."
|
55 |
+
msgstr "Le opzioni sono state aggiornate."
|
56 |
+
|
57 |
+
#: custom-field-template/custom-field-template.php:525
|
58 |
+
msgid "Options resetted."
|
59 |
+
msgstr "Le opzioni sono state ripristinate."
|
60 |
+
|
61 |
+
#: custom-field-template/custom-field-template.php:529
|
62 |
+
msgid "Options deleted."
|
63 |
+
msgstr "Le opzioni sini state cancellate:"
|
64 |
+
|
65 |
+
#: custom-field-template/custom-field-template.php:543
|
66 |
+
#: custom-field-template/custom-field-template.php:600
|
67 |
+
#: custom-field-template/custom-field-template.php:619
|
68 |
+
#: custom-field-template/custom-field-template.php:648
|
69 |
+
#: custom-field-template/custom-field-template.php:679
|
70 |
+
#: custom-field-template/custom-field-template.php:712
|
71 |
+
#: custom-field-template/custom-field-template.php:802
|
72 |
+
#: custom-field-template/custom-field-template.php:818
|
73 |
+
#: custom-field-template/custom-field-template.php:834
|
74 |
+
msgid "Click to toggle"
|
75 |
+
msgstr "Clicca per commutare"
|
76 |
+
|
77 |
+
#: custom-field-template/custom-field-template.php:544
|
78 |
+
msgid "Custom Field Template Options"
|
79 |
+
msgstr "Opzioni template campi personalizzati"
|
80 |
+
|
81 |
+
#: custom-field-template/custom-field-template.php:554
|
82 |
+
msgid "Template Title"
|
83 |
+
msgstr "Nome del template:"
|
84 |
+
|
85 |
+
#: custom-field-template/custom-field-template.php:556
|
86 |
+
msgid "Template Instruction"
|
87 |
+
msgstr "Allestimento template"
|
88 |
+
|
89 |
+
#: custom-field-template/custom-field-template.php:558
|
90 |
+
#: custom-field-template/custom-field-template.php:694
|
91 |
+
msgid "Category ID (comma-deliminated)"
|
92 |
+
msgstr "ID categoria (separa con una virgola)"
|
93 |
+
|
94 |
+
#: custom-field-template/custom-field-template.php:560
|
95 |
+
msgid "Template Content"
|
96 |
+
msgstr "Contenuti template"
|
97 |
+
|
98 |
+
#: custom-field-template/custom-field-template.php:567
|
99 |
+
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
100 |
+
msgstr "Nel caso in cui desiderassi inserire più immagini contemporaneamente utilizza i pulsanti media del campo personalizzato"
|
101 |
+
|
102 |
+
#: custom-field-template/custom-field-template.php:568
|
103 |
+
msgid "Use multiple image inset"
|
104 |
+
msgstr "Inserisci più immagini contemporaneamente"
|
105 |
+
|
106 |
+
#: custom-field-template/custom-field-template.php:568
|
107 |
+
msgid "Caution:"
|
108 |
+
msgstr "Attenzione:"
|
109 |
+
|
110 |
+
#: custom-field-template/custom-field-template.php:568
|
111 |
+
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
112 |
+
msgstr "E' necessario modificare `wp-admin/includes/media.php`. Cancella o disabilita il codice nella funzione media_send_to_editor."
|
113 |
+
|
114 |
+
#: custom-field-template/custom-field-template.php:572
|
115 |
+
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
116 |
+
msgstr "Nel caso in cui desiderassi sostituire le chiavi personalizzate con le etichette qualora fosse stato impostato `label`"
|
117 |
+
|
118 |
+
#: custom-field-template/custom-field-template.php:573
|
119 |
+
msgid "Use labels in place of custom keys"
|
120 |
+
msgstr "Utilizza le etichette al posto delle chiavi personalizzate"
|
121 |
+
|
122 |
+
#: custom-field-template/custom-field-template.php:576
|
123 |
+
msgid "In case that you would like to add p and br tags in textareas automatically"
|
124 |
+
msgstr "Nel caso in cui desiderassi aggiungere automaticamente i tag p e br nell'area di testo"
|
125 |
+
|
126 |
+
#: custom-field-template/custom-field-template.php:577
|
127 |
+
msgid "Use wpautop function"
|
128 |
+
msgstr "Usa funzione wpautop"
|
129 |
+
|
130 |
+
#: custom-field-template/custom-field-template.php:581
|
131 |
+
msgid "In case that you would like to save values automatically in switching templates"
|
132 |
+
msgstr "Nel caso in cui desiderassi salvare automaticamente i valori durante il cambio dei template"
|
133 |
+
|
134 |
+
#: custom-field-template/custom-field-template.php:582
|
135 |
+
msgid "Use the auto save in switching templates"
|
136 |
+
msgstr "Salva in automatico al cambio dei template"
|
137 |
+
|
138 |
+
#: custom-field-template/custom-field-template.php:586
|
139 |
+
msgid "In case that you would like to forbid to use the default custom fields."
|
140 |
+
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dei campi personalizzati predefiniti."
|
141 |
+
|
142 |
+
#: custom-field-template/custom-field-template.php:587
|
143 |
+
msgid "Disable the default custom fields"
|
144 |
+
msgstr "Disattiva i campi personalizzati predefiniti"
|
145 |
+
|
146 |
+
#: custom-field-template/custom-field-template.php:591
|
147 |
+
#: custom-field-template/custom-field-template.php:610
|
148 |
+
#: custom-field-template/custom-field-template.php:639
|
149 |
+
#: custom-field-template/custom-field-template.php:670
|
150 |
+
#: custom-field-template/custom-field-template.php:703
|
151 |
+
msgid "Update Options »"
|
152 |
+
msgstr "Aggiorna le opzioni »"
|
153 |
+
|
154 |
+
#: custom-field-template/custom-field-template.php:601
|
155 |
+
msgid "ADMIN CSS"
|
156 |
+
msgstr "CSS AMMINISTRAZIONE"
|
157 |
+
|
158 |
+
#: custom-field-template/custom-field-template.php:620
|
159 |
+
msgid "[cft] and [cftsearch] Shortcode Format"
|
160 |
+
msgstr "Formato Shortcode [cft] e [cftsearch]"
|
161 |
+
|
162 |
+
#: custom-field-template/custom-field-template.php:623
|
163 |
+
msgid "For [cft], [key] will be converted into the value of [key]."
|
164 |
+
msgstr "[key] verrà convertito nel valore di [key]."
|
165 |
+
|
166 |
+
#: custom-field-template/custom-field-template.php:624
|
167 |
+
msgid "For [cftsearch], [key] will be converted into the input field."
|
168 |
+
msgstr "[cftsearch], [key] verrà convertito nell'input del campo."
|
169 |
+
|
170 |
+
#: custom-field-template/custom-field-template.php:633
|
171 |
+
#: custom-field-template/custom-field-template.php:697
|
172 |
+
msgid "Use PHP"
|
173 |
+
msgstr "Usa PHP"
|
174 |
+
|
175 |
+
#: custom-field-template/custom-field-template.php:649
|
176 |
+
msgid "PHP CODE (Experimental Option)"
|
177 |
+
msgstr "CODICE PHP CODE (opzione sperimentale)"
|
178 |
+
|
179 |
+
#: custom-field-template/custom-field-template.php:651
|
180 |
+
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
181 |
+
msgstr "Sei certo di volere salvare dei codici PHP? Se sì, fallo a tuo rischio."
|
182 |
+
|
183 |
+
#: custom-field-template/custom-field-template.php:652
|
184 |
+
msgid "For `text` and `textarea`, you must set $value as an string."
|
185 |
+
msgstr "`text` e `textarea`, dovrai impostare come stringa $value."
|
186 |
+
|
187 |
+
#: custom-field-template/custom-field-template.php:654
|
188 |
+
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
189 |
+
msgstr "`checkbox`, `radio`, e `select`, dovrai impostare come array $values."
|
190 |
+
|
191 |
+
#: custom-field-template/custom-field-template.php:680
|
192 |
+
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
193 |
+
msgstr "Hook automatico di `the_content()` (opzione sperimentale)"
|
194 |
+
|
195 |
+
#: custom-field-template/custom-field-template.php:690
|
196 |
+
msgid "Position"
|
197 |
+
msgstr "Posizione"
|
198 |
+
|
199 |
+
#: custom-field-template/custom-field-template.php:691
|
200 |
+
msgid "Before the conetnt"
|
201 |
+
msgstr "Davanti ai contenuti"
|
202 |
+
|
203 |
+
#: custom-field-template/custom-field-template.php:692
|
204 |
+
msgid "After the conetnt"
|
205 |
+
msgstr "A seguire i contenuti"
|
206 |
+
|
207 |
+
#: custom-field-template/custom-field-template.php:696
|
208 |
+
msgid "Content"
|
209 |
+
msgstr "Contenuti"
|
210 |
+
|
211 |
+
#: custom-field-template/custom-field-template.php:713
|
212 |
+
msgid "Option List"
|
213 |
+
msgstr "Lista opzione"
|
214 |
+
|
215 |
+
#: custom-field-template/custom-field-template.php:803
|
216 |
+
msgid "Reset Options"
|
217 |
+
msgstr "Ripristina le opzioni"
|
218 |
+
|
219 |
+
#: custom-field-template/custom-field-template.php:805
|
220 |
+
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
221 |
+
msgstr "Sei certo di volere ripristinare le opzioni? Le opzioni personalizzate verranno ripristinate alle predefinite."
|
222 |
+
|
223 |
+
#: custom-field-template/custom-field-template.php:809
|
224 |
+
msgid "Unset Options »"
|
225 |
+
msgstr "Procedi »"
|
226 |
+
|
227 |
+
#: custom-field-template/custom-field-template.php:819
|
228 |
+
msgid "Delete Options"
|
229 |
+
msgstr "Cancella le opzioni"
|
230 |
+
|
231 |
+
#: custom-field-template/custom-field-template.php:821
|
232 |
+
msgid "Are you sure to delete options? Options you set will be deleted."
|
233 |
+
msgstr "Sei certo di volere cancellare le opzioni? Le opzioni personalizzate verranno cancellate."
|
234 |
+
|
235 |
+
#: custom-field-template/custom-field-template.php:825
|
236 |
+
msgid "Delete Options »"
|
237 |
+
msgstr "Cancella le opzioni »"
|
238 |
+
|
239 |
+
#: custom-field-template/custom-field-template.php:835
|
240 |
+
msgid "Donation"
|
241 |
+
msgstr "Fai una donazione"
|
242 |
+
|
243 |
+
#: custom-field-template/custom-field-template.php:837
|
244 |
+
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
245 |
+
msgstr "Qualora avesi gradito questo plugin, effettua una donazione via paypal! Grazie."
|
246 |
+
|
247 |
+
#: custom-field-template/custom-field-template.php:1000
|
248 |
+
msgid "Clear"
|
249 |
+
msgstr "Pulisci"
|
250 |
+
|
251 |
+
#: custom-field-template/custom-field-template.php:1067
|
252 |
+
msgid "Select"
|
253 |
+
msgstr "Seleziona"
|
254 |
+
|
255 |
+
#: custom-field-template/custom-field-template.php:1126
|
256 |
+
msgid "Add Media"
|
257 |
+
msgstr "Aggiungi media"
|
258 |
+
|
259 |
+
#: custom-field-template/custom-field-template.php:1128
|
260 |
+
msgid "Add an Image"
|
261 |
+
msgstr "Aggiungi immagine"
|
262 |
+
|
263 |
+
#: custom-field-template/custom-field-template.php:1130
|
264 |
+
msgid "Add Video"
|
265 |
+
msgstr "Aggiungi video"
|
266 |
+
|
267 |
+
#: custom-field-template/custom-field-template.php:1132
|
268 |
+
msgid "Add Audio"
|
269 |
+
msgstr "Aggiungi audio"
|
270 |
+
|
271 |
+
#: custom-field-template/custom-field-template.php:1143
|
272 |
+
msgid "Toggle"
|
273 |
+
msgstr "Commuta"
|
274 |
+
|
275 |
+
#: custom-field-template/custom-field-template.php:1420
|
276 |
+
msgid "Save"
|
277 |
+
msgstr "Salva"
|
278 |
+
|
279 |
+
#: custom-field-template/custom-field-template.php:1698
|
280 |
+
msgid "Search »"
|
281 |
+
msgstr "Cerca »"
|
282 |
+
|
283 |
+
#~ msgid "CSS"
|
284 |
+
#~ msgstr "CSS"
|
285 |
+
#~ msgid "Quick Edit"
|
286 |
+
#~ msgstr "Modifica veloce"
|
287 |
+
#~ msgid "Recent Posts Ext"
|
288 |
+
#~ msgstr "最近の投稿 Ext"
|
289 |
+
#~ msgid "camera"
|
290 |
+
#~ msgstr "機種"
|
291 |
+
#~ msgid "aperture"
|
292 |
+
#~ msgstr "絞り値"
|
293 |
+
#~ msgid "focal_length"
|
294 |
+
#~ msgstr "焦点距離"
|
295 |
+
#~ msgid "ISO"
|
296 |
+
#~ msgstr "ISO"
|
297 |
+
#~ msgid "shutter_speed"
|
298 |
+
#~ msgstr "シャッタースピード"
|
299 |
+
#~ msgid "created_timestamp"
|
300 |
+
#~ msgstr "撮影日時"
|
301 |
+
|
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-02-
|
6 |
-
"PO-Revision-Date: 2009-02-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -16,33 +16,33 @@ msgstr ""
|
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
|
|
19 |
#: custom-field-template/custom-field-template.php:95
|
20 |
-
#: custom-field-template/custom-field-template.php:
|
21 |
-
#: custom-field-template/custom-field-template.php:426
|
22 |
#: custom-field-template/custom-field-template.php:539
|
23 |
-
#: custom-field-template/custom-field-template.php:
|
24 |
msgid "Custom Field Template"
|
25 |
msgstr "カスタムフィールドテンプレート"
|
26 |
|
27 |
-
#: custom-field-template/custom-field-template.php:
|
28 |
-
#: custom-field-template/custom-field-template.php:
|
29 |
msgid "Load"
|
30 |
msgstr "読込"
|
31 |
|
32 |
-
#: custom-field-template/custom-field-template.php:
|
33 |
msgid "read more"
|
34 |
msgstr "続きを表示"
|
35 |
|
36 |
-
#: custom-field-template/custom-field-template.php:
|
37 |
-
#: custom-field-template/custom-field-template.php:
|
38 |
msgid "Custom Fields"
|
39 |
msgstr "カスタムフィールド"
|
40 |
|
41 |
-
#: custom-field-template/custom-field-template.php:
|
42 |
msgid "Settings"
|
43 |
msgstr "設定"
|
44 |
|
45 |
-
#: custom-field-template/custom-field-template.php:
|
46 |
msgid "Default Template"
|
47 |
msgstr "デフォルトテンプレート"
|
48 |
|
@@ -63,14 +63,14 @@ msgid "Options deleted."
|
|
63 |
msgstr "オプションは削除されました。"
|
64 |
|
65 |
#: custom-field-template/custom-field-template.php:545
|
66 |
-
#: custom-field-template/custom-field-template.php:
|
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 |
msgid "Click to toggle"
|
75 |
msgstr "クリックで切替"
|
76 |
|
@@ -87,7 +87,7 @@ msgid "Template Instruction"
|
|
87 |
msgstr "テンプレートインストラクション"
|
88 |
|
89 |
#: custom-field-template/custom-field-template.php:560
|
90 |
-
#: custom-field-template/custom-field-template.php:
|
91 |
msgid "Category ID (comma-deliminated)"
|
92 |
msgstr "カテゴリーID(カンマ区切り)"
|
93 |
|
@@ -144,139 +144,147 @@ msgid "Disable the default custom fields"
|
|
144 |
msgstr "デフォルトのカスタムフィールドを無効にする"
|
145 |
|
146 |
#: custom-field-template/custom-field-template.php:593
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
msgid "Update Options »"
|
152 |
msgstr "オプションを更新する »"
|
153 |
|
154 |
-
#: custom-field-template/custom-field-template.php:
|
155 |
msgid "ADMIN CSS"
|
156 |
msgstr "ADMIN CSS"
|
157 |
|
158 |
-
#: custom-field-template/custom-field-template.php:
|
159 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
160 |
msgstr "[cft] and [cftsearch] Shortcode Format"
|
161 |
|
162 |
-
#: custom-field-template/custom-field-template.php:
|
163 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
164 |
msgstr "[cft]では、[key]は、[key]の値に置換されます。"
|
165 |
|
166 |
-
#: custom-field-template/custom-field-template.php:
|
167 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
168 |
msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
|
169 |
|
170 |
-
#: custom-field-template/custom-field-template.php:
|
171 |
-
#: custom-field-template/custom-field-template.php:
|
172 |
msgid "Use PHP"
|
173 |
msgstr "PHPを使用する"
|
174 |
|
175 |
-
#: custom-field-template/custom-field-template.php:
|
176 |
msgid "PHP CODE (Experimental Option)"
|
177 |
msgstr "PHP CODE (Experimental Option)"
|
178 |
|
179 |
-
#: custom-field-template/custom-field-template.php:
|
180 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
181 |
msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
|
182 |
|
183 |
-
#: custom-field-template/custom-field-template.php:
|
184 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
185 |
msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
|
186 |
|
187 |
-
#: custom-field-template/custom-field-template.php:
|
188 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
189 |
msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
|
190 |
|
191 |
-
#: custom-field-template/custom-field-template.php:
|
192 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
193 |
msgstr "Auto Hook of `the_content()` (Experimental Option)"
|
194 |
|
195 |
-
#: custom-field-template/custom-field-template.php:
|
196 |
msgid "Position"
|
197 |
msgstr "位置"
|
198 |
|
199 |
-
#: custom-field-template/custom-field-template.php:
|
200 |
msgid "Before the conetnt"
|
201 |
msgstr "コンテンツの前"
|
202 |
|
203 |
-
#: custom-field-template/custom-field-template.php:
|
204 |
msgid "After the conetnt"
|
205 |
msgstr "コンテンツの後"
|
206 |
|
207 |
-
#: custom-field-template/custom-field-template.php:
|
208 |
msgid "Content"
|
209 |
msgstr "コンテンツ"
|
210 |
|
211 |
-
#: custom-field-template/custom-field-template.php:
|
212 |
msgid "Option List"
|
213 |
msgstr "オプションリスト"
|
214 |
|
215 |
-
#: custom-field-template/custom-field-template.php:
|
216 |
msgid "Reset Options"
|
217 |
msgstr "オプションをリセットする"
|
218 |
|
219 |
-
#: custom-field-template/custom-field-template.php:
|
220 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
221 |
msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
|
222 |
|
223 |
-
#: custom-field-template/custom-field-template.php:
|
224 |
msgid "Unset Options »"
|
225 |
msgstr "オプションをリセットする »"
|
226 |
|
227 |
-
#: custom-field-template/custom-field-template.php:
|
228 |
msgid "Delete Options"
|
229 |
msgstr "オプションを削除する"
|
230 |
|
231 |
-
#: custom-field-template/custom-field-template.php:
|
232 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
233 |
msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
|
234 |
|
235 |
-
#: custom-field-template/custom-field-template.php:
|
236 |
msgid "Delete Options »"
|
237 |
msgstr "オプションを削除する »"
|
238 |
|
239 |
-
#: custom-field-template/custom-field-template.php:
|
240 |
msgid "Donation"
|
241 |
msgstr "寄付"
|
242 |
|
243 |
-
#: custom-field-template/custom-field-template.php:
|
244 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
245 |
msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
|
246 |
|
247 |
-
#: custom-field-template/custom-field-template.php:
|
248 |
msgid "Clear"
|
249 |
msgstr "解除"
|
250 |
|
251 |
-
#: custom-field-template/custom-field-template.php:
|
252 |
msgid "Select"
|
253 |
msgstr "選択してください"
|
254 |
|
255 |
-
#: custom-field-template/custom-field-template.php:
|
256 |
msgid "Add Media"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: custom-field-template/custom-field-template.php:
|
260 |
msgid "Add an Image"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: custom-field-template/custom-field-template.php:
|
264 |
msgid "Add Video"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: custom-field-template/custom-field-template.php:
|
268 |
msgid "Add Audio"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: custom-field-template/custom-field-template.php:
|
272 |
msgid "Toggle"
|
273 |
msgstr "切り替え"
|
274 |
|
275 |
-
#: custom-field-template/custom-field-template.php:
|
276 |
msgid "Save"
|
277 |
msgstr "保存"
|
278 |
|
279 |
-
#: custom-field-template/custom-field-template.php:
|
280 |
msgid "Search »"
|
281 |
msgstr "検索 »"
|
282 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-02-06 11:30+0900\n"
|
6 |
+
"PO-Revision-Date: 2009-02-06 11:30+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:94
|
20 |
#: custom-field-template/custom-field-template.php:95
|
21 |
+
#: custom-field-template/custom-field-template.php:425
|
|
|
22 |
#: custom-field-template/custom-field-template.php:539
|
23 |
+
#: custom-field-template/custom-field-template.php:1253
|
24 |
msgid "Custom Field Template"
|
25 |
msgstr "カスタムフィールドテンプレート"
|
26 |
|
27 |
+
#: custom-field-template/custom-field-template.php:134
|
28 |
+
#: custom-field-template/custom-field-template.php:1404
|
29 |
msgid "Load"
|
30 |
msgstr "読込"
|
31 |
|
32 |
+
#: custom-field-template/custom-field-template.php:283
|
33 |
msgid "read more"
|
34 |
msgstr "続きを表示"
|
35 |
|
36 |
+
#: custom-field-template/custom-field-template.php:301
|
37 |
+
#: custom-field-template/custom-field-template.php:311
|
38 |
msgid "Custom Fields"
|
39 |
msgstr "カスタムフィールド"
|
40 |
|
41 |
+
#: custom-field-template/custom-field-template.php:341
|
42 |
msgid "Settings"
|
43 |
msgstr "設定"
|
44 |
|
45 |
+
#: custom-field-template/custom-field-template.php:353
|
46 |
msgid "Default Template"
|
47 |
msgstr "デフォルトテンプレート"
|
48 |
|
63 |
msgstr "オプションは削除されました。"
|
64 |
|
65 |
#: custom-field-template/custom-field-template.php:545
|
66 |
+
#: custom-field-template/custom-field-template.php:607
|
67 |
+
#: custom-field-template/custom-field-template.php:626
|
68 |
+
#: custom-field-template/custom-field-template.php:655
|
69 |
+
#: custom-field-template/custom-field-template.php:686
|
70 |
+
#: custom-field-template/custom-field-template.php:719
|
71 |
+
#: custom-field-template/custom-field-template.php:809
|
72 |
+
#: custom-field-template/custom-field-template.php:825
|
73 |
+
#: custom-field-template/custom-field-template.php:841
|
74 |
msgid "Click to toggle"
|
75 |
msgstr "クリックで切替"
|
76 |
|
87 |
msgstr "テンプレートインストラクション"
|
88 |
|
89 |
#: custom-field-template/custom-field-template.php:560
|
90 |
+
#: custom-field-template/custom-field-template.php:701
|
91 |
msgid "Category ID (comma-deliminated)"
|
92 |
msgstr "カテゴリーID(カンマ区切り)"
|
93 |
|
144 |
msgstr "デフォルトのカスタムフィールドを無効にする"
|
145 |
|
146 |
#: custom-field-template/custom-field-template.php:593
|
147 |
+
msgid "In case that you would like to forbid to use the quick edit."
|
148 |
+
msgstr "クイック編集の使用を禁止する場合"
|
149 |
+
|
150 |
+
#: custom-field-template/custom-field-template.php:594
|
151 |
+
msgid "Disable the quick edit"
|
152 |
+
msgstr "クイック編集を無効にする"
|
153 |
+
|
154 |
+
#: custom-field-template/custom-field-template.php:598
|
155 |
+
#: custom-field-template/custom-field-template.php:617
|
156 |
+
#: custom-field-template/custom-field-template.php:646
|
157 |
+
#: custom-field-template/custom-field-template.php:677
|
158 |
+
#: custom-field-template/custom-field-template.php:710
|
159 |
msgid "Update Options »"
|
160 |
msgstr "オプションを更新する »"
|
161 |
|
162 |
+
#: custom-field-template/custom-field-template.php:608
|
163 |
msgid "ADMIN CSS"
|
164 |
msgstr "ADMIN CSS"
|
165 |
|
166 |
+
#: custom-field-template/custom-field-template.php:627
|
167 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
168 |
msgstr "[cft] and [cftsearch] Shortcode Format"
|
169 |
|
170 |
+
#: custom-field-template/custom-field-template.php:630
|
171 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
172 |
msgstr "[cft]では、[key]は、[key]の値に置換されます。"
|
173 |
|
174 |
+
#: custom-field-template/custom-field-template.php:631
|
175 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
176 |
msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
|
177 |
|
178 |
+
#: custom-field-template/custom-field-template.php:640
|
179 |
+
#: custom-field-template/custom-field-template.php:704
|
180 |
msgid "Use PHP"
|
181 |
msgstr "PHPを使用する"
|
182 |
|
183 |
+
#: custom-field-template/custom-field-template.php:656
|
184 |
msgid "PHP CODE (Experimental Option)"
|
185 |
msgstr "PHP CODE (Experimental Option)"
|
186 |
|
187 |
+
#: custom-field-template/custom-field-template.php:658
|
188 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
189 |
msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
|
190 |
|
191 |
+
#: custom-field-template/custom-field-template.php:659
|
192 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
193 |
msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
|
194 |
|
195 |
+
#: custom-field-template/custom-field-template.php:661
|
196 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
197 |
msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
|
198 |
|
199 |
+
#: custom-field-template/custom-field-template.php:687
|
200 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
201 |
msgstr "Auto Hook of `the_content()` (Experimental Option)"
|
202 |
|
203 |
+
#: custom-field-template/custom-field-template.php:697
|
204 |
msgid "Position"
|
205 |
msgstr "位置"
|
206 |
|
207 |
+
#: custom-field-template/custom-field-template.php:698
|
208 |
msgid "Before the conetnt"
|
209 |
msgstr "コンテンツの前"
|
210 |
|
211 |
+
#: custom-field-template/custom-field-template.php:699
|
212 |
msgid "After the conetnt"
|
213 |
msgstr "コンテンツの後"
|
214 |
|
215 |
+
#: custom-field-template/custom-field-template.php:703
|
216 |
msgid "Content"
|
217 |
msgstr "コンテンツ"
|
218 |
|
219 |
+
#: custom-field-template/custom-field-template.php:720
|
220 |
msgid "Option List"
|
221 |
msgstr "オプションリスト"
|
222 |
|
223 |
+
#: custom-field-template/custom-field-template.php:810
|
224 |
msgid "Reset Options"
|
225 |
msgstr "オプションをリセットする"
|
226 |
|
227 |
+
#: custom-field-template/custom-field-template.php:812
|
228 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
229 |
msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
|
230 |
|
231 |
+
#: custom-field-template/custom-field-template.php:816
|
232 |
msgid "Unset Options »"
|
233 |
msgstr "オプションをリセットする »"
|
234 |
|
235 |
+
#: custom-field-template/custom-field-template.php:826
|
236 |
msgid "Delete Options"
|
237 |
msgstr "オプションを削除する"
|
238 |
|
239 |
+
#: custom-field-template/custom-field-template.php:828
|
240 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
241 |
msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
|
242 |
|
243 |
+
#: custom-field-template/custom-field-template.php:832
|
244 |
msgid "Delete Options »"
|
245 |
msgstr "オプションを削除する »"
|
246 |
|
247 |
+
#: custom-field-template/custom-field-template.php:842
|
248 |
msgid "Donation"
|
249 |
msgstr "寄付"
|
250 |
|
251 |
+
#: custom-field-template/custom-field-template.php:844
|
252 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
253 |
msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
|
254 |
|
255 |
+
#: custom-field-template/custom-field-template.php:1007
|
256 |
msgid "Clear"
|
257 |
msgstr "解除"
|
258 |
|
259 |
+
#: custom-field-template/custom-field-template.php:1074
|
260 |
msgid "Select"
|
261 |
msgstr "選択してください"
|
262 |
|
263 |
+
#: custom-field-template/custom-field-template.php:1133
|
264 |
msgid "Add Media"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: custom-field-template/custom-field-template.php:1135
|
268 |
msgid "Add an Image"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: custom-field-template/custom-field-template.php:1137
|
272 |
msgid "Add Video"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: custom-field-template/custom-field-template.php:1139
|
276 |
msgid "Add Audio"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: custom-field-template/custom-field-template.php:1150
|
280 |
msgid "Toggle"
|
281 |
msgstr "切り替え"
|
282 |
|
283 |
+
#: custom-field-template/custom-field-template.php:1427
|
284 |
msgid "Save"
|
285 |
msgstr "保存"
|
286 |
|
287 |
+
#: custom-field-template/custom-field-template.php:1722
|
288 |
msgid "Search »"
|
289 |
msgstr "検索 »"
|
290 |
|
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.0.
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
@@ -81,7 +81,8 @@ class custom_field_template {
|
|
81 |
add_filter( 'manage_posts_columns', array(&$this, 'add_manage_posts_columns') );
|
82 |
add_action( 'manage_pages_custom_column', array(&$this, 'add_manage_posts_custom_column'), 10, 2 );
|
83 |
add_filter( 'manage_pages_columns', array(&$this, 'add_manage_pages_columns') );
|
84 |
-
|
|
|
85 |
}
|
86 |
|
87 |
if ( substr($wp_version, 0, 3) < '2.5' ) {
|
@@ -469,6 +470,7 @@ mediaButton = true';
|
|
469 |
$options['custom_field_template_use_wpautop'] = $_POST['custom_field_template_use_wpautop'];
|
470 |
$options['custom_field_template_use_autosave'] = $_POST['custom_field_template_use_autosave'];
|
471 |
$options['custom_field_template_disable_default_custom_fields'] = $_POST['custom_field_template_disable_default_custom_fields'];
|
|
|
472 |
for($i=0;$i<count($_POST["custom_field_template_content"]);$i++) {
|
473 |
if( $_POST["custom_field_template_content"][$i] ) {
|
474 |
$options['custom_fields'][$j]['title'] = $_POST["custom_field_template_title"][$i];
|
@@ -588,6 +590,11 @@ mediaButton = true';
|
|
588 |
</td>
|
589 |
</tr>
|
590 |
<tr><td>
|
|
|
|
|
|
|
|
|
|
|
591 |
<p><input type="submit" name="custom_field_template_set_options_submit" value="<?php _e('Update Options »', 'custom-field-template'); ?>" class="button-primary" /></p>
|
592 |
</td></tr>
|
593 |
</tbody>
|
@@ -761,6 +768,9 @@ hideKey = true<br />
|
|
761 |
<th>tinyMCE</th><td></td><td></td><td></td><td></td><td>tinyMCE = true</td>
|
762 |
</tr>
|
763 |
<tr>
|
|
|
|
|
|
|
764 |
<th>mediaButton</th><td></td><td></td><td></td><td></td><td>mediaButton = true</td>
|
765 |
</tr>
|
766 |
<tr>
|
@@ -1083,7 +1093,7 @@ jQuery(this).addClass("closed");
|
|
1083 |
return $out;
|
1084 |
}
|
1085 |
|
1086 |
-
function make_textarea( $name, $sid, $rows, $cols, $tinyMCE, $mediaButton, $default, $hideKey, $label, $code, $class ) {
|
1087 |
$options = $this->get_custom_field_template_data();
|
1088 |
|
1089 |
global $wp_version;
|
@@ -1112,9 +1122,8 @@ jQuery(this).addClass("closed");
|
|
1112 |
$out .= 'jQuery(document).ready(function() {document.getElementById("'. $name . $rand . '").value = document.getElementById("'. $name . $rand . '").value; tinyMCE.execCommand("mceAddControl", false, "'. $name . $rand . '"); tinyMCEID.push("'. $name . $rand . '");});' . "\n";
|
1113 |
else:
|
1114 |
$out .= 'jQuery(document).ready(function() {document.getElementById("'. $name . $rand . '").value = switchEditors.wpautop(document.getElementById("'. $name . $rand . '").value); tinyMCE.execCommand("mceAddControl", false, "'. $name . $rand . '"); tinyMCEID.push("'. $name . $rand . '");});' . "\n";
|
1115 |
-
endif;
|
1116 |
-
|
1117 |
-
'</script>';
|
1118 |
}
|
1119 |
|
1120 |
if ( substr($wp_version, 0, 3) >= '2.5' ) {
|
@@ -1148,7 +1157,10 @@ EOF;
|
|
1148 |
}
|
1149 |
|
1150 |
if ( $hideKey == true ) $hide = ' class="hideKey"';
|
1151 |
-
|
|
|
|
|
|
|
1152 |
|
1153 |
if ( !empty($label) && $options['custom_field_template_replace_keys_by_labels'] )
|
1154 |
$title = stripcslashes($label);
|
@@ -1160,8 +1172,18 @@ EOF;
|
|
1160 |
|
1161 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1162 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1163 |
-
|
1164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1165 |
return $out;
|
1166 |
}
|
1167 |
|
@@ -1216,7 +1238,7 @@ EOF;
|
|
1216 |
else if( $data[$i]['type'] == 'textarea' ) {
|
1217 |
if ( $options['tinyMCE'][$_REQUEST['post']][$this->sanitize_name($title)][$i] ) $data[$i]['rows'] = $options['tinyMCE'][$_REQUEST['post']][$this->sanitize_name($title)][$i];
|
1218 |
$out .=
|
1219 |
-
$this->make_textarea( $title, $i, $data[$i]['rows'], $data[$i]['cols'], $data[$i]['tinyMCE'], $data[$i]['mediaButton'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'] );
|
1220 |
}
|
1221 |
}
|
1222 |
}
|
@@ -1309,10 +1331,10 @@ EOF;
|
|
1309 |
' var ed = tinyMCE.get(id);' . "\n" .
|
1310 |
' if ( ! ed || ed.isHidden() ) {' . "\n" .
|
1311 |
' document.getElementById(id).value = switchEditors.wpautop(document.getElementById(id).value);' . "\n" .
|
1312 |
-
' if ( ed ) ed.show();' . "\n" .
|
1313 |
-
' else tinyMCE.execCommand("mceAddControl", false, id);' . "\n" .
|
1314 |
' } else {' . "\n" .
|
1315 |
-
' ed.hide();document.getElementById(id).style.color="#000000";' . "\n" .
|
1316 |
' }' . "\n" .
|
1317 |
'}' . "\n";
|
1318 |
|
@@ -1370,6 +1392,13 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1370 |
$out .= '<style type="text/css">' . "\n" .
|
1371 |
'<!--' . "\n";
|
1372 |
$out .= $options['css'] . "\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1373 |
$out .= '-->' . "\n" .
|
1374 |
'</style>';
|
1375 |
$body = $this->load_custom_field($init_id);
|
@@ -1600,9 +1629,26 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1600 |
extract(shortcode_atts(array(
|
1601 |
'post_id' => $post->ID,
|
1602 |
'template' => 0,
|
1603 |
-
'format'
|
|
|
|
|
1604 |
), $attr));
|
1605 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1606 |
if ( is_numeric($format) && $output = $options['shortcode_format'][$format] ) :
|
1607 |
$data = get_post_custom($post_id);
|
1608 |
$output = stripcslashes($output);
|
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.0.4
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
81 |
add_filter( 'manage_posts_columns', array(&$this, 'add_manage_posts_columns') );
|
82 |
add_action( 'manage_pages_custom_column', array(&$this, 'add_manage_posts_custom_column'), 10, 2 );
|
83 |
add_filter( 'manage_pages_columns', array(&$this, 'add_manage_pages_columns') );
|
84 |
+
if ( empty($options['custom_field_template_disable_quick_edit']) )
|
85 |
+
add_action( 'quick_edit_custom_box', array(&$this, 'add_quick_edit_custom_box'), 10, 2 );
|
86 |
}
|
87 |
|
88 |
if ( substr($wp_version, 0, 3) < '2.5' ) {
|
470 |
$options['custom_field_template_use_wpautop'] = $_POST['custom_field_template_use_wpautop'];
|
471 |
$options['custom_field_template_use_autosave'] = $_POST['custom_field_template_use_autosave'];
|
472 |
$options['custom_field_template_disable_default_custom_fields'] = $_POST['custom_field_template_disable_default_custom_fields'];
|
473 |
+
$options['custom_field_template_disable_quick_edit'] = $_POST['custom_field_template_disable_quick_edit'];
|
474 |
for($i=0;$i<count($_POST["custom_field_template_content"]);$i++) {
|
475 |
if( $_POST["custom_field_template_content"][$i] ) {
|
476 |
$options['custom_fields'][$j]['title'] = $_POST["custom_field_template_title"][$i];
|
590 |
</td>
|
591 |
</tr>
|
592 |
<tr><td>
|
593 |
+
<p><label for="custom_field_template_disable_quick_edit"><?php _e('In case that you would like to forbid to use the quick edit.', 'custom-field-template'); ?></label>:<br />
|
594 |
+
<input type="checkbox" name="custom_field_template_disable_quick_edit" id="custom_field_template_disable_quick_edit" value="1" <?php if ($options['custom_field_template_disable_quick_edit']) { echo 'checked="checked"'; } ?> /> <?php _e('Disable the quick edit', 'custom-field-template'); ?></p>
|
595 |
+
</td>
|
596 |
+
</tr>
|
597 |
+
<tr><td>
|
598 |
<p><input type="submit" name="custom_field_template_set_options_submit" value="<?php _e('Update Options »', 'custom-field-template'); ?>" class="button-primary" /></p>
|
599 |
</td></tr>
|
600 |
</tbody>
|
768 |
<th>tinyMCE</th><td></td><td></td><td></td><td></td><td>tinyMCE = true</td>
|
769 |
</tr>
|
770 |
<tr>
|
771 |
+
<th>htmlEditor</th><td></td><td></td><td></td><td></td><td>htmlEditor = true</td>
|
772 |
+
</tr>
|
773 |
+
<tr>
|
774 |
<th>mediaButton</th><td></td><td></td><td></td><td></td><td>mediaButton = true</td>
|
775 |
</tr>
|
776 |
<tr>
|
1093 |
return $out;
|
1094 |
}
|
1095 |
|
1096 |
+
function make_textarea( $name, $sid, $rows, $cols, $tinyMCE, $htmlEditor, $mediaButton, $default, $hideKey, $label, $code, $class ) {
|
1097 |
$options = $this->get_custom_field_template_data();
|
1098 |
|
1099 |
global $wp_version;
|
1122 |
$out .= 'jQuery(document).ready(function() {document.getElementById("'. $name . $rand . '").value = document.getElementById("'. $name . $rand . '").value; tinyMCE.execCommand("mceAddControl", false, "'. $name . $rand . '"); tinyMCEID.push("'. $name . $rand . '");});' . "\n";
|
1123 |
else:
|
1124 |
$out .= 'jQuery(document).ready(function() {document.getElementById("'. $name . $rand . '").value = switchEditors.wpautop(document.getElementById("'. $name . $rand . '").value); tinyMCE.execCommand("mceAddControl", false, "'. $name . $rand . '"); tinyMCEID.push("'. $name . $rand . '");});' . "\n";
|
1125 |
+
endif;
|
1126 |
+
$out .= '// ]]>' . "\n" . '</script>';
|
|
|
1127 |
}
|
1128 |
|
1129 |
if ( substr($wp_version, 0, 3) >= '2.5' ) {
|
1157 |
}
|
1158 |
|
1159 |
if ( $hideKey == true ) $hide = ' class="hideKey"';
|
1160 |
+
$content_class = ' class="';
|
1161 |
+
if ( $htmlEditor == true ) $content_class .= 'content';
|
1162 |
+
if ( !empty($class) ) $content_class .= ' ' . $class;
|
1163 |
+
$content_class .= '"';
|
1164 |
|
1165 |
if ( !empty($label) && $options['custom_field_template_replace_keys_by_labels'] )
|
1166 |
$title = stripcslashes($label);
|
1172 |
|
1173 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1174 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1175 |
+
|
1176 |
+
if ( $htmlEditor == true ) :
|
1177 |
+
if( $tinyMCE == true ) $quicktags_hide = ' jQuery(\'#qt_' . $name . $rand . '_qtags\').hide();';
|
1178 |
+
$out .= '<div class="quicktags"><script type="text/javascript">' . "\n" . '// <![CDATA[' . "\n" . '
|
1179 |
+
jQuery(document).ready(function() { qt_' . $name . $rand . ' = new QTags(\'qt_' . $name . $rand . '\', \'' . $name . $rand . '\', \'editorcontainer_' . $name . $rand . '\', \'more\'); ' . $quicktags_hide . ' });' . "\n" . '// ]]>' . "\n" . '</script>';
|
1180 |
+
$editorcontainer_class .= ' class="editorcontainer"';
|
1181 |
+
endif;
|
1182 |
+
|
1183 |
+
$out .= '<div' . $editorcontainer_class . ' id="editorcontainer_' . $name . $rand . '"><textarea id="' . $name . $rand . '" name="' . $name . '[' . $sid . ']" rows="' .$rows. '" cols="' . $cols . '" style="color:#000000"' . $content_class . '>' . attribute_escape($value) . '</textarea><input type="hidden" name="'.$name.'_rand['.$sid.']" value="'.$rand.'" /></div>';
|
1184 |
+
if ( $htmlEditor == true ) $out .= '</div>';
|
1185 |
+
$out .= '</dd></dl>';
|
1186 |
+
|
1187 |
return $out;
|
1188 |
}
|
1189 |
|
1238 |
else if( $data[$i]['type'] == 'textarea' ) {
|
1239 |
if ( $options['tinyMCE'][$_REQUEST['post']][$this->sanitize_name($title)][$i] ) $data[$i]['rows'] = $options['tinyMCE'][$_REQUEST['post']][$this->sanitize_name($title)][$i];
|
1240 |
$out .=
|
1241 |
+
$this->make_textarea( $title, $i, $data[$i]['rows'], $data[$i]['cols'], $data[$i]['tinyMCE'], $data[$i]['htmlEditor'], $data[$i]['mediaButton'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'] );
|
1242 |
}
|
1243 |
}
|
1244 |
}
|
1331 |
' var ed = tinyMCE.get(id);' . "\n" .
|
1332 |
' if ( ! ed || ed.isHidden() ) {' . "\n" .
|
1333 |
' document.getElementById(id).value = switchEditors.wpautop(document.getElementById(id).value);' . "\n" .
|
1334 |
+
' if ( ed ) { jQuery(\'#editorcontainer_\'+id).prev().hide(); ed.show(); }' . "\n" .
|
1335 |
+
' else {tinyMCE.execCommand("mceAddControl", false, id);}' . "\n" .
|
1336 |
' } else {' . "\n" .
|
1337 |
+
' ed.hide(); jQuery(\'#editorcontainer_\'+id).prev().show(); document.getElementById(id).style.color="#000000";' . "\n" .
|
1338 |
' }' . "\n" .
|
1339 |
'}' . "\n";
|
1340 |
|
1392 |
$out .= '<style type="text/css">' . "\n" .
|
1393 |
'<!--' . "\n";
|
1394 |
$out .= $options['css'] . "\n";
|
1395 |
+
$out .= '.editorcontainer { overflow:hidden; background:#FFFFFF; }
|
1396 |
+
.content { width:98%; }
|
1397 |
+
.editorcontainer .content { padding: 6px; line-height: 150%; border: 0 none; outline: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -khtml-box-sizing: border-box; box-sizing: border-box; }
|
1398 |
+
.quicktags { border:1px solid #DFDFDF; border-collapse: separate; -moz-border-radius: 6px 6px 0 0; -webkit-border-top-right-radius: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-right-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-right-radius: 6px; border-top-left-radius: 6px; }
|
1399 |
+
.quicktags { padding: 0; margin-bottom: -1px; border-bottom-width:1px; background-image: url("images/ed-bg.gif"); background-position: left top; background-repeat: repeat; }
|
1400 |
+
.quicktags div div { padding: 2px 4px 0; }
|
1401 |
+
.quicktags div div input { margin: 3px 1px 4px; line-height: 18px; display: inline-block; border-width: 1px; border-style: solid; min-width: 26px; padding: 2px 4px; font-size: 12px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background:#FFFFFF url(images/fade-butt.png) repeat-x scroll 0 -2px; overflow: visible; }' . "\n";
|
1402 |
$out .= '-->' . "\n" .
|
1403 |
'</style>';
|
1404 |
$body = $this->load_custom_field($init_id);
|
1629 |
extract(shortcode_atts(array(
|
1630 |
'post_id' => $post->ID,
|
1631 |
'template' => 0,
|
1632 |
+
'format' => '',
|
1633 |
+
'key' => '',
|
1634 |
+
'single' => false
|
1635 |
), $attr));
|
1636 |
|
1637 |
+
$metakey = $key;
|
1638 |
+
if ( $metakey ) :
|
1639 |
+
$metavalue = get_post_meta($post_id, $key, $single);
|
1640 |
+
if ( is_array($metavalue) ) :
|
1641 |
+
$output = '<ul>' . "\n";
|
1642 |
+
foreach ( $metavalue as $val ) :
|
1643 |
+
$output .= '<li>' . $val . '</li>' . "\n";
|
1644 |
+
endforeach;
|
1645 |
+
$output .= '</ul>' . "\n";
|
1646 |
+
else :
|
1647 |
+
$output = $metavalue;
|
1648 |
+
endif;
|
1649 |
+
return $output;
|
1650 |
+
endif;
|
1651 |
+
|
1652 |
if ( is_numeric($format) && $output = $options['shortcode_format'][$format] ) :
|
1653 |
$data = get_post_custom($post_id);
|
1654 |
$output = stripcslashes($output);
|
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-02-
|
6 |
-
"PO-Revision-Date: 2009-02-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -13,267 +13,275 @@ msgstr ""
|
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
15 |
|
16 |
-
#: custom-field-template/custom-field-template.php:93
|
17 |
#: custom-field-template/custom-field-template.php:94
|
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 |
msgid "Custom Field Template"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: custom-field-template/custom-field-template.php:
|
25 |
-
#: custom-field-template/custom-field-template.php:
|
26 |
msgid "Load"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: custom-field-template/custom-field-template.php:
|
30 |
msgid "read more"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: custom-field-template/custom-field-template.php:
|
34 |
-
#: custom-field-template/custom-field-template.php:
|
35 |
msgid "Custom Fields"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: custom-field-template/custom-field-template.php:
|
39 |
msgid "Settings"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: custom-field-template/custom-field-template.php:
|
43 |
msgid "Default Template"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: custom-field-template/custom-field-template.php:
|
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 |
msgid "Options updated."
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: custom-field-template/custom-field-template.php:
|
55 |
msgid "Options resetted."
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: custom-field-template/custom-field-template.php:
|
59 |
msgid "Options deleted."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: custom-field-template/custom-field-template.php:
|
63 |
-
#: custom-field-template/custom-field-template.php:
|
64 |
-
#: custom-field-template/custom-field-template.php:
|
65 |
-
#: custom-field-template/custom-field-template.php:
|
66 |
-
#: custom-field-template/custom-field-template.php:
|
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 |
msgid "Click to toggle"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: custom-field-template/custom-field-template.php:
|
75 |
msgid "Custom Field Template Options"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: custom-field-template/custom-field-template.php:
|
79 |
msgid "Template Title"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: custom-field-template/custom-field-template.php:
|
83 |
msgid "Template Instruction"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: custom-field-template/custom-field-template.php:
|
87 |
-
#: custom-field-template/custom-field-template.php:
|
88 |
msgid "Category ID (comma-deliminated)"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: custom-field-template/custom-field-template.php:
|
92 |
msgid "Template Content"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: custom-field-template/custom-field-template.php:
|
96 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: custom-field-template/custom-field-template.php:
|
100 |
msgid "Use multiple image inset"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: custom-field-template/custom-field-template.php:
|
104 |
msgid "Caution:"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: custom-field-template/custom-field-template.php:
|
108 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: custom-field-template/custom-field-template.php:
|
112 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: custom-field-template/custom-field-template.php:
|
116 |
msgid "Use labels in place of custom keys"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: custom-field-template/custom-field-template.php:
|
120 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: custom-field-template/custom-field-template.php:
|
124 |
msgid "Use wpautop function"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: custom-field-template/custom-field-template.php:
|
128 |
msgid "In case that you would like to save values automatically in switching templates"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: custom-field-template/custom-field-template.php:
|
132 |
msgid "Use the auto save in switching templates"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: custom-field-template/custom-field-template.php:
|
136 |
msgid "In case that you would like to forbid to use the default custom fields."
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: custom-field-template/custom-field-template.php:
|
140 |
msgid "Disable the default custom fields"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: custom-field-template/custom-field-template.php:
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
msgid "Update Options »"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: custom-field-template/custom-field-template.php:
|
152 |
msgid "ADMIN CSS"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: custom-field-template/custom-field-template.php:
|
156 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: custom-field-template/custom-field-template.php:
|
160 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: custom-field-template/custom-field-template.php:
|
164 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: custom-field-template/custom-field-template.php:
|
168 |
-
#: custom-field-template/custom-field-template.php:
|
169 |
msgid "Use PHP"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: custom-field-template/custom-field-template.php:
|
173 |
msgid "PHP CODE (Experimental Option)"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: custom-field-template/custom-field-template.php:
|
177 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: custom-field-template/custom-field-template.php:
|
181 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: custom-field-template/custom-field-template.php:
|
185 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: custom-field-template/custom-field-template.php:
|
189 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: custom-field-template/custom-field-template.php:
|
193 |
msgid "Position"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: custom-field-template/custom-field-template.php:
|
197 |
msgid "Before the conetnt"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: custom-field-template/custom-field-template.php:
|
201 |
msgid "After the conetnt"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: custom-field-template/custom-field-template.php:
|
205 |
msgid "Content"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: custom-field-template/custom-field-template.php:
|
209 |
msgid "Option List"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: custom-field-template/custom-field-template.php:
|
213 |
msgid "Reset Options"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: custom-field-template/custom-field-template.php:
|
217 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: custom-field-template/custom-field-template.php:
|
221 |
msgid "Unset Options »"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: custom-field-template/custom-field-template.php:
|
225 |
msgid "Delete Options"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: custom-field-template/custom-field-template.php:
|
229 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: custom-field-template/custom-field-template.php:
|
233 |
msgid "Delete Options »"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: custom-field-template/custom-field-template.php:
|
237 |
msgid "Donation"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: custom-field-template/custom-field-template.php:
|
241 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: custom-field-template/custom-field-template.php:
|
245 |
msgid "Clear"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: custom-field-template/custom-field-template.php:
|
249 |
msgid "Select"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: custom-field-template/custom-field-template.php:
|
253 |
msgid "Add Media"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: custom-field-template/custom-field-template.php:
|
257 |
msgid "Add an Image"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: custom-field-template/custom-field-template.php:
|
261 |
msgid "Add Video"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: custom-field-template/custom-field-template.php:
|
265 |
msgid "Add Audio"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: custom-field-template/custom-field-template.php:
|
269 |
msgid "Toggle"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: custom-field-template/custom-field-template.php:
|
273 |
msgid "Save"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: custom-field-template/custom-field-template.php:
|
277 |
msgid "Search »"
|
278 |
msgstr ""
|
279 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-02-06 18:49+0900\n"
|
6 |
+
"PO-Revision-Date: 2009-02-06 18:49+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:94
|
17 |
+
#: custom-field-template/custom-field-template.php:95
|
18 |
+
#: custom-field-template/custom-field-template.php:425
|
19 |
+
#: custom-field-template/custom-field-template.php:539
|
20 |
+
#: custom-field-template/custom-field-template.php:1268
|
21 |
msgid "Custom Field Template"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: custom-field-template/custom-field-template.php:134
|
25 |
+
#: custom-field-template/custom-field-template.php:1426
|
26 |
msgid "Load"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: custom-field-template/custom-field-template.php:283
|
30 |
msgid "read more"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: custom-field-template/custom-field-template.php:301
|
34 |
+
#: custom-field-template/custom-field-template.php:311
|
35 |
msgid "Custom Fields"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: custom-field-template/custom-field-template.php:341
|
39 |
msgid "Settings"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: custom-field-template/custom-field-template.php:353
|
43 |
msgid "Default Template"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: custom-field-template/custom-field-template.php:484
|
47 |
+
#: custom-field-template/custom-field-template.php:488
|
48 |
+
#: custom-field-template/custom-field-template.php:500
|
49 |
+
#: custom-field-template/custom-field-template.php:508
|
50 |
+
#: custom-field-template/custom-field-template.php:522
|
51 |
msgid "Options updated."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: custom-field-template/custom-field-template.php:527
|
55 |
msgid "Options resetted."
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: custom-field-template/custom-field-template.php:531
|
59 |
msgid "Options deleted."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: custom-field-template/custom-field-template.php:545
|
63 |
+
#: custom-field-template/custom-field-template.php:607
|
64 |
+
#: custom-field-template/custom-field-template.php:626
|
65 |
+
#: custom-field-template/custom-field-template.php:655
|
66 |
+
#: custom-field-template/custom-field-template.php:686
|
67 |
+
#: custom-field-template/custom-field-template.php:719
|
68 |
+
#: custom-field-template/custom-field-template.php:812
|
69 |
+
#: custom-field-template/custom-field-template.php:828
|
70 |
+
#: custom-field-template/custom-field-template.php:844
|
71 |
msgid "Click to toggle"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: custom-field-template/custom-field-template.php:546
|
75 |
msgid "Custom Field Template Options"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: custom-field-template/custom-field-template.php:556
|
79 |
msgid "Template Title"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: custom-field-template/custom-field-template.php:558
|
83 |
msgid "Template Instruction"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: custom-field-template/custom-field-template.php:560
|
87 |
+
#: custom-field-template/custom-field-template.php:701
|
88 |
msgid "Category ID (comma-deliminated)"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: custom-field-template/custom-field-template.php:562
|
92 |
msgid "Template Content"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: custom-field-template/custom-field-template.php:569
|
96 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: custom-field-template/custom-field-template.php:570
|
100 |
msgid "Use multiple image inset"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: custom-field-template/custom-field-template.php:570
|
104 |
msgid "Caution:"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: custom-field-template/custom-field-template.php:570
|
108 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: custom-field-template/custom-field-template.php:574
|
112 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: custom-field-template/custom-field-template.php:575
|
116 |
msgid "Use labels in place of custom keys"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: custom-field-template/custom-field-template.php:578
|
120 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: custom-field-template/custom-field-template.php:579
|
124 |
msgid "Use wpautop function"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: custom-field-template/custom-field-template.php:583
|
128 |
msgid "In case that you would like to save values automatically in switching templates"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: custom-field-template/custom-field-template.php:584
|
132 |
msgid "Use the auto save in switching templates"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: custom-field-template/custom-field-template.php:588
|
136 |
msgid "In case that you would like to forbid to use the default custom fields."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: custom-field-template/custom-field-template.php:589
|
140 |
msgid "Disable the default custom fields"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: custom-field-template/custom-field-template.php:593
|
144 |
+
msgid "In case that you would like to forbid to use the quick edit."
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: custom-field-template/custom-field-template.php:594
|
148 |
+
msgid "Disable the quick edit"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: custom-field-template/custom-field-template.php:598
|
152 |
+
#: custom-field-template/custom-field-template.php:617
|
153 |
+
#: custom-field-template/custom-field-template.php:646
|
154 |
+
#: custom-field-template/custom-field-template.php:677
|
155 |
+
#: custom-field-template/custom-field-template.php:710
|
156 |
msgid "Update Options »"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: custom-field-template/custom-field-template.php:608
|
160 |
msgid "ADMIN CSS"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: custom-field-template/custom-field-template.php:627
|
164 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: custom-field-template/custom-field-template.php:630
|
168 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: custom-field-template/custom-field-template.php:631
|
172 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: custom-field-template/custom-field-template.php:640
|
176 |
+
#: custom-field-template/custom-field-template.php:704
|
177 |
msgid "Use PHP"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: custom-field-template/custom-field-template.php:656
|
181 |
msgid "PHP CODE (Experimental Option)"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: custom-field-template/custom-field-template.php:658
|
185 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: custom-field-template/custom-field-template.php:659
|
189 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: custom-field-template/custom-field-template.php:661
|
193 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: custom-field-template/custom-field-template.php:687
|
197 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: custom-field-template/custom-field-template.php:697
|
201 |
msgid "Position"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: custom-field-template/custom-field-template.php:698
|
205 |
msgid "Before the conetnt"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: custom-field-template/custom-field-template.php:699
|
209 |
msgid "After the conetnt"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: custom-field-template/custom-field-template.php:703
|
213 |
msgid "Content"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: custom-field-template/custom-field-template.php:720
|
217 |
msgid "Option List"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: custom-field-template/custom-field-template.php:813
|
221 |
msgid "Reset Options"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: custom-field-template/custom-field-template.php:815
|
225 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: custom-field-template/custom-field-template.php:819
|
229 |
msgid "Unset Options »"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: custom-field-template/custom-field-template.php:829
|
233 |
msgid "Delete Options"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: custom-field-template/custom-field-template.php:831
|
237 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: custom-field-template/custom-field-template.php:835
|
241 |
msgid "Delete Options »"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: custom-field-template/custom-field-template.php:845
|
245 |
msgid "Donation"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: custom-field-template/custom-field-template.php:847
|
249 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: custom-field-template/custom-field-template.php:1010
|
253 |
msgid "Clear"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: custom-field-template/custom-field-template.php:1077
|
257 |
msgid "Select"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: custom-field-template/custom-field-template.php:1135
|
261 |
msgid "Add Media"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: custom-field-template/custom-field-template.php:1137
|
265 |
msgid "Add an Image"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: custom-field-template/custom-field-template.php:1139
|
269 |
msgid "Add Video"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: custom-field-template/custom-field-template.php:1141
|
273 |
msgid "Add Audio"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: custom-field-template/custom-field-template.php:1152
|
277 |
msgid "Toggle"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: custom-field-template/custom-field-template.php:1449
|
281 |
msgid "Save"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: custom-field-template/custom-field-template.php:1744
|
285 |
msgid "Search »"
|
286 |
msgstr ""
|
287 |
|
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
|
7 |
-
Stable tag: 1.0.
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
@@ -40,12 +40,14 @@ The Custom Field Template plugin adds the default custom fields on the Write Pos
|
|
40 |
* Adds the save functionality.
|
41 |
* Adds the class option. (`class = text`)
|
42 |
* Adds the auto hook of `the_content()`. (experimental)
|
|
|
43 |
|
44 |
Localization
|
45 |
|
46 |
-
* Japanese (ja) - [Hiroaki Miyashita](http://wordpressgogo.com/)
|
47 |
* German (de_DE) - F J Kaiser
|
48 |
* Spanish (es_ES) - Dario Ferrer
|
|
|
|
|
49 |
* Russian (ru_RU) - [Sonika](http://www.sonika.ru/blog/)
|
50 |
* Turkish (tr_TR) - [Omer Faruk](http://ramerta.com/)
|
51 |
|
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
|
7 |
+
Stable tag: 1.0.4
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
40 |
* Adds the save functionality.
|
41 |
* Adds the class option. (`class = text`)
|
42 |
* Adds the auto hook of `the_content()`. (experimental)
|
43 |
+
* You can use the HTML Editor in the textarea. (`htmlEditor = true`)
|
44 |
|
45 |
Localization
|
46 |
|
|
|
47 |
* German (de_DE) - F J Kaiser
|
48 |
* Spanish (es_ES) - Dario Ferrer
|
49 |
+
* Italian (it_IT) - [Gianni Diurno](http://gidibao.net/)
|
50 |
+
* Japanese (ja) - [Hiroaki Miyashita](http://wordpressgogo.com/)
|
51 |
* Russian (ru_RU) - [Sonika](http://www.sonika.ru/blog/)
|
52 |
* Turkish (tr_TR) - [Omer Faruk](http://ramerta.com/)
|
53 |
|