Polylang - Version 1.7.7

Version Description

  • Add Romanian translation contributed by uskro
  • Add Japanese translation contributed by Eiko Toda
  • Update French translation contributed by fxbenard
  • The language locale is now validated with the same pattern as in WP 4.3. See #28303
  • fix: make sure that the language switcher never finds translations for untranslated post types (could occur when the post type was previously translated)
  • fix: display the default category according to the admin language filter in settings->writing
  • fix: flushing rewrite rules at network activation and de-activation is back. props RavanH
  • fix: avoid a conflict with WP Super Cache preloading (loading 'polylang_mo' posts which are 404). props ecdltf
  • fix: customizer menus issues introduced by changes in WP 4.1
  • fix: strings translations are not saved when pressing enter
  • fix: it is not possible to de-activate the translation for custom post types and taxonomies from wpml-config.xml
  • fix: conflict whith plugins using stringified json in ajax requests
Download this release

Release Info

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

Code changes from version 1.7.6 to 1.7.7

admin/admin-filters-term.php CHANGED
@@ -664,9 +664,11 @@ class PLL_Admin_Filters_Term {
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
 
@@ -706,6 +708,9 @@ class PLL_Admin_Filters_Term {
706
  * @param string $taxonomy
707
  */
708
  public function split_shared_term($term_id, $new_term_id, $term_taxonomy_id, $taxonomy) {
 
 
 
709
  // avoid recursion
710
  static $avoid_recursion = false;
711
  if ($avoid_recursion)
664
  return $this->model->get_term($value, $this->model->get_term_language($traces[4]['args'][0]));
665
  }
666
 
667
+ // filters the default category in note below the category list table and in settings->writing dropdown
668
+ elseif (false != stripos($traces[3]['file'], 'edit-tags.php') || false != stripos($traces[3]['file'], 'options-writing.php')) {
669
  return $this->model->get_term($value, $this->pref_lang);
670
  }
671
+
672
  return $value;
673
  }
674
 
708
  * @param string $taxonomy
709
  */
710
  public function split_shared_term($term_id, $new_term_id, $term_taxonomy_id, $taxonomy) {
711
+ if (!$this->model->is_translated_taxonomy($taxonomy))
712
+ return;
713
+
714
  // avoid recursion
715
  static $avoid_recursion = false;
716
  if ($avoid_recursion)
admin/admin-model.php CHANGED
@@ -236,8 +236,8 @@ class PLL_Admin_Model extends PLL_Model {
236
  * @see PLL_Admin_Model::add_language
237
  */
238
  protected function validate_lang($args, $lang = null) {
239
- // validate locale
240
- if ( !preg_match('#^[A-Za-z_]+$#', $args['locale']))
241
  add_settings_error('general', 'pll_invalid_locale', __('Enter a valid WordPress locale', 'polylang'));
242
 
243
  // validate slug characters
236
  * @see PLL_Admin_Model::add_language
237
  */
238
  protected function validate_lang($args, $lang = null) {
239
+ // validate locale with the same pattern as WP 4.3. See #28303
240
+ if ( !preg_match('#^[a-z]{2,3}(?:_[A-Z]{2})?(?:_[a-z0-9]+)?$#', $args['locale'], $matches))
241
  add_settings_error('general', 'pll_invalid_locale', __('Enter a valid WordPress locale', 'polylang'));
242
 
243
  // validate slug characters
admin/admin-nav-menu.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 1.2
7
  */
8
- class PLL_Admin_Nav_Menu {
9
 
10
  /*
11
  * constructor: setups filters and actions
@@ -15,16 +15,13 @@ class PLL_Admin_Nav_Menu {
15
  * @param object $polylang
16
  */
17
  public function __construct(&$polylang) {
18
- $this->model = &$polylang->model;
19
- $this->options = &$polylang->options;
20
  $this->theme = get_option( 'stylesheet' );
21
 
22
  // integration in the WP menu interface
23
  add_action('admin_init', array(&$this, 'admin_init')); // after Polylang upgrade
24
 
25
- // integration with WP customizer
26
- add_action('customize_register', array(&$this, 'create_nav_menu_locations'), 5);
27
-
28
  // protection against #24802
29
  // backward compatibility with WP < 4.1
30
  if (version_compare($GLOBALS['wp_version'], '4.1', '<'))
@@ -44,7 +41,7 @@ class PLL_Admin_Nav_Menu {
44
 
45
  // translation of menus based on chosen locations
46
  add_filter('pre_update_option_theme_mods_' . $this->theme, array($this, 'update_nav_menu_locations'));
47
- add_filter('theme_mod_nav_menu_locations', array($this, 'nav_menu_locations'), 20);
48
  add_action('delete_nav_menu', array(&$this, 'delete_nav_menu'));
49
 
50
  // filter _wp_auto_add_pages_to_menu by language
@@ -57,23 +54,6 @@ class PLL_Admin_Nav_Menu {
57
  $this->create_nav_menu_locations();
58
  }
59
 
60
- /*
61
- * create temporary nav menu locations (one per location and per language) for all non-default language
62
- *
63
- * @since 1.2
64
- */
65
- public function create_nav_menu_locations() {
66
- global $_wp_registered_nav_menus;
67
-
68
- if (isset($_wp_registered_nav_menus)) {
69
- foreach ($_wp_registered_nav_menus as $loc => $name)
70
- foreach ($this->model->get_languages_list() as $lang)
71
- $arr[$loc . (pll_default_language() == $lang->slug ? '' : '___' . $lang->slug)] = $name . ' ' . $lang->name;
72
-
73
- $_wp_registered_nav_menus = $arr;
74
- }
75
- }
76
-
77
  /*
78
  * language switcher metabox
79
  * The checkbox and all hidden fields are important
@@ -278,10 +258,10 @@ class PLL_Admin_Nav_Menu {
278
  }
279
  }
280
  }
281
-
282
  update_option('polylang', $this->options);
283
  }
284
-
285
  /*
286
  * filters _wp_auto_add_pages_to_menu by language
287
  *
5
  *
6
  * @since 1.2
7
  */
8
+ class PLL_Admin_Nav_Menu extends PLL_Nav_Menu {
9
 
10
  /*
11
  * constructor: setups filters and actions
15
  * @param object $polylang
16
  */
17
  public function __construct(&$polylang) {
18
+ parent::__construct($polylang);
19
+
20
  $this->theme = get_option( 'stylesheet' );
21
 
22
  // integration in the WP menu interface
23
  add_action('admin_init', array(&$this, 'admin_init')); // after Polylang upgrade
24
 
 
 
 
25
  // protection against #24802
26
  // backward compatibility with WP < 4.1
27
  if (version_compare($GLOBALS['wp_version'], '4.1', '<'))
41
 
42
  // translation of menus based on chosen locations
43
  add_filter('pre_update_option_theme_mods_' . $this->theme, array($this, 'update_nav_menu_locations'));
44
+ add_filter('theme_mod_nav_menu_locations', array($this, 'nav_menu_locations'), 20);
45
  add_action('delete_nav_menu', array(&$this, 'delete_nav_menu'));
46
 
47
  // filter _wp_auto_add_pages_to_menu by language
54
  $this->create_nav_menu_locations();
55
  }
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  /*
58
  * language switcher metabox
59
  * The checkbox and all hidden fields are important
258
  }
259
  }
260
  }
261
+
262
  update_option('polylang', $this->options);
263
  }
264
+
265
  /*
266
  * filters _wp_auto_add_pages_to_menu by language
267
  *
admin/admin.php CHANGED
@@ -50,6 +50,10 @@ class PLL_Admin extends PLL_Base {
50
  // adds a 'settings' link in the plugins table
51
  add_filter('plugin_action_links_' . POLYLANG_BASENAME, array(&$this, 'plugin_action_links'));
52
  add_action('in_plugin_update_message-' . POLYLANG_BASENAME, array(&$this, 'plugin_update_message'), 10, 2);
 
 
 
 
53
  }
54
 
55
  /*
@@ -149,11 +153,25 @@ class PLL_Admin extends PLL_Base {
149
  if (typeof jQuery != 'undefined') {
150
  (function($){
151
  $.ajaxPrefilter(function (options, originalOptions, jqXHR) {
152
- if ( typeof options.data === 'undefined' ) {
153
- options.data = options.type === "get" ? '<?php echo $str;?>' : {<?php echo $arr;?>};
154
- }
155
- else {
156
- options.data = typeof options.data === "string" ? '<?php echo $str;?>'+options.data : $.extend(options.data, {<?php echo $arr;?>});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
158
  });
159
  })(jQuery)
50
  // adds a 'settings' link in the plugins table
51
  add_filter('plugin_action_links_' . POLYLANG_BASENAME, array(&$this, 'plugin_action_links'));
52
  add_action('in_plugin_update_message-' . POLYLANG_BASENAME, array(&$this, 'plugin_update_message'), 10, 2);
53
+
54
+ // Lingotek
55
+ if (!defined('PLL_LINGOTEK_AD') || PLL_LINGOTEK_AD)
56
+ require(POLYLANG_DIR . '/lingotek/lingotek.php');
57
  }
58
 
59
  /*
153
  if (typeof jQuery != 'undefined') {
154
  (function($){
155
  $.ajaxPrefilter(function (options, originalOptions, jqXHR) {
156
+ if (options.url.indexOf(ajaxurl) != -1) {
157
+ if ( typeof options.data === 'undefined' ) {
158
+ options.data = options.type === "get" ? '<?php echo $str;?>' : {<?php echo $arr;?>};
159
+ }
160
+ else {
161
+ if (typeof options.data === "string") {
162
+ try {
163
+ o = $.parseJSON(options.data);
164
+ o = $.extend(o, {<?php echo $arr;?>});
165
+ options.data = JSON.stringify(o);
166
+ }
167
+ catch(e) {
168
+ options.data = '<?php echo $str;?>'+options.data;
169
+ }
170
+ }
171
+ else {
172
+ options.data = $.extend(options.data, {<?php echo $arr;?>});
173
+ }
174
+ }
175
  }
176
  });
177
  })(jQuery)
admin/view-languages.php CHANGED
@@ -8,7 +8,7 @@
8
  // display tabs
9
  foreach ($tabs as $key => $name)
10
  printf(
11
- '<a href="options-general.php?page=mlang&amp;tab=%s" class="nav-tab %s">%s</a>',
12
  $key,
13
  $key == $this->active_tab ? 'nav-tab-active' : '',
14
  $name
8
  // display tabs
9
  foreach ($tabs as $key => $name)
10
  printf(
11
+ '<a href="options-general.php?page=mlang&amp;tab=%1$s" id="nav-tab-%1$s" class="nav-tab %2$s">%3$s</a>',
12
  $key,
13
  $key == $this->active_tab ? 'nav-tab-active' : '',
14
  $name
admin/view-tab-lang.php CHANGED
@@ -93,7 +93,7 @@
93
  <p><?php _e('Position of the language in the language switcher', 'polylang');?></p>
94
  </div>
95
 
96
- <?php submit_button( $action == 'edit' ? __('Update') : __('Add new language', 'polylang'), 'button'); // since WP 3.1 ?>
97
 
98
  </form>
99
  </div><!-- form-wrap -->
93
  <p><?php _e('Position of the language in the language switcher', 'polylang');?></p>
94
  </div>
95
 
96
+ <?php submit_button( $action == 'edit' ? __('Update') : __('Add new language', 'polylang')); // since WP 3.1 ?>
97
 
98
  </form>
99
  </div><!-- form-wrap -->
frontend/frontend-links.php CHANGED
@@ -90,7 +90,7 @@ class PLL_Frontend_Links extends PLL_Links {
90
  public function archive_link($link) {
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
@@ -104,7 +104,7 @@ class PLL_Frontend_Links extends PLL_Links {
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
@@ -123,7 +123,7 @@ class PLL_Frontend_Links extends PLL_Links {
123
  }
124
  return $_link;
125
  }
126
-
127
  /*
128
  * modifies page links
129
  * caches the result
@@ -263,7 +263,7 @@ class PLL_Frontend_Links extends PLL_Links {
263
  parse_str($query, $query_vars);
264
  $url = add_query_arg($query_vars, $url);
265
  }
266
-
267
  return $url;
268
  }
269
 
@@ -273,13 +273,13 @@ class PLL_Frontend_Links extends PLL_Links {
273
 
274
  return $redirect_url;
275
  }
276
-
277
  /*
278
  * checks if a file is in a directory or its subdirectories
279
  * the comparison takes care of Windows on which WP can mix \ and /
280
- *
281
  * @since 1.7
282
- *
283
  * @param string $file
284
  * @param string $dir
285
  * @return bool
@@ -354,7 +354,7 @@ class PLL_Frontend_Links extends PLL_Links {
354
  global $wp_query;
355
  $qv = $wp_query->query_vars;
356
  $hide = $this->options['default_lang'] == $language->slug && $this->options['hide_default'];
357
-
358
  // make sure that we have the queried object
359
  // see https://wordpress.org/support/topic/patch-for-fixing-a-notice
360
  $queried_object_id = $wp_query->get_queried_object_id();
@@ -373,7 +373,7 @@ class PLL_Frontend_Links extends PLL_Links {
373
 
374
  elseif (is_search()) {
375
  $url = $this->get_archive_url($language);
376
-
377
  // special case for search filtered by translated taxonomies: taxonomy terms are translated in the translation url
378
  if (!empty($wp_query->tax_query->queries)) {
379
 
@@ -394,7 +394,7 @@ class PLL_Frontend_Links extends PLL_Links {
394
  }
395
  }
396
  }
397
-
398
  // translated taxonomy
399
  // take care that is_tax() is false for categories and tags
400
  elseif ((is_category() || is_tag() || is_tax()) && ($term = get_queried_object()) && $this->model->is_translated_taxonomy($term->taxonomy)) {
@@ -410,6 +410,12 @@ class PLL_Frontend_Links extends PLL_Links {
410
  }
411
  }
412
 
 
 
 
 
 
 
413
  elseif (is_archive()) {
414
  $keys = array('post_type', 'm', 'year', 'monthnum', 'day', 'author', 'author_name');
415
  $keys = array_merge($keys, $this->model->get_filtered_taxonomies_query_vars());
@@ -530,14 +536,14 @@ class PLL_Frontend_Links extends PLL_Links {
530
  else {
531
  // first get the canonical url evaluated by WP
532
  $redirect_url = (!$redirect_url = redirect_canonical($requested_url, false)) ? $requested_url : $redirect_url;
533
-
534
  // then get the right language code in url
535
  $redirect_url = $this->options['force_lang'] ?
536
  $this->links_model->switch_language_in_link($redirect_url, $language) :
537
  $this->links_model->remove_language_from_link($redirect_url); // works only for default permalinks
538
  }
539
 
540
- // allow plugins to change the redirection or even cancel it by setting $redirect_url to false
541
  $redirect_url = apply_filters('pll_check_canonical_url', $redirect_url, $language);
542
 
543
  // the language is not correctly set so let's redirect to the correct url for this object
90
  public function archive_link($link) {
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
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
123
  }
124
  return $_link;
125
  }
126
+
127
  /*
128
  * modifies page links
129
  * caches the result
263
  parse_str($query, $query_vars);
264
  $url = add_query_arg($query_vars, $url);
265
  }
266
+
267
  return $url;
268
  }
269
 
273
 
274
  return $redirect_url;
275
  }
276
+
277
  /*
278
  * checks if a file is in a directory or its subdirectories
279
  * the comparison takes care of Windows on which WP can mix \ and /
280
+ *
281
  * @since 1.7
282
+ *
283
  * @param string $file
284
  * @param string $dir
285
  * @return bool
354
  global $wp_query;
355
  $qv = $wp_query->query_vars;
356
  $hide = $this->options['default_lang'] == $language->slug && $this->options['hide_default'];
357
+
358
  // make sure that we have the queried object
359
  // see https://wordpress.org/support/topic/patch-for-fixing-a-notice
360
  $queried_object_id = $wp_query->get_queried_object_id();
373
 
374
  elseif (is_search()) {
375
  $url = $this->get_archive_url($language);
376
+
377
  // special case for search filtered by translated taxonomies: taxonomy terms are translated in the translation url
378
  if (!empty($wp_query->tax_query->queries)) {
379
 
394
  }
395
  }
396
  }
397
+
398
  // translated taxonomy
399
  // take care that is_tax() is false for categories and tags
400
  elseif ((is_category() || is_tag() || is_tax()) && ($term = get_queried_object()) && $this->model->is_translated_taxonomy($term->taxonomy)) {
410
  }
411
  }
412
 
413
+ // post type archive
414
+ elseif (is_post_type_archive()) {
415
+ if ($this->model->is_translated_post_type($qv['post_type']) && $this->model->count_posts($language, array('post_type' => $qv['post_type'])))
416
+ $url = $this->get_archive_url($language);
417
+ }
418
+
419
  elseif (is_archive()) {
420
  $keys = array('post_type', 'm', 'year', 'monthnum', 'day', 'author', 'author_name');
421
  $keys = array_merge($keys, $this->model->get_filtered_taxonomies_query_vars());
536
  else {
537
  // first get the canonical url evaluated by WP
538
  $redirect_url = (!$redirect_url = redirect_canonical($requested_url, false)) ? $requested_url : $redirect_url;
539
+
540
  // then get the right language code in url
541
  $redirect_url = $this->options['force_lang'] ?
542
  $this->links_model->switch_language_in_link($redirect_url, $language) :
543
  $this->links_model->remove_language_from_link($redirect_url); // works only for default permalinks
544
  }
545
 
546
+ // allow plugins to change the redirection or even cancel it by setting $redirect_url to false
547
  $redirect_url = apply_filters('pll_check_canonical_url', $redirect_url, $language);
548
 
549
  // the language is not correctly set so let's redirect to the correct url for this object
frontend/frontend-nav-menu.php CHANGED
@@ -5,8 +5,8 @@
5
  *
6
  * @since 1.2
7
  */
8
- class PLL_Frontend_Nav_Menu {
9
- public $options, $curlang;
10
 
11
  /*
12
  * constructor
@@ -14,7 +14,8 @@ class PLL_Frontend_Nav_Menu {
14
  * @since 1.2
15
  */
16
  public function __construct(&$polylang) {
17
- $this->options = &$polylang->options;
 
18
  $this->curlang = &$polylang->curlang;
19
 
20
  // split the language switcher menu item in several language menu items
@@ -130,6 +131,7 @@ class PLL_Frontend_Nav_Menu {
130
 
131
  /*
132
  * fills the theme nav menus locations with the right menu in the right language
 
133
  *
134
  * @since 1.2
135
  *
@@ -137,7 +139,13 @@ class PLL_Frontend_Nav_Menu {
137
  * @return array|bool modified list of nav menus locations
138
  */
139
  public function nav_menu_locations($menus) {
140
- if (is_array($menus)) {
 
 
 
 
 
 
141
  // support for theme customizer
142
  // let's look for multilingual menu locations directly in $_POST as there are not in customizer object
143
  if (isset($_POST['wp_customize'], $_POST['customized'])) {
@@ -151,18 +159,13 @@ class PLL_Frontend_Nav_Menu {
151
  $loc = substr($loc, 0, $pos);
152
  $menus[$loc] = $c;
153
  }
 
 
 
154
  }
155
  }
156
  }
157
  }
158
-
159
- // otherwise get multilingual menu locations from DB
160
- else {
161
- $theme = get_option('stylesheet');
162
-
163
- foreach ($menus as $loc => $menu)
164
- $menus[$loc] = empty($this->options['nav_menus'][$theme][$loc][$this->curlang->slug]) ? 0 : $this->options['nav_menus'][$theme][$loc][$this->curlang->slug];
165
- }
166
  }
167
  return $menus;
168
  }
5
  *
6
  * @since 1.2
7
  */
8
+ class PLL_Frontend_Nav_Menu extends PLL_Nav_Menu {
9
+ public $curlang;
10
 
11
  /*
12
  * constructor
14
  * @since 1.2
15
  */
16
  public function __construct(&$polylang) {
17
+ parent::__construct($polylang);
18
+
19
  $this->curlang = &$polylang->curlang;
20
 
21
  // split the language switcher menu item in several language menu items
131
 
132
  /*
133
  * fills the theme nav menus locations with the right menu in the right language
134
+ * needs to wait for the language to be defined
135
  *
136
  * @since 1.2
137
  *
139
  * @return array|bool modified list of nav menus locations
140
  */
141
  public function nav_menu_locations($menus) {
142
+ if (is_array($menus) && !empty($this->curlang)) {
143
+ // first get multilingual menu locations from DB
144
+ $theme = get_option('stylesheet');
145
+
146
+ foreach ($menus as $loc => $menu)
147
+ $menus[$loc] = empty($this->options['nav_menus'][$theme][$loc][$this->curlang->slug]) ? 0 : $this->options['nav_menus'][$theme][$loc][$this->curlang->slug];
148
+
149
  // support for theme customizer
150
  // let's look for multilingual menu locations directly in $_POST as there are not in customizer object
151
  if (isset($_POST['wp_customize'], $_POST['customized'])) {
159
  $loc = substr($loc, 0, $pos);
160
  $menus[$loc] = $c;
161
  }
162
+ elseif ($this->curlang->slug == $this->options['default_lang']) {
163
+ $menus[$loc] = $c;
164
+ }
165
  }
166
  }
167
  }
168
  }
 
 
 
 
 
 
 
 
169
  }
170
  return $menus;
171
  }
frontend/frontend.php CHANGED
@@ -53,6 +53,9 @@ class PLL_Frontend extends PLL_Base {
53
  $c = array('Content', 'Url', 'Url', 'Domain');
54
  $class = 'PLL_Choose_Lang_' . $c[$this->options['force_lang']];
55
  $this->choose_lang = new $class($this);
 
 
 
56
  }
57
 
58
  /*
@@ -64,9 +67,6 @@ class PLL_Frontend extends PLL_Base {
64
  // filters
65
  $this->filters = new PLL_Frontend_Filters($this);
66
  $this->filters_search = new PLL_Frontend_Filters_Search($this);
67
-
68
- // nav menu
69
- $this->nav_menu = new PLL_Frontend_Nav_Menu($this);
70
  }
71
 
72
  /*
@@ -115,8 +115,8 @@ class PLL_Frontend extends PLL_Base {
115
  if (empty($taxonomies) && ($query->is_author || $query->is_post_type_archive || $query->is_date || $query->is_search)) {
116
  $query->is_tax = false;
117
  unset($query->queried_object); // FIXME useless?
118
- }
119
-
120
  // move the language tax_query at the end to avoid it being the queried object
121
  if (!empty($taxonomies) && 'language' == reset( $queried_taxonomies )) {
122
  $query->tax_query->queried_terms['language'] = array_shift($query->tax_query->queried_terms);
53
  $c = array('Content', 'Url', 'Url', 'Domain');
54
  $class = 'PLL_Choose_Lang_' . $c[$this->options['force_lang']];
55
  $this->choose_lang = new $class($this);
56
+
57
+ // need to load nav menu class early to correctly define the locations in the customizer when the language is set from the content
58
+ $this->nav_menu = new PLL_Frontend_Nav_Menu($this);
59
  }
60
 
61
  /*
67
  // filters
68
  $this->filters = new PLL_Frontend_Filters($this);
69
  $this->filters_search = new PLL_Frontend_Filters_Search($this);
 
 
 
70
  }
71
 
72
  /*
115
  if (empty($taxonomies) && ($query->is_author || $query->is_post_type_archive || $query->is_date || $query->is_search)) {
116
  $query->is_tax = false;
117
  unset($query->queried_object); // FIXME useless?
118
+ }
119
+
120
  // move the language tax_query at the end to avoid it being the queried object
121
  if (!empty($taxonomies) && 'language' == reset( $queried_taxonomies )) {
122
  $query->tax_query->queried_terms['language'] = array_shift($query->tax_query->queried_terms);
include/mo.php CHANGED
@@ -42,7 +42,7 @@ class PLL_MO extends MO {
42
  // json_encode would take less space but is slower to decode
43
  // wp_insert_post expects slashed data
44
  $post['post_content'] = addslashes(serialize($strings));
45
- $post['post_status'] = 'publish';
46
  $post['post_type'] = 'polylang_mo';
47
  wp_insert_post($post);
48
  }
42
  // json_encode would take less space but is slower to decode
43
  // wp_insert_post expects slashed data
44
  $post['post_content'] = addslashes(serialize($strings));
45
+ $post['post_status'] = 'private'; // to avoid a conflict with WP Super Cache. See https://wordpress.org/support/topic/polylang_mo-and-404s-take-2
46
  $post['post_type'] = 'polylang_mo';
47
  wp_insert_post($post);
48
  }
include/model.php CHANGED
@@ -147,7 +147,7 @@ class PLL_Model {
147
  */
148
  public function get_languages_list($args = array()) {
149
  if (false === $languages = $this->cache->get('languages')) {
150
-
151
  // create the languages from taxonomies
152
  if ((defined('PLL_CACHE_LANGUAGES') && !PLL_CACHE_LANGUAGES) || false === ($languages = get_transient('pll_languages_list'))) {
153
  $languages = get_terms('language', array('hide_empty' => false, 'orderby'=> 'term_group'));
@@ -162,14 +162,14 @@ class PLL_Model {
162
  foreach ($languages as $k => $v) {
163
  $languages[$k] = new PLL_Language($v, $term_languages[$v->name]);
164
  }
165
-
166
  $languages = apply_filters('pll_languages_list', $languages);
167
  }
168
  else {
169
  $languages = array(); // in case something went wrong
170
  }
171
  }
172
-
173
  // create the languages directly from arrays stored in transients
174
  else {
175
  foreach ($languages as $k => $v) {
@@ -398,11 +398,11 @@ class PLL_Model {
398
 
399
  // make sure we return only translations (thus we allow plugins to store other informations in the array)
400
  $translations = array_intersect_key($translations, array_flip($this->get_languages_list(array('fields' => 'slug'))));
401
-
402
  // make sure to return at least the passed post or term in its translation array
403
  if (empty($translations) && $type && $lang = call_user_func(array(&$this, 'get_'.$type.'_language'), $id))
404
  $translations = array($lang->slug => $id);
405
-
406
  return $translations;
407
  }
408
 
@@ -617,7 +617,7 @@ class PLL_Model {
617
  $post_types['attachement'] = 'attachment';
618
 
619
  if (is_array($this->options['post_types']))
620
- $post_types = array_merge($post_types, $this->options['post_types']);
621
 
622
  $post_types = apply_filters('pll_get_post_types', $post_types , false);
623
  }
@@ -668,7 +668,7 @@ class PLL_Model {
668
  $taxonomies = array('category' => 'category', 'post_tag' => 'post_tag');
669
 
670
  if (is_array($this->options['taxonomies']))
671
- $taxonomies = array_merge($taxonomies, $this->options['taxonomies']);
672
 
673
  $taxonomies = apply_filters('pll_get_taxonomies', $taxonomies, false);
674
  }
@@ -698,9 +698,10 @@ class PLL_Model {
698
  * @return array array of registered taxonomy names
699
  */
700
  public function get_filtered_taxonomies($filter = true) {
701
- static $taxonomies = null;
 
702
 
703
- if (null === $taxonomies || !did_action('after_setup_theme')) {
704
  $taxonomies = array('post_format' => 'post_format');
705
  $taxonomies = apply_filters('pll_filtered_taxonomies', $taxonomies, false);
706
  }
@@ -789,7 +790,7 @@ class PLL_Model {
789
  global $wpdb;
790
 
791
  $term_name = trim(wp_unslash($term_name));
792
-
793
  $select = "SELECT t.term_id FROM $wpdb->terms AS t";
794
  $join = " INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id";
795
  $join .= $this->join_clause('term');
147
  */
148
  public function get_languages_list($args = array()) {
149
  if (false === $languages = $this->cache->get('languages')) {
150
+
151
  // create the languages from taxonomies
152
  if ((defined('PLL_CACHE_LANGUAGES') && !PLL_CACHE_LANGUAGES) || false === ($languages = get_transient('pll_languages_list'))) {
153
  $languages = get_terms('language', array('hide_empty' => false, 'orderby'=> 'term_group'));
162
  foreach ($languages as $k => $v) {
163
  $languages[$k] = new PLL_Language($v, $term_languages[$v->name]);
164
  }
165
+
166
  $languages = apply_filters('pll_languages_list', $languages);
167
  }
168
  else {
169
  $languages = array(); // in case something went wrong
170
  }
171
  }
172
+
173
  // create the languages directly from arrays stored in transients
174
  else {
175
  foreach ($languages as $k => $v) {
398
 
399
  // make sure we return only translations (thus we allow plugins to store other informations in the array)
400
  $translations = array_intersect_key($translations, array_flip($this->get_languages_list(array('fields' => 'slug'))));
401
+
402
  // make sure to return at least the passed post or term in its translation array
403
  if (empty($translations) && $type && $lang = call_user_func(array(&$this, 'get_'.$type.'_language'), $id))
404
  $translations = array($lang->slug => $id);
405
+
406
  return $translations;
407
  }
408
 
617
  $post_types['attachement'] = 'attachment';
618
 
619
  if (is_array($this->options['post_types']))
620
+ $post_types = array_merge($post_types, array_combine($this->options['post_types'], $this->options['post_types']));
621
 
622
  $post_types = apply_filters('pll_get_post_types', $post_types , false);
623
  }
668
  $taxonomies = array('category' => 'category', 'post_tag' => 'post_tag');
669
 
670
  if (is_array($this->options['taxonomies']))
671
+ $taxonomies = array_merge($taxonomies, array_combine($this->options['taxonomies'], $this->options['taxonomies']));
672
 
673
  $taxonomies = apply_filters('pll_get_taxonomies', $taxonomies, false);
674
  }
698
  * @return array array of registered taxonomy names
699
  */
700
  public function get_filtered_taxonomies($filter = true) {
701
+ if (did_action('after_setup_theme'))
702
+ static $taxonomies = null;
703
 
704
+ if (empty($taxonomies)) {
705
  $taxonomies = array('post_format' => 'post_format');
706
  $taxonomies = apply_filters('pll_filtered_taxonomies', $taxonomies, false);
707
  }
790
  global $wpdb;
791
 
792
  $term_name = trim(wp_unslash($term_name));
793
+
794
  $select = "SELECT t.term_id FROM $wpdb->terms AS t";
795
  $join = " INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id";
796
  $join .= $this->join_clause('term');
include/nav-menu.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * manages custom menus translations
5
+ * common to admin and frontend for the customizer
6
+ *
7
+ * @since 1.7.7
8
+ */
9
+ class PLL_Nav_Menu {
10
+ public $model, $options;
11
+
12
+ /*
13
+ * constructor: setups filters and actions
14
+ *
15
+ * @since 1.7.7
16
+ *
17
+ * @param object $polylang
18
+ */
19
+ public function __construct(&$polylang) {
20
+ $this->model = &$polylang->model;
21
+ $this->options = &$polylang->options;
22
+
23
+ // integration with WP customizer
24
+ add_action('customize_register', array(&$this, 'create_nav_menu_locations'), 5);
25
+ }
26
+
27
+ /*
28
+ * create temporary nav menu locations (one per location and per language) for all non-default language
29
+ * to do only one time
30
+ *
31
+ * @since 1.2
32
+ */
33
+ public function create_nav_menu_locations() {
34
+ static $once;
35
+ global $_wp_registered_nav_menus;
36
+
37
+ if (isset($_wp_registered_nav_menus) && !$once) {
38
+ foreach ($_wp_registered_nav_menus as $loc => $name)
39
+ foreach ($this->model->get_languages_list() as $lang)
40
+ $arr[$loc . (pll_default_language() == $lang->slug ? '' : '___' . $lang->slug)] = $name . ' ' . $lang->name;
41
+
42
+ $_wp_registered_nav_menus = $arr;
43
+ $once = true;
44
+ }
45
+ }
46
+ }
include/pointer.php ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * a class to manage WP pointers
5
+ * offers the possibility to have customized buttons
6
+ *
7
+ * @since 1.7.7
8
+ */
9
+ class PLL_Pointer {
10
+ protected $args;
11
+
12
+ /*
13
+ * constructor
14
+ * enqueues the pointer script
15
+ *
16
+ * list of parameters accepted in $args:
17
+ *
18
+ * pointer => required, unique identifier of the pointer
19
+ * id => required, the pointer will be attached to this html id
20
+ * position => optional array, if used both sub parameters are required
21
+ * edge => 'top' or 'bottom'
22
+ * align => 'right' or 'left'
23
+ * width => optional, the width in px
24
+ * title => required, title
25
+ * content => required, content
26
+ * buttons => optional array of arrays, by default the pointer uses the standard dismiss button offered by WP
27
+ * label => the label of the button
28
+ * link => optional link for the button. By default, the button just dismisses the pointer
29
+ *
30
+ * @since 1.7.7
31
+ *
32
+ * @param array $args
33
+ */
34
+ public function __construct($args) {
35
+ $this->args = $args;
36
+ add_action('admin_enqueue_scripts', array(&$this, 'enqueue_scripts'));
37
+ }
38
+
39
+ /*
40
+ * enqueue javascripts and styles if the pointer has not been dismissed
41
+ *
42
+ * @since 1.7.7
43
+ */
44
+ public function enqueue_scripts() {
45
+ $dismissed = explode(',', get_user_meta(get_current_user_id(), 'dismissed_wp_pointers', true));
46
+ if (in_array($this->args['pointer'], $dismissed) || !current_user_can('manage_options'))
47
+ return;
48
+
49
+ // Add pointer javascript
50
+ add_action('admin_print_footer_scripts', array(&$this, 'print_js'));
51
+
52
+ wp_enqueue_style('wp-pointer');
53
+ wp_enqueue_script('wp-pointer');
54
+ }
55
+
56
+ /*
57
+ * adds the javascript of our pointer to the page
58
+ *
59
+ * @since 1.7.7
60
+ */
61
+ public function print_js() {
62
+
63
+ // add optional buttons
64
+ if (!empty($this->args['buttons'])) {
65
+ $b = "
66
+ var widget = pointer.pointer('widget');
67
+ var buttons = $('.wp-pointer-buttons', widget);
68
+ $('a.close', widget).remove();"; // removes the WP button
69
+
70
+ // all the buttons use the standard WP ajax action to remember the pointer has been dismissed
71
+ foreach ($this->args['buttons'] as $button) {
72
+ $b .= sprintf("
73
+ $('<a>').addClass('%s').html('%s').css('margin-left', '10px').click(function() {
74
+ $.post(ajaxurl, {
75
+ pointer: '%s',
76
+ action: 'dismiss-wp-pointer'
77
+ }, function(response) {
78
+ %s
79
+ });
80
+ }).appendTo(buttons);",
81
+ empty($button['link']) ? 'button' : 'button button-primary',
82
+ $button['label'],
83
+ $this->args['pointer'],
84
+ empty($button['link']) ? "pointer.pointer('close')" : sprintf("location.href = '%s'", $button['link'])
85
+ );
86
+ }
87
+ }
88
+
89
+ $js = sprintf("
90
+ //<![CDATA[
91
+ jQuery(document).ready(function($) {
92
+ var pointer = $('#%s').pointer({
93
+ content: '%s',
94
+ %s
95
+ %s
96
+ });
97
+ pointer.pointer('open');
98
+ %s
99
+ });
100
+ // ]]>",
101
+ $this->args['id'],
102
+ sprintf('<h3>%s</h3><p>%s</p>', $this->args['title'], $this->args['content']),
103
+ empty($this->args['position']) ? '' : sprintf('position: {edge: "%s", align: "%s",},', $this->args['position']['edge'], $this->args['position']['align']),
104
+ empty($this->args['width']) ? '' : sprintf('pointerWidth: %d,', $this->args['width']),
105
+ empty($b) ? '' : $b
106
+ );
107
+ echo "<script type='text/javascript'>" .$js. "</script>";
108
+ }
109
+ }
include/wpml-config.php CHANGED
@@ -22,7 +22,7 @@ class PLL_WPML_Config {
22
  public function __construct() {
23
  $this->init();
24
  }
25
-
26
  /*
27
  * access to the single instance of the class
28
  *
@@ -268,7 +268,7 @@ class PLL_WPML_Config {
268
  foreach ($context['custom-type'] as $pt) {
269
  if ($pt['attributes']['translate'] == 1 && !$hide)
270
  $types[$pt['value']] = $pt['value'];
271
- elseif ($hide)
272
  unset ($types[$pt['value']]); // the author decided what to do with the post type so don't allow the user to change this
273
  }
274
  }
@@ -289,7 +289,7 @@ class PLL_WPML_Config {
289
  foreach ($context['taxonomy'] as $tax) {
290
  if ($tax['attributes']['translate'] == 1 && !$hide)
291
  $taxonomies[$tax['value']] = $tax['value'];
292
- elseif ($hide)
293
  unset ($taxonomies[$tax['value']]); // the author decided what to do with the taxonomy so don't allow the user to change this
294
  }
295
  }
22
  public function __construct() {
23
  $this->init();
24
  }
25
+
26
  /*
27
  * access to the single instance of the class
28
  *
268
  foreach ($context['custom-type'] as $pt) {
269
  if ($pt['attributes']['translate'] == 1 && !$hide)
270
  $types[$pt['value']] = $pt['value'];
271
+ else
272
  unset ($types[$pt['value']]); // the author decided what to do with the post type so don't allow the user to change this
273
  }
274
  }
289
  foreach ($context['taxonomy'] as $tax) {
290
  if ($tax['attributes']['translate'] == 1 && !$hide)
291
  $taxonomies[$tax['value']] = $tax['value'];
292
+ else
293
  unset ($taxonomies[$tax['value']]); // the author decided what to do with the taxonomy so don't allow the user to change this
294
  }
295
  }
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($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,7 +73,7 @@ class PLL_Install_Base {
73
  *
74
  * @since 0.5
75
  */
76
- protected function _activate($networkwide) {
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($networkwide) {
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($networkwide); // FIXME will avoid flushing rules
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() : $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
  *
74
  * @since 0.5
75
  */
76
+ protected function _activate() {
77
  // can be overriden in child class
78
  }
79
 
91
  *
92
  * @since 0.5
93
  */
94
+ protected function _deactivate() {
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();
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($networkwide) {
39
  global $polylang;
40
 
41
  if ($options = get_option('polylang')) {
@@ -71,9 +71,9 @@ class PLL_Install extends PLL_Install_Base {
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,9 +81,7 @@ class PLL_Install extends PLL_Install_Base {
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
  }
35
  *
36
  * @since 0.5
37
  */
38
+ protected function _activate() {
39
  global $polylang;
40
 
41
  if ($options = get_option('polylang')) {
71
  $polylang->links_model = $polylang->model->get_links_model();
72
  do_action('pll_init');
73
 
74
+ // don't use flush_rewrite_rules at network activation. See #32471
75
+ // thanks to RavanH for the trick. See https://polylang.wordpress.com/2015/06/10/polylang-1-7-6-and-multisite/
76
+ delete_option('rewrite_rules');
77
  }
78
 
79
  /*
81
  *
82
  * @since 0.5
83
  */
84
+ protected function _deactivate() {
85
+ delete_option('rewrite_rules'); // don't use flush_rewrite_rules at network activation. See #32471
 
 
86
  }
87
  }
install/upgrade.php CHANGED
@@ -95,6 +95,7 @@ class PLL_Upgrade {
95
  if (absint(get_transient('pll_upgrade_1_4')) < time())
96
  $this->delete_pre_1_2_data();
97
 
 
98
  $this->options['version'] = POLYLANG_VERSION;
99
  update_option('polylang', $this->options);
100
  }
@@ -496,11 +497,11 @@ class PLL_Upgrade {
496
  $upgrader = new Language_Pack_Upgrader(new Automatic_Upgrader_Skin);
497
  $upgrader->bulk_upgrade($translations_to_load, array('clear_update_cache' => false));
498
  }
499
- }
500
-
501
  /*
502
  * upgrades if the previous version is < 1.7.4
503
- *
504
  * @since 1.7.4
505
  */
506
  protected function upgrade_1_7_4() {
95
  if (absint(get_transient('pll_upgrade_1_4')) < time())
96
  $this->delete_pre_1_2_data();
97
 
98
+ $this->options['previous_version'] = $this->options['version']; // remember the previous version of Polylang
99
  $this->options['version'] = POLYLANG_VERSION;
100
  update_option('polylang', $this->options);
101
  }
497
  $upgrader = new Language_Pack_Upgrader(new Automatic_Upgrader_Skin);
498
  $upgrader->bulk_upgrade($translations_to_load, array('clear_update_cache' => false));
499
  }
500
+ }
501
+
502
  /*
503
  * upgrades if the previous version is < 1.7.4
504
+ *
505
  * @since 1.7.4
506
  */
507
  protected function upgrade_1_7_4() {
js/admin.js CHANGED
@@ -10,6 +10,15 @@ jQuery(document).ready(function($) {
10
  $('#lang_name').val(selected[0]);
11
  });
12
 
 
 
 
 
 
 
 
 
 
13
  // settings page
14
  // manages visibility of fields
15
  $("input[name='force_lang']").change(function() {
10
  $('#lang_name').val(selected[0]);
11
  });
12
 
13
+ // strings translations
14
+ // save translations when pressing enter
15
+ $('.translation input').keypress( function(event){
16
+ if( 13 === event.keyCode ) {
17
+ event.preventDefault();
18
+ $('#submit').click();
19
+ }
20
+ });
21
+
22
  // settings page
23
  // manages visibility of fields
24
  $("input[name='force_lang']").change(function() {
js/admin.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(a){a("#lang_list").change(function(){value=a(this).val().split("-");selected=a("select option:selected").text().split(" - ");a("#lang_slug").val(value[0]);a("#lang_locale").val(value[1]);a('input[name="rtl"]').val([value[2]]);a("#lang_name").val(selected[0])});a("input[name='force_lang']").change(function(){function b(d,e){e?d.show():d.hide()}var c=a(this).val();b(a("#pll-domains-table"),3==c);b(a("#pll-hide-default"),3>c);b(a("#pll-detect-browser"),3>c);b(a("#pll-rewrite"),2>c);b(a("#pll-url-complements"),3>c||a("input[name='redirect_lang']").size())})});
1
+ jQuery(document).ready(function(a){a("#lang_list").change(function(){value=a(this).val().split("-");selected=a("select option:selected").text().split(" - ");a("#lang_slug").val(value[0]);a("#lang_locale").val(value[1]);a('input[name="rtl"]').val([value[2]]);a("#lang_name").val(selected[0])});a(".translation input").keypress(function(b){if(13===b.keyCode){b.preventDefault();a("#submit").click()}});a("input[name='force_lang']").change(function(){function b(d,e){e?d.show():d.hide()}var c=a(this).val();b(a("#pll-domains-table"),3==c);b(a("#pll-hide-default"),3>c);b(a("#pll-detect-browser"),3>c);b(a("#pll-rewrite"),2>c);b(a("#pll-url-complements"),3>c||a("input[name='redirect_lang']").size())})});
languages/polylang-fr_FR.mo CHANGED
Binary file
languages/polylang-fr_FR.po CHANGED
@@ -3,14 +3,14 @@ msgstr ""
3
  "Project-Id-Version: Polylang v1.6beta1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2015-02-14 09:10+0100\n"
7
- "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=n>1;\n"
13
- "X-Generator: Poedit 1.5.4\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
  "_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"
@@ -30,7 +30,7 @@ msgid ""
30
  msgstr ""
31
  "Polylang est fourni avec une %sdocumentation%s (en anglais). Elle explique "
32
  "comment installer votre site multilingue et l&rsquo;utiliser au jour le "
33
- "jour. Elle contient aussi une FAQ et une documentation pour les programmeurs "
34
  "leur permettant d&rsquo;adapter leurs extensions et leurs thèmes."
35
 
36
  # @ polylang
@@ -42,7 +42,7 @@ msgid ""
42
  msgstr ""
43
  "Vous pouvez aussi trouver des informations dans le %sforum de support%s (en "
44
  "anglais). Cependant, n&rsquo;oubliez pas de faire une recherche avant de "
45
- "poster."
46
 
47
  # @ polylang
48
  #: admin/view-about.php:16
@@ -58,7 +58,7 @@ msgstr ""
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 "Si vous souhaitez aider le projet, %slisez cela%s."
62
 
63
  # @ polylang
64
  #: admin/view-about.php:27
@@ -98,7 +98,7 @@ msgstr "Cacher la langue courante"
98
  # @ polylang
99
  #: include/switcher.php:30
100
  msgid "Displays as dropdown"
101
- msgstr "Afficher comme liste déroulante"
102
 
103
  # @ polylang
104
  #: admin/admin.php:267
@@ -113,7 +113,7 @@ msgstr "Afficher toutes les langues"
113
  # @ polylang
114
  #: admin/admin-filters-columns.php:140 admin/admin-filters-columns.php:230
115
  msgid "Add new translation"
116
- msgstr "Ajoute une nouvelle traduction"
117
 
118
  # @ polylang
119
  #: admin/admin-filters-columns.php:173 admin/admin-filters-media.php:55
@@ -167,17 +167,17 @@ msgstr "Mise à jour des fichiers de langues&#8230;"
167
  # @ polylang
168
  #: admin/settings.php:62
169
  msgid "About Polylang"
170
- msgstr "A propos de Polylang"
171
 
172
  # @ polylang
173
  #: admin/settings.php:78
174
  msgid "Strings translations"
175
- msgstr "Traductions de phrases"
176
 
177
  # @ polylang
178
  #: admin/settings.php:101
179
  msgid "Strings translation"
180
- msgstr "Traduction de phrases"
181
 
182
  # @ polylang
183
  #: admin/admin-model.php:244
@@ -206,7 +206,7 @@ msgstr ""
206
  # @ polylang
207
  #: admin/admin-strings.php:59
208
  msgid "Widget title"
209
- msgstr "Titre de widget"
210
 
211
  # @ polylang
212
  #: admin/settings.php:319
@@ -246,7 +246,7 @@ msgstr "Format"
246
  # @ polylang
247
  #: admin/settings.php:326
248
  msgid "Page parent"
249
- msgstr "Parent de page"
250
 
251
  # @ polylang
252
  #: admin/settings.php:327
@@ -261,7 +261,7 @@ msgstr "Ordre des pages"
261
  # @ polylang
262
  #: admin/settings.php:329
263
  msgid "Featured image"
264
- msgstr "Image à la une"
265
 
266
  # @ polylang
267
  #: admin/view-tab-lang.php:21
@@ -282,7 +282,7 @@ msgstr "Choisir une langue"
282
  #: admin/view-tab-lang.php:51
283
  msgid "You can choose a language in the list or directly edit it below."
284
  msgstr ""
285
- "Choisissez une langue dans la liste ou éditez la directement ci-dessous."
286
 
287
  # @ polylang
288
  #: admin/table-languages.php:74 admin/view-tab-lang.php:55
@@ -359,7 +359,7 @@ msgstr "Chercher dans les traductions"
359
  # @ polylang
360
  #: admin/view-tab-strings.php:11
361
  msgid "Clean strings translation database"
362
- msgstr "Nettoyer les traductions inutilisées"
363
 
364
  # @ polylang
365
  #: admin/view-tab-settings.php:14
@@ -372,8 +372,8 @@ msgid ""
372
  "There are posts, pages, categories or tags without language set. Do you want "
373
  "to set them all to default language ?"
374
  msgstr ""
375
- "Il y a des articles, pages, catégories ou tags sans langue définie. Voulez-"
376
- "vous leur attribuer la langue par défaut&nbsp;?"
377
 
378
  # @ polylang
379
  #: admin/view-tab-settings.php:149
@@ -386,9 +386,8 @@ msgid ""
386
  "When the front page is visited, set the language according to the browser "
387
  "preference"
388
  msgstr ""
389
- "Lorsque la page d&rsquo;accueil est visitée pour la première fois, le "
390
- "visiteur est redirigé à la bonne URL en fonction des préférences de langue "
391
- "de son navigateur"
392
 
393
  # @ polylang
394
  #: admin/view-tab-settings.php:37
@@ -410,7 +409,7 @@ msgstr "Médias"
410
  # @ polylang
411
  #: admin/view-tab-settings.php:168
412
  msgid "Activate languages and translations for media"
413
- msgstr "Activer la gestion des langues et des traductions pour les médias"
414
 
415
  # @ polylang
416
  #: admin/view-tab-settings.php:215
@@ -420,7 +419,7 @@ msgstr "Synchronisation"
420
  # @ polylang
421
  #: admin/view-tab-settings.php:176
422
  msgid "Custom post types"
423
- msgstr "Types de contenu"
424
 
425
  # @ polylang
426
  #: admin/view-tab-settings.php:189
@@ -472,7 +471,7 @@ msgstr "Nom"
472
  # @ polylang
473
  #: admin/table-string.php:111
474
  msgid "String"
475
- msgstr "Phrase"
476
 
477
  # @ polylang
478
  #: admin/view-translations-media.php:30 admin/view-translations-post.php:21
@@ -488,7 +487,7 @@ msgstr "Liste des langues"
488
  # @ polylang
489
  #: include/widget-languages.php:16
490
  msgid "Displays a language switcher"
491
- msgstr "Affiche la liste des langues"
492
 
493
  # @ polylang
494
  #: include/widget-languages.php:75
@@ -519,7 +518,8 @@ msgstr ""
519
  #: install/upgrade.php:78
520
  #, php-format
521
  msgid "Please upgrade first to %s before ugrading to %s."
522
- msgstr "Mettez à jour d&rsquo;abord vers %s avant de mettre à jour vers %s."
 
523
 
524
  # @ polylang
525
  #: admin/table-string.php:109
@@ -534,7 +534,7 @@ msgstr "Voir tous les groupes"
534
  # @ polylang
535
  #: admin/table-languages.php:59
536
  msgid "You are about to permanently delete this language. Are you sure?"
537
- msgstr "Etes vous sûr de vouloir effacer cette langue&nbsp;?"
538
 
539
  # @ polylang
540
  #: admin/view-tab-strings.php:12
@@ -602,7 +602,7 @@ msgstr "Supprimer /language/ dans les permaliens"
602
  # @ polylang
603
  #: admin/view-tab-settings.php:116
604
  msgid "Keep /language/ in pretty permalinks"
605
- msgstr "conserver /language/ dans les permaliens"
606
 
607
  # @ polylang
608
  #: admin/view-tab-settings.php:131
3
  "Project-Id-Version: Polylang v1.6beta1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2015-06-26 10:13+0100\n"
7
+ "Last-Translator: fxbenard | FxB <fx@fxbenard.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=n>1;\n"
13
+ "X-Generator: Poedit 1.8.1\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
  "_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"
30
  msgstr ""
31
  "Polylang est fourni avec une %sdocumentation%s (en anglais). Elle explique "
32
  "comment installer votre site multilingue et l&rsquo;utiliser au jour le "
33
+ "jour. Elle contient aussi une FAQ et une documentation pour les développeurs "
34
  "leur permettant d&rsquo;adapter leurs extensions et leurs thèmes."
35
 
36
  # @ polylang
42
  msgstr ""
43
  "Vous pouvez aussi trouver des informations dans le %sforum de support%s (en "
44
  "anglais). Cependant, n&rsquo;oubliez pas de faire une recherche avant de "
45
+ "publier."
46
 
47
  # @ polylang
48
  #: admin/view-about.php:16
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 "Si vous souhaitez aider le projet, %slisez ceci%s."
62
 
63
  # @ polylang
64
  #: admin/view-about.php:27
98
  # @ polylang
99
  #: include/switcher.php:30
100
  msgid "Displays as dropdown"
101
+ msgstr "Afficher en liste déroulante"
102
 
103
  # @ polylang
104
  #: admin/admin.php:267
113
  # @ polylang
114
  #: admin/admin-filters-columns.php:140 admin/admin-filters-columns.php:230
115
  msgid "Add new translation"
116
+ msgstr "Ajouter une nouvelle traduction"
117
 
118
  # @ polylang
119
  #: admin/admin-filters-columns.php:173 admin/admin-filters-media.php:55
167
  # @ polylang
168
  #: admin/settings.php:62
169
  msgid "About Polylang"
170
+ msgstr "À propos de Polylang"
171
 
172
  # @ polylang
173
  #: admin/settings.php:78
174
  msgid "Strings translations"
175
+ msgstr "Traductions des chaînes"
176
 
177
  # @ polylang
178
  #: admin/settings.php:101
179
  msgid "Strings translation"
180
+ msgstr "Traduction des chaînes"
181
 
182
  # @ polylang
183
  #: admin/admin-model.php:244
206
  # @ polylang
207
  #: admin/admin-strings.php:59
208
  msgid "Widget title"
209
+ msgstr "Titre du widget"
210
 
211
  # @ polylang
212
  #: admin/settings.php:319
246
  # @ polylang
247
  #: admin/settings.php:326
248
  msgid "Page parent"
249
+ msgstr "Page parent"
250
 
251
  # @ polylang
252
  #: admin/settings.php:327
261
  # @ polylang
262
  #: admin/settings.php:329
263
  msgid "Featured image"
264
+ msgstr "Image à la Une"
265
 
266
  # @ polylang
267
  #: admin/view-tab-lang.php:21
282
  #: admin/view-tab-lang.php:51
283
  msgid "You can choose a language in the list or directly edit it below."
284
  msgstr ""
285
+ "Choisissez une langue dans la liste ou modifiez-la directement ci-dessous."
286
 
287
  # @ polylang
288
  #: admin/table-languages.php:74 admin/view-tab-lang.php:55
359
  # @ polylang
360
  #: admin/view-tab-strings.php:11
361
  msgid "Clean strings translation database"
362
+ msgstr "Nettoyer les chaines de traduction de la base de données"
363
 
364
  # @ polylang
365
  #: admin/view-tab-settings.php:14
372
  "There are posts, pages, categories or tags without language set. Do you want "
373
  "to set them all to default language ?"
374
  msgstr ""
375
+ "Il y a des articles, pages, catégories ou étiquettes sans jeu de langue. "
376
+ "Voulez-vous leur attribuer la langue par défaut&nbsp;?"
377
 
378
  # @ polylang
379
  #: admin/view-tab-settings.php:149
386
  "When the front page is visited, set the language according to the browser "
387
  "preference"
388
  msgstr ""
389
+ "Lorsque la page d&rsquo;accueil est visitée, le visiteur est redirigé en "
390
+ "fonction des préférences de langue de son navigateur"
 
391
 
392
  # @ polylang
393
  #: admin/view-tab-settings.php:37
409
  # @ polylang
410
  #: admin/view-tab-settings.php:168
411
  msgid "Activate languages and translations for media"
412
+ msgstr "Activer la gestion des langues et des traductions pour les médias."
413
 
414
  # @ polylang
415
  #: admin/view-tab-settings.php:215
419
  # @ polylang
420
  #: admin/view-tab-settings.php:176
421
  msgid "Custom post types"
422
+ msgstr "Types de contenu personnalisé"
423
 
424
  # @ polylang
425
  #: admin/view-tab-settings.php:189
471
  # @ polylang
472
  #: admin/table-string.php:111
473
  msgid "String"
474
+ msgstr "Chaîne"
475
 
476
  # @ polylang
477
  #: admin/view-translations-media.php:30 admin/view-translations-post.php:21
487
  # @ polylang
488
  #: include/widget-languages.php:16
489
  msgid "Displays a language switcher"
490
+ msgstr "Afficher la liste des langues"
491
 
492
  # @ polylang
493
  #: include/widget-languages.php:75
518
  #: install/upgrade.php:78
519
  #, php-format
520
  msgid "Please upgrade first to %s before ugrading to %s."
521
+ msgstr ""
522
+ "Veuillez d&rsquo;abord mettre à jour en %s avant de mettre à jour en %s."
523
 
524
  # @ polylang
525
  #: admin/table-string.php:109
534
  # @ polylang
535
  #: admin/table-languages.php:59
536
  msgid "You are about to permanently delete this language. Are you sure?"
537
+ msgstr "Êtes-vous sûr de vouloir supprimer cette langue définitivement&nbsp;?"
538
 
539
  # @ polylang
540
  #: admin/view-tab-strings.php:12
602
  # @ polylang
603
  #: admin/view-tab-settings.php:116
604
  msgid "Keep /language/ in pretty permalinks"
605
+ msgstr "Conserver /language/ dans les permaliens"
606
 
607
  # @ polylang
608
  #: admin/view-tab-settings.php:131
languages/polylang-id_ID.mo CHANGED
Binary file
languages/polylang-id_ID.po CHANGED
@@ -3,10 +3,10 @@ msgstr ""
3
  "Project-Id-Version: Polylang v1.1dev10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2015-02-14 09:19+0100\n"
7
  "Last-Translator: ajoull <ajoull@gmail.com>\n"
8
  "Language-Team: ajoull <ajoull@gmail.com>\n"
9
- "Language: Bahasa Indonesia\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
@@ -16,7 +16,7 @@ msgstr ""
16
  "_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"
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Textdomain-Support: yes\n"
19
- "X-Generator: Poedit 1.5.4\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  # @ polylang
@@ -28,9 +28,9 @@ msgid ""
28
  "on a daily basis, a FAQ, as well as a documentation for programmers to adapt "
29
  "their plugins and themes."
30
  msgstr ""
31
- "Polylang disedikan beserta %sdokumentasi%s yang lengkap (tapi dalam Bahasa "
32
- "Inggris). Dokumentasi tersebut meliputi informasi tentang cara mengeset "
33
- "situs multi-bahasa Anda dan menggunakannya sehari-hari, sebuah FAQ, dan juga "
34
  "dokumentasi untuk para programer untuk mengadaptasi plugin dan theme buatan "
35
  "mereka."
36
 
@@ -43,7 +43,8 @@ msgid ""
43
  msgstr ""
44
  "Anda juga akan menemukan informasi bermanfaat di dalam %sforum pendukung "
45
  "(support forum)%s. Walaupun demikian, lakukan terlebih dahulu pencarian "
46
- "mengenai topik Anda inginkan sebelum membuat topik baru di forum tersebut."
 
47
 
48
  # @ polylang
49
  #: admin/view-about.php:16
@@ -60,7 +61,7 @@ msgstr ""
60
  #, php-format
61
  msgid "If you wonder how you can help the project, just %sread this%s."
62
  msgstr ""
63
- "Jika ingin tahu bagaimana caranya Anda bisa berkontribusi dalam proyek ini, "
64
  "silahkan %sbaca ini%s."
65
 
66
  # @ polylang
@@ -70,7 +71,7 @@ msgid ""
70
  "the author are greatly appreciated."
71
  msgstr ""
72
  "Akhir kata, jika Anda menyukai plugin ini ataupun merasa bahwa plugin ini "
73
- "membantu bisnis Anda, donasi kepada pembuatnya sangat dihargai."
74
 
75
  # @ polylang
76
  #: admin/admin-filters-post.php:115 admin/admin.php:90 admin/settings.php:70
@@ -96,7 +97,7 @@ msgstr "Paksa tautan ke halaman depan"
96
  # @ polylang
97
  #: include/switcher.php:25
98
  msgid "Hides the current language"
99
- msgstr "Sembunyikan bahasa yang berlaku"
100
 
101
  # @ polylang
102
  #: include/switcher.php:30
@@ -155,7 +156,7 @@ msgstr "Bahasa untuk Admin"
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
@@ -165,7 +166,7 @@ msgstr "Pengaturan"
165
  # @ polylang
166
  #: admin/admin-filters.php:160 admin/admin-filters.php:169
167
  msgid "Upgrading language files&#8230;"
168
- msgstr "Meng-upgrade file bahasa&#8230;"
169
 
170
  # @ polylang
171
  #: admin/settings.php:62
@@ -175,12 +176,12 @@ msgstr "Tentang Polylang"
175
  # @ polylang
176
  #: admin/settings.php:78
177
  msgid "Strings translations"
178
- msgstr "Penerjemahan string"
179
 
180
  # @ polylang
181
  #: admin/settings.php:101
182
  msgid "Strings translation"
183
- msgstr "Terjemahan string"
184
 
185
  # @ polylang
186
  #: admin/admin-model.php:244
@@ -239,12 +240,12 @@ msgstr "Tulisan-tulisan lekat (sticky posts)"
239
  # @ polylang
240
  #: admin/settings.php:324
241
  msgid "Published date"
242
- msgstr "Tanggal diterbitkan"
243
 
244
  # @ polylang
245
  #: admin/settings.php:325
246
  msgid "Post format"
247
- msgstr "Format penulisan"
248
 
249
  # @ polylang
250
  #: admin/settings.php:326
@@ -285,13 +286,13 @@ msgstr "Pilih sebuah bahasa"
285
  #: admin/view-tab-lang.php:51
286
  msgid "You can choose a language in the list or directly edit it below."
287
  msgstr ""
288
- "Anda dapat memilih suatu bahasa dari daftar yang ada atau langsung "
289
  "menyuntingnya di bawah ini."
290
 
291
  # @ polylang
292
  #: admin/table-languages.php:74 admin/view-tab-lang.php:55
293
  msgid "Full name"
294
- msgstr "Sebutan lengkap"
295
 
296
  # @ polylang
297
  #: admin/view-tab-lang.php:57
@@ -369,7 +370,7 @@ msgstr "Bersihkan database terjemahan semua string"
369
  # @ polylang
370
  #: admin/view-tab-settings.php:14
371
  msgid "Default language"
372
- msgstr "Bahasa default"
373
 
374
  # @ polylang
375
  #: admin/view-tab-settings.php:29
@@ -378,7 +379,7 @@ msgid ""
378
  "to set them all to default language ?"
379
  msgstr ""
380
  "Terdapat tulisan, halaman, kategori atau tag tanpa set bahasa. Anda ingin "
381
- "mengeset itu semua ke bahasa setelan awal <i>(dafault language)</i>?"
382
 
383
  # @ polylang
384
  #: admin/view-tab-settings.php:149
@@ -397,12 +398,14 @@ msgstr ""
397
  # @ polylang
398
  #: admin/view-tab-settings.php:37
399
  msgid "URL modifications"
400
- msgstr "Pemodifikasian URL"
401
 
402
  # @ polylang
403
  #: admin/view-tab-settings.php:93
404
  msgid "Hide URL language information for default language"
405
- msgstr "Sembunyikan informasi bahasa URL untuk bahasa <i>default</i>"
 
 
406
 
407
  # @ polylang
408
  #: admin/view-tab-settings.php:162
@@ -500,7 +503,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
@@ -514,15 +517,14 @@ msgstr ""
514
  msgid ""
515
  "Polylang has been deactivated because you upgraded from a too old version."
516
  msgstr ""
517
- "Polylang telah dinonaktifkan karena Anda meng-<i>upgrade</i> nya dari versi "
518
- "yang sangat lama."
519
 
520
  # @ polylang
521
  #: install/upgrade.php:78
522
  #, php-format
523
  msgid "Please upgrade first to %s before ugrading to %s."
524
- msgstr ""
525
- "Mohon <i>upgrade</i> dahulu ke %s sebelum meng-<i>upgrade</i> nya ke %s."
526
 
527
  # @ polylang
528
  #: admin/table-string.php:109
@@ -537,7 +539,7 @@ msgstr "Tampilkan semua grup"
537
  # @ polylang
538
  #: admin/table-languages.php:59
539
  msgid "You are about to permanently delete this language. Are you sure?"
540
- msgstr ""
541
 
542
  # @ polylang
543
  #: admin/view-tab-strings.php:12
@@ -545,6 +547,8 @@ msgid ""
545
  "Use this to remove unused strings from database, for example after a plugin "
546
  "has been uninstalled."
547
  msgstr ""
 
 
548
 
549
  # @ polylang
550
  #: admin/view-tab-settings.php:226
@@ -553,52 +557,55 @@ msgid ""
553
  "translations in the case of taxonomies and page parent) of meta content "
554
  "between the translations of a post or page."
555
  msgstr ""
 
 
 
556
 
557
  # @ polylang
558
  #: admin/admin-model.php:248
559
  msgid "The language code contains invalid characters"
560
- msgstr ""
561
 
562
  # @ polylang
563
  #: admin/view-tab-settings.php:43
564
  msgid "The language is set from content"
565
- msgstr ""
566
 
567
  # @ polylang
568
  #: admin/view-tab-settings.php:46
569
  msgid "Posts, pages, categories and tags urls are not modified."
570
- msgstr ""
571
 
572
  # @ polylang
573
  #: admin/view-tab-settings.php:51
574
  msgid "The language is set from the directory name in pretty permalinks"
575
- msgstr ""
576
 
577
  # @ polylang
578
  #: admin/view-tab-settings.php:54 admin/view-tab-settings.php:63
579
  #: admin/view-tab-settings.php:110 admin/view-tab-settings.php:119
580
  msgid "Example:"
581
- msgstr ""
582
 
583
  # @ polylang
584
  #: admin/view-tab-settings.php:60
585
  msgid "The language is set from the subdomain name in pretty permalinks"
586
- msgstr ""
587
 
588
  # @ polylang
589
  #: admin/view-tab-settings.php:69
590
  msgid "The language is set from different domains"
591
- msgstr ""
592
 
593
  # @ polylang
594
  #: admin/view-tab-settings.php:107
595
  msgid "Remove /language/ in pretty permalinks"
596
- msgstr ""
597
 
598
  # @ polylang
599
  #: admin/view-tab-settings.php:116
600
  msgid "Keep /language/ in pretty permalinks"
601
- msgstr ""
602
 
603
  # @ polylang
604
  #: admin/view-tab-settings.php:131
@@ -606,64 +613,66 @@ msgid ""
606
  "The front page url contains the language code instead of the page name or "
607
  "page id"
608
  msgstr ""
 
609
 
610
  # @ polylang
611
  #: admin/view-tab-settings.php:139
612
  #, php-format
613
  msgid "Example: %s instead of %s"
614
- msgstr ""
615
 
616
  # @ polylang
617
  #: admin/admin-model.php:38
618
  msgid "Impossible to add the language."
619
- msgstr ""
620
 
621
  # @ polylang
622
  #: admin/admin-model.php:66
623
  msgid "Language added."
624
- msgstr ""
625
 
626
  # @ polylang
627
  #: admin/admin-model.php:146
628
  msgid "Language deleted."
629
- msgstr ""
630
 
631
  # @ polylang
632
  #: admin/admin-model.php:227
633
  msgid "Language updated."
634
- msgstr ""
635
 
636
  # @ polylang
637
  #: admin/settings.php:239
638
  msgid "Translations updated."
639
- msgstr ""
640
 
641
  # @ polylang
642
  #: admin/view-tab-lang.php:72
643
  msgid "Language code - preferably 2-letters ISO 639-1 (for example: en)"
644
- msgstr ""
645
 
646
  # @ polylang
647
  #: admin/admin-filters.php:203
648
  msgid "The chosen static front page must be translated in all languages."
649
  msgstr ""
 
650
 
651
  # @ polylang
652
  #: admin/admin-strings.php:60
653
  msgid "Widget text"
654
- msgstr ""
655
 
656
  # @ polylang
657
  #: admin/settings.php:52
658
  msgid "Recommended plugins"
659
- msgstr ""
660
 
661
  # @ polylang
662
  #: admin/view-tab-settings.php:51
663
  msgid "The language is set from the code in the URL"
664
- msgstr ""
665
 
666
  # @ polylang
667
  #: include/switcher.php:26
668
  msgid "Hides languages with no translation"
669
- msgstr ""
3
  "Project-Id-Version: Polylang v1.1dev10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2015-06-15 07:25+0700\n"
7
  "Last-Translator: ajoull <ajoull@gmail.com>\n"
8
  "Language-Team: ajoull <ajoull@gmail.com>\n"
9
+ "Language: id_ID\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
16
  "_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"
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Textdomain-Support: yes\n"
19
+ "X-Generator: Poedit 1.8.1\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  # @ polylang
28
  "on a daily basis, a FAQ, as well as a documentation for programmers to adapt "
29
  "their plugins and themes."
30
  msgstr ""
31
+ "Polylang disediakan beserta %sdokumentasi%s yang lengkap (tapi dalam Bahasa "
32
+ "Inggris). Dokumentasi tersebut meliputi informasi tentang cara mengatur "
33
+ "situs multi-bahasa Anda dan menggunakannya sehari-hari, sebuah FAQ, serta "
34
  "dokumentasi untuk para programer untuk mengadaptasi plugin dan theme buatan "
35
  "mereka."
36
 
43
  msgstr ""
44
  "Anda juga akan menemukan informasi bermanfaat di dalam %sforum pendukung "
45
  "(support forum)%s. Walaupun demikian, lakukan terlebih dahulu pencarian "
46
+ "mengenai topik Anda yang inginkan sebelum membuat topik baru di forum "
47
+ "tersebut."
48
 
49
  # @ polylang
50
  #: admin/view-about.php:16
61
  #, php-format
62
  msgid "If you wonder how you can help the project, just %sread this%s."
63
  msgstr ""
64
+ "Jika Anda ingin tahu bagaimana agar bisa berkontribusi dalam proyek ini, "
65
  "silahkan %sbaca ini%s."
66
 
67
  # @ polylang
71
  "the author are greatly appreciated."
72
  msgstr ""
73
  "Akhir kata, jika Anda menyukai plugin ini ataupun merasa bahwa plugin ini "
74
+ "membantu bisnis Anda, donasi kepada pengembangnya sangat dihargai."
75
 
76
  # @ polylang
77
  #: admin/admin-filters-post.php:115 admin/admin.php:90 admin/settings.php:70
97
  # @ polylang
98
  #: include/switcher.php:25
99
  msgid "Hides the current language"
100
+ msgstr "Sembunyikan bahasa saat ini"
101
 
102
  # @ polylang
103
  #: include/switcher.php:30
156
  # @ polylang
157
  #: admin/admin-filters.php:126
158
  msgid "WordPress default"
159
+ msgstr "Bawaan WordPress (default)"
160
 
161
  # @ polylang
162
  #: admin/admin.php:167 admin/settings.php:102
166
  # @ polylang
167
  #: admin/admin-filters.php:160 admin/admin-filters.php:169
168
  msgid "Upgrading language files&#8230;"
169
+ msgstr "Memperbarui berkas-berkas bahasa&#8230;"
170
 
171
  # @ polylang
172
  #: admin/settings.php:62
176
  # @ polylang
177
  #: admin/settings.php:78
178
  msgid "Strings translations"
179
+ msgstr "Terjemahan string"
180
 
181
  # @ polylang
182
  #: admin/settings.php:101
183
  msgid "Strings translation"
184
+ msgstr "Penerjemahan string"
185
 
186
  # @ polylang
187
  #: admin/admin-model.php:244
240
  # @ polylang
241
  #: admin/settings.php:324
242
  msgid "Published date"
243
+ msgstr "Tanggal terbit"
244
 
245
  # @ polylang
246
  #: admin/settings.php:325
247
  msgid "Post format"
248
+ msgstr "Format pos"
249
 
250
  # @ polylang
251
  #: admin/settings.php:326
286
  #: admin/view-tab-lang.php:51
287
  msgid "You can choose a language in the list or directly edit it below."
288
  msgstr ""
289
+ "Anda dapat memilih satu bahasa dari daftar yang ada atau langsung "
290
  "menyuntingnya di bawah ini."
291
 
292
  # @ polylang
293
  #: admin/table-languages.php:74 admin/view-tab-lang.php:55
294
  msgid "Full name"
295
+ msgstr "Nama bahasa"
296
 
297
  # @ polylang
298
  #: admin/view-tab-lang.php:57
370
  # @ polylang
371
  #: admin/view-tab-settings.php:14
372
  msgid "Default language"
373
+ msgstr "Bahasa bawaan <i>(default)</i>"
374
 
375
  # @ polylang
376
  #: admin/view-tab-settings.php:29
379
  "to set them all to default language ?"
380
  msgstr ""
381
  "Terdapat tulisan, halaman, kategori atau tag tanpa set bahasa. Anda ingin "
382
+ "menyetel semua itu ke bahasa bawaan <i>(dafault language)</i>?"
383
 
384
  # @ polylang
385
  #: admin/view-tab-settings.php:149
398
  # @ polylang
399
  #: admin/view-tab-settings.php:37
400
  msgid "URL modifications"
401
+ msgstr "Modifikasi URL"
402
 
403
  # @ polylang
404
  #: admin/view-tab-settings.php:93
405
  msgid "Hide URL language information for default language"
406
+ msgstr ""
407
+ "Sembunyikan URL informasi bahasa untuk bahasa bawaan <i>(default language)</"
408
+ "i>"
409
 
410
  # @ polylang
411
  #: admin/view-tab-settings.php:162
503
  #. translators: plugin header field 'Description'
504
  #: polylang.php:0
505
  msgid "Adds multilingual capability to WordPress"
506
+ msgstr "Tambahkan kapabilitas multi-bahasa pada WordPress"
507
 
508
  # @ polylang
509
  #: install/install.php:24
517
  msgid ""
518
  "Polylang has been deactivated because you upgraded from a too old version."
519
  msgstr ""
520
+ "Polylang telah dinonaktifkan karena Anda meningkatkannya dari versi yang "
521
+ "sangat lama."
522
 
523
  # @ polylang
524
  #: install/upgrade.php:78
525
  #, php-format
526
  msgid "Please upgrade first to %s before ugrading to %s."
527
+ msgstr "Mohon tingkatkan dahulu ke %s sebelum meningkatkannya ke %s."
 
528
 
529
  # @ polylang
530
  #: admin/table-string.php:109
539
  # @ polylang
540
  #: admin/table-languages.php:59
541
  msgid "You are about to permanently delete this language. Are you sure?"
542
+ msgstr "Anda akan menghapus permanen bahasa ini. Anda yakin?"
543
 
544
  # @ polylang
545
  #: admin/view-tab-strings.php:12
547
  "Use this to remove unused strings from database, for example after a plugin "
548
  "has been uninstalled."
549
  msgstr ""
550
+ "Gunakan ini untuk menghapus string-string dari database, misalnya setelah "
551
+ "suatu plugin baru di-uninstall."
552
 
553
  # @ polylang
554
  #: admin/view-tab-settings.php:226
557
  "translations in the case of taxonomies and page parent) of meta content "
558
  "between the translations of a post or page."
559
  msgstr ""
560
+ "Opsi-opsi sinkronisasi memungkinkan untuk menjaga nilai (atau terjemahan, "
561
+ "jika pada taksonomi dan induk halaman) dari isi meta agar tepat sama antara "
562
+ "terjemahan pos atau halaman."
563
 
564
  # @ polylang
565
  #: admin/admin-model.php:248
566
  msgid "The language code contains invalid characters"
567
+ msgstr "Kode bahasa berisi karakter yang tidak valid"
568
 
569
  # @ polylang
570
  #: admin/view-tab-settings.php:43
571
  msgid "The language is set from content"
572
+ msgstr "Bahasa disetel dari konten"
573
 
574
  # @ polylang
575
  #: admin/view-tab-settings.php:46
576
  msgid "Posts, pages, categories and tags urls are not modified."
577
+ msgstr "URL untuk pos, halaman, kategori dan tag tidak berubah."
578
 
579
  # @ polylang
580
  #: admin/view-tab-settings.php:51
581
  msgid "The language is set from the directory name in pretty permalinks"
582
+ msgstr "Bahasa disetel dari nama direktori pada permalink cantik"
583
 
584
  # @ polylang
585
  #: admin/view-tab-settings.php:54 admin/view-tab-settings.php:63
586
  #: admin/view-tab-settings.php:110 admin/view-tab-settings.php:119
587
  msgid "Example:"
588
+ msgstr "Contoh:"
589
 
590
  # @ polylang
591
  #: admin/view-tab-settings.php:60
592
  msgid "The language is set from the subdomain name in pretty permalinks"
593
+ msgstr "Bahasa disetel dari nama subdomain pada permalink cantik."
594
 
595
  # @ polylang
596
  #: admin/view-tab-settings.php:69
597
  msgid "The language is set from different domains"
598
+ msgstr "Bahasa disetel dari domain yang berbeda."
599
 
600
  # @ polylang
601
  #: admin/view-tab-settings.php:107
602
  msgid "Remove /language/ in pretty permalinks"
603
+ msgstr "Hilangkan /language/ pada permalink cantik"
604
 
605
  # @ polylang
606
  #: admin/view-tab-settings.php:116
607
  msgid "Keep /language/ in pretty permalinks"
608
+ msgstr "Biarkan /language/ pada permalink cantik"
609
 
610
  # @ polylang
611
  #: admin/view-tab-settings.php:131
613
  "The front page url contains the language code instead of the page name or "
614
  "page id"
615
  msgstr ""
616
+ "URL halaman depan berisi kode bahasa, seharusnya nama halaman atau id halaman"
617
 
618
  # @ polylang
619
  #: admin/view-tab-settings.php:139
620
  #, php-format
621
  msgid "Example: %s instead of %s"
622
+ msgstr "Contoh: %s dan bukan %s"
623
 
624
  # @ polylang
625
  #: admin/admin-model.php:38
626
  msgid "Impossible to add the language."
627
+ msgstr "Tidak dimungkinkan menambah bahasa."
628
 
629
  # @ polylang
630
  #: admin/admin-model.php:66
631
  msgid "Language added."
632
+ msgstr "Bahasa ditambahkan."
633
 
634
  # @ polylang
635
  #: admin/admin-model.php:146
636
  msgid "Language deleted."
637
+ msgstr "Bahasa dihapus."
638
 
639
  # @ polylang
640
  #: admin/admin-model.php:227
641
  msgid "Language updated."
642
+ msgstr "Bahasa diperbarui."
643
 
644
  # @ polylang
645
  #: admin/settings.php:239
646
  msgid "Translations updated."
647
+ msgstr "Terjemahan diperbarui."
648
 
649
  # @ polylang
650
  #: admin/view-tab-lang.php:72
651
  msgid "Language code - preferably 2-letters ISO 639-1 (for example: en)"
652
+ msgstr "Kode bahasa - sebaiknya 2-letters ISO 639-1 (for example: en)"
653
 
654
  # @ polylang
655
  #: admin/admin-filters.php:203
656
  msgid "The chosen static front page must be translated in all languages."
657
  msgstr ""
658
+ "Halaman depan statis terpilih harus diterjemahkan ke dalam semua bahasa."
659
 
660
  # @ polylang
661
  #: admin/admin-strings.php:60
662
  msgid "Widget text"
663
+ msgstr "Teks widget"
664
 
665
  # @ polylang
666
  #: admin/settings.php:52
667
  msgid "Recommended plugins"
668
+ msgstr "Daftar plugin yang disarankan"
669
 
670
  # @ polylang
671
  #: admin/view-tab-settings.php:51
672
  msgid "The language is set from the code in the URL"
673
+ msgstr "Bahasa disetel dari kode pada URL"
674
 
675
  # @ polylang
676
  #: include/switcher.php:26
677
  msgid "Hides languages with no translation"
678
+ msgstr "Sembunyikan bahasa yang tak memiliki terjemahan"
languages/polylang-ja.mo ADDED
Binary file
languages/polylang-ja.po ADDED
@@ -0,0 +1,612 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-07-18 08:55+0200\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_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"
15
+ "X-Poedit-Basepath: ..\n"
16
+ "X-Textdomain-Support: yes\n"
17
+ "Language: ja\n"
18
+ "X-Generator: Poedit 1.8.2\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ polylang
22
+ #: admin/view-about.php:3
23
+ #, php-format
24
+ msgid "Polylang is provided with an extensive %sdocumentation%s (in English only). It includes information on how to set up your multilingual site and use it on a daily basis, a FAQ, as well as a documentation for programmers to adapt their plugins and themes."
25
+ msgstr "Polylang は、多言語サイトをセットアップする方法や日常的に使用する方法から FAQ まで、包括的な内容を盛り込んだ%sドキュメンテーション%s (English のみ) を参照して活用できます。また、プログラマーが独自のプラグインやテーマを Polylang に対応させるためのドキュメンテーションも用意されています。"
26
+
27
+ # @ polylang
28
+ #: admin/view-about.php:9
29
+ #, php-format
30
+ msgid "You will also find useful information in the %ssupport forum%s. However don't forget to make a search before posting a new topic."
31
+ msgstr "さらに、%sサポートフォーラム%sで必要な情報を入手することもできます。ただし、新規トピックを投稿する前に、同じようなトピックがないか検索してください。"
32
+
33
+ # @ polylang
34
+ #: admin/view-about.php:16
35
+ #, php-format
36
+ msgid "Polylang is free of charge and is released under the same license as WordPress, the %sGPL%s."
37
+ msgstr "Polyland は無料であり、WordPress と同じライセンスである %sGPL%s でリリースされています。"
38
+
39
+ # @ polylang
40
+ #: admin/view-about.php:22
41
+ #, php-format
42
+ msgid "If you wonder how you can help the project, just %sread this%s."
43
+ msgstr "「このプロジェクトの役に立てれば」とお考えの方は、%sこちら%sをお読みください。"
44
+
45
+ # @ polylang If I translate literally, it sounds redundant (the string before sounds similar). So I transalted as "Also, (I) will be grateful if you can support/help (me) in the form of donation."
46
+ #: admin/view-about.php:27
47
+ msgid "Finally if you like this plugin or if it helps your business, donations to the author are greatly appreciated."
48
+ msgstr "また、寄付という形でご支援をいただければ大変幸甚です (右下の Donate ボタンをクリックしてください)。"
49
+
50
+ # @ polylang
51
+ #: admin/admin-filters-post.php:115 admin/admin.php:90 admin/settings.php:70
52
+ #: admin/settings.php:97 include/model.php:561
53
+ msgid "Languages"
54
+ msgstr "言語"
55
+
56
+ # @ polylang
57
+ #: include/switcher.php:22
58
+ msgid "Displays language names"
59
+ msgstr "言語名を表示する"
60
+
61
+ # @ polylang
62
+ #: include/switcher.php:23
63
+ msgid "Displays flags"
64
+ msgstr "国旗を表示する"
65
+
66
+ # @ polylang
67
+ #: include/switcher.php:24
68
+ msgid "Forces link to front page"
69
+ msgstr "フロントページへのリンクを強制する"
70
+
71
+ # @ polylang
72
+ #: include/switcher.php:25
73
+ msgid "Hides the current language"
74
+ msgstr "現在の言語を非表示にする"
75
+
76
+ # @ polylang
77
+ #: include/switcher.php:30
78
+ msgid "Displays as dropdown"
79
+ msgstr "ドロップダウンとして表示する"
80
+
81
+ # @ polylang
82
+ #: admin/admin.php:267
83
+ msgid "Filters content by language"
84
+ msgstr "言語でコンテンツをフィルターする"
85
+
86
+ # @ polylang
87
+ #: admin/admin.php:258
88
+ msgid "Show all languages"
89
+ msgstr "すべての言語を表示"
90
+
91
+ # @ polylang
92
+ #: admin/admin-filters-columns.php:140 admin/admin-filters-columns.php:230
93
+ msgid "Add new translation"
94
+ msgstr "翻訳を追加"
95
+
96
+ # @ polylang
97
+ #: admin/admin-filters-columns.php:173 admin/admin-filters-media.php:55
98
+ #: admin/admin-filters-post.php:141 admin/admin-filters-term.php:75
99
+ #: admin/admin-filters-term.php:122 include/model.php:562
100
+ msgid "Language"
101
+ msgstr "言語"
102
+
103
+ # @ polylang
104
+ #: admin/table-string.php:112 admin/view-translations-media.php:5
105
+ #: admin/view-translations-post.php:5 admin/view-translations-term.php:6
106
+ #: admin/view-translations-term.php:11
107
+ msgid "Translations"
108
+ msgstr "翻訳"
109
+
110
+ # @ polylang
111
+ #: admin/admin-filters-term.php:82 admin/admin-filters-term.php:130
112
+ msgid "Sets the language"
113
+ msgstr "言語を設定する"
114
+
115
+ # @ polylang
116
+ #: admin/admin-filters.php:52
117
+ msgid "The widget is displayed for:"
118
+ msgstr "ウジェットを表示する言語:"
119
+
120
+ # @ polylang
121
+ #: admin/admin-filters.php:55 include/model.php:563
122
+ msgid "All languages"
123
+ msgstr "すべての言語"
124
+
125
+ # @ polylang I've seen this somewhere, but I don't remember. I translated as "Language for administration." Is this OK?
126
+ #: admin/admin-filters.php:123
127
+ msgid "Admin language"
128
+ msgstr "管理用言語"
129
+
130
+ # @ polylang
131
+ #: admin/admin-filters.php:126
132
+ msgid "WordPress default"
133
+ msgstr "WordPress のデフォルト"
134
+
135
+ # @ polylang
136
+ #: admin/admin.php:167 admin/settings.php:102
137
+ msgid "Settings"
138
+ msgstr "設定"
139
+
140
+ # @ polylang
141
+ #: admin/admin-filters.php:160 admin/admin-filters.php:169
142
+ msgid "Upgrading language files&#8230;"
143
+ msgstr "言語ファイルのアップグレード中&#8230;"
144
+
145
+ # @ polylang
146
+ #: admin/settings.php:62
147
+ msgid "About Polylang"
148
+ msgstr "Polylang について"
149
+
150
+ # @ polylang
151
+ #: admin/settings.php:78
152
+ msgid "Strings translations"
153
+ msgstr "文字列翻訳"
154
+
155
+ # @ polylang
156
+ #: admin/settings.php:101
157
+ msgid "Strings translation"
158
+ msgstr "文字列翻訳"
159
+
160
+ # @ polylang
161
+ #: admin/admin-model.php:244
162
+ msgid "Enter a valid WordPress locale"
163
+ msgstr "有効な WordPress ロケールを入力してください"
164
+
165
+ # @ polylang
166
+ #: admin/admin-model.php:252
167
+ msgid "The language code must be unique"
168
+ msgstr "言語コードは一意である必要があります"
169
+
170
+ # @ polylang
171
+ #: admin/admin-model.php:256
172
+ msgid "The language must have a name"
173
+ msgstr "言語に名称が必要です"
174
+
175
+ # @ polylang
176
+ #: admin/admin.php:367 admin/settings.php:180
177
+ msgid "The language was created, but the WordPress language file was not downloaded. Please install it manually."
178
+ msgstr "言語は作成されましたが、WordPress の言語ファイルはダウンロードされませんでした。このファイルを手動でインストールしてください。"
179
+
180
+ # @ polylang
181
+ #: admin/admin-strings.php:59
182
+ msgid "Widget title"
183
+ msgstr "ウィジェットのタイトル"
184
+
185
+ # @ polylang
186
+ #: admin/settings.php:319
187
+ msgid "Taxonomies"
188
+ msgstr "タクソノミー"
189
+
190
+ # @ polylang
191
+ #: admin/settings.php:320
192
+ msgid "Custom fields"
193
+ msgstr "カスタムフィールド"
194
+
195
+ # @ polylang
196
+ #: admin/settings.php:321
197
+ msgid "Comment status"
198
+ msgstr "コメントのステータス"
199
+
200
+ # @ polylang
201
+ #: admin/settings.php:322
202
+ msgid "Ping status"
203
+ msgstr "Ping のステータス"
204
+
205
+ # @ polylang
206
+ #: admin/settings.php:323
207
+ msgid "Sticky posts"
208
+ msgstr "付箋紙"
209
+
210
+ # @ polylang
211
+ #: admin/settings.php:324
212
+ msgid "Published date"
213
+ msgstr "公開日"
214
+
215
+ # @ polylang
216
+ #: admin/settings.php:325
217
+ msgid "Post format"
218
+ msgstr "投稿フォーマット"
219
+
220
+ # @ polylang
221
+ #: admin/settings.php:326
222
+ msgid "Page parent"
223
+ msgstr "親ページ"
224
+
225
+ # @ polylang
226
+ #: admin/settings.php:327
227
+ msgid "Page template"
228
+ msgstr "ページテンプレート"
229
+
230
+ # @ polylang
231
+ #: admin/settings.php:328
232
+ msgid "Page order"
233
+ msgstr "ページの順序"
234
+
235
+ # @ polylang
236
+ #: admin/settings.php:329
237
+ msgid "Featured image"
238
+ msgstr "アイキャッチ画像"
239
+
240
+ # @ polylang
241
+ #: admin/view-tab-lang.php:21
242
+ msgid "Edit language"
243
+ msgstr "言語を編集"
244
+
245
+ # @ polylang
246
+ #: admin/view-tab-lang.php:21 admin/view-tab-lang.php:96
247
+ msgid "Add new language"
248
+ msgstr "言語を追加"
249
+
250
+ # @ polylang
251
+ #: admin/view-tab-lang.php:37
252
+ msgid "Choose a language"
253
+ msgstr "言語を選択"
254
+
255
+ # @ polylang
256
+ #: admin/view-tab-lang.php:51
257
+ msgid "You can choose a language in the list or directly edit it below."
258
+ msgstr "リストから言語を選択するか、以下で言語を直接編集してください。"
259
+
260
+ # @ polylang
261
+ #: admin/table-languages.php:74 admin/view-tab-lang.php:55
262
+ msgid "Full name"
263
+ msgstr "名称"
264
+
265
+ # @ polylang
266
+ #: admin/view-tab-lang.php:57
267
+ msgid "The name is how it is displayed on your site (for example: English)."
268
+ msgstr "サイトに表示される名称 (「English」など)。"
269
+
270
+ # @ polylang
271
+ #: admin/table-languages.php:75 admin/view-tab-lang.php:61
272
+ msgid "Locale"
273
+ msgstr "ロケール"
274
+
275
+ # @ polylang
276
+ #: admin/view-tab-lang.php:66
277
+ msgid "WordPress Locale for the language (for example: en_US). You will need to install the .mo file for this language."
278
+ msgstr "言語の WordPress ロケール (「en_GB」など)。この言語の .mo ファイルをインストールする必要があります。"
279
+
280
+ # @ polylang
281
+ #: admin/view-tab-lang.php:70
282
+ msgid "Language code"
283
+ msgstr "言語コード"
284
+
285
+ # @ polylang
286
+ #: admin/view-tab-lang.php:76
287
+ msgid "Text direction"
288
+ msgstr "テキストの方向"
289
+
290
+ # @ polylang
291
+ #: admin/view-tab-lang.php:80
292
+ msgid "left to right"
293
+ msgstr "左から右"
294
+
295
+ # @ polylang
296
+ #: admin/view-tab-lang.php:85
297
+ msgid "right to left"
298
+ msgstr "右から左"
299
+
300
+ # @ polylang
301
+ #: admin/view-tab-lang.php:87
302
+ msgid "Choose the text direction for the language"
303
+ msgstr "この言語のテキストの方向を選択してください"
304
+
305
+ # @ polylang
306
+ #: admin/table-languages.php:77 admin/view-tab-lang.php:91
307
+ msgid "Order"
308
+ msgstr "順序"
309
+
310
+ # @ polylang
311
+ #: admin/view-tab-lang.php:93
312
+ msgid "Position of the language in the language switcher"
313
+ msgstr "この言語の言語スイッチャーでの位置を指定してください"
314
+
315
+ # @ polylang
316
+ #: admin/admin-nav-menu.php:54 admin/admin-nav-menu.php:92
317
+ #: admin/admin-nav-menu.php:95 admin/admin-nav-menu.php:126
318
+ #: admin/admin-nav-menu.php:188 install/upgrade.php:301
319
+ msgid "Language switcher"
320
+ msgstr "言語スイッチャー"
321
+
322
+ # @ polylang
323
+ #: admin/view-tab-strings.php:8
324
+ msgid "Search translations"
325
+ msgstr "翻訳を検索"
326
+
327
+ # @ polylang
328
+ #: admin/view-tab-strings.php:11
329
+ msgid "Clean strings translation database"
330
+ msgstr "文字列翻訳データベースをクリーンアップする"
331
+
332
+ # @ polylang
333
+ #: admin/view-tab-settings.php:14
334
+ msgid "Default language"
335
+ msgstr "デフォルトの言語"
336
+
337
+ # @ polylang I don't know how to translate this "set." I need to know what "without language set" means.
338
+ #: admin/view-tab-settings.php:29
339
+ msgid "There are posts, pages, categories or tags without language set. Do you want to set them all to default language ?"
340
+ msgstr "言語が設定されていない投稿、ページ、カテゴリー、またはタグがあります。これらすべてをデフォルトの言語に設定しますか?"
341
+
342
+ # @ polylang
343
+ #: admin/view-tab-settings.php:149
344
+ msgid "Detect browser language"
345
+ msgstr "ブラウザーの言語の検出"
346
+
347
+ # @ polylang
348
+ #: admin/view-tab-settings.php:155
349
+ msgid "When the front page is visited, set the language according to the browser preference"
350
+ msgstr "フロントページへのアクセスがあったときに、ブラウザーの環境設定に応じて言語を設定する"
351
+
352
+ # @ polylang
353
+ #: admin/view-tab-settings.php:37
354
+ msgid "URL modifications"
355
+ msgstr "URL の修正"
356
+
357
+ # @ polylang I translated as "Do not show language information for default language in URL."
358
+ #: admin/view-tab-settings.php:93
359
+ msgid "Hide URL language information for default language"
360
+ msgstr "URL にデフォルトの言語の言語情報を表示しない"
361
+
362
+ # @ polylang
363
+ #: admin/view-tab-settings.php:162
364
+ msgid "Media"
365
+ msgstr "メディア"
366
+
367
+ # @ polylang
368
+ #: admin/view-tab-settings.php:168
369
+ msgid "Activate languages and translations for media"
370
+ msgstr "メディアの言語と翻訳を有効にする"
371
+
372
+ # @ polylang
373
+ #: admin/view-tab-settings.php:215
374
+ msgid "Synchronization"
375
+ msgstr "同期"
376
+
377
+ # @ polylang
378
+ #: admin/view-tab-settings.php:176
379
+ msgid "Custom post types"
380
+ msgstr "カスタム投稿タイプ"
381
+
382
+ # @ polylang
383
+ #: admin/view-tab-settings.php:189
384
+ msgid "Activate languages and translations for custom post types."
385
+ msgstr "カスタム投稿タイプの言語と翻訳を有効にする"
386
+
387
+ # @ polylang
388
+ #: admin/view-tab-settings.php:196
389
+ msgid "Custom taxonomies"
390
+ msgstr "カスタムタクソノミー"
391
+
392
+ # @ polylang
393
+ #: admin/view-tab-settings.php:209
394
+ msgid "Activate languages and translations for custom taxonomies."
395
+ msgstr "カスタムタクソノミーの言語と翻訳を有効にする"
396
+
397
+ # @ polylang
398
+ #: admin/admin-filters-post.php:433 admin/admin-filters-term.php:642
399
+ #: admin/table-languages.php:54 admin/view-translations-media.php:21
400
+ msgid "Edit"
401
+ msgstr "編集"
402
+
403
+ # @ polylang
404
+ #: admin/table-languages.php:60 admin/table-string.php:168
405
+ msgid "Delete"
406
+ msgstr "削除"
407
+
408
+ # @ polylang
409
+ #: admin/table-languages.php:76
410
+ msgid "Code"
411
+ msgstr "コード"
412
+
413
+ # @ polylang
414
+ #: admin/table-languages.php:78
415
+ msgid "Flag"
416
+ msgstr "国旗"
417
+
418
+ # @ polylang
419
+ #: admin/table-languages.php:79
420
+ msgid "Posts"
421
+ msgstr "投稿"
422
+
423
+ # @ polylang
424
+ #: admin/table-string.php:110
425
+ msgid "Name"
426
+ msgstr "名前"
427
+
428
+ # @ polylang
429
+ #: admin/table-string.php:111
430
+ msgid "String"
431
+ msgstr "文字列"
432
+
433
+ # @ polylang
434
+ #: admin/view-translations-media.php:30 admin/view-translations-post.php:21
435
+ #: admin/view-translations-term.php:30
436
+ msgid "Add new"
437
+ msgstr "新規追加"
438
+
439
+ # @ polylang
440
+ #: include/widget-languages.php:16
441
+ msgid "Language Switcher"
442
+ msgstr "言語スイッチャー"
443
+
444
+ # @ polylang
445
+ #: include/widget-languages.php:16
446
+ msgid "Displays a language switcher"
447
+ msgstr "言語スイッチャーを表示する"
448
+
449
+ # @ polylang
450
+ #: include/widget-languages.php:75
451
+ msgid "Title:"
452
+ msgstr "タイトル:"
453
+
454
+ # @ polylang
455
+ #. translators: plugin header field 'Description'
456
+ #: polylang.php:0
457
+ msgid "Adds multilingual capability to WordPress"
458
+ msgstr "WordPress に多言語機能を追加する"
459
+
460
+ # @ polylang
461
+ #: install/install.php:24
462
+ #, php-format
463
+ msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
464
+ msgstr "WordPress %s を使用されています。Polylang を使用するには、WordPress %s 以降が必要です。"
465
+
466
+ # @ polylang
467
+ #: install/upgrade.php:76
468
+ msgid "Polylang has been deactivated because you upgraded from a too old version."
469
+ msgstr "アップグレード元のバージョンが古いため、Polylang は無効になっています。"
470
+
471
+ # @ polylang
472
+ #: install/upgrade.php:78
473
+ #, php-format
474
+ msgid "Please upgrade first to %s before ugrading to %s."
475
+ msgstr "%s にアップグレードする前に、まず %s にアップグレードしてください。"
476
+
477
+ # @ polylang
478
+ #: admin/table-string.php:109
479
+ msgid "Group"
480
+ msgstr "グループ"
481
+
482
+ # @ polylang
483
+ #: admin/table-string.php:187
484
+ msgid "View all groups"
485
+ msgstr "すべてのグループを表示"
486
+
487
+ # @ polylang
488
+ #: admin/table-languages.php:59
489
+ msgid "You are about to permanently delete this language. Are you sure?"
490
+ msgstr "この言語を完全に削除しますか?"
491
+
492
+ # @ polylang
493
+ #: admin/view-tab-strings.php:12
494
+ msgid "Use this to remove unused strings from database, for example after a plugin has been uninstalled."
495
+ msgstr "これをオンにすると、使用されていない文字列がデータベースから削除されます (プラグインをアンインストールした後など)。"
496
+
497
+ # @ polylang I translated as "The synchronization options allow to synchronize values (or translations ..."
498
+ #: admin/view-tab-settings.php:226
499
+ msgid "The synchronization options allow to maintain exact same values (or translations in the case of taxonomies and page parent) of meta content between the translations of a post or page."
500
+ msgstr "同期オプションを使用することにより、投稿の翻訳とページの翻訳の間で、メタコンテンツの値 (タクソノミーと親ページの場合は翻訳)を同期させることができます。"
501
+
502
+ # @ polylang
503
+ #: admin/admin-model.php:248
504
+ msgid "The language code contains invalid characters"
505
+ msgstr "言語コードに無効な文字が含まれています"
506
+
507
+ # @ polylang
508
+ #: admin/view-tab-settings.php:43
509
+ msgid "The language is set from content"
510
+ msgstr "言語はコンテンツから設定される"
511
+
512
+ # @ polylang
513
+ #: admin/view-tab-settings.php:46
514
+ msgid "Posts, pages, categories and tags urls are not modified."
515
+ msgstr "投稿、ページ、カテゴリー、およびタグの URL は修正されません。"
516
+
517
+ # @ polylang
518
+ #: admin/view-tab-settings.php:51
519
+ msgid "The language is set from the directory name in pretty permalinks"
520
+ msgstr "言語はプリティーパーマリンク内のディレクトリ名から設定される"
521
+
522
+ # @ polylang
523
+ #: admin/view-tab-settings.php:54 admin/view-tab-settings.php:63
524
+ #: admin/view-tab-settings.php:110 admin/view-tab-settings.php:119
525
+ msgid "Example:"
526
+ msgstr "例:"
527
+
528
+ # @ polylang
529
+ #: admin/view-tab-settings.php:60
530
+ msgid "The language is set from the subdomain name in pretty permalinks"
531
+ msgstr "言語はプリティーパーマリンク内のサブドメイン名から設定される"
532
+
533
+ # @ polylang
534
+ #: admin/view-tab-settings.php:69
535
+ msgid "The language is set from different domains"
536
+ msgstr "言語は他のドメインから設定される"
537
+
538
+ # @ polylang
539
+ #: admin/view-tab-settings.php:107
540
+ msgid "Remove /language/ in pretty permalinks"
541
+ msgstr "プリティーパーマリンクの /language/ を削除する"
542
+
543
+ # @ polylang
544
+ #: admin/view-tab-settings.php:116
545
+ msgid "Keep /language/ in pretty permalinks"
546
+ msgstr "プリティーパーマリンクの /language/ を維持する"
547
+
548
+ # @ polylang
549
+ #: admin/view-tab-settings.php:131
550
+ msgid "The front page url contains the language code instead of the page name or page id"
551
+ msgstr "フロントページの URL にページ名またはページ ID の代わりに言語コードが含まれています"
552
+
553
+ # @ polylang
554
+ #: admin/view-tab-settings.php:139
555
+ #, php-format
556
+ msgid "Example: %s instead of %s"
557
+ msgstr "例: %s ではなく %s"
558
+
559
+ # @ polylang
560
+ #: admin/admin-model.php:38
561
+ msgid "Impossible to add the language."
562
+ msgstr "この言語は追加できません。"
563
+
564
+ # @ polylang
565
+ #: admin/admin-model.php:66
566
+ msgid "Language added."
567
+ msgstr "言語が追加されました。"
568
+
569
+ # @ polylang
570
+ #: admin/admin-model.php:146
571
+ msgid "Language deleted."
572
+ msgstr "言語が削除されました。"
573
+
574
+ # @ polylang
575
+ #: admin/admin-model.php:227
576
+ msgid "Language updated."
577
+ msgstr "言語が更新されました。"
578
+
579
+ # @ polylang
580
+ #: admin/settings.php:239
581
+ msgid "Translations updated."
582
+ msgstr "翻訳が更新されました。"
583
+
584
+ # @ polylang
585
+ #: admin/view-tab-lang.php:72
586
+ msgid "Language code - preferably 2-letters ISO 639-1 (for example: en)"
587
+ msgstr "言語コード。ISO 639-1 準拠の 2 文字 (「en」など) を使用することを推奨します。"
588
+
589
+ # @ polylang
590
+ #: admin/admin-filters.php:203
591
+ msgid "The chosen static front page must be translated in all languages."
592
+ msgstr "選択されている静的フロントページは、すべての言語で翻訳されている必要があります。"
593
+
594
+ # @ polylang
595
+ #: admin/admin-strings.php:60
596
+ msgid "Widget text"
597
+ msgstr "ウィジェットのテキスト"
598
+
599
+ # @ polylang
600
+ #: admin/settings.php:52
601
+ msgid "Recommended plugins"
602
+ msgstr "推奨プラグイン"
603
+
604
+ # @ polylang
605
+ #: admin/view-tab-settings.php:51
606
+ msgid "The language is set from the code in the URL"
607
+ msgstr "言語は URL 内のコードから設定される"
608
+
609
+ # @ polylang
610
+ #: include/switcher.php:26
611
+ msgid "Hides languages with no translation"
612
+ msgstr "翻訳がない言語を非表示にする"
languages/polylang-ro_RO.mo ADDED
Binary file
languages/polylang-ro_RO.po ADDED
@@ -0,0 +1,676 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-07-01 19:41+0300\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
13
+ "2:1));\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_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"
17
+ "X-Poedit-Basepath: ..\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Generator: Poedit 1.8.2\n"
20
+ "Language: ro\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 include o %sdocumentație%s detaliată (disponibilă doar în limba "
33
+ "engleză), care include informații precum: cum să îți configurezi situl "
34
+ "multilingvistic și cum să îl utilizezi zilnic, o listă de întrebări puse "
35
+ "frecvent, precum și o documentație pentru programatori, pentru a-și adapta "
36
+ "extensiile și temele lor pentru Polylang."
37
+
38
+ # @ polylang
39
+ #: admin/view-about.php:9
40
+ #, php-format
41
+ msgid ""
42
+ "You will also find useful information in the %ssupport forum%s. However "
43
+ "don't forget to make a search before posting a new topic."
44
+ msgstr ""
45
+ "Veți găsi informații utile și în %sforumurile de suport%s. Cu toate acestea, "
46
+ "nu uita să cauți în postările existente, înainte de a deschide un subiect "
47
+ "nou."
48
+
49
+ # @ polylang
50
+ #: admin/view-about.php:16
51
+ #, php-format
52
+ msgid ""
53
+ "Polylang is free of charge and is released under the same license as "
54
+ "WordPress, the %sGPL%s."
55
+ msgstr ""
56
+ "Polylang este gratis și este disponibil sub aceeași licență ca WordPress, "
57
+ "%sGPL%s."
58
+
59
+ # @ polylang
60
+ #: admin/view-about.php:22
61
+ #, php-format
62
+ msgid "If you wonder how you can help the project, just %sread this%s."
63
+ msgstr "Dacă vreți să știți cum puteți să ajutați proiectul, %scitiți aici%s."
64
+
65
+ # @ polylang
66
+ #: admin/view-about.php:27
67
+ msgid ""
68
+ "Finally if you like this plugin or if it helps your business, donations to "
69
+ "the author are greatly appreciated."
70
+ msgstr ""
71
+ "Nu în ultimul rând, dacă vă place această extensie, sau dacă vă ajută "
72
+ "afacerea, donațiile către autor sunt binevenite."
73
+
74
+ # @ polylang
75
+ #: admin/admin-filters-post.php:115 admin/admin.php:90 admin/settings.php:70
76
+ #: admin/settings.php:97 include/model.php:561
77
+ msgid "Languages"
78
+ msgstr "Limbi disponibile"
79
+
80
+ # @ polylang
81
+ #: include/switcher.php:22
82
+ msgid "Displays language names"
83
+ msgstr "Numele afișat al limbilor disponibile"
84
+
85
+ # @ polylang
86
+ #: include/switcher.php:23
87
+ msgid "Displays flags"
88
+ msgstr "Steagurile afișate ale limbilor disponibile"
89
+
90
+ # @ polylang
91
+ #: include/switcher.php:24
92
+ msgid "Forces link to front page"
93
+ msgstr "Forțează link-ul către prima pagină"
94
+
95
+ # @ polylang
96
+ #: include/switcher.php:25
97
+ msgid "Hides the current language"
98
+ msgstr "Ascunde limba curentă"
99
+
100
+ # @ polylang
101
+ #: include/switcher.php:30
102
+ msgid "Displays as dropdown"
103
+ msgstr "Afișaj ca listă dropdown"
104
+
105
+ # @ polylang
106
+ #: admin/admin.php:267
107
+ msgid "Filters content by language"
108
+ msgstr "Filtrează conținutul după limbă"
109
+
110
+ # @ polylang
111
+ #: admin/admin.php:258
112
+ msgid "Show all languages"
113
+ msgstr "Afișează toate limbile"
114
+
115
+ # @ polylang
116
+ #: admin/admin-filters-columns.php:140 admin/admin-filters-columns.php:230
117
+ msgid "Add new translation"
118
+ msgstr "Adaugă traduceri noi"
119
+
120
+ # @ polylang
121
+ #: admin/admin-filters-columns.php:173 admin/admin-filters-media.php:55
122
+ #: admin/admin-filters-post.php:141 admin/admin-filters-term.php:75
123
+ #: admin/admin-filters-term.php:122 include/model.php:562
124
+ msgid "Language"
125
+ msgstr "Limbi"
126
+
127
+ # @ polylang
128
+ #: admin/table-string.php:112 admin/view-translations-media.php:5
129
+ #: admin/view-translations-post.php:5 admin/view-translations-term.php:6
130
+ #: admin/view-translations-term.php:11
131
+ msgid "Translations"
132
+ msgstr "Traduceri"
133
+
134
+ # @ polylang
135
+ #: admin/admin-filters-term.php:82 admin/admin-filters-term.php:130
136
+ msgid "Sets the language"
137
+ msgstr "Setează limba"
138
+
139
+ # @ polylang
140
+ #: admin/admin-filters.php:52
141
+ msgid "The widget is displayed for:"
142
+ msgstr "Widget-ul este afișat pentru:"
143
+
144
+ # @ polylang
145
+ #: admin/admin-filters.php:55 include/model.php:563
146
+ msgid "All languages"
147
+ msgstr "Toate limbile"
148
+
149
+ # @ polylang
150
+ #: admin/admin-filters.php:123
151
+ msgid "Admin language"
152
+ msgstr "Limba de admin"
153
+
154
+ # @ polylang
155
+ #: admin/admin-filters.php:126
156
+ msgid "Wordpress default"
157
+ msgstr "Wordpress default"
158
+
159
+ # @ polylang
160
+ #: admin/admin.php:167 admin/settings.php:102
161
+ msgid "Settings"
162
+ msgstr "Setări"
163
+
164
+ # @ polylang
165
+ #: admin/admin-filters.php:160 admin/admin-filters.php:169
166
+ msgid "Upgrading language files&#8230;"
167
+ msgstr "Actualizarea fișierelor lingvistice;"
168
+
169
+ # @ polylang
170
+ #: admin/settings.php:62
171
+ msgid "About Polylang"
172
+ msgstr "Despre Polylang"
173
+
174
+ # @ polylang
175
+ #: admin/settings.php:78
176
+ msgid "Strings translations"
177
+ msgstr "Traduceri generale"
178
+
179
+ # @ polylang
180
+ #: admin/settings.php:101
181
+ msgid "Strings translation"
182
+ msgstr "Traduceri generale"
183
+
184
+ # @ polylang
185
+ #: admin/admin-model.php:244
186
+ msgid "Enter a valid WordPress locale"
187
+ msgstr "Introdu o localizare validă pentru WordPress"
188
+
189
+ # @ polylang
190
+ #: admin/admin-model.php:252
191
+ msgid "The language code must be unique"
192
+ msgstr "Codul de limbă trebuie să fie unic"
193
+
194
+ # @ polylang
195
+ #: admin/admin-model.php:256
196
+ msgid "The language must have a name"
197
+ msgstr "Limba trebuie să aibă un nume"
198
+
199
+ # @ polylang
200
+ #: admin/admin.php:367 admin/settings.php:180
201
+ msgid ""
202
+ "The language was created, but the WordPress language file was not "
203
+ "downloaded. Please install it manually."
204
+ msgstr ""
205
+ "Limba a fost creată, dar fișierul de limbă Wordpress nu a fost downloadat. "
206
+ "Te rugăm să-l instalezi manual."
207
+
208
+ # @ polylang
209
+ #: admin/admin-strings.php:59
210
+ msgid "Widget title"
211
+ msgstr "Titlu widget"
212
+
213
+ # @ polylang
214
+ #: admin/settings.php:319
215
+ msgid "Taxonomies"
216
+ msgstr "Taxonomii"
217
+
218
+ # @ polylang
219
+ #: admin/settings.php:320
220
+ msgid "Custom fields"
221
+ msgstr "Câmpuri customizate"
222
+
223
+ # @ polylang
224
+ #: admin/settings.php:321
225
+ msgid "Comment status"
226
+ msgstr "Status comentariu"
227
+
228
+ # @ polylang
229
+ #: admin/settings.php:322
230
+ msgid "Ping status"
231
+ msgstr "Status ping"
232
+
233
+ # @ polylang
234
+ #: admin/settings.php:323
235
+ msgid "Sticky posts"
236
+ msgstr "Postări importante"
237
+
238
+ # @ polylang
239
+ #: admin/settings.php:324
240
+ msgid "Published date"
241
+ msgstr "Data publicării"
242
+
243
+ # @ polylang
244
+ #: admin/settings.php:325
245
+ msgid "Post format"
246
+ msgstr "Formatul postării"
247
+
248
+ # @ polylang
249
+ #: admin/settings.php:326
250
+ msgid "Page parent"
251
+ msgstr "Pagina părinte"
252
+
253
+ # @ polylang
254
+ #: admin/settings.php:327
255
+ msgid "Page template"
256
+ msgstr "Template de pagină"
257
+
258
+ # @ polylang
259
+ #: admin/settings.php:328
260
+ msgid "Page order"
261
+ msgstr "Ordinea paginii"
262
+
263
+ # @ polylang
264
+ #: admin/settings.php:329
265
+ msgid "Featured image"
266
+ msgstr "Imagine atașată"
267
+
268
+ # @ polylang
269
+ #: admin/view-tab-lang.php:21
270
+ msgid "Edit language"
271
+ msgstr "Editează limba"
272
+
273
+ # @ polylang
274
+ #: admin/view-tab-lang.php:21 admin/view-tab-lang.php:96
275
+ msgid "Add new language"
276
+ msgstr "Adaugă o limbă nouă"
277
+
278
+ # @ polylang
279
+ #: admin/view-tab-lang.php:37
280
+ msgid "Choose a language"
281
+ msgstr "Alege o limbă"
282
+
283
+ # @ polylang
284
+ #: admin/view-tab-lang.php:51
285
+ msgid "You can choose a language in the list or directly edit it below."
286
+ msgstr "Alege o limbă din listă sau editează-le direct dedesubt."
287
+
288
+ # @ polylang
289
+ #: admin/table-languages.php:74 admin/view-tab-lang.php:55
290
+ msgid "Full name"
291
+ msgstr "Nume și prenume"
292
+
293
+ # @ polylang
294
+ #: admin/view-tab-lang.php:57
295
+ msgid "The name is how it is displayed on your site (for example: English)."
296
+ msgstr "Numele, așa cum va fi afișat pe sait (spre exemplu: Engleză)."
297
+
298
+ # @ polylang
299
+ #: admin/table-languages.php:75 admin/view-tab-lang.php:61
300
+ msgid "Locale"
301
+ msgstr "Localizare"
302
+
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
+ "Localizarea WordPress pentru limbă (spre exemplu ro_RO). Va trebui să "
310
+ "instalezi fișierul .mo al acestei limbi."
311
+
312
+ # @ polylang
313
+ #: admin/view-tab-lang.php:70
314
+ msgid "Language code"
315
+ msgstr "Codul de limbă"
316
+
317
+ # @ polylang
318
+ #: admin/view-tab-lang.php:76
319
+ msgid "Text direction"
320
+ msgstr "Direcția textului"
321
+
322
+ # @ polylang
323
+ #: admin/view-tab-lang.php:80
324
+ msgid "left to right"
325
+ msgstr "stânga-dreapta"
326
+
327
+ # @ polylang
328
+ #: admin/view-tab-lang.php:85
329
+ msgid "right to left"
330
+ msgstr "dreapta-stânga"
331
+
332
+ # @ polylang
333
+ #: admin/view-tab-lang.php:87
334
+ msgid "Choose the text direction for the language"
335
+ msgstr "Alege direcția textului pentru limbă"
336
+
337
+ # @ polylang
338
+ #: admin/table-languages.php:77 admin/view-tab-lang.php:91
339
+ msgid "Order"
340
+ msgstr "Ordine"
341
+
342
+ # @ polylang
343
+ #: admin/view-tab-lang.php:93
344
+ msgid "Position of the language in the language switcher"
345
+ msgstr "Poziția limbii în lista de schimbare"
346
+
347
+ # @ polylang
348
+ #: admin/admin-nav-menu.php:54 admin/admin-nav-menu.php:92
349
+ #: admin/admin-nav-menu.php:95 admin/admin-nav-menu.php:126
350
+ #: admin/admin-nav-menu.php:188 install/upgrade.php:301
351
+ msgid "Language switcher"
352
+ msgstr "Lista de schimbare"
353
+
354
+ # @ polylang
355
+ #: admin/view-tab-strings.php:8
356
+ msgid "Search translations"
357
+ msgstr "Caută traduceri"
358
+
359
+ # @ polylang
360
+ #: admin/view-tab-strings.php:11
361
+ msgid "Clean strings translation database"
362
+ msgstr "Șterge baza de date de traduceri generale"
363
+
364
+ # @ polylang
365
+ #: admin/view-tab-settings.php:14
366
+ msgid "Default language"
367
+ msgstr "Limba principală"
368
+
369
+ # @ polylang
370
+ #: admin/view-tab-settings.php:29
371
+ msgid ""
372
+ "There are posts, pages, categories or tags without language set. Do you want "
373
+ "to set them all to default language ?"
374
+ msgstr ""
375
+ "Sunt postări, pagini, categorii sau taguri fără o limbă atașată. Dorești să "
376
+ "le atașezi la limba principală?"
377
+
378
+ # @ polylang
379
+ #: admin/view-tab-settings.php:149
380
+ msgid "Detect browser language"
381
+ msgstr "Detectează limba browserului"
382
+
383
+ # @ polylang
384
+ #: admin/view-tab-settings.php:155
385
+ msgid ""
386
+ "When the front page is visited, set the language according to the browser "
387
+ "preference"
388
+ msgstr ""
389
+ "Când este accesată pagina principipală, setează limba potrivit preferințelor "
390
+ "browserului"
391
+
392
+ # @ polylang
393
+ #: admin/view-tab-settings.php:37
394
+ msgid "URL modifications"
395
+ msgstr "Modificări de URL"
396
+
397
+ # @ polylang
398
+ #: admin/view-tab-settings.php:93
399
+ msgid "Hide URL language information for default language"
400
+ msgstr "Ascunde informațiile de limbă în URL pentru limba principală"
401
+
402
+ # @ polylang
403
+ #: admin/view-tab-settings.php:162
404
+ msgid "Media"
405
+ msgstr "Media"
406
+
407
+ # @ polylang
408
+ #: admin/view-tab-settings.php:168
409
+ msgid "Activate languages and translations for media"
410
+ msgstr "Activează limbi și traduceri pentru media"
411
+
412
+ # @ polylang
413
+ #: admin/view-tab-settings.php:215
414
+ msgid "Synchronization"
415
+ msgstr "Sincronizare"
416
+
417
+ # @ polylang
418
+ #: admin/view-tab-settings.php:176
419
+ msgid "Custom post types"
420
+ msgstr "Postări customizate"
421
+
422
+ # @ polylang
423
+ #: admin/view-tab-settings.php:189
424
+ msgid "Activate languages and translations for custom post types."
425
+ msgstr "Activează limbi și traduceri pentru postări customizate."
426
+
427
+ # @ polylang
428
+ #: admin/view-tab-settings.php:196
429
+ msgid "Custom taxonomies"
430
+ msgstr "Taxonomii customizate"
431
+
432
+ # @ polylang
433
+ #: admin/view-tab-settings.php:209
434
+ msgid "Activate languages and translations for custom taxonomies."
435
+ msgstr "Activează limbi și traduceri pentru taxonomii customizate."
436
+
437
+ # @ polylang
438
+ #: admin/admin-filters-post.php:433 admin/admin-filters-term.php:642
439
+ #: admin/table-languages.php:54 admin/view-translations-media.php:21
440
+ msgid "Edit"
441
+ msgstr "Editează"
442
+
443
+ # @ polylang
444
+ #: admin/table-languages.php:60 admin/table-string.php:168
445
+ msgid "Delete"
446
+ msgstr "Șterge"
447
+
448
+ # @ polylang
449
+ #: admin/table-languages.php:76
450
+ msgid "Code"
451
+ msgstr "Cod"
452
+
453
+ # @ polylang
454
+ #: admin/table-languages.php:78
455
+ msgid "Flag"
456
+ msgstr "Steag"
457
+
458
+ # @ polylang
459
+ #: admin/table-languages.php:79
460
+ msgid "Posts"
461
+ msgstr "Postări"
462
+
463
+ # @ polylang
464
+ #: admin/table-string.php:110
465
+ msgid "Name"
466
+ msgstr "Nume"
467
+
468
+ # @ polylang
469
+ #: admin/table-string.php:111
470
+ msgid "String"
471
+ msgstr "Șiruri de caractere"
472
+
473
+ # @ polylang
474
+ #: admin/view-translations-media.php:30 admin/view-translations-post.php:21
475
+ #: admin/view-translations-term.php:30
476
+ msgid "Add new"
477
+ msgstr "Adaugă"
478
+
479
+ # @ polylang
480
+ #: include/widget-languages.php:16
481
+ msgid "Language Switcher"
482
+ msgstr "Lista de limbi"
483
+
484
+ # @ polylang
485
+ #: include/widget-languages.php:16
486
+ msgid "Displays a language switcher"
487
+ msgstr "Afișează lista de limbi"
488
+
489
+ # @ polylang
490
+ #: include/widget-languages.php:75
491
+ msgid "Title:"
492
+ msgstr "Titlu"
493
+
494
+ # @ polylang
495
+ #. translators: plugin header field 'Description'
496
+ #: polylang.php:0
497
+ msgid "Adds multilingual capability to WordPress"
498
+ msgstr "Adaugă capacitate multilingvistică pentru WordPress"
499
+
500
+ # @ polylang
501
+ #: install/install.php:24
502
+ #, php-format
503
+ msgid "You are using WordPress %s. Polylang requires at least WordPress %s."
504
+ msgstr ""
505
+ "Folosești Wordpress versiunea %s. Polylang are nevoie de cel puțin WordPress "
506
+ "versiunea %s."
507
+
508
+ # @ polylang
509
+ #: install/upgrade.php:76
510
+ msgid ""
511
+ "Polylang has been deactivated because you upgraded from a too old version."
512
+ msgstr ""
513
+ "Polylang a fost dezactivat, deoarece ai upgradat de la o versiune prea veche."
514
+
515
+ # @ polylang
516
+ #: install/upgrade.php:78
517
+ #, php-format
518
+ msgid "Please upgrade first to %s before ugrading to %s."
519
+ msgstr ""
520
+ "Te rugăm, upgradează întâi la versiunea %s, înainte de a upgrada la "
521
+ "versiunea %s."
522
+
523
+ # @ polylang
524
+ #: admin/table-string.php:109
525
+ msgid "Group"
526
+ msgstr "Grup"
527
+
528
+ # @ polylang
529
+ #: admin/table-string.php:187
530
+ msgid "View all groups"
531
+ msgstr "Vezi toate grupurile"
532
+
533
+ # @ polylang
534
+ #: admin/table-languages.php:59
535
+ msgid "You are about to permanently delete this language. Are you sure?"
536
+ msgstr "Ești pe cale să ștergi această limbă permanent. Ești sigur?"
537
+
538
+ # @ polylang
539
+ #: admin/view-tab-strings.php:12
540
+ msgid ""
541
+ "Use this to remove unused strings from database, for example after a plugin "
542
+ "has been uninstalled."
543
+ msgstr ""
544
+ "Folosește asta pentru a înlătura orice șiruri de caractere nefolosite din "
545
+ "baza de date, spre exemplu, după dezinstalarea unei extensii."
546
+
547
+ # @ polylang
548
+ #: admin/view-tab-settings.php:226
549
+ msgid ""
550
+ "The synchronization options allow to maintain exact same values (or "
551
+ "translations in the case of taxonomies and page parent) of meta content "
552
+ "between the translations of a post or page."
553
+ msgstr ""
554
+ "Opțiunile de sincronizare permit menținerea acelorași valori (sau traduceri, "
555
+ "în cazul taxonomiilor și a paginii părinte) a conținutului meta, între "
556
+ "traducerile unei postări sau pagini."
557
+
558
+ # @ polylang
559
+ #: admin/admin-model.php:248
560
+ msgid "The language code contains invalid characters"
561
+ msgstr "Codul de limbă conține caractere invalide"
562
+
563
+ # @ polylang
564
+ #: admin/view-tab-settings.php:43
565
+ msgid "The language is set from content"
566
+ msgstr "Limba este stabilită din conținut"
567
+
568
+ # @ polylang
569
+ #: admin/view-tab-settings.php:46
570
+ msgid "Posts, pages, categories and tags urls are not modified."
571
+ msgstr ""
572
+ "Postările, paginile, categoriile și URL-urile tagurilor nu sunt modificate."
573
+
574
+ # @ polylang
575
+ #: admin/view-tab-settings.php:51
576
+ msgid "The language is set from the directory name in pretty permalinks"
577
+ msgstr "Limba e stabilită din numele directorului, în permalink-uri drăguțe"
578
+
579
+ # @ polylang
580
+ #: admin/view-tab-settings.php:54 admin/view-tab-settings.php:63
581
+ #: admin/view-tab-settings.php:110 admin/view-tab-settings.php:119
582
+ msgid "Example:"
583
+ msgstr "Exemplu:"
584
+
585
+ # @ polylang
586
+ #: admin/view-tab-settings.php:60
587
+ msgid "The language is set from the subdomain name in pretty permalinks"
588
+ msgstr ""
589
+ "Limba este stabilită din numele subdomeniilor, în permalinkuril drăguțe."
590
+
591
+ # @ polylang
592
+ #: admin/view-tab-settings.php:69
593
+ msgid "The language is set from different domains"
594
+ msgstr "Limba este stabilită din domenii diferite"
595
+
596
+ # @ polylang
597
+ #: admin/view-tab-settings.php:107
598
+ msgid "Remove /language/ in pretty permalinks"
599
+ msgstr "Înlătură /language/ din link-uri."
600
+
601
+ # @ polylang
602
+ #: admin/view-tab-settings.php:116
603
+ msgid "Keep /language/ in pretty permalinks"
604
+ msgstr "Păstreaza /language/ în link-uri."
605
+
606
+ # @ polylang
607
+ #: admin/view-tab-settings.php:131
608
+ msgid ""
609
+ "The front page url contains the language code instead of the page name or "
610
+ "page id"
611
+ msgstr ""
612
+ "URL-ul paginii de pornire conține codul de limbă și nu numele paginii sau id-"
613
+ "ul acesteia"
614
+
615
+ # @ polylang
616
+ #: admin/view-tab-settings.php:139
617
+ #, php-format
618
+ msgid "Example: %s instead of %s"
619
+ msgstr "Exemplu: %s în loc de %s"
620
+
621
+ # @ polylang
622
+ #: admin/admin-model.php:38
623
+ msgid "Impossible to add the language."
624
+ msgstr "Imposibil de adăugat limba."
625
+
626
+ # @ polylang
627
+ #: admin/admin-model.php:66
628
+ msgid "Language added."
629
+ msgstr "Limbă identificată."
630
+
631
+ # @ polylang
632
+ #: admin/admin-model.php:146
633
+ msgid "Language deleted."
634
+ msgstr "Limbă ștearsă."
635
+
636
+ # @ polylang
637
+ #: admin/admin-model.php:227
638
+ msgid "Language updated."
639
+ msgstr "Limbă actualizată."
640
+
641
+ # @ polylang
642
+ #: admin/settings.php:239
643
+ msgid "Translations updated."
644
+ msgstr "Traduceri actualizate."
645
+
646
+ # @ polylang
647
+ #: admin/view-tab-lang.php:72
648
+ msgid "Language code - preferably 2-letters ISO 639-1 (for example: en)"
649
+ msgstr ""
650
+ "Codul de limbă - preferabil 2 litere, în formatul ISO 639-1 (spre exemplu: "
651
+ "ro)"
652
+
653
+ # @ polylang
654
+ #: admin/admin-filters.php:203
655
+ msgid "The chosen static front page must be translated in all languages."
656
+ msgstr "Pagina principală statică trebuie tradusă în toate limbile."
657
+
658
+ # @ polylang
659
+ #: admin/admin-strings.php:60
660
+ msgid "Widget text"
661
+ msgstr "Textul de widget."
662
+
663
+ # @ polylang
664
+ #: admin/settings.php:52
665
+ msgid "Recommended plugins"
666
+ msgstr "Extensii recomandate"
667
+
668
+ # @ polylang
669
+ #: admin/view-tab-settings.php:51
670
+ msgid "The language is set from the code in the URL"
671
+ msgstr "Limba este stabilită din codul din URL"
672
+
673
+ # @ polylang
674
+ #: include/switcher.php:26
675
+ msgid "Hides languages with no translation"
676
+ msgstr "Ascunde limbile fără traduceri"
languages/polylang.pot CHANGED
@@ -141,7 +141,7 @@ msgstr ""
141
 
142
  #: admin/admin-filters.php:126
143
  #@ polylang
144
- msgid "Wordpress default"
145
  msgstr ""
146
 
147
  #: admin/admin.php:167
@@ -292,7 +292,7 @@ msgstr ""
292
 
293
  #: admin/view-tab-lang.php:66
294
  #@ polylang
295
- msgid "Wordpress Locale for the language (for example: en_US). You will need to install the .mo file for this language."
296
  msgstr ""
297
 
298
  #: admin/view-tab-lang.php:70
@@ -637,4 +637,4 @@ msgstr ""
637
  #: include/switcher.php:26
638
  #@ polylang
639
  msgid "Hides languages with no translation"
640
- msgstr ""
141
 
142
  #: admin/admin-filters.php:126
143
  #@ polylang
144
+ msgid "WordPress default"
145
  msgstr ""
146
 
147
  #: admin/admin.php:167
292
 
293
  #: admin/view-tab-lang.php:66
294
  #@ polylang
295
+ msgid "WordPress Locale for the language (for example: en_US). You will need to install the .mo file for this language."
296
  msgstr ""
297
 
298
  #: admin/view-tab-lang.php:70
637
  #: include/switcher.php:26
638
  #@ polylang
639
  msgid "Hides languages with no translation"
640
+ msgstr ""
lingotek/image01.gif ADDED
Binary file
lingotek/image02.png ADDED
Binary file
lingotek/image03.png ADDED
Binary file
lingotek/image04.png ADDED
Binary file
lingotek/lingotek.php ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * class to manage Lingotek ads
5
+ *
6
+ * @since 1.7.7
7
+ */
8
+ class PLL_Lingotek {
9
+ const LINGOTEK = 'lingotek-translation/lingotek.php';
10
+ /*
11
+ * constructor
12
+ *
13
+ * @since 1.7.7
14
+ */
15
+ public function __construct() {
16
+ $options = get_option('polylang');
17
+
18
+ // the Lingotek tab
19
+ add_filter('pll_settings_tabs', array(&$this, 'add_tab'));
20
+ add_action('pll_settings_active_tab_lingotek', array(&$this, 'display_tab'));
21
+
22
+ if (PLL_SETTINGS && isset($_GET['tab']) && 'lingotek' == $_GET['tab'])
23
+ add_action('admin_print_styles', array(&$this, 'print_css'));
24
+
25
+ // the pointer
26
+ $content = __('You’ve just upgraded to the latest version of Polylang! Would you like to automatically translate your website for free?', 'polylang');
27
+
28
+ $buttons = array(
29
+ array(
30
+ 'label' => __('Close')
31
+ ),
32
+ array(
33
+ 'label' => __('Learn more', 'polylang'),
34
+ 'link' => admin_url('admin.php?page=mlang&tab=lingotek'),
35
+ )
36
+ );
37
+
38
+ if ($link = $this->get_activate_link())
39
+ $content .= ' ' . __('Click on Activate Lingotek to start translating.', 'polylang');
40
+
41
+ $buttons[] = array(
42
+ 'label' => __('Activate Lingotek', 'polylang'),
43
+ 'link' => str_replace('&amp;', '&', $link) // wp_nonce_url escapes the url for html display. Here we want it for js
44
+ );
45
+
46
+ $args = array(
47
+ 'pointer' => 'pll_lgt',
48
+ 'id' => empty($options['previous_version']) ? 'nav-tab-lingotek' : 'wp-admin-bar-languages',
49
+ 'position' => array(
50
+ 'edge' => 'top',
51
+ 'align' => 'left',
52
+ ),
53
+ 'width' => 380,
54
+ 'title' => __('Congratulations!', 'polylang'),
55
+ 'content' => $content,
56
+ 'buttons' => $buttons
57
+ );
58
+
59
+ new PLL_Pointer($args);
60
+ }
61
+
62
+ /*
63
+ * adds the Lingotek tab in Polylang settings
64
+ *
65
+ * @since 1.7.7
66
+ *
67
+ * @param array $tabs list of tabs
68
+ * @return array modified liste of tabs
69
+ */
70
+ public function add_tab($tabs) {
71
+ $tabs['lingotek'] = 'Lingotek';
72
+ return $tabs;
73
+ }
74
+
75
+ /*
76
+ * displays the content in the Lingotek tab
77
+ *
78
+ * @since 1.7.7
79
+ */
80
+ public function display_tab() {
81
+ $activate_link = $this->get_activate_link();
82
+
83
+ $links = array(
84
+ 'activate' => array(
85
+ 'label' => is_plugin_active(self::LINGOTEK) ? __('Activated', 'polylang') : __('Activate', 'polylang'),
86
+ 'link' => $activate_link,
87
+ 'classes' => 'button button-primary' . ($activate_link ? '' : ' disabled')
88
+ ),
89
+ 'translation' => array(
90
+ 'label' => __('Request Translation', 'polylang'),
91
+ 'link' => 'http://www.lingotek.com/wordpress/translation_bid',
92
+ 'new_tab' => true,
93
+ 'classes' => 'button button-primary'
94
+ ),
95
+ 'services' => array(
96
+ 'label' => __('Request Services', 'polylang'),
97
+ 'link' => 'http://www.lingotek.com/wordpress/extra_services',
98
+ 'new_tab' => true,
99
+ 'classes' => 'button button-primary'
100
+ )
101
+ );
102
+
103
+ printf('<p>%s</p>', __('Polylang is now fully integrated with Lingotek, a professional translation management System!', 'polylang'));
104
+
105
+ $this->box(
106
+ __('Automatically Translate My Site', 'polylang'),
107
+ __('Polylang is now fully integrated with Lingotek!', 'polylang'),
108
+ array(
109
+ __('Access free machine translation for your site for up to 100,000 characters.', 'polylang'),
110
+ __('Machine translation is an excellent option if you\'re on a tight budget, looking for near-instant results, and are okay with less-than-perfect quality.', 'polylang'),
111
+ ),
112
+ array_intersect_key($links, array_flip(array('activate'))),
113
+ 'image01.gif'
114
+ );
115
+
116
+ $this->box(
117
+ __('Translation Management System', 'polylang'),
118
+ __('Do you need to connect to a professional translation management system?', 'polylang'),
119
+ array(
120
+ __('Access free machine translation for your site for up to 100,000 characters.', 'polylang'),
121
+ __('Access an online translator workbench.', 'polylang'),
122
+ __('Have linguists compare side-by-side versions of original and translated text.', 'polylang'),
123
+ __('Save and re-use previously translated material (leverage translation memory (TM).', 'polylang'),
124
+ ),
125
+ array_intersect_key($links, array_flip(array('activate'))),
126
+ 'image02.png'
127
+ );
128
+
129
+ $this->box(
130
+ __('Professionally Translate My Site', 'polylang'),
131
+ __('Do you need to professionally translate your site?', 'polylang'),
132
+ array(
133
+ __('Start the process of getting a professional translation bid.', 'polylang'),
134
+ __('Activate account so Lingotek can get an accurate count of how many words you have on your site and which languages you wish to translate into.', 'polylang'),
135
+ __('Once activated click on the request translation bid and a certified translation project manager will contact you to give a no obligations translation bid.', 'polylang'),
136
+ ),
137
+ array_intersect_key($links, array_flip(array('activate','translation'))),
138
+ 'image03.png'
139
+ );
140
+
141
+ $this->box(
142
+ __('Need Extra Services?', 'polylang'),
143
+ __('Do you need help translating your site?', 'polylang'),
144
+ array(
145
+ __('Start the process of getting extra services.', 'polylang'),
146
+ __('Do you need someone to run your localization project?', 'polylang'),
147
+ __('Do you need customized workflows?', 'polylang'),
148
+ __('Do you you have existing Translation Memories you would like to use?', 'polylang'),
149
+ __('Do you need help creating glossaries and terminologies?', 'polylang'),
150
+ ),
151
+ array_intersect_key($links, array_flip(array('activate','services'))),
152
+ 'image04.png'
153
+ );
154
+
155
+ }
156
+
157
+ /*
158
+ * styles the content of the Lingotek tab
159
+ *
160
+ * @since 1.7.7
161
+ */
162
+ public function print_css() { ?>
163
+ <style type="text/css">
164
+ .ltk-feature {
165
+ text-align: left;
166
+ float: left;
167
+ width: 310px;
168
+ padding: 0px;
169
+ border: 1px solid #ddd;
170
+ margin-right: 3px;
171
+ margin-bottom: 3px;
172
+ height: 630px;
173
+ background: #fafafa;
174
+ }
175
+ .ltk-feature h3 {
176
+ height: 1em;
177
+ }
178
+ .ltk-feature .ltk-image {
179
+ text-align: center;
180
+ }
181
+ .ltk-feature img {
182
+ margin: 10px;
183
+ width: 180px;
184
+ height: 180px;
185
+ height: auto;
186
+ }
187
+ .ltk-feature ul {
188
+ margin-left: 10px;
189
+ }
190
+ .ltk-feature ul li {
191
+ list-style: inside disc;
192
+ list-style-position: outside;
193
+ padding-left: 0;
194
+ }
195
+ .ltk-feature .ltk-desc {
196
+ height: 3em;
197
+ width: 100%;
198
+ }
199
+ .ltk-feature .ltk-upper {
200
+ background: #fff;
201
+ padding: 20px;
202
+ }
203
+ .ltk-feature .ltk-lower {
204
+ padding: 5px 20px 0px 20px;
205
+ border-top: 1px solid #eee;
206
+
207
+ text-align: left;
208
+ font-size: 95%;
209
+ }
210
+
211
+ @media screen and ( max-width: 620px ) {
212
+ .ltk-feature {
213
+ height: auto;
214
+ padding-bottom: 20px;
215
+ }
216
+ }
217
+ </style><?php
218
+ }
219
+
220
+ /*
221
+ * outputs the content of each box
222
+ *
223
+ * @since 1.7.7
224
+ *
225
+ * @param string $title
226
+ * @param string $desc
227
+ * @param array $list
228
+ * @param array $links
229
+ * @param $img string
230
+ */
231
+ protected function box($title, $desc, $list, $links, $img) {?>
232
+ <div class="ltk-feature">
233
+ <div class="ltk-upper">
234
+ <div class="ltk-image">
235
+ <img src="<?php echo plugins_url($img, __FILE__);?> " width="220" height="220"/>
236
+ </div>
237
+ <h3><?php echo $title; ?></h3>
238
+ <p class="ltk-desc"><?php echo $desc; ?></p><?php
239
+ foreach ($links as $link_details) {
240
+ printf(
241
+ '<a class = "%s" href = "%s"%s>%s</a> ',
242
+ $link_details['classes'],
243
+ esc_url($link_details['link']),
244
+ empty($link_details['new_tab']) ? '' : ' target = "_blank"',
245
+ $link_details['label']
246
+ );
247
+ } ?>
248
+ </div>
249
+ <div class="ltk-lower">
250
+ <ul><?php
251
+ foreach ($list as $item)
252
+ printf('<li>%s</li>', $item); ?>
253
+ </ul>
254
+ <a href="http://www.lingotek.com/wordpress" target = "_blank"><?php _e('Learn more...', 'polylang') ?></a>
255
+ </div>
256
+
257
+ </div><?php
258
+ }
259
+
260
+ /*
261
+ * get a link to install / activate Lingotek
262
+ * depending on user rights and if plugin is already installed
263
+ *
264
+ * @since 1.7.7
265
+ *
266
+ * @return string
267
+ */
268
+ protected function get_activate_link() {
269
+ if (!array_key_exists(self::LINGOTEK, get_plugins())) {
270
+ if (current_user_can('install_plugins')) {
271
+ $plugin = dirname(self::LINGOTEK);
272
+ return wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=' . $plugin), 'install-plugin_' . $plugin);
273
+ }
274
+ }
275
+
276
+ elseif (current_user_can('activate_plugins')) {
277
+ if (!is_plugin_active(self::LINGOTEK))
278
+ return wp_nonce_url('plugins.php?action=activate&plugin=' . self::LINGOTEK, 'activate-plugin_' . self::LINGOTEK);
279
+ }
280
+
281
+ return '';
282
+ }
283
+ }
284
+
285
+ add_action('admin_init', create_function('', 'new PLL_Lingotek();'));
286
+
polylang.php CHANGED
@@ -2,7 +2,7 @@
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
@@ -34,7 +34,7 @@ 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
2
  /*
3
  Plugin Name: Polylang
4
  Plugin URI: http://polylang.wordpress.com/
5
+ Version: 1.7.7
6
  Author: Frédéric Demarle
7
  Author uri: http://polylang.wordpress.com
8
  Description: Adds multilingual capability to WordPress
34
  if (!function_exists('add_action'))
35
  exit();
36
 
37
+ define('POLYLANG_VERSION', '1.7.7');
38
  define('PLL_MIN_WP_VERSION', '3.8');
39
 
40
  define('POLYLANG_BASENAME', plugin_basename(__FILE__)); // plugin name as known by WP
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.6
8
  License: GPLv2 or later
9
 
10
  Making WordPress multilingual
@@ -13,11 +13,12 @@ Making WordPress multilingual
13
 
14
  = Features =
15
 
16
- Polylang allows you to create a bilingual or multilingual WordPress site. You write posts, pages and create categories and post tags as usual, and then define the language for each of them. The translation of a post, whether it is in the default language or not, is optional. The translation has to be done by the site editor as Polylang does not integrate any automatic or professional translation service.
17
 
18
  * You can use as many languages as you want. RTL language scripts are supported. WordPress languages packs are automatically downloaded and updated.
19
  * You can translate posts, pages, media, categories, post tags, menus, widgets...
20
  * Custom post types, custom taxonomies, sticky posts and post formats, RSS feeds and all default WordPress widgets are supported.
 
21
  * The language is either set by the content or by the language code in url, or you can use one different subdomain or domain per language
22
  * Categories, post tags as well as some other metas are automatically copied when adding a new post or page translation
23
  * A customizable language switcher is provided as a widget or in the nav menu
@@ -25,10 +26,10 @@ 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 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)
@@ -65,6 +66,8 @@ The plugin admin interface is currently available in 38 languages:
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
 
@@ -82,6 +85,7 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
82
  1. Extract all the files.
83
  1. Upload everything (keeping the directory structure) to the `/wp-content/plugins/` directory.
84
  1. Activate the plugin through the 'Plugins' menu in WordPress.
 
85
  1. Go to the languages settings page and create the languages you need
86
  1. Add the 'language switcher' widget to let your visitors switch the language.
87
  1. Take care that your theme must come with the corresponding .mo files (Polylang downloads them for themes and plugins bundled with WordPress). If your theme is not internationalized yet, please refer to the [codex](http://codex.wordpress.org/I18n_for_WordPress_Developers#I18n_for_theme_and_plugin_developers) or ask the theme author to internationalize it.
@@ -91,6 +95,7 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
91
  = Where to find help ? =
92
 
93
  * Read the [documentation](http://polylang.wordpress.com/documentation/). It includes [guidelines to start working with Polylang](http://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/), a [FAQ](http://polylang.wordpress.com/documentation/frequently-asked-questions/) and the [documentation for programmers](http://polylang.wordpress.com/documentation/documentation-for-developers/).
 
94
  * First time users should read [Polylang - Getting started](http://plugins.svn.wordpress.org/polylang/doc/polylang-getting-started.pdf), a user contributed PDF document which explains the basics with a lot of screenshots.
95
  * Search the [support forum](https://wordpress.org/search/). You will most probably find your answer here.
96
  * Read the sticky posts in the [support forum](http://wordpress.org/support/plugin/polylang).
@@ -106,6 +111,21 @@ See http://polylang.wordpress.com/documentation/contribute/
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/)
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.7
8
  License: GPLv2 or later
9
 
10
  Making WordPress multilingual
13
 
14
  = Features =
15
 
16
+ Polylang allows you to create a bilingual or multilingual WordPress site. You write posts, pages and create categories and post tags as usual, and then define the language for each of them. The translation of a post, whether it is in the default language or not, is optional. If you wish to use a professional or automatic translation service, you can now install [Lingotek Translation](https://wordpress.org/plugins/lingotek-translation/), as an addon of Polylang. Lingotek offers a complete translation management system which provides services such as translation memory or semi-automated translation processes (e.g. machine translation > human translation > legal review).
17
 
18
  * You can use as many languages as you want. RTL language scripts are supported. WordPress languages packs are automatically downloaded and updated.
19
  * You can translate posts, pages, media, categories, post tags, menus, widgets...
20
  * Custom post types, custom taxonomies, sticky posts and post formats, RSS feeds and all default WordPress widgets are supported.
21
+ * Professional and automatic translations services are available thanks to [Lingotek Translation](https://wordpress.org/plugins/lingotek-translation/).
22
  * The language is either set by the content or by the language code in url, or you can use one different subdomain or domain per language
23
  * Categories, post tags as well as some other metas are automatically copied when adding a new post or page translation
24
  * A customizable language switcher is provided as a widget or in the nav menu
26
 
27
  = Translators =
28
 
29
+ The plugin admin interface is currently available in 40 languages:
30
 
31
  * English
32
+ * French by [fxbenard](http://fxbenard.com/)
33
  * German by [Christian Ries](http://www.singbyfoot.lu)
34
  * Russian by [yoyurec](http://yoyurec.in.ua) and unostar
35
  * Greek by [theodotos](http://www.ubuntucy.org)
66
  * Brazilian Portuguese by [Henrique Vianna](http://henriquevianna.com/)
67
  * Georgian by [Tours in Georgia](http://www.georgia-tours.eu/)
68
  * Galician by [Toño Calo](http://fedellar.wordpress.com/)
69
+ * Romanian by uskro
70
+ * Japanese by [Eiko Toda](http://www.eikotoda.com)
71
 
72
  = Credits =
73
 
85
  1. Extract all the files.
86
  1. Upload everything (keeping the directory structure) to the `/wp-content/plugins/` directory.
87
  1. Activate the plugin through the 'Plugins' menu in WordPress.
88
+ 1. Install and activate the [Lingotek Translation](https://wordpress.org/plugins/lingotek-translation/) plugin to enable machine/professional translation.
89
  1. Go to the languages settings page and create the languages you need
90
  1. Add the 'language switcher' widget to let your visitors switch the language.
91
  1. Take care that your theme must come with the corresponding .mo files (Polylang downloads them for themes and plugins bundled with WordPress). If your theme is not internationalized yet, please refer to the [codex](http://codex.wordpress.org/I18n_for_WordPress_Developers#I18n_for_theme_and_plugin_developers) or ask the theme author to internationalize it.
95
  = Where to find help ? =
96
 
97
  * Read the [documentation](http://polylang.wordpress.com/documentation/). It includes [guidelines to start working with Polylang](http://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/), a [FAQ](http://polylang.wordpress.com/documentation/frequently-asked-questions/) and the [documentation for programmers](http://polylang.wordpress.com/documentation/documentation-for-developers/).
98
+ * If you want to use professional or automatic translation services, install and activate the [Lingotek Translation](https://wordpress.org/plugins/lingotek-translation/) plugin.
99
  * First time users should read [Polylang - Getting started](http://plugins.svn.wordpress.org/polylang/doc/polylang-getting-started.pdf), a user contributed PDF document which explains the basics with a lot of screenshots.
100
  * Search the [support forum](https://wordpress.org/search/). You will most probably find your answer here.
101
  * Read the sticky posts in the [support forum](http://wordpress.org/support/plugin/polylang).
111
 
112
  == Changelog ==
113
 
114
+ = 1.7.7 =
115
+
116
+ * Add Romanian translation contributed by uskro
117
+ * Add Japanese translation contributed by [Eiko Toda](http://www.eikotoda.com)
118
+ * Update French translation contributed by [fxbenard](http://fxbenard.com/)
119
+ * The language locale is now validated with the same pattern as in WP 4.3. See #28303
120
+ * fix: make sure that the language switcher never finds translations for untranslated post types (could occur when the post type was previously translated)
121
+ * fix: display the default category according to the admin language filter in settings->writing
122
+ * fix: flushing rewrite rules at network activation and de-activation is back. [props RavanH](https://polylang.wordpress.com/2015/06/10/polylang-1-7-6-and-multisite/comment-page-1/#comment-1138)
123
+ * fix: avoid a conflict with WP Super Cache preloading (loading 'polylang_mo' posts which are 404). [props ecdltf](https://wordpress.org/support/topic/polylang_mo-and-404s-take-2)
124
+ * fix: customizer menus issues introduced by changes in WP 4.1
125
+ * fix: strings translations are not saved when pressing enter
126
+ * fix: it is not possible to de-activate the translation for custom post types and taxonomies from wpml-config.xml
127
+ * fix: conflict whith plugins using stringified json in ajax requests
128
+
129
  = 1.7.6 (2015-06-10) =
130
 
131
  * Add Galician translation contributed by [Toño Calo](http://fedellar.wordpress.com/)