Polylang - Version 0.8.10

Version Description

(2012-08-06) =

  • Add Lithuanian (lt_LT) to predefined languages list (automatic download and update of language files won't work)
  • Add Lithuanian translation contributed by Naglis Jonaitis
  • Bug correction: empty string translation issue
  • Bug correction: 'wp_list_pages' does not filter custom post types
  • Bug correction: warning if posts are queried before the action 'wp_loaded' has been fired
  • Bug correction: notice in twentyten when resquesting a date archive with no posts
Download this release

Release Info

Developer Chouby
Plugin Icon 128x128 Polylang
Version 0.8.10
Comparing to
See all releases

Code changes from version 0.8.9 to 0.8.10

doc/documentation-en.odt CHANGED
Binary file
doc/documentation-en.pdf CHANGED
Binary file
flags/lt.png ADDED
Binary file
include/admin-base.php CHANGED
@@ -145,7 +145,7 @@ class Polylang_Admin_Base extends Polylang_Base {
145
  // register strings for translation making sure it is not duplicate
146
  function register_string($name, $string) {
147
  $to_register = array('name'=> $name, 'string' => $string);
148
- if (!in_array($to_register, $this->strings))
149
  $this->strings[] = $to_register;
150
  }
151
  } // class Polylang_Admin_Base
145
  // register strings for translation making sure it is not duplicate
146
  function register_string($name, $string) {
147
  $to_register = array('name'=> $name, 'string' => $string);
148
+ if (!in_array($to_register, $this->strings) && $to_register['string'])
149
  $this->strings[] = $to_register;
150
  }
151
  } // class Polylang_Admin_Base
include/admin.php CHANGED
@@ -217,6 +217,7 @@ class Polylang_Admin extends Polylang_Admin_Base {
217
  foreach ($_POST['translation'][$language->name] as $key=>$translation) {
218
  $mo->add_entry($mo->make_entry($strings[$key]['string'], stripslashes($translation)));
219
  }
 
220
  // FIXME should I clean the mo object to remove unused strings ?
221
  $this->mo_export($mo, $language);
222
  }
217
  foreach ($_POST['translation'][$language->name] as $key=>$translation) {
218
  $mo->add_entry($mo->make_entry($strings[$key]['string'], stripslashes($translation)));
219
  }
220
+ $mo->add_entry($mo->make_entry('', '')); // empty string translation, just in case
221
  // FIXME should I clean the mo object to remove unused strings ?
222
  $this->mo_export($mo, $language);
223
  }
