Version Description
Download this release
Release Info
Developer | mitchoyoshitaka |
Plugin | Yet Another Related Posts Plugin (YARPP) |
Version | 3.0.10 |
Comparing to | |
See all releases |
Code changes from version 3.0.9 to 3.0.10
- includes.php +3 -3
- lang/yarpp-uk_UA.mo +0 -0
- lang/yarpp-uk_UA.po +535 -0
- options.php +1 -6
- readme.txt +6 -1
- yarpp.php +2 -3
includes.php
CHANGED
@@ -173,12 +173,12 @@ function yarpp_upgrade_check($inuse = false) {
|
|
173 |
|
174 |
}
|
175 |
|
176 |
-
if (
|
177 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_title` ( `post_title`)");
|
178 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` ( `post_content`)"); update_option('yarpp_version','2.03');
|
179 |
}
|
180 |
|
181 |
-
if (
|
182 |
update_option('yarpp_version',YARPP_VERSION);
|
183 |
|
184 |
//if (!$inuse)
|
@@ -220,7 +220,7 @@ function widget_yarpp_init() {
|
|
220 |
extract($args);
|
221 |
global $wpdb, $post;
|
222 |
if (is_single() && have_posts()) {
|
223 |
-
|
224 |
echo $before_widget;
|
225 |
echo $before_title . __('Related Posts','yarpp') . $after_title;
|
226 |
echo yarpp_related(array('post'),array());
|
173 |
|
174 |
}
|
175 |
|
176 |
+
if (version_compare('2.03',get_option('yarpp_version'))) {
|
177 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_title` ( `post_title`)");
|
178 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` ( `post_content`)"); update_option('yarpp_version','2.03');
|
179 |
}
|
180 |
|
181 |
+
if (version_compare(YARPP_VERSION,get_option('yarpp_version'))) {
|
182 |
update_option('yarpp_version',YARPP_VERSION);
|
183 |
|
184 |
//if (!$inuse)
|
220 |
extract($args);
|
221 |
global $wpdb, $post;
|
222 |
if (is_single() && have_posts()) {
|
223 |
+
get_post($post->ID);
|
224 |
echo $before_widget;
|
225 |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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Yet Another Related Posts Plugin v3.0.9\n"
|
4 |
+
"PO-Revision-Date: 2009-08-18 08:34+0200\n"
|
5 |
+
"Last-Translator: Onore <onore@onore.kiev.ua>\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n+9)%10>3 ? 2 : 1;\n"
|
10 |
+
"X-Poedit-Language: Ukrainian\n"
|
11 |
+
"X-Poedit-Country: UKRAINE\n"
|
12 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;__ngettext_noop:1,2;_c\n"
|
14 |
+
"X-Poedit-Basepath: ../\n"
|
15 |
+
"POT-Creation-Date: \n"
|
16 |
+
"Language-Team: \n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
|
19 |
+
#: includes.php:94
|
20 |
+
msgid "MySQL error on adding yarpp_title"
|
21 |
+
msgstr "Помилка MYSQL при додаванні “yarpp_title”"
|
22 |
+
|
23 |
+
#: includes.php:99
|
24 |
+
msgid "MySQL error on adding yarpp_content"
|
25 |
+
msgstr "Помилка MYSQL при додаванні “yarpp_content”"
|
26 |
+
|
27 |
+
#: includes.php:185
|
28 |
+
msgid "<h3>An important message from YARPP:</h3><p>Thank you for upgrading to YARPP 2. YARPP 2.0 adds the much requested ability to limit related entry results by certain tags or categories. 2.0 also brings more fine tuned control of the magic algorithm, letting you specify how the algorithm should consider or not consider entry content, titles, tags, and categories. Make sure to adjust the new settings to your liking and perhaps readjust your threshold.</p><p>For more information, check out the <a href=\"http://mitcho.com/code/yarpp/\">YARPP documentation</a>. (This message will not be displayed again.)</p>"
|
29 |
+
msgstr "<h3>Важливе повідомлення від YARPP</h3><p>Спасибі за оновлення до YARPP 2. У цій версії додана довгождана можливість обмежувати зв'язані записи, що виводяться, деякими тегами або категоріями. YARPP 2 також дає можливість тонше настроювати алгоритм, дозволяючи указувати чи слід використовувати при розгляді тіло, заголовки, теги і категорії. Обов'язково перевірте стан нових налаштувань, чи все відповідає вашим очікуванням.</p><p>За більш детальною інформацією звертайтеся до: <а href=\"http://mitcho.com/code/yarpp/\">документація YARPP</a>. (Ce message n’apparaоtra plus.)</p>"
|
30 |
+
|
31 |
+
#: includes.php:197
|
32 |
+
msgid "Related Posts (YARPP)"
|
33 |
+
msgstr "Зв'язані пости (YARPP)"
|
34 |
+
|
35 |
+
#: includes.php:224
|
36 |
+
#: yarpp.php:29
|
37 |
+
msgid "Related Posts"
|
38 |
+
msgstr "Зв'язані пости (YARPP)"
|
39 |
+
|
40 |
+
#: includes.php:229
|
41 |
+
msgid "YARPP"
|
42 |
+
msgstr "YARPP"
|
43 |
+
|
44 |
+
#: template-builtin.php:35
|
45 |
+
#, php-format
|
46 |
+
msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
|
47 |
+
msgstr "%f - это коэффициэнт YARPP текущго поста и связаного с ним. Вы видите это потому, что вы зашли в Wordpress администратором. Это не показывается простым посетителям"
|
48 |
+
|
49 |
+
#: magic.php:304
|
50 |
+
#: options.php:458
|
51 |
+
#: options.php:521
|
52 |
+
msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
|
53 |
+
msgstr "Список схожих записів надано вам плагіном <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</ a>."
|
54 |
+
|
55 |
+
#: options.php:26
|
56 |
+
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
57 |
+
msgstr "Перевірка MyISAM була виконана. Тепер ви можете використовувати критерії схожості “Розглядати заголовки” і “Розглядати текст”."
|
58 |
+
|
59 |
+
#: options.php:35
|
60 |
+
#, php-format
|
61 |
+
msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
62 |
+
msgstr "Використання опцій YARPP “Розглядати заголовки” і “Розглядати текст” вимагає, щоб ваша таблиця <code>%s</code> використовувала движок <а href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, але таблиця мабуть використовує движок <code>%s</code>. Ці дві опції відключено."
|
63 |
+
|
64 |
+
#: options.php:37
|
65 |
+
#, php-format
|
66 |
+
msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
|
67 |
+
msgstr "Для відновлення цих опцій, будь ласка, змініть вашу таблицю <code>%s</code>наступною SQL інструкцією е : <code>ALTER TABLE `%s` ENGINE = MYISAM;</code><br />При зміні таблиці дані не повинні пропасти, проте можливі наслідки."
|
68 |
+
|
69 |
+
#: options.php:39
|
70 |
+
#, php-format
|
71 |
+
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
72 |
+
msgstr "Якщо, незалежно від цієї опції, ви упевнені що таблиця <code>%s</code> використовує MyISAM, натисніть на цю чарівну кнопку:"
|
73 |
+
|
74 |
+
#: options.php:42
|
75 |
+
msgid "Trust me. Let me use MyISAM features."
|
76 |
+
msgstr "Повірте мені. Дозвольте мені використовувати MyISAM."
|
77 |
+
|
78 |
+
#: options.php:65
|
79 |
+
msgid "The YARPP database had an error but has been fixed."
|
80 |
+
msgstr "База даних YARPP містила помилки, але вони були виправлені."
|
81 |
+
|
82 |
+
#: options.php:67
|
83 |
+
msgid "The YARPP database has an error which could not be fixed."
|
84 |
+
msgstr "База даних YARPP містить помилку, яка не може бути виправлена."
|
85 |
+
|
86 |
+
#: options.php:153
|
87 |
+
#: options.php:170
|
88 |
+
#: options.php:182
|
89 |
+
msgid "do not consider"
|
90 |
+
msgstr "не розглядати"
|
91 |
+
|
92 |
+
#: options.php:154
|
93 |
+
#: options.php:171
|
94 |
+
#: options.php:184
|
95 |
+
msgid "consider"
|
96 |
+
msgstr "розглядати"
|
97 |
+
|
98 |
+
#: options.php:172
|
99 |
+
msgid "consider with extra weight"
|
100 |
+
msgstr "розглядати з додатковою вагою"
|
101 |
+
|
102 |
+
#: options.php:200
|
103 |
+
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
104 |
+
msgstr "Історія версій плагина YARPP (RSS 2.0)"
|
105 |
+
|
106 |
+
#: options.php:271
|
107 |
+
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
108 |
+
msgstr "Пожертвувати розробникові mitcho (Michael Yoshitaka Erlewine), через PayPal"
|
109 |
+
|
110 |
+
#: options.php:254
|
111 |
+
msgid "Yet Another Related Posts Plugin Options"
|
112 |
+
msgstr "Опції YARPP"
|
113 |
+
|
114 |
+
#: options.php:278
|
115 |
+
msgid "\"The Pool\""
|
116 |
+
msgstr "<em>Контент</em>"
|
117 |
+
|
118 |
+
#: options.php:279
|
119 |
+
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
120 |
+
msgstr "<em>Контент</em> розуміється як набір повідомлень і сторінок, які є кандидатами на показ в блоці зв'язаних записів."
|
121 |
+
|
122 |
+
#: options.php:284
|
123 |
+
msgid "Disallow by category:"
|
124 |
+
msgstr "Виключити категорії:"
|
125 |
+
|
126 |
+
#: options.php:286
|
127 |
+
msgid "Disallow by tag:"
|
128 |
+
msgstr "Виключити теги:"
|
129 |
+
|
130 |
+
#: options.php:288
|
131 |
+
msgid "Show password protected posts?"
|
132 |
+
msgstr "Показувати повідомлення, захищені паролем?"
|
133 |
+
|
134 |
+
#: options.php:289
|
135 |
+
msgid "Show only previous posts?"
|
136 |
+
msgstr "Показувати тільки попередні повідомлення?"
|
137 |
+
|
138 |
+
#: options.php:306
|
139 |
+
msgid "\"Relatedness\" options"
|
140 |
+
msgstr "Критерії схожості"
|
141 |
+
|
142 |
+
#: options.php:308
|
143 |
+
#, php-format
|
144 |
+
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
145 |
+
msgstr "YARPP відрізняється від <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">попередніх плагінів</a> тим, що обмежує вибір постів<br /> (1) максимальною кількістю (2) <em>схожістью</em>."
|
146 |
+
|
147 |
+
#: options.php:308
|
148 |
+
#: options.php:322
|
149 |
+
#: options.php:405
|
150 |
+
#: options.php:410
|
151 |
+
#: options.php:457
|
152 |
+
#: options.php:469
|
153 |
+
#: options.php:470
|
154 |
+
#: options.php:474
|
155 |
+
#: options.php:520
|
156 |
+
#: options.php:531
|
157 |
+
msgid "more>"
|
158 |
+
msgstr "докладніше>"
|
159 |
+
|
160 |
+
#: options.php:313
|
161 |
+
msgid "Match threshold:"
|
162 |
+
msgstr "Поріг схожості:"
|
163 |
+
|
164 |
+
#: options.php:314
|
165 |
+
msgid "Titles: "
|
166 |
+
msgstr "Заголовки:"
|
167 |
+
|
168 |
+
#: options.php:316
|
169 |
+
msgid "Bodies: "
|
170 |
+
msgstr "Тексти:"
|
171 |
+
|
172 |
+
#: options.php:318
|
173 |
+
msgid "Tags: "
|
174 |
+
msgstr "Теги:"
|
175 |
+
|
176 |
+
#: options.php:320
|
177 |
+
msgid "Categories: "
|
178 |
+
msgstr "Категорії:"
|
179 |
+
|
180 |
+
#: options.php:322
|
181 |
+
msgid "Cross-relate posts and pages?"
|
182 |
+
msgstr "Робити перехресну перелінковку сторінок і повідомлень?"
|
183 |
+
|
184 |
+
#: options.php:322
|
185 |
+
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
186 |
+
msgstr "Коли вибрана опція “Робити перехресну перелінковку сторінок і повідомлень?”, функції <code>related_posts()</code>, <code>related_pages()</code> і <code>related_entries()</code> видають однаковий набір, що містить і сторінки і повідомлення"
|
187 |
+
|
188 |
+
#: options.php:401
|
189 |
+
msgid "Display options <small>for your website</small>"
|
190 |
+
msgstr "Перегляд опцій <small>для вашого сайта</small>"
|
191 |
+
|
192 |
+
#: options.php:405
|
193 |
+
msgid "Automatically display related posts?"
|
194 |
+
msgstr "Автоматично показувати зв'язані пости?"
|
195 |
+
|
196 |
+
#: options.php:405
|
197 |
+
msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
|
198 |
+
msgstr "Це опція автоматично показує зв'язані повідомлення прямо після вмісту на сторінці одиночного повідомлення. Якщо цю опцію відключити, вам знадобиться уручну вставити <code>related_posts()</code> або щось подібне (<code>related_pages()</code> і <code>related_entries()</code>) у вашій темі."
|
199 |
+
|
200 |
+
#: options.php:406
|
201 |
+
msgid "Website display code example"
|
202 |
+
msgstr "Приклад коду на web-сайті"
|
203 |
+
|
204 |
+
#: options.php:406
|
205 |
+
#: options.php:471
|
206 |
+
msgid "(Update options to reload.)"
|
207 |
+
msgstr "(Збережете опції для перезавантаження.)"
|
208 |
+
|
209 |
+
#: options.php:409
|
210 |
+
#: options.php:473
|
211 |
+
msgid "Maximum number of related posts:"
|
212 |
+
msgstr "Максимальна кількість зв'язаних постів:"
|
213 |
+
|
214 |
+
#: options.php:422
|
215 |
+
msgid "Before / after related entries:"
|
216 |
+
msgstr "До / після <br />связанных постів:"
|
217 |
+
|
218 |
+
#: options.php:423
|
219 |
+
#: options.php:428
|
220 |
+
#: options.php:437
|
221 |
+
#: options.php:487
|
222 |
+
#: options.php:492
|
223 |
+
#: options.php:501
|
224 |
+
msgid "For example:"
|
225 |
+
msgstr "Наприклад:"
|
226 |
+
|
227 |
+
#: options.php:427
|
228 |
+
#: options.php:491
|
229 |
+
msgid "Before / after each related entry:"
|
230 |
+
msgstr "До / после<br />каждого зв'язаного поста:"
|
231 |
+
|
232 |
+
#: options.php:431
|
233 |
+
#: options.php:495
|
234 |
+
msgid "Show excerpt?"
|
235 |
+
msgstr "Показати витримку?"
|
236 |
+
|
237 |
+
#: options.php:432
|
238 |
+
#: options.php:496
|
239 |
+
msgid "Excerpt length (No. of words):"
|
240 |
+
msgstr "Довжина витримки(к-ть слів):"
|
241 |
+
|
242 |
+
#: options.php:436
|
243 |
+
msgid "Before / after (Excerpt):"
|
244 |
+
msgstr "До / після (Витримки)"
|
245 |
+
|
246 |
+
#: options.php:442
|
247 |
+
#: options.php:506
|
248 |
+
msgid "Order results:"
|
249 |
+
msgstr "Сортування результатів:"
|
250 |
+
|
251 |
+
#: options.php:444
|
252 |
+
#: options.php:508
|
253 |
+
msgid "score (high relevance to low)"
|
254 |
+
msgstr "Схожість (по-спаданням)"
|
255 |
+
|
256 |
+
#: options.php:445
|
257 |
+
#: options.php:509
|
258 |
+
msgid "score (low relevance to high)"
|
259 |
+
msgstr "Схожість (по-зростанню)"
|
260 |
+
|
261 |
+
#: options.php:446
|
262 |
+
#: options.php:510
|
263 |
+
msgid "date (new to old)"
|
264 |
+
msgstr "Дата (по-спаданням)"
|
265 |
+
|
266 |
+
#: options.php:447
|
267 |
+
#: options.php:511
|
268 |
+
msgid "date (old to new)"
|
269 |
+
msgstr "Дата (за збільшенням)"
|
270 |
+
|
271 |
+
#: options.php:448
|
272 |
+
#: options.php:512
|
273 |
+
msgid "title (alphabetical)"
|
274 |
+
msgstr "Заголовок (за абеткою)"
|
275 |
+
|
276 |
+
#: options.php:449
|
277 |
+
#: options.php:513
|
278 |
+
msgid "title (reverse alphabetical)"
|
279 |
+
msgstr "Заголовки: (у зворотному порядку)"
|
280 |
+
|
281 |
+
#: options.php:454
|
282 |
+
#: options.php:518
|
283 |
+
msgid "Default display if no results:"
|
284 |
+
msgstr "За замовчуванням показувати якщо немає результату:"
|
285 |
+
|
286 |
+
#: options.php:456
|
287 |
+
#: options.php:520
|
288 |
+
msgid "Help promote Yet Another Related Posts Plugin?"
|
289 |
+
msgstr "Допомогти просувати плагин YARPP?"
|
290 |
+
|
291 |
+
#: options.php:458
|
292 |
+
#: options.php:521
|
293 |
+
#, php-format
|
294 |
+
msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
|
295 |
+
msgstr "Ця опція додасть код %s. Спробуйте включити її, змініть опції і дивіться приклад коду справа. Ці посилання і кнопки дуже важливі."
|
296 |
+
|
297 |
+
#: options.php:464
|
298 |
+
msgid "Display options <small>for RSS</small>"
|
299 |
+
msgstr "Перегляд налаштувань <small>для RSS</small>"
|
300 |
+
|
301 |
+
#: options.php:469
|
302 |
+
msgid "Display related posts in feeds?"
|
303 |
+
msgstr "Показувати зв'язані пости в RSS?"
|
304 |
+
|
305 |
+
#: options.php:470
|
306 |
+
msgid "Display related posts in the descriptions?"
|
307 |
+
msgstr "Показувати зв'язані пости в описі?"
|
308 |
+
|
309 |
+
#: options.php:470
|
310 |
+
msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
|
311 |
+
msgstr "Цей параметр відображає зв'язані пости в RSS. Якщо ваші канали налаштований для відображення тільки поля опису, ви повинні вибрати цей варіант, якщо ви хочете, щоб показати список додаткових матеріалів."
|
312 |
+
|
313 |
+
#: options.php:471
|
314 |
+
msgid "RSS display code example"
|
315 |
+
msgstr "Приклад коду в RSS"
|
316 |
+
|
317 |
+
#: options.php:486
|
318 |
+
msgid "Before / after related entries display:"
|
319 |
+
msgstr "До / після пов'язаних записів показати:"
|
320 |
+
|
321 |
+
#: options.php:500
|
322 |
+
msgid "Before / after (excerpt):"
|
323 |
+
msgstr "До / після (витримки):"
|
324 |
+
|
325 |
+
#: options.php:147
|
326 |
+
msgid "word"
|
327 |
+
msgstr "слово"
|
328 |
+
|
329 |
+
#: options.php:148
|
330 |
+
msgid "tag"
|
331 |
+
msgstr "тег"
|
332 |
+
|
333 |
+
#: options.php:149
|
334 |
+
msgid "category"
|
335 |
+
msgstr "категорія"
|
336 |
+
|
337 |
+
#: options.php:156
|
338 |
+
#: options.php:186
|
339 |
+
#, php-format
|
340 |
+
msgid "require at least one %s in common"
|
341 |
+
msgstr "хоч би один \"%s\" повинен бути загальним"
|
342 |
+
|
343 |
+
#: options.php:158
|
344 |
+
#: options.php:188
|
345 |
+
#, php-format
|
346 |
+
msgid "require more than one %s in common"
|
347 |
+
msgstr "більш за одне \"%s\" повинно бути загальним"
|
348 |
+
|
349 |
+
#: options.php:125
|
350 |
+
msgid "Options saved!"
|
351 |
+
msgstr "Настройки збережені!"
|
352 |
+
|
353 |
+
#: options.php:308
|
354 |
+
msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
|
355 |
+
msgstr "Чим вище поріг схожості, тим суворіше вибірка, і тим менше отримаєте записів на виході. За замовчуванням поріг дорівнює 5. Якщо хочете знайти прийнятні порогові значення, поекспериментуйте з кількома повідомлення. Ви зможете побачити, які повідомлення виходять наверх і які у них значення подібності, за якими можна визначити прийнятний рівень для вашого сайту."
|
356 |
+
|
357 |
+
#: options.php:605
|
358 |
+
msgid "Update options"
|
359 |
+
msgstr "Змінити налаштування"
|
360 |
+
|
361 |
+
#: options.php:606
|
362 |
+
msgid "Do you really want to reset your configuration?"
|
363 |
+
msgstr "Ви дійсно хочете скинути ваші налаштування?"
|
364 |
+
|
365 |
+
#: options.php:606
|
366 |
+
msgid "Reset options"
|
367 |
+
msgstr "Скинути налаштування"
|
368 |
+
|
369 |
+
#: includes.php:110
|
370 |
+
msgid "MySQL error on creating yarpp_keyword_cache table"
|
371 |
+
msgstr "Помилка MySQL при створенні таблиці yarpp_keyword_cache"
|
372 |
+
|
373 |
+
#: includes.php:121
|
374 |
+
msgid "MySQL error on creating yarpp_related_cache table"
|
375 |
+
msgstr "Помилка MySQL при створенні таблиці yarpp_related_cache table"
|
376 |
+
|
377 |
+
#: magic.php:56
|
378 |
+
msgid "Example post "
|
379 |
+
msgstr "Приклад повідомлення"
|
380 |
+
|
381 |
+
#: options.php:81
|
382 |
+
#: options.php:84
|
383 |
+
#: options.php:126
|
384 |
+
#: options.php:530
|
385 |
+
msgid "Related posts cache status"
|
386 |
+
msgstr "Статус кешу пов'язаних записів"
|
387 |
+
|
388 |
+
#: options.php:81
|
389 |
+
msgid "Your related posts cache is incomplete. Please build your cache from the <A>related posts status pane</a>."
|
390 |
+
msgstr "Ваш кеш пов'язаних записів неповний. Будь ласка створіть ваш кеш з <A> панелі статусу кешу пов'язаних повідомлень </ a>."
|
391 |
+
|
392 |
+
#: options.php:84
|
393 |
+
msgid "Your related posts cache is empty. Please build your cache from the <A>related posts status pane</a>."
|
394 |
+
msgstr "Ваш кеш пов'язаних записів порожній. Будь ласка створіть ваш кеш з <A> панелі статусу кешу пов'язаних повідомлень </ a>."
|
395 |
+
|
396 |
+
#: options.php:127
|
397 |
+
msgid "If you updated the \"pool\" options or \"relatedness\" options displayed, please rebuild your cache now from the <A>related posts status pane</a>."
|
398 |
+
msgstr "Якщо ви змінили налаштування \"Контенту \" або \"Критерії схожість \", будь-ласка створіть ваш кеш з <A> панелі статусу кешу пов'язаних повідомлень </A>."
|
399 |
+
|
400 |
+
#: options.php:273
|
401 |
+
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
402 |
+
msgstr "Зробив <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
403 |
+
|
404 |
+
#: options.php:273
|
405 |
+
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
406 |
+
msgstr "Читати <a href=\"http://twitter.com/yarpp/\">YARPP на Твіттері</a>"
|
407 |
+
|
408 |
+
#: options.php:294
|
409 |
+
msgid "day(s)"
|
410 |
+
msgstr "днів"
|
411 |
+
|
412 |
+
#: options.php:295
|
413 |
+
msgid "week(s)"
|
414 |
+
msgstr "місяців"
|
415 |
+
|
416 |
+
#: options.php:296
|
417 |
+
msgid "month(s)"
|
418 |
+
msgstr "років"
|
419 |
+
|
420 |
+
#: options.php:298
|
421 |
+
msgid "Show only posts from the past NUMBER UNITS"
|
422 |
+
msgstr "Показувати тільки пости за останні NUMBER UNITS"
|
423 |
+
|
424 |
+
#: options.php:387
|
425 |
+
msgid "There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk."
|
426 |
+
msgstr "Вийшла нова beta (VERSION) плагина YARPP. Ви можете <A>скачать її тут</a> на свій риск."
|
427 |
+
|
428 |
+
#: options.php:389
|
429 |
+
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
430 |
+
msgstr "Вийшла нова версія (VERSION) плагина YARPP. Ви можете <A>скачать її тут</a>."
|
431 |
+
|
432 |
+
#: options.php:410
|
433 |
+
#: options.php:474
|
434 |
+
msgid "Display using a custom template file"
|
435 |
+
msgstr "Показувати з шаблоном користувача"
|
436 |
+
|
437 |
+
#: options.php:412
|
438 |
+
#: options.php:476
|
439 |
+
msgid "Template file:"
|
440 |
+
msgstr "Файл шаблону:"
|
441 |
+
|
442 |
+
#: options.php:469
|
443 |
+
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
444 |
+
msgstr "Ця опція показує зв'язані повідомлення в кінці кожного пункту вашого потоку RSS і Atom. Зміни шаблону не потрібні."
|
445 |
+
|
446 |
+
#: options.php:527
|
447 |
+
msgid "Advanced"
|
448 |
+
msgstr "Додатково"
|
449 |
+
|
450 |
+
#: options.php:530
|
451 |
+
msgid "Show cache status"
|
452 |
+
msgstr "Показати статус кеша"
|
453 |
+
|
454 |
+
#: options.php:531
|
455 |
+
msgid "When the cache is incomplete, compute related posts on the fly?"
|
456 |
+
msgstr "Обчислювати зв'язані повідомлення на льоту, коли кеш не повний?"
|
457 |
+
|
458 |
+
#: options.php:532
|
459 |
+
msgid "If a displayed post's related posts are not cached and this option is on, YARPP will compute them on the fly. Do not turn this option on if you have a high-traffic site.<br />If this option is off and a post's related posts have not been cached, it will display as if it has no related posts."
|
460 |
+
msgstr "Якщо зв'язані повідомлення для поточного поста не знаходяться в кеші і ця опції включена, YARPP обчислюватиме їх на льоту. Не включайте цю опцію, якщо у вас великий трафік.<br /> Якщо опція вимкнена, то у постів без кеша, буде відображено, що вони не мають зв'язаних повідомлень."
|
461 |
+
|
462 |
+
#: options.php:562
|
463 |
+
msgid "'MIN minute(s) and SEC second(s) remaining'"
|
464 |
+
msgstr "'MIN хвилин і SEC секунд залишилося'"
|
465 |
+
|
466 |
+
#: options.php:564
|
467 |
+
msgid "'SEC second(s) remaining'"
|
468 |
+
msgstr "'SEC секунд залишилося'"
|
469 |
+
|
470 |
+
#: options.php:568
|
471 |
+
msgid "Your related posts cache is now complete."
|
472 |
+
msgstr "Ваш кеш зв'язаних повідомлень готовий."
|
473 |
+
|
474 |
+
#: options.php:568
|
475 |
+
msgid "The SQL queries took SEC seconds."
|
476 |
+
msgstr "SQL запити зайняли SEC секунд"
|
477 |
+
|
478 |
+
#: options.php:578
|
479 |
+
#: options.php:582
|
480 |
+
msgid "There was an error while constructing the related posts for TITLE"
|
481 |
+
msgstr "Відбулася помилка при визначенні зв'язаних повідомлень для TITLE"
|
482 |
+
|
483 |
+
#: options.php:579
|
484 |
+
#: options.php:584
|
485 |
+
msgid "try to continue"
|
486 |
+
msgstr "пробую продовжити"
|
487 |
+
|
488 |
+
#: options.php:592
|
489 |
+
msgid "Your related posts cache is PERCENT% complete."
|
490 |
+
msgstr "Ваш кеш зв'язаних повідомлень готовий на PERCENT%."
|
491 |
+
|
492 |
+
#: options.php:598
|
493 |
+
msgid "starting..."
|
494 |
+
msgstr "починаю..."
|
495 |
+
|
496 |
+
#: services.php:59
|
497 |
+
msgid "You cannot rebuild the YARPP cache."
|
498 |
+
msgstr "Ви не можете перестворювати кеш YARPP."
|
499 |
+
|
500 |
+
#: services.php:90
|
501 |
+
#, php-format
|
502 |
+
msgid "You do not have the permission to write the file '%s'."
|
503 |
+
msgstr "Ви не маєте доступу для запису у файл '%s'."
|
504 |
+
|
505 |
+
#: template-metabox.php:12
|
506 |
+
msgid "These are the related entries for this entry. Updating this post may change these related posts."
|
507 |
+
msgstr "Це зв'язані пости для цього поста. Зміна цього поста може змінити набір зв'язаних постів."
|
508 |
+
|
509 |
+
#: template-metabox.php:25
|
510 |
+
msgid "Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options."
|
511 |
+
msgstr "Чи відображатимуться всі ці пости і як вони відображатимуться, залежить від ваших настройок відображення YARPP."
|
512 |
+
|
513 |
+
#: template-metabox.php:27
|
514 |
+
msgid "No related posts."
|
515 |
+
msgstr "Немає зв'язаних повідомлень"
|
516 |
+
|
517 |
+
#: options.php:10
|
518 |
+
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
519 |
+
msgstr "Будь ласка, для завершення інсталяції помістіть файли шаблонів YARPP у вашу тему. Просто перенесіть файли шаблонів (на даний момент<code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) в теку <code>TEMPLATEPATH</code>."
|
520 |
+
|
521 |
+
#: options.php:15
|
522 |
+
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
523 |
+
msgstr "У вашій темі WordPress (<code>TEMPLATEPATH</code>) не знайдене файлів шаблонів YARPP. Опція використання шаблонів вимкнена."
|
524 |
+
|
525 |
+
#: options.php:410
|
526 |
+
#: options.php:474
|
527 |
+
#: options.php:527
|
528 |
+
msgid "NEW!"
|
529 |
+
msgstr "НОВЕ!"
|
530 |
+
|
531 |
+
#: options.php:410
|
532 |
+
#: options.php:474
|
533 |
+
msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
|
534 |
+
msgstr "Ці додаткові налаштування дають вам повну потужність для налуштування відображення зв'язаних повідомлень. Шаблони (зберігаються в теці використовуваної теми) написані на PHP."
|
535 |
+
|
options.php
CHANGED
@@ -50,7 +50,7 @@ if (!yarpp_get_option('myisam_override')) {
|
|
50 |
}
|
51 |
|
52 |
$yarpp_twopointfive = true;
|
53 |
-
if (
|
54 |
echo "<div class='updated'>The \"consider tags\" and \"consider categories\" options require WordPress version 2.5. These two options have been disabled.</div>";
|
55 |
|
56 |
yarpp_set_option('categories',1);
|
@@ -258,11 +258,6 @@ function load_display_discats() {
|
|
258 |
<?php _e('Yet Another Related Posts Plugin Options','yarpp');?> <small><?php
|
259 |
|
260 |
$display_version = yarpp_get_option('version');
|
261 |
-
$split = explode('.',$display_version);
|
262 |
-
if (strlen($split[1]) != 1) {
|
263 |
-
$pos = strpos($display_version,'.')+2;
|
264 |
-
$display_version = substr($display_version,0,$pos).'.'.substr($display_version,$pos);
|
265 |
-
}
|
266 |
echo $display_version;
|
267 |
?></small>
|
268 |
</h2>
|
50 |
}
|
51 |
|
52 |
$yarpp_twopointfive = true;
|
53 |
+
if (version_compare('2.5',$wp_version)) {
|
54 |
echo "<div class='updated'>The \"consider tags\" and \"consider categories\" options require WordPress version 2.5. These two options have been disabled.</div>";
|
55 |
|
56 |
yarpp_set_option('categories',1);
|
258 |
<?php _e('Yet Another Related Posts Plugin Options','yarpp');?> <small><?php
|
259 |
|
260 |
$display_version = yarpp_get_option('version');
|
|
|
|
|
|
|
|
|
|
|
261 |
echo $display_version;
|
262 |
?></small>
|
263 |
</h2>
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4D
|
|
7 |
Tags: related, posts, post, pages, page, RSS, feed, feeds
|
8 |
Requires at least: 2.3
|
9 |
Tested up to: 2.8.4
|
10 |
-
Stable tag: 3.0.
|
11 |
|
12 |
Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
13 |
|
@@ -126,6 +126,7 @@ YARPP is currently localized in the following languages:
|
|
126 |
* Russian (`ru_RU`) by Marat Latypov (yarpp-ru at mitcho.com) of [blogocms.ru](http://blogocms.ru)
|
127 |
* Swedish (`sv_SE`) by Max Elander (yarpp-sv at mitcho dot com)
|
128 |
* Vietnamese (`vi_VN`) by Vu Nguyen (yarpp-vi at mitcho dot com) of [Rubik Integration](http://rubikintegration.com/)
|
|
|
129 |
* Uzbek (`uz_UZ`) by Ali Safarov (yarpp-uz at mitcho dot com) of [comfi.com](http://www.comfi.com/)
|
130 |
|
131 |
We already have localizers lined up for the following languages:
|
@@ -281,3 +282,7 @@ If you are a bilingual speaker of English and another language and an avid user
|
|
281 |
* 3.0.9
|
282 |
* Added Uzbek, Greek, Cypriot Greek, and Vietnamese localizations
|
283 |
* Further bugfixes for the [pagination issue](http://wordpress.org/support/topic/267350)
|
|
|
|
|
|
|
|
7 |
Tags: related, posts, post, pages, page, RSS, feed, feeds
|
8 |
Requires at least: 2.3
|
9 |
Tested up to: 2.8.4
|
10 |
+
Stable tag: 3.0.10
|
11 |
|
12 |
Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
13 |
|
126 |
* Russian (`ru_RU`) by Marat Latypov (yarpp-ru at mitcho.com) of [blogocms.ru](http://blogocms.ru)
|
127 |
* Swedish (`sv_SE`) by Max Elander (yarpp-sv at mitcho dot com)
|
128 |
* Vietnamese (`vi_VN`) by Vu Nguyen (yarpp-vi at mitcho dot com) of [Rubik Integration](http://rubikintegration.com/)
|
129 |
+
* Ukranian (`uk_UA`) by [Onore](Onore.kiev.ua) (Alexander Musevich) (yarpp-uk at mitcho dot com)
|
130 |
* Uzbek (`uz_UZ`) by Ali Safarov (yarpp-uz at mitcho dot com) of [comfi.com](http://www.comfi.com/)
|
131 |
|
132 |
We already have localizers lined up for the following languages:
|
282 |
* 3.0.9
|
283 |
* Added Uzbek, Greek, Cypriot Greek, and Vietnamese localizations
|
284 |
* Further bugfixes for the [pagination issue](http://wordpress.org/support/topic/267350)
|
285 |
+
* 3.0.10
|
286 |
+
* Added Ukranian localization
|
287 |
+
* Incorporated a quick update for the widget display [thanks to doodlebee](http://wordpress.org/support/topic/281575).
|
288 |
+
* Now properly uses `compare_version` in lieu of old hacky versioning.
|
yarpp.php
CHANGED
@@ -3,14 +3,13 @@
|
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
Plugin URI: http://mitcho.com/code/yarpp/
|
5 |
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
6 |
-
Version: 3.0.
|
7 |
Author: mitcho (Michael Yoshitaka Erlewine)
|
8 |
Author URI: http://mitcho.com/
|
9 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8
|
10 |
*/
|
11 |
|
12 |
-
define('
|
13 |
-
define('YARPP_VERSION','3.09');
|
14 |
|
15 |
require_once('includes.php');
|
16 |
require_once('related-functions.php');
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
Plugin URI: http://mitcho.com/code/yarpp/
|
5 |
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
6 |
+
Version: 3.0.10
|
7 |
Author: mitcho (Michael Yoshitaka Erlewine)
|
8 |
Author URI: http://mitcho.com/
|
9 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8
|
10 |
*/
|
11 |
|
12 |
+
define('YARPP_VERSION','3.0.10');
|
|
|
13 |
|
14 |
require_once('includes.php');
|
15 |
require_once('related-functions.php');
|