Version Description
-
mediaLibrary
attribute for the file type to show the link of the uploaded file name. - Bugfix: search.
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- custom-field-template-ru_RU.mo +0 -0
- custom-field-template-ru_RU.po +221 -157
- custom-field-template.php +35 -45
- readme.txt +6 -2
custom-field-template-ru_RU.mo
CHANGED
Binary file
|
custom-field-template-ru_RU.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Custom Field Template 1.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Sonika <sonika@sonika.ru>\n"
|
8 |
"Language-Team: sonika.ru <sonika@sonika.ru>\n"
|
@@ -16,430 +16,494 @@ msgstr ""
|
|
16 |
"X-Poedit-SourceCharset: utf-8\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 "Custom Field Template"
|
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 "Custom Fields"
|
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 |
-
|
52 |
-
|
53 |
-
|
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 |
-
#, fuzzy
|
64 |
msgid "Tags rebuilt."
|
65 |
-
msgstr "
|
66 |
|
67 |
-
#: custom-field-template/custom-field-template.php:
|
68 |
msgid "Options imported."
|
69 |
msgstr "Настройки импортированы."
|
70 |
|
71 |
-
#: custom-field-template/custom-field-template.php:
|
72 |
msgid "Options resetted."
|
73 |
msgstr "Настройки сброшены."
|
74 |
|
75 |
-
#: custom-field-template/custom-field-template.php:
|
76 |
msgid "Options deleted."
|
77 |
msgstr "Настройки удалены."
|
78 |
|
79 |
-
#: custom-field-template/custom-field-template.php:
|
80 |
-
#: custom-field-template/custom-field-template.php:
|
81 |
-
#: custom-field-template/custom-field-template.php:
|
82 |
-
#: custom-field-template/custom-field-template.php:
|
83 |
-
#: custom-field-template/custom-field-template.php:
|
84 |
-
#: custom-field-template/custom-field-template.php:
|
85 |
-
#: custom-field-template/custom-field-template.php:
|
86 |
-
#: custom-field-template/custom-field-template.php:
|
87 |
-
#: custom-field-template/custom-field-template.php:
|
88 |
-
#: custom-field-template/custom-field-template.php:
|
89 |
-
#: custom-field-template/custom-field-template.php:
|
90 |
-
#: custom-field-template/custom-field-template.php:
|
91 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
92 |
msgid "Click to toggle"
|
93 |
msgstr "Свернуть"
|
94 |
|
95 |
-
#: custom-field-template/custom-field-template.php:
|
96 |
msgid "Custom Field Template Options"
|
97 |
msgstr "Настройки Custom Field Template"
|
98 |
|
99 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
msgid "Template Title"
|
101 |
msgstr "Заголовок шаблона"
|
102 |
|
103 |
-
#: custom-field-template/custom-field-template.php:
|
104 |
msgid "Template Instruction"
|
105 |
msgstr "Инструкция к шаблону"
|
106 |
|
107 |
-
#: custom-field-template/custom-field-template.php:
|
108 |
-
#: custom-field-template/custom-field-template.php:
|
109 |
msgid "Post Type"
|
110 |
msgstr "Тип страниц"
|
111 |
|
112 |
-
#: custom-field-template/custom-field-template.php:
|
113 |
-
#: custom-field-template/custom-field-template.php:
|
114 |
msgid "Both"
|
115 |
msgstr "Оба"
|
116 |
|
117 |
-
#: custom-field-template/custom-field-template.php:
|
118 |
-
#: custom-field-template/custom-field-template.php:
|
119 |
msgid "Post"
|
120 |
msgstr "Запись"
|
121 |
|
122 |
-
#: custom-field-template/custom-field-template.php:
|
123 |
-
#: custom-field-template/custom-field-template.php:
|
124 |
msgid "Page"
|
125 |
msgstr "Страница"
|
126 |
|
127 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
128 |
msgid "Post ID (comma-deliminated)"
|
129 |
msgstr "ID записей (разделяйте запятыми)"
|
130 |
|
131 |
-
#: custom-field-template/custom-field-template.php:
|
132 |
-
#: custom-field-template/custom-field-template.php:
|
133 |
msgid "Category ID (comma-deliminated)"
|
134 |
msgstr "ID рубрик (разделяйте запятыми)"
|
135 |
|
136 |
-
#: custom-field-template/custom-field-template.php:
|
137 |
msgid "Page Template file name(s) (comma-deliminated)"
|
138 |
msgstr "Имена php-файлов Темы (разделяйте запятыми)"
|
139 |
|
140 |
-
#: custom-field-template/custom-field-template.php:
|
141 |
msgid "Template Content"
|
142 |
msgstr "Содержимое шаблона"
|
143 |
|
144 |
-
#: custom-field-template/custom-field-template.php:
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
#: custom-field-template/custom-field-template.php:
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
#: custom-field-template/custom-field-template.php:715
|
153 |
-
msgid "Caution:"
|
154 |
-
msgstr "Предупреждение:"
|
155 |
|
156 |
-
#: custom-field-template/custom-field-template.php:
|
157 |
-
msgid "
|
158 |
-
msgstr "
|
159 |
|
160 |
-
#: custom-field-template/custom-field-template.php:
|
161 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
162 |
msgstr "Показывать ярлык (label) вместо ключа произвольного поля (если label указан)"
|
163 |
|
164 |
-
#: custom-field-template/custom-field-template.php:
|
165 |
msgid "Use labels in place of custom keys"
|
166 |
msgstr "использовать ярлыки"
|
167 |
|
168 |
-
#: custom-field-template/custom-field-template.php:
|
169 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
170 |
msgstr "Добавлять теги p и br в текстовое поле автоматически"
|
171 |
|
172 |
-
#: custom-field-template/custom-field-template.php:
|
173 |
msgid "Use wpautop function"
|
174 |
msgstr "Использовать функцию wpautop"
|
175 |
|
176 |
-
#: custom-field-template/custom-field-template.php:
|
177 |
msgid "In case that you would like to save values automatically in switching templates"
|
178 |
msgstr "Автоматически сохранять значения произвольных полей при смене шаблона custom fields"
|
179 |
|
180 |
-
#: custom-field-template/custom-field-template.php:
|
181 |
msgid "Use the auto save in switching templates"
|
182 |
msgstr "да"
|
183 |
|
184 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
msgid "In case that you would like to forbid to use the default custom fields."
|
186 |
msgstr "Запретить использовать дефолтную вкладку «Произвольные поля»"
|
187 |
|
188 |
-
#: custom-field-template/custom-field-template.php:
|
189 |
msgid "Disable the default custom fields"
|
190 |
msgstr "Не показывать дефолтную вкладку «Произвольные поля»"
|
191 |
|
192 |
-
#: custom-field-template/custom-field-template.php:
|
193 |
msgid "In case that you would like to forbid to use the quick edit."
|
194 |
msgstr "Запретить использовать быстрое редактирование"
|
195 |
|
196 |
-
#: custom-field-template/custom-field-template.php:
|
197 |
msgid "Disable the quick edit"
|
198 |
msgstr "Отключить быстрое редактирование"
|
199 |
|
200 |
-
#: custom-field-template/custom-field-template.php:
|
201 |
msgid "In case that you would like to forbid to display the custom field column on the edit post list page."
|
202 |
msgstr "Спрятать колонку «Custom Fields» на странице списка записей в админ. панели"
|
203 |
|
204 |
-
#: custom-field-template/custom-field-template.php:
|
205 |
msgid "Disable the custom field column (The quick edit also does not work.)"
|
206 |
msgstr "спрятать колонку «Custom fields» (в быстром редактировании также не будут показаны произвольные поля)"
|
207 |
|
208 |
-
#: custom-field-template/custom-field-template.php:
|
209 |
msgid "In case that you would like to replace the box title with the template title."
|
210 |
msgstr "Заменить название вкладки на название шаблона"
|
211 |
|
212 |
-
#: custom-field-template/custom-field-template.php:
|
213 |
msgid "Replace the box title"
|
214 |
msgstr "Заменить название вкладки"
|
215 |
|
216 |
-
#: custom-field-template/custom-field-template.php:
|
217 |
msgid "In case that you would like to use the shortcode in the widget."
|
218 |
msgstr "Если вы хотите использовать условные коды в виджете"
|
219 |
|
220 |
-
#: custom-field-template/custom-field-template.php:
|
221 |
msgid "Use the shortcode in the widget"
|
222 |
msgstr "Использовать условные коды в виджете"
|
223 |
|
224 |
-
#: custom-field-template/custom-field-template.php:
|
225 |
msgid "In case that you would like to use the shortcode in the excerpt."
|
226 |
msgstr "Если вы хотите использовать условные коды в цитате (excerpt)"
|
227 |
|
228 |
-
#: custom-field-template/custom-field-template.php:
|
229 |
msgid "Use the shortcode in the excerpt"
|
230 |
msgstr "Использовать условные коды (шоткоды) в цитате (excerpt)"
|
231 |
|
232 |
-
#: custom-field-template/custom-field-template.php:
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
#: custom-field-template/custom-field-template.php:
|
237 |
-
msgid "
|
238 |
-
msgstr "
|
239 |
|
240 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
msgid "ADMIN CSS"
|
242 |
msgstr "Внешний вид в админ. панели (CSS)"
|
243 |
|
244 |
-
#: custom-field-template/custom-field-template.php:
|
245 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
246 |
msgstr "Формат условных кодов типа [cft] и[cftsearch] "
|
247 |
|
248 |
-
#: custom-field-template/custom-field-template.php:
|
249 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
250 |
msgstr "Для [cft]: [key] будет преобразован в значение [key]"
|
251 |
|
252 |
-
#: custom-field-template/custom-field-template.php:
|
253 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
254 |
msgstr "Для [cftsearch]: [key] будет преобразован в поле."
|
255 |
|
256 |
-
#: custom-field-template/custom-field-template.php:
|
257 |
-
#: custom-field-template/custom-field-template.php:
|
258 |
msgid "Use PHP"
|
259 |
msgstr "Использовать PHP"
|
260 |
|
261 |
-
#: custom-field-template/custom-field-template.php:
|
262 |
msgid "PHP CODE (Experimental Option)"
|
263 |
msgstr "PHP код (экспериментальная опция)"
|
264 |
|
265 |
-
#: custom-field-template/custom-field-template.php:
|
266 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
267 |
msgstr "Сохраняем PHP код? Т.к. это экспериментальная функция, то вы делаете это на свой страх и риск."
|
268 |
|
269 |
-
#: custom-field-template/custom-field-template.php:
|
270 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
271 |
msgstr "Это опция только для типов полей `text` и `textarea`. Вы должны задать $values как массив."
|
272 |
|
273 |
-
#: custom-field-template/custom-field-template.php:
|
274 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
275 |
msgstr "Это опция только для типов полей `checkbox`, `radio` и `select`. Вы должны задать $values как массив."
|
276 |
|
277 |
-
#: custom-field-template/custom-field-template.php:
|
278 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
279 |
msgstr "Автоматический хук (hook) для `the_content()` (экспериментальная опция)"
|
280 |
|
281 |
-
#: custom-field-template/custom-field-template.php:
|
282 |
msgid "Position"
|
283 |
msgstr "Позиция"
|
284 |
|
285 |
-
#: custom-field-template/custom-field-template.php:
|
286 |
-
msgid "Before the
|
287 |
msgstr "Перед телом поста"
|
288 |
|
289 |
-
#: custom-field-template/custom-field-template.php:
|
290 |
-
msgid "After the
|
291 |
msgstr "После тела поста"
|
292 |
|
293 |
-
#: custom-field-template/custom-field-template.php:
|
294 |
#, php-format
|
295 |
-
msgid "Inside the
|
296 |
msgstr "Внутри контента ([cfthook hook=%d])"
|
297 |
|
298 |
-
#: custom-field-template/custom-field-template.php:
|
299 |
msgid "Content"
|
300 |
msgstr "Тело поста"
|
301 |
|
302 |
-
#: custom-field-template/custom-field-template.php:
|
303 |
msgid "Apply to feeds"
|
304 |
msgstr "Применить к RSS-ленте"
|
305 |
|
306 |
-
#: custom-field-template/custom-field-template.php:
|
307 |
msgid "Rebuild Value Counts"
|
308 |
msgstr "Перестроить подсчет значений"
|
309 |
|
310 |
-
#: custom-field-template/custom-field-template.php:
|
311 |
msgid "Are you sure to rebuild all value counts?"
|
312 |
msgstr "Уверены?"
|
313 |
|
314 |
-
#: custom-field-template/custom-field-template.php:
|
315 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
316 |
msgstr "Подсчет значений используется для временного хранения информации о том, сколько значений в каждом ключе произвольного поля. Установите `valueCount = true` в поля."
|
317 |
|
318 |
-
#: custom-field-template/custom-field-template.php:
|
319 |
msgid "Rebuild Value Counts »"
|
320 |
msgstr "Обновить »"
|
321 |
|
322 |
-
#: custom-field-template/custom-field-template.php:
|
323 |
-
#, fuzzy
|
324 |
msgid "Rebuild Tags"
|
325 |
-
msgstr "Перестроить теги"
|
326 |
|
327 |
-
#: custom-field-template/custom-field-template.php:
|
328 |
-
#, fuzzy
|
329 |
msgid "Are you sure to rebuild tags?"
|
330 |
-
msgstr "
|
331 |
|
332 |
-
#: custom-field-template/custom-field-template.php:
|
333 |
-
#, fuzzy
|
334 |
msgid "Rebuild Tags »"
|
335 |
-
msgstr "
|
336 |
|
337 |
-
#: custom-field-template/custom-field-template.php:
|
338 |
msgid "Option List"
|
339 |
msgstr "Список настроек"
|
340 |
|
341 |
-
#: custom-field-template/custom-field-template.php:
|
342 |
msgid "Export Options"
|
343 |
msgstr "Экспорт настроек"
|
344 |
|
345 |
-
#: custom-field-template/custom-field-template.php:
|
346 |
msgid "Export Options »"
|
347 |
msgstr "Экспорт настроек »"
|
348 |
|
349 |
-
#: custom-field-template/custom-field-template.php:
|
350 |
msgid "Import Options"
|
351 |
msgstr "Импорт настроек"
|
352 |
|
353 |
-
#: custom-field-template/custom-field-template.php:
|
354 |
msgid "Are you sure to import options? Options you set will be overwritten."
|
355 |
msgstr "Импортировать настройки? Ваши настройки будут заменены новыми."
|
356 |
|
357 |
-
#: custom-field-template/custom-field-template.php:
|
358 |
msgid "Import Options »"
|
359 |
msgstr "Импорт настроек »"
|
360 |
|
361 |
-
#: custom-field-template/custom-field-template.php:
|
362 |
msgid "Reset Options"
|
363 |
msgstr "Сбросить настройки"
|
364 |
|
365 |
-
#: custom-field-template/custom-field-template.php:
|
366 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
367 |
msgstr "Сбрасываем настройки? Все настройки будут сброшены к дефолтным, созданные шаблоны не сохранятся."
|
368 |
|
369 |
-
#: custom-field-template/custom-field-template.php:
|
370 |
msgid "Reset Options »"
|
371 |
msgstr "Сбросить настройки »"
|
372 |
|
373 |
-
#: custom-field-template/custom-field-template.php:
|
374 |
msgid "Delete Options"
|
375 |
msgstr "Удалить настройки"
|
376 |
|
377 |
-
#: custom-field-template/custom-field-template.php:
|
378 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
379 |
msgstr "Удаляем настройки? Удалятся ВСЕ настройки и шаблоны."
|
380 |
|
381 |
-
#: custom-field-template/custom-field-template.php:
|
382 |
msgid "Delete Options »"
|
383 |
msgstr "Удалить настройки »"
|
384 |
|
385 |
-
#: custom-field-template/custom-field-template.php:
|
386 |
msgid "Donation"
|
387 |
msgstr "Отблагодарить"
|
388 |
|
389 |
-
#: custom-field-template/custom-field-template.php:
|
390 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
391 |
msgstr "Если Вам понравился плагин можете отблагодарить автора через paypal! Он будет рад любой сумме вознаграждения. Ваша поддержка значима!"
|
392 |
|
393 |
-
#: custom-field-template/custom-field-template.php:
|
394 |
-
#: custom-field-template/custom-field-template.php:
|
395 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
396 |
msgid "Add New"
|
397 |
msgstr "Добавить новый"
|
398 |
|
399 |
-
#: custom-field-template/custom-field-template.php:
|
400 |
msgid "Clear"
|
401 |
msgstr "очистить"
|
402 |
|
403 |
-
#: custom-field-template/custom-field-template.php:
|
404 |
msgid "Select"
|
405 |
msgstr "Выбрать"
|
406 |
|
407 |
-
#: custom-field-template/custom-field-template.php:
|
408 |
msgid "Add an Image"
|
409 |
msgstr "добавить изображение"
|
410 |
|
411 |
-
#: custom-field-template/custom-field-template.php:
|
412 |
msgid "Add Video"
|
413 |
msgstr "добавить видео-файл"
|
414 |
|
415 |
-
#: custom-field-template/custom-field-template.php:
|
416 |
msgid "Add Audio"
|
417 |
msgstr "добавить аудио-файл"
|
418 |
|
419 |
-
#: custom-field-template/custom-field-template.php:
|
420 |
msgid "Add Media"
|
421 |
msgstr "добавить медиа-файл"
|
422 |
|
423 |
-
#: custom-field-template/custom-field-template.php:
|
424 |
msgid "Toggle"
|
425 |
msgstr "Переключатель"
|
426 |
|
427 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
428 |
msgid "Initialize"
|
429 |
-
msgstr ""
|
430 |
|
431 |
-
#: custom-field-template/custom-field-template.php:
|
432 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
433 |
msgstr "Сброс настроек. Будут восстановлены начальные настройки."
|
434 |
|
435 |
-
#: custom-field-template/custom-field-template.php:
|
436 |
msgid "Save"
|
437 |
msgstr "Сохранить"
|
438 |
|
439 |
-
#: custom-field-template/custom-field-template.php:
|
440 |
msgid "Search »"
|
441 |
msgstr "Поиск »"
|
442 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
#~ msgid "Admin CSS"
|
444 |
#~ msgstr "CSS шаблона в админ. панели"
|
445 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Custom Field Template 1.7.1\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-06-22 10:32+0300\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Sonika <sonika@sonika.ru>\n"
|
8 |
"Language-Team: sonika.ru <sonika@sonika.ru>\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
19 |
+
#: custom-field-template/custom-field-template.php:142
|
20 |
+
#: custom-field-template/custom-field-template.php:143
|
21 |
+
#: custom-field-template/custom-field-template.php:163
|
22 |
+
#: custom-field-template/custom-field-template.php:594
|
23 |
+
#: custom-field-template/custom-field-template.php:869
|
24 |
+
#: custom-field-template/custom-field-template.php:2140
|
25 |
+
#: custom-field-template/custom-field-template.php:2269
|
26 |
msgid "Custom Field Template"
|
27 |
msgstr "Custom Field Template"
|
28 |
|
29 |
+
#: custom-field-template/custom-field-template.php:275
|
30 |
+
#: custom-field-template/custom-field-template.php:2471
|
31 |
msgid "Load"
|
32 |
msgstr "Загрузка"
|
33 |
|
34 |
+
#: custom-field-template/custom-field-template.php:431
|
35 |
msgid "read more"
|
36 |
msgstr "далее"
|
37 |
|
38 |
+
#: custom-field-template/custom-field-template.php:449
|
39 |
+
#: custom-field-template/custom-field-template.php:459
|
40 |
msgid "Custom Fields"
|
41 |
msgstr "Custom Fields"
|
42 |
|
43 |
+
#: custom-field-template/custom-field-template.php:489
|
44 |
msgid "Settings"
|
45 |
msgstr "Настройки"
|
46 |
|
47 |
+
#: custom-field-template/custom-field-template.php:514
|
48 |
msgid "Default Template"
|
49 |
msgstr "Пример шаблона"
|
50 |
|
51 |
+
#: custom-field-template/custom-field-template.php:730
|
52 |
+
msgid "You can not use the following words as the field key: `content`, `post_title`, and `excerpt`."
|
53 |
+
msgstr "Нельзя использовать в качестве ключей произвольных полей: `content`, `post_title`, and `excerpt`."
|
54 |
+
|
55 |
+
#: custom-field-template/custom-field-template.php:745
|
56 |
+
#: custom-field-template/custom-field-template.php:765
|
57 |
+
#: custom-field-template/custom-field-template.php:769
|
58 |
+
#: custom-field-template/custom-field-template.php:781
|
59 |
+
#: custom-field-template/custom-field-template.php:789
|
60 |
+
#: custom-field-template/custom-field-template.php:806
|
61 |
msgid "Options updated."
|
62 |
msgstr "Настройки обновлены."
|
63 |
|
64 |
+
#: custom-field-template/custom-field-template.php:810
|
65 |
msgid "Value Counts rebuilt."
|
66 |
msgstr "Подсчет значений произвольных полей перестоен."
|
67 |
|
68 |
+
#: custom-field-template/custom-field-template.php:813
|
|
|
69 |
msgid "Tags rebuilt."
|
70 |
+
msgstr "Метки (теги) перестроены."
|
71 |
|
72 |
+
#: custom-field-template/custom-field-template.php:822
|
73 |
msgid "Options imported."
|
74 |
msgstr "Настройки импортированы."
|
75 |
|
76 |
+
#: custom-field-template/custom-field-template.php:829
|
77 |
msgid "Options resetted."
|
78 |
msgstr "Настройки сброшены."
|
79 |
|
80 |
+
#: custom-field-template/custom-field-template.php:833
|
81 |
msgid "Options deleted."
|
82 |
msgstr "Настройки удалены."
|
83 |
|
84 |
+
#: custom-field-template/custom-field-template.php:875
|
85 |
+
#: custom-field-template/custom-field-template.php:921
|
86 |
+
#: custom-field-template/custom-field-template.php:1022
|
87 |
+
#: custom-field-template/custom-field-template.php:1041
|
88 |
+
#: custom-field-template/custom-field-template.php:1070
|
89 |
+
#: custom-field-template/custom-field-template.php:1101
|
90 |
+
#: custom-field-template/custom-field-template.php:1142
|
91 |
+
#: custom-field-template/custom-field-template.php:1163
|
92 |
+
#: custom-field-template/custom-field-template.php:1180
|
93 |
+
#: custom-field-template/custom-field-template.php:1342
|
94 |
+
#: custom-field-template/custom-field-template.php:1358
|
95 |
+
#: custom-field-template/custom-field-template.php:1374
|
96 |
+
#: custom-field-template/custom-field-template.php:1390
|
97 |
+
#: custom-field-template/custom-field-template.php:1406
|
98 |
msgid "Click to toggle"
|
99 |
msgstr "Свернуть"
|
100 |
|
101 |
+
#: custom-field-template/custom-field-template.php:876
|
102 |
msgid "Custom Field Template Options"
|
103 |
msgstr "Настройки Custom Field Template"
|
104 |
|
105 |
+
#: custom-field-template/custom-field-template.php:886
|
106 |
+
#: custom-field-template/custom-field-template.php:2318
|
107 |
+
#: custom-field-template/custom-field-template.php:2319
|
108 |
+
msgid "Disable"
|
109 |
+
msgstr "Отключить"
|
110 |
+
|
111 |
+
#: custom-field-template/custom-field-template.php:888
|
112 |
msgid "Template Title"
|
113 |
msgstr "Заголовок шаблона"
|
114 |
|
115 |
+
#: custom-field-template/custom-field-template.php:890
|
116 |
msgid "Template Instruction"
|
117 |
msgstr "Инструкция к шаблону"
|
118 |
|
119 |
+
#: custom-field-template/custom-field-template.php:892
|
120 |
+
#: custom-field-template/custom-field-template.php:1117
|
121 |
msgid "Post Type"
|
122 |
msgstr "Тип страниц"
|
123 |
|
124 |
+
#: custom-field-template/custom-field-template.php:894
|
125 |
+
#: custom-field-template/custom-field-template.php:1118
|
126 |
msgid "Both"
|
127 |
msgstr "Оба"
|
128 |
|
129 |
+
#: custom-field-template/custom-field-template.php:895
|
130 |
+
#: custom-field-template/custom-field-template.php:1119
|
131 |
msgid "Post"
|
132 |
msgstr "Запись"
|
133 |
|
134 |
+
#: custom-field-template/custom-field-template.php:896
|
135 |
+
#: custom-field-template/custom-field-template.php:1120
|
136 |
msgid "Page"
|
137 |
msgstr "Страница"
|
138 |
|
139 |
+
#: custom-field-template/custom-field-template.php:897
|
140 |
+
#: custom-field-template/custom-field-template.php:1121
|
141 |
+
msgid "Custom Post Type (comma-deliminated)"
|
142 |
+
msgstr "Пользовательский тип записей (разделяйте запятыми)"
|
143 |
+
|
144 |
+
#: custom-field-template/custom-field-template.php:899
|
145 |
msgid "Post ID (comma-deliminated)"
|
146 |
msgstr "ID записей (разделяйте запятыми)"
|
147 |
|
148 |
+
#: custom-field-template/custom-field-template.php:901
|
149 |
+
#: custom-field-template/custom-field-template.php:1123
|
150 |
msgid "Category ID (comma-deliminated)"
|
151 |
msgstr "ID рубрик (разделяйте запятыми)"
|
152 |
|
153 |
+
#: custom-field-template/custom-field-template.php:903
|
154 |
msgid "Page Template file name(s) (comma-deliminated)"
|
155 |
msgstr "Имена php-файлов Темы (разделяйте запятыми)"
|
156 |
|
157 |
+
#: custom-field-template/custom-field-template.php:905
|
158 |
msgid "Template Content"
|
159 |
msgstr "Содержимое шаблона"
|
160 |
|
161 |
+
#: custom-field-template/custom-field-template.php:912
|
162 |
+
#: custom-field-template/custom-field-template.php:1013
|
163 |
+
#: custom-field-template/custom-field-template.php:1032
|
164 |
+
#: custom-field-template/custom-field-template.php:1061
|
165 |
+
#: custom-field-template/custom-field-template.php:1092
|
166 |
+
#: custom-field-template/custom-field-template.php:1133
|
167 |
+
msgid "Update Options »"
|
168 |
+
msgstr "Обновить настройки »"
|
|
|
|
|
|
|
169 |
|
170 |
+
#: custom-field-template/custom-field-template.php:922
|
171 |
+
msgid "Global Settings"
|
172 |
+
msgstr "Общие настройки"
|
173 |
|
174 |
+
#: custom-field-template/custom-field-template.php:937
|
175 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
176 |
msgstr "Показывать ярлык (label) вместо ключа произвольного поля (если label указан)"
|
177 |
|
178 |
+
#: custom-field-template/custom-field-template.php:938
|
179 |
msgid "Use labels in place of custom keys"
|
180 |
msgstr "использовать ярлыки"
|
181 |
|
182 |
+
#: custom-field-template/custom-field-template.php:941
|
183 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
184 |
msgstr "Добавлять теги p и br в текстовое поле автоматически"
|
185 |
|
186 |
+
#: custom-field-template/custom-field-template.php:942
|
187 |
msgid "Use wpautop function"
|
188 |
msgstr "Использовать функцию wpautop"
|
189 |
|
190 |
+
#: custom-field-template/custom-field-template.php:946
|
191 |
msgid "In case that you would like to save values automatically in switching templates"
|
192 |
msgstr "Автоматически сохранять значения произвольных полей при смене шаблона custom fields"
|
193 |
|
194 |
+
#: custom-field-template/custom-field-template.php:947
|
195 |
msgid "Use the auto save in switching templates"
|
196 |
msgstr "да"
|
197 |
|
198 |
+
#: custom-field-template/custom-field-template.php:951
|
199 |
+
msgid "In case that you would like to disable input fields of the custom field template temporarily"
|
200 |
+
msgstr "В случае если хотите <b>временно</b> заблокировать поля ввода для произвольных полей"
|
201 |
+
|
202 |
+
#: custom-field-template/custom-field-template.php:952
|
203 |
+
msgid "Use the `Disable` button. The default custom fields will be superseded."
|
204 |
+
msgstr "Использовать кнопку «Отключить». Дефолтный бокс «Произвольные поля» будет заменен."
|
205 |
+
|
206 |
+
#: custom-field-template/custom-field-template.php:956
|
207 |
+
msgid "In case that you would like to forbid to use the initialize button."
|
208 |
+
msgstr "В случае если хотите запретить использовать кнопку «загрузить шаблон»"
|
209 |
+
|
210 |
+
#: custom-field-template/custom-field-template.php:957
|
211 |
+
msgid "Disable the initialize button"
|
212 |
+
msgstr "Отключить кнопку «загрузить шаблон»"
|
213 |
+
|
214 |
+
#: custom-field-template/custom-field-template.php:961
|
215 |
+
msgid "In case that you would like to forbid to use the save button."
|
216 |
+
msgstr "В случае если хотите запретить использовать кнопку сохранения"
|
217 |
+
|
218 |
+
#: custom-field-template/custom-field-template.php:962
|
219 |
+
msgid "Disable the save button"
|
220 |
+
msgstr "Отключить кнопку сохранения"
|
221 |
+
|
222 |
+
#: custom-field-template/custom-field-template.php:966
|
223 |
msgid "In case that you would like to forbid to use the default custom fields."
|
224 |
msgstr "Запретить использовать дефолтную вкладку «Произвольные поля»"
|
225 |
|
226 |
+
#: custom-field-template/custom-field-template.php:967
|
227 |
msgid "Disable the default custom fields"
|
228 |
msgstr "Не показывать дефолтную вкладку «Произвольные поля»"
|
229 |
|
230 |
+
#: custom-field-template/custom-field-template.php:971
|
231 |
msgid "In case that you would like to forbid to use the quick edit."
|
232 |
msgstr "Запретить использовать быстрое редактирование"
|
233 |
|
234 |
+
#: custom-field-template/custom-field-template.php:972
|
235 |
msgid "Disable the quick edit"
|
236 |
msgstr "Отключить быстрое редактирование"
|
237 |
|
238 |
+
#: custom-field-template/custom-field-template.php:976
|
239 |
msgid "In case that you would like to forbid to display the custom field column on the edit post list page."
|
240 |
msgstr "Спрятать колонку «Custom Fields» на странице списка записей в админ. панели"
|
241 |
|
242 |
+
#: custom-field-template/custom-field-template.php:977
|
243 |
msgid "Disable the custom field column (The quick edit also does not work.)"
|
244 |
msgstr "спрятать колонку «Custom fields» (в быстром редактировании также не будут показаны произвольные поля)"
|
245 |
|
246 |
+
#: custom-field-template/custom-field-template.php:981
|
247 |
msgid "In case that you would like to replace the box title with the template title."
|
248 |
msgstr "Заменить название вкладки на название шаблона"
|
249 |
|
250 |
+
#: custom-field-template/custom-field-template.php:982
|
251 |
msgid "Replace the box title"
|
252 |
msgstr "Заменить название вкладки"
|
253 |
|
254 |
+
#: custom-field-template/custom-field-template.php:986
|
255 |
msgid "In case that you would like to use the shortcode in the widget."
|
256 |
msgstr "Если вы хотите использовать условные коды в виджете"
|
257 |
|
258 |
+
#: custom-field-template/custom-field-template.php:987
|
259 |
msgid "Use the shortcode in the widget"
|
260 |
msgstr "Использовать условные коды в виджете"
|
261 |
|
262 |
+
#: custom-field-template/custom-field-template.php:991
|
263 |
msgid "In case that you would like to use the shortcode in the excerpt."
|
264 |
msgstr "Если вы хотите использовать условные коды в цитате (excerpt)"
|
265 |
|
266 |
+
#: custom-field-template/custom-field-template.php:992
|
267 |
msgid "Use the shortcode in the excerpt"
|
268 |
msgstr "Использовать условные коды (шоткоды) в цитате (excerpt)"
|
269 |
|
270 |
+
#: custom-field-template/custom-field-template.php:1002
|
271 |
+
msgid "Text to place before every list which is called by the cft shortcode"
|
272 |
+
msgstr "Тест ПЕРЕД каждым списком, вызываемым условным кодом cft"
|
273 |
+
|
274 |
+
#: custom-field-template/custom-field-template.php:1004
|
275 |
+
msgid "Text to place after every list which is called by the cft shortcode"
|
276 |
+
msgstr "Тест ПОСЛЕ каждого списка, вызываемым условным кодом cft"
|
277 |
|
278 |
+
#: custom-field-template/custom-field-template.php:1006
|
279 |
+
msgid "Text to place before every value which is called by the cft shortcode"
|
280 |
+
msgstr "Тест ПЕРЕД каждым пунктом списка, вызываемым условным кодом cft"
|
281 |
+
|
282 |
+
#: custom-field-template/custom-field-template.php:1008
|
283 |
+
msgid "Text to place after every value which is called by the cft shortcode"
|
284 |
+
msgstr "Тест ПОСЛЕ каждого пункта списка, вызываемым условным кодом cft"
|
285 |
+
|
286 |
+
#: custom-field-template/custom-field-template.php:1023
|
287 |
msgid "ADMIN CSS"
|
288 |
msgstr "Внешний вид в админ. панели (CSS)"
|
289 |
|
290 |
+
#: custom-field-template/custom-field-template.php:1042
|
291 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
292 |
msgstr "Формат условных кодов типа [cft] и[cftsearch] "
|
293 |
|
294 |
+
#: custom-field-template/custom-field-template.php:1045
|
295 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
296 |
msgstr "Для [cft]: [key] будет преобразован в значение [key]"
|
297 |
|
298 |
+
#: custom-field-template/custom-field-template.php:1046
|
299 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
300 |
msgstr "Для [cftsearch]: [key] будет преобразован в поле."
|
301 |
|
302 |
+
#: custom-field-template/custom-field-template.php:1055
|
303 |
+
#: custom-field-template/custom-field-template.php:1126
|
304 |
msgid "Use PHP"
|
305 |
msgstr "Использовать PHP"
|
306 |
|
307 |
+
#: custom-field-template/custom-field-template.php:1071
|
308 |
msgid "PHP CODE (Experimental Option)"
|
309 |
msgstr "PHP код (экспериментальная опция)"
|
310 |
|
311 |
+
#: custom-field-template/custom-field-template.php:1073
|
312 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
313 |
msgstr "Сохраняем PHP код? Т.к. это экспериментальная функция, то вы делаете это на свой страх и риск."
|
314 |
|
315 |
+
#: custom-field-template/custom-field-template.php:1074
|
316 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
317 |
msgstr "Это опция только для типов полей `text` и `textarea`. Вы должны задать $values как массив."
|
318 |
|
319 |
+
#: custom-field-template/custom-field-template.php:1076
|
320 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
321 |
msgstr "Это опция только для типов полей `checkbox`, `radio` и `select`. Вы должны задать $values как массив."
|
322 |
|
323 |
+
#: custom-field-template/custom-field-template.php:1102
|
324 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
325 |
msgstr "Автоматический хук (hook) для `the_content()` (экспериментальная опция)"
|
326 |
|
327 |
+
#: custom-field-template/custom-field-template.php:1112
|
328 |
msgid "Position"
|
329 |
msgstr "Позиция"
|
330 |
|
331 |
+
#: custom-field-template/custom-field-template.php:1113
|
332 |
+
msgid "Before the content"
|
333 |
msgstr "Перед телом поста"
|
334 |
|
335 |
+
#: custom-field-template/custom-field-template.php:1114
|
336 |
+
msgid "After the content"
|
337 |
msgstr "После тела поста"
|
338 |
|
339 |
+
#: custom-field-template/custom-field-template.php:1115
|
340 |
#, php-format
|
341 |
+
msgid "Inside the content ([cfthook hook=%d])"
|
342 |
msgstr "Внутри контента ([cfthook hook=%d])"
|
343 |
|
344 |
+
#: custom-field-template/custom-field-template.php:1125
|
345 |
msgid "Content"
|
346 |
msgstr "Тело поста"
|
347 |
|
348 |
+
#: custom-field-template/custom-field-template.php:1127
|
349 |
msgid "Apply to feeds"
|
350 |
msgstr "Применить к RSS-ленте"
|
351 |
|
352 |
+
#: custom-field-template/custom-field-template.php:1143
|
353 |
msgid "Rebuild Value Counts"
|
354 |
msgstr "Перестроить подсчет значений"
|
355 |
|
356 |
+
#: custom-field-template/custom-field-template.php:1145
|
357 |
msgid "Are you sure to rebuild all value counts?"
|
358 |
msgstr "Уверены?"
|
359 |
|
360 |
+
#: custom-field-template/custom-field-template.php:1149
|
361 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
362 |
msgstr "Подсчет значений используется для временного хранения информации о том, сколько значений в каждом ключе произвольного поля. Установите `valueCount = true` в поля."
|
363 |
|
364 |
+
#: custom-field-template/custom-field-template.php:1153
|
365 |
msgid "Rebuild Value Counts »"
|
366 |
msgstr "Обновить »"
|
367 |
|
368 |
+
#: custom-field-template/custom-field-template.php:1164
|
|
|
369 |
msgid "Rebuild Tags"
|
370 |
+
msgstr "Перестроить метки (теги)"
|
371 |
|
372 |
+
#: custom-field-template/custom-field-template.php:1166
|
|
|
373 |
msgid "Are you sure to rebuild tags?"
|
374 |
+
msgstr "Перестраиваем метки (теги)?"
|
375 |
|
376 |
+
#: custom-field-template/custom-field-template.php:1170
|
|
|
377 |
msgid "Rebuild Tags »"
|
378 |
+
msgstr "Перестроить метки (теги) »"
|
379 |
|
380 |
+
#: custom-field-template/custom-field-template.php:1181
|
381 |
msgid "Option List"
|
382 |
msgstr "Список настроек"
|
383 |
|
384 |
+
#: custom-field-template/custom-field-template.php:1343
|
385 |
msgid "Export Options"
|
386 |
msgstr "Экспорт настроек"
|
387 |
|
388 |
+
#: custom-field-template/custom-field-template.php:1349
|
389 |
msgid "Export Options »"
|
390 |
msgstr "Экспорт настроек »"
|
391 |
|
392 |
+
#: custom-field-template/custom-field-template.php:1359
|
393 |
msgid "Import Options"
|
394 |
msgstr "Импорт настроек"
|
395 |
|
396 |
+
#: custom-field-template/custom-field-template.php:1361
|
397 |
msgid "Are you sure to import options? Options you set will be overwritten."
|
398 |
msgstr "Импортировать настройки? Ваши настройки будут заменены новыми."
|
399 |
|
400 |
+
#: custom-field-template/custom-field-template.php:1365
|
401 |
msgid "Import Options »"
|
402 |
msgstr "Импорт настроек »"
|
403 |
|
404 |
+
#: custom-field-template/custom-field-template.php:1375
|
405 |
msgid "Reset Options"
|
406 |
msgstr "Сбросить настройки"
|
407 |
|
408 |
+
#: custom-field-template/custom-field-template.php:1377
|
409 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
410 |
msgstr "Сбрасываем настройки? Все настройки будут сброшены к дефолтным, созданные шаблоны не сохранятся."
|
411 |
|
412 |
+
#: custom-field-template/custom-field-template.php:1381
|
413 |
msgid "Reset Options »"
|
414 |
msgstr "Сбросить настройки »"
|
415 |
|
416 |
+
#: custom-field-template/custom-field-template.php:1391
|
417 |
msgid "Delete Options"
|
418 |
msgstr "Удалить настройки"
|
419 |
|
420 |
+
#: custom-field-template/custom-field-template.php:1393
|
421 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
422 |
msgstr "Удаляем настройки? Удалятся ВСЕ настройки и шаблоны."
|
423 |
|
424 |
+
#: custom-field-template/custom-field-template.php:1397
|
425 |
msgid "Delete Options »"
|
426 |
msgstr "Удалить настройки »"
|
427 |
|
428 |
+
#: custom-field-template/custom-field-template.php:1407
|
429 |
msgid "Donation"
|
430 |
msgstr "Отблагодарить"
|
431 |
|
432 |
+
#: custom-field-template/custom-field-template.php:1409
|
433 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
434 |
msgstr "Если Вам понравился плагин можете отблагодарить автора через paypal! Он будет рад любой сумме вознаграждения. Ваша поддержка значима!"
|
435 |
|
436 |
+
#: custom-field-template/custom-field-template.php:1505
|
437 |
+
#: custom-field-template/custom-field-template.php:1626
|
438 |
+
#: custom-field-template/custom-field-template.php:1706
|
439 |
+
#: custom-field-template/custom-field-template.php:1880
|
440 |
+
#: custom-field-template/custom-field-template.php:2065
|
441 |
msgid "Add New"
|
442 |
msgstr "Добавить новый"
|
443 |
|
444 |
+
#: custom-field-template/custom-field-template.php:1636
|
445 |
msgid "Clear"
|
446 |
msgstr "очистить"
|
447 |
|
448 |
+
#: custom-field-template/custom-field-template.php:1722
|
449 |
msgid "Select"
|
450 |
msgstr "Выбрать"
|
451 |
|
452 |
+
#: custom-field-template/custom-field-template.php:1787
|
453 |
msgid "Add an Image"
|
454 |
msgstr "добавить изображение"
|
455 |
|
456 |
+
#: custom-field-template/custom-field-template.php:1792
|
457 |
msgid "Add Video"
|
458 |
msgstr "добавить видео-файл"
|
459 |
|
460 |
+
#: custom-field-template/custom-field-template.php:1797
|
461 |
msgid "Add Audio"
|
462 |
msgstr "добавить аудио-файл"
|
463 |
|
464 |
+
#: custom-field-template/custom-field-template.php:1801
|
465 |
msgid "Add Media"
|
466 |
msgstr "добавить медиа-файл"
|
467 |
|
468 |
+
#: custom-field-template/custom-field-template.php:1808
|
469 |
msgid "Toggle"
|
470 |
msgstr "Переключатель"
|
471 |
|
472 |
+
#: custom-field-template/custom-field-template.php:1900
|
473 |
+
#: custom-field-template/custom-field-template.php:2067
|
474 |
+
msgid "Delete"
|
475 |
+
msgstr "Удалить"
|
476 |
+
|
477 |
+
#: custom-field-template/custom-field-template.php:2319
|
478 |
+
msgid "Enable"
|
479 |
+
msgstr "Включить"
|
480 |
+
|
481 |
+
#: custom-field-template/custom-field-template.php:2323
|
482 |
msgid "Initialize"
|
483 |
+
msgstr "Загрузить шаблон"
|
484 |
|
485 |
+
#: custom-field-template/custom-field-template.php:2324
|
486 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
487 |
msgstr "Сброс настроек. Будут восстановлены начальные настройки."
|
488 |
|
489 |
+
#: custom-field-template/custom-field-template.php:2329
|
490 |
msgid "Save"
|
491 |
msgstr "Сохранить"
|
492 |
|
493 |
+
#: custom-field-template/custom-field-template.php:2980
|
494 |
msgid "Search »"
|
495 |
msgstr "Поиск »"
|
496 |
|
497 |
+
#~ msgid "Use multiple image inset"
|
498 |
+
#~ msgstr "да"
|
499 |
+
#~ msgid "Caution:"
|
500 |
+
#~ msgstr "Предупреждение:"
|
501 |
+
#~ msgid ""
|
502 |
+
#~ "You need to edit `wp-admin/includes/media.php`. Delete or comment out the "
|
503 |
+
#~ "code in the function media_send_to_editor."
|
504 |
+
#~ msgstr ""
|
505 |
+
#~ "вам нужно отредактировать файл <code>wp-admin/includes/media.php</code>, "
|
506 |
+
#~ "удалите или закомментируйте код в функции media_send_to_editor."
|
507 |
#~ msgid "Admin CSS"
|
508 |
#~ msgstr "CSS шаблона в админ. панели"
|
509 |
|
custom-field-template.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
|
|
4 |
Plugin URI: http://wpgogo.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.7.
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
@@ -45,7 +45,6 @@ class custom_field_template {
|
|
45 |
|
46 |
add_action( 'delete_post', array(&$this, 'custom_field_template_delete_post'), 100 );
|
47 |
|
48 |
-
add_filter( 'media_send_to_editor', array(&$this, 'media_send_to_custom_field'), 15 );
|
49 |
add_filter( 'plugin_action_links', array(&$this, 'wpaq_filter_plugin_actions'), 10, 2 );
|
50 |
|
51 |
add_filter( 'get_the_excerpt', array(&$this, 'custom_field_template_get_the_excerpt'), 1 );
|
@@ -152,7 +151,7 @@ class custom_field_template {
|
|
152 |
foreach($options['custom_fields'] as $key => $val ) :
|
153 |
$tmp_custom_post_type = explode(',', $options['custom_fields'][$key]['custom_post_type']);
|
154 |
$tmp_custom_post_type = array_filter( $tmp_custom_post_type );
|
155 |
-
|
156 |
$custom_post_type = array_merge($custom_post_type, $tmp_custom_post_type);
|
157 |
endforeach;
|
158 |
if ( is_array($custom_post_type) ) :
|
@@ -460,25 +459,6 @@ class custom_field_template {
|
|
460 |
endforeach;
|
461 |
return $new_columns;
|
462 |
}
|
463 |
-
|
464 |
-
function media_send_to_custom_field($html) {
|
465 |
-
$options = $this->get_custom_field_template_data();
|
466 |
-
|
467 |
-
$out = '<script type="text/javascript">' . "\n" .
|
468 |
-
' /* <![CDATA[ */' . "\n" .
|
469 |
-
' var win = window.dialogArguments || opener || parent || top;' . "\n" .
|
470 |
-
' win.send_to_custom_field("' . addslashes($html) . '");' . "\n" .
|
471 |
-
'/* ]]> */' . "\n" .
|
472 |
-
'</script>' . "\n";
|
473 |
-
|
474 |
-
echo $out;
|
475 |
-
|
476 |
-
if ($options['custom_field_template_use_multiple_insert']) {
|
477 |
-
return;
|
478 |
-
} else {
|
479 |
-
exit();
|
480 |
-
}
|
481 |
-
}
|
482 |
|
483 |
function wpaq_filter_plugin_actions($links, $file){
|
484 |
static $this_plugin;
|
@@ -646,7 +626,7 @@ type = file';
|
|
646 |
endif;
|
647 |
$needle = explode(',', $options['hook'][$i]['category']);
|
648 |
$needle = array_filter($needle);
|
649 |
-
|
650 |
foreach ( $needle as $val ) :
|
651 |
if ( in_array($val, $cats ) ) :
|
652 |
if ( $options['hook'][$i]['position'] == 0 )
|
@@ -1268,6 +1248,9 @@ hideKey = true<br />
|
|
1268 |
<th>relation</th><td></td><td></td><td></td><td></td><td></td><td>relation = true</td>
|
1269 |
</tr>
|
1270 |
<tr>
|
|
|
|
|
|
|
1271 |
<th>code</th><td>code = 0</td><td>code = 0</td><td>code = 0</td><td>code = 0</td><td>code = 0</td><td></td>
|
1272 |
</tr>
|
1273 |
<tr>
|
@@ -1851,7 +1834,7 @@ jQuery(this).addClass("closed");
|
|
1851 |
return $out;
|
1852 |
}
|
1853 |
|
1854 |
-
function make_file( $name, $sid, $cftnum, $size, $hideKey, $label, $class, $style, $before, $after, $multipleButton ) {
|
1855 |
$options = $this->get_custom_field_template_data();
|
1856 |
|
1857 |
$title = $name;
|
@@ -1897,6 +1880,12 @@ jQuery(this).addClass("closed");
|
|
1897 |
$filename = basename($post->guid);
|
1898 |
$title = attribute_escape(trim($post->post_title));
|
1899 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1900 |
$out .= '<p><label for="'.$name . '_delete' . $sid . '"><input type="checkbox" name="'.$name . '_delete[' . $sid . '][' . $cftnum . ']" id="'.$name . '_delete' . $sid . '" value="1" class="delete_file_checkbox" />' . __('Delete', 'custom-field-template') . '</label> <img src="'.$thumb_url.'" width="32" height="32" style="vertical-align:middle;" /> ' . $title . ' </p>';
|
1901 |
$out .= '<input type="hidden" name="'.$name . '[' . $sid . '][' . $cftnum . ']" value="' . $value . '" />';
|
1902 |
endif;
|
@@ -1921,7 +1910,7 @@ jQuery(this).addClass("closed");
|
|
1921 |
if ( !empty($val['template_files']) && !empty($_REQUEST['page_template']) ) :
|
1922 |
$template_files = explode(',', $val['template_files']);
|
1923 |
$template_files = array_filter( $template_files );
|
1924 |
-
|
1925 |
if ( in_array($_REQUEST['page_template'], $template_files) ) :
|
1926 |
$id = $key;
|
1927 |
break;
|
@@ -1976,8 +1965,7 @@ jQuery(this).addClass("closed");
|
|
1976 |
if ( $options['custom_fields'][$id]['custom_post_type'] ) :
|
1977 |
$custom_post_type = explode(',', $options['custom_fields'][$id]['custom_post_type']);
|
1978 |
$custom_post_type = array_filter( $custom_post_type );
|
1979 |
-
|
1980 |
-
|
1981 |
if ( !in_array($post->post_type, $custom_post_type) )
|
1982 |
return;
|
1983 |
endif;
|
@@ -2010,7 +1998,7 @@ jQuery(this).addClass("closed");
|
|
2010 |
if ( $options['custom_fields'][$id]['post'] ) :
|
2011 |
$post_ids = explode(',', $options['custom_fields'][$id]['post']);
|
2012 |
$post_ids = array_filter( $post_ids );
|
2013 |
-
|
2014 |
if ( !in_array($_REQUEST['post'], $post_ids) )
|
2015 |
return;
|
2016 |
endif;
|
@@ -2018,7 +2006,7 @@ jQuery(this).addClass("closed");
|
|
2018 |
if ( $options['custom_fields'][$id]['template_files'] && (isset($post->page_template) || $_REQUEST['page_template']) ) :
|
2019 |
$template_files = explode(',', $options['custom_fields'][$id]['template_files']);
|
2020 |
$template_files = array_filter( $template_files );
|
2021 |
-
|
2022 |
if ( $_REQUEST['page_template'] ) :
|
2023 |
if ( !in_array($_REQUEST['page_template'], $template_files) ) :
|
2024 |
return;
|
@@ -2103,7 +2091,7 @@ jQuery(this).addClass("closed");
|
|
2103 |
}
|
2104 |
else if( $data['type'] == 'file' ) {
|
2105 |
$out .=
|
2106 |
-
$this->make_file( $title, $parentSN, $data['cftnum'], $data['size'], $data['hideKey'], $data['label'], $data['class'], $data['style'], $data['before'], $data['after'], $data['multipleButton'] );
|
2107 |
}
|
2108 |
}
|
2109 |
endforeach;
|
@@ -2384,7 +2372,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
2384 |
if ( $options['custom_fields'][$i]['custom_post_type'] ) :
|
2385 |
$custom_post_type = explode(',', $options['custom_fields'][$i]['custom_post_type']);
|
2386 |
$custom_post_type = array_filter( $custom_post_type );
|
2387 |
-
|
2388 |
if ( !in_array($post->post_type, $custom_post_type) )
|
2389 |
continue;
|
2390 |
endif;
|
@@ -2395,10 +2383,10 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
2395 |
$cat_ids = array_filter( $cat_ids );
|
2396 |
$template_files = array_filter( $template_files );
|
2397 |
$post_ids = array_filter( $post_ids );
|
2398 |
-
|
2399 |
-
|
2400 |
-
|
2401 |
-
|
2402 |
if ( (strstr($_SERVER['REQUEST_URI'], 'wp-admin/page-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/page.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/edit-pages.php') || strstr($_SERVER['REQUEST_URI'], 'post_type=page') || $post->post_type=='page') ) :
|
2403 |
// Check if there are page template files to filter by and there is a page template
|
2404 |
if ( count($template_files) && (isset($post->page_template) || $_REQUEST['page_template']) ) :
|
@@ -3360,7 +3348,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3360 |
endif;
|
3361 |
|
3362 |
if ( $_REQUEST['post_type'] ) :
|
3363 |
-
$where .= $wpdb->prepare(" AND " . $wpdb->posts . "
|
3364 |
endif;
|
3365 |
|
3366 |
if ( $_REQUEST['no_is_search'] ) :
|
@@ -3373,11 +3361,13 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3373 |
}
|
3374 |
|
3375 |
function custom_field_template_posts_join($sql) {
|
3376 |
-
if ( ($_REQUEST['
|
3377 |
-
|
|
|
3378 |
|
3379 |
-
|
3380 |
-
|
|
|
3381 |
endif;
|
3382 |
}
|
3383 |
|
@@ -3389,20 +3379,20 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3389 |
|
3390 |
if ( $_REQUEST['orderby'] ) :
|
3391 |
if ( in_array($_REQUEST['orderby'], array('post_author', 'post_date', 'post_title', 'post_modified', 'menu_order', 'post_parent', 'ID')) ):
|
3392 |
-
$sql = "`"
|
3393 |
-
elseif ( $_REQUEST['orderby']=='rand' ):
|
3394 |
$sql = "RAND()";
|
3395 |
else:
|
3396 |
if ( in_array($_REQUEST['cast'], array('binary', 'char', 'date', 'datetime', 'signed', 'time', 'unsigned')) ) :
|
3397 |
-
$sql = " CAST(meta.meta_value AS "
|
3398 |
else :
|
3399 |
-
$sql = " meta.meta_value "
|
3400 |
endif;
|
3401 |
endif;
|
3402 |
return $sql;
|
3403 |
endif;
|
3404 |
|
3405 |
-
$sql =
|
3406 |
return $sql;
|
3407 |
}
|
3408 |
|
4 |
Plugin URI: http://wpgogo.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.7.2
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
45 |
|
46 |
add_action( 'delete_post', array(&$this, 'custom_field_template_delete_post'), 100 );
|
47 |
|
|
|
48 |
add_filter( 'plugin_action_links', array(&$this, 'wpaq_filter_plugin_actions'), 10, 2 );
|
49 |
|
50 |
add_filter( 'get_the_excerpt', array(&$this, 'custom_field_template_get_the_excerpt'), 1 );
|
151 |
foreach($options['custom_fields'] as $key => $val ) :
|
152 |
$tmp_custom_post_type = explode(',', $options['custom_fields'][$key]['custom_post_type']);
|
153 |
$tmp_custom_post_type = array_filter( $tmp_custom_post_type );
|
154 |
+
$tmp_custom_post_type = array_unique(array_filter(array_map('trim', $tmp_custom_post_type)));
|
155 |
$custom_post_type = array_merge($custom_post_type, $tmp_custom_post_type);
|
156 |
endforeach;
|
157 |
if ( is_array($custom_post_type) ) :
|
459 |
endforeach;
|
460 |
return $new_columns;
|
461 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
462 |
|
463 |
function wpaq_filter_plugin_actions($links, $file){
|
464 |
static $this_plugin;
|
626 |
endif;
|
627 |
$needle = explode(',', $options['hook'][$i]['category']);
|
628 |
$needle = array_filter($needle);
|
629 |
+
$needle = array_unique(array_filter(array_map('trim', $needle)));
|
630 |
foreach ( $needle as $val ) :
|
631 |
if ( in_array($val, $cats ) ) :
|
632 |
if ( $options['hook'][$i]['position'] == 0 )
|
1248 |
<th>relation</th><td></td><td></td><td></td><td></td><td></td><td>relation = true</td>
|
1249 |
</tr>
|
1250 |
<tr>
|
1251 |
+
<th>mediaLibrary</th><td></td><td></td><td></td><td></td><td></td><td>mediaLibrary = true</td>
|
1252 |
+
</tr>
|
1253 |
+
<tr>
|
1254 |
<th>code</th><td>code = 0</td><td>code = 0</td><td>code = 0</td><td>code = 0</td><td>code = 0</td><td></td>
|
1255 |
</tr>
|
1256 |
<tr>
|
1834 |
return $out;
|
1835 |
}
|
1836 |
|
1837 |
+
function make_file( $name, $sid, $cftnum, $size, $hideKey, $label, $class, $style, $before, $after, $multipleButton, $relation, $mediaLibrary ) {
|
1838 |
$options = $this->get_custom_field_template_data();
|
1839 |
|
1840 |
$title = $name;
|
1880 |
$filename = basename($post->guid);
|
1881 |
$title = attribute_escape(trim($post->post_title));
|
1882 |
|
1883 |
+
if ( !empty($mediaLibrary) ) :
|
1884 |
+
$media_upload_iframe_src = "media-upload.php";
|
1885 |
+
$image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src?type=image&tab=gallery");
|
1886 |
+
$title = '<a href="'.$image_upload_iframe_src.'&post_id='.$_REQUEST[ 'post' ].'&type=image&TB_iframe=true&width=670" onclick="return thickbox(this);">'.$title.'</a>';
|
1887 |
+
endif;
|
1888 |
+
|
1889 |
$out .= '<p><label for="'.$name . '_delete' . $sid . '"><input type="checkbox" name="'.$name . '_delete[' . $sid . '][' . $cftnum . ']" id="'.$name . '_delete' . $sid . '" value="1" class="delete_file_checkbox" />' . __('Delete', 'custom-field-template') . '</label> <img src="'.$thumb_url.'" width="32" height="32" style="vertical-align:middle;" /> ' . $title . ' </p>';
|
1890 |
$out .= '<input type="hidden" name="'.$name . '[' . $sid . '][' . $cftnum . ']" value="' . $value . '" />';
|
1891 |
endif;
|
1910 |
if ( !empty($val['template_files']) && !empty($_REQUEST['page_template']) ) :
|
1911 |
$template_files = explode(',', $val['template_files']);
|
1912 |
$template_files = array_filter( $template_files );
|
1913 |
+
$template_files = array_unique(array_filter(array_map('trim', $template_files)));
|
1914 |
if ( in_array($_REQUEST['page_template'], $template_files) ) :
|
1915 |
$id = $key;
|
1916 |
break;
|
1965 |
if ( $options['custom_fields'][$id]['custom_post_type'] ) :
|
1966 |
$custom_post_type = explode(',', $options['custom_fields'][$id]['custom_post_type']);
|
1967 |
$custom_post_type = array_filter( $custom_post_type );
|
1968 |
+
$custom_post_type = array_unique(array_filter(array_map('trim', $custom_post_type)));
|
|
|
1969 |
if ( !in_array($post->post_type, $custom_post_type) )
|
1970 |
return;
|
1971 |
endif;
|
1998 |
if ( $options['custom_fields'][$id]['post'] ) :
|
1999 |
$post_ids = explode(',', $options['custom_fields'][$id]['post']);
|
2000 |
$post_ids = array_filter( $post_ids );
|
2001 |
+
$post_ids = array_unique(array_filter(array_map('trim', $post_ids)));
|
2002 |
if ( !in_array($_REQUEST['post'], $post_ids) )
|
2003 |
return;
|
2004 |
endif;
|
2006 |
if ( $options['custom_fields'][$id]['template_files'] && (isset($post->page_template) || $_REQUEST['page_template']) ) :
|
2007 |
$template_files = explode(',', $options['custom_fields'][$id]['template_files']);
|
2008 |
$template_files = array_filter( $template_files );
|
2009 |
+
$template_files = array_unique(array_filter(array_map('trim', $template_files)));
|
2010 |
if ( $_REQUEST['page_template'] ) :
|
2011 |
if ( !in_array($_REQUEST['page_template'], $template_files) ) :
|
2012 |
return;
|
2091 |
}
|
2092 |
else if( $data['type'] == 'file' ) {
|
2093 |
$out .=
|
2094 |
+
$this->make_file( $title, $parentSN, $data['cftnum'], $data['size'], $data['hideKey'], $data['label'], $data['class'], $data['style'], $data['before'], $data['after'], $data['multipleButton'], $data['relation'], $data['mediaLibrary'] );
|
2095 |
}
|
2096 |
}
|
2097 |
endforeach;
|
2372 |
if ( $options['custom_fields'][$i]['custom_post_type'] ) :
|
2373 |
$custom_post_type = explode(',', $options['custom_fields'][$i]['custom_post_type']);
|
2374 |
$custom_post_type = array_filter( $custom_post_type );
|
2375 |
+
$custom_post_type = array_unique(array_filter(array_map('trim', $custom_post_type)));
|
2376 |
if ( !in_array($post->post_type, $custom_post_type) )
|
2377 |
continue;
|
2378 |
endif;
|
2383 |
$cat_ids = array_filter( $cat_ids );
|
2384 |
$template_files = array_filter( $template_files );
|
2385 |
$post_ids = array_filter( $post_ids );
|
2386 |
+
$cat_ids = array_unique(array_filter(array_map('trim', $cat_ids)));
|
2387 |
+
$template_files = array_unique(array_filter(array_map('trim', $template_files)));
|
2388 |
+
$post_ids = array_unique(array_filter(array_map('trim', $post_ids)));
|
2389 |
+
|
2390 |
if ( (strstr($_SERVER['REQUEST_URI'], 'wp-admin/page-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/page.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/edit-pages.php') || strstr($_SERVER['REQUEST_URI'], 'post_type=page') || $post->post_type=='page') ) :
|
2391 |
// Check if there are page template files to filter by and there is a page template
|
2392 |
if ( count($template_files) && (isset($post->page_template) || $_REQUEST['page_template']) ) :
|
3348 |
endif;
|
3349 |
|
3350 |
if ( $_REQUEST['post_type'] ) :
|
3351 |
+
$where .= $wpdb->prepare(" AND `" . $wpdb->posts . "`.post_type = %s", trim($_REQUEST['post_type']));
|
3352 |
endif;
|
3353 |
|
3354 |
if ( $_REQUEST['no_is_search'] ) :
|
3361 |
}
|
3362 |
|
3363 |
function custom_field_template_posts_join($sql) {
|
3364 |
+
if ( !in_array($_REQUEST['orderby'], array('post_author', 'post_date', 'post_title', 'post_modified', 'menu_order', 'post_parent', 'ID')) ):
|
3365 |
+
if ( ($_REQUEST['order'] == 'ASC' || $_REQUEST['order'] == 'DESC') && $_REQUEST['orderby'] ) :
|
3366 |
+
global $wpdb;
|
3367 |
|
3368 |
+
$sql = " LEFT JOIN `" . $wpdb->postmeta . "` AS meta ON (`" . $wpdb->posts . "`.ID = meta.post_id AND meta.meta_key = " . $_REQUEST['orderby'];
|
3369 |
+
return $sql;
|
3370 |
+
endif;
|
3371 |
endif;
|
3372 |
}
|
3373 |
|
3379 |
|
3380 |
if ( $_REQUEST['orderby'] ) :
|
3381 |
if ( in_array($_REQUEST['orderby'], array('post_author', 'post_date', 'post_title', 'post_modified', 'menu_order', 'post_parent', 'ID')) ):
|
3382 |
+
$sql = "`" . $wpdb->posts . "`." . $_REQUEST['orderby'] . " " . $_REQUEST['order'];
|
3383 |
+
elseif ( $_REQUEST['orderby'] == 'rand' ):
|
3384 |
$sql = "RAND()";
|
3385 |
else:
|
3386 |
if ( in_array($_REQUEST['cast'], array('binary', 'char', 'date', 'datetime', 'signed', 'time', 'unsigned')) ) :
|
3387 |
+
$sql = " CAST(meta.meta_value AS " . $_REQUEST['cast'] . ") " . $_REQUEST['order'];
|
3388 |
else :
|
3389 |
+
$sql = " meta.meta_value " . $_REQUEST['order'];
|
3390 |
endif;
|
3391 |
endif;
|
3392 |
return $sql;
|
3393 |
endif;
|
3394 |
|
3395 |
+
$sql = "`" . $wpdb->posts . "`.post_date " . $_REQUEST['order'];
|
3396 |
return $sql;
|
3397 |
}
|
3398 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Hiroaki Miyashita
|
|
3 |
Donate link: http://wpgogo.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: 3.0
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
@@ -102,6 +102,10 @@ See the default template and modify it.
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
|
|
105 |
= 1.7.1 =
|
106 |
* Bugfix: JavaScript error.
|
107 |
|
3 |
Donate link: http://wpgogo.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: 3.0.1
|
7 |
+
Stable tag: 1.7.2
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 1.7.2 =
|
106 |
+
* `mediaLibrary` attribute for the file type to show the link of the uploaded file name.
|
107 |
+
* Bugfix: search.
|
108 |
+
|
109 |
= 1.7.1 =
|
110 |
* Bugfix: JavaScript error.
|
111 |
|