include/base.php CHANGED
@@ -222,14 +222,14 @@ abstract class Polylang_Base {
222
  // returns all page ids *not in* language defined by $lang_id
223
  function exclude_pages($lang_id) {
224
  $q = array(
225
- 'numberposts'=>-1,
226
- 'post_type' => 'page',
227
- 'fields' => 'ids',
228
- 'tax_query' => array(array(
229
- 'taxonomy'=>'language',
230
- 'fields' => 'id',
231
- 'terms'=>$lang_id,
232
- 'operator'=>'NOT IN'
233
  ))
234
  );
235
  return get_posts($q);
222
  // returns all page ids *not in* language defined by $lang_id
223
  function exclude_pages($lang_id) {
224
  $q = array(
225
+ 'numberposts' => -1,
226
+ 'post_type' => array_intersect(get_post_types(array('hierarchical' => 1)), $this->post_types),
227
+ 'fields' => 'ids',
228
+ 'tax_query' => array(array(
229
+ 'taxonomy' => 'language',
230
+ 'fields' => 'id',
231
+ 'terms' => $lang_id,
232
+ 'operator' => 'NOT IN'
233
  ))
234
  );
235
  return get_posts($q);
include/core.php CHANGED
@@ -247,7 +247,7 @@ class Polylang_Core extends Polylang_base {
247
  // filters posts according to the language
248
  function pre_get_posts($query) {
249
  // don't make anything if no language has been defined yet
250
- if (!$this->get_languages_list())
251
  return;
252
 
253
  $qvars = $query->query_vars;
@@ -362,7 +362,7 @@ class Polylang_Core extends Polylang_base {
362
 
363
  // unset the is_tax flag for authors pages and post types archives
364
  // FIXME Probably I should do this for other cases
365
- if (isset($qvars['lang']) && $qvars['lang'] && (is_author() || is_post_type_archive())) {
366
  $query->is_tax = false;
367
  unset($query->queried_object);
368
  }
247
  // filters posts according to the language
248
  function pre_get_posts($query) {
249
  // don't make anything if no language has been defined yet
250
+ if (!$this->get_languages_list() || !did_action('wp_loaded'))
251
  return;
252
 
253
  $qvars = $query->query_vars;
362
 
363
  // unset the is_tax flag for authors pages and post types archives
364
  // FIXME Probably I should do this for other cases
365
+ if (isset($qvars['lang']) && $qvars['lang'] && (is_author() || is_post_type_archive() || is_date())) {
366
  $query->is_tax = false;
367
  unset($query->queried_object);
368
  }
include/languages.php CHANGED
@@ -37,6 +37,7 @@ $languages = array(
37
  array('ka', 'ka_GE', 'ქართული'),
38
  array('ko', 'ko_KR', '한국어'),
39
  array('ku', 'ckb', 'کوردی', 'rtl'),
 
40
  array('lv', 'lv', 'Latviešu valoda'),
41
  array('mk', 'mk_MK', 'македонски јазик'),
42
  array('my', 'my_MM', 'ဗမာစာ'),
37
  array('ka', 'ka_GE', 'ქართული'),
38
  array('ko', 'ko_KR', '한국어'),
39
  array('ku', 'ckb', 'کوردی', 'rtl'),
40
+ array('lt', 'lt_LT', 'Lietuviškai'),
41
  array('lv', 'lv', 'Latviešu valoda'),
42
  array('mk', 'mk_MK', 'македонски јазик'),
43
  array('my', 'my_MM', 'ဗမာစာ'),
languages/polylang-lt_LT.mo ADDED
Binary file
languages/polylang-lt_LT.po ADDED
@@ -0,0 +1,416 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: polylang\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-21 20:50+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Naglis Jonaitis <njonaitis@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: \n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2: nplural=n>1\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: _e;__;_x\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+ "X-Poedit-SearchPath-1: ../include\n"
19
+
20
+ #: ../polylang.php:97
21
+ #, php-format
22
+ msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
23
+ msgstr "Jūs naudojatės WordPress %s. Polylang reikalauja mažiausiai WordPress %s."
24
+
25
+ #: ../polylang.php:111
26
+ msgid "For some reasons, Polylang could not create a table in your database."
27
+ msgstr "Dėl kažkokių priežasčių Polylang nepavyko sukurti lentelės Jūsų duomenų bazėje."
28
+
29
+ #: ../polylang.php:193
30
+ msgid "Error: Restore of local flags failed!"
31
+ msgstr "Klaida: Atkurti Jūsų vėliavėlių nepavyko!"
32
+
33
+ #: ../polylang.php:194
34
+ #, php-format
35
+ msgid "Please move your local flags from %s to %s"
36
+ msgstr "Prašome perketi savo vėliavėles iš %s į %s"
37
+
38
+ #: ../include/widget.php:6
39
+ msgid "Language Switcher"
40
+ msgstr "Kalbų perjungimas"
41
+
42
+ #: ../include/widget.php:6
43
+ msgid "Displays a language switcher"
44
+ msgstr "Leidžia pasirinkti puslapio kalbą"
45
+
46
+ #: ../include/widget.php:71
47
+ msgid "Title:"
48
+ msgstr "Pavadinimas:"
49
+
50
+ #: ../include/admin.php:26
51
+ #: ../include/admin.php:300
52
+ msgid "Settings"
53
+ msgstr "Nustatymai"
54
+
55
+ #: ../include/admin.php:33
56
+ #: ../include/admin.php:292
57
+ #: ../include/admin-filters.php:187
58
+ #: ../include/list-table.php:13
59
+ msgid "Languages"
60
+ msgstr "Kalbos"
61
+
62
+ #: ../include/admin.php:38
63
+ msgid "About Polylang"
64
+ msgstr "Apie Polylang"
65
+
66
+ #: ../include/admin.php:297
67
+ msgid "Menus"
68
+ msgstr "Meniu"
69
+
70
+ #: ../include/admin.php:299
71
+ #: ../include/list-table.php:104
72
+ msgid "Strings translation"
73
+ msgstr "Eilučių vertimas"
74
+
75
+ #: ../include/admin.php:318
76
+ msgid "Enter a valid WorPress locale"
77
+ msgstr "Įveskite taisyklingą WordPress lokalę"
78
+
79
+ #: ../include/admin.php:319
80
+ msgid "The language code must be 2 characters long"
81
+ msgstr "Kalbos kodas privalo būti dviejų simbolių ilgio"
82
+
83
+ #: ../include/admin.php:320
84
+ msgid "The language code must be unique"
85
+ msgstr "Kalbos kodas privalo būti unikalus"
86
+
87
+ #: ../include/admin.php:321
88
+ msgid "The language must have a name"
89
+ msgstr "Kalba privalo turėti vardą"
90
+
91
+ #: ../include/admin.php:322
92
+ msgid "The language was created, but the WordPress language file was not downloaded. Please install it manually."
93
+ msgstr "Kalba buvo pridėta, tačiau jos WordPress kalbos failas nebuvo parsiųstas. Prašome tai padaryti rankiniu būdu."
94
+
95
+ #: ../include/admin.php:475
96
+ msgid "Upgrading language files&#8230;"
97
+ msgstr "Atnaujinami kalbų failai&#8230;"
98
+
99
+ #: ../include/admin.php:486
100
+ msgid "Displays language names"
101
+ msgstr "Rodyti kalbų pavadinimus"
102
+
103
+ #: ../include/admin.php:487
104
+ msgid "Displays flags"
105
+ msgstr "Rodyti vėliavėles"
106
+
107
+ #: ../include/admin.php:488
108
+ msgid "Forces link to front page"
109
+ msgstr "Priverstinai nukreipti į pagrindinį puslapį"
110
+
111
+ #: ../include/admin.php:489
112
+ msgid "Hides the current language"
113
+ msgstr "Nerodyti dabartinės kalbos"
114
+
115
+ #: ../include/admin.php:491
116
+ msgid "Displays a language switcher at the end of the menu"
117
+ msgstr "Meniu pabaigoje rodyti kalbų perjungimų pasirinkimą"
118
+
119
+ #: ../include/admin.php:492
120
+ msgid "Displays as dropdown"
121
+ msgstr "Rodyti kaip išskleidžiamą pasirinkimą"
122
+
123
+ #: ../include/admin.php:501
124
+ msgid "Site Title"
125
+ msgstr "Tinklaraščio pavadinimas"
126
+
127
+ #: ../include/admin.php:502
128
+ msgid "Tagline"
129
+ msgstr "Tinklaraščio apibūdinimas"
130
+
131
+ #: ../include/admin.php:520
132
+ msgid "Widget title"
133
+ msgstr "Valdiklio pavadinimas"
134
+
135
+ #: ../include/term-translations.php:6
136
+ #: ../include/term-translations.php:11
137
+ #: ../include/list-table.php:127
138
+ msgid "Translations"
139
+ msgstr "Vertimai"
140
+
141
+ #: ../include/term-translations.php:15
142
+ #: ../include/admin-filters.php:537
143
+ #: ../include/admin-filters.php:554
144
+ #: ../include/list-table.php:12
145
+ #: ../include/post-translations.php:4
146
+ msgid "Language"
147
+ msgstr "Kalba"
148
+
149
+ #: ../include/term-translations.php:16
150
+ msgid "Translation"
151
+ msgstr "Vertimas"
152
+
153
+ #: ../include/term-translations.php:18
154
+ #: ../include/term-translations.php:65
155
+ #: ../include/list-table.php:26
156
+ #: ../include/post-translations.php:6
157
+ #: ../include/post-translations.php:29
158
+ msgid "Edit"
159
+ msgstr "Redaguoti"
160
+
161
+ #: ../include/term-translations.php:48
162
+ msgid "No untranslated term"
163
+ msgstr "Nėra išversto atitikmens"
164
+
165
+ #: ../include/term-translations.php:54
166
+ #: ../include/post-translations.php:34
167
+ msgid "Add new"
168
+ msgstr "Pridėti naują"
169
+
170
+ #: ../include/admin-filters.php:151
171
+ #: ../include/admin-filters.php:600
172
+ msgid "Add new translation"
173
+ msgstr "Pridėti naują vertimą"
174
+
175
+ #: ../include/admin-filters.php:174
176
+ msgid "Show all languages"
177
+ msgstr "Rodyti visas kalbas"
178
+
179
+ #: ../include/admin-filters.php:204
180
+ msgid "Page's language:"
181
+ msgstr "Puslapio kalba:"
182
+
183
+ #: ../include/admin-filters.php:204
184
+ msgid "Post's language:"
185
+ msgstr "Įrašo kalba:"
186
+
187
+ #: ../include/admin-filters.php:263
188
+ msgid "(no parent)"
189
+ msgstr "(be tėvinio)"
190
+
191
+ #: ../include/admin-filters.php:539
192
+ #: ../include/admin-filters.php:557
193
+ msgid "Sets the language"
194
+ msgstr "Nustatyti kalbą"
195
+
196
+ #: ../include/admin-filters.php:721
197
+ msgid "None"
198
+ msgstr "Nėra"
199
+
200
+ #: ../include/admin-filters.php:738
201
+ msgid "Theme locations and languages"
202
+ msgstr "Temų vietos ir kalbos"
203
+
204
+ #: ../include/admin-filters.php:743
205
+ #, php-format
206
+ msgid "Please go to the %slanguages page%s to set theme locations and languages"
207
+ msgstr "Prašome aplankyti %skalbų puslapį%s ir nustayti temos vietas bei kalbas"
208
+
209
+ #: ../include/admin-filters.php:754
210
+ msgid "The widget is displayed for:"
211
+ msgstr "Valdiklį rodyti:"
212
+
213
+ #: ../include/admin-filters.php:785
214
+ msgid "Admin language"
215
+ msgstr "Administravimo skydelio kalba"
216
+
217
+ #: ../include/list-table.php:27
218
+ msgid "Delete"
219
+ msgstr "Ištrinti"
220
+
221
+ #: ../include/list-table.php:45
222
+ #: ../include/languages-form.php:70
223
+ msgid "Full name"
224
+ msgstr "Pilnas vardas"
225
+
226
+ #: ../include/list-table.php:46
227
+ #: ../include/languages-form.php:76
228
+ msgid "Locale"
229
+ msgstr "Lokalė"
230
+
231
+ #: ../include/list-table.php:47
232
+ msgid "Code"
233
+ msgstr "Kodas"
234
+
235
+ #: ../include/list-table.php:48
236
+ #: ../include/languages-form.php:98
237
+ msgid "Order"
238
+ msgstr "Tvarka"
239
+
240
+ #: ../include/list-table.php:49
241
+ msgid "Flag"
242
+ msgstr "Vėliava"
243
+
244
+ #: ../include/list-table.php:50
245
+ msgid "Posts"
246
+ msgstr "Įrašai"
247
+
248
+ #: ../include/list-table.php:105
249
+ msgid "Strings translations"
250
+ msgstr "Eilučių vertimas"
251
+
252
+ #: ../include/list-table.php:125
253
+ msgid "Name"
254
+ msgstr "Vardas"
255
+
256
+ #: ../include/list-table.php:126
257
+ msgid "String"
258
+ msgstr "Eilutė"
259
+
260
+ #: ../include/calendar.php:106
261
+ #, php-format
262
+ msgid "%1$s %2$s"
263
+ msgstr "%1$s %2$s"
264
+
265
+ #: ../include/calendar.php:132
266
+ #: ../include/calendar.php:140
267
+ #, php-format
268
+ msgid "View posts for %1$s %2$s"
269
+ msgstr "Rodyti %1$s %2$s įrašus"
270
+
271
+ #: ../include/languages-form.php:36
272
+ msgid "Edit language"
273
+ msgstr "Redaguoti kalbą"
274
+
275
+ #: ../include/languages-form.php:36
276
+ #: ../include/languages-form.php:103
277
+ msgid "Add new language"
278
+ msgstr "Pridėti naują kalbą"
279
+
280
+ #: ../include/languages-form.php:58
281
+ msgid "Choose a language"
282
+ msgstr "Pasirinkite kalbą"
283
+
284
+ #: ../include/languages-form.php:66
285
+ msgid "You can choose a language in the list or directly edit it below."
286
+ msgstr "Galite pasirinkti kalbą iš sąrašo arba tiesiogiai redaguoti ją apačioje."
287
+
288
+ #: ../include/languages-form.php:72
289
+ msgid "The name is how it is displayed on your site (for example: English)."
290
+ msgstr "Vardas, kuris bus rodomas Jūsų svetainėje (pavyzdžiui: English)."
291
+
292
+ #: ../include/languages-form.php:79
293
+ msgid "Wordpress Locale for the language (for example: en_US). You will need to install the .mo file for this language."
294
+ msgstr "Kalbos WordPress lokalė (pavyzdžiui: lt_LT). Jums reikės įsidiegti šios kalbos .mo failą."
295
+
296
+ #: ../include/languages-form.php:83
297
+ msgid "Language code"
298
+ msgstr "Kalbos kodas"
299
+
300
+ #: ../include/languages-form.php:85
301
+ msgid "2-letters ISO 639-1 language code (for example: en)"
302
+ msgstr "Dviejų raidžių ISO 639-1 kalbos kodas (pavyzdžiui: lt)"
303
+
304
+ #: ../include/languages-form.php:89
305
+ msgid "Text direction"
306
+ msgstr "Teksto kryptis"
307
+
308
+ #: ../include/languages-form.php:91
309
+ msgid "left to right"
310
+ msgstr "iš kairės į dešinę"
311
+
312
+ #: ../include/languages-form.php:93
313
+ msgid "right to left"
314
+ msgstr "iš dešinės į kairę"
315
+
316
+ #: ../include/languages-form.php:94
317
+ msgid "Choose the text direction for the language"
318
+ msgstr "Pasirinkite kalbos teksto kryptį"
319
+
320
+ #: ../include/languages-form.php:100
321
+ msgid "Position of the language in the language switcher"
322
+ msgstr "Kalbos pozicija kalbos perjungiklyje"
323
+
324
+ #: ../include/languages-form.php:103
325
+ msgid "Update"
326
+ msgstr "Atnaujinti"
327
+
328
+ #: ../include/languages-form.php:149
329
+ msgid "Language switcher"
330
+ msgstr "Kalbų perjungimas"
331
+
332
+ #: ../include/languages-form.php:188
333
+ msgid "Default language"
334
+ msgstr "Numatytoji kalba"
335
+
336
+ #: ../include/languages-form.php:206
337
+ msgid "There are posts, pages, categories or tags without language set. Do you want to set them all to default language ?"
338
+ msgstr "Yra įrašų, puslapių, kategorijų arba žymų, kuriems nenustatyta kalba. Ar norite visiems jiems priskirti numatytąją kalbą?"
339
+
340
+ #: ../include/languages-form.php:214
341
+ msgid "Detect browser language"
342
+ msgstr "Nustatyti naršyklės kalbą"
343
+
344
+ #: ../include/languages-form.php:220
345
+ msgid "When the front page is visited, set the language according to the browser preference"
346
+ msgstr "Kai aplankomas pagrindinis puslapis, nustatyti kalbą pagal naršyklės pageidavimą"
347
+
348
+ #: ../include/languages-form.php:227
349
+ msgid "URL modifications"
350
+ msgstr "URL pakeitimai"
351
+
352
+ #: ../include/languages-form.php:233
353
+ msgid "Keep /language/ in pretty permalinks. Example:"
354
+ msgstr "Palikti /language/ pastoviosiose nuorodose. Pavyzdys:"
355
+
356
+ #: ../include/languages-form.php:241
357
+ msgid "Remove /language/ in pretty permalinks. Example:"
358
+ msgstr "Pašalinti /language/ iš pastoviųjų nuorodų. Pavyzdys:"
359
+
360
+ #: ../include/languages-form.php:249
361
+ msgid "Hide URL language information for default language"
362
+ msgstr "Numatytajai kalbai nerodyti kalbos informacijos URL"
363
+
364
+ #: ../include/languages-form.php:256
365
+ msgid "Add language information to all URL including posts, pages, categories and post tags (not recommended)"
366
+ msgstr "Pridėti kalbos informaciją prie visų įrašų, puslapių, kategorijų bei įrašų žymų URL (nerekomenduojama)"
367
+
368
+ #: ../include/languages-form.php:263
369
+ #, php-format
370
+ msgid "Redirect the language page (example: %s) to the homepage in the right language"
371
+ msgstr "Nukreipti kalbos puslapį (pavyzdžiui: %s) į atitinkamos kalbos namų puslapį"
372
+
373
+ #: ../include/base.php:38
374
+ msgid "All languages"
375
+ msgstr "Visoms kalboms"
376
+
377
+ #: ../include/post-translations.php:1
378
+ msgid "ID of pages in other languages:"
379
+ msgstr "Puslapių kitose kalbose ID:"
380
+
381
+ #: ../include/post-translations.php:1
382
+ msgid "ID of posts in other languages:"
383
+ msgstr "Įrašų kitose kalbose ID:"
384
+
385
+ #: ../include/post-translations.php:5
386
+ msgid "Page ID"
387
+ msgstr "Puslapio ID"
388
+
389
+ #: ../include/post-translations.php:5
390
+ msgid "Post ID"
391
+ msgstr "Įrašo ID"
392
+
393
+ #: ../include/about.php:3
394
+ #, php-format
395
+ msgid "Polylang is provided with an extensive %sdocumentation%s (in English only). It includes information on how to set up your multilingual site and use it on a daily basis, a FAQ, as well as a documentation for programmers to adapt their plugins and themes."
396
+ msgstr "Polylang pateikiams su išsamia %sdokumentacija%s (tik anglų kalba). Joje rasite informaciją kaip sukurti kelių kalbų svetainę bei naudotis ją kasdien, D.U.K. bei dokumentaciją programuotojams, aprašančią kaip pritaikyti savo įskiepius bei temas."
397
+
398
+ #: ../include/about.php:8
399
+ #, php-format
400
+ msgid "You will also find useful information in the %ssupport forum%s. However don't forget to make a search before posting a new topic."
401
+ msgstr "Naudingos informacijos taip pat galite rasti %spalaikymo forume%s. Tiesa, nepamirškite paieškoti prieš sukurdami naują temą."
402
+
403
+ #: ../include/about.php:14
404
+ #, php-format
405
+ msgid "Polylang is free of charge and is released under the same license as WordPress, the %sGPL%s."
406
+ msgstr "Polylang yra nemokamas ir leidžiamas su ta pačia licencija kaip ir WordPress - %sGPL%s."
407
+
408
+ #: ../include/about.php:18
409
+ #, php-format
410
+ msgid "If you wonder how you can help the project, just %sread this%s."
411
+ msgstr "Jei norite prisidėti prie šio projekto, %sskaitykite čia%s."
412
+
413
+ #: ../include/about.php:22
414
+ msgid "Finally if you like this plugin or if it helps your business, donations to the author are greatly appreciated."
415
+ msgstr "Galiausiai, jei Jums patinka šis įskiepis arba jei jis padeda Jūsų verslui, autorius labai vertintų Jūsų paramą."
416
+
polylang.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Polylang
4
  Plugin URI: http://wordpress.org/extend/plugins/polylang/
5
- Version: 0.8.9
6
  Author: F. Demarle
7
  Description: Adds multilingual capability to Wordpress
8
  */
@@ -24,7 +24,7 @@ Description: Adds multilingual capability to Wordpress
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
 
27
- define('POLYLANG_VERSION', '0.8.9');
28
  define('PLL_MIN_WP_VERSION', '3.1');
29
 
30
  define('POLYLANG_DIR', dirname(__FILE__)); // our directory
2
  /*
3
  Plugin Name: Polylang
4
  Plugin URI: http://wordpress.org/extend/plugins/polylang/
5
+ Version: 0.8.10
6
  Author: F. Demarle
7
  Description: Adds multilingual capability to Wordpress
8
  */
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
 
27
+ define('POLYLANG_VERSION', '0.8.10');
28
  define('PLL_MIN_WP_VERSION', '3.1');
29
 
30
  define('POLYLANG_DIR', dirname(__FILE__)); // our directory
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: multilingual, bilingual, translate, translation, language, multilanguage, i18n, international, l10n, localization
5
  Requires at least: 3.1
6
  Tested up to: 3.4.1
7
- Stable tag: 0.8.9
8
 
9
  Polylang adds multilingual content management support to WordPress.
10
 
@@ -39,6 +39,7 @@ The plugin admin interface is currently available in:
39
  * Danish contributed by [Compute](http://wordpress.org/support/profile/compute)
40
  * Spanish contributed by Curro
41
  * Portuguese contributed by [Vitor Carvalho](http://vcarvalho.com/)
 
42
 
43
  Special thanks to [@AndyDeGroo](http://twitter.com/AndyDeGroo) and [RavanH](http://4visions.nl/) for their help in debugging and improving Polylang !
44
 
@@ -98,7 +99,7 @@ You can subscribe to the tag ['polylang-dev'](http://wordpress.org/tags/polylang
98
 
99
  = Translate the admin interface =
100
 
101
- Polylang is already available in 13 languages. It's very easy to add a new one ! Download [poedit](http://www.poedit.net/download.php) (available for Windows, Mac OS X and Linux). Rename the file polylang.pot found in the polylang/languages directory into something like polylang-your_locale.po. Open the file with poedit and start translating (keeping strange codes such as %s, %1$s as is). Once done, just save and you will get two files polylang-your_locale.po and polylang-your_locale.mo that you can send to the author. The translation will be included with the next release.
102
 
103
  = Communicate =
104
 
@@ -110,6 +111,15 @@ Every suggestions are welcome.
110
 
111
  == Changelog ==
112
 
 
 
 
 
 
 
 
 
 
113
  = 0.8.9 (2012-07-20) =
114
 
115
  * Add Portuguese translation contributed by [Vitor Carvalho](http://vcarvalho.com/)
@@ -128,7 +138,6 @@ Every suggestions are welcome.
128
  = 0.8.7 (2012-06-10) =
129
 
130
  * Add the possibility to load Polylang API for ajax requests on frontend
131
- * Add ta_LK to predefined languages list
132
  * Bug correction: search form is broken when using a static front page
133
  * Bug correction: admin bar search does not work
134
  * Tests done with WordPress 3.4 RC2
4
  Tags: multilingual, bilingual, translate, translation, language, multilanguage, i18n, international, l10n, localization
5
  Requires at least: 3.1
6
  Tested up to: 3.4.1
7
+ Stable tag: 0.8.10
8
 
9
  Polylang adds multilingual content management support to WordPress.
10
 
39
  * Danish contributed by [Compute](http://wordpress.org/support/profile/compute)
40
  * Spanish contributed by Curro
41
  * Portuguese contributed by [Vitor Carvalho](http://vcarvalho.com/)
42
+ * Lithuanian contributed by [Naglis Jonaitis](http://najo.lt/)
43
 
44
  Special thanks to [@AndyDeGroo](http://twitter.com/AndyDeGroo) and [RavanH](http://4visions.nl/) for their help in debugging and improving Polylang !
45
 
99
 
100
  = Translate the admin interface =
101
 
102
+ Polylang is already available in 14 languages. It's very easy to add a new one ! Download [poedit](http://www.poedit.net/download.php) (available for Windows, Mac OS X and Linux). Rename the file polylang.pot found in the polylang/languages directory into something like polylang-your_locale.po. Open the file with poedit and start translating (keeping strange codes such as %s, %1$s as is). Once done, just save and you will get two files polylang-your_locale.po and polylang-your_locale.mo that you can send to the author. The translation will be included with the next release.
103
 
104
  = Communicate =
105
 
111
 
112
  == Changelog ==
113
 
114
+ = 0.8.10 (2012-08-06) =
115
+
116
+ * Add Lithuanian (lt_LT) to predefined languages list (automatic download and update of language files won't work)
117
+ * Add Lithuanian translation contributed by [Naglis Jonaitis](http://najo.lt/)
118
+ * Bug correction: empty string translation issue
119
+ * Bug correction: 'wp_list_pages' does not filter custom post types
120
+ * Bug correction: warning if posts are queried before the action 'wp_loaded' has been fired
121
+ * Bug correction: notice in twentyten when resquesting a date archive with no posts
122
+
123
  = 0.8.9 (2012-07-20) =
124
 
125
  * Add Portuguese translation contributed by [Vitor Carvalho](http://vcarvalho.com/)
138
  = 0.8.7 (2012-06-10) =
139
 
140
  * Add the possibility to load Polylang API for ajax requests on frontend
 
141
  * Bug correction: search form is broken when using a static front page
142
  * Bug correction: admin bar search does not work
143
  * Tests done with WordPress 3.4 RC2