Custom Field Template - Version 0.7.4

Version Description

Download this release

Release Info

Developer Hiroaki Miyashita
Plugin Icon 128x128 Custom Field Template
Version 0.7.4
Comparing to
See all releases

Code changes from version 0.7.3 to 0.7.4

custom-field-template-es_ES.mo ADDED
Binary file
custom-field-template-es_ES.po ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Custom Field Template\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-12-12 15:19+0900\n"
6
+ "PO-Revision-Date: 2008-12-21 12:51-0400\n"
7
+ "Last-Translator: Darío Ferrer <info@darioferrer.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Japanese\n"
13
+ "X-Poedit-Country: JAPAN\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:83
20
+ #: custom-field-template/custom-field-template.php:84
21
+ #: custom-field-template/custom-field-template.php:161
22
+ #: custom-field-template/custom-field-template.php:210
23
+ #: custom-field-template/custom-field-template.php:740
24
+ msgid "Custom Field Template"
25
+ msgstr "Custom Field Template"
26
+
27
+ #: custom-field-template/custom-field-template.php:95
28
+ msgid "Settings"
29
+ msgstr "Configuración"
30
+
31
+ #: custom-field-template/custom-field-template.php:106
32
+ msgid "Default Template"
33
+ msgstr "Plantilla predeterminada"
34
+
35
+ #: custom-field-template/custom-field-template.php:181
36
+ #: custom-field-template/custom-field-template.php:185
37
+ #: custom-field-template/custom-field-template.php:193
38
+ msgid "Options updated."
39
+ msgstr "Opciones actualizadas exitosamente"
40
+
41
+ #: custom-field-template/custom-field-template.php:198
42
+ msgid "Options resetted."
43
+ msgstr "Opciones reiniciadas exitosamente"
44
+
45
+ #: custom-field-template/custom-field-template.php:202
46
+ msgid "Options deleted."
47
+ msgstr "Opciones eliminadas exitosamente"
48
+
49
+ #: custom-field-template/custom-field-template.php:216
50
+ msgid "Custom Field Template Options"
51
+ msgstr "Opciones de campos personalizados"
52
+
53
+ #: custom-field-template/custom-field-template.php:226
54
+ #, php-format
55
+ msgid "Template Title %d"
56
+ msgstr "Título de la plantilla %d"
57
+
58
+ #: custom-field-template/custom-field-template.php:228
59
+ #, php-format
60
+ msgid "Template Instruction %d"
61
+ msgstr "Instrucciones de la plantilla %d"
62
+
63
+ #: custom-field-template/custom-field-template.php:230
64
+ #, php-format
65
+ msgid "Template Content %d"
66
+ msgstr "Contenido de la plantilla %d"
67
+
68
+ #: custom-field-template/custom-field-template.php:237
69
+ msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
70
+ msgstr "En caso de que desees insertar múltiples imágenes al mismo tiempo para el uso de los botones Media"
71
+
72
+ #: custom-field-template/custom-field-template.php:238
73
+ msgid "Use multiple image inset"
74
+ msgstr "Usar inclusión de múltiples imágenes"
75
+
76
+ #: custom-field-template/custom-field-template.php:238
77
+ msgid "Caution:"
78
+ msgstr "Advertencia:"
79
+
80
+ #: custom-field-template/custom-field-template.php:238
81
+ msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
82
+ msgstr "Necesitas editar el archivo `wp-admin/includes/media.php`. Elimina o descomenta el código en la función media_send_to_editor"
83
+
84
+ #: custom-field-template/custom-field-template.php:242
85
+ msgid "In case that you would like to replace custom keys by labels if `label` is set"
86
+ msgstr "En caso de que desees reemplazar claves personalizadas por etiquetas si 'etiqueta' está configurado"
87
+
88
+ #: custom-field-template/custom-field-template.php:243
89
+ msgid "Use labels in place of custom keys"
90
+ msgstr "Usar etiquetas en lugar de claves personalizadas"
91
+
92
+ #: custom-field-template/custom-field-template.php:246
93
+ msgid "In case that you would like to add p and br tags in textareas automatically"
94
+ msgstr "En caso de que desees añadir etiquetas 'p' y 'br' automáticamente en áreas de texto"
95
+
96
+ #: custom-field-template/custom-field-template.php:247
97
+ msgid "Use wpautop function"
98
+ msgstr "Usar función 'wpautop'"
99
+
100
+ #: custom-field-template/custom-field-template.php:251
101
+ #: custom-field-template/custom-field-template.php:270
102
+ #: custom-field-template/custom-field-template.php:297
103
+ msgid "Update Options &raquo;"
104
+ msgstr "Actualizar opciones &raquo;"
105
+
106
+ #: custom-field-template/custom-field-template.php:260
107
+ #: custom-field-template/custom-field-template.php:279
108
+ #: custom-field-template/custom-field-template.php:306
109
+ #: custom-field-template/custom-field-template.php:371
110
+ #: custom-field-template/custom-field-template.php:387
111
+ msgid "Click to toggle"
112
+ msgstr "Haz clic para intercambiar"
113
+
114
+ #: custom-field-template/custom-field-template.php:261
115
+ msgid "CSS"
116
+ msgstr "CSS"
117
+
118
+ #: custom-field-template/custom-field-template.php:280
119
+ msgid "PHP CODE (Experimental Option)"
120
+ msgstr "CÓDIGO PHP (Opción en Experimentación)"
121
+
122
+ #: custom-field-template/custom-field-template.php:282
123
+ msgid "Are you sure to save PHP codes? Please do it at your own risk."
124
+ msgstr "¿Estás seguro de querer guardar los códigos PHP? Házlo a tu propio riesgo"
125
+
126
+ #: custom-field-template/custom-field-template.php:283
127
+ msgid "This option is available only for `radio` and `select` types. You must set $values as an array."
128
+ msgstr "Esta opción solamente está disponible para tipos 'radio' y 'select'. Debes configurar $values como un array"
129
+
130
+ #: custom-field-template/custom-field-template.php:307
131
+ msgid "Option List"
132
+ msgstr "Lista de opciones"
133
+
134
+ #: custom-field-template/custom-field-template.php:372
135
+ msgid "Reset Options"
136
+ msgstr "Reiniciar opciones"
137
+
138
+ #: custom-field-template/custom-field-template.php:374
139
+ msgid "Are you sure to reset options? Options you set will be reset to the default settings."
140
+ msgstr "¿Estás seguro de querer reiniciar las opciones?. Las opciones que habías configurado serán reiniciadas a la configuración predeterminada."
141
+
142
+ #: custom-field-template/custom-field-template.php:378
143
+ msgid "Unset Options &raquo;"
144
+ msgstr "Reiniciar opciones &raquo;"
145
+
146
+ #: custom-field-template/custom-field-template.php:388
147
+ msgid "Delete Options"
148
+ msgstr "Eliminar opciones"
149
+
150
+ #: custom-field-template/custom-field-template.php:390
151
+ msgid "Are you sure to delete options? Options you set will be deleted."
152
+ msgstr "¿Estás seguro de querer eliminar las opciones?. Tus configuraciones serán suprimidas."
153
+
154
+ #: custom-field-template/custom-field-template.php:394
155
+ msgid "Delete Options &raquo;"
156
+ msgstr "Eliminar opciones &raquo;"
157
+
158
+ #: custom-field-template/custom-field-template.php:532
159
+ msgid "Clear"
160
+ msgstr "Borrar"
161
+
162
+ #: custom-field-template/custom-field-template.php:633
163
+ msgid "Add Media"
164
+ msgstr "Añadir Media"
165
+
166
+ #: custom-field-template/custom-field-template.php:635
167
+ msgid "Add an Image"
168
+ msgstr "Añadir una Imagen"
169
+
170
+ #: custom-field-template/custom-field-template.php:637
171
+ msgid "Add Video"
172
+ msgstr "Añadir Video"
173
+
174
+ #: custom-field-template/custom-field-template.php:639
175
+ msgid "Add Audio"
176
+ msgstr "Añadir Audio"
177
+
178
+ #: custom-field-template/custom-field-template.php:650
179
+ msgid "Toggle"
180
+ msgstr "Intercambiar"
181
+
182
+ #~ msgid "Recent Posts Ext"
183
+ #~ msgstr "最近の投稿 Ext"
184
+ #~ msgid "camera"
185
+ #~ msgstr "機種"
186
+ #~ msgid "aperture"
187
+ #~ msgstr "絞り値"
188
+ #~ msgid "focal_length"
189
+ #~ msgstr "焦点距離"
190
+ #~ msgid "ISO"
191
+ #~ msgstr "ISO"
192
+ #~ msgid "shutter_speed"
193
+ #~ msgstr "シャッタースピード"
194
+ #~ msgid "created_timestamp"
195
+ #~ msgstr "撮影日時"
196
+
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: 0.7.3
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
@@ -222,13 +222,13 @@ mediaButton = true';
222
  for ( $i = 0; $i < count($options['custom_fields'])+1; $i++ ) {
223
  ?>
224
  <tr><td>
225
- <p><strong>TEMPLATE #<?= $i ?></strong></p>
226
- <p><label for="custom_field_template_title[<?= $i ?>]"><?php echo sprintf(__('Template Title %d', 'custom-field-template'), $i); ?></label>:<br />
227
- <input type="text" name="custom_field_template_title[<?= $i ?>]" id="custom_field_template_title[<?= $i ?>]" value="<?= stripcslashes($options['custom_fields'][$i]['title']) ?>" size="60" /></p>
228
- <p><label for="custom_field_template_instruction[<?= $i ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Template Instruction %d', 'custom-field-template'), $i); ?></a></label>:<br />
229
- <textarea name="custom_field_template_instruction[<?= $i ?>]" id="custom_field_template_instruction[<?= $i ?>]" rows="5" cols="60"<?php if ( empty($options['custom_fields'][$i]['instruction']) ) : echo ' style="display:none;"'; endif; ?>><?= stripcslashes($options['custom_fields'][$i]['instruction']) ?></textarea></p>
230
- <p><label for="custom_field_template_content[<?= $i ?>]"><?php echo sprintf(__('Template Content %d', 'custom-field-template'), $i); ?></label>:<br />
231
- <textarea name="custom_field_template_content[<?= $i ?>]" id="custom_field_template_content[<?= $i ?>]" rows="10" cols="60"><?= stripcslashes($options['custom_fields'][$i]['content']) ?></textarea></p>
232
  </td></tr>
233
  <?php
234
  }
