Polylang - Version 1.7.6

Version Description

(2015-06-10) =

  • Add Galician translation contributed by Too Calo
  • fix: incorrect post type archive link for untranslated post types
  • fix: notices in wp-import.php
  • fix: avoid flushing rewrite rules at network activation and de-activation
  • fix: the note below the category list table displays the default category according to the admin language filter
  • fix: wrong future posts permalinks
  • fix: deleting a media translation deletes the file too
  • fix: when using persistent object cache, get_terms is not always filtered by the correct language on admin side
  • fix: it is possible to create two categories having the same translation
  • fix: fatal error when using the dropdown language switcher in WP < 4.1
Download this release

Release Info

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

Code changes from version 1.7.5 to 1.7.6

Files changed (91) hide show
  1. admin/admin-filters-columns.php +5 -5
  2. admin/admin-filters-media.php +3 -2
  3. admin/admin-filters-term.php +78 -39
  4. admin/admin-filters.php +1 -1
  5. admin/admin.php +7 -7
  6. admin/view-tab-lang.php +1 -1
  7. admin/view-translations-term.php +2 -2
  8. admin/wp-import.php +5 -0
  9. frontend/frontend-filters.php +19 -0
  10. frontend/frontend-links.php +19 -2
  11. include/filters.php +0 -23
  12. include/links.php +7 -8
  13. include/switcher.php +3 -3
  14. install/install-base.php +5 -5
  15. install/install.php +9 -4
  16. languages/polylang-af.mo +0 -0
  17. languages/polylang-af.po +4 -4
  18. languages/polylang-ar.mo +0 -0
  19. languages/polylang-ar.po +2 -2
  20. languages/polylang-bel.mo +0 -0
  21. languages/polylang-bel.po +4 -4
  22. languages/polylang-bg_BG.mo +0 -0
  23. languages/polylang-bg_BG.po +2 -2
  24. languages/polylang-ca.mo +0 -0
  25. languages/polylang-ca.po +5 -5
  26. languages/polylang-cs_CZ.mo +0 -0
  27. languages/polylang-cs_CZ.po +3 -3
  28. languages/polylang-da_DK.mo +0 -0
  29. languages/polylang-da_DK.po +6 -6
  30. languages/polylang-de_DE.mo +0 -0
  31. languages/polylang-de_DE.po +5 -5
  32. languages/polylang-el.mo +0 -0
  33. languages/polylang-el.po +7 -7
  34. languages/polylang-es_ES.mo +0 -0
  35. languages/polylang-es_ES.po +5 -5
  36. languages/polylang-et.mo +0 -0
  37. languages/polylang-et.po +3 -3
  38. languages/polylang-fi.mo +0 -0
  39. languages/polylang-fi.po +4 -4
  40. languages/polylang-fr_FR.mo +0 -0
  41. languages/polylang-fr_FR.po +3 -3
  42. languages/polylang-gl_ES.mo +0 -0
  43. languages/polylang-gl_ES.po +667 -0
  44. languages/polylang-he_IL.mo +0 -0
  45. languages/polylang-he_IL.po +2 -2
  46. languages/polylang-hr.mo +0 -0
  47. languages/polylang-hr.po +4 -4
  48. languages/polylang-hu_HU.mo +0 -0
  49. languages/polylang-hu_HU.po +2 -2
  50. languages/polylang-id_ID.mo +0 -0
  51. languages/polylang-id_ID.po +7 -7
  52. languages/polylang-it_IT.mo +0 -0
  53. languages/polylang-it_IT.po +4 -4
  54. languages/polylang-ka_GE.mo +0 -0
  55. languages/polylang-ka_GE.po +4 -4
  56. languages/polylang-lt_LT.mo +0 -0
  57. languages/polylang-lt_LT.po +4 -4
  58. languages/polylang-lv.mo +0 -0
  59. languages/polylang-lv.po +2 -2
  60. languages/polylang-my_MM.mo +0 -0
  61. languages/polylang-my_MM.po +2 -2
  62. languages/polylang-nb_NO.mo +0 -0
  63. languages/polylang-nb_NO.po +4 -4
  64. languages/polylang-nl_NL.mo +0 -0
  65. languages/polylang-nl_NL.po +7 -7
  66. languages/polylang-pl_PL.mo +0 -0
  67. languages/polylang-pl_PL.po +2 -2
  68. languages/polylang-pt_BR.mo +0 -0
  69. languages/polylang-pt_BR.po +2 -2
  70. languages/polylang-pt_PT.mo +0 -0
  71. languages/polylang-pt_PT.po +2 -2
  72. languages/polylang-ru_RU.mo +0 -0
  73. languages/polylang-ru_RU.po +3 -3
  74. languages/polylang-sk_SK.mo +0 -0
  75. languages/polylang-sk_SK.po +2 -2
  76. languages/polylang-sr_RS.mo +0 -0
  77. languages/polylang-sr_RS.po +4 -4
  78. languages/polylang-sv_SE.mo +0 -0
  79. languages/polylang-sv_SE.po +2 -2
  80. languages/polylang-tr_TR.mo +0 -0
  81. languages/polylang-tr_TR.po +3 -3
  82. languages/polylang-uk.mo +0 -0
  83. languages/polylang-uk.po +4 -4
  84. languages/polylang-vec.mo +0 -0
  85. languages/polylang-vec.po +3 -3
  86. languages/polylang-zh_CN.mo +0 -0
  87. languages/polylang-zh_CN.po +2 -2
  88. languages/polylang-zh_TW.mo +0 -0
  89. languages/polylang-zh_TW.po +2 -2
  90. polylang.php +5 -4
  91. readme.txt +56 -4
