Permalink Manager Lite - Version 2.2.8.7

Version Description

  • Improved breadcrumbs hook (better compatibility with WPML/Polylang)
  • Hotfix for permalinks used in language switcher on blog/posts page (WPML)
  • Hotfix for cart URL in WooCommerce's mini-cart widget (now the permalink is translated correctly when WPML/Polylang is used)
  • Improved support for WPML's Advanced Translation
  • Improved support for pagination & embed endpoints
  • Hotfix for attachments permalinks
  • Improved url_to_postid() hook
  • Added support for Dokan /edit/ endpoint
Download this release

Release Info

Developer mbis
Plugin Icon 128x128 Permalink Manager Lite
Version 2.2.8.7
Comparing to
See all releases

Code changes from version 2.2.8.5 to 2.2.8.7

README.txt CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
6
  Tags: permalinks, custom permalinks, url editor, permalinks, woocommerce permalinks
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.4
9
- Tested up to: 5.4
10
- Stable tag: 2.2.8.5
11
 
12
  Permalink Manager Pro allows to easily change full URL addresses of posts, pages, custom post types, terms and WooCommerce links. You can also set different permalink formats per language or bulk change the URLs.
13
 
@@ -50,7 +50,7 @@ https://www.youtube.com/watch?v=KMOtAK5c7t8
50
  Buy <a href="https://permalinkmanager.pro?utm_source=wordpress">Permalink Manager Pro here</a>.
51
 
52
  = Translators =
53
- * Japaneese - Shinsaku Ikeda
54
 
55
  == Installation ==
56
 
@@ -103,6 +103,23 @@ It is because Permalink Manager overwrites one of the core Wordpress functionali
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  = 2.2.8.4/2.2.8.5 =
107
  * Hotfix for Permastructures (now the permalink formats are saved correctly)
108
  * Hotfix for trailing slashes settings
6
  Tags: permalinks, custom permalinks, url editor, permalinks, woocommerce permalinks
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.4
9
+ Tested up to: 5.4.2
10
+ Stable tag: 2.2.8.7
11
 
12
  Permalink Manager Pro allows to easily change full URL addresses of posts, pages, custom post types, terms and WooCommerce links. You can also set different permalink formats per language or bulk change the URLs.
13
 
50
  Buy <a href="https://permalinkmanager.pro?utm_source=wordpress">Permalink Manager Pro here</a>.
51
 
52
  = Translators =
53
+ * Japanese - Shinsaku Ikeda
54
 
55
  == Installation ==
56
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.2.8.7 =
107
+ * Improved breadcrumbs hook (better compatibility with WPML/Polylang)
108
+ * Hotfix for permalinks used in language switcher on blog/posts page (WPML)
109
+ * Hotfix for cart URL in WooCommerce's mini-cart widget (now the permalink is translated correctly when WPML/Polylang is used)
110
+ * Improved support for WPML's Advanced Translation
111
+ * Improved support for pagination & embed endpoints
112
+ * Hotfix for attachments permalinks
113
+ * Improved url_to_postid() hook
114
+ * Added support for Dokan /edit/ endpoint
115
+
116
+ = 2.2.8.6 =
117
+ * Hotfix for Permalink_Manager_Helper_Functions::get_disabled_taxonomies() function
118
+ * New wrapper function with filter 'permalink_manager_post_statuses' for get_post_statuses()
119
+ * Extended support for "My Listing" theme (by 27collective)
120
+ * Hotfix for Gutenberg editor (broken HTML output)
121
+ * Extended support for permalinks stored in Yoast SEO database tables (Indexables)
122
+
123
  = 2.2.8.4/2.2.8.5 =
124
  * Hotfix for Permastructures (now the permalink formats are saved correctly)
125
  * Hotfix for trailing slashes settings
includes/core/permalink-manager-actions.php CHANGED
@@ -109,7 +109,7 @@ class Permalink_Manager_Actions extends Permalink_Manager_Class {
109
  * Trigger bulk tools via AJAX
110
  */
111
  function pm_bulk_tools() {
112
- global $sitepress, $wp_filter;
113
 
114
  // Define variables
115
  $return = array('alert' => Permalink_Manager_Admin_Functions::get_alert_message(__( '<strong>No slugs</strong> were updated!', 'permalink-manager' ), 'error updated_slugs'));
@@ -159,8 +159,15 @@ class Permalink_Manager_Actions extends Permalink_Manager_Class {
159
  // Split items array into chunks and save them to transient
160
  $items = array_chunk($items, $chunk_size);
161
 
162
- set_transient("pm_{$uniq_id}", $items, 300);
163
  set_transient("pm_{$uniq_id}_progress", 0, 300);
 
 
 
 
 
 
 
 
164
  }
165
 
166
  // Get homepage URL and ensure that it ends with slash
@@ -172,11 +179,7 @@ class Permalink_Manager_Actions extends Permalink_Manager_Class {
172
 
173
  // Process only one subarray
174
  if(!empty($items[0])) {
175
- $chunk = $items[0];
176
-
177
- // Remove from array & update the transient
178
- unset($items[0]);
179
- $items = array_values($items);
180
  set_transient("pm_{$uniq_id}", $items, 300);
181
 
182
  // Check if posts or terms should be updated
109
  * Trigger bulk tools via AJAX
110
  */
111
  function pm_bulk_tools() {
112
+ global $sitepress, $wp_filter, $wpdb;
113
 
114
  // Define variables
115
  $return = array('alert' => Permalink_Manager_Admin_Functions::get_alert_message(__( '<strong>No slugs</strong> were updated!', 'permalink-manager' ), 'error updated_slugs'));
159
  // Split items array into chunks and save them to transient
160
  $items = array_chunk($items, $chunk_size);
161
 
 
162
  set_transient("pm_{$uniq_id}_progress", 0, 300);
163
+ set_transient("pm_{$uniq_id}", $items, 300);
164
+
165
+ // Check for MySQL errors
166
+ if(!empty($wpdb->last_error)) {
167
+ printf('%s (%sMB)', $wpdb->last_error, strlen(serialize($items)) / 1000000);
168
+ http_response_code(500);
169
+ die();
170
+ }
171
  }
172
 
173
  // Get homepage URL and ensure that it ends with slash
179
 
180
  // Process only one subarray
181
  if(!empty($items[0])) {
182
+ $chunk = array_shift($items);
 
 
 
 
183
  set_transient("pm_{$uniq_id}", $items, 300);
184
 
185
  // Check if posts or terms should be updated
includes/core/permalink-manager-admin-functions.php CHANGED
@@ -881,10 +881,10 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
881
  "<div class=\"default-permalink-row save-row columns-container hidden\"><div><a href=\"#\" class=\"button button-primary\" id=\"permalink-manager-save-button\">%s</a></div></div>",
882
  __("Save permalink", "permalink-manager")
883
  );
 
 
884
  }
885
 
886
-
887
- $html .= "</div>";
888
  $html .= "</div>";
889
 
890
  // 11. Append nonce field, element ID & native slug
881
  "<div class=\"default-permalink-row save-row columns-container hidden\"><div><a href=\"#\" class=\"button button-primary\" id=\"permalink-manager-save-button\">%s</a></div></div>",
882
  __("Save permalink", "permalink-manager")
883
  );
884
+ } else {
885
+ $html .= "</div>";
886
  }
887
 
 
 
888
  $html .= "</div>";
889
 
890
  // 11. Append nonce field, element ID & native slug
includes/core/permalink-manager-core-functions.php CHANGED
@@ -16,6 +16,8 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
16
  add_filter( 'permalink_manager_filter_final_term_permalink', array($this, 'control_trailing_slashes'), 9);
17
  add_filter( 'permalink_manager_filter_final_post_permalink', array($this, 'control_trailing_slashes'), 9);
18
  add_filter( 'permalink_manager_filter_post_sample_uri', array($this, 'control_trailing_slashes'), 9);
 
 
19
 
20
  /**
21
  * Detect & canonical URL/redirect functions
@@ -331,15 +333,15 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
331
  $remove_broken_uri = Permalink_Manager_Actions::force_clear_single_element_uris_and_redirects($broken_element_id);
332
 
333
  // Reload page if success
334
- if($remove_broken_uri) {
335
  header("Refresh:0");
336
  exit();
337
  }
338
  }
339
 
340
  /**
341
- * 5A. Endpoints
342
- */
343
  if(!empty($element_id) && (!empty($endpoint) || !empty($endpoint_value))) {
344
  if(is_array($endpoint)) {
345
  foreach($endpoint as $endpoint_name => $endpoint_value) {
@@ -347,13 +349,15 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
347
  }
348
  } else if($endpoint == 'feed') {
349
  $query[$endpoint] = 'feed';
 
 
350
  } else if($endpoint == 'page') {
351
  $endpoint = 'paged';
352
  $query[$endpoint] = $endpoint_value;
353
  } else if($endpoint == 'trackback') {
354
  $endpoint = 'tb';
355
  $query[$endpoint] = 1;
356
- } else if(!$endpoint && is_numeric($endpoint_value)) {
357
  $query['page'] = $endpoint_value;
358
  } else {
359
  $query[$endpoint] = $endpoint_value;
@@ -381,6 +385,14 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
381
  }
382
  }
383
 
 
 
 
 
 
 
 
 
384
  /**
385
  * 6. Set global with detected item id
386
  */
@@ -445,16 +457,16 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
445
  }
446
 