@@ -264,7 +264,7 @@ mediaButton = true';
264
  <table class="form-table" style="margin-bottom:5px;">
265
  <tbody>
266
  <tr><td>
267
- <p><textarea name="custom_field_template_css" id="custom_field_template_css" rows="10" cols="60"><?= stripcslashes($options['css']) ?></textarea></p>
268
  </td></tr>
269
  <tr><td>
270
  <p><input type="submit" name="custom_field_template_css_submit" value="<?php _e('Update Options &raquo;', 'custom-field-template'); ?>" class="button-primary" /></p>
@@ -287,9 +287,9 @@ ex. `checkbox`:<br />$values = array('dog', 'cat', 'monkey'); $defaults = array(
287
  <?php
288
  for ($i=0;$i<count($options['php'])+1;$i++) :
289
  ?>
290
- <tr><th><strong>CODE #<?= $i ?></strong></th></tr>
291
  <tr><td>
292
- <p><textarea name="custom_field_template_php[]" rows="10" cols="60"><?= stripcslashes($options['php'][$i]) ?></textarea></p>
293
  </td></tr>
294
  <?php
295
  endfor;
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: 0.7.4
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
222
  for ( $i = 0; $i < count($options['custom_fields'])+1; $i++ ) {
223
  ?>
224
  <tr><td>
225
+ <p><strong>TEMPLATE #<?php echo $i; ?></strong></p>
226
+ <p><label for="custom_field_template_title[<?php echo $i; ?>]"><?php echo sprintf(__('Template Title %d', 'custom-field-template'), $i); ?></label>:<br />
227
+ <input type="text" name="custom_field_template_title[<?php echo $i; ?>]" id="custom_field_template_title[<?php echo $i; ?>]" value="<?php echo stripcslashes($options['custom_fields'][$i]['title']); ?>" size="60" /></p>
228
+ <p><label for="custom_field_template_instruction[<?php echo $i; ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Template Instruction %d', 'custom-field-template'), $i); ?></a></label>:<br />
229
+ <textarea name="custom_field_template_instruction[<?php echo $i; ?>]" id="custom_field_template_instruction[<?php echo $i; ?>]" rows="5" cols="60"<?php if ( empty($options['custom_fields'][$i]['instruction']) ) : echo ' style="display:none;"'; endif; ?>><?php echo stripcslashes($options['custom_fields'][$i]['instruction']); ?></textarea></p>
230
+ <p><label for="custom_field_template_content[<?php echo $i; ?>]"><?php echo sprintf(__('Template Content %d', 'custom-field-template'), $i); ?></label>:<br />
231
+ <textarea name="custom_field_template_content[<?php echo $i; ?>]" id="custom_field_template_content[<?php echo $i; ?>]" rows="10" cols="60"><?php echo stripcslashes($options['custom_fields'][$i]['content']); ?></textarea></p>
232
  </td></tr>
233
  <?php
234
  }
264
  <table class="form-table" style="margin-bottom:5px;">
265
  <tbody>
266
  <tr><td>
267
+ <p><textarea name="custom_field_template_css" id="custom_field_template_css" rows="10" cols="60"><?php echo stripcslashes($options['css']); ?></textarea></p>
268
  </td></tr>
269
  <tr><td>
270
  <p><input type="submit" name="custom_field_template_css_submit" value="<?php _e('Update Options &raquo;', 'custom-field-template'); ?>" class="button-primary" /></p>
287
  <?php
288
  for ($i=0;$i<count($options['php'])+1;$i++) :
289
  ?>
290
+ <tr><th><strong>CODE #<?php echo $i; ?></strong></th></tr>
291
  <tr><td>
292
+ <p><textarea name="custom_field_template_php[]" rows="10" cols="60"><?php echo stripcslashes($options['php'][$i]); ?></textarea></p>
293
  </td></tr>
294
  <?php
295
  endfor;
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: 0.7.3
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
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: 0.7.4
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10