admin/admin-filters-columns.php CHANGED
@@ -123,7 +123,7 @@ class PLL_Admin_Filters_Columns {
123
  // link to edit post (or a translation)
124
  // check capabilities before creating links thanks to Solinx. See http://wordpress.org/support/topic/feature-request-incl-code-check-for-capabilities-in-admin-screens
125
  if ($id = $this->model->get_post($post_id, $language)) {
126
- if (current_user_can($post_type_object->cap->edit_post, $post_id)) {
127
  printf('<a class="%1$s" title="%2$s" href="%3$s"></a>',
128
  $id == $post_id ? 'pll_icon_tick' : esc_attr('pll_icon_edit translation_' . $id),
129
  esc_attr(get_post($id)->post_title),
@@ -208,7 +208,7 @@ class PLL_Admin_Filters_Columns {
208
 
209
  if (!post_type_exists($post_type) || !taxonomy_exists($taxonomy))
210
  return $out;
211
-
212
  $term_id = (int) $term_id;
213
  $language = $this->model->get_language(substr($column, 9));
214
 
@@ -255,7 +255,7 @@ class PLL_Admin_Filters_Columns {
255
 
256
  if (!post_type_exists($post_type = $_POST['post_type']))
257
  die(0);
258
-
259
  $translations = empty($_POST['translations']) ? array() : explode(',', $_POST['translations']); // collect old translations
260
  $translations = array_merge($translations, array($_POST['post_id'])); // add current post
261
  $translations = array_map('intval', $translations);
@@ -288,11 +288,11 @@ class PLL_Admin_Filters_Columns {
288
 
289
  if (!taxonomy_exists($taxonomy = $_POST['taxonomy']))
290
  die(0);
291
-
292
  $translations = empty($_POST['translations']) ? array() : explode(',', $_POST['translations']); // collect old translations
293
  $translations = array_merge($translations, $this->model->get_translations('term', (int) $_POST['term_id'])); // add current translations
294
  $translations = array_unique($translations); // remove doublons
295
- $translations = array_map('intval', $translations);
296
 
297
  foreach ($translations as $term_id) {
298
  $level = is_taxonomy_hierarchical($taxonomy) ? count( get_ancestors( $term_id, $taxonomy ) ) : 0;
123
  // link to edit post (or a translation)
124
  // check capabilities before creating links thanks to Solinx. See http://wordpress.org/support/topic/feature-request-incl-code-check-for-capabilities-in-admin-screens
125
  if ($id = $this->model->get_post($post_id, $language)) {
126
+ if (current_user_can($post_type_object->cap->edit_post, $id)) {
127
  printf('<a class="%1$s" title="%2$s" href="%3$s"></a>',
128
  $id == $post_id ? 'pll_icon_tick' : esc_attr('pll_icon_edit translation_' . $id),
129
  esc_attr(get_post($id)->post_title),
208
 
209
  if (!post_type_exists($post_type) || !taxonomy_exists($taxonomy))
210
  return $out;
211
+
212
  $term_id = (int) $term_id;
213
  $language = $this->model->get_language(substr($column, 9));
214
 
255
 
256
  if (!post_type_exists($post_type = $_POST['post_type']))
257
  die(0);
258
+
259
  $translations = empty($_POST['translations']) ? array() : explode(',', $_POST['translations']); // collect old translations
260
  $translations = array_merge($translations, array($_POST['post_id'])); // add current post
261
  $translations = array_map('intval', $translations);
288
 
289
  if (!taxonomy_exists($taxonomy = $_POST['taxonomy']))
290
  die(0);
291
+
292
  $translations = empty($_POST['translations']) ? array() : explode(',', $_POST['translations']); // collect old translations
293
  $translations = array_merge($translations, $this->model->get_translations('term', (int) $_POST['term_id'])); // add current translations
294
  $translations = array_unique($translations); // remove doublons
295
+ $translations = array_map('intval', $translations);
296
 
297
  foreach ($translations as $term_id) {
298
  $level = is_taxonomy_hierarchical($taxonomy) ? count( get_ancestors( $term_id, $taxonomy ) ) : 0;
admin/admin-filters-media.php CHANGED
@@ -113,7 +113,7 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base {
113
 
114
  // copy alternative text to be consistent with title, caption and description copied when cloning the post
115
  if ($meta = get_post_meta($post_id, '_wp_attachment_image_alt', true))
116
- add_post_meta($tr_id, '_wp_attachment_image_alt', $meta);
117
 
118
  $translations = $this->model->get_translations('post', $post_id);
119
  if (!$translations && $lang = $this->model->get_post_language($post_id))
@@ -163,10 +163,11 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base {
163
  global $wpdb;
164
 
165
  $uploadpath = wp_upload_dir();
 
166
  $ids = $wpdb->get_col($wpdb->prepare("
167
  SELECT post_id FROM $wpdb->postmeta
168
  WHERE meta_key = '_wp_attached_file' AND meta_value = '%s'",
169
- ltrim($file, $uploadpath['basedir'])
170
  ));
171
 
172
  if (!empty($ids)) {
113
 
114
  // copy alternative text to be consistent with title, caption and description copied when cloning the post
115
  if ($meta = get_post_meta($post_id, '_wp_attachment_image_alt', true))
116
+ add_post_meta($tr_id, '_wp_attachment_image_alt', $meta);
117
 
118
  $translations = $this->model->get_translations('post', $post_id);
119
  if (!$translations && $lang = $this->model->get_post_language($post_id))
163
  global $wpdb;
164
 
165
  $uploadpath = wp_upload_dir();
166
+
167
  $ids = $wpdb->get_col($wpdb->prepare("
168
  SELECT post_id FROM $wpdb->postmeta
169
  WHERE meta_key = '_wp_attached_file' AND meta_value = '%s'",
170
+ substr_replace($file, '', 0, strlen(trailingslashit($uploadpath['basedir'])))
171
  ));
172
 
173
  if (!empty($ids)) {
admin/admin-filters-term.php CHANGED
@@ -45,6 +45,9 @@ class PLL_Admin_Filters_Term {
45
  add_action('wp_ajax_term_lang_choice', array(&$this,'term_lang_choice'));
46
  add_action('wp_ajax_pll_terms_not_translated', array(&$this,'ajax_terms_not_translated'));
47
 
 
 
 
48
  // filters categories and post tags by language
49
  add_filter('terms_clauses', array(&$this, 'terms_clauses'), 10, 3);
50
 
@@ -64,10 +67,10 @@ class PLL_Admin_Filters_Term {
64
  public function add_term_form() {
65
  $taxonomy = $_GET['taxonomy'];
66
  $post_type = isset($GLOBALS['post_type']) ? $GLOBALS['post_type'] : $_REQUEST['post_type'];
67
-
68
  if (!taxonomy_exists($taxonomy) || !post_type_exists($post_type))
69
  return;
70
-
71
  $lang = isset($_GET['new_lang']) ? $this->model->get_language($_GET['new_lang']) : $this->pref_lang;
72
  $dropdown = new PLL_Walker_Dropdown();
73
 
@@ -109,10 +112,10 @@ class PLL_Admin_Filters_Term {
109
  $lang = $this->model->get_term_language($term_id);
110
  $taxonomy = $tag->taxonomy;
111
  $post_type = isset($GLOBALS['post_type']) ? $GLOBALS['post_type'] : $_REQUEST['post_type'];
112
-
113
  if (!post_type_exists($post_type))
114
  return;
115
-
116
  $dropdown = new PLL_Walker_Dropdown();
117
 
118
  // disable the language dropdown and the translations input fields for default categories to prevent removal
@@ -166,16 +169,16 @@ class PLL_Admin_Filters_Term {
166
 
167
  /*
168
  * stores the current post_id when bulk editing posts for use in save_language and pre_term_slug
169
- *
170
  * @since 1.7
171
- *
172
  * @param int $post_id
173
  */
174
  public function pre_post_update($post_id) {
175
  if (isset($_GET['bulk_edit']))
176
  $this->post_id = $post_id;
177
  }
178
-
179
  /*
180
  * allows to set a language by default for terms if it has no language yet
181
  *
@@ -227,7 +230,7 @@ class PLL_Admin_Filters_Term {
227
  // so we possibly create a tag in several languages
228
  if ($_GET['inline_lang_choice'] == -1) {
229
  // the language of the current term is set a according to the language of the current post
230
- $this->model->set_term_language($term_id, $this->model->get_post_language($this->post_id));
231
  $term = get_term($term_id, $taxonomy);
232
 
233
  // get all terms with the same name
@@ -240,8 +243,8 @@ class PLL_Admin_Filters_Term {
240
  INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id
241
  WHERE tt.taxonomy = %s AND t.name = %s",
242
  $taxonomy, $term->name
243
- ));
244
-
245
  // if we have several terms with the same name, they are translations of each other
246
  if (count($terms) > 1) {
247
  foreach ($terms as $term) {
@@ -251,7 +254,7 @@ class PLL_Admin_Filters_Term {
251
  $this->model->save_translations('term', $term_id, $translations);
252
  }
253
  }
254
-
255
  else {
256
  $this->model->set_term_language($term_id, $this->model->get_language($_GET['inline_lang_choice']));
257
  }
@@ -387,7 +390,7 @@ class PLL_Admin_Filters_Term {
387
 
388
  elseif (isset($_POST['inline_lang_choice']))
389
  $slug = $name . '-' . $this->model->get_language($_POST['inline_lang_choice'])->slug;
390
-
391
  // *post* bulk edit, in case a new term is created
392
  elseif (isset($_GET['bulk_edit'], $_GET['inline_lang_choice'])) {
393
  // bulk edit does not modify the language
@@ -428,7 +431,7 @@ class PLL_Admin_Filters_Term {
428
  $term_id = isset($_POST['term_id']) ? (int) $_POST['term_id'] : null;
429
  $taxonomy = $_POST['taxonomy'];
430
  $post_type = $_POST['post_type'];
431
-
432
  if (!post_type_exists($post_type) || ! taxonomy_exists($taxonomy))
433
  die(0);
434
 
@@ -481,11 +484,11 @@ class PLL_Admin_Filters_Term {
481
  */
482
  public function ajax_terms_not_translated() {
483
  check_ajax_referer('pll_language', '_pll_nonce');
484
-
485
  $s = wp_unslash($_REQUEST['term']);
486
  $post_type = $_REQUEST['post_type'];
487
  $taxonomy = $_REQUEST['taxonomy'];
488
-
489
  if (!post_type_exists($post_type) || ! taxonomy_exists($taxonomy))
490
  die(0);
491
 
@@ -521,52 +524,51 @@ class PLL_Admin_Filters_Term {
521
  wp_die(json_encode($return));
522
  }
523
 
 
524
  /*
525
- * filters categories and post tags by language when needed on admin side
526
  *
527
- * @since 0.5
528
  *
529
- * @param array $clauses list of sql clauses
530
- * @param array $taxonomies list of taxonomies
531
  * @param array $args get_terms arguments
532
- * @return array modified sql clauses
533
  */
534
- public function terms_clauses($clauses, $taxonomies, $args) {
535
  // does nothing except on taxonomies which are filterable
536
- foreach ($taxonomies as $tax)
537
- if (!$this->model->is_translated_taxonomy($tax))
538
- return $clauses;
 
 
 
 
 
 
 
539
 
540
  if (function_exists('get_current_screen'))
541
  $screen = get_current_screen(); // since WP 3.1, may not be available the first time(s) get_terms is called
542
 
543
  // don't filter nav menus on nav menus screen
544
  if (isset($screen) && 'nav-menus' == $screen->base && in_array('nav_menu', $taxonomies))
545
- return $clauses;
546
-
547
- // if get_terms is queried with a 'lang' parameter
548
- if (!empty($args['lang']))
549
- return $this->model->terms_clauses($clauses, $args['lang']);
550
 
551
  // does nothing in Languages and dasboard admin panels
552
  if (isset($screen) && in_array($screen->base, array('toplevel_page_mlang', 'dashboard')))
553
- return $clauses;
554
-
555
- // do not filter 'get_terms_not_translated'
556
- if (!empty($args['pll_get_terms_not_translated']))
557
- return $clauses;
558
 
559
  // admin language filter for ajax paginate_links in taxonomies metabox in nav menus panel
560
  if (!empty($_POST['action']) && !empty($this->curlang) && 'menu-get-metabox' == $_POST['action'])
561
- return $this->model->terms_clauses($clauses, $this->curlang);
562
 
563
  // The only ajax response I want to deal with is when changing the language in post metabox
564
  if (isset($_POST['action']) && !in_array($_POST['action'], array('post_lang_choice', 'term_lang_choice', 'get-tagcloud')))
565
- return $clauses;
566
 
567
  // I only want to filter the parent dropdown list when editing a term in a hierarchical taxonomy
568
  if (isset($_POST['action']) && $_POST['action'] == 'term_lang_choice' && !(isset($args['class']) || isset($args['unit'])))
569
- return $clauses;
570
 
571
  // ajax response for changing the language in the post metabox (or in the edit-tags panels)
572
  if (isset($_POST['lang']))
@@ -606,8 +608,40 @@ class PLL_Admin_Filters_Term {
606
  elseif (isset($screen) && ($screen->base == 'post' || ($screen->base == 'edit-tags' && isset($args['class']))))
607
  $lang = $this->pref_lang;
608
 
609
- // adds our clauses to filter by current language
610
- return !empty($lang) ? $this->model->terms_clauses($clauses, $lang) : $clauses;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
611
  }
612
 
613
  /*
@@ -629,6 +663,10 @@ class PLL_Admin_Filters_Term {
629
  if ('wp_delete_term' == $traces[4]['function'])
630
  return $this->model->get_term($value, $this->model->get_term_language($traces[4]['args'][0]));
631
  }
 
 
 
 
632
  return $value;
633
  }
634
 
@@ -692,6 +730,7 @@ class PLL_Admin_Filters_Term {
692
  }
693
 
694
  $this->model->save_translations('term', $new_term_id, $translations);
 
695
  }
696
 
697
  /*
45
  add_action('wp_ajax_term_lang_choice', array(&$this,'term_lang_choice'));
46
  add_action('wp_ajax_pll_terms_not_translated', array(&$this,'ajax_terms_not_translated'));
47
 
48
+ // adds cache domain when querying terms
49
+ add_filter('get_terms_args', array(&$this, 'get_terms_args'), 10, 2);
50
+
51
  // filters categories and post tags by language
52
  add_filter('terms_clauses', array(&$this, 'terms_clauses'), 10, 3);
53
 
67
  public function add_term_form() {
68
  $taxonomy = $_GET['taxonomy'];
69
  $post_type = isset($GLOBALS['post_type']) ? $GLOBALS['post_type'] : $_REQUEST['post_type'];
70
+
71
  if (!taxonomy_exists($taxonomy) || !post_type_exists($post_type))
72
  return;
73
+
74
  $lang = isset($_GET['new_lang']) ? $this->model->get_language($_GET['new_lang']) : $this->pref_lang;
75
  $dropdown = new PLL_Walker_Dropdown();
76
 
112
  $lang = $this->model->get_term_language($term_id);
113
  $taxonomy = $tag->taxonomy;
114
  $post_type = isset($GLOBALS['post_type']) ? $GLOBALS['post_type'] : $_REQUEST['post_type'];
115
+
116
  if (!post_type_exists($post_type))
117
  return;
118
+
119
  $dropdown = new PLL_Walker_Dropdown();
120
 
121
  // disable the language dropdown and the translations input fields for default categories to prevent removal
169
 
170
  /*
171
  * stores the current post_id when bulk editing posts for use in save_language and pre_term_slug
172
+ *
173
  * @since 1.7
174
+ *
175
  * @param int $post_id
176
  */
177
  public function pre_post_update($post_id) {
178
  if (isset($_GET['bulk_edit']))
179
  $this->post_id = $post_id;
180
  }
181
+
182
  /*
183
  * allows to set a language by default for terms if it has no language yet
184
  *
230
  // so we possibly create a tag in several languages
231
  if ($_GET['inline_lang_choice'] == -1) {
232
  // the language of the current term is set a according to the language of the current post
233
+ $this->model->set_term_language($term_id, $this->model->get_post_language($this->post_id));
234
  $term = get_term($term_id, $taxonomy);
235
 
236
  // get all terms with the same name
243
  INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id
244
  WHERE tt.taxonomy = %s AND t.name = %s",
245
  $taxonomy, $term->name
246
+ ));
247
+
248
  // if we have several terms with the same name, they are translations of each other
249
  if (count($terms) > 1) {
250
  foreach ($terms as $term) {
254
  $this->model->save_translations('term', $term_id, $translations);
255
  }
256
  }
257
+
258
  else {
259
  $this->model->set_term_language($term_id, $this->model->get_language($_GET['inline_lang_choice']));
260
  }
390
 
391
  elseif (isset($_POST['inline_lang_choice']))
392
  $slug = $name . '-' . $this->model->get_language($_POST['inline_lang_choice'])->slug;
393
+
394
  // *post* bulk edit, in case a new term is created
395
  elseif (isset($_GET['bulk_edit'], $_GET['inline_lang_choice'])) {
396
  // bulk edit does not modify the language
431
  $term_id = isset($_POST['term_id']) ? (int) $_POST['term_id'] : null;
432
  $taxonomy = $_POST['taxonomy'];
433
  $post_type = $_POST['post_type'];
434
+
435
  if (!post_type_exists($post_type) || ! taxonomy_exists($taxonomy))
436
  die(0);
437
 
484
  */
485
  public function ajax_terms_not_translated() {
486
  check_ajax_referer('pll_language', '_pll_nonce');
487
+
488
  $s = wp_unslash($_REQUEST['term']);
489
  $post_type = $_REQUEST['post_type'];
490
  $taxonomy = $_REQUEST['taxonomy'];
491
+
492
  if (!post_type_exists($post_type) || ! taxonomy_exists($taxonomy))
493
  die(0);
494
 
524
  wp_die(json_encode($return));
525
  }
526
 
527
+
528
  /*
529
+ * get the language(s) to filter get_terms
530
  *
531
+ * @since 1.7.6
532
  *
533
+ * @param array $taxonomies queried taxonomies
 
534
  * @param array $args get_terms arguments
535
+ * @return object|string|bool the language(s) to use in the filter, false otherwise
536
  */
537
+ protected function get_queried_language($taxonomies, $args) {
538
  // does nothing except on taxonomies which are filterable
539
+ if (!$this->model->is_translated_taxonomy($taxonomies))
540
+ return false;
541
+
542
+ // if get_terms is queried with a 'lang' parameter
543
+ if (!empty($args['lang']))
544
+ return $args['lang'];
545
+
546
+ // do not filter 'get_terms_not_translated'
547
+ if (!empty($args['pll_get_terms_not_translated']))
548
+ return false;
549
 
550
  if (function_exists('get_current_screen'))
551
  $screen = get_current_screen(); // since WP 3.1, may not be available the first time(s) get_terms is called
552
 
553
  // don't filter nav menus on nav menus screen
554
  if (isset($screen) && 'nav-menus' == $screen->base && in_array('nav_menu', $taxonomies))
555
+ return false;
 
 
 
 
556
 
557
  // does nothing in Languages and dasboard admin panels
558
  if (isset($screen) && in_array($screen->base, array('toplevel_page_mlang', 'dashboard')))
559
+ return false;
 
 
 
 
560
 
561
  // admin language filter for ajax paginate_links in taxonomies metabox in nav menus panel
562
  if (!empty($_POST['action']) && !empty($this->curlang) && 'menu-get-metabox' == $_POST['action'])
563
+ return $this->curlang;
564
 
565
  // The only ajax response I want to deal with is when changing the language in post metabox
566
  if (isset($_POST['action']) && !in_array($_POST['action'], array('post_lang_choice', 'term_lang_choice', 'get-tagcloud')))
567
+ return false;
568
 
569
  // I only want to filter the parent dropdown list when editing a term in a hierarchical taxonomy
570
  if (isset($_POST['action']) && $_POST['action'] == 'term_lang_choice' && !(isset($args['class']) || isset($args['unit'])))
571
+ return false;
572
 
573
  // ajax response for changing the language in the post metabox (or in the edit-tags panels)
574
  if (isset($_POST['lang']))
608
  elseif (isset($screen) && ($screen->base == 'post' || ($screen->base == 'edit-tags' && isset($args['class']))))
609
  $lang = $this->pref_lang;
610
 
611
+ return empty($lang) ? false : $lang;
612
+ }
613
+
614
+ /*
615
+ * adds language dependent cache domain when querying terms
616
+ * useful as the 'lang' parameter is not included in cache key by WordPress
617
+ *
618
+ * @since 1.3
619
+ *
620
+ * @param array $args
621
+ * @param array $taxonomies
622
+ * @return array modified arguments
623
+ */
624
+ public function get_terms_args($args, $taxonomies) {
625
+ if ($lang = $this->get_queried_language($taxonomies, $args)) {
626
+ $key = '_' . (is_array($lang) ? implode(',', $lang) : $this->model->get_language($lang)->slug);
627
+ $args['cache_domain'] = empty($args['cache_domain']) ? 'pll' . $key : $args['cache_domain'] . $key;
628
+ }
629
+ return $args;
630
+ }
631
+
632
+ /*
633
+ * filters categories and post tags by language(s) when needed on admin side
634
+ *
635
+ * @since 0.5
636
+ *
637
+ * @param array $clauses list of sql clauses
638
+ * @param array $taxonomies list of taxonomies
639
+ * @param array $args get_terms arguments
640
+ * @return array modified sql clauses
641
+ */
642
+ public function terms_clauses($clauses, $taxonomies, $args) {
643
+ $lang = $this->get_queried_language($taxonomies, $args);
644
+ return !empty($lang) ? $this->model->terms_clauses($clauses, $lang) : $clauses; // adds our clauses to filter by current language
645
  }
646
 
647
  /*
663
  if ('wp_delete_term' == $traces[4]['function'])
664
  return $this->model->get_term($value, $this->model->get_term_language($traces[4]['args'][0]));
665
  }
666
+
667
+ elseif (false != strpos($traces[3]['file'], 'wp-admin/edit-tags.php')) {
668
+ return $this->model->get_term($value, $this->pref_lang);
669
+ }
670
  return $value;
671
  }
672
 
730
  }
731
 
732
  $this->model->save_translations('term', $new_term_id, $translations);
733
+ $avoid_recursion = false;
734
  }
735
 
736
  /*
admin/admin-filters.php CHANGED
@@ -123,7 +123,7 @@ class PLL_Admin_Filters extends PLL_Filters {
123
  __('Admin language', 'polylang'),
124
  $dropdown->walk(
125
  array_merge(
126
- array((object) array('locale' => 0, 'name' => __('Wordpress default', 'polylang'))),
127
  $this->model->get_languages_list()
128
  ),
129
  array(
123
  __('Admin language', 'polylang'),
124
  $dropdown->walk(
125
  array_merge(
126
+ array((object) array('locale' => 0, 'name' => __('WordPress default', 'polylang'))),
127
  $this->model->get_languages_list()
128
  ),
129
  array(
admin/admin.php CHANGED
@@ -40,7 +40,7 @@ class PLL_Admin extends PLL_Base {
40
  // plugin i18n, only needed for backend
41
  load_plugin_textdomain('polylang', false, basename(POLYLANG_DIR).'/languages');
42
 
43
- // adds the link to the languages panel in the wordpress admin menu
44
  add_action('admin_menu', array(&$this, 'add_menus'));
45
 
46
  // setup js scripts and css styles
@@ -84,7 +84,7 @@ class PLL_Admin extends PLL_Base {
84
  }
85
 
86
  /*
87
- * adds the link to the languages panel in the wordpress admin menu
88
  *
89
  * @since 0.1
90
  */
@@ -102,7 +102,7 @@ class PLL_Admin extends PLL_Base {
102
  $screen = get_current_screen();
103
  if (empty($screen))
104
  return;
105
-
106
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
107
 
108
  // for each script:
@@ -217,21 +217,21 @@ class PLL_Admin extends PLL_Base {
217
  else
218
  do_action('pll_no_language_defined'); // to load overriden textdomains
219
  }
220
-
221
  /*
222
  * avoids parsing a tax query when all languages are requested
223
  * fixes https://wordpress.org/support/topic/notice-undefined-offset-0-in-wp-includesqueryphp-on-line-3877 introduced in WP 4.1
224
  * @see the suggestion of @boonebgorges, https://core.trac.wordpress.org/ticket/31246
225
- *
226
  * @since 1.6.5
227
- *
228
  * @param array $qvars
229
  * @return array
230
  */
231
  public function request($qvars) {
232
  if (isset($qvars['lang']) && 'all' === $qvars['lang'])
233
  unset($qvars['lang']);
234
-
235
  return $qvars;
236
  }
237
 
40
  // plugin i18n, only needed for backend
41
  load_plugin_textdomain('polylang', false, basename(POLYLANG_DIR).'/languages');
42
 
43
+ // adds the link to the languages panel in the WordPress admin menu
44
  add_action('admin_menu', array(&$this, 'add_menus'));
45
 
46
  // setup js scripts and css styles
84
  }
85
 
86
  /*
87
+ * adds the link to the languages panel in the WordPress admin menu
88
  *
89
  * @since 0.1
90
  */
102
  $screen = get_current_screen();
103
  if (empty($screen))
104
  return;
105
+
106
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
107
 
108
  // for each script:
217
  else
218
  do_action('pll_no_language_defined'); // to load overriden textdomains
219
  }
220
+
221
  /*
222
  * avoids parsing a tax query when all languages are requested
223
  * fixes https://wordpress.org/support/topic/notice-undefined-offset-0-in-wp-includesqueryphp-on-line-3877 introduced in WP 4.1
224
  * @see the suggestion of @boonebgorges, https://core.trac.wordpress.org/ticket/31246
225
+ *
226
  * @since 1.6.5
227
+ *
228
  * @param array $qvars
229
  * @return array
230
  */
231
  public function request($qvars) {
232
  if (isset($qvars['lang']) && 'all' === $qvars['lang'])
233
  unset($qvars['lang']);
234
+
235
  return $qvars;
236
  }
237
 
admin/view-tab-lang.php CHANGED
@@ -63,7 +63,7 @@
63
  '<input name="locale" id="lang_locale" type="text" value="%s" size="40" aria-required="true" />',
64
  $action=='edit' ? esc_attr($edit_lang->locale) : ''
65
  );?>
66
- <p><?php _e('Wordpress Locale for the language (for example: en_US). You will need to install the .mo file for this language.', 'polylang');?></p>
67
  </div>
68
 
69
  <div class="form-field">
63
  '<input name="locale" id="lang_locale" type="text" value="%s" size="40" aria-required="true" />',
64
  $action=='edit' ? esc_attr($edit_lang->locale) : ''
65
  );?>
66
+ <p><?php _e('WordPress Locale for the language (for example: en_US). You will need to install the .mo file for this language.', 'polylang');?></p>
67
  </div>
68
 
69
  <div class="form-field">
admin/view-translations-term.php CHANGED
@@ -20,7 +20,7 @@ else {
20
  $translation = 0;
21
  if (isset($term_id) && ($translation_id = $this->model->get_translation('term', $term_id, $language)) && $translation_id != $term_id)
22
  $translation = get_term($translation_id, $taxonomy);
23
- if (isset($_REQUEST['from_tag']) && ($translation_id = $this->model->get_term((int) $_REQUEST['from_tag'], $language)))
24
  $translation = get_term($translation_id, $taxonomy);
25
 
26
  if (isset($term_id)) { // do not display the add new link in add term form ($term_id not set !!!) {
@@ -37,7 +37,7 @@ else {
37
 
38
  <tr>
39
  <td class = "pll-language-column">
40
- <span class = "pll-translation-flag"><?php echo $language->flag; ?></span><?php
41
  if (isset($term_id)) { ?>
42
  <span class = "pll-language-name"><?php echo esc_html($language->name); ?></span><?php
43
  } ?>
20
  $translation = 0;
21
  if (isset($term_id) && ($translation_id = $this->model->get_translation('term', $term_id, $language)) && $translation_id != $term_id)
22
  $translation = get_term($translation_id, $taxonomy);
23
+ if (isset($_REQUEST['from_tag']) && ($translation_id = $this->model->get_term((int) $_REQUEST['from_tag'], $language)) && !$this->model->get_translation('term', $translation_id, $lang))
24
  $translation = get_term($translation_id, $taxonomy);
25
 
26
  if (isset($term_id)) { // do not display the add new link in add term form ($term_id not set !!!) {
37
 
38
  <tr>
39
  <td class = "pll-language-column">
40
+ <span class = "pll-translation-flag"><?php echo $language->flag; ?></span><?php
41
  if (isset($term_id)) { ?>
42
  <span class = "pll-language-name"><?php echo esc_html($language->name); ?></span><?php
43
  } ?>
admin/wp-import.php CHANGED
@@ -6,6 +6,7 @@
6
  * @since 1.2
7
  */
8
  class PLL_WP_Import extends WP_Import {
 
9
 
10
  /*
11
  * overrides WP_Import::process_terms to remap terms translations
@@ -13,6 +14,8 @@ class PLL_WP_Import extends WP_Import {
13
  * @since 1.2
14
  */
15
  function process_terms() {
 
 
16
  // store this for future usage as parent function unsets $this->terms
17
  foreach ($this->terms as $term) {
18
  if ('post_translations' == $term['term_taxonomy'])
@@ -44,6 +47,8 @@ class PLL_WP_Import extends WP_Import {
44
  * @since 1.2
45
  */
46
  function process_posts() {
 
 
47
  // store this for future usage as parent function unset $this->posts
48
  foreach ($this->posts as $post) {
49
  if ('nav_menu_item' == $post['post_type'])
6
  * @since 1.2
7
  */
8
  class PLL_WP_Import extends WP_Import {
9
+ public $post_translations = array();
10
 
11
  /*
12
  * overrides WP_Import::process_terms to remap terms translations
14
  * @since 1.2
15
  */
16
  function process_terms() {
17
+ $term_translations = array();
18
+
19
  // store this for future usage as parent function unsets $this->terms
20
  foreach ($this->terms as $term) {
21
  if ('post_translations' == $term['term_taxonomy'])
47
  * @since 1.2
48
  */
49
  function process_posts() {
50
+ $menu_items = $mo_posts = array();
51
+
52
  // store this for future usage as parent function unset $this->posts
53
  foreach ($this->posts as $post) {
54
  if ('nav_menu_item' == $post['post_type'])
frontend/frontend-filters.php CHANGED
@@ -26,6 +26,9 @@ class PLL_Frontend_Filters extends PLL_Filters{
26
  // filter sticky posts by current language
27
  add_filter('option_sticky_posts', array(&$this, 'option_sticky_posts'));
28
 
 
 
 
29
  // filters categories and post tags by language
30
  add_filter('terms_clauses', array(&$this, 'terms_clauses'), 10, 3);
31
 
@@ -94,6 +97,22 @@ class PLL_Frontend_Filters extends PLL_Filters{
94
  return $posts;
95
  }
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  /*
98
  * filters categories and post tags by language when needed
99
  *
26
  // filter sticky posts by current language
27
  add_filter('option_sticky_posts', array(&$this, 'option_sticky_posts'));
28
 
29
+ // adds cache domain when querying terms
30
+ add_filter('get_terms_args', array(&$this, 'get_terms_args'));
31
+
32
  // filters categories and post tags by language
33
  add_filter('terms_clauses', array(&$this, 'terms_clauses'), 10, 3);
34
 
97
  return $posts;
98
  }
99
 
100
+ /*
101
+ * adds language dependent cache domain when querying terms
102
+ * useful as the 'lang' parameter is not included in cache key by WordPress
103
+ *
104
+ * @since 1.3
105
+ *
106
+ * @param array $args
107
+ * @return array
108
+ */
109
+ public function get_terms_args($args) {
110
+ $lang = isset($args['lang']) ? $args['lang'] : $this->curlang->slug;
111
+ $key = '_' . (is_array($lang) ? implode(',', $lang) : $lang);
112
+ $args['cache_domain'] = empty($args['cache_domain']) ? 'pll' . $key : $args['cache_domain'] . $key;
113
+ return $args;
114
+ }
115
+
116
  /*
117
  * filters categories and post tags by language when needed
118
  *
frontend/frontend-links.php CHANGED
@@ -48,9 +48,12 @@ class PLL_Frontend_Links extends PLL_Links {
48
  */
49
  public function pll_language_defined() {
50
  // rewrites author and date links to filter them by language
51
- foreach (array('feed_link', 'author_link', 'post_type_archive_link', 'search_link', 'year_link', 'month_link', 'day_link') as $filter)
52
  add_filter($filter, array(&$this, 'archive_link'), 20);
53
 
 
 
 
54
  // modifies the page link in case the front page is not in the default language
55
  add_filter('page_link', array(&$this, 'page_link'), 20, 2);
56
 
@@ -73,7 +76,7 @@ class PLL_Frontend_Links extends PLL_Links {
73
  }
74
 
75
  // redirects to canonical url
76
- add_action('wp', array(&$this, 'check_canonical_url'), 10, 0); // before Wordpress redirect_canonical, avoid passing the WP object
77
  }
78
 
79
  /*
@@ -88,6 +91,20 @@ class PLL_Frontend_Links extends PLL_Links {
88
  return $this->links_model->add_language_to_link($link, $this->curlang);
89
  }
90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  /*
92
  * modifies post & page links
93
  * caches the result
48
  */
49
  public function pll_language_defined() {
50
  // rewrites author and date links to filter them by language
51
+ foreach (array('feed_link', 'author_link', 'search_link', 'year_link', 'month_link', 'day_link') as $filter)
52
  add_filter($filter, array(&$this, 'archive_link'), 20);
53
 
54
+ // rewrites post types archives links to filter them by language
55
+ add_filter('post_type_archive_link', array(&$this, 'post_type_archive_link'), 20, 2);
56
+
57
  // modifies the page link in case the front page is not in the default language
58
  add_filter('page_link', array(&$this, 'page_link'), 20, 2);
59
 
76
  }
77
 
78
  // redirects to canonical url
79
+ add_action('wp', array(&$this, 'check_canonical_url'), 10, 0); // before WordPress redirect_canonical, avoid passing the WP object
80
  }
81
 
82
  /*
91
  return $this->links_model->add_language_to_link($link, $this->curlang);
92
  }
93
 
94
+ /*
95
+ * modifies the post type archive links to add the language parameter
96
+ * only if the post type is translated
97
+ *
98
+ * @since 1.7.6
99
+ *
100
+ * @param string $link
101
+ * @param string $post_type
102
+ * @return string modified link
103
+ */
104
+ public function post_type_archive_link($link, $post_type) {
105
+ return $this->model->is_translated_post_type($post_type) ? $this->links_model->add_language_to_link($link, $this->curlang) : $link;
106
+ }
107
+
108
  /*
109
  * modifies post & page links
110
  * caches the result
include/filters.php CHANGED
@@ -26,9 +26,6 @@ class PLL_Filters {
26
 
27
  // filters the get_pages function according to the current language
28
  add_filter('get_pages', array(&$this, 'get_pages'), 10, 2);
29
-
30
- // adds cache domain when querying terms
31
- add_filter('get_terms_args', array(&$this, 'get_terms_args'));
32
  }
33
 
34
  /*
@@ -124,24 +121,4 @@ class PLL_Filters {
124
  $once = false; // in case get_pages is called another time
125
  return $pages;
126
  }
127
-
128
- /*
129
- * adds language dependent cache domain when querying terms
130
- * useful as the 'lang' parameter is not included in cache key by WordPress
131
- *
132
- * @since 1.3
133
- */
134
- public function get_terms_args($args) {
135
- if (!empty($args['lang']))
136
- $lang = $args['lang'];
137
- elseif (!empty($this->curlang))
138
- $lang = $this->curlang->slug;
139
-
140
- if (isset($lang)) {
141
- $key = '_' . (is_array($lang) ? implode(',', $lang) : $lang);
142
- $args['cache_domain'] = empty($args['cache_domain']) ? 'pll' . $key : $args['cache_domain'] . $key;
143
- }
144
-
145
- return $args;
146
- }
147
  }
26
 
27
  // filters the get_pages function according to the current language
28
  add_filter('get_pages', array(&$this, 'get_pages'), 10, 2);
 
 
 
29
  }
30
 
31
  /*
121
  $once = false; // in case get_pages is called another time
122
  return $pages;
123
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  }
include/links.php CHANGED
@@ -61,8 +61,8 @@ class PLL_Links {
61
  * @return string modified post link
62
  */
63
  public function post_link($link, $post) {
64
- // /!\ when post_status is not "publish", WP does not use pretty permalinks
65
- return $post->post_status != 'publish' ? $link : $this->links_model->add_language_to_link($link, $this->model->get_post_language($post->ID));
66
  }
67
 
68
 
@@ -76,10 +76,8 @@ class PLL_Links {
76
  * @return string modified post link
77
  */
78
  public function _get_page_link($link, $post_id) {
79
- $post = get_post($post_id);
80
-
81
- // /!\ when post_status is not "publish", WP does not use pretty permalinks
82
- return $post->post_status != 'publish' ? $link : $this->links_model->add_language_to_link($link, $this->model->get_post_language($post->ID));
83
  }
84
 
85
  /*
@@ -105,8 +103,9 @@ class PLL_Links {
105
  * @return string modified post link
106
  */
107
  public function post_type_link($link, $post) {
108
- // /!\ when post_status is not "publish", WP does not use pretty permalinks
109
- if ('publish' == $post->post_status && $this->model->is_translated_post_type($post->post_type)) {
 
110
  $lang = $this->model->get_post_language($post->ID);
111
  $link = $this->options['force_lang'] ? $this->links_model->add_language_to_link($link, $lang) : $link;
112
  $link = apply_filters('pll_post_type_link', $link, $lang, $post);
61
  * @return string modified post link
62
  */
63
  public function post_link($link, $post) {
64
+ // /!\ WP does not use pretty permalinks for preview
65
+ return ($query = parse_url($link, PHP_URL_QUERY)) && false !== strpos($query, 'p=') ? $link : $this->links_model->add_language_to_link($link, $this->model->get_post_language($post->ID));
66
  }
67
 
68
 
76
  * @return string modified post link
77
  */
78
  public function _get_page_link($link, $post_id) {
79
+ // /!\ WP does not use pretty permalinks for preview
80
+ return ($query = parse_url($link, PHP_URL_QUERY)) && false !== strpos($query, 'page_id=') ? $link : $this->links_model->add_language_to_link($link, $this->model->get_post_language($post_id));
 
 
81
  }
82
 
83
  /*
103
  * @return string modified post link
104
  */
105
  public function post_type_link($link, $post) {
106
+ // /!\ WP does not use pretty permalinks for preview
107
+ $query = parse_url($link, PHP_URL_QUERY);
108
+ if ((!$query || false === strpos($query, 'p=')) && $this->model->is_translated_post_type($post->post_type)) {
109
  $lang = $this->model->get_post_language($post->ID);
110
  $link = $this->options['force_lang'] ? $this->links_model->add_language_to_link($link, $lang) : $link;
111
  $link = apply_filters('pll_post_type_link', $link, $lang, $post);
include/switcher.php CHANGED
@@ -121,11 +121,11 @@ class PLL_Switcher {
121
  );
122
  $args = wp_parse_args($args, $defaults);
123
  $args = apply_filters('pll_the_languages_args', $args);
124
-
125
  // prevents showing empty options in dropdown
126
  if ($args['dropdown'])
127
  $args['show_names'] = 1;
128
-
129
  $elements = $this->get_elements($links, $args);
130
 
131
  if ($args['raw'])
@@ -157,7 +157,7 @@ class PLL_Switcher {
157
  }
158
  //]]>
159
  </script>',
160
- 'urls_' . preg_replace('#[^a-zA-Z0-9]#', '', $args['dropdown']), wp_json_encode($urls), esc_js($args['name'])
161
  );
162
  }
163
 
121
  );
122
  $args = wp_parse_args($args, $defaults);
123
  $args = apply_filters('pll_the_languages_args', $args);
124
+
125
  // prevents showing empty options in dropdown
126
  if ($args['dropdown'])
127
  $args['show_names'] = 1;
128
+
129
  $elements = $this->get_elements($links, $args);
130
 
131
  if ($args['raw'])
157
  }
158
  //]]>
159
  </script>',
160
+ 'urls_' . preg_replace('#[^a-zA-Z0-9]#', '', $args['dropdown']), json_encode($urls), esc_js($args['name'])
161
  );
162
  }
163
 
install/install-base.php CHANGED
@@ -49,14 +49,14 @@ class PLL_Install_Base {
49
 
50
  foreach ($wpdb->get_col("SELECT blog_id FROM $wpdb->blogs") as $blog_id) {
51
  switch_to_blog($blog_id);
52
- $what == 'activate' ? $this->_activate() : $this->_deactivate();
53
  }
54
  restore_current_blog();
55
  }
56
 
57
  // single blog
58
  else
59
- $what == 'activate' ? $this->_activate() : $this->_deactivate();
60
  }
61
 
62
  /*
@@ -73,7 +73,7 @@ class PLL_Install_Base {
73
  *
74
  * @since 0.5
75
  */
76
- protected function _activate() {
77
  // can be overriden in child class
78
  }
79
 
@@ -91,7 +91,7 @@ class PLL_Install_Base {
91
  *
92
  * @since 0.5
93
  */
94
- protected function _deactivate() {
95
  // can be overriden in child class
96
  }
97
 
@@ -104,7 +104,7 @@ class PLL_Install_Base {
104
  */
105
  public function wpmu_new_blog($blog_id) {
106
  switch_to_blog($blog_id);
107
- $this->_activate();
108
  restore_current_blog();
109
  }
110
  }
49
 
50
  foreach ($wpdb->get_col("SELECT blog_id FROM $wpdb->blogs") as $blog_id) {
51
  switch_to_blog($blog_id);
52
+ $what == 'activate' ? $this->_activate($networkwide) : $this->_deactivate($networkwide);
53
  }
54
  restore_current_blog();
55
  }
56
 
57
  // single blog
58
  else
59
+ $what == 'activate' ? $this->_activate($networkwide) : $this->_deactivate($networkwide);
60
  }
61
 
62
  /*
73
  *
74
  * @since 0.5
75
  */
76
+ protected function _activate($networkwide) {
77
  // can be overriden in child class
78
  }
79
 
91
  *
92
  * @since 0.5
93
  */
94
+ protected function _deactivate($networkwide) {
95
  // can be overriden in child class
96
  }
97
 
104
  */
105
  public function wpmu_new_blog($blog_id) {
106
  switch_to_blog($blog_id);
107
+ $this->_activate($networkwide); // FIXME will avoid flushing rules
108
  restore_current_blog();
109
  }
110
  }
install/install.php CHANGED
@@ -35,7 +35,7 @@ class PLL_Install extends PLL_Install_Base {
35
  *
36
  * @since 0.5
37
  */
38
- protected function _activate() {
39
  global $polylang;
40
 
41
  if ($options = get_option('polylang')) {
@@ -70,7 +70,10 @@ class PLL_Install extends PLL_Install_Base {
70
  $polylang->model = new PLL_Admin_Model($options);
71
  $polylang->links_model = $polylang->model->get_links_model();
72
  do_action('pll_init');
73
- flush_rewrite_rules();
 
 
 
74
  }
75
 
76
  /*
@@ -78,7 +81,9 @@ class PLL_Install extends PLL_Install_Base {
78
  *
79
  * @since 0.5
80
  */
81
- protected function _deactivate() {
82
- flush_rewrite_rules();
 
 
83
  }
84
  }
35
  *
36
  * @since 0.5
37
  */
38
+ protected function _activate($networkwide) {
39
  global $polylang;
40
 
41
  if ($options = get_option('polylang')) {
70
  $polylang->model = new PLL_Admin_Model($options);
71
  $polylang->links_model = $polylang->model->get_links_model();
72
  do_action('pll_init');
73
+
74
+ // FIXME don't flush rewrite rules at network activation. See #32471
75
+ if (!$networkwide)
76
+ flush_rewrite_rules();
77
  }
78
 
79
  /*
81
  *
82
  * @since 0.5
83
  */
84
+ protected function _deactivate($networkwide) {
85
+ // FIXME don't flush rewrite rules at network deactivation. See #32471
86
+ if (!$networkwide)
87
+ flush_rewrite_rules();
88
  }
89
  }
languages/polylang-af.mo CHANGED
Binary file
languages/polylang-af.po CHANGED
@@ -128,8 +128,8 @@ msgid "Admin language"
128
  msgstr "Admin taal"
129
 
130
  #: admin/admin-filters.php:126
131
- msgid "Wordpress default"
132
- msgstr "Wordpress default"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
@@ -259,10 +259,10 @@ msgstr "Locale"
259
 
260
  #: admin/view-tab-lang.php:66
261
  msgid ""
262
- "Wordpress Locale for the language (for example: en_US). You will need to "
263
  "install the .mo file for this language."
264
  msgstr ""
265
- "Wordpress Locale vir die taal (byvoorbeeld: af_ZA). Jy gaan nodig hê om die ."
266
  "mo leêr te installeer vir die taal."
267
 
268
  #: admin/view-tab-lang.php:70
128
  msgstr "Admin taal"
129
 
130
  #: admin/admin-filters.php:126
131
+ msgid "WordPress default"
132
+ msgstr "WordPress default"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
259
 
260
  #: admin/view-tab-lang.php:66
261
  msgid ""
262
+ "WordPress Locale for the language (for example: en_US). You will need to "
263
  "install the .mo file for this language."
264
  msgstr ""
265
+ "WordPress Locale vir die taal (byvoorbeeld: af_ZA). Jy gaan nodig hê om die ."
266
  "mo leêr te installeer vir die taal."
267
 
268
  #: admin/view-tab-lang.php:70
languages/polylang-ar.mo CHANGED
Binary file
languages/polylang-ar.po CHANGED
@@ -149,7 +149,7 @@ msgstr "لغة لوحة الإشراف"
149
 
150
  # @ polylang
151
  #: admin/admin-filters.php:126
152
- msgid "Wordpress default"
153
  msgstr "افتراضي ووردبرس"
154
 
155
  # @ polylang
@@ -298,7 +298,7 @@ msgstr "المكان"
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
- "Wordpress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
  "رمز المكان الموافق لووردبرس والخاص باللغة (مثلاً: ar_SA). سيتوجب عليك تثبيت "
149
 
150
  # @ polylang
151
  #: admin/admin-filters.php:126
152
+ msgid "WordPress default"
153
  msgstr "افتراضي ووردبرس"
154
 
155
  # @ polylang
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
+ "WordPress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
  "رمز المكان الموافق لووردبرس والخاص باللغة (مثلاً: ar_SA). سيتوجب عليك تثبيت "
languages/polylang-bel.mo CHANGED
Binary file
languages/polylang-bel.po CHANGED
@@ -148,7 +148,7 @@ msgid "Admin language"
148
  msgstr "Мова панэлі адміністратара"
149
 
150
  #: admin/admin-filters.php:126
151
- msgid "Wordpress default"
152
  msgstr "Па змаўчанню"
153
 
154
  # @ default
@@ -299,10 +299,10 @@ msgstr "Лакаль"
299
  # @ polylang
300
  #: admin/view-tab-lang.php:66
301
  msgid ""
302
- "Wordpress Locale for the language (for example: en_US). You will need to "
303
  "install the .mo file for this language."
304
  msgstr ""
305
- "Лакаль Wordpress для мовы (напрыклад: be_BY). Вы павінны устанавіць файлы ."
306
  "mo для панэлі адміністратара ды выкарыстоўваемай тэмы."
307
 
308
  # @ polylang
@@ -487,7 +487,7 @@ msgstr "Назва:"
487
  #. translators: plugin header field 'Description'
488
  #: polylang.php:0
489
  msgid "Adds multilingual capability to WordPress"
490
- msgstr "Дадае магчымасць падтрымкі шматмоў'я ў Wordpress"
491
 
492
  # @ polylang
493
  #: install/install.php:24
148
  msgstr "Мова панэлі адміністратара"
149
 
150
  #: admin/admin-filters.php:126
151
+ msgid "WordPress default"
152
  msgstr "Па змаўчанню"
153
 
154
  # @ default
299
  # @ polylang
300
  #: admin/view-tab-lang.php:66
301
  msgid ""
302
+ "WordPress Locale for the language (for example: en_US). You will need to "
303
  "install the .mo file for this language."
304
  msgstr ""
305
+ "Лакаль WordPress для мовы (напрыклад: be_BY). Вы павінны устанавіць файлы ."
306
  "mo для панэлі адміністратара ды выкарыстоўваемай тэмы."
307
 
308
  # @ polylang
487
  #. translators: plugin header field 'Description'
488
  #: polylang.php:0
489
  msgid "Adds multilingual capability to WordPress"
490
+ msgstr "Дадае магчымасць падтрымкі шматмоў'я ў WordPress"
491
 
492
  # @ polylang
493
  #: install/install.php:24
languages/polylang-bg_BG.mo CHANGED
Binary file
languages/polylang-bg_BG.po CHANGED
@@ -129,7 +129,7 @@ msgid "Admin language"
129
  msgstr "Езика на администраторския панел"
130
 
131
  #: admin/admin-filters.php:126
132
- msgid "Wordpress default"
133
  msgstr "Езика по подразбиране"
134
 
135
  #: admin/admin.php:167 admin/settings.php:102
@@ -262,7 +262,7 @@ msgstr "Местоположение"
262
 
263
  #: admin/view-tab-lang.php:66
264
  msgid ""
265
- "Wordpress Locale for the language (for example: en_US). You will need to "
266
  "install the .mo file for this language."
267
  msgstr ""
268
  "Местоположение според WordPress (например: bg_BG, en_GB). Ще трябва да "
129
  msgstr "Езика на администраторския панел"
130
 
131
  #: admin/admin-filters.php:126
132
+ msgid "WordPress default"
133
  msgstr "Езика по подразбиране"
134
 
135
  #: admin/admin.php:167 admin/settings.php:102
262
 
263
  #: admin/view-tab-lang.php:66
264
  msgid ""
265
+ "WordPress Locale for the language (for example: en_US). You will need to "
266
  "install the .mo file for this language."
267
  msgstr ""
268
  "Местоположение според WordPress (например: bg_BG, en_GB). Ще трябва да "
languages/polylang-ca.mo CHANGED
Binary file
languages/polylang-ca.po CHANGED
@@ -128,8 +128,8 @@ msgid "Admin language"
128
  msgstr "Idioma de l'administrador"
129
 
130
  #: admin/admin-filters.php:126
131
- msgid "Wordpress default"
132
- msgstr "Opció per defecte de Wordpress"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
@@ -258,10 +258,10 @@ msgstr "Codi d'idioma i regió (locale)"
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
- "Wordpress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
- "Codi d'idioma i regió de Wordpress (per exemple: ca_ES). Hauràs d'instal·lar "
265
  "l'arxiu .mo per a aquest idioma"
266
 
267
  #: admin/view-tab-lang.php:70
@@ -422,7 +422,7 @@ msgstr "Títol:"
422
  #. translators: plugin header field 'Description'
423
  #: polylang.php:0
424
  msgid "Adds multilingual capability to WordPress"
425
- msgstr "Afegeix capacitat multilingüística a Wordpress"
426
 
427
  #: install/install.php:24
428
  #, php-format
128
  msgstr "Idioma de l'administrador"
129
 
130
  #: admin/admin-filters.php:126
131
+ msgid "WordPress default"
132
+ msgstr "Opció per defecte de WordPress"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
+ "WordPress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
+ "Codi d'idioma i regió de WordPress (per exemple: ca_ES). Hauràs d'instal·lar "
265
  "l'arxiu .mo per a aquest idioma"
266
 
267
  #: admin/view-tab-lang.php:70
422
  #. translators: plugin header field 'Description'
423
  #: polylang.php:0
424
  msgid "Adds multilingual capability to WordPress"
425
+ msgstr "Afegeix capacitat multilingüística a WordPress"
426
 
427
  #: install/install.php:24
428
  #, php-format
languages/polylang-cs_CZ.mo CHANGED
Binary file
languages/polylang-cs_CZ.po CHANGED
@@ -51,7 +51,7 @@ msgid ""
51
  "WordPress, the %sGPL%s."
52
  msgstr ""
53
  "Polylang je k dispozici zdarma a je vydán pod stejnou %sGPL%s licencí jako "
54
- "Wordpress."
55
 
56
  # @ polylang
57
  #: admin/view-about.php:22
@@ -152,7 +152,7 @@ msgstr "Jazyk admina"
152
 
153
  # @ polylang
154
  #: admin/admin-filters.php:126
155
- msgid "Wordpress default"
156
  msgstr "Předvolené WordPress"
157
 
158
  # @ polylang
@@ -303,7 +303,7 @@ msgstr "Locale"
303
  # @ polylang
304
  #: admin/view-tab-lang.php:66
305
  msgid ""
306
- "Wordpress Locale for the language (for example: en_US). You will need to "
307
  "install the .mo file for this language."
308
  msgstr ""
309
  "WordPress locale tohoto jazyka (např. cs_CZ, en_US). Pro tento jazyk bude "
51
  "WordPress, the %sGPL%s."
52
  msgstr ""
53
  "Polylang je k dispozici zdarma a je vydán pod stejnou %sGPL%s licencí jako "
54
+ "WordPress."
55
 
56
  # @ polylang
57
  #: admin/view-about.php:22
152
 
153
  # @ polylang
154
  #: admin/admin-filters.php:126
155
+ msgid "WordPress default"
156
  msgstr "Předvolené WordPress"
157
 
158
  # @ polylang
303
  # @ polylang
304
  #: admin/view-tab-lang.php:66
305
  msgid ""
306
+ "WordPress Locale for the language (for example: en_US). You will need to "
307
  "install the .mo file for this language."
308
  msgstr ""
309
  "WordPress locale tohoto jazyka (např. cs_CZ, en_US). Pro tento jazyk bude "
languages/polylang-da_DK.mo CHANGED
Binary file
languages/polylang-da_DK.po CHANGED
@@ -46,7 +46,7 @@ msgid ""
46
  "Polylang is free of charge and is released under the same license as "
47
  "WordPress, the %sGPL%s."
48
  msgstr ""
49
- "Polylang er gratis og frigivet under den samme licens som Wordpress, %sGPL%s."
50
 
51
  #: admin/view-about.php:22
52
  #, php-format
@@ -128,8 +128,8 @@ msgid "Admin language"
128
  msgstr "Administrator sprog"
129
 
130
  #: admin/admin-filters.php:126
131
- msgid "Wordpress default"
132
- msgstr "Wordpress standard"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
@@ -153,7 +153,7 @@ msgstr "Strings oversættelse"
153
 
154
  #: admin/admin-model.php:244
155
  msgid "Enter a valid WordPress locale"
156
- msgstr "Indtast en gyldig Wordpress locale"
157
 
158
  #: admin/admin-model.php:252
159
  msgid "The language code must be unique"
@@ -258,10 +258,10 @@ msgstr "Landestandard"
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
- "Wordpress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
- "Wordpress Landestandarden for sproget (for eksempel: da_DK). Du skal "
265
  "installere .mo filen til dette sprog."
266
 
267
  #: admin/view-tab-lang.php:70
46
  "Polylang is free of charge and is released under the same license as "
47
  "WordPress, the %sGPL%s."
48
  msgstr ""
49
+ "Polylang er gratis og frigivet under den samme licens som WordPress, %sGPL%s."
50
 
51
  #: admin/view-about.php:22
52
  #, php-format
128
  msgstr "Administrator sprog"
129
 
130
  #: admin/admin-filters.php:126
131
+ msgid "WordPress default"
132
+ msgstr "WordPress standard"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
153
 
154
  #: admin/admin-model.php:244
155
  msgid "Enter a valid WordPress locale"
156
+ msgstr "Indtast en gyldig WordPress locale"
157
 
158
  #: admin/admin-model.php:252
159
  msgid "The language code must be unique"
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
+ "WordPress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
+ "WordPress Landestandarden for sproget (for eksempel: da_DK). Du skal "
265
  "installere .mo filen til dette sprog."
266
 
267
  #: admin/view-tab-lang.php:70
languages/polylang-de_DE.mo CHANGED
Binary file
languages/polylang-de_DE.po CHANGED
@@ -51,7 +51,7 @@ msgid ""
51
  "WordPress, the %sGPL%s."
52
  msgstr ""
53
  "Polylang ist kostenlos und wird unter derselben Lizenz veröffentlicht wie "
54
- "Wordpress, die %sGPL%s."
55
 
56
  # @ polylang
57
  #: admin/view-about.php:22
@@ -151,8 +151,8 @@ msgid "Admin language"
151
  msgstr "Adminsprache"
152
 
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
- msgstr "Wordpress Standard-Einstellung"
156
 
157
  # @ default
158
  # @ polylang
@@ -305,10 +305,10 @@ msgstr "Sprachdatei"
305
  # @ polylang
306
  #: admin/view-tab-lang.php:66
307
  msgid ""
308
- "Wordpress Locale for the language (for example: en_US). You will need to "
309
  "install the .mo file for this language."
310
  msgstr ""
311
- "Wordpress Sprachdatei für die Sprache (beispielweise : de_DE). Du musst die ."
312
  "mo-Datei für diese Sprache installieren."
313
 
314
  # @ polylang
51
  "WordPress, the %sGPL%s."
52
  msgstr ""
53
  "Polylang ist kostenlos und wird unter derselben Lizenz veröffentlicht wie "
54
+ "WordPress, die %sGPL%s."
55
 
56
  # @ polylang
57
  #: admin/view-about.php:22
151
  msgstr "Adminsprache"
152
 
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
+ msgstr "WordPress Standard-Einstellung"
156
 
157
  # @ default
158
  # @ polylang
305
  # @ polylang
306
  #: admin/view-tab-lang.php:66
307
  msgid ""
308
+ "WordPress Locale for the language (for example: en_US). You will need to "
309
  "install the .mo file for this language."
310
  msgstr ""
311
+ "WordPress Sprachdatei für die Sprache (beispielweise : de_DE). Du musst die ."
312
  "mo-Datei für diese Sprache installieren."
313
 
314
  # @ polylang
languages/polylang-el.mo CHANGED
Binary file
languages/polylang-el.po CHANGED
@@ -53,7 +53,7 @@ msgid ""
53
  "WordPress, the %sGPL%s."
54
  msgstr ""
55
  "Το Polylang είναι δωρεάν και διανέμεται κάτω από την ίδια άδεια χρήσης όπως "
56
- "και το Wordpress, την %sΓενική Άδεια Χρήσης - GPL%s."
57
 
58
  # @ polylang
59
  #: admin/view-about.php:22
@@ -151,8 +151,8 @@ msgid "Admin language"
151
  msgstr "Γλώσσα διαχείρισης"
152
 
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
- msgstr "Προκαθορισμένο σε Wordpress"
156
 
157
  # @ default
158
  # @ polylang
@@ -183,7 +183,7 @@ msgstr "Μετάφραση συμβολοσειρών"
183
  # @ polylang
184
  #: admin/admin-model.php:244
185
  msgid "Enter a valid WordPress locale"
186
- msgstr "Εισάγετε μια έγκυρη τοπικοποίηση Wordpress"
187
 
188
  # @ polylang
189
  #: admin/admin-model.php:252
@@ -201,7 +201,7 @@ msgid ""
201
  "The language was created, but the WordPress language file was not "
202
  "downloaded. Please install it manually."
203
  msgstr ""
204
- "Η γλώσσα δημιουργήθηκε αλλά το αρχείο γλώσσας του Wordpress δεν έχει "
205
  "κατέβει. Παρακαλώ εγκαταστήστε το εσείς."
206
 
207
  # @ polylang
@@ -304,10 +304,10 @@ msgstr "Τοπικοποίηση"
304
  # @ polylang
305
  #: admin/view-tab-lang.php:66
306
  msgid ""
307
- "Wordpress Locale for the language (for example: en_US). You will need to "
308
  "install the .mo file for this language."
309
  msgstr ""
310
- "Τοπικοποίηση Wordpress για την γλώσσα (πχ: en_US). Θα χρειαστεί να "
311
  "εγκαταστήσετε το αρχείο .mo για αυτή την γλώσσα."
312
 
313
  # @ polylang
53
  "WordPress, the %sGPL%s."
54
  msgstr ""
55
  "Το Polylang είναι δωρεάν και διανέμεται κάτω από την ίδια άδεια χρήσης όπως "
56
+ "και το WordPress, την %sΓενική Άδεια Χρήσης - GPL%s."
57
 
58
  # @ polylang
59
  #: admin/view-about.php:22
151
  msgstr "Γλώσσα διαχείρισης"
152
 
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
+ msgstr "Προκαθορισμένο σε WordPress"
156
 
157
  # @ default
158
  # @ polylang
183
  # @ polylang
184
  #: admin/admin-model.php:244
185
  msgid "Enter a valid WordPress locale"
186
+ msgstr "Εισάγετε μια έγκυρη τοπικοποίηση WordPress"
187
 
188
  # @ polylang
189
  #: admin/admin-model.php:252
201
  "The language was created, but the WordPress language file was not "
202
  "downloaded. Please install it manually."
203
  msgstr ""
204
+ "Η γλώσσα δημιουργήθηκε αλλά το αρχείο γλώσσας του WordPress δεν έχει "
205
  "κατέβει. Παρακαλώ εγκαταστήστε το εσείς."
206
 
207
  # @ polylang
304
  # @ polylang
305
  #: admin/view-tab-lang.php:66
306
  msgid ""
307
+ "WordPress Locale for the language (for example: en_US). You will need to "
308
  "install the .mo file for this language."
309
  msgstr ""
310
+ "Τοπικοποίηση WordPress για την γλώσσα (πχ: en_US). Θα χρειαστεί να "
311
  "εγκαταστήσετε το αρχείο .mo για αυτή την γλώσσα."
312
 
313
  # @ polylang
languages/polylang-es_ES.mo CHANGED
Binary file
languages/polylang-es_ES.po CHANGED
@@ -128,7 +128,7 @@ msgid "Admin language"
128
  msgstr "Idioma del administrador"
129
 
130
  #: admin/admin-filters.php:126
131
- msgid "Wordpress default"
132
  msgstr "Opción por defecto de WordPress"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
@@ -258,10 +258,10 @@ msgstr "Región"
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
- "Wordpress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
- "Región idiomática de Wordpress (por ejemplo: es_ES). Deberás instalar el "
265
  "archivo .mo para este idioma."
266
 
267
  #: admin/view-tab-lang.php:70
@@ -422,12 +422,12 @@ msgstr "Título:"
422
  #. translators: plugin header field 'Description'
423
  #: polylang.php:0
424
  msgid "Adds multilingual capability to WordPress"
425
- msgstr "Añade capacidad multilingüística a Wordpress"
426
 
427
  #: install/install.php:24
428
  #, php-format
429
  msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
430
- msgstr "Estás usando Wordpress %s. Polylang necesita como mínimo WordPress %s."
431
 
432
  # @ polylang
433
  #: install/upgrade.php:76
128
  msgstr "Idioma del administrador"
129
 
130
  #: admin/admin-filters.php:126
131
+ msgid "WordPress default"
132
  msgstr "Opción por defecto de WordPress"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
+ "WordPress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
+ "Región idiomática de WordPress (por ejemplo: es_ES). Deberás instalar el "
265
  "archivo .mo para este idioma."
266
 
267
  #: admin/view-tab-lang.php:70
422
  #. translators: plugin header field 'Description'
423
  #: polylang.php:0
424
  msgid "Adds multilingual capability to WordPress"
425
+ msgstr "Añade capacidad multilingüística a WordPress"
426
 
427
  #: install/install.php:24
428
  #, php-format
429
  msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
430
+ msgstr "Estás usando WordPress %s. Polylang necesita como mínimo WordPress %s."
431
 
432
  # @ polylang
433
  #: install/upgrade.php:76
languages/polylang-et.mo CHANGED
Binary file
languages/polylang-et.po CHANGED
@@ -151,8 +151,8 @@ msgstr "Halduri keel"
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
- msgstr "Wordpressi vaikimisi väärtus"
156
 
157
  # @ polylang
158
  #: admin/admin.php:167 admin/settings.php:102
@@ -303,7 +303,7 @@ msgstr "Locale"
303
  # @ polylang
304
  #: admin/view-tab-lang.php:66
305
  msgid ""
306
- "Wordpress Locale for the language (for example: en_US). You will need to "
307
  "install the .mo file for this language."
308
  msgstr ""
309
  "WordPress Locale keelele (näiteks: en_US). Peate paigaldama .mo tõlkefaili "
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
+ msgstr "WordPressi vaikimisi väärtus"
156
 
157
  # @ polylang
158
  #: admin/admin.php:167 admin/settings.php:102
303
  # @ polylang
304
  #: admin/view-tab-lang.php:66
305
  msgid ""
306
+ "WordPress Locale for the language (for example: en_US). You will need to "
307
  "install the .mo file for this language."
308
  msgstr ""
309
  "WordPress Locale keelele (näiteks: en_US). Peate paigaldama .mo tõlkefaili "
languages/polylang-fi.mo CHANGED
Binary file
languages/polylang-fi.po CHANGED
@@ -128,8 +128,8 @@ msgid "Admin language"
128
  msgstr "Ylläpidon kieli"
129
 
130
  #: admin/admin-filters.php:126
131
- msgid "Wordpress default"
132
- msgstr "Wordpress oletus"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
@@ -257,10 +257,10 @@ msgstr "Lokaali"
257
 
258
  #: admin/view-tab-lang.php:66
259
  msgid ""
260
- "Wordpress Locale for the language (for example: en_US). You will need to "
261
  "install the .mo file for this language."
262
  msgstr ""
263
- "Wordpress lokaali tälle kielelle (esimerkiksi: en_US). Sinun pitää asentaa ."
264
  "mo-tiedosto tälle kielelle."
265
 
266
  #: admin/view-tab-lang.php:70
128
  msgstr "Ylläpidon kieli"
129
 
130
  #: admin/admin-filters.php:126
131
+ msgid "WordPress default"
132
+ msgstr "WordPress oletus"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
135
  msgid "Settings"
257
 
258
  #: admin/view-tab-lang.php:66
259
  msgid ""
260
+ "WordPress Locale for the language (for example: en_US). You will need to "
261
  "install the .mo file for this language."
262
  msgstr ""
263
+ "WordPress lokaali tälle kielelle (esimerkiksi: en_US). Sinun pitää asentaa ."
264
  "mo-tiedosto tälle kielelle."
265
 
266
  #: admin/view-tab-lang.php:70
languages/polylang-fr_FR.mo CHANGED
Binary file
languages/polylang-fr_FR.po CHANGED
@@ -151,7 +151,7 @@ msgstr "Langue pour l&rsquo;interface d&rsquo;administration"
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
  msgstr "Langue par défaut de WordPress"
156
 
157
  # @ polylang
@@ -303,10 +303,10 @@ msgstr "Code local"
303
  # @ polylang
304
  #: admin/view-tab-lang.php:66
305
  msgid ""
306
- "Wordpress Locale for the language (for example: en_US). You will need to "
307
  "install the .mo file for this language."
308
  msgstr ""
309
- "Code local utilisé par Wordpress pour la langue (par exemple&nbsp;: fr_FR). "
310
  "Vous aurez besoin d&rsquo;installer les fichiers .mo correspondant."
311
 
312
  # @ polylang
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
  msgstr "Langue par défaut de WordPress"
156
 
157
  # @ polylang
303
  # @ polylang
304
  #: admin/view-tab-lang.php:66
305
  msgid ""
306
+ "WordPress Locale for the language (for example: en_US). You will need to "
307
  "install the .mo file for this language."
308
  msgstr ""
309
+ "Code local utilisé par WordPress pour la langue (par exemple&nbsp;: fr_FR). "
310
  "Vous aurez besoin d&rsquo;installer les fichiers .mo correspondant."
311
 
312
  # @ polylang
languages/polylang-gl_ES.mo ADDED
Binary file
languages/polylang-gl_ES.po ADDED
@@ -0,0 +1,667 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Polylang v1.7beta1\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2015-05-13 00:53+0100\n"
7
+ "Last-Translator: enfeitizador <enfeitizador@gmail.com>\n"
8
+ "Language-Team: #fedellaengalego | http://fedellar.wordpress.com/ "
9
+ "<fedellar@enfeitizador.es>\n"
10
+ "Language: gl_ES\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ../\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Generator: Poedit 1.8beta1\n"
21
+ "X-Poedit-SearchPath-0: .\n"
22
+
23
+ # @ polylang
24
+ #: admin/view-about.php:3
25
+ #, php-format
26
+ msgid ""
27
+ "Polylang is provided with an extensive %sdocumentation%s (in English only). "
28
+ "It includes information on how to set up your multilingual site and use it "
29
+ "on a daily basis, a FAQ, as well as a documentation for programmers to adapt "
30
+ "their plugins and themes."
31
+ msgstr ""
32
+ "Polylang provéese cunha extensa %sdocumentación%s (só en ingles). Inlúe "
33
+ "información de como configurar o teu sitio multilingüe e usalo a diario, "
34
+ "preguntas habituais, así como documentación a programadores para adaptar "
35
+ "complementos e temas."
36
+
37
+ # @ polylang
38
+ #: admin/view-about.php:9
39
+ #, php-format
40
+ msgid ""
41
+ "You will also find useful information in the %ssupport forum%s. However "
42
+ "don't forget to make a search before posting a new topic."
43
+ msgstr ""
44
+ "Atoparás información útil no %sforo de axuda%s. Porén, non esqueza facer "
45
+ "unha busca antes de crear un tema novo."
46
+
47
+ # @ polylang
48
+ #: admin/view-about.php:16
49
+ #, php-format
50
+ msgid ""
51
+ "Polylang is free of charge and is released under the same license as "
52
+ "WordPress, the %sGPL%s."
53
+ msgstr ""
54
+ "Polylang está libre de custes e liberado baixo a mesma licenza que "
55
+ "WordPress, a %sGPL%s."
56
+
57
+ # @ polylang
58
+ #: admin/view-about.php:22
59
+ #, php-format
60
+ msgid "If you wonder how you can help the project, just %sread this%s."
61
+ msgstr "Se se pregunta como axudar co proxecto, só %slea isto%s."
62
+
63
+ # @ polylang
64
+ #: admin/view-about.php:27
65
+ msgid ""
66
+ "Finally if you like this plugin or if it helps your business, donations to "
67
+ "the author are greatly appreciated."
68
+ msgstr ""
69
+ "Por último, se che gusta este complemento ou che axuda no negocio, as "
70
+ "doazóns ao autor son moi apreciadas."
71
+
72
+ # @ polylang
73
+ #: admin/admin-filters-post.php:115 admin/admin.php:90 admin/settings.php:70
74
+ #: admin/settings.php:97 include/model.php:561
75
+ msgid "Languages"
76
+ msgstr "Idiomas"
77
+
78
+ # @ polylang
79
+ #: include/switcher.php:22
80
+ msgid "Displays language names"
81
+ msgstr "Amosar nomes de idiomas"
82
+
83
+ # @ polylang
84
+ #: include/switcher.php:23
85
+ msgid "Displays flags"
86
+ msgstr "Amosar bandeiras"
87
+
88
+ # @ polylang
89
+ #: include/switcher.php:24
90
+ msgid "Forces link to front page"
91
+ msgstr "Forzar ligazón á páxina principal"
92
+
93
+ # @ polylang
94
+ #: include/switcher.php:25
95
+ msgid "Hides the current language"
96
+ msgstr "Agochar o idioma actual"
97
+
98
+ # @ polylang
99
+ #: include/switcher.php:30
100
+ msgid "Displays as dropdown"
101
+ msgstr "Amosar como despregable"
102
+
103
+ # @ polylang
104
+ #: admin/admin.php:267
105
+ msgid "Filters content by language"
106
+ msgstr "Filtrar contido por idioma"
107
+
108
+ # @ polylang
109
+ #: admin/admin.php:258
110
+ msgid "Show all languages"
111
+ msgstr "Amosar todos os idiomas"
112
+
113
+ # @ polylang
114
+ #: admin/admin-filters-columns.php:140 admin/admin-filters-columns.php:230
115
+ msgid "Add new translation"
116
+ msgstr "Engadir nova tradución"
117
+
118
+ # @ polylang
119
+ #: admin/admin-filters-columns.php:173 admin/admin-filters-media.php:55
120
+ #: admin/admin-filters-post.php:141 admin/admin-filters-term.php:75
121
+ #: admin/admin-filters-term.php:122 include/model.php:562
122
+ msgid "Language"
123
+ msgstr "Idioma"
124
+
125
+ # @ polylang
126
+ #: admin/table-string.php:112 admin/view-translations-media.php:5
127
+ #: admin/view-translations-post.php:5 admin/view-translations-term.php:6
128
+ #: admin/view-translations-term.php:11
129
+ msgid "Translations"
130
+ msgstr "Traducións"
131
+
132
+ # @ polylang
133
+ #: admin/admin-filters-term.php:82 admin/admin-filters-term.php:130
134
+ msgid "Sets the language"
135
+ msgstr "Configurar o idioma"
136
+
137
+ # @ polylang
138
+ #: admin/admin-filters.php:52
139
+ msgid "The widget is displayed for:"
140
+ msgstr "O trebello amósase para:"
141
+
142
+ # @ polylang
143
+ #: admin/admin-filters.php:55 include/model.php:563
144
+ msgid "All languages"
145
+ msgstr "Todos os idiomas"
146
+
147
+ # @ polylang
148
+ #: admin/admin-filters.php:123
149
+ msgid "Admin language"
150
+ msgstr "Administrar idioma"
151
+
152
+ # @ polylang
153
+ #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
+ msgstr "Predefinido WordPress"
156
+
157
+ # @ polylang
158
+ #: admin/admin.php:167 admin/settings.php:102
159
+ msgid "Settings"
160
+ msgstr "Axustes"
161
+
162
+ # @ polylang
163
+ #: admin/admin-filters.php:160 admin/admin-filters.php:169
164
+ msgid "Upgrading language files&#8230;"
165
+ msgstr "Actualizando ficheiros de idioma&#8230;"
166
+
167
+ # @ polylang
168
+ #: admin/settings.php:62
169
+ msgid "About Polylang"
170
+ msgstr "Sobre Polylang"
171
+
172
+ # @ polylang
173
+ #: admin/settings.php:78
174
+ msgid "Strings translations"
175
+ msgstr "Cadeas traducións"
176
+
177
+ # @ polylang
178
+ #: admin/settings.php:101
179
+ msgid "Strings translation"
180
+ msgstr "Cadeas tradución"
181
+
182
+ # @ polylang
183
+ #: admin/admin-model.php:244
184
+ msgid "Enter a valid WordPress locale"
185
+ msgstr "Insire unha configuración rexional de idioma de WordPess válido"
186
+
187
+ # @ polylang
188
+ #: admin/admin-model.php:252
189
+ msgid "The language code must be unique"
190
+ msgstr "O código de idioma debe ser único"
191
+
192
+ # @ polylang
193
+ #: admin/admin-model.php:256
194
+ msgid "The language must have a name"
195
+ msgstr "O idioma debe ter un nome"
196
+
197
+ # @ polylang
198
+ #: admin/admin.php:367 admin/settings.php:180
199
+ msgid ""
200
+ "The language was created, but the WordPress language file was not "
201
+ "downloaded. Please install it manually."
202
+ msgstr ""
203
+ "O idioma creouse, pero o ficheiro de idioma do WordPress non se descargou. "
204
+ "Instáleo manualmente."
205
+
206
+ # @ polylang
207
+ #: admin/admin-strings.php:59
208
+ msgid "Widget title"
209
+ msgstr "Título do trebello"
210
+
211
+ # @ polylang
212
+ #: admin/settings.php:319
213
+ msgid "Taxonomies"
214
+ msgstr "Taxonomías"
215
+
216
+ # @ polylang
217
+ #: admin/settings.php:320
218
+ msgid "Custom fields"
219
+ msgstr "Campos personalizados"
220
+
221
+ # @ polylang
222
+ #: admin/settings.php:321
223
+ msgid "Comment status"
224
+ msgstr "Estado do comentario"
225
+
226
+ # @ polylang
227
+ #: admin/settings.php:322
228
+ msgid "Ping status"
229
+ msgstr "Estado do ping"
230
+
231
+ # @ polylang
232
+ #: admin/settings.php:323
233
+ msgid "Sticky posts"
234
+ msgstr "Artigos fixos"
235
+
236
+ # @ polylang
237
+ #: admin/settings.php:324
238
+ msgid "Published date"
239
+ msgstr "Data de publicación"
240
+
241
+ # @ polylang
242
+ #: admin/settings.php:325
243
+ msgid "Post format"
244
+ msgstr "Formato de artigo"
245
+
246
+ # @ polylang
247
+ #: admin/settings.php:326
248
+ msgid "Page parent"
249
+ msgstr "Páxina primaria"
250
+
251
+ # @ polylang
252
+ #: admin/settings.php:327
253
+ msgid "Page template"
254
+ msgstr "Páxina modelo"
255
+
256
+ # @ polylang
257
+ #: admin/settings.php:328
258
+ msgid "Page order"
259
+ msgstr "Orde de páxina"
260
+
261
+ # @ polylang
262
+ #: admin/settings.php:329
263
+ msgid "Featured image"
264
+ msgstr "Imaxe destacada"
265
+
266
+ # @ polylang
267
+ #: admin/view-tab-lang.php:21
268
+ msgid "Edit language"
269
+ msgstr "Editar idioma"
270
+
271
+ # @ polylang
272
+ #: admin/view-tab-lang.php:21 admin/view-tab-lang.php:96
273
+ msgid "Add new language"
274
+ msgstr "Engadir novo idioma"
275
+
276
+ # @ polylang
277
+ #: admin/view-tab-lang.php:37
278
+ msgid "Choose a language"
279
+ msgstr "Escolla un idioma"
280
+
281
+ # @ polylang
282
+ #: admin/view-tab-lang.php:51
283
+ msgid "You can choose a language in the list or directly edit it below."
284
+ msgstr "Podes escoller un idioma na lista ou editalo directamente abaixo."
285
+
286
+ # @ polylang
287
+ #: admin/table-languages.php:74 admin/view-tab-lang.php:55
288
+ msgid "Full name"
289
+ msgstr "Nome completo"
290
+
291
+ # @ polylang
292
+ #: admin/view-tab-lang.php:57
293
+ msgid "The name is how it is displayed on your site (for example: English)."
294
+ msgstr "O nome como se amosará no teu sitio (por exemplo: Inglés)."
295
+
296
+ # @ polylang
297
+ #: admin/table-languages.php:75 admin/view-tab-lang.php:61
298
+ msgid "Locale"
299
+ msgstr "Configuración rexional"
300
+
301
+ # @ polylang
302
+ #: admin/view-tab-lang.php:66
303
+ msgid ""
304
+ "WordPress Locale for the language (for example: en_US). You will need to "
305
+ "install the .mo file for this language."
306
+ msgstr ""
307
+ "Configuración rexional do idioma WordPress (por exemplo: en_US). Necesitarás "
308
+ "instalar o ficheiro .mo deste idioma."
309
+
310
+ # @ polylang
311
+ #: admin/view-tab-lang.php:70
312
+ msgid "Language code"
313
+ msgstr "Código de idioma"
314
+
315
+ # @ polylang
316
+ #: admin/view-tab-lang.php:76
317
+ msgid "Text direction"
318
+ msgstr "Orientación do texto"
319
+
320
+ # @ polylang
321
+ #: admin/view-tab-lang.php:80
322
+ msgid "left to right"
323
+ msgstr "esquerda a dereita"
324
+
325
+ # @ polylang
326
+ #: admin/view-tab-lang.php:85
327
+ msgid "right to left"
328
+ msgstr "dereita a esquerda"
329
+
330
+ # @ polylang
331
+ #: admin/view-tab-lang.php:87
332
+ msgid "Choose the text direction for the language"
333
+ msgstr "Escolla a orientación do texto para o idioma"
334
+
335
+ # @ polylang
336
+ #: admin/table-languages.php:77 admin/view-tab-lang.php:91
337
+ msgid "Order"
338
+ msgstr "Orde"
339
+
340
+ # @ polylang
341
+ #: admin/view-tab-lang.php:93
342
+ msgid "Position of the language in the language switcher"
343
+ msgstr "Posición do idioma no conmutador de idioma"
344
+
345
+ # @ polylang
346
+ #: admin/admin-nav-menu.php:54 admin/admin-nav-menu.php:92
347
+ #: admin/admin-nav-menu.php:95 admin/admin-nav-menu.php:126
348
+ #: admin/admin-nav-menu.php:188 install/upgrade.php:301
349
+ msgid "Language switcher"
350
+ msgstr "Conmutador de idioma"
351
+
352
+ # @ polylang
353
+ #: admin/view-tab-strings.php:8
354
+ msgid "Search translations"
355
+ msgstr "Buscar traducións"
356
+
357
+ # @ polylang
358
+ #: admin/view-tab-strings.php:11
359
+ msgid "Clean strings translation database"
360
+ msgstr "Limpar base de datos das cadeas de tradución"
361
+
362
+ # @ polylang
363
+ #: admin/view-tab-settings.php:14
364
+ msgid "Default language"
365
+ msgstr "Idioma predefinido"
366
+
367
+ # @ polylang
368
+ #: admin/view-tab-settings.php:29
369
+ msgid ""
370
+ "There are posts, pages, categories or tags without language set. Do you want "
371
+ "to set them all to default language ?"
372
+ msgstr ""
373
+ "Hai artigos, páxinas, categorías ou etiquetas sen idioma definido. Desexa "
374
+ "configuralos co idioma predefinido?"
375
+
376
+ # @ polylang
377
+ #: admin/view-tab-settings.php:149
378
+ msgid "Detect browser language"
379
+ msgstr "Detectar idioma do navegador"
380
+
381
+ # @ polylang
382
+ #: admin/view-tab-settings.php:155
383
+ msgid ""
384
+ "When the front page is visited, set the language according to the browser "
385
+ "preference"
386
+ msgstr ""
387
+ "Cando se visite a páxina principal, configure o idioma acorde ás "
388
+ "preferencias do navegador"
389
+
390
+ # @ polylang
391
+ #: admin/view-tab-settings.php:37
392
+ msgid "URL modifications"
393
+ msgstr "Modificacións URL"
394
+
395
+ # @ polylang
396
+ #: admin/view-tab-settings.php:93
397
+ msgid "Hide URL language information for default language"
398
+ msgstr "Agochar información URL de idioma para o predefinido"
399
+
400
+ # @ polylang
401
+ #: admin/view-tab-settings.php:162
402
+ msgid "Media"
403
+ msgstr "Multimedia"
404
+
405
+ # @ polylang
406
+ #: admin/view-tab-settings.php:168
407
+ msgid "Activate languages and translations for media"
408
+ msgstr "Activar idiomas e traducións para multimedia"
409
+
410
+ # @ polylang
411
+ #: admin/view-tab-settings.php:215
412
+ msgid "Synchronization"
413
+ msgstr "Sincronización"
414
+
415
+ # @ polylang
416
+ #: admin/view-tab-settings.php:176
417
+ msgid "Custom post types"
418
+ msgstr "Tipos de artigos personalizados"
419
+
420
+ # @ polylang
421
+ #: admin/view-tab-settings.php:189
422
+ msgid "Activate languages and translations for custom post types."
423
+ msgstr "Activar idiomas e traducións para tipos de artigo personalizado."
424
+
425
+ # @ polylang
426
+ #: admin/view-tab-settings.php:196
427
+ msgid "Custom taxonomies"
428
+ msgstr "Taxonomías personalizadas"
429
+
430
+ # @ polylang
431
+ #: admin/view-tab-settings.php:209
432
+ msgid "Activate languages and translations for custom taxonomies."
433
+ msgstr "Activar idiomas e traducións para taxonomías personalizadas."
434
+
435
+ # @ polylang
436
+ #: admin/admin-filters-post.php:433 admin/admin-filters-term.php:642
437
+ #: admin/table-languages.php:54 admin/view-translations-media.php:21
438
+ msgid "Edit"
439
+ msgstr "Editar"
440
+
441
+ # @ polylang
442
+ #: admin/table-languages.php:60 admin/table-string.php:168
443
+ msgid "Delete"
444
+ msgstr "Eliminar"
445
+
446
+ # @ polylang
447
+ #: admin/table-languages.php:76
448
+ msgid "Code"
449
+ msgstr "Código"
450
+
451
+ # "Bandeira" sáese do espazo reservado á cadea
452
+ #: admin/table-languages.php:78
453
+ msgid "Flag"
454
+ msgstr "Marca"
455
+
456
+ # @ polylang
457
+ #: admin/table-languages.php:79
458
+ msgid "Posts"
459
+ msgstr "Artigos"
460
+
461
+ # @ polylang
462
+ #: admin/table-string.php:110
463
+ msgid "Name"
464
+ msgstr "Nome"
465
+
466
+ # @ polylang
467
+ #: admin/table-string.php:111
468
+ msgid "String"
469
+ msgstr "Cadea"
470
+
471
+ # @ polylang
472
+ #: admin/view-translations-media.php:30 admin/view-translations-post.php:21
473
+ #: admin/view-translations-term.php:30
474
+ msgid "Add new"
475
+ msgstr "Engadir novo"
476
+
477
+ # @ polylang
478
+ #: include/widget-languages.php:16
479
+ msgid "Language Switcher"
480
+ msgstr "Conmutador de idioma"
481
+
482
+ # @ polylang
483
+ #: include/widget-languages.php:16
484
+ msgid "Displays a language switcher"
485
+ msgstr "Amosar un conmutador de idioma"
486
+
487
+ # @ polylang
488
+ #: include/widget-languages.php:75
489
+ msgid "Title:"
490
+ msgstr "Título:"
491
+
492
+ # @ polylang
493
+ #. translators: plugin header field 'Description'
494
+ #: polylang.php:0
495
+ msgid "Adds multilingual capability to WordPress"
496
+ msgstr "Engade funcionalidades multilingüe a WordPress"
497
+
498
+ # @ polylang
499
+ #: install/install.php:24
500
+ #, php-format
501
+ msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
502
+ msgstr "Estás a usar WordPress %s. Polylang require polo menos WordPress %s."
503
+
504
+ # @ polylang
505
+ #: install/upgrade.php:76
506
+ msgid ""
507
+ "Polylang has been deactivated because you upgraded from a too old version."
508
+ msgstr ""
509
+ "Polylang desactivouse porque actualizaches dende un versión demasiado vella."
510
+
511
+ # @ polylang
512
+ #: install/upgrade.php:78
513
+ #, php-format
514
+ msgid "Please upgrade first to %s before ugrading to %s."
515
+ msgstr "Actualiza primeiro para %s antes de actualizares a %s."
516
+
517
+ # @ polylang
518
+ #: admin/table-string.php:109
519
+ msgid "Group"
520
+ msgstr "Grupo"
521
+
522
+ # @ polylang
523
+ #: admin/table-string.php:187
524
+ msgid "View all groups"
525
+ msgstr "Ver todos os grupos"
526
+
527
+ # @ polylang
528
+ #: admin/table-languages.php:59
529
+ msgid "You are about to permanently delete this language. Are you sure?"
530
+ msgstr "Vas eliminar permanentemente este idioma. Estás seguro?"
531
+
532
+ # @ polylang
533
+ #: admin/view-tab-strings.php:12
534
+ msgid ""
535
+ "Use this to remove unused strings from database, for example after a plugin "
536
+ "has been uninstalled."
537
+ msgstr ""
538
+ "Usa isto para eliminar cadeas sen uso da base de datos, pro exemplo despois "
539
+ "de desinstalarse un complemento."
540
+
541
+ # @ polylang
542
+ #: admin/view-tab-settings.php:226
543
+ msgid ""
544
+ "The synchronization options allow to maintain exact same values (or "
545
+ "translations in the case of taxonomies and page parent) of meta content "
546
+ "between the translations of a post or page."
547
+ msgstr ""
548
+ "As opcións de sincronización permiten manter os mesmo valores (ou traducións "
549
+ "no caso de taxonomías e páxina primaria) do contido META entre as traducións "
550
+ "dun artigo ou páxina."
551
+
552
+ # @ polylang
553
+ #: admin/admin-model.php:248
554
+ msgid "The language code contains invalid characters"
555
+ msgstr "O idioma contén caracteres non válidos"
556
+
557
+ # @ polylang
558
+ #: admin/view-tab-settings.php:43
559
+ msgid "The language is set from content"
560
+ msgstr "O idioma estableceuse desde o contido"
561
+
562
+ # @ polylang
563
+ #: admin/view-tab-settings.php:46
564
+ msgid "Posts, pages, categories and tags urls are not modified."
565
+ msgstr "Non se modificaron artigos, páxinas, categorías e etiquetas URL."
566
+
567
+ # @ polylang
568
+ #: admin/view-tab-settings.php:51
569
+ msgid "The language is set from the directory name in pretty permalinks"
570
+ msgstr "O idioma estableceuse desde o nome do cartafol nas ligazóns á man"
571
+
572
+ # @ polylang
573
+ #: admin/view-tab-settings.php:54 admin/view-tab-settings.php:63
574
+ #: admin/view-tab-settings.php:110 admin/view-tab-settings.php:119
575
+ msgid "Example:"
576
+ msgstr "Exemplo:"
577
+
578
+ # @ polylang
579
+ #: admin/view-tab-settings.php:60
580
+ msgid "The language is set from the subdomain name in pretty permalinks"
581
+ msgstr "O idioma estableceuse desde o nome do subdominio nas ligazóns á man"
582
+
583
+ # @ polylang
584
+ #: admin/view-tab-settings.php:69
585
+ msgid "The language is set from different domains"
586
+ msgstr "O idioma estableceuse desde diferentes dominios"
587
+
588
+ # @ polylang
589
+ #: admin/view-tab-settings.php:107
590
+ msgid "Remove /language/ in pretty permalinks"
591
+ msgstr "Eliminar /idioma/ nas ligazóns permanentes á man"
592
+
593
+ # @ polylang
594
+ #: admin/view-tab-settings.php:116
595
+ msgid "Keep /language/ in pretty permalinks"
596
+ msgstr "Manter /idioma/ nas ligazóns permanentes á man"
597
+
598
+ # @ polylang
599
+ #: admin/view-tab-settings.php:131
600
+ msgid ""
601
+ "The front page url contains the language code instead of the page name or "
602
+ "page id"
603
+ msgstr ""
604
+ "A URL da páxina de portada contén o código de idioma no lugar do nome ou a "
605
+ "ID de páxina"
606
+
607
+ # @ polylang
608
+ #: admin/view-tab-settings.php:139
609
+ #, php-format
610
+ msgid "Example: %s instead of %s"
611
+ msgstr "Exemplo: %s no lugar de %s"
612
+
613
+ # @ polylang
614
+ #: admin/admin-model.php:38
615
+ msgid "Impossible to add the language."
616
+ msgstr "Imposible engadir o idioma."
617
+
618
+ # @ polylang
619
+ #: admin/admin-model.php:66
620
+ msgid "Language added."
621
+ msgstr "Idioma engadido."
622
+
623
+ # @ polylang
624
+ #: admin/admin-model.php:146
625
+ msgid "Language deleted."
626
+ msgstr "Idioma detectado."
627
+
628
+ # @ polylang
629
+ #: admin/admin-model.php:227
630
+ msgid "Language updated."
631
+ msgstr "Idioma actualizado."
632
+
633
+ # @ polylang
634
+ #: admin/settings.php:239
635
+ msgid "Translations updated."
636
+ msgstr "Traducións actualizadas."
637
+
638
+ # @ polylang
639
+ #: admin/view-tab-lang.php:72
640
+ msgid "Language code - preferably 2-letters ISO 639-1 (for example: en)"
641
+ msgstr "Código de idioma - preferible ISO 639-1 de 2 letras (por exemplo: en)"
642
+
643
+ # @ polylang
644
+ #: admin/admin-filters.php:203
645
+ msgid "The chosen static front page must be translated in all languages."
646
+ msgstr ""
647
+ "A páxina estática de portada escollida débese traducir en todos os idiomas."
648
+
649
+ # @ polylang
650
+ #: admin/admin-strings.php:60
651
+ msgid "Widget text"
652
+ msgstr "Texto de trebello"
653
+
654
+ # @ polylang
655
+ #: admin/settings.php:52
656
+ msgid "Recommended plugins"
657
+ msgstr "Complementos recomendados"
658
+
659
+ # @ polylang
660
+ #: admin/view-tab-settings.php:51
661
+ msgid "The language is set from the code in the URL"
662
+ msgstr "O idioma estableceuse desde o código na URL"
663
+
664
+ # @ polylang
665
+ #: include/switcher.php:26
666
+ msgid "Hides languages with no translation"
667
+ msgstr "Agochar idiomas sen tradución"
languages/polylang-he_IL.mo CHANGED
Binary file
languages/polylang-he_IL.po CHANGED
@@ -147,7 +147,7 @@ msgid "Admin language"
147
  msgstr "שפת פאנל ניהול"
148
 
149
  #: admin/admin-filters.php:126
150
- msgid "Wordpress default"
151
  msgstr "ברירת מחדל"
152
 
153
  # @ default
@@ -298,7 +298,7 @@ msgstr "מיקום"
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
- "Wordpress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
  "קבצי שפה של וורדפרס (לדוגמא he_IL ). חייב להיות קובץ .MO בשביל הגדרת שפה"
147
  msgstr "שפת פאנל ניהול"
148
 
149
  #: admin/admin-filters.php:126
150
+ msgid "WordPress default"
151
  msgstr "ברירת מחדל"
152
 
153
  # @ default
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
+ "WordPress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
  "קבצי שפה של וורדפרס (לדוגמא he_IL ). חייב להיות קובץ .MO בשביל הגדרת שפה"
languages/polylang-hr.mo CHANGED
Binary file
languages/polylang-hr.po CHANGED
@@ -150,8 +150,8 @@ msgstr "Jezik administratora"
150
 
151
  # @ polylang
152
  #: admin/admin-filters.php:126
153
- msgid "Wordpress default"
154
- msgstr "Standardna vrijednost Wordpressa"
155
 
156
  # @ polylang
157
  #: admin/admin.php:167 admin/settings.php:102
@@ -300,10 +300,10 @@ msgstr "Locale (kombinacija jezika i seta znakova)"
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
- "Wordpress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
- "Wordpress locale za vaš jezik (primjerice hr). Morat ćete instalirati .mo "
307
  "datoteku za vaš jezik."
308
 
309
  # @ polylang
150
 
151
  # @ polylang
152
  #: admin/admin-filters.php:126
153
+ msgid "WordPress default"
154
+ msgstr "Standardna vrijednost WordPressa"
155
 
156
  # @ polylang
157
  #: admin/admin.php:167 admin/settings.php:102
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
+ "WordPress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
+ "WordPress locale za vaš jezik (primjerice hr). Morat ćete instalirati .mo "
307
  "datoteku za vaš jezik."
308
 
309
  # @ polylang
languages/polylang-hu_HU.mo CHANGED
Binary file
languages/polylang-hu_HU.po CHANGED
@@ -129,7 +129,7 @@ msgid "Admin language"
129
  msgstr "Adminisztrációs felület nyelve"
130
 
131
  #: admin/admin-filters.php:126
132
- msgid "Wordpress default"
133
  msgstr "WordPress alapértelmezett"
134
 
135
  #: admin/admin.php:167 admin/settings.php:102
@@ -258,7 +258,7 @@ msgstr "WP nyelvkód"
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
- "Wordpress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
  "WordPress nyelvkód (pl. hu_HU). A nyelvhez tartozó .mo fordítás fájlt kézzel "
129
  msgstr "Adminisztrációs felület nyelve"
130
 
131
  #: admin/admin-filters.php:126
132
+ msgid "WordPress default"
133
  msgstr "WordPress alapértelmezett"
134
 
135
  #: admin/admin.php:167 admin/settings.php:102
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
+ "WordPress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
  "WordPress nyelvkód (pl. hu_HU). A nyelvhez tartozó .mo fordítás fájlt kézzel "
languages/polylang-id_ID.mo CHANGED
Binary file
languages/polylang-id_ID.po CHANGED
@@ -154,8 +154,8 @@ msgstr "Bahasa untuk Admin"
154
 
155
  # @ polylang
156
  #: admin/admin-filters.php:126
157
- msgid "Wordpress default"
158
- msgstr "Setelan asli Wordpress"
159
 
160
  # @ polylang
161
  #: admin/admin.php:167 admin/settings.php:102
@@ -185,7 +185,7 @@ msgstr "Terjemahan string"
185
  # @ polylang
186
  #: admin/admin-model.php:244
187
  msgid "Enter a valid WordPress locale"
188
- msgstr "Masukkan lokala (locale) Wordpress yang valid."
189
 
190
  # @ polylang
191
  #: admin/admin-model.php:252
@@ -203,7 +203,7 @@ msgid ""
203
  "The language was created, but the WordPress language file was not "
204
  "downloaded. Please install it manually."
205
  msgstr ""
206
- "Bahasa telah dibuat, namun file bahasa untuk Wordpress belum terunduh. "
207
  "Silahkan menginstalnya secara manual."
208
 
209
  # @ polylang
@@ -308,10 +308,10 @@ msgstr "Lokala <i>(locale)</i>"
308
  # @ polylang
309
  #: admin/view-tab-lang.php:66
310
  msgid ""
311
- "Wordpress Locale for the language (for example: en_US). You will need to "
312
  "install the .mo file for this language."
313
  msgstr ""
314
- "Lokala Wordpress untuk bahasa tersebut (contohnya: id_ID). Anda harus "
315
  "menginstal file .mo untuk bahasa ini."
316
 
317
  # @ polylang
@@ -500,7 +500,7 @@ msgstr "Judul:"
500
  #. translators: plugin header field 'Description'
501
  #: polylang.php:0
502
  msgid "Adds multilingual capability to WordPress"
503
- msgstr "Tambahkan kapabilitas multi-bahasa ke Wordpress"
504
 
505
  # @ polylang
506
  #: install/install.php:24
154
 
155
  # @ polylang
156
  #: admin/admin-filters.php:126
157
+ msgid "WordPress default"
158
+ msgstr "Setelan asli WordPress"
159
 
160
  # @ polylang
161
  #: admin/admin.php:167 admin/settings.php:102
185
  # @ polylang
186
  #: admin/admin-model.php:244
187
  msgid "Enter a valid WordPress locale"
188
+ msgstr "Masukkan lokala (locale) WordPress yang valid."
189
 
190
  # @ polylang
191
  #: admin/admin-model.php:252
203
  "The language was created, but the WordPress language file was not "
204
  "downloaded. Please install it manually."
205
  msgstr ""
206
+ "Bahasa telah dibuat, namun file bahasa untuk WordPress belum terunduh. "
207
  "Silahkan menginstalnya secara manual."
208
 
209
  # @ polylang
308
  # @ polylang
309
  #: admin/view-tab-lang.php:66
310
  msgid ""
311
+ "WordPress Locale for the language (for example: en_US). You will need to "
312
  "install the .mo file for this language."
313
  msgstr ""
314
+ "Lokala WordPress untuk bahasa tersebut (contohnya: id_ID). Anda harus "
315
  "menginstal file .mo untuk bahasa ini."
316
 
317
  # @ polylang
500
  #. translators: plugin header field 'Description'
501
  #: polylang.php:0
502
  msgid "Adds multilingual capability to WordPress"
503
+ msgstr "Tambahkan kapabilitas multi-bahasa ke WordPress"
504
 
505
  # @ polylang
506
  #: install/install.php:24
languages/polylang-it_IT.mo CHANGED
Binary file
languages/polylang-it_IT.po CHANGED
@@ -132,8 +132,8 @@ msgid "Admin language"
132
  msgstr "Lingua degli amministratori"
133
 
134
  #: admin/admin-filters.php:126
135
- msgid "Wordpress default"
136
- msgstr "Impostazione predefinita di Wordpress"
137
 
138
  #: admin/admin.php:167 admin/settings.php:102
139
  msgid "Settings"
@@ -264,10 +264,10 @@ msgstr "Impostazioni locali"
264
 
265
  #: admin/view-tab-lang.php:66
266
  msgid ""
267
- "Wordpress Locale for the language (for example: en_US). You will need to "
268
  "install the .mo file for this language."
269
  msgstr ""
270
- "Impostazioni locali di Wordpress per la lingua (per esempio: en_US). è "
271
  "necessario installare il file .mo per questa lingua."
272
 
273
  #: admin/view-tab-lang.php:70
132
  msgstr "Lingua degli amministratori"
133
 
134
  #: admin/admin-filters.php:126
135
+ msgid "WordPress default"
136
+ msgstr "Impostazione predefinita di WordPress"
137
 
138
  #: admin/admin.php:167 admin/settings.php:102
139
  msgid "Settings"
264
 
265
  #: admin/view-tab-lang.php:66
266
  msgid ""
267
+ "WordPress Locale for the language (for example: en_US). You will need to "
268
  "install the .mo file for this language."
269
  msgstr ""
270
+ "Impostazioni locali di WordPress per la lingua (per esempio: en_US). è "
271
  "necessario installare il file .mo per questa lingua."
272
 
273
  #: admin/view-tab-lang.php:70
languages/polylang-ka_GE.mo CHANGED
Binary file
languages/polylang-ka_GE.po CHANGED
@@ -148,8 +148,8 @@ msgstr "ადმინისტრატორის ენა"
148
 
149
  # @ polylang
150
  #: admin/admin-filters.php:126
151
- msgid "Wordpress default"
152
- msgstr "Wordpress ნაგულისხმევი"
153
 
154
  # @ polylang
155
  #: admin/admin.php:167 admin/settings.php:102
@@ -298,10 +298,10 @@ msgstr "ლოკალური"
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
- "Wordpress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
- "Wordpress ლოკალური ენისთვის (მაგალითად: ka_GE). თქვენ უნდა დააყენოთ .mo ამ "
305
  "ენისთვის."
306
 
307
  # @ polylang
148
 
149
  # @ polylang
150
  #: admin/admin-filters.php:126
151
+ msgid "WordPress default"
152
+ msgstr "WordPress ნაგულისხმევი"
153
 
154
  # @ polylang
155
  #: admin/admin.php:167 admin/settings.php:102
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
+ "WordPress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
+ "WordPress ლოკალური ენისთვის (მაგალითად: ka_GE). თქვენ უნდა დააყენოთ .mo ამ "
305
  "ენისთვის."
306
 
307
  # @ polylang
languages/polylang-lt_LT.mo CHANGED
Binary file
languages/polylang-lt_LT.po CHANGED
@@ -129,8 +129,8 @@ msgid "Admin language"
129
  msgstr "Administravimo skydelio kalba"
130
 
131
  #: admin/admin-filters.php:126
132
- msgid "Wordpress default"
133
- msgstr "Wordpress numatytasis"
134
 
135
  #: admin/admin.php:167 admin/settings.php:102
136
  msgid "Settings"
@@ -260,7 +260,7 @@ msgstr "Lokalė"
260
 
261
  #: admin/view-tab-lang.php:66
262
  msgid ""
263
- "Wordpress Locale for the language (for example: en_US). You will need to "
264
  "install the .mo file for this language."
265
  msgstr ""
266
  "Kalbos WordPress lokalė (pavyzdžiui: lt_LT). Jums reikės įsidiegti šios "
@@ -424,7 +424,7 @@ msgstr "Pavadinimas:"
424
  #. translators: plugin header field 'Description'
425
  #: polylang.php:0
426
  msgid "Adds multilingual capability to WordPress"
427
- msgstr "Prideda daugiakalbystės funkciją Wordpress sistemai"
428
 
429
  #: install/install.php:24
430
  #, php-format
129
  msgstr "Administravimo skydelio kalba"
130
 
131
  #: admin/admin-filters.php:126
132
+ msgid "WordPress default"
133
+ msgstr "WordPress numatytasis"
134
 
135
  #: admin/admin.php:167 admin/settings.php:102
136
  msgid "Settings"
260
 
261
  #: admin/view-tab-lang.php:66
262
  msgid ""
263
+ "WordPress Locale for the language (for example: en_US). You will need to "
264
  "install the .mo file for this language."
265
  msgstr ""
266
  "Kalbos WordPress lokalė (pavyzdžiui: lt_LT). Jums reikės įsidiegti šios "
424
  #. translators: plugin header field 'Description'
425
  #: polylang.php:0
426
  msgid "Adds multilingual capability to WordPress"
427
+ msgstr "Prideda daugiakalbystės funkciją WordPress sistemai"
428
 
429
  #: install/install.php:24
430
  #, php-format
languages/polylang-lv.mo CHANGED
Binary file
languages/polylang-lv.po CHANGED
@@ -151,7 +151,7 @@ msgstr "Vadības valoda"
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
  msgstr "WordPress noklusējums"
156
 
157
  # @ default
@@ -302,7 +302,7 @@ msgstr "Lokāle"
302
  # @ polylang
303
  #: admin/view-tab-lang.php:66
304
  msgid ""
305
- "Wordpress Locale for the language (for example: en_US). You will need to "
306
  "install the .mo file for this language."
307
  msgstr ""
308
  "WordPress valodas lokāle šai valodai (piemēram: en_US). Jums nāksies "
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
  msgstr "WordPress noklusējums"
156
 
157
  # @ default
302
  # @ polylang
303
  #: admin/view-tab-lang.php:66
304
  msgid ""
305
+ "WordPress Locale for the language (for example: en_US). You will need to "
306
  "install the .mo file for this language."
307
  msgstr ""
308
  "WordPress valodas lokāle šai valodai (piemēram: en_US). Jums nāksies "
languages/polylang-my_MM.mo CHANGED
Binary file
languages/polylang-my_MM.po CHANGED
@@ -148,7 +148,7 @@ msgstr "ထိန်းချုပ်ခလုပ်ခုံ ဘာသာစ
148
 
149
  # @ polylang
150
  #: admin/admin-filters.php:126
151
- msgid "Wordpress default"
152
  msgstr "WordPress မူလဘာသာစကား"
153
 
154
  # @ polylang
@@ -298,7 +298,7 @@ msgstr "ေဒသန္တရဘာသာစကားအုပ်စု"
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
- "Wordpress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
  "WordPress ဘာသာစကားသင်္ကေတ ( ဥပမာ။ ။ my_MM ) ။ ဤဘာသာစကားအတွက် .mo ဖိုင်အား "
148
 
149
  # @ polylang
150
  #: admin/admin-filters.php:126
151
+ msgid "WordPress default"
152
  msgstr "WordPress မူလဘာသာစကား"
153
 
154
  # @ polylang
298
  # @ polylang
299
  #: admin/view-tab-lang.php:66
300
  msgid ""
301
+ "WordPress Locale for the language (for example: en_US). You will need to "
302
  "install the .mo file for this language."
303
  msgstr ""
304
  "WordPress ဘာသာစကားသင်္ကေတ ( ဥပမာ။ ။ my_MM ) ။ ဤဘာသာစကားအတွက် .mo ဖိုင်အား "
languages/polylang-nb_NO.mo CHANGED
Binary file
languages/polylang-nb_NO.po CHANGED
@@ -149,7 +149,7 @@ msgstr "Admin språk"
149
 
150
  # @ polylang
151
  #: admin/admin-filters.php:126
152
- msgid "Wordpress default"
153
  msgstr "WordPress standard"
154
 
155
  # @ default
@@ -300,10 +300,10 @@ msgstr "Locale"
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
- "Wordpress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
- "Wordpress Locale for språket (for eksempel: en_US). Du må installere .mo "
307
  "filen for dette språket."
308
 
309
  # @ polylang
@@ -490,7 +490,7 @@ msgstr "Tittel:"
490
  #. translators: plugin header field 'Description'
491
  #: polylang.php:0
492
  msgid "Adds multilingual capability to WordPress"
493
- msgstr "Legger til flerspråklig funksjonalitet til Wordpress"
494
 
495
  # @ polylang
496
  #: install/install.php:24
149
 
150
  # @ polylang
151
  #: admin/admin-filters.php:126
152
+ msgid "WordPress default"
153
  msgstr "WordPress standard"
154
 
155
  # @ default
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
+ "WordPress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
+ "WordPress Locale for språket (for eksempel: en_US). Du må installere .mo "
307
  "filen for dette språket."
308
 
309
  # @ polylang
490
  #. translators: plugin header field 'Description'
491
  #: polylang.php:0
492
  msgid "Adds multilingual capability to WordPress"
493
+ msgstr "Legger til flerspråklig funksjonalitet til WordPress"
494
 
495
  # @ polylang
496
  #: install/install.php:24
languages/polylang-nl_NL.mo CHANGED
Binary file
languages/polylang-nl_NL.po CHANGED
@@ -51,7 +51,7 @@ msgid ""
51
  "WordPress, the %sGPL%s."
52
  msgstr ""
53
  "Polylang is gratis te gebruiken en is vrijgegeven onder dezelfde licentie "
54
- "als Wordpress, de %sGPL%s."
55
 
56
  # @ polylang
57
  #: admin/view-about.php:22
@@ -149,7 +149,7 @@ msgid "Admin language"
149
  msgstr "Admin taal"
150
 
151
  #: admin/admin-filters.php:126
152
- msgid "Wordpress default"
153
  msgstr ""
154
 
155
  # @ default
@@ -181,7 +181,7 @@ msgstr "Tekstvertaling"
181
  # @ polylang
182
  #: admin/admin-model.php:244
183
  msgid "Enter a valid WordPress locale"
184
- msgstr "Voer een geldige Wordpress lokaal in"
185
 
186
  # @ polylang
187
  #: admin/admin-model.php:252
@@ -199,7 +199,7 @@ msgid ""
199
  "The language was created, but the WordPress language file was not "
200
  "downloaded. Please install it manually."
201
  msgstr ""
202
- "De taal was gecreëerd, maar het Wordpress taalbestand was niet gedownload. "
203
  "Handmatige installatie is noodzakelijk."
204
 
205
  # @ polylang
@@ -300,10 +300,10 @@ msgstr "Locale"
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
- "Wordpress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
- "Wordpress Locale voor de taal (bv.: nl_NL). Installeer het .mo bestand voor "
307
  "deze taal."
308
 
309
  # @ polylang
@@ -497,7 +497,7 @@ msgstr ""
497
  #: install/install.php:24
498
  #, php-format
499
  msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
500
- msgstr "Je gebruikt Wordpress %s. Polylang vereist tenminste Wordpress %s."
501
 
502
  # @ polylang
503
  #: install/upgrade.php:76
51
  "WordPress, the %sGPL%s."
52
  msgstr ""
53
  "Polylang is gratis te gebruiken en is vrijgegeven onder dezelfde licentie "
54
+ "als WordPress, de %sGPL%s."
55
 
56
  # @ polylang
57
  #: admin/view-about.php:22
149
  msgstr "Admin taal"
150
 
151
  #: admin/admin-filters.php:126
152
+ msgid "WordPress default"
153
  msgstr ""
154
 
155
  # @ default
181
  # @ polylang
182
  #: admin/admin-model.php:244
183
  msgid "Enter a valid WordPress locale"
184
+ msgstr "Voer een geldige WordPress lokaal in"
185
 
186
  # @ polylang
187
  #: admin/admin-model.php:252
199
  "The language was created, but the WordPress language file was not "
200
  "downloaded. Please install it manually."
201
  msgstr ""
202
+ "De taal was gecreëerd, maar het WordPress taalbestand was niet gedownload. "
203
  "Handmatige installatie is noodzakelijk."
204
 
205
  # @ polylang
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
+ "WordPress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
+ "WordPress Locale voor de taal (bv.: nl_NL). Installeer het .mo bestand voor "
307
  "deze taal."
308
 
309
  # @ polylang
497
  #: install/install.php:24
498
  #, php-format
499
  msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
500
+ msgstr "Je gebruikt WordPress %s. Polylang vereist tenminste WordPress %s."
501
 
502
  # @ polylang
503
  #: install/upgrade.php:76
languages/polylang-pl_PL.mo CHANGED
Binary file
languages/polylang-pl_PL.po CHANGED
@@ -151,7 +151,7 @@ msgid "Admin language"
151
  msgstr "Język administratora"
152
 
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
  msgstr "Domyślny"
156
 
157
  # @ default
@@ -292,7 +292,7 @@ msgstr "Lokalizacja"
292
  # @ polylang
293
  #: admin/view-tab-lang.php:66
294
  msgid ""
295
- "Wordpress Locale for the language (for example: en_US). You will need to "
296
  "install the .mo file for this language."
297
  msgstr ""
298
  "Lokalizacja WordPress dla języka (np. en_US). Dla tego języka będziesz "
151
  msgstr "Język administratora"
152
 
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
  msgstr "Domyślny"
156
 
157
  # @ default
292
  # @ polylang
293
  #: admin/view-tab-lang.php:66
294
  msgid ""
295
+ "WordPress Locale for the language (for example: en_US). You will need to "
296
  "install the .mo file for this language."
297
  msgstr ""
298
  "Lokalizacja WordPress dla języka (np. en_US). Dla tego języka będziesz "
languages/polylang-pt_BR.mo CHANGED
Binary file
languages/polylang-pt_BR.po CHANGED
@@ -150,7 +150,7 @@ msgstr "Idioma do admin"
150
 
151
  # @ polylang
152
  #: admin/admin-filters.php:126
153
- msgid "Wordpress default"
154
  msgstr "Padrão do WordPress"
155
 
156
  # @ polylang
@@ -300,7 +300,7 @@ msgstr "Locale"
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
- "Wordpress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
  "Locale do WordPress para o idioma (por exemplo: en_US). Você precisará "
150
 
151
  # @ polylang
152
  #: admin/admin-filters.php:126
153
+ msgid "WordPress default"
154
  msgstr "Padrão do WordPress"
155
 
156
  # @ polylang
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
+ "WordPress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
  "Locale do WordPress para o idioma (por exemplo: en_US). Você precisará "
languages/polylang-pt_PT.mo CHANGED
Binary file
languages/polylang-pt_PT.po CHANGED
@@ -128,7 +128,7 @@ msgid "Admin language"
128
  msgstr "Ligua do administrador"
129
 
130
  #: admin/admin-filters.php:126
131
- msgid "Wordpress default"
132
  msgstr "Padrão WordPress"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
@@ -258,7 +258,7 @@ msgstr "Código de lingua"
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
- "Wordpress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
  "Código de lingua WordPress para a lingua (por exemplo: pt_PT). Precisará de "
128
  msgstr "Ligua do administrador"
129
 
130
  #: admin/admin-filters.php:126
131
+ msgid "WordPress default"
132
  msgstr "Padrão WordPress"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
258
 
259
  #: admin/view-tab-lang.php:66
260
  msgid ""
261
+ "WordPress Locale for the language (for example: en_US). You will need to "
262
  "install the .mo file for this language."
263
  msgstr ""
264
  "Código de lingua WordPress para a lingua (por exemplo: pt_PT). Precisará de "
languages/polylang-ru_RU.mo CHANGED
Binary file
languages/polylang-ru_RU.po CHANGED
@@ -150,7 +150,7 @@ msgid "Admin language"
150
  msgstr "Язык админ.панели"
151
 
152
  #: admin/admin-filters.php:126
153
- msgid "Wordpress default"
154
  msgstr "По умолчанию"
155
 
156
  # @ default
@@ -300,10 +300,10 @@ msgstr "Локаль"
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
- "Wordpress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
- "Локаль Wordpress'a для языка (например: ru_RU). Вы должны установить файлы ."
307
  "mo для админ.панели и используемой темы."
308
 
309
  # @ polylang
150
  msgstr "Язык админ.панели"
151
 
152
  #: admin/admin-filters.php:126
153
+ msgid "WordPress default"
154
  msgstr "По умолчанию"
155
 
156
  # @ default
300
  # @ polylang
301
  #: admin/view-tab-lang.php:66
302
  msgid ""
303
+ "WordPress Locale for the language (for example: en_US). You will need to "
304
  "install the .mo file for this language."
305
  msgstr ""
306
+ "Локаль WordPress'a для языка (например: ru_RU). Вы должны установить файлы ."
307
  "mo для админ.панели и используемой темы."
308
 
309
  # @ polylang
languages/polylang-sk_SK.mo CHANGED
Binary file
languages/polylang-sk_SK.po CHANGED
@@ -128,7 +128,7 @@ msgid "Admin language"
128
  msgstr "Jazyk administračného rozhrania"
129
 
130
  #: admin/admin-filters.php:126
131
- msgid "Wordpress default"
132
  msgstr "Predvolené vo WordPresse"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
@@ -259,7 +259,7 @@ msgstr "Locale reťazec"
259
 
260
  #: admin/view-tab-lang.php:66
261
  msgid ""
262
- "Wordpress Locale for the language (for example: en_US). You will need to "
263
  "install the .mo file for this language."
264
  msgstr ""
265
  "WordPress Locale reťazec jazyka (napríklad: en_US). Budete musieť "
128
  msgstr "Jazyk administračného rozhrania"
129
 
130
  #: admin/admin-filters.php:126
131
+ msgid "WordPress default"
132
  msgstr "Predvolené vo WordPresse"
133
 
134
  #: admin/admin.php:167 admin/settings.php:102
259
 
260
  #: admin/view-tab-lang.php:66
261
  msgid ""
262
+ "WordPress Locale for the language (for example: en_US). You will need to "
263
  "install the .mo file for this language."
264
  msgstr ""
265
  "WordPress Locale reťazec jazyka (napríklad: en_US). Budete musieť "
languages/polylang-sr_RS.mo CHANGED
Binary file
languages/polylang-sr_RS.po CHANGED
@@ -151,8 +151,8 @@ msgstr "Jezik Administratora"
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
- msgstr "Podrazumevani (originalni) Wordpress (Wordpress default)"
156
 
157
  # @ polylang
158
  #: admin/admin.php:167 admin/settings.php:102
@@ -301,10 +301,10 @@ msgstr "Lokalno"
301
  # @ polylang
302
  #: admin/view-tab-lang.php:66
303
  msgid ""
304
- "Wordpress Locale for the language (for example: en_US). You will need to "
305
  "install the .mo file for this language."
306
  msgstr ""
307
- "Wordpress (lokalni) prostor za jezik (na primer: en_US ). Moraćete da "
308
  "instalirate Mo datoteku za taj jezik"
309
 
310
  # @ polylang
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
+ msgstr "Podrazumevani (originalni) WordPress (WordPress default)"
156
 
157
  # @ polylang
158
  #: admin/admin.php:167 admin/settings.php:102
301
  # @ polylang
302
  #: admin/view-tab-lang.php:66
303
  msgid ""
304
+ "WordPress Locale for the language (for example: en_US). You will need to "
305
  "install the .mo file for this language."
306
  msgstr ""
307
+ "WordPress (lokalni) prostor za jezik (na primer: en_US ). Moraćete da "
308
  "instalirate Mo datoteku za taj jezik"
309
 
310
  # @ polylang
languages/polylang-sv_SE.mo CHANGED
Binary file
languages/polylang-sv_SE.po CHANGED
@@ -64,7 +64,7 @@ msgid "Admin language"
64
  msgstr "Språk i Admin"
65
 
66
  #: ../admin/admin-filters.php:126
67
- msgid "Wordpress default"
68
  msgstr "WordPress standard"
69
 
70
  #: ../admin/admin-filters.php:160 ../admin/admin-filters.php:169
@@ -370,7 +370,7 @@ msgstr "Namnet är hur språket visas på din sida (t.ex. Engelska)"
370
 
371
  #: ../admin/view-tab-lang.php:66
372
  msgid ""
373
- "Wordpress Locale for the language (for example: en_US). You will need to "
374
  "install the .mo file for this language."
375
  msgstr ""
376
  "WordPress språkprefix för språket (t.ex: en_US). Du kan komma att behöva "
64
  msgstr "Språk i Admin"
65
 
66
  #: ../admin/admin-filters.php:126
67
+ msgid "WordPress default"
68
  msgstr "WordPress standard"
69
 
70
  #: ../admin/admin-filters.php:160 ../admin/admin-filters.php:169
370
 
371
  #: ../admin/view-tab-lang.php:66
372
  msgid ""
373
+ "WordPress Locale for the language (for example: en_US). You will need to "
374
  "install the .mo file for this language."
375
  msgstr ""
376
  "WordPress språkprefix för språket (t.ex: en_US). Du kan komma att behöva "
languages/polylang-tr_TR.mo CHANGED
Binary file
languages/polylang-tr_TR.po CHANGED
@@ -53,7 +53,7 @@ msgid ""
53
  "Polylang is free of charge and is released under the same license as "
54
  "WordPress, the %sGPL%s."
55
  msgstr ""
56
- "Polylang'ın kullanımı ücretsizdir ve dağıtımı Wordpress ile aynı lisans "
57
  "sözleşmesi %sGPL%s altında yapılmıştır."
58
 
59
  #: admin/view-about.php:22
@@ -138,7 +138,7 @@ msgid "Admin language"
138
  msgstr "Yönetici dili"
139
 
140
  #: admin/admin-filters.php:126
141
- msgid "Wordpress default"
142
  msgstr "WordPress varsayılanı"
143
 
144
  #: admin/admin.php:167 admin/settings.php:102
@@ -270,7 +270,7 @@ msgstr "Bölge Kodu"
270
 
271
  #: admin/view-tab-lang.php:66
272
  msgid ""
273
- "Wordpress Locale for the language (for example: en_US). You will need to "
274
  "install the .mo file for this language."
275
  msgstr ""
276
  "Dil için WordPress Bölge Kodu (örneğin: tr_TR). Bu dilin .mo uzantılı dil "
53
  "Polylang is free of charge and is released under the same license as "
54
  "WordPress, the %sGPL%s."
55
  msgstr ""
56
+ "Polylang'ın kullanımı ücretsizdir ve dağıtımı WordPress ile aynı lisans "
57
  "sözleşmesi %sGPL%s altında yapılmıştır."
58
 
59
  #: admin/view-about.php:22
138
  msgstr "Yönetici dili"
139
 
140
  #: admin/admin-filters.php:126
141
+ msgid "WordPress default"
142
  msgstr "WordPress varsayılanı"
143
 
144
  #: admin/admin.php:167 admin/settings.php:102
270
 
271
  #: admin/view-tab-lang.php:66
272
  msgid ""
273
+ "WordPress Locale for the language (for example: en_US). You will need to "
274
  "install the .mo file for this language."
275
  msgstr ""
276
  "Dil için WordPress Bölge Kodu (örneğin: tr_TR). Bu dilin .mo uzantılı dil "
languages/polylang-uk.mo CHANGED
Binary file
languages/polylang-uk.po CHANGED
@@ -150,8 +150,8 @@ msgid "Admin language"
150
  msgstr "Адміністратор мови"
151
 
152
  #: admin/admin-filters.php:126
153
- msgid "Wordpress default"
154
- msgstr "Wordpress за замовчуванням"
155
 
156
  # @ default
157
  # @ polylang
@@ -302,10 +302,10 @@ msgstr "Локаль"
302
  # @ polylang
303
  #: admin/view-tab-lang.php:66
304
  msgid ""
305
- "Wordpress Locale for the language (for example: en_US). You will need to "
306
  "install the .mo file for this language."
307
  msgstr ""
308
- "Локаль Wordpress для мови (наприклад, en_US). Вам потрібно буде встановити "
309
  "файл .mo для даної мови."
310
 
311
  # @ polylang
150
  msgstr "Адміністратор мови"
151
 
152
  #: admin/admin-filters.php:126
153
+ msgid "WordPress default"
154
+ msgstr "WordPress за замовчуванням"
155
 
156
  # @ default
157
  # @ polylang
302
  # @ polylang
303
  #: admin/view-tab-lang.php:66
304
  msgid ""
305
+ "WordPress Locale for the language (for example: en_US). You will need to "
306
  "install the .mo file for this language."
307
  msgstr ""
308
+ "Локаль WordPress для мови (наприклад, en_US). Вам потрібно буде встановити "
309
  "файл .mo для даної мови."
310
 
311
  # @ polylang
languages/polylang-vec.mo CHANGED
Binary file
languages/polylang-vec.po CHANGED
@@ -151,8 +151,8 @@ msgstr "Łéngua de l'aministrador"
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
- msgid "Wordpress default"
155
- msgstr "Stàndard de Wordpress"
156
 
157
  # @ polylang
158
  #: admin/admin.php:167 admin/settings.php:102
@@ -302,7 +302,7 @@ msgstr "Inpostaçion locałi"
302
  # @ polylang
303
  #: admin/view-tab-lang.php:66
304
  msgid ""
305
- "Wordpress Locale for the language (for example: en_US). You will need to "
306
  "install the .mo file for this language."
307
  msgstr ""
308
  "Inpostaçion locałi par ła łéngua (par exenpio: en_US). Par sta łéngua cuà "
151
 
152
  # @ polylang
153
  #: admin/admin-filters.php:126
154
+ msgid "WordPress default"
155
+ msgstr "Stàndard de WordPress"
156
 
157
  # @ polylang
158
  #: admin/admin.php:167 admin/settings.php:102
302
  # @ polylang
303
  #: admin/view-tab-lang.php:66
304
  msgid ""
305
+ "WordPress Locale for the language (for example: en_US). You will need to "
306
  "install the .mo file for this language."
307
  msgstr ""
308
  "Inpostaçion locałi par ła łéngua (par exenpio: en_US). Par sta łéngua cuà "
languages/polylang-zh_CN.mo CHANGED
Binary file
languages/polylang-zh_CN.po CHANGED
@@ -126,7 +126,7 @@ msgid "Admin language"
126
  msgstr "管理语言"
127
 
128
  #: admin/admin-filters.php:126
129
- msgid "Wordpress default"
130
  msgstr "WordPress默认"
131
 
132
  #: admin/admin.php:167 admin/settings.php:102
@@ -245,7 +245,7 @@ msgstr "区域"
245
 
246
  #: admin/view-tab-lang.php:66
247
  msgid ""
248
- "Wordpress Locale for the language (for example: en_US). You will need to "
249
  "install the .mo file for this language."
250
  msgstr "WordPress 语言区域(例如:en_US)。你需要为该语言安装 .mo 文件。"
251
 
126
  msgstr "管理语言"
127
 
128
  #: admin/admin-filters.php:126
129
+ msgid "WordPress default"
130
  msgstr "WordPress默认"
131
 
132
  #: admin/admin.php:167 admin/settings.php:102
245
 
246
  #: admin/view-tab-lang.php:66
247
  msgid ""
248
+ "WordPress Locale for the language (for example: en_US). You will need to "
249
  "install the .mo file for this language."
250
  msgstr "WordPress 语言区域(例如:en_US)。你需要为该语言安装 .mo 文件。"
251
 
languages/polylang-zh_TW.mo CHANGED
Binary file
languages/polylang-zh_TW.po CHANGED
@@ -149,7 +149,7 @@ msgstr "管理語言"
149
 
150
  # @ polylang
151
  #: admin/admin-filters.php:126
152
- msgid "Wordpress default"
153
  msgstr "WordPress 預設"
154
 
155
  # @ polylang
@@ -297,7 +297,7 @@ msgstr "語言環境"
297
  # @ polylang
298
  #: admin/view-tab-lang.php:66
299
  msgid ""
300
- "Wordpress Locale for the language (for example: en_US). You will need to "
301
  "install the .mo file for this language."
302
  msgstr "WordPress 語言環境設定(範例:en_US)。你必須安裝對應此語言的 .mo 檔案。"
303
 
149
 
150
  # @ polylang
151
  #: admin/admin-filters.php:126
152
+ msgid "WordPress default"
153
  msgstr "WordPress 預設"
154
 
155
  # @ polylang
297
  # @ polylang
298
  #: admin/view-tab-lang.php:66
299
  msgid ""
300
+ "WordPress Locale for the language (for example: en_US). You will need to "
301
  "install the .mo file for this language."
302
  msgstr "WordPress 語言環境設定(範例:en_US)。你必須安裝對應此語言的 .mo 檔案。"
303
 
polylang.php CHANGED
@@ -2,8 +2,9 @@
2
  /*
3
  Plugin Name: Polylang
4
  Plugin URI: http://polylang.wordpress.com/
5
- Version: 1.7.5
6
  Author: Frédéric Demarle
 
7
  Description: Adds multilingual capability to WordPress
8
  Text Domain: polylang
9
  Domain Path: /languages
@@ -33,7 +34,7 @@ Domain Path: /languages
33
  if (!function_exists('add_action'))
34
  exit();
35
 
36
- define('POLYLANG_VERSION', '1.7.5');
37
  define('PLL_MIN_WP_VERSION', '3.8');
38
 
39
  define('POLYLANG_BASENAME', plugin_basename(__FILE__)); // plugin name as known by WP
@@ -136,7 +137,7 @@ class Polylang {
136
  // default url to access user data such as custom flags
137
  if (!defined('PLL_LOCAL_URL'))
138
  define('PLL_LOCAL_URL', content_url('/polylang'));
139
-
140
  // cookie name. no cookie will be used if set to false
141
  if (!defined('PLL_COOKIE'))
142
  define('PLL_COOKIE', 'pll_language');
@@ -197,7 +198,7 @@ class Polylang {
197
  // load wpml-config.xml
198
  if (!defined('PLL_WPML_COMPAT') || PLL_WPML_COMPAT)
199
  PLL_WPML_Config::instance();
200
-
201
  do_action('pll_init');
202
  }
203
  }
2
  /*
3
  Plugin Name: Polylang
4
  Plugin URI: http://polylang.wordpress.com/
5
+ Version: 1.7.6
6
  Author: Frédéric Demarle
7
+ Author uri: http://polylang.wordpress.com
8
  Description: Adds multilingual capability to WordPress
9
  Text Domain: polylang
10
  Domain Path: /languages
34
  if (!function_exists('add_action'))
35
  exit();
36
 
37
+ define('POLYLANG_VERSION', '1.7.6');
38
  define('PLL_MIN_WP_VERSION', '3.8');
39
 
40
  define('POLYLANG_BASENAME', plugin_basename(__FILE__)); // plugin name as known by WP
137
  // default url to access user data such as custom flags
138
  if (!defined('PLL_LOCAL_URL'))
139
  define('PLL_LOCAL_URL', content_url('/polylang'));
140
+
141
  // cookie name. no cookie will be used if set to false
142
  if (!defined('PLL_COOKIE'))
143
  define('PLL_COOKIE', 'pll_language');
198
  // load wpml-config.xml
199
  if (!defined('PLL_WPML_COMPAT') || PLL_WPML_COMPAT)
200
  PLL_WPML_Config::instance();
201
+
202
  do_action('pll_init');
203
  }
204
  }
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, international, localization
5
  Requires at least: 3.8
6
  Tested up to: 4.2
7
- Stable tag: 1.7.5
8
  License: GPLv2 or later
9
 
10
  Making WordPress multilingual
@@ -25,7 +25,46 @@ Polylang allows you to create a bilingual or multilingual WordPress site. You wr
25
 
26
  = Translators =
27
 
28
- The plugin admin interface is currently available in 37 languages: English, French, German by [Christian Ries](http://www.singbyfoot.lu), Russian by [yoyurec](http://yoyurec.in.ua) and unostar, Greek by [theodotos](http://www.ubuntucy.org), Dutch by [AlbertGn](http://wordpress.org/support/profile/albertgn), Hebrew by [ArielK](http://www.arielk.net), Polish by [Peter Paciorkiewicz](http://www.paciorkiewicz.pl), [Bartosz](http://www.dfactory.eu/) and Sebastian Janus, Latvian by [@AndyDeGroo](http://twitter.com/AndyDeGroo), Italian by [Luca Barbetti](http://wordpress.org/support/profile/lucabarbetti), Danish by [Compute](http://wordpress.org/support/profile/compute), Spanish by Curro, Portuguese by [Vitor Carvalho](http://vcarvalho.com/), Lithuanian by [Naglis Jonaitis](http://najo.lt/), Turkish by [darchws](http://darch.ws/) and [Abdullah Pazarbasi](http://www.abdullahpazarbasi.com/), Finnish by [Jani Alha](http://www.wysiwyg.fi), Bulgarian by [pavelsof](http://wordpress.org/support/profile/pavelsof), Belarusian by [Alexander Markevitch](http://fourfeathers.by/), Afrikaans by [Kobus Joubert](http://translate3d.com/), Hungarian by Csaba Erdei, Norwegian by [Tom Boersma](http://www.oransje.com/), Slovak by [Branco (WebHostingGeeks.com)](http://webhostinggeeks.com/user-reviews/) and [Maros Kucera](https://maroskucera.com), Swedish by [matsii](http://wordpress.org/support/profile/matsii) and [Jon Täng](http://jontang.se), Catalan by [Núria Martínez Berenguer](http://www.linkedin.com/profile/view?id=127867004&trk=nav_responsive_tab_profile&locale=en_US), Ukrainian by [cmd soft](http://www.cmd-soft.com/), [http://getvoip.com/](http://getvoip.com/) and [Andrii Ryzhkov](https://github.com/andriiryzhkov), Estonian by [Ahto Naris](http://profiles.wordpress.org/ahtonaris/), Venetian by Michele Brunelli, simplified Chinese by [Changmeng Hu](http://www.wpdaxue.com), Indonesian by [ajoull](http://www.ajoull.com/), Arabic by [Anas Sulaiman](http://ahs.pw/), Traditional Chinese by [香腸](http://sofree.cc/), Czech by [Přemysl Karbula](http://www.premyslkarbula.cz), Serbian by Sinisa, Myanmar by Sithu Thwin, Croatian by Bajro, Brazilian Portuguese by [Henrique Vianna](http://henriquevianna.com/), Georgian by [Tours in Georgia](http://www.georgia-tours.eu/)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  = Credits =
31
 
@@ -67,6 +106,19 @@ See http://polylang.wordpress.com/documentation/contribute/
67
 
68
  == Changelog ==
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  = 1.7.5 (2015-05-11) =
71
 
72
  * Add 'pll_languages_list' filter
@@ -90,7 +142,7 @@ See http://polylang.wordpress.com/documentation/contribute/
90
  = 1.7.3 (2015-04-11) =
91
 
92
  * the transient 'pll_languages_list' now stores an array of arrays instead of an array of PLL_Language objects
93
- * fix: fatal error for users hosted at GoDaddy (due to PLL_Language objects stored in a transient)
94
  * fix: additional query vars are removed from home page
95
  * fix: categories are not filtered by the admin language switcher in posts list table (introduced in 1.7)
96
  * fix: when using multiple domains, the domain url is lost when modifying the language slug
@@ -122,7 +174,7 @@ See http://polylang.wordpress.com/documentation/contribute/
122
  * Improve performance by using base64 encoded flags + various slight optimizations
123
  * Improve protection against chained redirects
124
  * The find posts list is now filtered per media language when clicking on attach link in Media library
125
- * Copy alternative text when creating a media translation
126
  * The category checklist in quick edit is now filtered per post language instead of admin language filter
127
  * Quick and bulk language edit don't break translations anymore if the new language is free
128
  * Make it impossible to change the language of the default categories
4
  Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
5
  Requires at least: 3.8
6
  Tested up to: 4.2
7
+ Stable tag: 1.7.6
8
  License: GPLv2 or later
9
 
10
  Making WordPress multilingual
25
 
26
  = Translators =
27
 
28
+ The plugin admin interface is currently available in 38 languages:
29
+
30
+ * English
31
+ * French
32
+ * German by [Christian Ries](http://www.singbyfoot.lu)
33
+ * Russian by [yoyurec](http://yoyurec.in.ua) and unostar
34
+ * Greek by [theodotos](http://www.ubuntucy.org)
35
+ * Dutch by [AlbertGn](http://wordpress.org/support/profile/albertgn)
36
+ * Hebrew by [ArielK](http://www.arielk.net)
37
+ * Polish by [Peter Paciorkiewicz](http://www.paciorkiewicz.pl), [Bartosz](http://www.dfactory.eu/) and Sebastian Janus
38
+ * Latvian by [@AndyDeGroo](http://twitter.com/AndyDeGroo)
39
+ * Italian by [Luca Barbetti](http://wordpress.org/support/profile/lucabarbetti)
40
+ * Danish by [Compute](http://wordpress.org/support/profile/compute)
41
+ * Spanish by Curro
42
+ * Portuguese by [Vitor Carvalho](http://vcarvalho.com/)
43
+ * Lithuanian by [Naglis Jonaitis](http://najo.lt/)
44
+ * Turkish by [darchws](http://darch.ws/) and [Abdullah Pazarbasi](http://www.abdullahpazarbasi.com/)
45
+ * Finnish by [Jani Alha](http://www.wysiwyg.fi)
46
+ * Bulgarian by [pavelsof](http://wordpress.org/support/profile/pavelsof)
47
+ * Belarusian by [Alexander Markevitch](http://fourfeathers.by/)
48
+ * Afrikaans by [Kobus Joubert](http://translate3d.com/)
49
+ * Hungarian by Csaba Erdei
50
+ * Norwegian by [Tom Boersma](http://www.oransje.com/)
51
+ * Slovak by [Branco (WebHostingGeeks.com)](http://webhostinggeeks.com/user-reviews/) and [Maros Kucera](https://maroskucera.com)
52
+ * Swedish by [matsii](http://wordpress.org/support/profile/matsii) and [Jon Täng](http://jontang.se)
53
+ * Catalan by [Núria Martínez Berenguer](http://www.linkedin.com/profile/view?id=127867004&trk=nav_responsive_tab_profile&locale=en_US)
54
+ * Ukrainian by [cmd soft](http://www.cmd-soft.com/), [http://getvoip.com/](http://getvoip.com/) and [Andrii Ryzhkov](https://github.com/andriiryzhkov)
55
+ * Estonian by [Ahto Naris](http://profiles.wordpress.org/ahtonaris/)
56
+ * Venetian by Michele Brunelli
57
+ * simplified Chinese by [Changmeng Hu](http://www.wpdaxue.com)
58
+ * Indonesian by [ajoull](http://www.ajoull.com/)
59
+ * Arabic by [Anas Sulaiman](http://ahs.pw/)
60
+ * Traditional Chinese by [香腸](http://sofree.cc/)
61
+ * Czech by [Přemysl Karbula](http://www.premyslkarbula.cz)
62
+ * Serbian by Sinisa
63
+ * Myanmar by Sithu Thwin
64
+ * Croatian by Bajro
65
+ * Brazilian Portuguese by [Henrique Vianna](http://henriquevianna.com/)
66
+ * Georgian by [Tours in Georgia](http://www.georgia-tours.eu/)
67
+ * Galician by [Toño Calo](http://fedellar.wordpress.com/)
68
 
69
  = Credits =
70
 
106
 
107
  == Changelog ==
108
 
109
+ = 1.7.6 (2015-06-10) =
110
+
111
+ * Add Galician translation contributed by [Toño Calo](http://fedellar.wordpress.com/)
112
+ * fix: incorrect post type archive link for untranslated post types
113
+ * fix: notices in wp-import.php
114
+ * fix: avoid flushing rewrite rules at network activation and de-activation
115
+ * fix: the note below the category list table displays the default category according to the admin language filter
116
+ * fix: wrong future posts permalinks
117
+ * fix: deleting a media translation deletes the file too
118
+ * fix: when using persistent object cache, get_terms is not always filtered by the correct language on admin side
119
+ * fix: it is possible to create two categories having the same translation
120
+ * fix: fatal error when using the dropdown language switcher in WP < 4.1
121
+
122
  = 1.7.5 (2015-05-11) =
123
 
124
  * Add 'pll_languages_list' filter
142
  = 1.7.3 (2015-04-11) =
143
 
144
  * the transient 'pll_languages_list' now stores an array of arrays instead of an array of PLL_Language objects
145
+ * fix: fatal error for users hosted at GoDaddy (due to PLL_Language objects stored in a transient)
146
  * fix: additional query vars are removed from home page
147
  * fix: categories are not filtered by the admin language switcher in posts list table (introduced in 1.7)
148
  * fix: when using multiple domains, the domain url is lost when modifying the language slug
174
  * Improve performance by using base64 encoded flags + various slight optimizations
175
  * Improve protection against chained redirects
176
  * The find posts list is now filtered per media language when clicking on attach link in Media library
177
+ * Copy alternative text when creating a media translation
178
  * The category checklist in quick edit is now filtered per post language instead of admin language filter
179
  * Quick and bulk language edit don't break translations anymore if the new language is free
180
  * Make it impossible to change the language of the default categories