447
  /**
448
- * Display 404 if requested page does not exist in pagination
449
- */
450
  function fix_pagination_pages() {
451
- global $wp_query;
452
 
453
  // 1. Get the queried object
454
  $post = get_queried_object();
455
 
456
  // 2. Check if post object is defined
457
- if(!empty($post->post_type)) {
458
  // 2A. Check if pagination is detected
459
  $current_page = (!empty($wp_query->query_vars['page'])) ? $wp_query->query_vars['page'] : 1;
460
  $current_page = (empty($wp_query->query_vars['page']) && !empty($wp_query->query_vars['paged'])) ? $wp_query->query_vars['paged'] : $current_page;
@@ -468,6 +480,10 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
468
  else if(!empty($wp_query->query['paged']) && $wp_query->post_count == 0) {
469
  $is_404 = true;
470
  }
 
 
 
 
471
 
472
  // 5. Block non-existent pages (Force 404 error)
473
  if(!empty($is_404)) {
@@ -496,6 +512,7 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
496
  $canonical_redirect = (!empty($permalink_manager_options['general']['canonical_redirect'])) ? $permalink_manager_options['general']['canonical_redirect'] : false;
497
  $old_slug_redirect = (!empty($permalink_manager_options['general']['old_slug_redirect'])) ? $permalink_manager_options['general']['old_slug_redirect'] : false;
498
  $endpoint_redirect = (!empty($permalink_manager_options['general']['endpoint_redirect'])) ? $permalink_manager_options['general']['endpoint_redirect'] : false;
 
499
  $redirect_type = '-';
500
 
501
  // Get home URL
@@ -577,7 +594,15 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
577
  if(!empty($_SERVER['REQUEST_URI']) && (strpos($_SERVER['REQUEST_URI'], '/wp-content') !== false)) { return false; }
578
 
579
  /**
580
- * 1C. Enhance native redirect
 
 
 
 
 
 
 
 
581
  */
582
  if($canonical_redirect && empty($wp_query->query_vars['do_not_redirect']) && !empty($queried_object) && empty($correct_permalink)) {
583
 
@@ -607,7 +632,7 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
607
  }
608
 
609
  /**
610
- * 1D. Old slug redirect
611
  */
612
  if($old_slug_redirect && !empty($pm_query['uri']) && empty($wp_query->query_vars['do_not_redirect']) && is_404()) {
613
  $slug = basename($pm_query['uri']);
16
  add_filter( 'permalink_manager_filter_final_term_permalink', array($this, 'control_trailing_slashes'), 9);
17
  add_filter( 'permalink_manager_filter_final_post_permalink', array($this, 'control_trailing_slashes'), 9);
18
  add_filter( 'permalink_manager_filter_post_sample_uri', array($this, 'control_trailing_slashes'), 9);
19
+ add_filter( 'wpseo_canonical', array($this, 'control_trailing_slashes'), 9);
20
+ add_filter( 'wpseo_opengraph_url', array($this, 'control_trailing_slashes'), 9);
21
 
22
  /**
23
  * Detect & canonical URL/redirect functions
333
  $remove_broken_uri = Permalink_Manager_Actions::force_clear_single_element_uris_and_redirects($broken_element_id);
334
 
335
  // Reload page if success
336
+ if($remove_broken_uri && !headers_sent()) {
337
  header("Refresh:0");
338
  exit();
339
  }
340
  }
341
 
342
  /**
343
+ * 5A. Endpoints
344
+ */
345
  if(!empty($element_id) && (!empty($endpoint) || !empty($endpoint_value))) {
346
  if(is_array($endpoint)) {
347
  foreach($endpoint as $endpoint_name => $endpoint_value) {
349
  }
350
  } else if($endpoint == 'feed') {
351
  $query[$endpoint] = 'feed';
352
+ } else if($endpoint == 'embed') {
353
+ $query[$endpoint] = true;
354
  } else if($endpoint == 'page') {
355
  $endpoint = 'paged';
356
  $query[$endpoint] = $endpoint_value;
357
  } else if($endpoint == 'trackback') {
358
  $endpoint = 'tb';
359
  $query[$endpoint] = 1;
360
+ } else if(empty($endpoint) && is_numeric($endpoint_value)) {
361
  $query['page'] = $endpoint_value;
362
  } else {
363
  $query[$endpoint] = $endpoint_value;
385
  }
386
  }
387
 
388
+ /**
389
+ * 5C. Fix for WPML (language switcher on blog page)
390
+ */
391
+ $blog_page_id = get_option('page_for_posts');
392
+ if(is_numeric($element_id) && !empty($blog_page_id) && ($blog_page_id == $element_id) && !isset($query['page'])) {
393
+ $query['page'] = 1;
394
+ }
395
+
396
  /**
397
  * 6. Set global with detected item id
398
  */
457
  }
458
 
459
  /**
460
+ * Display 404 if requested page does not exist in pagination
461
+ */
462
  function fix_pagination_pages() {
463
+ global $wp_query, $pm_query;
464
 
465
  // 1. Get the queried object
466
  $post = get_queried_object();
467
 
468
  // 2. Check if post object is defined
469
+ if(!empty($post->post_type) && !empty($post->post_content)) {
470
  // 2A. Check if pagination is detected
471
  $current_page = (!empty($wp_query->query_vars['page'])) ? $wp_query->query_vars['page'] : 1;
472
  $current_page = (empty($wp_query->query_vars['page']) && !empty($wp_query->query_vars['paged'])) ? $wp_query->query_vars['paged'] : $current_page;
480
  else if(!empty($wp_query->query['paged']) && $wp_query->post_count == 0) {
481
  $is_404 = true;
482
  }
483
+ // 4. Force 404 if endpoint value is not set
484
+ else if(!empty($pm_query['endpoint']) && $pm_query['endpoint'] == 'page' && empty($pm_query['endpoint_value'])) {
485
+ $is_404 = true;
486
+ }
487
 
488
  // 5. Block non-existent pages (Force 404 error)
489
  if(!empty($is_404)) {
512
  $canonical_redirect = (!empty($permalink_manager_options['general']['canonical_redirect'])) ? $permalink_manager_options['general']['canonical_redirect'] : false;
513
  $old_slug_redirect = (!empty($permalink_manager_options['general']['old_slug_redirect'])) ? $permalink_manager_options['general']['old_slug_redirect'] : false;
514
  $endpoint_redirect = (!empty($permalink_manager_options['general']['endpoint_redirect'])) ? $permalink_manager_options['general']['endpoint_redirect'] : false;
515
+ $pagination_redirect = (!empty($permalink_manager_options['general']['pagination_redirect'])) ? $permalink_manager_options['general']['pagination_redirect'] : false;
516
  $redirect_type = '-';
517
 
518
  // Get home URL
594
  if(!empty($_SERVER['REQUEST_URI']) && (strpos($_SERVER['REQUEST_URI'], '/wp-content') !== false)) { return false; }
595
 
596
  /**
597
+ * 1C. Pagination redirect
598
+ */
599
+ if($pagination_redirect && ((isset($wp_query->query_vars['paged']) && $wp_query->query_vars['paged'] == 1) || (isset($wp_query->query_vars['page']) && $wp_query->query_vars['page'] == 1 && !empty($pm_query['endpoint_value'])))) {
600
+ $pm_query['endpoint'] = $pm_query['endpoint_value'] = '';
601
+ $wp_query->query_vars['do_not_redirect'] = 0;
602
+ }
603
+
604
+ /**
605
+ * 1D. Enhance native redirect
606
  */
607
  if($canonical_redirect && empty($wp_query->query_vars['do_not_redirect']) && !empty($queried_object) && empty($correct_permalink)) {
608
 
632
  }
633
 
634
  /**
635
+ * 1E. Old slug redirect
636
  */
637
  if($old_slug_redirect && !empty($pm_query['uri']) && empty($wp_query->query_vars['do_not_redirect']) && is_404()) {
638
  $slug = basename($pm_query['uri']);
includes/core/permalink-manager-debug.php CHANGED
@@ -12,6 +12,7 @@ class Permalink_Manager_Debug_Functions extends Permalink_Manager_Class {
12
  public function debug_data() {
13
  add_filter('permalink_manager_filter_query', array($this, 'debug_query'), 9, 5);
14
  add_filter('permalink_manager_filter_redirect', array($this, 'debug_redirect'), 9, 3);
 
15
 
16
  self::debug_custom_redirects();
17
  self::debug_custom_fields();
@@ -66,7 +67,21 @@ class Permalink_Manager_Debug_Functions extends Permalink_Manager_Class {
66
  }
67
 
68
  /**
69
- * 3. Outputs a list of native & custom redirects
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  */
71
  public function debug_custom_redirects() {
72
  global $permalink_manager, $permalink_manager_uris, $permalink_manager_redirects;
12
  public function debug_data() {
13
  add_filter('permalink_manager_filter_query', array($this, 'debug_query'), 9, 5);
14
  add_filter('permalink_manager_filter_redirect', array($this, 'debug_redirect'), 9, 3);
15
+ add_filter('wp_redirect', array($this, 'debug_wp_redirect'), 9, 2);
16
 
17
  self::debug_custom_redirects();
18
  self::debug_custom_fields();
67
  }
68
 
69
  /**
70
+ * 3. Used to debug wp_redirect() function used in 3rd party plugins
71
+ */
72
+ public function debug_wp_redirect($url, $status) {
73
+ if(isset($_GET['debug_wp_redirect'])) {
74
+ $debug_info['url'] = $url;
75
+ $debug_info['backtrace'] = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 10);
76
+
77
+ self::display_debug_data($debug_info);
78
+ }
79
+
80
+ return $url;
81
+ }
82
+
83
+ /**
84
+ * 4. Outputs a list of native & custom redirects
85
  */
86
  public function debug_custom_redirects() {
87
  global $permalink_manager, $permalink_manager_uris, $permalink_manager_redirects;
includes/core/permalink-manager-helper-functions.php CHANGED
@@ -59,9 +59,9 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
59
  $primary_term = the_seo_framework()->get_primary_term($post_id, $taxonomy);
60
  }
61
  // C. RankMath
62
- else if(class_exists('RankMath') && $taxonomy == 'category') {
63
- $primary_cat_id = get_post_meta($post_id, 'rank_math_primary_category', true);
64
- $primary_term = (!empty($primary_cat_id)) ? get_term($primary_cat_id, 'category') : '';
65
  }
66
  // D. SEOPress
67
  else if(function_exists('seopress_init') && $taxonomy == 'category') {
@@ -187,7 +187,7 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
187
  static function get_disabled_taxonomies($include_user_excluded = true) {
188
  global $wp_taxonomies, $permalink_manager_options;
189
 
190
- $disabled_taxonomies = array('product_shipping_class', 'post_status', 'fl-builder-template-category', 'post_format');
191
 
192
  // 1. Disable taxonomies that are not publicly_queryable
193
  foreach($wp_taxonomies as $taxonomy) {
@@ -200,7 +200,7 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
200
 
201
  // 2. Add taxonomies disabled by user
202
  if($include_user_excluded) {
203
- $disabled_taxonomies = (!empty($permalink_manager_options['general']['partial_disable']['taxonomies'])) ? array_merge((array) $permalink_manager_options['general']['partial_disable']['taxonomies'], $disabled_taxonomies) : array();
204
  }
205
 
206
  return apply_filters('permalink_manager_disabled_taxonomies', $disabled_taxonomies);
@@ -257,7 +257,9 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
257
 
258
  foreach($wp_taxonomies as $taxonomy) {
259
  $key = ($prefix) ? "tax-{$taxonomy->name}" : $taxonomy->name;
260
- $taxonomies_array[$taxonomy->name] = ($format == 'full') ? array('label' => $taxonomy->labels->name, 'name' => $taxonomy->name) : $taxonomy->labels->name;
 
 
261
  }
262
 
263
  if(is_array($disabled_taxonomies)) {
@@ -273,6 +275,15 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
273
  return (empty($tax)) ? $taxonomies_array : $taxonomies_array[$tax];
274
  }
275
 
 
 
 
 
 
 
 
 
 
276
  /**
277
  * Get permastruct
278
  */
@@ -608,7 +619,7 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
608
 
609
  // Keep the URIs in a separate array just here & unset the URI for requested element to prevent false alert
610
  $all_uris = $permalink_manager_uris;
611
- unset($all_uris[$element_id]);
612
 
613
  if(in_array($uri, $all_uris)) {
614
  $all_duplicates = (array) array_keys($all_uris, $uri);
@@ -618,7 +629,7 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
618
  foreach($all_duplicates as $key => $duplicated_id) {
619
  $duplicated_uri_lang = Permalink_Manager_Language_Plugins::get_language_code($duplicated_id);
620
 
621
- if($duplicated_uri_lang !== $this_uri_lang) {
622
  unset($all_duplicates[$key]);
623
  }
624
  }
59
  $primary_term = the_seo_framework()->get_primary_term($post_id, $taxonomy);
60
  }
61
  // C. RankMath
62
+ else if(class_exists('RankMath')) {
63
+ $primary_cat_id = get_post_meta($post_id, "rank_math_primary_{$taxonomy}", true);
64
+ $primary_term = (!empty($primary_cat_id)) ? get_term($primary_cat_id, $taxonomy) : '';
65
  }
66
  // D. SEOPress
67
  else if(function_exists('seopress_init') && $taxonomy == 'category') {
187
  static function get_disabled_taxonomies($include_user_excluded = true) {
188
  global $wp_taxonomies, $permalink_manager_options;
189
 
190
+ $disabled_taxonomies = array('product_shipping_class', 'post_status', 'fl-builder-template-category', 'post_format', 'nav_menu', 'language');
191
 
192
  // 1. Disable taxonomies that are not publicly_queryable
193
  foreach($wp_taxonomies as $taxonomy) {
200
 
201
  // 2. Add taxonomies disabled by user
202
  if($include_user_excluded) {
203
+ $disabled_taxonomies = (!empty($permalink_manager_options['general']['partial_disable']['taxonomies'])) ? array_merge((array) $permalink_manager_options['general']['partial_disable']['taxonomies'], $disabled_taxonomies) : $disabled_taxonomies;
204
  }
205
 
206
  return apply_filters('permalink_manager_disabled_taxonomies', $disabled_taxonomies);
257
 
258
  foreach($wp_taxonomies as $taxonomy) {
259
  $key = ($prefix) ? "tax-{$taxonomy->name}" : $taxonomy->name;
260
+ $taxonomy_name = (!empty($taxonomy->labels->name)) ? $taxonomy->labels->name : '-';
261
+
262
+ $taxonomies_array[$taxonomy->name] = ($format == 'full') ? array('label' => $taxonomy->labels->name, 'name' => $taxonomy->name) : $taxonomy_name;
263
  }
264
 
265
  if(is_array($disabled_taxonomies)) {
275
  return (empty($tax)) ? $taxonomies_array : $taxonomies_array[$tax];
276
  }
277
 
278
+ /**
279
+ * Get all post statuses supported by Permalink Manager
280
+ */
281
+ static function get_post_statuses() {
282
+ $post_statuses = get_post_statuses();
283
+
284
+ return apply_filters('permalink_manager_post_statuses', $post_statuses);
285
+ }
286
+
287
  /**
288
  * Get permastruct
289
  */
619
 
620
  // Keep the URIs in a separate array just here & unset the URI for requested element to prevent false alert
621
  $all_uris = $permalink_manager_uris;
622
+ if(!empty($all_uris[$element_id])) { unset($all_uris[$element_id]); }
623
 
624
  if(in_array($uri, $all_uris)) {
625
  $all_duplicates = (array) array_keys($all_uris, $uri);
629
  foreach($all_duplicates as $key => $duplicated_id) {
630
  $duplicated_uri_lang = Permalink_Manager_Language_Plugins::get_language_code($duplicated_id);
631
 
632
+ if($duplicated_uri_lang !== $this_uri_lang && !empty($all_duplicates[$key])) {
633
  unset($all_duplicates[$key]);
634
  }
635
  }
includes/core/permalink-manager-language-plugins.php CHANGED
@@ -83,6 +83,11 @@ class Permalink_Manager_Language_Plugins extends Permalink_Manager_Class {
83
  add_filter('wpml-translation-editor-fetch-job', array($this, 'wpml_translation_save_uri'), 999, 2);
84
  }
85
 
 
 
 
 
 
86
  add_action('icl_make_duplicate', array($this, 'wpml_duplicate_uri'), 999, 4);
87
  }
88
  }
@@ -445,13 +450,26 @@ class Permalink_Manager_Language_Plugins extends Permalink_Manager_Class {
445
  return $request;
446
  }
447
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448
  /**
449
  * Edit custom URI using WPML Classic Translation Editor
450
  */
451
  function wpml_translation_edit_uri($fields, $job) {
452
  global $permalink_manager_uris;
453
 
454
- $element_type = (strpos($job->original_post_type, 'post_') !== false) ? preg_replace('/^(post_)/', '', $job->original_post_type) : '';
455
 
456
  if(!empty($element_type)) {
457
  $original_id = $job->original_doc_id;
83
  add_filter('wpml-translation-editor-fetch-job', array($this, 'wpml_translation_save_uri'), 999, 2);
84
  }
85
 
86
+ // Generate custom permalink after WPML's Advanced Translation editor is used
87
+ if(!empty($sitepress_settings['translation-management']) && !empty($sitepress_settings['translation-management']['doc_translation_method']) && $sitepress_settings['translation-management']['doc_translation_method'] == 'ATE') {
88
+ add_action('icl_pro_translation_completed', array($this, 'regenerate_uri_after_wpml_translation_completed'), 99, 3);
89
+ }
90
+
91
  add_action('icl_make_duplicate', array($this, 'wpml_duplicate_uri'), 999, 4);
92
  }
93
  }
450
  return $request;
451
  }
452
 
453
+ /**
454
+ * Generate custom permalink after WPML's Advanced Translation editor is used
455
+ */
456
+ function regenerate_uri_after_wpml_translation_completed($post_id, $postdata, $job) {
457
+ global $permalink_manager_uris;
458
+
459
+ // Get the default custom permalink based on a permastructure set with Permalink Manager
460
+ $permalink_manager_uris[$post_id] = Permalink_Manager_URI_Functions_Post::get_default_post_uri($post_id);
461
+
462
+ // Save the update
463
+ update_option('permalink-manager-uris', $permalink_manager_uris);
464
+ }
465
+
466
  /**
467
  * Edit custom URI using WPML Classic Translation Editor
468
  */
469
  function wpml_translation_edit_uri($fields, $job) {
470
  global $permalink_manager_uris;
471
 
472
+ $element_type = (!empty($job->original_post_type) && strpos($job->original_post_type, 'post_') !== false) ? preg_replace('/^(post_)/', '', $job->original_post_type) : '';
473
 
474
  if(!empty($element_type)) {
475
  $original_id = $job->original_doc_id;
includes/core/permalink-manager-third-parties.php CHANGED
@@ -39,6 +39,10 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
39
  }
40
 
41
  add_action('woocommerce_product_import_inserted_product_object', array($this, 'woocommerce_generate_permalinks_after_import'), 9, 2);
 
 
 
 
42
  }
43
 
44
  // 5. Theme My Login
@@ -48,12 +52,19 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
48
 
49
  // 6. Yoast SEO
50
  add_filter('wpseo_xml_sitemap_post_url', array($this, 'yoast_fix_sitemap_urls'), 9);
 
 
 
 
 
 
51
 
52
  // 7. Breadcrumbs
53
  add_filter('wpseo_breadcrumb_links', array($this, 'filter_breadcrumbs'), 9);
54
  add_filter('rank_math/frontend/breadcrumb/items', array($this, 'filter_breadcrumbs'), 9);
55
  add_filter('seopress_pro_breadcrumbs_crumbs', array($this, 'filter_breadcrumbs'), 9);
56
  add_filter('woocommerce_get_breadcrumb', array($this, 'filter_breadcrumbs'), 9);
 
57
 
58
  // 8. WooCommerce Wishlist Plugin
59
  if(function_exists('tinv_get_option')) {
@@ -85,13 +96,31 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
85
  add_action('dp_duplicate_post', array($this, 'duplicate_custom_uri'), 10, 2);
86
  add_action('dp_duplicate_page', array($this, 'duplicate_custom_uri'), 10, 2);
87
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  }
89
 
90
  /**
91
  * Some of the hooks must be called shortly after all the plugins are loaded
92
  */
93
  public function init_early_hooks() {
94
- // 12. WP Store Locator
95
  if(class_exists('WPSL_CSV')) {
96
  add_action('added_post_meta', array($this, 'wpsl_regenerate_after_import'), 10, 4);
97
  add_action('updated_post_meta', array($this, 'wpsl_regenerate_after_import'), 10, 4);
@@ -139,6 +168,14 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
139
  else if(!empty($query_vars['eventDisplay'])) {
140
  $wp_query->query_vars['do_not_redirect'] = 1;
141
  }
 
 
 
 
 
 
 
 
142
  }
143
 
144
  // WPForo
@@ -304,6 +341,32 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
304
  }
305
  }
306
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
307
  /**
308
  * 5. Theme My Login
309
  */
@@ -328,118 +391,175 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
328
  return $permalink;
329
  }
330
 
331
- /**
332
- * 7. Breadcrumbs
333
- */
334
- function filter_breadcrumbs($links) {
335
- // Get post type permastructure settings
336
- global $permalink_manager_uris, $permalink_manager_options, $post, $wpdb, $wp, $wp_current_filter;
337
-
338
- // Check if the filter should be activated
339
- if(empty($permalink_manager_options['general']['yoast_breadcrumbs']) || empty($permalink_manager_uris)) { return $links; }
340
-
341
- // Get current post/page/term (if available)
342
- $queried_element = get_queried_object();
343
- if(!empty($queried_element->ID)) {
344
- $element_id = $queried_element->ID;
345
- } else if(!empty($queried_element->term_id)) {
346
- $element_id = "tax-{$queried_element->term_id}";
347
- }
348
-
349
- // Get the custom permalink (if available) or the current request URL (if unavailable)
350
- if(!empty($element_id) && !empty($permalink_manager_uris[$element_id])) {
351
- $custom_uri = preg_replace("/([^\/]+)$/", '', $permalink_manager_uris[$element_id]);
352
- } else {
353
- $custom_uri = trim(preg_replace("/([^\/]+)$/", '', $wp->request), "/");
354
- }
355
-
356
- $all_uris = array_flip($permalink_manager_uris);
357
- $custom_uri_parts = explode('/', trim($custom_uri));
358
- $breadcrumbs = array();
359
- $snowball = '';
360
- $available_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array();
361
- $available_post_types = Permalink_Manager_Helper_Functions::get_post_types_array();
362
- $current_filter = end($wp_current_filter);
363
-
364
- // Get Yoast Meta (the breadcrumbs titles can be changed in Yoast metabox)
365
- $yoast_meta_terms = get_option('wpseo_taxonomy_meta');
366
-
367
- // Get internal breadcrumb elements
368
- foreach($custom_uri_parts as $slug) {
369
- if(empty($slug)) { continue; }
370
-
371
- $snowball = (empty($snowball)) ? $slug : "{$snowball}/{$slug}";
372
-
373
- // 1A. Try to match any custom URI
374
- if($snowball) {
375
- $uri = trim($snowball, "/");
376
- $element = (!empty($all_uris[$uri])) ? $all_uris[$uri] : false;
377
 
378
- if(!empty($element) && strpos($element, 'tax-') !== false) {
379
- $element_id = intval(preg_replace("/[^0-9]/", "", $element));
380
- $element = get_term($element_id);
381
- } else if(is_numeric($element)) {
382
- $element = get_post($element);
383
- }
 
384
  }
385
 
386
- // 1B. Try to get term
387
- if(empty($element) && !empty($available_taxonomies)) {
388
- $sql = sprintf("SELECT t.term_id, t.name, tt.taxonomy FROM {$wpdb->terms} AS t LEFT JOIN {$wpdb->term_taxonomy} AS tt ON t.term_id = tt.term_id WHERE slug = '%s' AND tt.taxonomy IN ('%s') LIMIT 1", esc_sql($slug), implode("','", array_keys($available_taxonomies)));
389
-
390
- $element = $wpdb->get_row($sql);
391
  }
 
 
392
 
393
- // 1C. Try to get page/post
394
- if(empty($element) && !empty($available_post_types)) {
395
- $sql = sprintf("SELECT ID, post_title FROM {$wpdb->posts} WHERE post_name = '%s' AND post_status = 'publish' AND post_type IN ('%s') AND post_type != 'attachment' LIMIT 1", esc_sql($slug), implode("','", array_keys($available_post_types)));
396
-
397
- $element = $wpdb->get_row($sql);
398
- }
399
 
400
- // 2A. When the term is found, we can add it to the breadcrumbs
401
- if(!empty($element->term_id)) {
402
- $title = (!empty($yoast_meta_terms[$element->taxonomy][$element->term_id]['wpseo_bctitle'])) ? $yoast_meta_terms[$element->taxonomy][$element->term_id]['wpseo_bctitle'] : $element->name;
403
 
404
- $breadcrumbs[] = array(
405
- 'text' => $title,
406
- 'url' => get_term_link((int) $element->term_id, $element->taxonomy),
407
- );
408
- }
409
- // 2B. When the post/page is found, we can add it to the breadcrumbs
410
- else if(!empty($element->ID)) {
411
- $title = get_post_meta($element->ID, '_yoast_wpseo_bctitle', true);
412
- $title = (!empty($title)) ? $title : $element->post_title;
413
 
414
- $breadcrumbs[] = array(
415
- 'text' => $title,
416
- 'url' => get_permalink($element->ID),
417
- );
418
- }
419
- }
420
-
421
- // Add new links to current breadcrumbs array
422
- if(!empty($links) && is_array($links)) {
423
- $first_element = reset($links);
424
- $last_element = end($links);
425
- $breadcrumbs = (!empty($breadcrumbs)) ? $breadcrumbs : array();
426
 
427
- // Support RankMath/SEOPress/WooCommerce breadcrumbs
428
- if(in_array($current_filter, array('wpseo_breadcrumb_links', 'rank_math/frontend/breadcrumb/items', 'seopress_pro_breadcrumbs_crumbs', 'woocommerce_get_breadcrumb'))) {
429
- foreach($breadcrumbs as &$breadcrumb) {
430
- if(isset($breadcrumb['text'])) {
431
- $breadcrumb[0] = $breadcrumb['text'];
432
- $breadcrumb[1] = $breadcrumb['url'];
433
- }
434
  }
435
  }
436
 
437
- $links = array_merge(array($first_element), $breadcrumbs, array($last_element));
438
  }
439
 
440
- return array_filter($links);
441
  }
442
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
443
  /**
444
  * 8. Support WooCommerce Wishlist Plugin
445
  */
@@ -665,7 +785,159 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
665
  }
666
 
667
  /**
668
- * 12. Store Locator - CSV Manager
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
669
  */
670
  public function wpsl_regenerate_after_import($meta_id, $post_id, $meta_key, $meta_value) {
671
  global $permalink_manager_uris;
39
  }
40
 
41
  add_action('woocommerce_product_import_inserted_product_object', array($this, 'woocommerce_generate_permalinks_after_import'), 9, 2);
42
+
43
+ if(wp_doing_ajax() && class_exists('SitePress')) {
44
+ add_filter('permalink_manager_filter_final_post_permalink', array($this, 'woocommerce_translate_ajax_fragments_urls'), 9999, 3);
45
+ }
46
  }
47
 
48
  // 5. Theme My Login
52
 
53
  // 6. Yoast SEO
54
  add_filter('wpseo_xml_sitemap_post_url', array($this, 'yoast_fix_sitemap_urls'), 9);
55
+ if(defined('WPSEO_VERSION') && version_compare(WPSEO_VERSION, '14.0', '>=')) {
56
+ add_action('permalink_manager_updated_post_uri', array($this, 'yoast_update_indexable_permalink'), 10, 3);
57
+ add_action('permalink_manager_updated_term_uri', array($this, 'yoast_update_indexable_permalink'), 10, 3);
58
+ add_filter('wpseo_canonical', array($this, 'yoast_fix_canonical'), 10);
59
+ add_filter('wpseo_opengraph_url', array($this, 'yoast_fix_canonical'), 10);
60
+ }
61
 
62
  // 7. Breadcrumbs
63
  add_filter('wpseo_breadcrumb_links', array($this, 'filter_breadcrumbs'), 9);
64
  add_filter('rank_math/frontend/breadcrumb/items', array($this, 'filter_breadcrumbs'), 9);
65
  add_filter('seopress_pro_breadcrumbs_crumbs', array($this, 'filter_breadcrumbs'), 9);
66
  add_filter('woocommerce_get_breadcrumb', array($this, 'filter_breadcrumbs'), 9);
67
+ add_filter('slim_seo_breadcrumbs_links', array($this, 'filter_breadcrumbs'), 9);
68
 
69
  // 8. WooCommerce Wishlist Plugin
70
  if(function_exists('tinv_get_option')) {
96
  add_action('dp_duplicate_post', array($this, 'duplicate_custom_uri'), 10, 2);
97
  add_action('dp_duplicate_page', array($this, 'duplicate_custom_uri'), 10, 2);
98
  }
99
+
100
+ // 12. My Listing by 27collective
101
+ if(defined('CASE27_THEME_DIR')) {
102
+ add_filter('permalink_manager_filter_default_post_uri', array($this, 'ml_listing_custom_fields'), 5, 5 );
103
+ add_action('mylisting/submission/save-listing-data', array($this, 'ml_set_listing_uri'), 100);
104
+ add_filter('permalink_manager_filter_query', array($this, 'ml_detect_archives'), 1);
105
+ }
106
+
107
+ // 13. bbPress
108
+ if(class_exists('bbPress')) {
109
+ add_filter('permalink_manager_endpoints', array($this, 'bbpress_endpoints'), 9);
110
+ }
111
+
112
+ // 14. Dokan
113
+ if(class_exists('WeDevs_Dokan')) {
114
+ add_action('wp', array($this, 'dokan_detect_endpoints'), 999);
115
+ add_filter('permalink_manager_endpoints', array($this,'dokan_endpoints'));
116
+ }
117
  }
118
 
119
  /**
120
  * Some of the hooks must be called shortly after all the plugins are loaded
121
  */
122
  public function init_early_hooks() {
123
+ // WP Store Locator
124
  if(class_exists('WPSL_CSV')) {
125
  add_action('added_post_meta', array($this, 'wpsl_regenerate_after_import'), 10, 4);
126
  add_action('updated_post_meta', array($this, 'wpsl_regenerate_after_import'), 10, 4);
168
  else if(!empty($query_vars['eventDisplay'])) {
169
  $wp_query->query_vars['do_not_redirect'] = 1;
170
  }
171
+ // Groundhogg
172
+ else if(!empty($query_vars['target_url'])) {
173
+ $wp_query->query_vars['do_not_redirect'] = 1;
174
+ }
175
+ // MyListing theme
176
+ else if(!empty($query_vars['explore_tab']) || !empty($query_vars['explore_region'])) {
177
+ $wp_query->query_vars['do_not_redirect'] = 1;
178
+ }
179
  }
180
 
181
  // WPForo
341
  }
342
  }
343
 
344
+ function woocommerce_translate_ajax_fragments_urls($permalink, $post, $old_permalink) {
345
+ // Use it only if the permalinks are different
346
+ if($permalink == $old_permalink || $post->post_type !== 'page') {
347
+ return $permalink;
348
+ }
349
+
350
+ // A. Native WooCommerce AJAX events
351
+ if(!empty($_REQUEST['wc-ajax'])) {
352
+ $action = sanitize_title($_REQUEST['wc-ajax']);
353
+ }
354
+ // B. Shoptimizer theme
355
+ else if(!empty($_REQUEST['action'])) {
356
+ $action = sanitize_title($_REQUEST['action']);
357
+ }
358
+
359
+ // Allowed action names
360
+ $allowed_actions = array('shoptimizer_pdp_ajax_atc', 'get_refreshed_fragments');
361
+
362
+ if(in_array($action, $allowed_actions)) {
363
+ $translated_post_id = apply_filters('wpml_object_id', $post->ID, 'page');
364
+ $permalink = ($translated_post_id !== $post->ID) ? get_permalink($translated_post_id) : $permalink;
365
+ }
366
+
367
+ return $permalink;
368
+ }
369
+
370
  /**
371
  * 5. Theme My Login
372
  */
391
  return $permalink;
392
  }
393
 
394
+ function yoast_update_indexable_permalink($element_id, $new_uri, $old_uri) {
395
+ global $wpdb;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
 
397
+ if(!empty($new_uri) && !empty($old_uri) && $new_uri !== $old_uri) {
398
+ if(current_filter() == 'permalink_manager_updated_term_uri') {
399
+ $permalink = get_term_link((int) $element_id);
400
+ $object_type = 'term';
401
+ } else {
402
+ $permalink = get_permalink($element_id);
403
+ $object_type = 'post';
404
  }
405
 
406
+ if(!empty($permalink)) {
407
+ $permalink_hash = strlen($permalink) . ':' . md5($permalink);
408
+ $wpdb->update("{$wpdb->prefix}yoast_indexable", array('permalink' => $permalink, 'permalink_hash' => $permalink_hash), array('object_id' => $element_id, 'object_type' => $object_type), array('%s', '%s'), array('%d', '%s'));
 
 
409
  }
410
+ }
411
+ }
412
 
413
+ function yoast_fix_canonical($url) {
414
+ global $pm_query, $wp_rewrite;
 
 
 
 
415
 
416
+ if(!empty($pm_query['id'])) {
417
+ $element = get_queried_object();
 
418
 
419
+ if(!empty($element->ID) && !empty($element->post_type)) {
420
+ $new_url = get_permalink($element->ID);
 
 
 
 
 
 
 
421
 
422
+ $paged = (get_query_var('page')) ? get_query_var('page') : 1;
423
+ if($paged > 1) {
424
+ $new_url = sprintf('%s/%d', trim($new_url, '/'), $paged);
425
+ }
426
+ } else if(!empty($element->taxonomy) && !empty($element->term_id)) {
427
+ $new_url = get_term_link($element, $element->taxonomy);
 
 
 
 
 
 
428
 
429
+ $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
430
+ if($paged > 1) {
431
+ $new_url = sprintf('%s/%s/%d', trim($new_url, '/'), $wp_rewrite->pagination_base, $paged);
 
 
 
 
432
  }
433
  }
434
 
435
+ $url = (!empty($new_url)) ? Permalink_Manager_Core_Functions::control_trailing_slashes($new_url) : $url;
436
  }
437
 
438
+ return $url;
439
  }
440
 
441
+ /**
442
+ * 7. Breadcrumbs
443
+ */
444
+ function filter_breadcrumbs($links) {
445
+ // Get post type permastructure settings
446
+ global $permalink_manager_uris, $permalink_manager_options, $post, $wpdb, $wp, $wp_current_filter;
447
+
448
+ // Check if the filter should be activated
449
+ if(empty($permalink_manager_options['general']['yoast_breadcrumbs']) || empty($permalink_manager_uris)) { return $links; }
450
+
451
+ // Get current post/page/term (if available)
452
+ $queried_element = get_queried_object();
453
+ if(!empty($queried_element->ID)) {
454
+ $element_id = $queried_element->ID;
455
+ } else if(!empty($queried_element->term_id)) {
456
+ $element_id = "tax-{$queried_element->term_id}";
457
+ }
458
+
459
+ // Get the custom permalink (if available) or the current request URL (if unavailable)
460
+ if(!empty($element_id) && !empty($permalink_manager_uris[$element_id])) {
461
+ $custom_uri = preg_replace("/([^\/]+)$/", '', $permalink_manager_uris[$element_id]);
462
+ } else {
463
+ $custom_uri = trim(preg_replace("/([^\/]+)$/", '', $wp->request), "/");
464
+ }
465
+
466
+ $all_uris = array_flip($permalink_manager_uris);
467
+ $custom_uri_parts = explode('/', trim($custom_uri));
468
+ $breadcrumbs = array();
469
+ $snowball = '';
470
+ $available_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array();
471
+ $available_post_types = Permalink_Manager_Helper_Functions::get_post_types_array();
472
+ $current_filter = end($wp_current_filter);
473
+
474
+ // Get Yoast Meta (the breadcrumbs titles can be changed in Yoast metabox)
475
+ $yoast_meta_terms = get_option('wpseo_taxonomy_meta');
476
+
477
+ // Get internal breadcrumb elements
478
+ foreach($custom_uri_parts as $slug) {
479
+ if(empty($slug)) { continue; }
480
+
481
+ $snowball = (empty($snowball)) ? $slug : "{$snowball}/{$slug}";
482
+
483
+ // 1A. Try to match any custom URI
484
+ if($snowball) {
485
+ $uri = trim($snowball, "/");
486
+ $element = (!empty($all_uris[$uri])) ? $all_uris[$uri] : false;
487
+
488
+ if(!empty($element) && strpos($element, 'tax-') !== false) {
489
+ $element_id = intval(preg_replace("/[^0-9]/", "", $element));
490
+ $element = get_term($element_id);
491
+ } else if(is_numeric($element)) {
492
+ $element = get_post($element);
493
+ }
494
+ }
495
+
496
+ // 1B. Try to get term
497
+ if(empty($element) && !empty($available_taxonomies)) {
498
+ $sql = sprintf("SELECT t.term_id, t.name, tt.taxonomy FROM {$wpdb->terms} AS t LEFT JOIN {$wpdb->term_taxonomy} AS tt ON t.term_id = tt.term_id WHERE slug = '%s' AND tt.taxonomy IN ('%s') LIMIT 1", esc_sql($slug), implode("','", array_keys($available_taxonomies)));
499
+
500
+ $element = $wpdb->get_row($sql);
501
+ }
502
+
503
+ // 1C. Try to get page/post
504
+ if(empty($element) && !empty($available_post_types)) {
505
+ $sql = sprintf("SELECT ID, post_title, post_type FROM {$wpdb->posts} WHERE post_name = '%s' AND post_status = 'publish' AND post_type IN ('%s') AND post_type != 'attachment' LIMIT 1", esc_sql($slug), implode("','", array_keys($available_post_types)));
506
+
507
+ $element = $wpdb->get_row($sql);
508
+ }
509
+
510
+ // 2A. When the term is found, we can add it to the breadcrumbs
511
+ if(!empty($element->term_id)) {
512
+ $term_id = apply_filters('wpml_object_id', $element->term_id, $element->taxonomy, true);
513
+ $term = ($element->term_id !== $term_id) ? get_term($term_id) : $element;
514
+
515
+ $title = (!empty($yoast_meta_terms[$term->taxonomy][$term->term_id]['wpseo_bctitle'])) ? $yoast_meta_terms[$term->taxonomy][$term->term_id]['wpseo_bctitle'] : $term->name;
516
+
517
+ $breadcrumbs[] = array(
518
+ 'text' => $title,
519
+ 'url' => get_term_link((int) $term->term_id, $term->taxonomy),
520
+ );
521
+ }
522
+ // 2B. When the post/page is found, we can add it to the breadcrumbs
523
+ else if(!empty($element->ID)) {
524
+ $page_id = apply_filters('wpml_object_id', $element->ID, $element->post_type, true);
525
+ $page = ($element->ID !== $page_id) ? get_post($page_id) : $element;
526
+
527
+ $title = get_post_meta($page->ID, '_yoast_wpseo_bctitle', true);
528
+ $title = (!empty($title)) ? $title : $page->post_title;
529
+
530
+ $breadcrumbs[] = array(
531
+ 'text' => $title,
532
+ 'url' => get_permalink($page->ID),
533
+ );
534
+ }
535
+ }
536
+
537
+ // Add new links to current breadcrumbs array
538
+ if(!empty($links) && is_array($links)) {
539
+ $first_element = reset($links);
540
+ $last_element = end($links);
541
+ $breadcrumbs = (!empty($breadcrumbs)) ? $breadcrumbs : array();
542
+
543
+ // Support RankMath/SEOPress/WooCommerce/Slim SEO breadcrumbs
544
+ if(in_array($current_filter, array('wpseo_breadcrumb_links', 'rank_math/frontend/breadcrumb/items', 'seopress_pro_breadcrumbs_crumbs', 'woocommerce_get_breadcrumb', 'slim_seo_breadcrumbs_links'))) {
545
+ foreach($breadcrumbs as &$breadcrumb) {
546
+ if(isset($breadcrumb['text'])) {
547
+ $breadcrumb[0] = $breadcrumb['text'];
548
+ $breadcrumb[1] = $breadcrumb['url'];
549
+ }
550
+ }
551
+ }
552
+
553
+ if(in_array($current_filter, array('slim_seo_breadcrumbs_links'))) {
554
+ $links = array_merge(array($first_element), $breadcrumbs);
555
+ } else {
556
+ $links = array_merge(array($first_element), $breadcrumbs, array($last_element));
557
+ }
558
+ }
559
+
560
+ return array_filter($links);
561
+ }
562
+
563
  /**
564
  * 8. Support WooCommerce Wishlist Plugin
565
  */
785
  }
786
 
787
  /**
788
+ * 12. My Listing by 27collective
789
+ */
790
+ public function ml_listing_custom_fields($default_uri, $native_slug, $element, $slug, $native_uri) {
791
+ global $permalink_manager_uris;
792
+
793
+ // Use only for "listing" post type & custom permalink
794
+ if(empty($element->post_type) || $element->post_type !== 'job_listing' || $native_uri) { return $default_uri; }
795
+
796
+ // A1. Listing type
797
+ if(strpos($default_uri, '%listing-type%') !== false || strpos($default_uri, '%listing_type%') !== false) {
798
+ $listing_type_slug = get_post_meta($element->ID, '_case27_listing_type', true);
799
+ $listing_type_post = get_page_by_path($listing_type_slug, OBJECT, 'case27_listing_type');
800
+
801
+ if(!empty($listing_type_post)) {
802
+ $listing_type_post_settings = get_post_meta($listing_type_post->ID, 'case27_listing_type_settings_page', true);
803
+ $listing_type_post_settings = (is_serialized($listing_type_post_settings)) ? unserialize($listing_type_post_settings) : array();
804
+
805
+ $listing_type = (!empty($listing_type_post_settings['permalink'])) ? $listing_type_post_settings['permalink'] : $listing_type_post->post_name;
806
+ $default_uri = str_replace(array('%listing-type%', '%listing_type%'), Permalink_Manager_Helper_Functions::sanitize_title($listing_type, true), $default_uri);
807
+ }
808
+ }
809
+
810
+ // A2. Listing type (slug)
811
+ if(strpos($default_uri, '%listing-type-slug%') !== false || strpos($default_uri, '%listing_type_slug%') !== false) {
812
+ $listing_type = get_post_meta($element->ID, '_case27_listing_type', true);
813
+
814
+ if(!empty($listing_type)) {
815
+ $listing_type = Permalink_Manager_Helper_Functions::sanitize_title($listing_type, true);
816
+ $default_uri = str_replace(array('%listing-type%', '%listing_type%'), $listing_type, $default_uri);
817
+ }
818
+ }
819
+
820
+ // B. Listing location
821
+ if(strpos($default_uri, '%listing-location%') !== false || strpos($default_uri, '%listing_location%') !== false) {
822
+ $listing_location = get_post_meta($element->ID, '_job_location', true);
823
+
824
+ if(!empty($listing_location)) {
825
+ $listing_location = Permalink_Manager_Helper_Functions::sanitize_title($listing_location, true);
826
+ $default_uri = str_replace(array('%listing-location%', '%listing_location%'), $listing_location, $default_uri);
827
+ }
828
+ }
829
+
830
+ // C. Listing region
831
+ if(strpos($default_uri, '%listing-region%') !== false || strpos($default_uri, '%listing_region%') !== false) {
832
+ $listing_region_terms = wp_get_object_terms($element->ID, 'region');
833
+ $listing_region_term = (!is_wp_error($listing_region_terms) && !empty($listing_region_terms) && is_object($listing_region_terms[0])) ? Permalink_Manager_Helper_Functions::get_lowest_element($listing_region_terms[0], $listing_region_terms) : "";
834
+
835
+ if(!empty($listing_region_term)) {
836
+ $listing_region = Permalink_Manager_Helper_Functions::get_term_full_slug($listing_region_term, $listing_region_terms, 2, false);
837
+ $listing_region = Permalink_Manager_Helper_Functions::sanitize_title($listing_region, true);
838
+
839
+ $default_uri = str_replace(array('%listing-region%', '%listing_region%'), $listing_region, $default_uri);
840
+ }
841
+ }
842
+
843
+ // D. Listing category
844
+ if(strpos($default_uri, '%listing-category%') !== false || strpos($default_uri, '%listing_category%') !== false) {
845
+ $listing_category_terms = wp_get_object_terms($element->ID, 'job_listing_category');
846
+ $listing_category_term = (!is_wp_error($listing_category_terms) && !empty($listing_category_terms) && is_object($listing_category_terms[0])) ? Permalink_Manager_Helper_Functions::get_lowest_element($listing_category_terms[0], $listing_category_terms) : "";
847
+
848
+ if(!empty($listing_category_term)) {
849
+ $listing_category = Permalink_Manager_Helper_Functions::get_term_full_slug($listing_category_term, $listing_category_terms, 2, false);
850
+ $listing_category = Permalink_Manager_Helper_Functions::sanitize_title($listing_category, true);
851
+
852
+ $default_uri = str_replace(array('%listing-category%', '%listing_category%'), $listing_category, $default_uri);
853
+ }
854
+ }
855
+
856
+ return $default_uri;
857
+ }
858
+
859
+ function ml_set_listing_uri($post_id) {
860
+ global $permalink_manager_uris;
861
+
862
+ if(!empty($permalink_manager_uris)) {
863
+ $default_uri = Permalink_Manager_URI_Functions_Post::get_default_post_uri($post_id);
864
+
865
+ if($default_uri) {
866
+ $permalink_manager_uris[$post_id] = $default_uri;
867
+ update_option('permalink-manager-uris', $permalink_manager_uris);
868
+ }
869
+ }
870
+ }
871
+
872
+ function ml_detect_archives($query) {
873
+ if(function_exists('mylisting_custom_taxonomies')) {
874
+ $explore_page_id = get_option('options_general_explore_listings_page', false);
875
+ if(empty($explore_page_id)) { return $query; }
876
+
877
+ $taxonomies = mylisting_custom_taxonomies();
878
+ $taxonomies = array_merge(array_keys($taxonomies), array('job_listing_category', 'region', 'case27_job_listing_tags'));
879
+
880
+ // Check if any MyListing taxonomy was detected
881
+ foreach($taxonomies as $taxonomy) {
882
+ if(!empty($query[$taxonomy])) {
883
+ return array(
884
+ "page_id" => $explore_page_id,
885
+ "explore_tab" => $taxonomy,
886
+ "explore_{$taxonomy}" => $query['term']
887
+ );
888
+ }
889
+ }
890
+ }
891
+
892
+ return $query;
893
+ }
894
+
895
+ /**
896
+ * 13. bbPress
897
+ */
898
+ function bbpress_endpoints($endpoints, $all = true) {
899
+ $bbpress_endpoints = array();
900
+ $bbpress_endpoints[] = bbp_get_edit_slug();
901
+ // $bbpress_endpoints[] = bbp_get_paged_slug();
902
+
903
+ return ($all) ? $endpoints . "|" . implode("|", $bbpress_endpoints) : $bbpress_endpoints;
904
+ }
905
+
906
+ /**
907
+ * 14. Dokan
908
+ **/
909
+ function dokan_endpoints($endpoints) {
910
+ return "{$endpoints}|edit|edit-account";
911
+ }
912
+
913
+ function dokan_detect_endpoints() {
914
+ global $post, $wp_query, $wp;
915
+
916
+ // Check if Dokan is activated
917
+ if(!function_exists('dokan_get_option') || is_admin()) { return; }
918
+
919
+ // Get Dokan dashboard page id
920
+ $dashboard_page = dokan_get_option('dashboard', 'dokan_pages');
921
+
922
+ // Stop the redirect
923
+ if(!empty($dashboard_page) && !empty($post->ID) && ($post->ID == $dashboard_page)) {
924
+ $wp->query_vars['do_not_redirect'] = 1;
925
+
926
+ // Detect Dokan shortcode
927
+ if(empty($pm_query['endpoint'])) {
928
+ $wp->query_vars['page'] = 1;
929
+ }
930
+ }
931
+
932
+ // 2. Support "Edit Product" pages
933
+ if(isset($wp_query->query_vars['edit'])) {
934
+ $wp_query->query_vars['edit'] = 1;
935
+ $wp_query->query_vars['do_not_redirect'] = 1;
936
+ }
937
+ }
938
+
939
+ /**
940
+ * 15. Store Locator - CSV Manager
941
  */
942
  public function wpsl_regenerate_after_import($meta_id, $post_id, $meta_key, $meta_value) {
943
  global $permalink_manager_uris;
includes/core/permalink-manager-uri-functions-post.php CHANGED
@@ -17,12 +17,12 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
17
  add_filter( 'permalink_manager_uris', array($this, 'exclude_homepage'), 99);
18
 
19
  // Support url_to_postid
20
- add_filter( 'url_to_postid', array($this, 'url_to_postid'), 99);
21
 
22
  /**
23
  * URI Editor
24
  */
25
- add_filter( 'get_sample_permalink_html', array($this, 'edit_uri_box'), 99, 5 );
26
 
27
  add_action( 'save_post', array($this, 'update_post_uri'), 99, 1);
28
  add_action( 'edit_attachment', array($this, 'update_post_uri'), 99, 1 );
@@ -49,7 +49,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
49
  /**
50
  * Change permalinks for posts, pages & custom post types
51
  */
52
- function custom_post_permalinks($permalink, $post) {
53
  global $wp_rewrite, $permalink_manager_uris, $permalink_manager_options;
54
 
55
  // Do not filter permalinks in Customizer
@@ -58,16 +58,24 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
58
  // Do not filter in WPML String Editor
59
  if(!empty($_REQUEST['icl_ajx_action']) && $_REQUEST['icl_ajx_action'] == 'icl_st_save_translation') { return $permalink; }
60
 
 
 
 
61
  // Do not run when metaboxes are loaded with Gutenberg
62
- if(!empty($_REQUEST['meta-box-loader'])) { return $permalink; }
63
 
64
  $post = (is_integer($post)) ? get_post($post) : $post;
65
 
 
 
 
 
 
66
  // Start with homepage URL
67
  $home_url = Permalink_Manager_Helper_Functions::get_permalink_base($post);
68
 
69
  // 1. Check if post type is allowed
70
- if(!empty($post->post_type) && Permalink_Manager_Helper_Functions::is_disabled($post->post_type, 'post_type')) { return $permalink; }
71
 
72
  // 2A. Do not change permalink of frontpage
73
  if(Permalink_Manager_Helper_Functions::is_front_page($post->ID)) {
@@ -143,7 +151,10 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
143
  * Get the default (not overwritten by the user) or native URI (unfiltered)
144
  */
145
  public static function get_default_post_uri($post, $native_uri = false, $check_if_disabled = false) {
146
- global $permalink_manager_options, $permalink_manager_uris, $permalink_manager_permastructs, $wp_post_types;
 
 
 
147
 
148
  // Load all bases & post
149
  $post = is_object($post) ? $post : get_post($post);
@@ -266,6 +277,9 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
266
 
267
  if($taxonomies) {
268
  foreach($taxonomies as $taxonomy) {
 
 
 
269
  // 1. Reset $replacement
270
  $replacement = $replacement_term = "";
271
  $terms = wp_get_object_terms($post->ID, $taxonomy);
@@ -317,6 +331,9 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
317
  }
318
  }
319
 
 
 
 
320
  return apply_filters('permalink_manager_filter_default_post_uri', $default_uri, $post->post_name, $post, $post_name, $native_uri);
321
  }
322
 
@@ -349,13 +366,10 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
349
  $pm_query = $old_pm_query;
350
 
351
  if(!empty($post->ID)) {
352
- $native_uri = self::get_default_post_uri($post->ID, true);
353
- $native_url = sprintf("%s/%s", trim(home_url(), "/"), $native_uri);
354
- } else {
355
- $native_uri = '';
356
  }
357
 
358
- return (!empty($native_uri)) ? $native_uri : $url;
359
  }
360
 
361
  /**
@@ -459,7 +473,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
459
  $updated_slugs_count++;
460
  }
461
 
462
- do_action('permalink-manager-updated-post-uri', $row['ID'], $new_uri, $old_uri, $native_uri, $default_uri);
463
  }
464
 
465
  // Filter array before saving
@@ -524,7 +538,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
524
  $updated_slugs_count++;
525
  }
526
 
527
- do_action('permalink-manager-updated-post-uri', $row['ID'], $new_uri, $old_uri, $native_uri, $default_uri);
528
  }
529
 
530
  // Filter array before saving
@@ -579,7 +593,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
579
  $updated_slugs_count++;
580
  }
581
 
582
- do_action('permalink-manager-updated-post-uri', $id, $new_uri, $old_uri, $native_uri, $default_uri);
583
  }
584
 
585
  // Filter array before saving & append the global
@@ -608,7 +622,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
608
  $show_uri_editor = apply_filters("permalink_manager_hide_uri_editor_post_{$post->post_type}", true);
609
  if(!$show_uri_editor) { return $html; }
610
 
611
- $new_html = preg_replace("/(<strong>(.*)<\/strong>)(.*)/is", "$1 ", $html);
612
  $default_uri = self::get_default_post_uri($id);
613
  $native_uri = self::get_default_post_uri($id, true);
614
 
@@ -721,7 +735,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
721
  if($post_object->post_type == 'nav_menu_item') { return $post_id; }
722
 
723
  // Ignore auto-drafts & removed posts
724
- if(in_array($post_object->post_status, array('auto-draft', 'trash'))) { return; }
725
 
726
  $native_uri = self::get_default_post_uri($post_id, true);
727
  $new_uri = self::get_default_post_uri($post_id);
@@ -729,7 +743,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
729
 
730
  update_option('permalink-manager-uris', $permalink_manager_uris);
731
 
732
- do_action('permalink-manager-new-post-uri', $post_id, $new_uri, $native_uri);
733
  }
734
 
735
  /**
@@ -803,7 +817,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
803
  $permalink_manager_uris[$post_id] = $new_uri;
804
  update_option('permalink-manager-uris', $permalink_manager_uris);
805
 
806
- do_action('permalink-manager-updated-post-uri', $post_id, $new_uri, $old_uri, $native_uri, $default_uri, $single_update = true);
807
  }
808
 
809
  /**
17
  add_filter( 'permalink_manager_uris', array($this, 'exclude_homepage'), 99);
18
 
19
  // Support url_to_postid
20
+ add_filter( 'url_to_postid', array($this, 'url_to_postid'), 999);
21
 
22
  /**
23
  * URI Editor
24
  */
25
+ add_filter( 'get_sample_permalink_html', array($this, 'edit_uri_box'), 10, 5 );
26
 
27
  add_action( 'save_post', array($this, 'update_post_uri'), 99, 1);
28
  add_action( 'edit_attachment', array($this, 'update_post_uri'), 99, 1 );
49
  /**
50
  * Change permalinks for posts, pages & custom post types
51
  */
52
+ static function custom_post_permalinks($permalink, $post) {
53
  global $wp_rewrite, $permalink_manager_uris, $permalink_manager_options;
54
 
55
  // Do not filter permalinks in Customizer
58
  // Do not filter in WPML String Editor
59
  if(!empty($_REQUEST['icl_ajx_action']) && $_REQUEST['icl_ajx_action'] == 'icl_st_save_translation') { return $permalink; }
60
 
61
+ // WPML (prevent duplicated posts)
62
+ if(!empty($_REQUEST['trid']) && !empty($_REQUEST['skip_sitepress_actions'])) { return $permalink; }
63
+
64
  // Do not run when metaboxes are loaded with Gutenberg
65
+ if(!empty($_REQUEST['meta-box-loader']) && empty($_POST['custom_uri'])) { return $permalink; }
66
 
67
  $post = (is_integer($post)) ? get_post($post) : $post;
68
 
69
+ // Do not run if post object is invalid
70
+ if(empty($post) || empty($post->ID) || empty($post->post_type)) {
71
+ return $permalink;
72
+ }
73
+
74
  // Start with homepage URL
75
  $home_url = Permalink_Manager_Helper_Functions::get_permalink_base($post);
76
 
77
  // 1. Check if post type is allowed
78
+ if(!empty($post->post_type) && Permalink_Manager_Helper_Functions::is_disabled($post->post_type, 'post_type') && $post->post_type !== 'attachment') { return $permalink; }
79
 
80
  // 2A. Do not change permalink of frontpage
81
  if(Permalink_Manager_Helper_Functions::is_front_page($post->ID)) {
151
  * Get the default (not overwritten by the user) or native URI (unfiltered)
152
  */
153
  public static function get_default_post_uri($post, $native_uri = false, $check_if_disabled = false) {
154
+ global $permalink_manager_options, $permalink_manager_uris, $permalink_manager_permastructs, $wp_post_types, $icl_adjust_id_url_filter_off;
155
+
156
+ // Disable WPML adjust ID filter
157
+ $icl_adjust_id_url_filter_off = true;
158
 
159
  // Load all bases & post
160
  $post = is_object($post) ? $post : get_post($post);
277
 
278
  if($taxonomies) {
279
  foreach($taxonomies as $taxonomy) {
280
+ // 0. Check if taxonomy tag is present
281
+ if(strpos($default_uri, "%{$taxonomy}") === false) { continue; }
282
+
283
  // 1. Reset $replacement
284
  $replacement = $replacement_term = "";
285
  $terms = wp_get_object_terms($post->ID, $taxonomy);
331
  }
332
  }
333
 
334
+ // Enable WPML adjust ID filter
335
+ $icl_adjust_id_url_filter_off = false;
336
+
337
  return apply_filters('permalink_manager_filter_default_post_uri', $default_uri, $post->post_name, $post, $post_name, $native_uri);
338
  }
339
 
366
  $pm_query = $old_pm_query;
367
 
368
  if(!empty($post->ID)) {
369
+ $native_url = "/?p={$post->ID}";
 
 
 
370
  }
371
 
372
+ return (!empty($native_url)) ? $native_url : $url;
373
  }
374
 
375
  /**
473
  $updated_slugs_count++;
474
  }
475
 
476
+ do_action('permalink_manager_updated_post_uri', $row['ID'], $new_uri, $old_uri, $native_uri, $default_uri);
477
  }
478
 
479
  // Filter array before saving
538
  $updated_slugs_count++;
539
  }
540
 
541
+ do_action('permalink_manager_updated_post_uri', $row['ID'], $new_uri, $old_uri, $native_uri, $default_uri);
542
  }
543
 
544
  // Filter array before saving
593
  $updated_slugs_count++;
594
  }
595
 
596
+ do_action('permalink_manager_updated_post_uri', $id, $new_uri, $old_uri, $native_uri, $default_uri);
597
  }
598
 
599
  // Filter array before saving & append the global
622
  $show_uri_editor = apply_filters("permalink_manager_hide_uri_editor_post_{$post->post_type}", true);
623
  if(!$show_uri_editor) { return $html; }
624
 
625
+ $new_html = preg_replace("/^(<strong>(.*)<\/strong>)(.*)/is", "$1 ", $html);
626
  $default_uri = self::get_default_post_uri($id);
627
  $native_uri = self::get_default_post_uri($id, true);
628
 
735
  if($post_object->post_type == 'nav_menu_item') { return $post_id; }
736
 
737
  // Ignore auto-drafts & removed posts
738
+ if(in_array($post_object->post_status, array('auto-draft', 'trash')) || (!empty($post_object->post_name) && $post_object->post_name == 'auto-draft')) { return $post_id; }
739
 
740
  $native_uri = self::get_default_post_uri($post_id, true);
741
  $new_uri = self::get_default_post_uri($post_id);
743
 
744
  update_option('permalink-manager-uris', $permalink_manager_uris);
745
 
746
+ do_action('permalink_manager_new_post_uri', $post_id, $new_uri, $native_uri);
747
  }
748
 
749
  /**
817
  $permalink_manager_uris[$post_id] = $new_uri;
818
  update_option('permalink-manager-uris', $permalink_manager_uris);
819
 
820
+ do_action('permalink_manager_updated_post_uri', $post_id, $new_uri, $old_uri, $native_uri, $default_uri, $single_update = true);
821
  }
822
 
823
  /**
includes/views/permalink-manager-tools.php CHANGED
@@ -125,7 +125,7 @@ class Permalink_Manager_Tools extends Permalink_Manager_Class {
125
 
126
  public function find_and_replace_output() {
127
  // Get all registered post types array & statuses
128
- $all_post_statuses_array = get_post_statuses();
129
  $all_post_types = Permalink_Manager_Helper_Functions::get_post_types_array();
130
  $all_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array();
131
 
@@ -213,7 +213,7 @@ class Permalink_Manager_Tools extends Permalink_Manager_Class {
213
 
214
  public function regenerate_slugs_output() {
215
  // Get all registered post types array & statuses
216
- $all_post_statuses_array = get_post_statuses();
217
  $all_post_types = Permalink_Manager_Helper_Functions::get_post_types_array();
218
  $all_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array();
219
 
125
 
126
  public function find_and_replace_output() {
127
  // Get all registered post types array & statuses
128
+ $all_post_statuses_array = Permalink_Manager_Helper_Functions::get_post_statuses();
129
  $all_post_types = Permalink_Manager_Helper_Functions::get_post_types_array();
130
  $all_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array();
131
 
213
 
214
  public function regenerate_slugs_output() {
215
  // Get all registered post types array & statuses
216
+ $all_post_statuses_array = Permalink_Manager_Helper_Functions::get_post_statuses();
217
  $all_post_types = Permalink_Manager_Helper_Functions::get_post_types_array();
218
  $all_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array();
219
 
includes/views/permalink-manager-uri-editor-post.php CHANGED
@@ -238,7 +238,7 @@ class Permalink_Manager_URI_Editor_Post extends WP_List_Table {
238
  // Search in array with custom URIs
239
  $found = Permalink_Manager_Helper_Functions::search_uri($search_query, 'posts');
240
  if($found) {
241
- $sql_parts['where'] .= sprintf("OR ID IN ('%s')", implode(',', (array) $found));
242
  }
243
  $sql_parts['where'] .= " ) AND ((post_status IN ($this->displayed_post_statuses) AND post_type IN ($this->displayed_post_types)) {$attachment_support}) {$extra_filters} ";
244
  } else {
238
  // Search in array with custom URIs
239
  $found = Permalink_Manager_Helper_Functions::search_uri($search_query, 'posts');
240
  if($found) {
241
+ $sql_parts['where'] .= sprintf("OR ID IN (%s)", implode(',', (array) $found));
242
  }
243
  $sql_parts['where'] .= " ) AND ((post_status IN ($this->displayed_post_statuses) AND post_type IN ($this->displayed_post_types)) {$attachment_support}) {$extra_filters} ";
244
  } else {
languages/permalink-manager-ja.mo CHANGED
Binary file
languages/permalink-manager-ja.po CHANGED
@@ -2,19 +2,19 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Permalink Manager Lite\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2020-02-15 16:27+0000\n"
6
- "PO-Revision-Date: 2020-02-15 16:27+0000\n"
7
- "Last-Translator: admin <contact@maciejbis.net>\n"
8
- "Language-Team: Japanese\n"
9
  "Language: ja\n"
10
  "Plural-Forms: nplurals=1; plural=0;\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.3.1; wp-5.3.2"
16
 
17
- #: permalink-manager.php:205
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
@@ -26,16 +26,16 @@ msgstr ""
26
  "<strong>パーマリンク マネージャー Proの購入は<a href=\"%s\" target=\"_blank\">コチラ</a>! %s "
27
  "の割引 「%s」をご利用下さい。 </strong> %s まで!"
28
 
29
- #: includes/core/permalink-manager-third-parties.php:619
30
  msgid "\"Custom Permalinks\" URIs were imported!"
31
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
32
 
33
- #: includes/core/permalink-manager-third-parties.php:622
34
  msgid "No \"Custom Permalinks\" URIs were imported!"
35
  msgstr "「カスタム パーマリンク」 URIはインポートされませんでした!"
36
 
37
  #. Name of the plugin
38
- #: includes/core/permalink-manager-third-parties.php:894
39
  #: includes/core/permalink-manager-gutenberg.php:14
40
  #: includes/core/permalink-manager-admin-functions.php:110
41
  #: includes/core/permalink-manager-admin-functions.php:110
@@ -44,35 +44,37 @@ msgstr "「カスタム パーマリンク」 URIはインポートされませ
44
  #: includes/core/permalink-manager-admin-functions.php:801
45
  #: includes/core/permalink-manager-admin-functions.php:802
46
  msgid "Permalink Manager"
47
- msgstr "パーマリンク マネージャー"
48
 
49
- #: includes/core/permalink-manager-third-parties.php:898
50
- #: includes/core/permalink-manager-uri-functions-tax.php:475
51
  #: includes/views/permalink-manager-tools.php:70
52
  msgid "Custom URI"
53
  msgstr "カスタム URI"
54
 
55
- #: includes/core/permalink-manager-third-parties.php:899
56
  #, php-format
57
  msgid ""
58
  "If empty, a default permalink based on your current <a href=\"%s\" "
59
  "target=\"_blank\">permastructure settings</a> will be used."
60
  msgstr ""
 
 
61
 
62
- #: includes/core/permalink-manager-uri-functions-tax.php:476
63
  msgid "Clear/leave the field empty to use the default permalink."
64
  msgstr "デフォルトのパーマリンクを使用するため、フィールドを空のままにする / クリアする"
65
 
66
- #: includes/core/permalink-manager-uri-functions-tax.php:508
67
  #: includes/core/permalink-manager-admin-functions.php:719
68
  #: includes/core/permalink-manager-admin-functions.php:819
69
- #: includes/core/permalink-manager-uri-functions-post.php:661
70
  msgid "Current URI"
71
  msgstr "現在のURI"
72
 
73
  #: includes/core/permalink-manager-admin-functions.php:134
74
  msgid "Are you sure? This action cannot be undone!"
75
- msgstr ""
76
 
77
  #: includes/core/permalink-manager-admin-functions.php:155
78
  msgid "URI Editor"
@@ -85,11 +87,11 @@ msgstr "設定"
85
 
86
  #: includes/core/permalink-manager-admin-functions.php:168
87
  msgid "Documentation"
88
- msgstr ""
89
 
90
  #: includes/core/permalink-manager-admin-functions.php:172
91
  msgid "Buy Permalink Manager Pro"
92
- msgstr "パーマリンク マネージャー Proを購入"
93
 
94
  #: includes/core/permalink-manager-admin-functions.php:259
95
  msgid "Select all"
@@ -101,7 +103,7 @@ msgstr "選択を全て解除する"
101
 
102
  #: includes/core/permalink-manager-admin-functions.php:375
103
  msgid "Permastructure translations"
104
- msgstr ""
105
 
106
  #: includes/core/permalink-manager-admin-functions.php:376
107
  msgid ""
@@ -110,28 +112,30 @@ msgid ""
110
  "the permastructure set for default language (see field above) will be "
111
  "applied."
112
  msgstr ""
 
 
113
 
114
  #: includes/core/permalink-manager-admin-functions.php:393
115
  msgid "Default permastructure"
116
- msgstr "デフォルト パーマストラクチャ"
117
 
118
  #: includes/core/permalink-manager-admin-functions.php:394
119
  msgid "Restore default permastructure"
120
- msgstr ""
121
 
122
  #: includes/core/permalink-manager-admin-functions.php:400
123
- #: includes/core/permalink-manager-actions.php:394
124
- #: includes/core/permalink-manager-actions.php:398
125
  msgid "Permastructure settings"
126
- msgstr ""
127
 
128
  #: includes/core/permalink-manager-admin-functions.php:401
129
  msgid "Do not automatically append the slug"
130
- msgstr ""
131
 
132
  #: includes/core/permalink-manager-admin-functions.php:409
133
  msgid "Show additional settings"
134
- msgstr ""
135
 
136
  #: includes/core/permalink-manager-admin-functions.php:555
137
  msgid "Donate"
@@ -143,7 +147,7 @@ msgstr "by Maciej Bis"
143
 
144
  #: includes/core/permalink-manager-admin-functions.php:568
145
  msgid "Upgrade to PRO"
146
- msgstr ""
147
 
148
  #: includes/core/permalink-manager-admin-functions.php:635
149
  #: includes/core/permalink-manager-admin-functions.php:662
@@ -182,7 +186,7 @@ msgstr "更新済みのアイテムのリスト"
182
  #, php-format
183
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
184
  msgid_plural "<strong class=\"updated_count\">%d</strong> slugs were updated!"
185
- msgstr[0] ""
186
  msgstr[1] ""
187
 
188
  #: includes/core/permalink-manager-admin-functions.php:689
@@ -191,7 +195,7 @@ msgid "<a %s>Click here</a> to go to the list of updated slugs"
191
  msgstr "更新されたスラッグのリストは、<a %s>ここをクリック</a> "
192
 
193
  #: includes/core/permalink-manager-admin-functions.php:693
194
- #: includes/core/permalink-manager-actions.php:108
195
  msgid "<strong>No slugs</strong> were updated!"
196
  msgstr "スラッグは、更新されませんでした。"
197
 
@@ -212,7 +216,7 @@ msgstr "グローバル設定を使用する [%s]"
212
 
213
  #: includes/core/permalink-manager-admin-functions.php:787
214
  msgid "No (ignore this URI in bulk tools)"
215
- msgstr ""
216
 
217
  #: includes/core/permalink-manager-admin-functions.php:801
218
  msgid "Close: "
@@ -228,16 +232,18 @@ msgid ""
228
  "custom URI can be edited only if 'Auto-update the URI' feature is not "
229
  "enabled."
230
  msgstr ""
 
231
 
232
  #: includes/core/permalink-manager-admin-functions.php:829
233
  msgid "Native slug"
234
- msgstr ""
235
 
236
  #: includes/core/permalink-manager-admin-functions.php:830
237
  msgid ""
238
  "The native slug is by default automatically used in native permalinks (when "
239
  "Permalink Manager is disabled)."
240
  msgstr ""
 
241
 
242
  #: includes/core/permalink-manager-admin-functions.php:840
243
  msgid "Auto-update the URI"
@@ -255,7 +261,7 @@ msgstr "デフォルト URI"
255
 
256
  #: includes/core/permalink-manager-admin-functions.php:850
257
  msgid "Restore Default URI"
258
- msgstr ""
259
 
260
  #: includes/core/permalink-manager-admin-functions.php:860
261
  msgid "Automatic redirect for native URI enabled:"
@@ -268,10 +274,13 @@ msgid ""
268
  "Permalink Manager Pro and apply <a href=\"https://permalinkmanager.pro/buy-"
269
  "permalink-manager-pro/\">PMLITE coupon code</a> to get 10% off.</a></span>"
270
  msgstr ""
 
 
 
271
 
272
  #: includes/core/permalink-manager-admin-functions.php:882
273
  msgid "Save permalink"
274
- msgstr ""
275
 
276
  #: includes/core/permalink-manager-admin-functions.php:909
277
  msgid "Manage redirects"
@@ -282,138 +291,144 @@ msgstr "リダイレクトを管理"
282
  msgid ""
283
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
284
  "Permalink Manager Pro</a>."
285
- msgstr "この機能は、パーマリンク マネージャー Proのみ利用可能です。"
286
 
287
- #: includes/core/permalink-manager-pro-functions.php:123
288
- #: includes/core/permalink-manager-pro-functions.php:149
289
  #, php-format
290
  msgid ""
291
  "Please paste the licence key to access all Permalink Manager Pro updates & "
292
  "features <a href=\"%s\" target=\"_blank\">on this page</a>."
293
  msgstr ""
 
 
294
 
295
- #: includes/core/permalink-manager-pro-functions.php:128
296
  msgid ""
297
  "Expiration date could not be downloaded at this moment. Please try again in "
298
  "a few minutes."
299
- msgstr ""
300
 
301
- #: includes/core/permalink-manager-pro-functions.php:133
302
  msgid "Your Permalink Manager Pro licence key is invalid!"
303
- msgstr ""
304
 
305
- #: includes/core/permalink-manager-pro-functions.php:138
306
  #, php-format
307
  msgid ""
308
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
309
  "updates & technical support please go to <a href=\"%s\" target=\"_blank\">"
310
  "this page</a>."
311
  msgstr ""
 
 
312
 
313
- #: includes/core/permalink-manager-pro-functions.php:143
314
  msgid "You own a lifetime licence key."
315
  msgstr "あなたは、永久ライセンスキーをお持ちです。"
316
 
317
- #: includes/core/permalink-manager-pro-functions.php:146
318
  #, php-format
319
  msgid ""
320
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
321
  "href=\"%s\" target=\"_blank\">this page</a> for more information."
322
  msgstr ""
 
 
323
 
324
- #: includes/core/permalink-manager-pro-functions.php:171
325
  msgid "Arabic"
326
  msgstr "アラビア語"
327
 
328
- #: includes/core/permalink-manager-pro-functions.php:172
329
  msgid "Chinese"
330
  msgstr "中国語"
331
 
332
- #: includes/core/permalink-manager-pro-functions.php:173
333
  msgid "Danish"
334
  msgstr "デンマーク語"
335
 
336
- #: includes/core/permalink-manager-pro-functions.php:174
337
  msgid "Dutch"
338
- msgstr "ドイツ語"
339
 
340
- #: includes/core/permalink-manager-pro-functions.php:175
341
  msgid "English"
342
  msgstr "英語"
343
 
344
- #: includes/core/permalink-manager-pro-functions.php:176
345
  msgid "Finnish"
346
  msgstr "フィンランド語"
347
 
348
- #: includes/core/permalink-manager-pro-functions.php:177
349
  msgid "French"
350
  msgstr "フランス語"
351
 
352
- #: includes/core/permalink-manager-pro-functions.php:178
353
  msgid "German"
354
  msgstr "ドイツ語"
355
 
356
- #: includes/core/permalink-manager-pro-functions.php:179
357
  msgid "Hebrew"
358
  msgstr "ヘブライ語"
359
 
360
- #: includes/core/permalink-manager-pro-functions.php:180
361
  msgid "Hindi"
362
  msgstr "ヒンディー語"
363
 
364
- #: includes/core/permalink-manager-pro-functions.php:181
365
  msgid "Italian"
366
  msgstr "イタリア語"
367
 
368
- #: includes/core/permalink-manager-pro-functions.php:182
369
  msgid "Japanese"
370
  msgstr "日本語"
371
 
372
- #: includes/core/permalink-manager-pro-functions.php:183
373
  msgid "Korean"
374
  msgstr "韓国語"
375
 
376
- #: includes/core/permalink-manager-pro-functions.php:184
377
  msgid "Norwegian"
378
  msgstr "ノルウェー語"
379
 
380
- #: includes/core/permalink-manager-pro-functions.php:185
381
  msgid "Persian"
382
  msgstr "ペルシア語"
383
 
384
- #: includes/core/permalink-manager-pro-functions.php:186
385
  msgid "Polish"
386
  msgstr "ポーランド語"
387
 
388
- #: includes/core/permalink-manager-pro-functions.php:187
389
  msgid "Portuguese"
390
  msgstr "ポルトガル語"
391
 
392
- #: includes/core/permalink-manager-pro-functions.php:188
393
  msgid "Russian"
394
  msgstr "ロシア語"
395
 
396
- #: includes/core/permalink-manager-pro-functions.php:189
397
  msgid "Spanish"
398
  msgstr "スペイン語"
399
 
400
- #: includes/core/permalink-manager-pro-functions.php:190
401
  msgid "Swedish"
402
  msgstr "スウェーデン語"
403
 
404
- #: includes/core/permalink-manager-pro-functions.php:191
405
  msgid "Turkish"
406
  msgstr "トルコ語"
407
 
408
- #: includes/core/permalink-manager-pro-functions.php:473
409
  msgid "Coupon Link"
410
  msgstr "クーポンリンク"
411
 
412
- #: includes/core/permalink-manager-pro-functions.php:494
413
  msgid "Coupon URI"
414
  msgstr "クーポンURI"
415
 
416
- #: includes/core/permalink-manager-pro-functions.php:495
417
  msgid ""
418
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
419
  "blackfriday</strong> are equivalent."
@@ -421,72 +436,72 @@ msgstr ""
421
  "URIは、大文字・小文字は区別しません。例:<strong>BLACKFRIDAY</strong> と<strong>"
422
  "blackfriday</strong>は、同じです。"
423
 
424
- #: includes/core/permalink-manager-pro-functions.php:506
425
  msgid "Coupon Full URL"
426
  msgstr "クーポン フル URL"
427
 
428
- #: includes/core/permalink-manager-actions.php:98
429
  msgid "The settings are saved!"
430
  msgstr "設定は、保存されました!"
431
 
432
- #: includes/core/permalink-manager-actions.php:362
433
  #, php-format
434
  msgid "%d Custom URIs and %d Custom Redirects were removed!"
435
  msgstr "%d カスタムURIと、%d カスタム リダイレクトは削除されました。"
436
 
437
- #: includes/core/permalink-manager-actions.php:364
438
  msgid "No Custom URIs or Custom Redirects were removed!"
439
  msgstr "カスタムURIもしくはカスタム リダイレクトは、削除されませんでした!"
440
 
441
- #: includes/core/permalink-manager-actions.php:376
442
  msgid "You are not allowed to remove Permalink Manager data!"
443
- msgstr ""
444
 
445
- #: includes/core/permalink-manager-actions.php:382
446
  msgid "Custom permalinks"
447
- msgstr ""
448
 
449
- #: includes/core/permalink-manager-actions.php:386
450
  msgid "Custom redirects"
451
- msgstr ""
452
 
453
- #: includes/core/permalink-manager-actions.php:390
454
  msgid "External redirects"
455
- msgstr ""
456
 
457
- #: includes/core/permalink-manager-actions.php:409
458
  #, php-format
459
  msgid "%s were removed!"
460
- msgstr ""
461
 
462
- #: includes/core/permalink-manager-actions.php:550
463
  #, php-format
464
  msgid "URI \"%s\" was removed successfully!"
465
  msgstr "「%s」のURIは、無事削除されました!"
466
 
467
- #: includes/core/permalink-manager-actions.php:559
468
  msgid "Broken redirects were removed successfully!"
469
  msgstr "リンク切れリダイレクトは、無事削除されました!"
470
 
471
- #: includes/core/permalink-manager-actions.php:564
472
  msgid "URI and/or custom redirects does not exist or were already removed!"
473
  msgstr "URIもしくはカスタムリダイレクトは、実在しないか既に削除されています!"
474
 
475
- #: includes/core/permalink-manager-actions.php:578
476
  msgid "The redirect was removed successfully!"
477
  msgstr "リダイレクトは、無事削除されました!"
478
 
479
- #: includes/core/permalink-manager-actions.php:608
480
  msgid "URI is already in use, please select another one!"
481
  msgstr "URIは既に使用済みです。他をお選び下さい。"
482
 
483
- #: includes/core/permalink-manager-actions.php:640
484
  msgid "Sitemaps were updated!"
485
  msgstr "サイトマップは、更新されました!"
486
 
487
  #: includes/views/permalink-manager-permastructs.php:15
488
  msgid "Permastructures"
489
- msgstr "パーマストラクチャ"
490
 
491
  #: includes/views/permalink-manager-permastructs.php:31
492
  #: includes/views/permalink-manager-tools.php:162
@@ -505,8 +520,8 @@ msgid "WooCommerce"
505
  msgstr "WooCommerce"
506
 
507
  #: includes/views/permalink-manager-permastructs.php:74
508
- #: includes/views/permalink-manager-pro-addons.php:189
509
- #: includes/views/permalink-manager-pro-addons.php:222
510
  msgid "Instructions"
511
  msgstr "手順"
512
 
@@ -518,10 +533,13 @@ msgid ""
518
  "posts and terms</strong>, please regenerate the custom permalinks <a "
519
  "href=\"%s\">here</a>."
520
  msgstr ""
 
 
 
521
 
522
  #: includes/views/permalink-manager-permastructs.php:77
523
  msgid "Permastructure tags"
524
- msgstr ""
525
 
526
  #: includes/views/permalink-manager-permastructs.php:78
527
  #, php-format
@@ -530,10 +548,12 @@ msgid ""
530
  "listed below. Please note that some of them can be used only for particular "
531
  "post types or taxonomies."
532
  msgstr ""
 
 
533
 
534
  #: includes/views/permalink-manager-permastructs.php:81
535
  msgid "Save permastructures"
536
- msgstr "パーマストラクチャを保存する"
537
 
538
  #: includes/views/permalink-manager-uri-editor-post.php:55
539
  msgid "Post title"
@@ -572,17 +592,17 @@ msgstr "見る"
572
  #: includes/views/permalink-manager-uri-editor-post.php:141
573
  #: includes/views/permalink-manager-uri-editor-tax.php:138
574
  msgid "Save all the URIs below"
575
- msgstr ""
576
 
577
  #: includes/views/permalink-manager-uri-editor-post.php:142
578
  #: includes/views/permalink-manager-uri-editor-tax.php:139
579
  msgid "Save all the URIs above"
580
- msgstr ""
581
 
582
  #: includes/views/permalink-manager-uri-editor-post.php:150
583
  #: includes/views/permalink-manager-uri-editor-tax.php:147
584
  msgid "Search"
585
- msgstr ""
586
 
587
  #: includes/views/permalink-manager-uri-editor-post.php:166
588
  msgid "All dates"
@@ -605,97 +625,91 @@ msgid "Licence key"
605
  msgstr "ライセンスキー"
606
 
607
  #: includes/views/permalink-manager-pro-addons.php:133
608
- msgid ""
609
- "The licence key allows you to access all the plugin updates & priority "
610
- "support."
611
- msgstr "ライセンスキーを利用すると、全てのプラグインの更新と優先サポートにアクセスできます。"
612
-
613
- #: includes/views/permalink-manager-pro-addons.php:134
614
  msgid "Check the expiration date."
615
- msgstr ""
616
 
617
- #: includes/views/permalink-manager-pro-addons.php:158
618
  msgid "-- Use predefined words list --"
619
  msgstr "-- 定義済みの単語リストを使用する --"
620
 
621
- #: includes/views/permalink-manager-pro-addons.php:161
622
  msgid "Remove all words"
623
  msgstr "全ての単語を削除する"
624
 
625
- #: includes/views/permalink-manager-pro-addons.php:163
626
  msgid "Add the words from the list"
627
  msgstr "リストから単語を追加する"
628
 
629
- #: includes/views/permalink-manager-pro-addons.php:171
630
  msgid "Enable \"stop words\""
631
  msgstr "「使用禁止の単語」を有効にする"
632
 
633
- #: includes/views/permalink-manager-pro-addons.php:177
634
  msgid "\"Stop words\" list"
635
  msgstr "「使用禁止の単語」リスト"
636
 
637
- #: includes/views/permalink-manager-pro-addons.php:181
638
- msgid "The words should be comma-separated."
639
- msgstr "単語は、カンマで区切る必要があります。"
640
 
641
- #: includes/views/permalink-manager-pro-addons.php:190
642
  msgid ""
643
  "If enabled, all selected \"stop words\" will be automatically removed from "
644
  "default URIs."
645
  msgstr "有効にすると、選択された全ての「使用禁止の単語」はデフォルトのURIから、自動的に削除されます。"
646
 
647
- #: includes/views/permalink-manager-pro-addons.php:191
648
  msgid ""
649
  "Each of the words can be removed and any new words can be added to the list. "
650
  "You can also use a predefined list (available in 21 languages)."
651
  msgstr "各単語は、リストへ追加/削除できます。また、定義済みのリスト(21の言語)も使用可能です。"
652
 
653
- #: includes/views/permalink-manager-pro-addons.php:193
654
  msgid "Save"
655
  msgstr "保存する"
656
 
657
- #: includes/views/permalink-manager-pro-addons.php:213
658
  #: includes/views/permalink-manager-tools.php:34
659
  msgid "Custom Permalinks"
660
  msgstr "カスタム パーマリンク"
661
 
662
- #: includes/views/permalink-manager-pro-addons.php:214
663
  msgid "Deactivate after import"
664
  msgstr "インポート後、非アクティブにする"
665
 
666
- #: includes/views/permalink-manager-pro-addons.php:217
667
  msgid ""
668
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
669
  "custom URIs are imported."
670
  msgstr "選択すると、カスタムURIのインポート後、「カスタムパーマリンク」プラグインが無効になります。"
671
 
672
- #: includes/views/permalink-manager-pro-addons.php:223
673
  msgid ""
674
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
675
  "of this plugin."
676
  msgstr "「カスタム パーマリンク」(有効にしている場合)により、本プラグインの動作が損なわれる場合があります。"
677
 
678
- #: includes/views/permalink-manager-pro-addons.php:224
679
  msgid ""
680
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
681
  "permalinks before using Permalink Manager Pro."
682
  msgstr ""
683
- "したがって、「カスタム パーマリンク」を無効にして、パーマリンク マネージャー Proを使用する前の古いパーマリンクのインポートを推奨します。"
684
 
685
- #: includes/views/permalink-manager-pro-addons.php:229
686
  #, php-format
687
  msgid "Import %d URIs"
688
  msgstr "%d URIをインポートする"
689
 
690
- #: includes/views/permalink-manager-pro-addons.php:234
691
  msgid "No custom URIs to import"
692
  msgstr "インポートするカスタムURIはありません"
693
 
694
- #: includes/views/permalink-manager-pro-addons.php:247
695
  msgid "Technical support"
696
  msgstr "技術的サポート"
697
 
698
- #: includes/views/permalink-manager-pro-addons.php:248
699
  #, php-format
700
  msgid ""
701
  "To find the answers on frequently asked questions and information about how "
@@ -705,7 +719,7 @@ msgstr ""
705
  "よくある質問と一般的な問題に対する対処方法についての情報は、 <a target=\"_blank\" href=\"%s\">コチラ</a>"
706
  "の<strong>Knowledge Base</strong> をご利用下さい。(英語のみ)"
707
 
708
- #: includes/views/permalink-manager-pro-addons.php:249
709
  msgid ""
710
  "If you still did not find the answer to your question, please send us your "
711
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
@@ -714,24 +728,24 @@ msgstr ""
714
  "ご質問に対して答えが見つからない場合は、問題の詳細又はご質問を<a href=\"mailto:support@permalinkmanager."
715
  "pro\">support@permalinkmanager.pro</a>までお送り下さい。(英語のみ)"
716
 
717
- #: includes/views/permalink-manager-pro-addons.php:250
718
  msgid ""
719
  "To reduce the response time, please attach your licence key and if possible "
720
  "also: URL address of your website and screenshots explaining the issue."
721
  msgstr ""
722
  "ご返答までの時間を短縮するため、ライセンスキーを添付し、可能であればWebサイトのURLと問題箇所のスクリーンショットもお送り下さい。(英語のみ)"
723
 
724
- #: includes/views/permalink-manager-pro-addons.php:252
725
  msgid "Suggestions/feedback"
726
  msgstr "ご意見 / フィードバック"
727
 
728
- #: includes/views/permalink-manager-pro-addons.php:253
729
  msgid ""
730
  "If you would like to suggest a new functionality or leave us feedback, we "
731
  "are open to all new ideas and would be grateful for all your comments!"
732
  msgstr "新たな機能の提案やフィードバックをお送り下さい。あらゆる新しいアイデアは大歓迎であり、あなたのコメントをお送り頂ければ幸いです。"
733
 
734
- #: includes/views/permalink-manager-pro-addons.php:254
735
  msgid ""
736
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
737
  "contact@permalinkmanager.pro</a>."
@@ -739,25 +753,25 @@ msgstr ""
739
  "<a href=\"mailto:contact@permalinkmanager.pro\">contact@permalinkmanager."
740
  "pro</a>まで、ご意見をお送り下さい。"
741
 
742
- #: includes/views/permalink-manager-pro-addons.php:269
743
  msgid "Extra redirects (aliases)"
744
  msgstr "追加のリダイレクト(エイリアス)"
745
 
746
- #: includes/views/permalink-manager-pro-addons.php:270
747
  msgid ""
748
  "All URIs specified below will redirect the visitors to the custom URI "
749
  "defined above in \"Current URI\" field."
750
  msgstr "以下で指定された全てのURIは、訪問者を上記の「現在のURI」フィールドで定義されたカスタムURIにリダイレクトします。"
751
 
752
- #: includes/views/permalink-manager-pro-addons.php:276
753
  msgid "sample/custom-uri"
754
  msgstr "sample/custom-uri"
755
 
756
- #: includes/views/permalink-manager-pro-addons.php:293
757
  msgid "Add new redirect"
758
  msgstr "新しいリダイレクトを追加する"
759
 
760
- #: includes/views/permalink-manager-pro-addons.php:298
761
  #, php-format
762
  msgid ""
763
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
@@ -766,21 +780,21 @@ msgstr ""
766
  "<strong>URIのみご利用下さい!</strong><br />例えば、<code>%s/old-uri</code> "
767
  "のリダイレクトを設定する場合は、<code>old-uri</code> をお使い下さい。"
768
 
769
- #: includes/views/permalink-manager-pro-addons.php:307
770
  msgid "Redirect this page to external URL"
771
  msgstr "このページを外部URLにリダイレクトする"
772
 
773
- #: includes/views/permalink-manager-pro-addons.php:308
774
  msgid ""
775
  "If not empty, the visitors trying to access this page will be redirected to "
776
  "the URL specified below."
777
  msgstr "空白でない場合、このページにアクセスしようと試みた訪問者は、下記のURLにリダイレクトされます。"
778
 
779
- #: includes/views/permalink-manager-pro-addons.php:312
780
  msgid "http://another-website.com/final-target-url"
781
  msgstr "http://another-website.com/final-target-url"
782
 
783
- #: includes/views/permalink-manager-pro-addons.php:316
784
  msgid ""
785
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
786
  "//another-website.com/final-target-url</code>."
@@ -820,152 +834,227 @@ msgstr "一般設定"
820
  msgid "Auto-update permalinks"
821
  msgstr "パーマリンクの自動更新"
822
 
823
- #: includes/views/permalink-manager-settings.php:41
824
  msgid ""
825
- "If enabled, the custom permalinks will be automatically updated every time "
826
- "the post is saved or updated."
827
- msgstr "有効にすると、カスタムパーマリンクは投稿が更新 / 保存される度に、自動的に更新されます。"
828
-
829
- #: includes/views/permalink-manager-settings.php:45
830
- msgid "Automatically remove broken URIs"
831
- msgstr "リンク切れURIを自動的に削除する"
832
 
833
- #: includes/views/permalink-manager-settings.php:47
834
- #, php-format
835
  msgid ""
836
- "If enabled, the custom URIs assigned to removed posts & terms will be "
837
- "automatically removed.<br />To manually remove the duplicates please go <a "
838
- "href=\"%s\">to this page</a>."
839
  msgstr ""
840
- "有効にすると、削除済みの投稿とタームが割り当てられているカスタムURIは、自動的に削除されます。<br />手動で重複を削除する場合は、<a "
841
- "href=\"%s\">コチラ</a>で行えます。"
842
 
843
- #: includes/views/permalink-manager-settings.php:51
844
- msgid "Use actual post/term titles (Force custom slugs)"
845
- msgstr ""
846
 
847
- #: includes/views/permalink-manager-settings.php:53
848
- msgid "No, use native slugs"
849
- msgstr "いいえ、ネイティブスラッグを使用する"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
850
 
851
  #: includes/views/permalink-manager-settings.php:53
852
- msgid "Yes, use post/term titles"
853
- msgstr "はい、投稿/ターム タイトルを使用する"
 
 
854
 
855
  #: includes/views/permalink-manager-settings.php:54
856
  msgid ""
857
- "If enabled, the slugs in the default custom permalinks will be recreated "
858
- "from the post titles.<br />This may cause permalinks duplicates when the "
859
- "post or term title is used more than once."
860
- msgstr ""
861
- "有効にすると、デフォルトのカスタムパーマリンク内のスラッグは、投稿タイトルから再作成されます。<br />"
862
- "この設定は、投稿やタームのタイトルが複数回使用された場合、パーマリンクが重複する可能性があります。"
863
 
864
  #: includes/views/permalink-manager-settings.php:59
865
- msgid "SEO functions & redirects"
866
- msgstr ""
867
 
868
- #: includes/views/permalink-manager-settings.php:65
869
- msgid "Canonical redirect"
870
- msgstr "カノニカル リダイレクト"
 
 
 
 
871
 
872
- #: includes/views/permalink-manager-settings.php:67
 
 
 
 
873
  msgid ""
874
- "This function allows Wordpress to correct the URLs used by the visitors."
875
- msgstr "この機能は、WordPressに対して訪問者が使用したURLの修正を許可します。"
 
 
876
 
877
- #: includes/views/permalink-manager-settings.php:71
878
- msgid "Old slug redirect"
 
 
 
 
 
 
 
 
879
  msgstr ""
 
 
 
 
 
 
880
 
881
  #: includes/views/permalink-manager-settings.php:73
882
  msgid ""
883
- "If enabled, the visitors will be automatically redirected to canonical "
884
- "permalink if old post's slug was detected."
885
  msgstr ""
 
 
886
 
887
- #: includes/views/permalink-manager-settings.php:77
888
- msgid "Old custom permalinks redirect"
 
 
889
  msgstr ""
 
 
 
 
 
 
890
 
891
- #: includes/views/permalink-manager-settings.php:81
892
  msgid ""
893
- "If enabled, the redirects will be automatially created for old custom "
894
- "permalinks, after posts/terms URLs are changed."
895
  msgstr ""
 
 
896
 
897
- #: includes/views/permalink-manager-settings.php:85
 
 
 
 
 
 
 
 
 
 
898
  msgid "Redirect mode"
899
- msgstr ""
900
 
901
- #: includes/views/permalink-manager-settings.php:87
902
- msgid "Disable"
903
- msgstr "無効"
904
 
905
- #: includes/views/permalink-manager-settings.php:87
906
- msgid "Enable \"301 redirect\""
907
- msgstr "301 リダイレクト」を有効にする"
908
 
909
- #: includes/views/permalink-manager-settings.php:87
910
- msgid "Enable \"302 redirect\""
911
- msgstr "302 リダイレクト」を有効にする"
912
 
913
- #: includes/views/permalink-manager-settings.php:88
914
  msgid ""
915
- "If enabled, the visitors will be redirected from native permalinks to your "
916
- "custom permalinks."
917
  msgstr ""
 
 
918
 
919
- #: includes/views/permalink-manager-settings.php:92
920
- msgid "Trailing slashes"
921
- msgstr "末尾のスラッシュ"
 
 
922
 
923
- #: includes/views/permalink-manager-settings.php:94
924
- msgid "Use default settings"
925
- msgstr "デフォルトの設定を使用する"
926
 
927
- #: includes/views/permalink-manager-settings.php:94
928
- msgid "Add trailing slashes"
929
- msgstr "末尾のスラッシュを追加する"
 
 
 
930
 
931
- #: includes/views/permalink-manager-settings.php:94
932
- msgid "Add trailing slashes (+ auto-redirect links without them)"
933
- msgstr "末尾のスラッシュを追加する(+自動リダイレクト リンク、スラッシュあり)"
 
 
 
 
934
 
935
- #: includes/views/permalink-manager-settings.php:94
936
- msgid "Remove trailing slashes"
937
- msgstr "末尾のスラッシュを削除する"
 
 
938
 
939
- #: includes/views/permalink-manager-settings.php:94
940
- msgid "Remove trailing slashes (+ auto-redirect links with them)"
941
- msgstr "末尾のスラッシュを削除する(+自動リダイレクト リンク、スラッシュなし)"
942
 
943
- #: includes/views/permalink-manager-settings.php:95
944
  msgid ""
945
- "This option can be used to alter the native settings and control if trailing "
946
- "slash should be added or removed from the end of posts & terms permalinks."
947
  msgstr ""
948
- "このオプションは、ネイティブの設定を変更し、末尾のスラッシュを投稿・タームのパーマリンクの末尾に、追加・削除するかを制御するために使用できます。"
 
949
 
950
- #: includes/views/permalink-manager-settings.php:99
951
- msgid "Force HTTPS/WWW in URLs"
952
- msgstr ""
 
 
 
 
953
 
954
- #: includes/views/permalink-manager-settings.php:101
955
  msgid ""
956
- "<strong>Please disable it, if you encounter any redirect loop issues."
957
- "</strong>"
958
  msgstr ""
 
959
 
960
- #: includes/views/permalink-manager-settings.php:106
961
  msgid "Third party plugins"
962
- msgstr ""
963
 
964
- #: includes/views/permalink-manager-settings.php:112
965
- msgid "Fix WPML/Polylang language mismatch"
966
- msgstr ""
967
 
968
- #: includes/views/permalink-manager-settings.php:114
969
  msgid ""
970
  "If enabled, the plugin will load the adjacent translation of post when the "
971
  "custom permalink is detected, but the language code in the URL does not "
@@ -973,126 +1062,154 @@ msgid ""
973
  msgstr ""
974
  "有効にすると、本プラグインはカスタムパーマリンクを検出した際、投稿に用いた言語に近い翻訳を読み込みますが、投稿やタームに割当られた言語コードとURL内言語コードと一致しない場合は読み込みません。"
975
 
976
- #: includes/views/permalink-manager-settings.php:118
977
- msgid "Disable support for WP All Import"
978
- msgstr ""
979
 
980
- #: includes/views/permalink-manager-settings.php:120
981
  msgid ""
982
- "If checked, the custom URIs will not be assigned to the posts imported by Wp "
983
- "All Import Pro plugin."
984
- msgstr ""
985
 
986
- #: includes/views/permalink-manager-settings.php:124
987
- msgid "Filter breadcrumbs"
988
- msgstr ""
989
 
990
- #: includes/views/permalink-manager-settings.php:126
991
  msgid ""
992
  "If checked, the HTML breadcrumbs will be filtered by Permalink Manager to "
993
- "mimic the current URL structure.<br />Works with: Yoast SEO, RankMath and "
994
- "SEOPress breadcrumbs."
995
  msgstr ""
 
 
996
 
997
- #: includes/views/permalink-manager-settings.php:130
998
- msgid "Exclude content types"
999
- msgstr ""
1000
 
1001
- #: includes/views/permalink-manager-settings.php:132
1002
  msgid ""
1003
  "Permalink Manager will ignore and not filter the custom permalinks of all "
1004
  "selected above post types & taxonomies."
1005
- msgstr ""
1006
 
1007
- #: includes/views/permalink-manager-settings.php:137
1008
  msgid "Advanced settings"
1009
  msgstr "詳細設定"
1010
 
1011
- #: includes/views/permalink-manager-settings.php:143
1012
  msgid "Show \"Native slug\" field"
1013
- msgstr ""
1014
 
1015
- #: includes/views/permalink-manager-settings.php:145
1016
  msgid ""
1017
  "If enabled, it would be possible to edit the native slug via URI Editor on "
1018
  "single post/term edit page."
1019
- msgstr ""
1020
 
1021
- #: includes/views/permalink-manager-settings.php:149
1022
  msgid "Force 404 on non-existing pagination pages"
1023
- msgstr "実在しないページ割付のページに404を強制表示する"
1024
 
1025
- #: includes/views/permalink-manager-settings.php:151
1026
  msgid ""
1027
  "If enabled, the non-existing pagination pages (for single posts) will return "
1028
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
1029
  "any problems with pagination pages or use custom pagination system.</strong>"
1030
  msgstr ""
1031
- "有効にすると、実在しないページ割付のページ(単一投稿用)に対して、404( \"Not Found\")エラーを返します。<br /><strong>"
1032
- "ページ割付のページ、もしくは独自のページ割付システムをご利用で、なんらかの問題が生じた場合は、無効にしてください。</strong>"
 
1033
 
1034
- #: includes/views/permalink-manager-settings.php:155
1035
  msgid "Strip special characters"
1036
- msgstr ""
1037
 
1038
- #: includes/views/permalink-manager-settings.php:157
1039
- #: includes/views/permalink-manager-settings.php:164
1040
  msgid "Yes, use native settings"
1041
- msgstr ""
1042
 
1043
- #: includes/views/permalink-manager-settings.php:157
1044
  msgid "No, keep special characters (.,|_+) in the slugs"
1045
- msgstr ""
1046
 
1047
- #: includes/views/permalink-manager-settings.php:158
1048
  msgid ""
1049
  "If enabled only alphanumeric characters, underscores and dashes will be "
1050
  "allowed for post/term slugs."
1051
- msgstr ""
1052
 
1053
- #: includes/views/permalink-manager-settings.php:162
1054
  msgid "Convert accented letters"
1055
- msgstr ""
1056
 
1057
- #: includes/views/permalink-manager-settings.php:164
1058
  msgid "No, keep accented letters in the slugs"
1059
- msgstr ""
1060
 
1061
- #: includes/views/permalink-manager-settings.php:165
1062
  msgid ""
1063
  "If enabled, all the accented letters will be replaced with their non-"
1064
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1065
  msgstr ""
 
1066
 
1067
- #: includes/views/permalink-manager-settings.php:169
1068
  msgid "URI Editor role capability"
1069
- msgstr ""
1070
 
1071
- #: includes/views/permalink-manager-settings.php:170
1072
  msgid "Administrator (edit_theme_options)"
1073
- msgstr ""
1074
 
1075
- #: includes/views/permalink-manager-settings.php:170
1076
  msgid "Editor (publish_pages)"
1077
- msgstr ""
1078
 
1079
- #: includes/views/permalink-manager-settings.php:170
1080
  msgid "Author (publish_posts)"
1081
- msgstr ""
1082
 
1083
- #: includes/views/permalink-manager-settings.php:170
1084
  msgid "Contributor (edit_posts)"
1085
- msgstr ""
1086
 
1087
- #: includes/views/permalink-manager-settings.php:171
1088
  #, php-format
1089
  msgid ""
1090
  "Only the users who have selected capability will be able to access URI "
1091
  "Editor.<br />The list of capabilities <a href=\"%s\" target=\"_blank\">can "
1092
  "be found here</a>."
1093
  msgstr ""
 
 
 
 
 
 
 
 
 
 
1094
 
1095
- #: includes/views/permalink-manager-settings.php:177
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1096
  msgid "Save settings"
1097
  msgstr "設定を保存する"
1098
 
@@ -1129,7 +1246,7 @@ msgstr "重複したパーマリンクのリスト"
1129
 
1130
  #: includes/views/permalink-manager-tools.php:55
1131
  msgid "Fix custom permalinks & redirects"
1132
- msgstr ""
1133
 
1134
  #: includes/views/permalink-manager-tools.php:70
1135
  msgid "Extra Redirect"
@@ -1158,7 +1275,7 @@ msgstr "(削除された投稿)"
1158
 
1159
  #: includes/views/permalink-manager-tools.php:120
1160
  msgid "Congratulations! No duplicated URIs or Redirects found!"
1161
- msgstr "おめでとうございます!重複したURIもしくはリダイレクトは、見つかりませんでした!"
1162
 
1163
  #: includes/views/permalink-manager-tools.php:134
1164
  msgid "Find ..."
@@ -1225,15 +1342,15 @@ msgstr "検索&置換"
1225
 
1226
  #: includes/views/permalink-manager-tools.php:226
1227
  msgid "Regenerate custom permalinks"
1228
- msgstr ""
1229
 
1230
  #: includes/views/permalink-manager-tools.php:227
1231
  msgid "Regenerate native slugs"
1232
- msgstr ""
1233
 
1234
  #: includes/views/permalink-manager-tools.php:228
1235
  msgid "Use original URLs as custom permalinks"
1236
- msgstr ""
1237
 
1238
  #: includes/views/permalink-manager-tools.php:286
1239
  msgid "Regenerate"
@@ -1253,11 +1370,11 @@ msgstr "本プラグインで生成されたURIのリスト"
1253
 
1254
  #: includes/views/permalink-manager-debug.php:35
1255
  msgid "Remove all custom permalinks"
1256
- msgstr ""
1257
 
1258
  #: includes/views/permalink-manager-debug.php:37
1259
  msgid "Array with URIs"
1260
- msgstr "URIで配列"
1261
 
1262
  #: includes/views/permalink-manager-debug.php:44
1263
  msgid "List of custom redirects set-up by this plugin."
@@ -1265,57 +1382,57 @@ msgstr "本プラグインによって設定されたカスタム リダイレ
1265
 
1266
  #: includes/views/permalink-manager-debug.php:46
1267
  msgid "Remove all custom redirects"
1268
- msgstr ""
1269
 
1270
  #: includes/views/permalink-manager-debug.php:48
1271
  msgid "Array with redirects"
1272
- msgstr "リダイレクトで配列"
1273
 
1274
  #: includes/views/permalink-manager-debug.php:55
1275
  msgid "List of external redirects set-up by this plugin."
1276
- msgstr ""
1277
 
1278
  #: includes/views/permalink-manager-debug.php:56
1279
  msgid "Remove all external redirects"
1280
- msgstr ""
1281
 
1282
  #: includes/views/permalink-manager-debug.php:58
1283
  msgid "Array with external redirects"
1284
- msgstr ""
1285
 
1286
  #: includes/views/permalink-manager-debug.php:65
1287
  msgid "List of permastructures set-up by this plugin."
1288
- msgstr ""
1289
 
1290
  #: includes/views/permalink-manager-debug.php:67
1291
  msgid "Remove all permastructures settings"
1292
- msgstr ""
1293
 
1294
  #: includes/views/permalink-manager-debug.php:69
1295
  msgid "Array with permastructures"
1296
- msgstr "パーマストラクチャで配列"
1297
 
1298
  #: includes/views/permalink-manager-debug.php:76
1299
  msgid "List of plugin settings."
1300
- msgstr ""
1301
 
1302
  #: includes/views/permalink-manager-debug.php:78
1303
  msgid "Remove all plugin settings"
1304
- msgstr ""
1305
 
1306
  #: includes/views/permalink-manager-debug.php:80
1307
  msgid "Array with settings used in this plugin."
1308
- msgstr "プラグイン内で使用中の設定で配列"
1309
 
1310
  #. Name of the plugin
1311
  msgid "Permalink Manager Pro"
1312
- msgstr "パーマリンク マネージャー Pro"
1313
 
1314
  #. Description of the plugin
1315
  msgid ""
1316
  "Advanced plugin that allows to set-up custom permalinks (bulk editors "
1317
  "included), slugs and permastructures (WooCommerce compatible)."
1318
- msgstr "有償版では、スラッグやパーマストラクチャ(WooCommerceとの互換性あり)、カスタム パーマリンク(一括編集も含む)の設定が可能です。"
1319
 
1320
  #. URI of the plugin
1321
  msgid "https://permalinkmanager.pro?utm_source=plugin"
2
  msgstr ""
3
  "Project-Id-Version: Permalink Manager Lite\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-04-24 12:22+0000\n"
6
+ "PO-Revision-Date: 2020-04-24 15:28+0000\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: 日本語\n"
9
  "Language: ja\n"
10
  "Plural-Forms: nplurals=1; plural=0;\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.3.3; wp-5.4"
16
 
17
+ #: permalink-manager.php:206
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
26
  "<strong>パーマリンク マネージャー Proの購入は<a href=\"%s\" target=\"_blank\">コチラ</a>! %s "
27
  "の割引 「%s」をご利用下さい。 </strong> %s まで!"
28
 
29
+ #: includes/core/permalink-manager-third-parties.php:231
30
  msgid "\"Custom Permalinks\" URIs were imported!"
31
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
32
 
33
+ #: includes/core/permalink-manager-third-parties.php:234
34
  msgid "No \"Custom Permalinks\" URIs were imported!"
35
  msgstr "「カスタム パーマリンク」 URIはインポートされませんでした!"
36
 
37
  #. Name of the plugin
38
+ #: includes/core/permalink-manager-third-parties.php:513
39
  #: includes/core/permalink-manager-gutenberg.php:14
40
  #: includes/core/permalink-manager-admin-functions.php:110
41
  #: includes/core/permalink-manager-admin-functions.php:110
44
  #: includes/core/permalink-manager-admin-functions.php:801
45
  #: includes/core/permalink-manager-admin-functions.php:802
46
  msgid "Permalink Manager"
47
+ msgstr "Permalink Manager"
48
 
49
+ #: includes/core/permalink-manager-third-parties.php:517
50
+ #: includes/core/permalink-manager-uri-functions-tax.php:476
51
  #: includes/views/permalink-manager-tools.php:70
52
  msgid "Custom URI"
53
  msgstr "カスタム URI"
54
 
55
+ #: includes/core/permalink-manager-third-parties.php:518
56
  #, php-format
57
  msgid ""
58
  "If empty, a default permalink based on your current <a href=\"%s\" "
59
  "target=\"_blank\">permastructure settings</a> will be used."
60
  msgstr ""
61
+ "空の場合、現在の<a href=\"%s\" target=\"_blank\">パーマ構造 設定</a>"
62
+ "に基づいたデフォルトのパーマリンクが適用されます。"
63
 
64
+ #: includes/core/permalink-manager-uri-functions-tax.php:477
65
  msgid "Clear/leave the field empty to use the default permalink."
66
  msgstr "デフォルトのパーマリンクを使用するため、フィールドを空のままにする / クリアする"
67
 
68
+ #: includes/core/permalink-manager-uri-functions-tax.php:509
69
  #: includes/core/permalink-manager-admin-functions.php:719
70
  #: includes/core/permalink-manager-admin-functions.php:819
71
+ #: includes/core/permalink-manager-uri-functions-post.php:665
72
  msgid "Current URI"
73
  msgstr "現在のURI"
74
 
75
  #: includes/core/permalink-manager-admin-functions.php:134
76
  msgid "Are you sure? This action cannot be undone!"
77
+ msgstr "本当によろしいですか?この操作は、元に戻せません!"
78
 
79
  #: includes/core/permalink-manager-admin-functions.php:155
80
  msgid "URI Editor"
87
 
88
  #: includes/core/permalink-manager-admin-functions.php:168
89
  msgid "Documentation"
90
+ msgstr "ドキュメント"
91
 
92
  #: includes/core/permalink-manager-admin-functions.php:172
93
  msgid "Buy Permalink Manager Pro"
94
+ msgstr "Permalink Manager Proを購入"
95
 
96
  #: includes/core/permalink-manager-admin-functions.php:259
97
  msgid "Select all"
103
 
104
  #: includes/core/permalink-manager-admin-functions.php:375
105
  msgid "Permastructure translations"
106
+ msgstr "パーマ構造 翻訳"
107
 
108
  #: includes/core/permalink-manager-admin-functions.php:376
109
  msgid ""
112
  "the permastructure set for default language (see field above) will be "
113
  "applied."
114
  msgstr ""
115
+ "パーマ構造を翻訳し、言語ごとに異なるパーマリンク構造を設定する場合は、以下のフィールドに入力して下さい。 それ以外は、デフォルト言語のパーマ構造 "
116
+ "セット(上記のフィールドを参照)が適用されます。"
117
 
118
  #: includes/core/permalink-manager-admin-functions.php:393
119
  msgid "Default permastructure"
120
+ msgstr "デフォルト パーマ構造"
121
 
122
  #: includes/core/permalink-manager-admin-functions.php:394
123
  msgid "Restore default permastructure"
124
+ msgstr "デフォルトのパーマ構造を復元する"
125
 
126
  #: includes/core/permalink-manager-admin-functions.php:400
127
+ #: includes/core/permalink-manager-actions.php:399
128
+ #: includes/core/permalink-manager-actions.php:403
129
  msgid "Permastructure settings"
130
+ msgstr "パーマ構造 設定"
131
 
132
  #: includes/core/permalink-manager-admin-functions.php:401
133
  msgid "Do not automatically append the slug"
134
+ msgstr "スラッグを自動的に追加しない"
135
 
136
  #: includes/core/permalink-manager-admin-functions.php:409
137
  msgid "Show additional settings"
138
+ msgstr "追加設定を表示する"
139
 
140
  #: includes/core/permalink-manager-admin-functions.php:555
141
  msgid "Donate"
147
 
148
  #: includes/core/permalink-manager-admin-functions.php:568
149
  msgid "Upgrade to PRO"
150
+ msgstr "Pro版にアップグレード"
151
 
152
  #: includes/core/permalink-manager-admin-functions.php:635
153
  #: includes/core/permalink-manager-admin-functions.php:662
186
  #, php-format
187
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
188
  msgid_plural "<strong class=\"updated_count\">%d</strong> slugs were updated!"
189
+ msgstr[0] "<strong class=\"updated_count\">%d</strong> スラッグは、更新されました!"
190
  msgstr[1] ""
191
 
192
  #: includes/core/permalink-manager-admin-functions.php:689
195
  msgstr "更新されたスラッグのリストは、<a %s>ここをクリック</a> "
196
 
197
  #: includes/core/permalink-manager-admin-functions.php:693
198
+ #: includes/core/permalink-manager-actions.php:115
199
  msgid "<strong>No slugs</strong> were updated!"
200
  msgstr "スラッグは、更新されませんでした。"
201
 
216
 
217
  #: includes/core/permalink-manager-admin-functions.php:787
218
  msgid "No (ignore this URI in bulk tools)"
219
+ msgstr "いいえ(一括ツールでは、このURIを無視します。)"
220
 
221
  #: includes/core/permalink-manager-admin-functions.php:801
222
  msgid "Close: "
232
  "custom URI can be edited only if 'Auto-update the URI' feature is not "
233
  "enabled."
234
  msgstr ""
235
+ "カスタムURIが定義されていない場合、デフォルトのURIが設定されます。(以下を参照)カスタムURIは、「URIの自動更新」機能が有効になっていない場合のみ編集できます。"
236
 
237
  #: includes/core/permalink-manager-admin-functions.php:829
238
  msgid "Native slug"
239
+ msgstr "ネイティブ スラッグ"
240
 
241
  #: includes/core/permalink-manager-admin-functions.php:830
242
  msgid ""
243
  "The native slug is by default automatically used in native permalinks (when "
244
  "Permalink Manager is disabled)."
245
  msgstr ""
246
+ "ネイティブ スラッグは、(Permalink Managerが無効になっている場合)デフォルトでは自動的にネイティブパーマリンクが使用されます。"
247
 
248
  #: includes/core/permalink-manager-admin-functions.php:840
249
  msgid "Auto-update the URI"
261
 
262
  #: includes/core/permalink-manager-admin-functions.php:850
263
  msgid "Restore Default URI"
264
+ msgstr "デフォルトのURIを復元する"
265
 
266
  #: includes/core/permalink-manager-admin-functions.php:860
267
  msgid "Automatic redirect for native URI enabled:"
274
  "Permalink Manager Pro and apply <a href=\"https://permalinkmanager.pro/buy-"
275
  "permalink-manager-pro/\">PMLITE coupon code</a> to get 10% off.</a></span>"
276
  msgstr ""
277
+ "<span><strong>さらなる機能と専用サポートが必要ですか?</strong>Permalink Manager "
278
+ "Proを購入して10%割引の<a href=\"https://permalinkmanager.pro/buy-permalink-manager-"
279
+ "pro/\">PMLITEクーポンコード</a>を適用してください。</a></span>"
280
 
281
  #: includes/core/permalink-manager-admin-functions.php:882
282
  msgid "Save permalink"
283
+ msgstr "パーマリンクを保存する"
284
 
285
  #: includes/core/permalink-manager-admin-functions.php:909
286
  msgid "Manage redirects"
291
  msgid ""
292
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
293
  "Permalink Manager Pro</a>."
294
+ msgstr "この機能は、Permalink Manager Proのみ利用可能です。"
295
 
296
+ #: includes/core/permalink-manager-pro-functions.php:127
297
+ #: includes/core/permalink-manager-pro-functions.php:153
298
  #, php-format
299
  msgid ""
300
  "Please paste the licence key to access all Permalink Manager Pro updates & "
301
  "features <a href=\"%s\" target=\"_blank\">on this page</a>."
302
  msgstr ""
303
+ "<a href=\"%s\" target=\"_blank\">コチラのページ</a>にて、ライセンスキーを設定して全てのPermalink "
304
+ "Manager Pro のアップデート&機能をご利用下さい。"
305
 
306
+ #: includes/core/permalink-manager-pro-functions.php:132
307
  msgid ""
308
  "Expiration date could not be downloaded at this moment. Please try again in "
309
  "a few minutes."
310
+ msgstr "現在、有効期限の情報をダウンロードできない可能性があります。数分後に、再度お試し下さい。"
311
 
312
+ #: includes/core/permalink-manager-pro-functions.php:137
313
  msgid "Your Permalink Manager Pro licence key is invalid!"
314
+ msgstr "あなたのライセンスキーは、無効です!"
315
 
316
+ #: includes/core/permalink-manager-pro-functions.php:142
317
  #, php-format
318
  msgid ""
319
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
320
  "updates & technical support please go to <a href=\"%s\" target=\"_blank\">"
321
  "this page</a>."
322
  msgstr ""
323
+ "あなたのライセンスキーは有効期限が切れました!プラグインのアップデートのアクセスやテクニカルサポートを受けたい場合は、<a href=\"%s\" "
324
+ "target=\"_blank\">コチラのページ</a>にアクセスして、復元して下さい。"
325
 
326
+ #: includes/core/permalink-manager-pro-functions.php:147
327
  msgid "You own a lifetime licence key."
328
  msgstr "あなたは、永久ライセンスキーをお持ちです。"
329
 
330
+ #: includes/core/permalink-manager-pro-functions.php:150
331
  #, php-format
332
  msgid ""
333
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
334
  "href=\"%s\" target=\"_blank\">this page</a> for more information."
335
  msgstr ""
336
+ "あなたのライセンスキーは、%s まで有効です。<br />延長するには、<a href=\"%s\" target=\"_blank\">"
337
+ "コチラのページ</a>にアクセスして詳細を確認して下さい。"
338
 
339
+ #: includes/core/permalink-manager-pro-functions.php:186
340
  msgid "Arabic"
341
  msgstr "アラビア語"
342
 
343
+ #: includes/core/permalink-manager-pro-functions.php:187
344
  msgid "Chinese"
345
  msgstr "中国語"
346
 
347
+ #: includes/core/permalink-manager-pro-functions.php:188
348
  msgid "Danish"
349
  msgstr "デンマーク語"
350
 
351
+ #: includes/core/permalink-manager-pro-functions.php:189
352
  msgid "Dutch"
353
+ msgstr "オランダ語"
354
 
355
+ #: includes/core/permalink-manager-pro-functions.php:190
356
  msgid "English"
357
  msgstr "英語"
358
 
359
+ #: includes/core/permalink-manager-pro-functions.php:191
360
  msgid "Finnish"
361
  msgstr "フィンランド語"
362
 
363
+ #: includes/core/permalink-manager-pro-functions.php:192
364
  msgid "French"
365
  msgstr "フランス語"
366
 
367
+ #: includes/core/permalink-manager-pro-functions.php:193
368
  msgid "German"
369
  msgstr "ドイツ語"
370
 
371
+ #: includes/core/permalink-manager-pro-functions.php:194
372
  msgid "Hebrew"
373
  msgstr "ヘブライ語"
374
 
375
+ #: includes/core/permalink-manager-pro-functions.php:195
376
  msgid "Hindi"
377
  msgstr "ヒンディー語"
378
 
379
+ #: includes/core/permalink-manager-pro-functions.php:196
380
  msgid "Italian"
381
  msgstr "イタリア語"
382
 
383
+ #: includes/core/permalink-manager-pro-functions.php:197
384
  msgid "Japanese"
385
  msgstr "日本語"
386
 
387
+ #: includes/core/permalink-manager-pro-functions.php:198
388
  msgid "Korean"
389
  msgstr "韓国語"
390
 
391
+ #: includes/core/permalink-manager-pro-functions.php:199
392
  msgid "Norwegian"
393
  msgstr "ノルウェー語"
394
 
395
+ #: includes/core/permalink-manager-pro-functions.php:200
396
  msgid "Persian"
397
  msgstr "ペルシア語"
398
 
399
+ #: includes/core/permalink-manager-pro-functions.php:201
400
  msgid "Polish"
401
  msgstr "ポーランド語"
402
 
403
+ #: includes/core/permalink-manager-pro-functions.php:202
404
  msgid "Portuguese"
405
  msgstr "ポルトガル語"
406
 
407
+ #: includes/core/permalink-manager-pro-functions.php:203
408
  msgid "Russian"
409
  msgstr "ロシア語"
410
 
411
+ #: includes/core/permalink-manager-pro-functions.php:204
412
  msgid "Spanish"
413
  msgstr "スペイン語"
414
 
415
+ #: includes/core/permalink-manager-pro-functions.php:205
416
  msgid "Swedish"
417
  msgstr "スウェーデン語"
418
 
419
+ #: includes/core/permalink-manager-pro-functions.php:206
420
  msgid "Turkish"
421
  msgstr "トルコ語"
422
 
423
+ #: includes/core/permalink-manager-pro-functions.php:488
424
  msgid "Coupon Link"
425
  msgstr "クーポンリンク"
426
 
427
+ #: includes/core/permalink-manager-pro-functions.php:509
428
  msgid "Coupon URI"
429
  msgstr "クーポンURI"
430
 
431
+ #: includes/core/permalink-manager-pro-functions.php:510
432
  msgid ""
433
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
434
  "blackfriday</strong> are equivalent."
436
  "URIは、大文字・小文字は区別しません。例:<strong>BLACKFRIDAY</strong> と<strong>"
437
  "blackfriday</strong>は、同じです。"
438
 
439
+ #: includes/core/permalink-manager-pro-functions.php:521
440
  msgid "Coupon Full URL"
441
  msgstr "クーポン フル URL"
442
 
443
+ #: includes/core/permalink-manager-actions.php:105
444
  msgid "The settings are saved!"
445
  msgstr "設定は、保存されました!"
446
 
447
+ #: includes/core/permalink-manager-actions.php:367
448
  #, php-format
449
  msgid "%d Custom URIs and %d Custom Redirects were removed!"
450
  msgstr "%d カスタムURIと、%d カスタム リダイレクトは削除されました。"
451
 
452
+ #: includes/core/permalink-manager-actions.php:369
453
  msgid "No Custom URIs or Custom Redirects were removed!"
454
  msgstr "カスタムURIもしくはカスタム リダイレクトは、削除されませんでした!"
455
 
456
+ #: includes/core/permalink-manager-actions.php:381
457
  msgid "You are not allowed to remove Permalink Manager data!"
458
+ msgstr "Permalink Manager データを削除できません!"
459
 
460
+ #: includes/core/permalink-manager-actions.php:387
461
  msgid "Custom permalinks"
462
+ msgstr "カスタム パーマリンク"
463
 
464
+ #: includes/core/permalink-manager-actions.php:391
465
  msgid "Custom redirects"
466
+ msgstr "カスタム リダイレクト"
467
 
468
+ #: includes/core/permalink-manager-actions.php:395
469
  msgid "External redirects"
470
+ msgstr "外部のリダイレクト"
471
 
472
+ #: includes/core/permalink-manager-actions.php:414
473
  #, php-format
474
  msgid "%s were removed!"
475
+ msgstr "%s は削除されました!"
476
 
477
+ #: includes/core/permalink-manager-actions.php:555
478
  #, php-format
479
  msgid "URI \"%s\" was removed successfully!"
480
  msgstr "「%s」のURIは、無事削除されました!"
481
 
482
+ #: includes/core/permalink-manager-actions.php:563
483
  msgid "Broken redirects were removed successfully!"
484
  msgstr "リンク切れリダイレクトは、無事削除されました!"
485
 
486
+ #: includes/core/permalink-manager-actions.php:567
487
  msgid "URI and/or custom redirects does not exist or were already removed!"
488
  msgstr "URIもしくはカスタムリダイレクトは、実在しないか既に削除されています!"
489
 
490
+ #: includes/core/permalink-manager-actions.php:587
491
  msgid "The redirect was removed successfully!"
492
  msgstr "リダイレクトは、無事削除されました!"
493
 
494
+ #: includes/core/permalink-manager-actions.php:617
495
  msgid "URI is already in use, please select another one!"
496
  msgstr "URIは既に使用済みです。他をお選び下さい。"
497
 
498
+ #: includes/core/permalink-manager-actions.php:649
499
  msgid "Sitemaps were updated!"
500
  msgstr "サイトマップは、更新されました!"
501
 
502
  #: includes/views/permalink-manager-permastructs.php:15
503
  msgid "Permastructures"
504
+ msgstr "パーマ構造"
505
 
506
  #: includes/views/permalink-manager-permastructs.php:31
507
  #: includes/views/permalink-manager-tools.php:162
520
  msgstr "WooCommerce"
521
 
522
  #: includes/views/permalink-manager-permastructs.php:74
523
+ #: includes/views/permalink-manager-pro-addons.php:188
524
+ #: includes/views/permalink-manager-pro-addons.php:221
525
  msgid "Instructions"
526
  msgstr "手順"
527
 
533
  "posts and terms</strong>, please regenerate the custom permalinks <a "
534
  "href=\"%s\">here</a>."
535
  msgstr ""
536
+ "現在のパーマ構造の設定は、<strong>新規投稿とタームにのみ</strong>適用されます。<strong>"
537
+ "既存の投稿とタームに新規のパーマ構造</strong>を適用するには、<a href=\"%s\">コチラ</a>"
538
+ "にてカスタムパーマリンクを再生成して下さい。"
539
 
540
  #: includes/views/permalink-manager-permastructs.php:77
541
  msgid "Permastructure tags"
542
+ msgstr "パーマ構造 タグ"
543
 
544
  #: includes/views/permalink-manager-permastructs.php:78
545
  #, php-format
548
  "listed below. Please note that some of them can be used only for particular "
549
  "post types or taxonomies."
550
  msgstr ""
551
+ "以下は、全て使用可能な<a href=\"%s\" target=\"_blank\">パーマ構造 タグ</a>"
552
+ "です。いくつかのタグは、特定の投稿タイプやタクソノミーでのみ使用可能ですので、ご注意下さい。"
553
 
554
  #: includes/views/permalink-manager-permastructs.php:81
555
  msgid "Save permastructures"
556
+ msgstr "パーマ構造を保存する"
557
 
558
  #: includes/views/permalink-manager-uri-editor-post.php:55
559
  msgid "Post title"
592
  #: includes/views/permalink-manager-uri-editor-post.php:141
593
  #: includes/views/permalink-manager-uri-editor-tax.php:138
594
  msgid "Save all the URIs below"
595
+ msgstr "以下の全てのURIを保存する"
596
 
597
  #: includes/views/permalink-manager-uri-editor-post.php:142
598
  #: includes/views/permalink-manager-uri-editor-tax.php:139
599
  msgid "Save all the URIs above"
600
+ msgstr "上記の全てのURIを保存する"
601
 
602
  #: includes/views/permalink-manager-uri-editor-post.php:150
603
  #: includes/views/permalink-manager-uri-editor-tax.php:147
604
  msgid "Search"
605
+ msgstr "検索"
606
 
607
  #: includes/views/permalink-manager-uri-editor-post.php:166
608
  msgid "All dates"
625
  msgstr "ライセンスキー"
626
 
627
  #: includes/views/permalink-manager-pro-addons.php:133
 
 
 
 
 
 
628
  msgid "Check the expiration date."
629
+ msgstr "有効期限を確認する"
630
 
631
+ #: includes/views/permalink-manager-pro-addons.php:157
632
  msgid "-- Use predefined words list --"
633
  msgstr "-- 定義済みの単語リストを使用する --"
634
 
635
+ #: includes/views/permalink-manager-pro-addons.php:160
636
  msgid "Remove all words"
637
  msgstr "全ての単語を削除する"
638
 
639
+ #: includes/views/permalink-manager-pro-addons.php:162
640
  msgid "Add the words from the list"
641
  msgstr "リストから単語を追加する"
642
 
643
+ #: includes/views/permalink-manager-pro-addons.php:170
644
  msgid "Enable \"stop words\""
645
  msgstr "「使用禁止の単語」を有効にする"
646
 
647
+ #: includes/views/permalink-manager-pro-addons.php:176
648
  msgid "\"Stop words\" list"
649
  msgstr "「使用禁止の単語」リスト"
650
 
651
+ #: includes/views/permalink-manager-pro-addons.php:180
652
+ msgid "Type comma to separate the words."
653
+ msgstr "単語の区切りにカンマを入力下さい。"
654
 
655
+ #: includes/views/permalink-manager-pro-addons.php:189
656
  msgid ""
657
  "If enabled, all selected \"stop words\" will be automatically removed from "
658
  "default URIs."
659
  msgstr "有効にすると、選択された全ての「使用禁止の単語」はデフォルトのURIから、自動的に削除されます。"
660
 
661
+ #: includes/views/permalink-manager-pro-addons.php:190
662
  msgid ""
663
  "Each of the words can be removed and any new words can be added to the list. "
664
  "You can also use a predefined list (available in 21 languages)."
665
  msgstr "各単語は、リストへ追加/削除できます。また、定義済みのリスト(21の言語)も使用可能です。"
666
 
667
+ #: includes/views/permalink-manager-pro-addons.php:192
668
  msgid "Save"
669
  msgstr "保存する"
670
 
671
+ #: includes/views/permalink-manager-pro-addons.php:212
672
  #: includes/views/permalink-manager-tools.php:34
673
  msgid "Custom Permalinks"
674
  msgstr "カスタム パーマリンク"
675
 
676
+ #: includes/views/permalink-manager-pro-addons.php:213
677
  msgid "Deactivate after import"
678
  msgstr "インポート後、非アクティブにする"
679
 
680
+ #: includes/views/permalink-manager-pro-addons.php:216
681
  msgid ""
682
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
683
  "custom URIs are imported."
684
  msgstr "選択すると、カスタムURIのインポート後、「カスタムパーマリンク」プラグインが無効になります。"
685
 
686
+ #: includes/views/permalink-manager-pro-addons.php:222
687
  msgid ""
688
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
689
  "of this plugin."
690
  msgstr "「カスタム パーマリンク」(有効にしている場合)により、本プラグインの動作が損なわれる場合があります。"
691
 
692
+ #: includes/views/permalink-manager-pro-addons.php:223
693
  msgid ""
694
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
695
  "permalinks before using Permalink Manager Pro."
696
  msgstr ""
697
+ "したがって、「カスタム パーマリンク」を無効にして、Permalink Manager Proを使用する前の古いパーマリンクのインポートを推奨します。"
698
 
699
+ #: includes/views/permalink-manager-pro-addons.php:228
700
  #, php-format
701
  msgid "Import %d URIs"
702
  msgstr "%d URIをインポートする"
703
 
704
+ #: includes/views/permalink-manager-pro-addons.php:233
705
  msgid "No custom URIs to import"
706
  msgstr "インポートするカスタムURIはありません"
707
 
708
+ #: includes/views/permalink-manager-pro-addons.php:246
709
  msgid "Technical support"
710
  msgstr "技術的サポート"
711
 
712
+ #: includes/views/permalink-manager-pro-addons.php:247
713
  #, php-format
714
  msgid ""
715
  "To find the answers on frequently asked questions and information about how "
719
  "よくある質問と一般的な問題に対する対処方法についての情報は、 <a target=\"_blank\" href=\"%s\">コチラ</a>"
720
  "の<strong>Knowledge Base</strong> をご利用下さい。(英語のみ)"
721
 
722
+ #: includes/views/permalink-manager-pro-addons.php:248
723
  msgid ""
724
  "If you still did not find the answer to your question, please send us your "
725
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
728
  "ご質問に対して答えが見つからない場合は、問題の詳細又はご質問を<a href=\"mailto:support@permalinkmanager."
729
  "pro\">support@permalinkmanager.pro</a>までお送り下さい。(英語のみ)"
730
 
731
+ #: includes/views/permalink-manager-pro-addons.php:249
732
  msgid ""
733
  "To reduce the response time, please attach your licence key and if possible "
734
  "also: URL address of your website and screenshots explaining the issue."
735
  msgstr ""
736
  "ご返答までの時間を短縮するため、ライセンスキーを添付し、可能であればWebサイトのURLと問題箇所のスクリーンショットもお送り下さい。(英語のみ)"
737
 
738
+ #: includes/views/permalink-manager-pro-addons.php:251
739
  msgid "Suggestions/feedback"
740
  msgstr "ご意見 / フィードバック"
741
 
742
+ #: includes/views/permalink-manager-pro-addons.php:252
743
  msgid ""
744
  "If you would like to suggest a new functionality or leave us feedback, we "
745
  "are open to all new ideas and would be grateful for all your comments!"
746
  msgstr "新たな機能の提案やフィードバックをお送り下さい。あらゆる新しいアイデアは大歓迎であり、あなたのコメントをお送り頂ければ幸いです。"
747
 
748
+ #: includes/views/permalink-manager-pro-addons.php:253
749
  msgid ""
750
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
751
  "contact@permalinkmanager.pro</a>."
753
  "<a href=\"mailto:contact@permalinkmanager.pro\">contact@permalinkmanager."
754
  "pro</a>まで、ご意見をお送り下さい。"
755
 
756
+ #: includes/views/permalink-manager-pro-addons.php:268
757
  msgid "Extra redirects (aliases)"
758
  msgstr "追加のリダイレクト(エイリアス)"
759
 
760
+ #: includes/views/permalink-manager-pro-addons.php:269
761
  msgid ""
762
  "All URIs specified below will redirect the visitors to the custom URI "
763
  "defined above in \"Current URI\" field."
764
  msgstr "以下で指定された全てのURIは、訪問者を上記の「現在のURI」フィールドで定義されたカスタムURIにリダイレクトします。"
765
 
766
+ #: includes/views/permalink-manager-pro-addons.php:275
767
  msgid "sample/custom-uri"
768
  msgstr "sample/custom-uri"
769
 
770
+ #: includes/views/permalink-manager-pro-addons.php:292
771
  msgid "Add new redirect"
772
  msgstr "新しいリダイレクトを追加する"
773
 
774
+ #: includes/views/permalink-manager-pro-addons.php:297
775
  #, php-format
776
  msgid ""
777
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
780
  "<strong>URIのみご利用下さい!</strong><br />例えば、<code>%s/old-uri</code> "
781
  "のリダイレクトを設定する場合は、<code>old-uri</code> をお使い下さい。"
782
 
783
+ #: includes/views/permalink-manager-pro-addons.php:306
784
  msgid "Redirect this page to external URL"
785
  msgstr "このページを外部URLにリダイレクトする"
786
 
787
+ #: includes/views/permalink-manager-pro-addons.php:307
788
  msgid ""
789
  "If not empty, the visitors trying to access this page will be redirected to "
790
  "the URL specified below."
791
  msgstr "空白でない場合、このページにアクセスしようと試みた訪問者は、下記のURLにリダイレクトされます。"
792
 
793
+ #: includes/views/permalink-manager-pro-addons.php:311
794
  msgid "http://another-website.com/final-target-url"
795
  msgstr "http://another-website.com/final-target-url"
796
 
797
+ #: includes/views/permalink-manager-pro-addons.php:315
798
  msgid ""
799
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
800
  "//another-website.com/final-target-url</code>."
834
  msgid "Auto-update permalinks"
835
  msgstr "パーマリンクの自動更新"
836
 
837
+ #: includes/views/permalink-manager-settings.php:42
838
  msgid ""
839
+ "<strong>Permalink Manager can automatically update the custom permalink "
840
+ "after post or term is saved/updated.</strong>"
841
+ msgstr ""
842
+ "<strong>Permalink Managerは、投稿またはタームが保存・更新された後、カスタム "
843
+ "パーマリンクを自動的に更新できます。</strong>"
 
 
844
 
845
+ #: includes/views/permalink-manager-settings.php:43
 
846
  msgid ""
847
+ "If enabled, Permalink Manager will always force the default custom permalink "
848
+ "format (based on current <strong>Permastructure</strong> settings)."
 
849
  msgstr ""
850
+ "有効にすると、Permalink Managerは常にデフォルトのカスタム パーマリンク形式を強制します。(現在の<strong>"
851
+ "パーマ構造</strong>設定に基づく)"
852
 
853
+ #: includes/views/permalink-manager-settings.php:48
854
+ msgid "Slugs mode"
855
+ msgstr "スラッグ モード"
856
 
857
+ #: includes/views/permalink-manager-settings.php:50
858
+ msgid "Use native slugs"
859
+ msgstr "ネイティブ スラッグを使用する"
860
+
861
+ #: includes/views/permalink-manager-settings.php:50
862
+ msgid "Use actual titles as slugs"
863
+ msgstr "スラッグとして実際のタイトルを使用する"
864
+
865
+ #: includes/views/permalink-manager-settings.php:50
866
+ msgid "Inherit parents' slugs"
867
+ msgstr "親のスラッグを継承する"
868
+
869
+ #: includes/views/permalink-manager-settings.php:52
870
+ msgid ""
871
+ "<strong>Permalink Manager can use either native slugs or actual titles for "
872
+ "custom permalinks.</strong>"
873
+ msgstr ""
874
+ "<strong>Permalink Managerでは、カスタム パーマリンクにネイティブ スラッグまたは実際のタイトルを使用できます。</strong>"
875
 
876
  #: includes/views/permalink-manager-settings.php:53
877
+ msgid ""
878
+ "The native slug is generated from the initial title after the post or term "
879
+ "is published."
880
+ msgstr "ネイティブ スラッグは、投稿またはタームが公開された後、最初のタイトルから生成されます。"
881
 
882
  #: includes/views/permalink-manager-settings.php:54
883
  msgid ""
884
+ "Use this field if you would like Permalink Manager to use the actual titles "
885
+ "instead of native slugs."
886
+ msgstr "Permalink Managerで、ネイティブ スラッグの代わりに実際のタイトルを使用する場合は、このフィールドを使用します。"
 
 
 
887
 
888
  #: includes/views/permalink-manager-settings.php:59
889
+ msgid "Trailing slashes"
890
+ msgstr "末尾のスラッシュ"
891
 
892
+ #: includes/views/permalink-manager-settings.php:61
893
+ msgid "Use default settings"
894
+ msgstr "デフォルトの設定を使用する"
895
+
896
+ #: includes/views/permalink-manager-settings.php:61
897
+ msgid "Add trailing slashes"
898
+ msgstr "末尾のスラッシュを追加する"
899
 
900
+ #: includes/views/permalink-manager-settings.php:61
901
+ msgid "Remove trailing slashes"
902
+ msgstr "末尾のスラッシュを削除する"
903
+
904
+ #: includes/views/permalink-manager-settings.php:62
905
  msgid ""
906
+ "This option can be used to alter the native settings and control if trailing "
907
+ "slash should be added or removed from the end of posts & terms permalinks."
908
+ msgstr ""
909
+ "このオプションは、ネイティブの設定を変更し、末尾のスラッシュを投稿・タームのパーマリンクの末尾に、追加・削除するかを制御するために使用できます。"
910
 
911
+ #: includes/views/permalink-manager-settings.php:64
912
+ msgid ""
913
+ "<strong>You can use this feature to either add or remove the slases from end "
914
+ "of WordPress permalinks.</strong>"
915
+ msgstr "<strong>この機能で、WordPressパーマリンクの末尾にスラッシュを追加または削除できます。</strong>"
916
+
917
+ #: includes/views/permalink-manager-settings.php:65
918
+ msgid ""
919
+ "Please use \"<a href=\"#sslwww_redirect\">Trailing slashes redirect</a>\" "
920
+ "field if you would like to force the settings with redirect."
921
  msgstr ""
922
+ "リダイレクトで設定を強制したい場合は、「<a href=\"#sslwww_redirect\">末尾のスラッシュリダイレクト</a>」 "
923
+ "フィールドをお使い下さい。"
924
+
925
+ #: includes/views/permalink-manager-settings.php:70
926
+ msgid "Canonical redirect"
927
+ msgstr "正規リダイレクト"
928
 
929
  #: includes/views/permalink-manager-settings.php:73
930
  msgid ""
931
+ "<strong>Canonical redirect allows WordPress to \"correct\" the requested URL "
932
+ "and redirect visitor to the canonical permalink.</strong>"
933
  msgstr ""
934
+ "<strong>"
935
+ "正規リダイレクトにより、WordPressは要求されたURLを「修正」し、訪問者を正規パーマリンクにリダイレクトできます。</strong>"
936
 
937
+ #: includes/views/permalink-manager-settings.php:74
938
+ msgid ""
939
+ "This feature will be also used to redirect (old) original permalinks to (new)"
940
+ " custom permalinks set with Permalink Manager."
941
  msgstr ""
942
+ "この機能は、(古い)オリジナルのパーマリンクをPermalink Managerで設定された(新しい)カスタム "
943
+ "パーマリンクにリダイレクトするために使用されます。"
944
+
945
+ #: includes/views/permalink-manager-settings.php:79
946
+ msgid "Old slug redirect"
947
+ msgstr "古いスラッグ リダイレクト"
948
 
949
+ #: includes/views/permalink-manager-settings.php:82
950
  msgid ""
951
+ "<strong>Old slug redirect is used by WordPress to provide a fallback for old "
952
+ "version of slugs after they are changed.</strong>"
953
  msgstr ""
954
+ "<strong>古いスラッグ "
955
+ "リダイレクトは、WordPressが古いバージョンのスラッグを変更した後の代替を提供するために使用されます。</strong>"
956
 
957
+ #: includes/views/permalink-manager-settings.php:83
958
+ msgid ""
959
+ "If enabled, the visitors trying to access the URL with the old slug will be "
960
+ "redirected to the canonical permalink."
961
+ msgstr "有効にすると、古いスラッグでURLにアクセスした訪問者を、正規パーマリンクにリダイレクトします。"
962
+
963
+ #: includes/views/permalink-manager-settings.php:89
964
+ msgid "Enhanced redirect"
965
+ msgstr "拡張 リダイレクト"
966
+
967
+ #: includes/views/permalink-manager-settings.php:95
968
  msgid "Redirect mode"
969
+ msgstr "リダイレクト モード"
970
 
971
+ #: includes/views/permalink-manager-settings.php:97
972
+ msgid "Disable (Permalink Manager redirect functions)"
973
+ msgstr "無効(Permalink Manager リダイレクト 機能)"
974
 
975
+ #: includes/views/permalink-manager-settings.php:97
976
+ msgid "301 redirect"
977
+ msgstr "301 リダイレクト"
978
 
979
+ #: includes/views/permalink-manager-settings.php:97
980
+ msgid "302 redirect"
981
+ msgstr "302 リダイレクト"
982
 
983
+ #: includes/views/permalink-manager-settings.php:99
984
  msgid ""
985
+ "<strong>Permalink Manager includes a set of hooks that allow to extend the "
986
+ "redirect functions used natively by WordPress to avoid 404 errors.</strong>"
987
  msgstr ""
988
+ "<strong>Permalink "
989
+ "Managerには、404エラー回避のためにWordPressが従来使用するリダイレクト機能を拡張できる一連のフックが含まれています。</strong>"
990
 
991
+ #: includes/views/permalink-manager-settings.php:100
992
+ msgid ""
993
+ "You can disable this feature if you do not want Permalink Manager to trigger "
994
+ "any additional redirect functions at all."
995
+ msgstr "Permalink Managerに、追加のリダイレクト機能を一切トリガーさせないようにする場合は、この機能を無効にします。"
996
 
997
+ #: includes/views/permalink-manager-settings.php:105
998
+ msgid "Old custom permalinks redirect"
999
+ msgstr "古いカスタム パーマリンク リダイレクト"
1000
 
1001
+ #: includes/views/permalink-manager-settings.php:110
1002
+ msgid ""
1003
+ "<strong>Permalink Manager can automatically set-up extra redirects after the "
1004
+ "custom permalink is changed.</strong>"
1005
+ msgstr ""
1006
+ "<strong>Permalink Managerは、カスタム パーマリンクの変更後、自動的に追加のリダイレクトを設定できます。</strong>"
1007
 
1008
+ #: includes/views/permalink-manager-settings.php:111
1009
+ msgid ""
1010
+ "If enabled, Permalink Manage will add redirect for earlier version of custom "
1011
+ "permalink after you change it (eg. with URI Editor or Regenerate/reset tool)."
1012
+ msgstr ""
1013
+ "有効にすると、Permalink Managerは、変更後(例:URIエディターまたは再生成・リセットツールを使用)に、以前のバージョンのカスタム "
1014
+ "パーマリンクのリダイレクトを追加します。"
1015
 
1016
+ #: includes/views/permalink-manager-settings.php:112
1017
+ msgid ""
1018
+ "You can disable this feature if you use another plugin for redirects, eg. "
1019
+ "Yoast SEO Premium or Redirection."
1020
+ msgstr "Yoast SEO プレミアムやその他のリダイレクトプラグインを使用している場合は、この機能を無効にできます。"
1021
 
1022
+ #: includes/views/permalink-manager-settings.php:117
1023
+ msgid "Force HTTPS/WWW"
1024
+ msgstr "HTTPS/WWW 強制"
1025
 
1026
+ #: includes/views/permalink-manager-settings.php:120
1027
  msgid ""
1028
+ "<strong>You can use Permalink Manager to force SSL or \"www\" prefix in "
1029
+ "WordPress permalinks.</strong>"
1030
  msgstr ""
1031
+ "<strong>Permalink "
1032
+ "Managerを使って、WordPressのパーマリンク内にSSLもしくはwwwの接頭辞を強制的に付与できます。</strong>"
1033
 
1034
+ #: includes/views/permalink-manager-settings.php:121
1035
+ msgid "Please disable it if you encounter any redirect loop issues."
1036
+ msgstr "リダイレクトのループ問題が発生した場合は、このオプションを無効にして下さい。"
1037
+
1038
+ #: includes/views/permalink-manager-settings.php:126
1039
+ msgid "Trailing slashes redirect"
1040
+ msgstr "末尾のスラッシュリダイレクト"
1041
 
1042
+ #: includes/views/permalink-manager-settings.php:129
1043
  msgid ""
1044
+ "<strong>Permalink Manager can force the trailing slashes settings in the "
1045
+ "custom permalinks with redirect.</strong>"
1046
  msgstr ""
1047
+ "<strong>Permalink Managerは、リダイレクトのあるカスタム パーマリンクの末尾のスラッシュ設定を強制できます。</strong>"
1048
 
1049
+ #: includes/views/permalink-manager-settings.php:135
1050
  msgid "Third party plugins"
1051
+ msgstr "サードパーティー プラグイン"
1052
 
1053
+ #: includes/views/permalink-manager-settings.php:141
1054
+ msgid "WPML/Polylang language mismatch"
1055
+ msgstr "WPML / Polylang 言語 不一致"
1056
 
1057
+ #: includes/views/permalink-manager-settings.php:143
1058
  msgid ""
1059
  "If enabled, the plugin will load the adjacent translation of post when the "
1060
  "custom permalink is detected, but the language code in the URL does not "
1062
  msgstr ""
1063
  "有効にすると、本プラグインはカスタムパーマリンクを検出した際、投稿に用いた言語に近い翻訳を読み込みますが、投稿やタームに割当られた言語コードとURL内言語コードと一致しない場合は読み込みません。"
1064
 
1065
+ #: includes/views/permalink-manager-settings.php:147
1066
+ msgid "WP All Import support"
1067
+ msgstr "WP All Import サポート"
1068
 
1069
+ #: includes/views/permalink-manager-settings.php:149
1070
  msgid ""
1071
+ "If checked, the custom permalinks will not be saved for the posts imported "
1072
+ "with Wp All Import plugin."
1073
+ msgstr "オンにすると、WP All Importプラグインでインポートされた投稿に対してカスタム パーマリンクは保存されません。"
1074
 
1075
+ #: includes/views/permalink-manager-settings.php:153
1076
+ msgid "Breadcrumbs support"
1077
+ msgstr "パンくずリスト サポート"
1078
 
1079
+ #: includes/views/permalink-manager-settings.php:155
1080
  msgid ""
1081
  "If checked, the HTML breadcrumbs will be filtered by Permalink Manager to "
1082
+ "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
1083
+ "SEO, RankMath and SEOPress</strong> breadcrumbs."
1084
  msgstr ""
1085
+ "オンにすると、HTMLパンくずリストがPermalink Managerによってフィルタリングされ、現在のURL構造を模倣します。<br />"
1086
+ "連携:<strong> WooCommerce、Yoast SEO、RankMath、SEOPress </strong>パンくずリスト"
1087
 
1088
+ #: includes/views/permalink-manager-settings.php:159
1089
+ msgid "Excluded content types"
1090
+ msgstr "除外する投稿タイプ"
1091
 
1092
+ #: includes/views/permalink-manager-settings.php:161
1093
  msgid ""
1094
  "Permalink Manager will ignore and not filter the custom permalinks of all "
1095
  "selected above post types & taxonomies."
1096
+ msgstr "Permalink Managerは、上記で選択した全ての投稿タイプとタクソノミーのカスタム パーマリンクを無視し、フィルタリングしません。"
1097
 
1098
+ #: includes/views/permalink-manager-settings.php:166
1099
  msgid "Advanced settings"
1100
  msgstr "詳細設定"
1101
 
1102
+ #: includes/views/permalink-manager-settings.php:172
1103
  msgid "Show \"Native slug\" field"
1104
+ msgstr "「ネイティブ スラッグ」フィールドを表示する"
1105
 
1106
+ #: includes/views/permalink-manager-settings.php:174
1107
  msgid ""
1108
  "If enabled, it would be possible to edit the native slug via URI Editor on "
1109
  "single post/term edit page."
1110
+ msgstr "有効にすると、それぞれの投稿やタームの編集ページ上で、URIエディター経由にてネイティブ スラッグを編集できます。"
1111
 
1112
+ #: includes/views/permalink-manager-settings.php:178
1113
  msgid "Force 404 on non-existing pagination pages"
1114
+ msgstr "実在しないページネーションのページに404を強制表示する"
1115
 
1116
+ #: includes/views/permalink-manager-settings.php:180
1117
  msgid ""
1118
  "If enabled, the non-existing pagination pages (for single posts) will return "
1119
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
1120
  "any problems with pagination pages or use custom pagination system.</strong>"
1121
  msgstr ""
1122
+ "有効にすると、実在しないページネーションのページ(単一投稿用)に対して、404( \"Not Found\")エラーを返します。<br />"
1123
+ "<strong>ページネーションのページ、もしくは独自のページネーション "
1124
+ "システムをご利用で、なんらかの問題が生じた場合は、無効にしてください。</strong>"
1125
 
1126
+ #: includes/views/permalink-manager-settings.php:184
1127
  msgid "Strip special characters"
1128
+ msgstr "特殊文字を取り除く"
1129
 
1130
+ #: includes/views/permalink-manager-settings.php:186
1131
+ #: includes/views/permalink-manager-settings.php:193
1132
  msgid "Yes, use native settings"
1133
+ msgstr "はい、ネイティブ 設定を使います。"
1134
 
1135
+ #: includes/views/permalink-manager-settings.php:186
1136
  msgid "No, keep special characters (.,|_+) in the slugs"
1137
+ msgstr "いいえ、スラッグに特殊文字(.,|_+)を保持します。"
1138
 
1139
+ #: includes/views/permalink-manager-settings.php:187
1140
  msgid ""
1141
  "If enabled only alphanumeric characters, underscores and dashes will be "
1142
  "allowed for post/term slugs."
1143
+ msgstr "英数字のみを有効にすると、投稿とターム スラッグにて下線とダッシュの使用が許可されます。"
1144
 
1145
+ #: includes/views/permalink-manager-settings.php:191
1146
  msgid "Convert accented letters"
1147
+ msgstr "アクセント付き文字の変換"
1148
 
1149
+ #: includes/views/permalink-manager-settings.php:193
1150
  msgid "No, keep accented letters in the slugs"
1151
+ msgstr "いいえ、スラッグにアクセント付き文字を保持します。"
1152
 
1153
+ #: includes/views/permalink-manager-settings.php:194
1154
  msgid ""
1155
  "If enabled, all the accented letters will be replaced with their non-"
1156
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1157
  msgstr ""
1158
+ "有効にすると、全てのアクセント付きの文字が、アクセントなしの文字に置換されます。(例:Å => A, Æ => AE, Ø => O, Ć => C)"
1159
 
1160
+ #: includes/views/permalink-manager-settings.php:198
1161
  msgid "URI Editor role capability"
1162
+ msgstr "URIエディター 種類と権限"
1163
 
1164
+ #: includes/views/permalink-manager-settings.php:199
1165
  msgid "Administrator (edit_theme_options)"
1166
+ msgstr "管理者 (edit_theme_options)"
1167
 
1168
+ #: includes/views/permalink-manager-settings.php:199
1169
  msgid "Editor (publish_pages)"
1170
+ msgstr "編集者 (publish_pages)"
1171
 
1172
+ #: includes/views/permalink-manager-settings.php:199
1173
  msgid "Author (publish_posts)"
1174
+ msgstr "投稿者 (publish_posts)"
1175
 
1176
+ #: includes/views/permalink-manager-settings.php:199
1177
  msgid "Contributor (edit_posts)"
1178
+ msgstr "寄稿者 (edit_posts)"
1179
 
1180
+ #: includes/views/permalink-manager-settings.php:200
1181
  #, php-format
1182
  msgid ""
1183
  "Only the users who have selected capability will be able to access URI "
1184
  "Editor.<br />The list of capabilities <a href=\"%s\" target=\"_blank\">can "
1185
  "be found here</a>."
1186
  msgstr ""
1187
+ "権限を持つユーザーのみがURIエディターにアクセスできます。<br />権限のリストは<a href=\"%s\" target=\"_blank\">"
1188
+ "コチラ</a>で確認できます。"
1189
+
1190
+ #: includes/views/permalink-manager-settings.php:204
1191
+ msgid "Automatically fix broken URIs"
1192
+ msgstr "壊れたURIを自動的に修正する"
1193
+
1194
+ #: includes/views/permalink-manager-settings.php:206
1195
+ msgid "Disable"
1196
+ msgstr "無効"
1197
 
1198
+ #: includes/views/permalink-manager-settings.php:206
1199
+ msgid "Fix URIs individually (during page load)"
1200
+ msgstr "個々にURLを修正する(ページ読込時)"
1201
+
1202
+ #: includes/views/permalink-manager-settings.php:206
1203
+ msgid "Bulk fix all URIs (once a day, in the background)"
1204
+ msgstr "全てのURIを一括修正する(1日1回、バックグラウンド)"
1205
+
1206
+ #: includes/views/permalink-manager-settings.php:208
1207
+ msgid ""
1208
+ "Enable this option if you would like to automatically remove redundant "
1209
+ "permalinks & duplicated redirects."
1210
+ msgstr "冗長なパーマリンクと重複したリダイレクトを自動的に削除したい場合は、このオプションを有効にします。"
1211
+
1212
+ #: includes/views/permalink-manager-settings.php:215
1213
  msgid "Save settings"
1214
  msgstr "設定を保存する"
1215
 
1246
 
1247
  #: includes/views/permalink-manager-tools.php:55
1248
  msgid "Fix custom permalinks & redirects"
1249
+ msgstr "カスタム パーマリンク&リダイレクトを修正する"
1250
 
1251
  #: includes/views/permalink-manager-tools.php:70
1252
  msgid "Extra Redirect"
1275
 
1276
  #: includes/views/permalink-manager-tools.php:120
1277
  msgid "Congratulations! No duplicated URIs or Redirects found!"
1278
+ msgstr "おめでとうございます!重複したURI・リダイレクトは、見つかりませんでした!"
1279
 
1280
  #: includes/views/permalink-manager-tools.php:134
1281
  msgid "Find ..."
1342
 
1343
  #: includes/views/permalink-manager-tools.php:226
1344
  msgid "Regenerate custom permalinks"
1345
+ msgstr "カスタム パーマリンクを再生成する"
1346
 
1347
  #: includes/views/permalink-manager-tools.php:227
1348
  msgid "Regenerate native slugs"
1349
+ msgstr "ネイティブ スラッグを再生成する"
1350
 
1351
  #: includes/views/permalink-manager-tools.php:228
1352
  msgid "Use original URLs as custom permalinks"
1353
+ msgstr "カスタム パーマリンクをオリジナルのURLとして使用する"
1354
 
1355
  #: includes/views/permalink-manager-tools.php:286
1356
  msgid "Regenerate"
1370
 
1371
  #: includes/views/permalink-manager-debug.php:35
1372
  msgid "Remove all custom permalinks"
1373
+ msgstr "全てのカスタム パーマリンクを削除する"
1374
 
1375
  #: includes/views/permalink-manager-debug.php:37
1376
  msgid "Array with URIs"
1377
+ msgstr "URIでの配列"
1378
 
1379
  #: includes/views/permalink-manager-debug.php:44
1380
  msgid "List of custom redirects set-up by this plugin."
1382
 
1383
  #: includes/views/permalink-manager-debug.php:46
1384
  msgid "Remove all custom redirects"
1385
+ msgstr "全てのカスタム リダイレクトを削除する"
1386
 
1387
  #: includes/views/permalink-manager-debug.php:48
1388
  msgid "Array with redirects"
1389
+ msgstr "リダイレクトでの配列"
1390
 
1391
  #: includes/views/permalink-manager-debug.php:55
1392
  msgid "List of external redirects set-up by this plugin."
1393
+ msgstr "本プラグインにてセットアップされた外部リダイレクトのリスト"
1394
 
1395
  #: includes/views/permalink-manager-debug.php:56
1396
  msgid "Remove all external redirects"
1397
+ msgstr "全ての外部リダイレクトを削除する"
1398
 
1399
  #: includes/views/permalink-manager-debug.php:58
1400
  msgid "Array with external redirects"
1401
+ msgstr "外部リダイレクトでの配列"
1402
 
1403
  #: includes/views/permalink-manager-debug.php:65
1404
  msgid "List of permastructures set-up by this plugin."
1405
+ msgstr "本プラグインにてセットアップしたパーマ構造のリスト"
1406
 
1407
  #: includes/views/permalink-manager-debug.php:67
1408
  msgid "Remove all permastructures settings"
1409
+ msgstr "全てのパーマ構造 設定を削除する"
1410
 
1411
  #: includes/views/permalink-manager-debug.php:69
1412
  msgid "Array with permastructures"
1413
+ msgstr "パーマ構造での配列"
1414
 
1415
  #: includes/views/permalink-manager-debug.php:76
1416
  msgid "List of plugin settings."
1417
+ msgstr "プラグイン設定 リスト"
1418
 
1419
  #: includes/views/permalink-manager-debug.php:78
1420
  msgid "Remove all plugin settings"
1421
+ msgstr "全てのプラグイン設定を削除する"
1422
 
1423
  #: includes/views/permalink-manager-debug.php:80
1424
  msgid "Array with settings used in this plugin."
1425
+ msgstr "本プラグイン内で使用中の設定での配列"
1426
 
1427
  #. Name of the plugin
1428
  msgid "Permalink Manager Pro"
1429
+ msgstr "Permalink Manager Pro"
1430
 
1431
  #. Description of the plugin
1432
  msgid ""
1433
  "Advanced plugin that allows to set-up custom permalinks (bulk editors "
1434
  "included), slugs and permastructures (WooCommerce compatible)."
1435
+ msgstr "有償版では、スラッグやパーマ構造(WooCommerceとの互換性あり)、カスタム パーマリンク(一括編集も含む)の設定が可能です。"
1436
 
1437
  #. URI of the plugin
1438
  msgid "https://permalinkmanager.pro?utm_source=plugin"
languages/permalink-manager.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: PACKAGE VERSION\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2020-02-26 17:23+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -14,7 +14,7 @@ msgstr ""
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/"
16
 
17
- #: permalink-manager.php:205
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
@@ -23,16 +23,16 @@ msgid ""
23
  "and save %s using \"%s\" coupon code!</strong> Valid until %s!"
24
  msgstr ""
25
 
26
- #: includes/core/permalink-manager-third-parties.php:619
27
  msgid "\"Custom Permalinks\" URIs were imported!"
28
  msgstr ""
29
 
30
- #: includes/core/permalink-manager-third-parties.php:622
31
  msgid "No \"Custom Permalinks\" URIs were imported!"
32
  msgstr ""
33
 
34
  #. Name of the plugin
35
- #: includes/core/permalink-manager-third-parties.php:894
36
  #: includes/core/permalink-manager-gutenberg.php:14
37
  #: includes/core/permalink-manager-admin-functions.php:110
38
  #: includes/core/permalink-manager-admin-functions.php:110
@@ -43,27 +43,27 @@ msgstr ""
43
  msgid "Permalink Manager"
44
  msgstr ""
45
 
46
- #: includes/core/permalink-manager-third-parties.php:898
47
- #: includes/core/permalink-manager-uri-functions-tax.php:474
48
  #: includes/views/permalink-manager-tools.php:70
49
  msgid "Custom URI"
50
  msgstr ""
51
 
52
- #: includes/core/permalink-manager-third-parties.php:899
53
  #, php-format
54
  msgid ""
55
  "If empty, a default permalink based on your current <a href=\"%s\" "
56
  "target=\"_blank\">permastructure settings</a> will be used."
57
  msgstr ""
58
 
59
- #: includes/core/permalink-manager-uri-functions-tax.php:475
60
  msgid "Clear/leave the field empty to use the default permalink."
61
  msgstr ""
62
 
63
- #: includes/core/permalink-manager-uri-functions-tax.php:507
64
  #: includes/core/permalink-manager-admin-functions.php:719
65
  #: includes/core/permalink-manager-admin-functions.php:819
66
- #: includes/core/permalink-manager-uri-functions-post.php:661
67
  msgid "Current URI"
68
  msgstr ""
69
 
@@ -281,25 +281,25 @@ msgid ""
281
  "Permalink Manager Pro</a>."
282
  msgstr ""
283
 
284
- #: includes/core/permalink-manager-pro-functions.php:123
285
- #: includes/core/permalink-manager-pro-functions.php:149
286
  #, php-format
287
  msgid ""
288
  "Please paste the licence key to access all Permalink Manager Pro updates & "
289
  "features <a href=\"%s\" target=\"_blank\">on this page</a>."
290
  msgstr ""
291
 
292
- #: includes/core/permalink-manager-pro-functions.php:128
293
  msgid ""
294
  "Expiration date could not be downloaded at this moment. Please try again in "
295
  "a few minutes."
296
  msgstr ""
297
 
298
- #: includes/core/permalink-manager-pro-functions.php:133
299
  msgid "Your Permalink Manager Pro licence key is invalid!"
300
  msgstr ""
301
 
302
- #: includes/core/permalink-manager-pro-functions.php:138
303
  #, php-format
304
  msgid ""
305
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
@@ -307,116 +307,116 @@ msgid ""
307
  "this page</a>."
308
  msgstr ""
309
 
310
- #: includes/core/permalink-manager-pro-functions.php:143
311
  msgid "You own a lifetime licence key."
312
  msgstr ""
313
 
314
- #: includes/core/permalink-manager-pro-functions.php:146
315
  #, php-format
316
  msgid ""
317
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
318
  "href=\"%s\" target=\"_blank\">this page</a> for more information."
319
  msgstr ""
320
 
321
- #: includes/core/permalink-manager-pro-functions.php:171
322
  msgid "Arabic"
323
  msgstr ""
324
 
325
- #: includes/core/permalink-manager-pro-functions.php:172
326
  msgid "Chinese"
327
  msgstr ""
328
 
329
- #: includes/core/permalink-manager-pro-functions.php:173
330
  msgid "Danish"
331
  msgstr ""
332
 
333
- #: includes/core/permalink-manager-pro-functions.php:174
334
  msgid "Dutch"
335
  msgstr ""
336
 
337
- #: includes/core/permalink-manager-pro-functions.php:175
338
  msgid "English"
339
  msgstr ""
340
 
341
- #: includes/core/permalink-manager-pro-functions.php:176
342
  msgid "Finnish"
343
  msgstr ""
344
 
345
- #: includes/core/permalink-manager-pro-functions.php:177
346
  msgid "French"
347
  msgstr ""
348
 
349
- #: includes/core/permalink-manager-pro-functions.php:178
350
  msgid "German"
351
  msgstr ""
352
 
353
- #: includes/core/permalink-manager-pro-functions.php:179
354
  msgid "Hebrew"
355
  msgstr ""
356
 
357
- #: includes/core/permalink-manager-pro-functions.php:180
358
  msgid "Hindi"
359
  msgstr ""
360
 
361
- #: includes/core/permalink-manager-pro-functions.php:181
362
  msgid "Italian"
363
  msgstr ""
364
 
365
- #: includes/core/permalink-manager-pro-functions.php:182
366
  msgid "Japanese"
367
  msgstr ""
368
 
369
- #: includes/core/permalink-manager-pro-functions.php:183
370
  msgid "Korean"
371
  msgstr ""
372
 
373
- #: includes/core/permalink-manager-pro-functions.php:184
374
  msgid "Norwegian"
375
  msgstr ""
376
 
377
- #: includes/core/permalink-manager-pro-functions.php:185
378
  msgid "Persian"
379
  msgstr ""
380
 
381
- #: includes/core/permalink-manager-pro-functions.php:186
382
  msgid "Polish"
383
  msgstr ""
384
 
385
- #: includes/core/permalink-manager-pro-functions.php:187
386
  msgid "Portuguese"
387
  msgstr ""
388
 
389
- #: includes/core/permalink-manager-pro-functions.php:188
390
  msgid "Russian"
391
  msgstr ""
392
 
393
- #: includes/core/permalink-manager-pro-functions.php:189
394
  msgid "Spanish"
395
  msgstr ""
396
 
397
- #: includes/core/permalink-manager-pro-functions.php:190
398
  msgid "Swedish"
399
  msgstr ""
400
 
401
- #: includes/core/permalink-manager-pro-functions.php:191
402
  msgid "Turkish"
403
  msgstr ""
404
 
405
- #: includes/core/permalink-manager-pro-functions.php:473
406
  msgid "Coupon Link"
407
  msgstr ""
408
 
409
- #: includes/core/permalink-manager-pro-functions.php:494
410
  msgid "Coupon URI"
411
  msgstr ""
412
 
413
- #: includes/core/permalink-manager-pro-functions.php:495
414
  msgid ""
415
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
416
  "blackfriday</strong> are equivalent."
417
  msgstr ""
418
 
419
- #: includes/core/permalink-manager-pro-functions.php:506
420
  msgid "Coupon Full URL"
421
  msgstr ""
422
 
@@ -500,8 +500,8 @@ msgid "WooCommerce"
500
  msgstr ""
501
 
502
  #: includes/views/permalink-manager-permastructs.php:74
503
- #: includes/views/permalink-manager-pro-addons.php:189
504
- #: includes/views/permalink-manager-pro-addons.php:222
505
  msgid "Instructions"
506
  msgstr ""
507
 
@@ -600,96 +600,90 @@ msgid "Licence key"
600
  msgstr ""
601
 
602
  #: includes/views/permalink-manager-pro-addons.php:133
603
- msgid ""
604
- "The licence key allows you to access all the plugin updates & priority "
605
- "support."
606
- msgstr ""
607
-
608
- #: includes/views/permalink-manager-pro-addons.php:134
609
  msgid "Check the expiration date."
610
  msgstr ""
611
 
612
- #: includes/views/permalink-manager-pro-addons.php:158
613
  msgid "-- Use predefined words list --"
614
  msgstr ""
615
 
616
- #: includes/views/permalink-manager-pro-addons.php:161
617
  msgid "Remove all words"
618
  msgstr ""
619
 
620
- #: includes/views/permalink-manager-pro-addons.php:163
621
  msgid "Add the words from the list"
622
  msgstr ""
623
 
624
- #: includes/views/permalink-manager-pro-addons.php:171
625
  msgid "Enable \"stop words\""
626
  msgstr ""
627
 
628
- #: includes/views/permalink-manager-pro-addons.php:177
629
  msgid "\"Stop words\" list"
630
  msgstr ""
631
 
632
- #: includes/views/permalink-manager-pro-addons.php:181
633
  msgid "Type comma to separate the words."
634
  msgstr ""
635
 
636
- #: includes/views/permalink-manager-pro-addons.php:190
637
  msgid ""
638
  "If enabled, all selected \"stop words\" will be automatically removed from "
639
  "default URIs."
640
  msgstr ""
641
 
642
- #: includes/views/permalink-manager-pro-addons.php:191
643
  msgid ""
644
  "Each of the words can be removed and any new words can be added to the list. "
645
  "You can also use a predefined list (available in 21 languages)."
646
  msgstr ""
647
 
648
- #: includes/views/permalink-manager-pro-addons.php:193
649
  msgid "Save"
650
  msgstr ""
651
 
652
- #: includes/views/permalink-manager-pro-addons.php:213
653
  #: includes/views/permalink-manager-tools.php:34
654
  msgid "Custom Permalinks"
655
  msgstr ""
656
 
657
- #: includes/views/permalink-manager-pro-addons.php:214
658
  msgid "Deactivate after import"
659
  msgstr ""
660
 
661
- #: includes/views/permalink-manager-pro-addons.php:217
662
  msgid ""
663
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
664
  "custom URIs are imported."
665
  msgstr ""
666
 
667
- #: includes/views/permalink-manager-pro-addons.php:223
668
  msgid ""
669
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
670
  "of this plugin."
671
  msgstr ""
672
 
673
- #: includes/views/permalink-manager-pro-addons.php:224
674
  msgid ""
675
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
676
  "permalinks before using Permalink Manager Pro."
677
  msgstr ""
678
 
679
- #: includes/views/permalink-manager-pro-addons.php:229
680
  #, php-format
681
  msgid "Import %d URIs"
682
  msgstr ""
683
 
684
- #: includes/views/permalink-manager-pro-addons.php:234
685
  msgid "No custom URIs to import"
686
  msgstr ""
687
 
688
- #: includes/views/permalink-manager-pro-addons.php:247
689
  msgid "Technical support"
690
  msgstr ""
691
 
692
- #: includes/views/permalink-manager-pro-addons.php:248
693
  #, php-format
694
  msgid ""
695
  "To find the answers on frequently asked questions and information about how "
@@ -697,75 +691,75 @@ msgid ""
697
  "Base</strong> using <a target=\"_blank\" href=\"%s\">this link</a>."
698
  msgstr ""
699
 
700
- #: includes/views/permalink-manager-pro-addons.php:249
701
  msgid ""
702
  "If you still did not find the answer to your question, please send us your "
703
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
704
  "support@permalinkmanager.pro\">support@permalinkmanager.pro</a>."
705
  msgstr ""
706
 
707
- #: includes/views/permalink-manager-pro-addons.php:250
708
  msgid ""
709
  "To reduce the response time, please attach your licence key and if possible "
710
  "also: URL address of your website and screenshots explaining the issue."
711
  msgstr ""
712
 
713
- #: includes/views/permalink-manager-pro-addons.php:252
714
  msgid "Suggestions/feedback"
715
  msgstr ""
716
 
717
- #: includes/views/permalink-manager-pro-addons.php:253
718
  msgid ""
719
  "If you would like to suggest a new functionality or leave us feedback, we "
720
  "are open to all new ideas and would be grateful for all your comments!"
721
  msgstr ""
722
 
723
- #: includes/views/permalink-manager-pro-addons.php:254
724
  msgid ""
725
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
726
  "contact@permalinkmanager.pro</a>."
727
  msgstr ""
728
 
729
- #: includes/views/permalink-manager-pro-addons.php:269
730
  msgid "Extra redirects (aliases)"
731
  msgstr ""
732
 
733
- #: includes/views/permalink-manager-pro-addons.php:270
734
  msgid ""
735
  "All URIs specified below will redirect the visitors to the custom URI "
736
  "defined above in \"Current URI\" field."
737
  msgstr ""
738
 
739
- #: includes/views/permalink-manager-pro-addons.php:276
740
  msgid "sample/custom-uri"
741
  msgstr ""
742
 
743
- #: includes/views/permalink-manager-pro-addons.php:293
744
  msgid "Add new redirect"
745
  msgstr ""
746
 
747
- #: includes/views/permalink-manager-pro-addons.php:298
748
  #, php-format
749
  msgid ""
750
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
751
  "redirect for <code>%s/old-uri</code> please use <code>old-uri</code>."
752
  msgstr ""
753
 
754
- #: includes/views/permalink-manager-pro-addons.php:307
755
  msgid "Redirect this page to external URL"
756
  msgstr ""
757
 
758
- #: includes/views/permalink-manager-pro-addons.php:308
759
  msgid ""
760
  "If not empty, the visitors trying to access this page will be redirected to "
761
  "the URL specified below."
762
  msgstr ""
763
 
764
- #: includes/views/permalink-manager-pro-addons.php:312
765
  msgid "http://another-website.com/final-target-url"
766
  msgstr ""
767
 
768
- #: includes/views/permalink-manager-pro-addons.php:316
769
  msgid ""
770
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
771
  "//another-website.com/final-target-url</code>."
@@ -803,263 +797,321 @@ msgstr ""
803
  msgid "Auto-update permalinks"
804
  msgstr ""
805
 
806
- #: includes/views/permalink-manager-settings.php:41
807
  msgid ""
808
- "If enabled, the custom permalinks will be automatically updated every time "
809
- "the post is saved or updated."
810
  msgstr ""
811
 
812
- #: includes/views/permalink-manager-settings.php:45
813
- msgid "Automatically remove broken URIs"
 
 
814
  msgstr ""
815
 
816
- #: includes/views/permalink-manager-settings.php:47
817
- #, php-format
818
- msgid ""
819
- "If enabled, the custom URIs assigned to removed posts & terms will be "
820
- "automatically removed.<br />To manually remove the duplicates please go <a "
821
- "href=\"%s\">to this page</a>."
822
  msgstr ""
823
 
824
- #: includes/views/permalink-manager-settings.php:51
825
- msgid "Use actual post/term titles (Force custom slugs)"
826
  msgstr ""
827
 
828
- #: includes/views/permalink-manager-settings.php:53
829
- msgid "No, use native slugs"
 
 
 
 
 
 
 
 
 
 
830
  msgstr ""
831
 
832
  #: includes/views/permalink-manager-settings.php:53
833
- msgid "Yes, use post/term titles"
 
 
834
  msgstr ""
835
 
836
  #: includes/views/permalink-manager-settings.php:54
837
  msgid ""
838
- "If enabled, the slugs in the default custom permalinks will be recreated "
839
- "from the post titles.<br />This may cause permalinks duplicates when the "
840
- "post or term title is used more than once."
841
  msgstr ""
842
 
843
  #: includes/views/permalink-manager-settings.php:59
844
- msgid "SEO functions & redirects"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
845
  msgstr ""
846
 
847
  #: includes/views/permalink-manager-settings.php:65
 
 
 
 
 
 
848
  msgid "Canonical redirect"
849
  msgstr ""
850
 
851
- #: includes/views/permalink-manager-settings.php:67
852
  msgid ""
853
- "This function allows Wordpress to correct the URLs used by the visitors."
 
854
  msgstr ""
855
 
856
- #: includes/views/permalink-manager-settings.php:71
 
 
 
 
 
 
857
  msgid "Old slug redirect"
858
  msgstr ""
859
 
860
- #: includes/views/permalink-manager-settings.php:73
861
  msgid ""
862
- "If enabled, the visitors will be automatically redirected to canonical "
863
- "permalink if old post's slug was detected."
864
  msgstr ""
865
 
866
- #: includes/views/permalink-manager-settings.php:77
867
- msgid "Old custom permalinks redirect"
 
 
868
  msgstr ""
869
 
870
- #: includes/views/permalink-manager-settings.php:81
871
- msgid ""
872
- "If enabled, the redirects will be automatially created for old custom "
873
- "permalinks, after posts/terms URLs are changed."
874
  msgstr ""
875
 
876
- #: includes/views/permalink-manager-settings.php:85
877
  msgid "Redirect mode"
878
  msgstr ""
879
 
880
- #: includes/views/permalink-manager-settings.php:87
881
- msgid "Disable"
882
  msgstr ""
883
 
884
- #: includes/views/permalink-manager-settings.php:87
885
- msgid "Enable \"301 redirect\""
886
  msgstr ""
887
 
888
- #: includes/views/permalink-manager-settings.php:87
889
- msgid "Enable \"302 redirect\""
890
  msgstr ""
891
 
892
- #: includes/views/permalink-manager-settings.php:88
893
  msgid ""
894
- "If enabled, the visitors will be redirected from native permalinks to your "
895
- "custom permalinks."
896
  msgstr ""
897
 
898
- #: includes/views/permalink-manager-settings.php:92
899
- msgid "Trailing slashes"
 
 
900
  msgstr ""
901
 
902
- #: includes/views/permalink-manager-settings.php:94
903
- msgid "Use default settings"
904
  msgstr ""
905
 
906
- #: includes/views/permalink-manager-settings.php:94
907
- msgid "Add trailing slashes"
 
 
908
  msgstr ""
909
 
910
- #: includes/views/permalink-manager-settings.php:94
911
- msgid "Add trailing slashes (+ auto-redirect links without them)"
 
 
912
  msgstr ""
913
 
914
- #: includes/views/permalink-manager-settings.php:94
915
- msgid "Remove trailing slashes"
 
 
916
  msgstr ""
917
 
918
- #: includes/views/permalink-manager-settings.php:94
919
- msgid "Remove trailing slashes (+ auto-redirect links with them)"
920
  msgstr ""
921
 
922
- #: includes/views/permalink-manager-settings.php:95
923
  msgid ""
924
- "This option can be used to alter the native settings and control if trailing "
925
- "slash should be added or removed from the end of posts & terms permalinks."
926
  msgstr ""
927
 
928
- #: includes/views/permalink-manager-settings.php:99
929
- msgid "Force HTTPS/WWW in URLs"
930
  msgstr ""
931
 
932
- #: includes/views/permalink-manager-settings.php:101
 
 
 
 
933
  msgid ""
934
- "<strong>Please disable it, if you encounter any redirect loop issues."
935
- "</strong>"
936
  msgstr ""
937
 
938
- #: includes/views/permalink-manager-settings.php:106
939
  msgid "Third party plugins"
940
  msgstr ""
941
 
942
- #: includes/views/permalink-manager-settings.php:112
943
- msgid "Fix WPML/Polylang language mismatch"
944
  msgstr ""
945
 
946
- #: includes/views/permalink-manager-settings.php:114
947
  msgid ""
948
  "If enabled, the plugin will load the adjacent translation of post when the "
949
  "custom permalink is detected, but the language code in the URL does not "
950
  "match the language code assigned to the post/term."
951
  msgstr ""
952
 
953
- #: includes/views/permalink-manager-settings.php:118
954
- msgid "Disable support for WP All Import"
955
  msgstr ""
956
 
957
- #: includes/views/permalink-manager-settings.php:120
958
  msgid ""
959
- "If checked, the custom URIs will not be assigned to the posts imported by Wp "
960
- "All Import Pro plugin."
961
  msgstr ""
962
 
963
- #: includes/views/permalink-manager-settings.php:124
964
- msgid "Filter breadcrumbs"
965
  msgstr ""
966
 
967
- #: includes/views/permalink-manager-settings.php:126
968
  msgid ""
969
  "If checked, the HTML breadcrumbs will be filtered by Permalink Manager to "
970
- "mimic the current URL structure.<br />Works with: Yoast SEO, RankMath and "
971
- "SEOPress breadcrumbs."
972
  msgstr ""
973
 
974
- #: includes/views/permalink-manager-settings.php:130
975
- msgid "Exclude content types"
976
  msgstr ""
977
 
978
- #: includes/views/permalink-manager-settings.php:132
979
  msgid ""
980
  "Permalink Manager will ignore and not filter the custom permalinks of all "
981
  "selected above post types & taxonomies."
982
  msgstr ""
983
 
984
- #: includes/views/permalink-manager-settings.php:137
985
  msgid "Advanced settings"
986
  msgstr ""
987
 
988
- #: includes/views/permalink-manager-settings.php:143
989
  msgid "Show \"Native slug\" field"
990
  msgstr ""
991
 
992
- #: includes/views/permalink-manager-settings.php:145
993
  msgid ""
994
  "If enabled, it would be possible to edit the native slug via URI Editor on "
995
  "single post/term edit page."
996
  msgstr ""
997
 
998
- #: includes/views/permalink-manager-settings.php:149
999
  msgid "Force 404 on non-existing pagination pages"
1000
  msgstr ""
1001
 
1002
- #: includes/views/permalink-manager-settings.php:151
1003
  msgid ""
1004
  "If enabled, the non-existing pagination pages (for single posts) will return "
1005
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
1006
  "any problems with pagination pages or use custom pagination system.</strong>"
1007
  msgstr ""
1008
 
1009
- #: includes/views/permalink-manager-settings.php:155
1010
  msgid "Strip special characters"
1011
  msgstr ""
1012
 
1013
- #: includes/views/permalink-manager-settings.php:157
1014
- #: includes/views/permalink-manager-settings.php:164
1015
  msgid "Yes, use native settings"
1016
  msgstr ""
1017
 
1018
- #: includes/views/permalink-manager-settings.php:157
1019
  msgid "No, keep special characters (.,|_+) in the slugs"
1020
  msgstr ""
1021
 
1022
- #: includes/views/permalink-manager-settings.php:158
1023
  msgid ""
1024
  "If enabled only alphanumeric characters, underscores and dashes will be "
1025
  "allowed for post/term slugs."
1026
  msgstr ""
1027
 
1028
- #: includes/views/permalink-manager-settings.php:162
1029
  msgid "Convert accented letters"
1030
  msgstr ""
1031
 
1032
- #: includes/views/permalink-manager-settings.php:164
1033
  msgid "No, keep accented letters in the slugs"
1034
  msgstr ""
1035
 
1036
- #: includes/views/permalink-manager-settings.php:165
1037
  msgid ""
1038
  "If enabled, all the accented letters will be replaced with their non-"
1039
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1040
  msgstr ""
1041
 
1042
- #: includes/views/permalink-manager-settings.php:169
1043
  msgid "URI Editor role capability"
1044
  msgstr ""
1045
 
1046
- #: includes/views/permalink-manager-settings.php:170
1047
  msgid "Administrator (edit_theme_options)"
1048
  msgstr ""
1049
 
1050
- #: includes/views/permalink-manager-settings.php:170
1051
  msgid "Editor (publish_pages)"
1052
  msgstr ""
1053
 
1054
- #: includes/views/permalink-manager-settings.php:170
1055
  msgid "Author (publish_posts)"
1056
  msgstr ""
1057
 
1058
- #: includes/views/permalink-manager-settings.php:170
1059
  msgid "Contributor (edit_posts)"
1060
  msgstr ""
1061
 
1062
- #: includes/views/permalink-manager-settings.php:171
1063
  #, php-format
1064
  msgid ""
1065
  "Only the users who have selected capability will be able to access URI "
@@ -1067,7 +1119,29 @@ msgid ""
1067
  "be found here</a>."
1068
  msgstr ""
1069
 
1070
- #: includes/views/permalink-manager-settings.php:177
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1071
  msgid "Save settings"
1072
  msgstr ""
1073
 
3
  msgstr ""
4
  "Project-Id-Version: PACKAGE VERSION\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2020-04-24 12:22+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/"
16
 
17
+ #: permalink-manager.php:206
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
23
  "and save %s using \"%s\" coupon code!</strong> Valid until %s!"
24
  msgstr ""
25
 
26
+ #: includes/core/permalink-manager-third-parties.php:231
27
  msgid "\"Custom Permalinks\" URIs were imported!"
28
  msgstr ""
29
 
30
+ #: includes/core/permalink-manager-third-parties.php:234
31
  msgid "No \"Custom Permalinks\" URIs were imported!"
32
  msgstr ""
33
 
34
  #. Name of the plugin
35
+ #: includes/core/permalink-manager-third-parties.php:513
36
  #: includes/core/permalink-manager-gutenberg.php:14
37
  #: includes/core/permalink-manager-admin-functions.php:110
38
  #: includes/core/permalink-manager-admin-functions.php:110
43
  msgid "Permalink Manager"
44
  msgstr ""
45
 
46
+ #: includes/core/permalink-manager-third-parties.php:517
47
+ #: includes/core/permalink-manager-uri-functions-tax.php:476
48
  #: includes/views/permalink-manager-tools.php:70
49
  msgid "Custom URI"
50
  msgstr ""
51
 
52
+ #: includes/core/permalink-manager-third-parties.php:518
53
  #, php-format
54
  msgid ""
55
  "If empty, a default permalink based on your current <a href=\"%s\" "
56
  "target=\"_blank\">permastructure settings</a> will be used."
57
  msgstr ""
58
 
59
+ #: includes/core/permalink-manager-uri-functions-tax.php:477
60
  msgid "Clear/leave the field empty to use the default permalink."
61
  msgstr ""
62
 
63
+ #: includes/core/permalink-manager-uri-functions-tax.php:509
64
  #: includes/core/permalink-manager-admin-functions.php:719
65
  #: includes/core/permalink-manager-admin-functions.php:819
66
+ #: includes/core/permalink-manager-uri-functions-post.php:665
67
  msgid "Current URI"
68
  msgstr ""
69
 
281
  "Permalink Manager Pro</a>."
282
  msgstr ""
283
 
284
+ #: includes/core/permalink-manager-pro-functions.php:127
285
+ #: includes/core/permalink-manager-pro-functions.php:153
286
  #, php-format
287
  msgid ""
288
  "Please paste the licence key to access all Permalink Manager Pro updates & "
289
  "features <a href=\"%s\" target=\"_blank\">on this page</a>."
290
  msgstr ""
291
 
292
+ #: includes/core/permalink-manager-pro-functions.php:132
293
  msgid ""
294
  "Expiration date could not be downloaded at this moment. Please try again in "
295
  "a few minutes."
296
  msgstr ""
297
 
298
+ #: includes/core/permalink-manager-pro-functions.php:137
299
  msgid "Your Permalink Manager Pro licence key is invalid!"
300
  msgstr ""
301
 
302
+ #: includes/core/permalink-manager-pro-functions.php:142
303
  #, php-format
304
  msgid ""
305
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
307
  "this page</a>."
308
  msgstr ""
309
 
310
+ #: includes/core/permalink-manager-pro-functions.php:147
311
  msgid "You own a lifetime licence key."
312
  msgstr ""
313
 
314
+ #: includes/core/permalink-manager-pro-functions.php:150
315
  #, php-format
316
  msgid ""
317
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
318
  "href=\"%s\" target=\"_blank\">this page</a> for more information."
319
  msgstr ""
320
 
321
+ #: includes/core/permalink-manager-pro-functions.php:186
322
  msgid "Arabic"
323
  msgstr ""
324
 
325
+ #: includes/core/permalink-manager-pro-functions.php:187
326
  msgid "Chinese"
327
  msgstr ""
328
 
329
+ #: includes/core/permalink-manager-pro-functions.php:188
330
  msgid "Danish"
331
  msgstr ""
332
 
333
+ #: includes/core/permalink-manager-pro-functions.php:189
334
  msgid "Dutch"
335
  msgstr ""
336
 
337
+ #: includes/core/permalink-manager-pro-functions.php:190
338
  msgid "English"
339
  msgstr ""
340
 
341
+ #: includes/core/permalink-manager-pro-functions.php:191
342
  msgid "Finnish"
343
  msgstr ""
344
 
345
+ #: includes/core/permalink-manager-pro-functions.php:192
346
  msgid "French"
347
  msgstr ""
348
 
349
+ #: includes/core/permalink-manager-pro-functions.php:193
350
  msgid "German"
351
  msgstr ""
352
 
353
+ #: includes/core/permalink-manager-pro-functions.php:194
354
  msgid "Hebrew"
355
  msgstr ""
356
 
357
+ #: includes/core/permalink-manager-pro-functions.php:195
358
  msgid "Hindi"
359
  msgstr ""
360
 
361
+ #: includes/core/permalink-manager-pro-functions.php:196
362
  msgid "Italian"
363
  msgstr ""
364
 
365
+ #: includes/core/permalink-manager-pro-functions.php:197
366
  msgid "Japanese"
367
  msgstr ""
368
 
369
+ #: includes/core/permalink-manager-pro-functions.php:198
370
  msgid "Korean"
371
  msgstr ""
372
 
373
+ #: includes/core/permalink-manager-pro-functions.php:199
374
  msgid "Norwegian"
375
  msgstr ""
376
 
377
+ #: includes/core/permalink-manager-pro-functions.php:200
378
  msgid "Persian"
379
  msgstr ""
380
 
381
+ #: includes/core/permalink-manager-pro-functions.php:201
382
  msgid "Polish"
383
  msgstr ""
384
 
385
+ #: includes/core/permalink-manager-pro-functions.php:202
386
  msgid "Portuguese"
387
  msgstr ""
388
 
389
+ #: includes/core/permalink-manager-pro-functions.php:203
390
  msgid "Russian"
391
  msgstr ""
392
 
393
+ #: includes/core/permalink-manager-pro-functions.php:204
394
  msgid "Spanish"
395
  msgstr ""
396
 
397
+ #: includes/core/permalink-manager-pro-functions.php:205
398
  msgid "Swedish"
399
  msgstr ""
400
 
401
+ #: includes/core/permalink-manager-pro-functions.php:206
402
  msgid "Turkish"
403
  msgstr ""
404
 
405
+ #: includes/core/permalink-manager-pro-functions.php:488
406
  msgid "Coupon Link"
407
  msgstr ""
408
 
409
+ #: includes/core/permalink-manager-pro-functions.php:509
410
  msgid "Coupon URI"
411
  msgstr ""
412
 
413
+ #: includes/core/permalink-manager-pro-functions.php:510
414
  msgid ""
415
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
416
  "blackfriday</strong> are equivalent."
417
  msgstr ""
418
 
419
+ #: includes/core/permalink-manager-pro-functions.php:521
420
  msgid "Coupon Full URL"
421
  msgstr ""
422
 
500
  msgstr ""
501
 
502
  #: includes/views/permalink-manager-permastructs.php:74
503
+ #: includes/views/permalink-manager-pro-addons.php:188
504
+ #: includes/views/permalink-manager-pro-addons.php:221
505
  msgid "Instructions"
506
  msgstr ""
507
 
600
  msgstr ""
601
 
602
  #: includes/views/permalink-manager-pro-addons.php:133
 
 
 
 
 
 
603
  msgid "Check the expiration date."
604
  msgstr ""
605
 
606
+ #: includes/views/permalink-manager-pro-addons.php:157
607
  msgid "-- Use predefined words list --"
608
  msgstr ""
609
 
610
+ #: includes/views/permalink-manager-pro-addons.php:160
611
  msgid "Remove all words"
612
  msgstr ""
613
 
614
+ #: includes/views/permalink-manager-pro-addons.php:162
615
  msgid "Add the words from the list"
616
  msgstr ""
617
 
618
+ #: includes/views/permalink-manager-pro-addons.php:170
619
  msgid "Enable \"stop words\""
620
  msgstr ""
621
 
622
+ #: includes/views/permalink-manager-pro-addons.php:176
623
  msgid "\"Stop words\" list"
624
  msgstr ""
625
 
626
+ #: includes/views/permalink-manager-pro-addons.php:180
627
  msgid "Type comma to separate the words."
628
  msgstr ""
629
 
630
+ #: includes/views/permalink-manager-pro-addons.php:189
631
  msgid ""
632
  "If enabled, all selected \"stop words\" will be automatically removed from "
633
  "default URIs."
634
  msgstr ""
635
 
636
+ #: includes/views/permalink-manager-pro-addons.php:190
637
  msgid ""
638
  "Each of the words can be removed and any new words can be added to the list. "
639
  "You can also use a predefined list (available in 21 languages)."
640
  msgstr ""
641
 
642
+ #: includes/views/permalink-manager-pro-addons.php:192
643
  msgid "Save"
644
  msgstr ""
645
 
646
+ #: includes/views/permalink-manager-pro-addons.php:212
647
  #: includes/views/permalink-manager-tools.php:34
648
  msgid "Custom Permalinks"
649
  msgstr ""
650
 
651
+ #: includes/views/permalink-manager-pro-addons.php:213
652
  msgid "Deactivate after import"
653
  msgstr ""
654
 
655
+ #: includes/views/permalink-manager-pro-addons.php:216
656
  msgid ""
657
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
658
  "custom URIs are imported."
659
  msgstr ""
660
 
661
+ #: includes/views/permalink-manager-pro-addons.php:222
662
  msgid ""
663
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
664
  "of this plugin."
665
  msgstr ""
666
 
667
+ #: includes/views/permalink-manager-pro-addons.php:223
668
  msgid ""
669
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
670
  "permalinks before using Permalink Manager Pro."
671
  msgstr ""
672
 
673
+ #: includes/views/permalink-manager-pro-addons.php:228
674
  #, php-format
675
  msgid "Import %d URIs"
676
  msgstr ""
677
 
678
+ #: includes/views/permalink-manager-pro-addons.php:233
679
  msgid "No custom URIs to import"
680
  msgstr ""
681
 
682
+ #: includes/views/permalink-manager-pro-addons.php:246
683
  msgid "Technical support"
684
  msgstr ""
685
 
686
+ #: includes/views/permalink-manager-pro-addons.php:247
687
  #, php-format
688
  msgid ""
689
  "To find the answers on frequently asked questions and information about how "
691
  "Base</strong> using <a target=\"_blank\" href=\"%s\">this link</a>."
692
  msgstr ""
693
 
694
+ #: includes/views/permalink-manager-pro-addons.php:248
695
  msgid ""
696
  "If you still did not find the answer to your question, please send us your "
697
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
698
  "support@permalinkmanager.pro\">support@permalinkmanager.pro</a>."
699
  msgstr ""
700
 
701
+ #: includes/views/permalink-manager-pro-addons.php:249
702
  msgid ""
703
  "To reduce the response time, please attach your licence key and if possible "
704
  "also: URL address of your website and screenshots explaining the issue."
705
  msgstr ""
706
 
707
+ #: includes/views/permalink-manager-pro-addons.php:251
708
  msgid "Suggestions/feedback"
709
  msgstr ""
710
 
711
+ #: includes/views/permalink-manager-pro-addons.php:252
712
  msgid ""
713
  "If you would like to suggest a new functionality or leave us feedback, we "
714
  "are open to all new ideas and would be grateful for all your comments!"
715
  msgstr ""
716
 
717
+ #: includes/views/permalink-manager-pro-addons.php:253
718
  msgid ""
719
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
720
  "contact@permalinkmanager.pro</a>."
721
  msgstr ""
722
 
723
+ #: includes/views/permalink-manager-pro-addons.php:268
724
  msgid "Extra redirects (aliases)"
725
  msgstr ""
726
 
727
+ #: includes/views/permalink-manager-pro-addons.php:269
728
  msgid ""
729
  "All URIs specified below will redirect the visitors to the custom URI "
730
  "defined above in \"Current URI\" field."
731
  msgstr ""
732
 
733
+ #: includes/views/permalink-manager-pro-addons.php:275
734
  msgid "sample/custom-uri"
735
  msgstr ""
736
 
737
+ #: includes/views/permalink-manager-pro-addons.php:292
738
  msgid "Add new redirect"
739
  msgstr ""
740
 
741
+ #: includes/views/permalink-manager-pro-addons.php:297
742
  #, php-format
743
  msgid ""
744
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
745
  "redirect for <code>%s/old-uri</code> please use <code>old-uri</code>."
746
  msgstr ""
747
 
748
+ #: includes/views/permalink-manager-pro-addons.php:306
749
  msgid "Redirect this page to external URL"
750
  msgstr ""
751
 
752
+ #: includes/views/permalink-manager-pro-addons.php:307
753
  msgid ""
754
  "If not empty, the visitors trying to access this page will be redirected to "
755
  "the URL specified below."
756
  msgstr ""
757
 
758
+ #: includes/views/permalink-manager-pro-addons.php:311
759
  msgid "http://another-website.com/final-target-url"
760
  msgstr ""
761
 
762
+ #: includes/views/permalink-manager-pro-addons.php:315
763
  msgid ""
764
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
765
  "//another-website.com/final-target-url</code>."
797
  msgid "Auto-update permalinks"
798
  msgstr ""
799
 
800
+ #: includes/views/permalink-manager-settings.php:42
801
  msgid ""
802
+ "<strong>Permalink Manager can automatically update the custom permalink "
803
+ "after post or term is saved/updated.</strong>"
804
  msgstr ""
805
 
806
+ #: includes/views/permalink-manager-settings.php:43
807
+ msgid ""
808
+ "If enabled, Permalink Manager will always force the default custom permalink "
809
+ "format (based on current <strong>Permastructure</strong> settings)."
810
  msgstr ""
811
 
812
+ #: includes/views/permalink-manager-settings.php:48
813
+ msgid "Slugs mode"
 
 
 
 
814
  msgstr ""
815
 
816
+ #: includes/views/permalink-manager-settings.php:50
817
+ msgid "Use native slugs"
818
  msgstr ""
819
 
820
+ #: includes/views/permalink-manager-settings.php:50
821
+ msgid "Use actual titles as slugs"
822
+ msgstr ""
823
+
824
+ #: includes/views/permalink-manager-settings.php:50
825
+ msgid "Inherit parents' slugs"
826
+ msgstr ""
827
+
828
+ #: includes/views/permalink-manager-settings.php:52
829
+ msgid ""
830
+ "<strong>Permalink Manager can use either native slugs or actual titles for "
831
+ "custom permalinks.</strong>"
832
  msgstr ""
833
 
834
  #: includes/views/permalink-manager-settings.php:53
835
+ msgid ""
836
+ "The native slug is generated from the initial title after the post or term "
837
+ "is published."
838
  msgstr ""
839
 
840
  #: includes/views/permalink-manager-settings.php:54
841
  msgid ""
842
+ "Use this field if you would like Permalink Manager to use the actual titles "
843
+ "instead of native slugs."
 
844
  msgstr ""
845
 
846
  #: includes/views/permalink-manager-settings.php:59
847
+ msgid "Trailing slashes"
848
+ msgstr ""
849
+
850
+ #: includes/views/permalink-manager-settings.php:61
851
+ msgid "Use default settings"
852
+ msgstr ""
853
+
854
+ #: includes/views/permalink-manager-settings.php:61
855
+ msgid "Add trailing slashes"
856
+ msgstr ""
857
+
858
+ #: includes/views/permalink-manager-settings.php:61
859
+ msgid "Remove trailing slashes"
860
+ msgstr ""
861
+
862
+ #: includes/views/permalink-manager-settings.php:62
863
+ msgid ""
864
+ "This option can be used to alter the native settings and control if trailing "
865
+ "slash should be added or removed from the end of posts & terms permalinks."
866
+ msgstr ""
867
+
868
+ #: includes/views/permalink-manager-settings.php:64
869
+ msgid ""
870
+ "<strong>You can use this feature to either add or remove the slases from end "
871
+ "of WordPress permalinks.</strong>"
872
  msgstr ""
873
 
874
  #: includes/views/permalink-manager-settings.php:65
875
+ msgid ""
876
+ "Please use \"<a href=\"#sslwww_redirect\">Trailing slashes redirect</a>\" "
877
+ "field if you would like to force the settings with redirect."
878
+ msgstr ""
879
+
880
+ #: includes/views/permalink-manager-settings.php:70
881
  msgid "Canonical redirect"
882
  msgstr ""
883
 
884
+ #: includes/views/permalink-manager-settings.php:73
885
  msgid ""
886
+ "<strong>Canonical redirect allows WordPress to \"correct\" the requested URL "
887
+ "and redirect visitor to the canonical permalink.</strong>"
888
  msgstr ""
889
 
890
+ #: includes/views/permalink-manager-settings.php:74
891
+ msgid ""
892
+ "This feature will be also used to redirect (old) original permalinks to (new)"
893
+ " custom permalinks set with Permalink Manager."
894
+ msgstr ""
895
+
896
+ #: includes/views/permalink-manager-settings.php:79
897
  msgid "Old slug redirect"
898
  msgstr ""
899
 
900
+ #: includes/views/permalink-manager-settings.php:82
901
  msgid ""
902
+ "<strong>Old slug redirect is used by WordPress to provide a fallback for old "
903
+ "version of slugs after they are changed.</strong>"
904
  msgstr ""
905
 
906
+ #: includes/views/permalink-manager-settings.php:83
907
+ msgid ""
908
+ "If enabled, the visitors trying to access the URL with the old slug will be "
909
+ "redirected to the canonical permalink."
910
  msgstr ""
911
 
912
+ #: includes/views/permalink-manager-settings.php:89
913
+ msgid "Enhanced redirect"
 
 
914
  msgstr ""
915
 
916
+ #: includes/views/permalink-manager-settings.php:95
917
  msgid "Redirect mode"
918
  msgstr ""
919
 
920
+ #: includes/views/permalink-manager-settings.php:97
921
+ msgid "Disable (Permalink Manager redirect functions)"
922
  msgstr ""
923
 
924
+ #: includes/views/permalink-manager-settings.php:97
925
+ msgid "301 redirect"
926
  msgstr ""
927
 
928
+ #: includes/views/permalink-manager-settings.php:97
929
+ msgid "302 redirect"
930
  msgstr ""
931
 
932
+ #: includes/views/permalink-manager-settings.php:99
933
  msgid ""
934
+ "<strong>Permalink Manager includes a set of hooks that allow to extend the "
935
+ "redirect functions used natively by WordPress to avoid 404 errors.</strong>"
936
  msgstr ""
937
 
938
+ #: includes/views/permalink-manager-settings.php:100
939
+ msgid ""
940
+ "You can disable this feature if you do not want Permalink Manager to trigger "
941
+ "any additional redirect functions at all."
942
  msgstr ""
943
 
944
+ #: includes/views/permalink-manager-settings.php:105
945
+ msgid "Old custom permalinks redirect"
946
  msgstr ""
947
 
948
+ #: includes/views/permalink-manager-settings.php:110
949
+ msgid ""
950
+ "<strong>Permalink Manager can automatically set-up extra redirects after the "
951
+ "custom permalink is changed.</strong>"
952
  msgstr ""
953
 
954
+ #: includes/views/permalink-manager-settings.php:111
955
+ msgid ""
956
+ "If enabled, Permalink Manage will add redirect for earlier version of custom "
957
+ "permalink after you change it (eg. with URI Editor or Regenerate/reset tool)."
958
  msgstr ""
959
 
960
+ #: includes/views/permalink-manager-settings.php:112
961
+ msgid ""
962
+ "You can disable this feature if you use another plugin for redirects, eg. "
963
+ "Yoast SEO Premium or Redirection."
964
  msgstr ""
965
 
966
+ #: includes/views/permalink-manager-settings.php:117
967
+ msgid "Force HTTPS/WWW"
968
  msgstr ""
969
 
970
+ #: includes/views/permalink-manager-settings.php:120
971
  msgid ""
972
+ "<strong>You can use Permalink Manager to force SSL or \"www\" prefix in "
973
+ "WordPress permalinks.</strong>"
974
  msgstr ""
975
 
976
+ #: includes/views/permalink-manager-settings.php:121
977
+ msgid "Please disable it if you encounter any redirect loop issues."
978
  msgstr ""
979
 
980
+ #: includes/views/permalink-manager-settings.php:126
981
+ msgid "Trailing slashes redirect"
982
+ msgstr ""
983
+
984
+ #: includes/views/permalink-manager-settings.php:129
985
  msgid ""
986
+ "<strong>Permalink Manager can force the trailing slashes settings in the "
987
+ "custom permalinks with redirect.</strong>"
988
  msgstr ""
989
 
990
+ #: includes/views/permalink-manager-settings.php:135
991
  msgid "Third party plugins"
992
  msgstr ""
993
 
994
+ #: includes/views/permalink-manager-settings.php:141
995
+ msgid "WPML/Polylang language mismatch"
996
  msgstr ""
997
 
998
+ #: includes/views/permalink-manager-settings.php:143
999
  msgid ""
1000
  "If enabled, the plugin will load the adjacent translation of post when the "
1001
  "custom permalink is detected, but the language code in the URL does not "
1002
  "match the language code assigned to the post/term."
1003
  msgstr ""
1004
 
1005
+ #: includes/views/permalink-manager-settings.php:147
1006
+ msgid "WP All Import support"
1007
  msgstr ""
1008
 
1009
+ #: includes/views/permalink-manager-settings.php:149
1010
  msgid ""
1011
+ "If checked, the custom permalinks will not be saved for the posts imported "
1012
+ "with Wp All Import plugin."
1013
  msgstr ""
1014
 
1015
+ #: includes/views/permalink-manager-settings.php:153
1016
+ msgid "Breadcrumbs support"
1017
  msgstr ""
1018
 
1019
+ #: includes/views/permalink-manager-settings.php:155
1020
  msgid ""
1021
  "If checked, the HTML breadcrumbs will be filtered by Permalink Manager to "
1022
+ "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
1023
+ "SEO, RankMath and SEOPress</strong> breadcrumbs."
1024
  msgstr ""
1025
 
1026
+ #: includes/views/permalink-manager-settings.php:159
1027
+ msgid "Excluded content types"
1028
  msgstr ""
1029
 
1030
+ #: includes/views/permalink-manager-settings.php:161
1031
  msgid ""
1032
  "Permalink Manager will ignore and not filter the custom permalinks of all "
1033
  "selected above post types & taxonomies."
1034
  msgstr ""
1035
 
1036
+ #: includes/views/permalink-manager-settings.php:166
1037
  msgid "Advanced settings"
1038
  msgstr ""
1039
 
1040
+ #: includes/views/permalink-manager-settings.php:172
1041
  msgid "Show \"Native slug\" field"
1042
  msgstr ""
1043
 
1044
+ #: includes/views/permalink-manager-settings.php:174
1045
  msgid ""
1046
  "If enabled, it would be possible to edit the native slug via URI Editor on "
1047
  "single post/term edit page."
1048
  msgstr ""
1049
 
1050
+ #: includes/views/permalink-manager-settings.php:178
1051
  msgid "Force 404 on non-existing pagination pages"
1052
  msgstr ""
1053
 
1054
+ #: includes/views/permalink-manager-settings.php:180
1055
  msgid ""
1056
  "If enabled, the non-existing pagination pages (for single posts) will return "
1057
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
1058
  "any problems with pagination pages or use custom pagination system.</strong>"
1059
  msgstr ""
1060
 
1061
+ #: includes/views/permalink-manager-settings.php:184
1062
  msgid "Strip special characters"
1063
  msgstr ""
1064
 
1065
+ #: includes/views/permalink-manager-settings.php:186
1066
+ #: includes/views/permalink-manager-settings.php:193
1067
  msgid "Yes, use native settings"
1068
  msgstr ""
1069
 
1070
+ #: includes/views/permalink-manager-settings.php:186
1071
  msgid "No, keep special characters (.,|_+) in the slugs"
1072
  msgstr ""
1073
 
1074
+ #: includes/views/permalink-manager-settings.php:187
1075
  msgid ""
1076
  "If enabled only alphanumeric characters, underscores and dashes will be "
1077
  "allowed for post/term slugs."
1078
  msgstr ""
1079
 
1080
+ #: includes/views/permalink-manager-settings.php:191
1081
  msgid "Convert accented letters"
1082
  msgstr ""
1083
 
1084
+ #: includes/views/permalink-manager-settings.php:193
1085
  msgid "No, keep accented letters in the slugs"
1086
  msgstr ""
1087
 
1088
+ #: includes/views/permalink-manager-settings.php:194
1089
  msgid ""
1090
  "If enabled, all the accented letters will be replaced with their non-"
1091
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1092
  msgstr ""
1093
 
1094
+ #: includes/views/permalink-manager-settings.php:198
1095
  msgid "URI Editor role capability"
1096
  msgstr ""
1097
 
1098
+ #: includes/views/permalink-manager-settings.php:199
1099
  msgid "Administrator (edit_theme_options)"
1100
  msgstr ""
1101
 
1102
+ #: includes/views/permalink-manager-settings.php:199
1103
  msgid "Editor (publish_pages)"
1104
  msgstr ""
1105
 
1106
+ #: includes/views/permalink-manager-settings.php:199
1107
  msgid "Author (publish_posts)"
1108
  msgstr ""
1109
 
1110
+ #: includes/views/permalink-manager-settings.php:199
1111
  msgid "Contributor (edit_posts)"
1112
  msgstr ""
1113
 
1114
+ #: includes/views/permalink-manager-settings.php:200
1115
  #, php-format
1116
  msgid ""
1117
  "Only the users who have selected capability will be able to access URI "
1119
  "be found here</a>."
1120
  msgstr ""
1121
 
1122
+ #: includes/views/permalink-manager-settings.php:204
1123
+ msgid "Automatically fix broken URIs"
1124
+ msgstr ""
1125
+
1126
+ #: includes/views/permalink-manager-settings.php:206
1127
+ msgid "Disable"
1128
+ msgstr ""
1129
+
1130
+ #: includes/views/permalink-manager-settings.php:206
1131
+ msgid "Fix URIs individually (during page load)"
1132
+ msgstr ""
1133
+
1134
+ #: includes/views/permalink-manager-settings.php:206
1135
+ msgid "Bulk fix all URIs (once a day, in the background)"
1136
+ msgstr ""
1137
+
1138
+ #: includes/views/permalink-manager-settings.php:208
1139
+ msgid ""
1140
+ "Enable this option if you would like to automatically remove redundant "
1141
+ "permalinks & duplicated redirects."
1142
+ msgstr ""
1143
+
1144
+ #: includes/views/permalink-manager-settings.php:215
1145
  msgid "Save settings"
1146
  msgstr ""
1147
 
out/permalink-manager-admin.js CHANGED
@@ -311,7 +311,7 @@ jQuery(document).ready(function() {
311
  pm_help_tooltips();
312
 
313
  if(wp && wp.data !== 'undefined') {
314
- wp.data.dispatch('core/editor').refreshPost();
315
  }
316
 
317
  pm_reload_pending = false;
@@ -466,7 +466,7 @@ jQuery(document).ready(function() {
466
  }
467
 
468
  // Trigger again
469
- if(data.hasOwnProperty('left_chunks')) {
470
  jQuery.ajax(this);
471
 
472
  // Update progress
@@ -494,6 +494,8 @@ jQuery(document).ready(function() {
494
  alert('Tthere was a problem running this tool and the process could not be completed. You can find more details in browser\'s console log.')
495
  console.log('Status: ' + status);
496
  console.log('Please send the debug data to contact@permalinkmanager.pro:\n\n' + xhr.responseText);
 
 
497
  }
498
  });
499
 
311
  pm_help_tooltips();
312
 
313
  if(wp && wp.data !== 'undefined') {
314
+ wp.data.dispatch('core/editor').savePost();
315
  }
316
 
317
  pm_reload_pending = false;
466
  }
467
 
468
  // Trigger again
469
+ if(data.hasOwnProperty('left_chunks') && (typeof total !== "undefined" && data.progress < total)) {
470
  jQuery.ajax(this);
471
 
472
  // Update progress
494
  alert('Tthere was a problem running this tool and the process could not be completed. You can find more details in browser\'s console log.')
495
  console.log('Status: ' + status);
496
  console.log('Please send the debug data to contact@permalinkmanager.pro:\n\n' + xhr.responseText);
497
+
498
+ jQuery('#permalink-manager #tools').LoadingOverlay("hide", true);
499
  }
500
  });
501
 
permalink-manager.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Permalink Manager Lite
5
  * Plugin URI: https://permalinkmanager.pro?utm_source=plugin
6
  * Description: Advanced plugin that allows to set-up custom permalinks (bulk editors included), slugs and permastructures (WooCommerce compatible).
7
- * Version: 2.2.8.5
8
  * Author: Maciej Bis
9
  * Author URI: http://maciejbis.net/
10
  * License: GPL-2.0+
@@ -12,7 +12,7 @@
12
  * Text Domain: permalink-manager
13
  * Domain Path: /languages
14
  * WC requires at least: 3.0.0
15
- * WC tested up to: 4.0.0
16
  */
17
 
18
  // If this file is called directly or plugin is already defined, abort.
@@ -25,7 +25,7 @@ if(!class_exists('Permalink_Manager_Class')) {
25
  // Define the directories used to load plugin files.
26
  define( 'PERMALINK_MANAGER_PLUGIN_NAME', 'Permalink Manager' );
27
  define( 'PERMALINK_MANAGER_PLUGIN_SLUG', 'permalink-manager' );
28
- define( 'PERMALINK_MANAGER_VERSION', '2.2.8.5' );
29
  define( 'PERMALINK_MANAGER_FILE', __FILE__ );
30
  define( 'PERMALINK_MANAGER_DIR', untrailingslashit(dirname(__FILE__)) );
31
  define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__));
@@ -187,7 +187,7 @@ if(!class_exists('Permalink_Manager_Class')) {
187
  // Apply the default settings (if empty values) in all settings sections
188
  foreach($default_settings as $group_name => $fields) {
189
  foreach($fields as $field_name => $field) {
190
- if(!isset($settings[$group_name][$field_name])) {
191
  $settings[$group_name][$field_name] = $field;
192
  }
193
  }
4
  * Plugin Name: Permalink Manager Lite
5
  * Plugin URI: https://permalinkmanager.pro?utm_source=plugin
6
  * Description: Advanced plugin that allows to set-up custom permalinks (bulk editors included), slugs and permastructures (WooCommerce compatible).
7
+ * Version: 2.2.8.7
8
  * Author: Maciej Bis
9
  * Author URI: http://maciejbis.net/
10
  * License: GPL-2.0+
12
  * Text Domain: permalink-manager
13
  * Domain Path: /languages
14
  * WC requires at least: 3.0.0
15
+ * WC tested up to: 4.2.2
16
  */
17
 
18
  // If this file is called directly or plugin is already defined, abort.
25
  // Define the directories used to load plugin files.
26
  define( 'PERMALINK_MANAGER_PLUGIN_NAME', 'Permalink Manager' );
27
  define( 'PERMALINK_MANAGER_PLUGIN_SLUG', 'permalink-manager' );
28
+ define( 'PERMALINK_MANAGER_VERSION', '2.2.8.7' );
29
  define( 'PERMALINK_MANAGER_FILE', __FILE__ );
30
  define( 'PERMALINK_MANAGER_DIR', untrailingslashit(dirname(__FILE__)) );
31
  define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__));
187
  // Apply the default settings (if empty values) in all settings sections
188
  foreach($default_settings as $group_name => $fields) {
189
  foreach($fields as $field_name => $field) {
190
+ if(!isset($settings[$group_name][$field_name]) && $field_name !== 'partial_disable') {
191
  $settings[$group_name][$field_name] = $field;
192
  }
193
  }