Changeset 2897279
- Timestamp:
- 04/11/2023 02:41:53 PM (16 months ago)
- Location:
- simple-taxonomy-refreshed
- Files:
-
- 30 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
simple-taxonomy-refreshed/trunk/includes/class-simpletaxonomyrefreshed-admin.php
r2820062 r2897279 82 82 // Add admin js/css. 83 83 self::enqueue_admin_libs(); 84 84 85 } 85 86 // Quick-edit option may be used. 86 if ( 1 === 1 ) {87 return;88 }89 87 if ( 'edit' === $screen->base ) { 90 88 // search in taxonomies as may have been changed from parameters. … … 319 317 __( 'This functionality provides this control. Using this tab, upper and lower bounds may be set for either Published posts or all posts.', 'simple-taxonomy-refreshed' ) . '</p><p>' . 320 318 __( 'The tests will be applied at save post time (soft); or also when the terms are added or removed (hard).', 'simple-taxonomy-refreshed' ) . '</p><p>' . 321 __( 'Thus a user who can edit a post may not be able to add or remove terms but can be notified of the issue and make other updates.', 'simple-taxonomy-refreshed' ) . '</p>', 319 __( 'Thus a user who can edit a post may not be able to add or remove terms but can be notified of the issue and make other updates.', 'simple-taxonomy-refreshed' ) . '</p><p>' . 320 __( 'By default term controls will be applied to all corresponding post types, but just a sub-set of post types can be chosen to be controlled.', 'simple-taxonomy-refreshed' ) . '</p>', 322 321 ); 323 322 … … 646 645 'st_cb_tsh' => 0, 647 646 'st_cc_type' => 0, 647 648 648 'st_cc_hard' => 0, 649 649 'st_cc_umin' => 0, … … 962 962 if ( ! array_key_exists( 'st_sep', $taxonomy ) ) { 963 963 $taxonomy['st_sep'] = ''; 964 965 966 967 968 964 969 } 965 970 … … 1665 1670 <?php } ?> 1666 1671 <tr> 1667 <th scope="row"><label ><?php esc_html_e( 'Post types', 'simple-taxonomy-refreshed' ); ?></label></th>1668 <td><div role="group" aria-labelledby="p ost_types" aria-describedby="post_types_adm">1672 <th scope="row"><label><?php esc_html_e( 'Post types', 'simple-taxonomy-refreshed' ); ?></label></th> 1673 <td><div role="group" aria-labelledby="p" aria-describedby="post_types_adm"> 1669 1674 <?php 1670 1675 if ( true === $edit ) { … … 1809 1814 <span id="control_tab_1" <?php echo ( empty( $taxonomy['st_cc_type'] ) ? 'class="is-hidden"' : '' ); ?>> 1810 1815 <table class="form-table" style="clear:none;"> 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1811 1846 <tr> 1812 1847 <th scope="row"><label id="cch_label"><?php esc_html_e( 'How Control is applied', 'simple-taxonomy-refreshed' ); ?></label></th> … … 2153 2188 2154 2189 if ( array_key_exists( 'st_cc_type', $taxo_data ) && ! empty( $taxo_data['st_cc_type'] ) ) { 2155 $display = "\n" . '/**' . esc_html__( 'Terms control parameters set.', 'simple-taxonomy-refreshed' ) . "\n"; 2156 $display .= esc_html__( 'Applies to posts with status:', 'simple-taxonomy-refreshed' ); 2190 $display = "\n" . '/**' . esc_html__( 'Terms control parameters set.', 'simple-taxonomy-refreshed' ) . "\n"; 2191 // output all post types parameters. 2192 if ( ! array_key_exists( 'st_cc_types', $taxo_data ) || empty( $taxo_data['st_cc_types'] ) ) { 2193 $display .= esc_html__( 'Applies to all valid post type(s)', 'simple-taxonomy-refreshed' ); 2194 } else { 2195 $display .= esc_html__( 'Applies to these post type(s)', 'simple-taxonomy-refreshed' ); 2196 foreach ( $taxo_data['st_cc_types'] as $post_type ) { 2197 $display .= "\n " . $post_type; 2198 } 2199 } 2200 $display .= "\n" . esc_html__( 'Applies to posts with status:', 'simple-taxonomy-refreshed' ); 2157 2201 if ( 1 === (int) $taxo_data['st_cc_type'] ) { 2158 2202 $display .= ' ' . esc_html__( 'Published and Future only', 'simple-taxonomy-refreshed' ); … … 2262 2306 global $strc; 2263 2307 foreach ( $taxonomy['labels'] as $key => $label ) { 2264 if ( $strc::$wp_decoded_labels[0][ $key ] === $label || $strc::$wp_decoded_labels[1][ $key ] === $label ) { 2308 if ( array_key_exists( $key, $strc::$wp_decoded_labels[0] ) && $strc::$wp_decoded_labels[0][ $key ] === $label ) { 2309 unset( $taxonomy['labels'][ $key ] ); 2310 } elseif ( array_key_exists( $key, $strc::$wp_decoded_labels[1] ) && $strc::$wp_decoded_labels[1][ $key ] === $label ) { 2265 2311 unset( $taxonomy['labels'][ $key ] ); 2266 2312 } … … 2320 2366 global $strc; 2321 2367 foreach ( $taxonomy['labels'] as $key => $label ) { 2322 if ( $strc::$wp_decoded_labels[0][ $key ] === $label || $strc::$wp_decoded_labels[1][ $key ] === $label ) { 2368 if ( array_key_exists( $key, $strc::$wp_decoded_labels[0] ) && $strc::$wp_decoded_labels[0][ $key ] === $label ) { 2369 unset( $taxonomy['labels'][ $key ] ); 2370 } elseif ( array_key_exists( $key, $strc::$wp_decoded_labels[1] ) && $strc::$wp_decoded_labels[1][ $key ] === $label ) { 2323 2371 unset( $taxonomy['labels'][ $key ] ); 2324 2372 } -
simple-taxonomy-refreshed/trunk/includes/class-simpletaxonomyrefreshed-client.php
r2820062 r2897279 642 642 'simple-taxonomy-refreshed/post-terms', 643 643 array( 644 644 645 'editor_script' => 'staxo-terms-editor', 645 646 'render_callback' => array( __CLASS__, 'the_terms' ), … … 709 710 foreach ( (array) $options['taxonomies'] as $taxonomy ) { 710 711 // Does the post_type uses this taxonomy. 711 if ( isset( $taxonomy['st_feed'] ) && ( ! empty( $taxonomy['objects'] ) ) && in_array( $post->post_type, $taxonomy['objects'], true ) ) {712 if ( isset( $taxonomy['st_feed'] ) && ( ! empty( $taxonomy['objects'] ) ) && in_array( $post->post_type, $taxonomy['objects'], true ) ) { 712 713 713 714 $terms = get_the_terms( $post->ID, $taxonomy['name'] ); … … 983 984 if ( isset( $taxonomy['st_cc_type'] ) && 0 < $taxonomy['st_cc_type'] ) { 984 985 if ( isset( $taxonomy['st_cc_hard'] ) && ! empty( $taxonomy['st_cc_hard'] ) ) { 985 // add to post types list.986 // add to post types list. 986 987 if ( ! empty( $taxonomy['objects'] ) ) { 988 987 989 foreach ( $taxonomy['objects'] as $post_type ) { 988 $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array( 989 'st_cc_type' => $taxonomy['st_cc_type'], 990 'st_cc_hard' => $taxonomy['st_cc_hard'], 991 'st_cc_umin' => $taxonomy['st_cc_umin'], 992 'st_cc_min' => $taxonomy['st_cc_min'], 993 'st_cc_umax' => $taxonomy['st_cc_umax'], 994 'st_cc_max' => $taxonomy['st_cc_max'], 995 'show_in_rest' => $taxonomy['show_in_rest'], 996 'rest_base' => ( empty( $taxonomy['rest_base'] ) ? $taxonomy['name'] : $taxonomy['rest_base'] ), 997 'label_name' => $taxonomy['labels']['name'], 998 ); 990 // check the post type is in the list. (List not exists or is empty counts as in the list). 991 if ( empty( $cc_post_types ) || array_key_exists( $post_type, $cc_post_types ) ) { 992 $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array( 993 'st_cc_type' => $taxonomy['st_cc_type'], 994 'st_cc_hard' => $taxonomy['st_cc_hard'], 995 'st_cc_umin' => $taxonomy['st_cc_umin'], 996 'st_cc_min' => $taxonomy['st_cc_min'], 997 'st_cc_umax' => $taxonomy['st_cc_umax'], 998 'st_cc_max' => $taxonomy['st_cc_max'], 999 'show_in_rest' => $taxonomy['show_in_rest'], 1000 'rest_base' => ( empty( $taxonomy['rest_base'] ) ? $taxonomy['name'] : $taxonomy['rest_base'] ), 1001 'label_name' => $taxonomy['labels']['name'], 1002 ); 1003 } 999 1004 } 1000 1005 } … … 1012 1017 // add to post types list. 1013 1018 if ( ! empty( $taxonomy['objects'] ) ) { 1019 1014 1020 // need to get some properties from external taxonomy. 1015 1021 $tax_obj = get_taxonomy( $taxonomy ); 1016 1022 foreach ( $taxonomy['objects'] as $post_type ) { 1017 $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array( 1018 'st_cc_type' => $taxonomy['st_cc_type'], 1019 'st_cc_hard' => $taxonomy['st_cc_hard'], 1020 'st_cc_umin' => $taxonomy['st_cc_umin'], 1021 'st_cc_min' => $taxonomy['st_cc_min'], 1022 'st_cc_umax' => $taxonomy['st_cc_umax'], 1023 'st_cc_max' => $taxonomy['st_cc_max'], 1024 'show_in_rest' => $tax_obj->show_in_rest, 1025 'rest_base' => ( empty( $tax_obj->rest_base ) ? $tax_obj->name : $tax_obj->rest_base ), 1026 'label_name' => $taxonomy['labels']['name'], 1027 ); 1023 // check the post type is in the list. (List not exists or is empty counts as in the list). 1024 if ( empty( $cc_post_types ) || array_key_exists( $post_type, $cc_post_types ) ) { 1025 $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array( 1026 'st_cc_type' => $taxonomy['st_cc_type'], 1027 'st_cc_hard' => $taxonomy['st_cc_hard'], 1028 'st_cc_umin' => $taxonomy['st_cc_umin'], 1029 'st_cc_min' => $taxonomy['st_cc_min'], 1030 'st_cc_umax' => $taxonomy['st_cc_umax'], 1031 'st_cc_max' => $taxonomy['st_cc_max'], 1032 'show_in_rest' => $tax_obj->show_in_rest, 1033 'rest_base' => ( empty( $tax_obj->rest_base ) ? $tax_obj->name : $tax_obj->rest_base ), 1034 'label_name' => $taxonomy['labels']['name'], 1035 ); 1036 } 1028 1037 } 1029 1038 } … … 1099 1108 'st_cb_tsh' => 0, 1100 1109 'st_cc_type' => 0, 1110 1101 1111 'st_cc_hard' => 0, 1102 1112 'st_cc_umin' => 0, … … 1182 1192 1183 1193 self::$wp_default_labels[ (int) $hier ] = (array) $labels; 1184 self::$wp_decoded_labels[ (int) $hier ] = array_map( 'html_entity_decode', (array) $labels ); 1194 // PHP 8 does not allow array-map operations on null elements. 1195 foreach ( (array) $labels as $label ) { 1196 if ( is_null( $label ) ) { 1197 self::$wp_decoded_labels[ (int) $hier ][ $label ] = null; 1198 } else { 1199 self::$wp_decoded_labels[ (int) $hier ][ $label ] = html_entity_decode( $label, ENT_QUOTES ); 1200 } 1201 } 1185 1202 } 1186 1203 -
simple-taxonomy-refreshed/trunk/includes/class-simpletaxonomyrefreshed-widget.php
r2738630 r2897279 470 470 'simple-taxonomy-refreshed/cloud-widget', 471 471 array( 472 472 473 'editor_script' => 'staxo-widget-editor', 473 474 'editor_style' => 'staxo-widget-editor-style', -
simple-taxonomy-refreshed/trunk/js/staxo-admin.dev.js
r2775006 r2897279 168 168 document.getElementById("admlist" + objNo).removeAttribute( 'checked' ); 169 169 } 170 171 172 173 174 175 170 176 evt.stopPropagation(); 171 177 } -
simple-taxonomy-refreshed/trunk/js/staxo-admin.js
r2775006 r2897279 1 var i,tablist,vertical,panels,tabs,cb_types,cc_types,cc_hards,keys={end:35,home:36,left:37,right:39},direction={37:-1,39:1};function str_admin_init(){tablist=document.querySelectorAll("[role=\"tablist\"]"),vertical="getAttribute"in tablist&&"vertical"==tablist.getAttribute("aria-orientation"),panels=document.querySelectorAll("[role=\"tabpanel\"]"),tabs=document.querySelectorAll("[role=\"tab\"]"),cb_types=document.getElementsByName("st_cb_type"),cc_types=document.getElementsByName("st_cc_type"),cc_hards=document.getElementsByName("st_cc_hard");for(var a=0;a<tabs.length;++a)tabs[a].addEventListener("click",clickEventListener),tabs[a].addEventListener("keydown",keydownEventListener),tabs[a].addEventListener("keyup",keyupEventListener),tabs[a].index=a}function clickEventListener(a){var b=a.target;activateTab(b,!1)}function keydownEventListener(a){var b=a.keyCode;b===keys.end?(a.preventDefault(),activateTab(tabs[tabs.length-1])):b===keys.home?(a.preventDefault(),activateTab(tabs[0])):void 0}function keyupEventListener(a){var b=a.keyCode;if(b===keys.left||b===keys.right){for(var c=0;c<tabs.length;++c)tabs[c].addEventListener("focus",focusEventHandler);if(direction[b]){var d=a.target;d.index!==void 0&&(tabs[d.index+direction[b]]?tabs[d.index+direction[b]].focus():b===keys.left?tabs[tabs.length-1].focus():b===keys.right&&tabs[0].focus())}}}function activateTab(a,b){b=b||!0,deactivateTabs(),a.removeAttribute("tabindex"),a.setAttribute("aria-selected","true");var c=a.getAttribute("aria-controls");if(document.getElementById(c).classList.remove("is-hidden"),"adm_filter"==c){var d=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==d,document.getElementById("st_adm_depth").disabled=0==d}b&&a.focus()}function deactivateTabs(){for(var a=0;a<tabs.length;a++)tabs[a].setAttribute("tabindex","-1"),tabs[a].setAttribute("aria-selected","false"),tabs[a].removeEventListener("focus",focusEventHandler);for(var b=0;b<panels.length;b++)panels[b].classList.add("is-hidden")}function focusEventHandler(a){var b=a.target;setTimeout(checkTabFocus,250,b)}function checkTabFocus(a){var b=document.activeElement;a===b&&activateTab(a,!1)}function openTab(a,b){for(c=0;c<panels.length;c++)panels[c].style.display="none";for(c=0;c<tabs.length;c++)tabs[c].setAttribute("aria-selected","false");if(document.getElementById(b).style.display="block","adm_filter"==b){var c=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==c,document.getElementById("st_adm_depth").disabled=0==c}a.currentTarget.setAttribute("aria-selected","true"),a.stopPropagation()}function checkNameSet(a){document.getElementById("submit").disabled=0===a.currentTarget.value.length,a.stopPropagation()}function linkAdm(a,b){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),document.getElementById("admlist"+b).disabled=!1===a.currentTarget.checked,!1===a.currentTarget.checked&&(document.getElementById("admlist"+b).checked=!1,document.getElementById("admlist"+b).setAttribute("aria-checked","false"),document.getElementById("admlist"+b).removeAttribute("checked")), a.stopPropagation()}function ariaChk(a){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),a.currentTarget.checked?a.currentTarget.setAttribute("checked","checked"):a.currentTarget.removeAttribute("checked")}function linkH(a,b){document.getElementById("st_adm_hier").disabled=0===b,document.getElementById("st_adm_depth").disabled=0===b,0===b&&(document.getElementById("st_adm_hier").value=0,document.getElementById("st_adm_depth").value=0),a.stopPropagation()}function hideCnt(a){var b=0==document.getElementById("st_update_count_callback").value.length;b?(document.getElementById("count_tab_0").classList.add("is-hidden"),document.getElementById("count_tab_1").classList.remove("is-hidden")):(document.getElementById("count_tab_0").classList.remove("is-hidden"),document.getElementById("count_tab_1").classList.add("is-hidden"),document.getElementById("cb_sel").checked=!1,document.getElementById("cb_sel").setAttribute("aria-selected","false"),document.getElementById("cb_any").checked=!1,document.getElementById("cb_any").setAttribute("aria-selected","false"),document.getElementById("cb_std").checked=!0,document.getElementById("cb_std").setAttribute("aria-selected","false"),hideSel(a,0)),a.stopPropagation()}function hideSel(a,b){for(var c=0;c<cb_types.length;c++)cb_types[c].setAttribute("tabindex","-1"),cb_types[c].setAttribute("aria-selected","false"),cb_types[c].removeAttribute("checked");cb_types[b].setAttribute("tabindex","0"),cb_types[b].setAttribute("aria-selected","true"),cb_types[b].setAttribute("checked","checked"),2===b?(document.getElementById("count_sel_0").classList.add("is-hidden"),document.getElementById("count_sel_1").classList.remove("is-hidden")):(document.getElementById("count_sel_0").classList.remove("is-hidden"),document.getElementById("count_sel_1").classList.add("is-hidden")),a.stopPropagation()}function ccSel(a,b){0===b?(document.getElementById("control_tab_0").classList.remove("is-hidden"),document.getElementById("control_tab_1").classList.add("is-hidden")):(document.getElementById("control_tab_0").classList.add("is-hidden"),document.getElementById("control_tab_1").classList.remove("is-hidden"));for(var c=0;c<cc_types.length;c++)cc_types[c].setAttribute("tabindex","-1"),cc_types[c].removeAttribute("checked");cc_types[b].setAttribute("tabindex","0"),cc_types[b].setAttribute("checked","checked"),a.stopPropagation()}function cchSel(a,b){for(var c=0;c<cc_hards.length;c++)cc_hards[c].setAttribute("tabindex","-1"),cc_hards[c].removeAttribute("checked");cc_hards[b].setAttribute("tabindex","0"),cc_hards[b].setAttribute("checked","checked"),a.stopPropagation()}function switchMinMax(a){var b=0==document.getElementById("st_cc_umin").value,c=0==document.getElementById("st_cc_umax").value;document.getElementById("st_cc_min").disabled=b,document.getElementById("st_cc_max").disabled=c,a.stopPropagation()}function checkMinMax(a){var b=document.getElementById("st_cc_min").value,c=document.getElementById("st_cc_max").value;b>c&&"st_cc_min"===a.currentTarget.id&&(document.getElementById("st_cc_max").value=b),b>c&&"st_cc_max"===a.currentTarget.id&&(document.getElementById("st_cc_min").value=c),a.stopPropagation()}1 var i,tablist,vertical,panels,tabs,cb_types,cc_types,cc_hards,keys={end:35,home:36,left:37,right:39},direction={37:-1,39:1};function str_admin_init(){tablist=document.querySelectorAll("[role=\"tablist\"]"),vertical="getAttribute"in tablist&&"vertical"==tablist.getAttribute("aria-orientation"),panels=document.querySelectorAll("[role=\"tabpanel\"]"),tabs=document.querySelectorAll("[role=\"tab\"]"),cb_types=document.getElementsByName("st_cb_type"),cc_types=document.getElementsByName("st_cc_type"),cc_hards=document.getElementsByName("st_cc_hard");for(var a=0;a<tabs.length;++a)tabs[a].addEventListener("click",clickEventListener),tabs[a].addEventListener("keydown",keydownEventListener),tabs[a].addEventListener("keyup",keyupEventListener),tabs[a].index=a}function clickEventListener(a){var b=a.target;activateTab(b,!1)}function keydownEventListener(a){var b=a.keyCode;b===keys.end?(a.preventDefault(),activateTab(tabs[tabs.length-1])):b===keys.home?(a.preventDefault(),activateTab(tabs[0])):void 0}function keyupEventListener(a){var b=a.keyCode;if(b===keys.left||b===keys.right){for(var c=0;c<tabs.length;++c)tabs[c].addEventListener("focus",focusEventHandler);if(direction[b]){var d=a.target;d.index!==void 0&&(tabs[d.index+direction[b]]?tabs[d.index+direction[b]].focus():b===keys.left?tabs[tabs.length-1].focus():b===keys.right&&tabs[0].focus())}}}function activateTab(a,b){b=b||!0,deactivateTabs(),a.removeAttribute("tabindex"),a.setAttribute("aria-selected","true");var c=a.getAttribute("aria-controls");if(document.getElementById(c).classList.remove("is-hidden"),"adm_filter"==c){var d=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==d,document.getElementById("st_adm_depth").disabled=0==d}b&&a.focus()}function deactivateTabs(){for(var a=0;a<tabs.length;a++)tabs[a].setAttribute("tabindex","-1"),tabs[a].setAttribute("aria-selected","false"),tabs[a].removeEventListener("focus",focusEventHandler);for(var b=0;b<panels.length;b++)panels[b].classList.add("is-hidden")}function focusEventHandler(a){var b=a.target;setTimeout(checkTabFocus,250,b)}function checkTabFocus(a){var b=document.activeElement;a===b&&activateTab(a,!1)}function openTab(a,b){for(c=0;c<panels.length;c++)panels[c].style.display="none";for(c=0;c<tabs.length;c++)tabs[c].setAttribute("aria-selected","false");if(document.getElementById(b).style.display="block","adm_filter"==b){var c=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==c,document.getElementById("st_adm_depth").disabled=0==c}a.currentTarget.setAttribute("aria-selected","true"),a.stopPropagation()}function checkNameSet(a){document.getElementById("submit").disabled=0===a.currentTarget.value.length,a.stopPropagation()}function linkAdm(a,b){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),document.getElementById("admlist"+b).disabled=!1===a.currentTarget.checked,!1===a.currentTarget.checked&&(document.getElementById("admlist"+b).checked=!1,document.getElementById("admlist"+b).setAttribute("aria-checked","false"),document.getElementById("admlist"+b).removeAttribute("checked")),a.stopPropagation()}function ariaChk(a){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),a.currentTarget.checked?a.currentTarget.setAttribute("checked","checked"):a.currentTarget.removeAttribute("checked")}function linkH(a,b){document.getElementById("st_adm_hier").disabled=0===b,document.getElementById("st_adm_depth").disabled=0===b,0===b&&(document.getElementById("st_adm_hier").value=0,document.getElementById("st_adm_depth").value=0),a.stopPropagation()}function hideCnt(a){var b=0==document.getElementById("st_update_count_callback").value.length;b?(document.getElementById("count_tab_0").classList.add("is-hidden"),document.getElementById("count_tab_1").classList.remove("is-hidden")):(document.getElementById("count_tab_0").classList.remove("is-hidden"),document.getElementById("count_tab_1").classList.add("is-hidden"),document.getElementById("cb_sel").checked=!1,document.getElementById("cb_sel").setAttribute("aria-selected","false"),document.getElementById("cb_any").checked=!1,document.getElementById("cb_any").setAttribute("aria-selected","false"),document.getElementById("cb_std").checked=!0,document.getElementById("cb_std").setAttribute("aria-selected","false"),hideSel(a,0)),a.stopPropagation()}function hideSel(a,b){for(var c=0;c<cb_types.length;c++)cb_types[c].setAttribute("tabindex","-1"),cb_types[c].setAttribute("aria-selected","false"),cb_types[c].removeAttribute("checked");cb_types[b].setAttribute("tabindex","0"),cb_types[b].setAttribute("aria-selected","true"),cb_types[b].setAttribute("checked","checked"),2===b?(document.getElementById("count_sel_0").classList.add("is-hidden"),document.getElementById("count_sel_1").classList.remove("is-hidden")):(document.getElementById("count_sel_0").classList.remove("is-hidden"),document.getElementById("count_sel_1").classList.add("is-hidden")),a.stopPropagation()}function ccSel(a,b){0===b?(document.getElementById("control_tab_0").classList.remove("is-hidden"),document.getElementById("control_tab_1").classList.add("is-hidden")):(document.getElementById("control_tab_0").classList.add("is-hidden"),document.getElementById("control_tab_1").classList.remove("is-hidden"));for(var c=0;c<cc_types.length;c++)cc_types[c].setAttribute("tabindex","-1"),cc_types[c].removeAttribute("checked");cc_types[b].setAttribute("tabindex","0"),cc_types[b].setAttribute("checked","checked"),a.stopPropagation()}function cchSel(a,b){for(var c=0;c<cc_hards.length;c++)cc_hards[c].setAttribute("tabindex","-1"),cc_hards[c].removeAttribute("checked");cc_hards[b].setAttribute("tabindex","0"),cc_hards[b].setAttribute("checked","checked"),a.stopPropagation()}function switchMinMax(a){var b=0==document.getElementById("st_cc_umin").value,c=0==document.getElementById("st_cc_umax").value;document.getElementById("st_cc_min").disabled=b,document.getElementById("st_cc_max").disabled=c,a.stopPropagation()}function checkMinMax(a){var b=document.getElementById("st_cc_min").value,c=document.getElementById("st_cc_max").value;b>c&&"st_cc_min"===a.currentTarget.id&&(document.getElementById("st_cc_max").value=b),b>c&&"st_cc_max"===a.currentTarget.id&&(document.getElementById("st_cc_min").value=c),a.stopPropagation()} -
simple-taxonomy-refreshed/trunk/js/staxo-client.dev.js
r2820062 r2897279 551 551 function dom_tag_cntl_check( tax_slug ) { 552 552 // call these with special = true to force error processing. 553 document.getElementById("publish").addEventListener('click', event => { 554 tag_cntl_check( tax_slug, true ); 555 }); 556 document.getElementById("save-post").addEventListener('click', event => { 557 tag_cntl_check( tax_slug, true ); 558 }); 559 document.getElementById("save-post").addEventListener('keypress', event => { 560 tag_cntl_check( tax_slug, true ); 561 }); 562 553 let elt = document.getElementById("publish"); 554 if ( null !== elt ) { 555 elt.addEventListener('click', event => { tag_cntl_check( tax_slug, true ); }); 556 } 557 elt = document.getElementById("save-post"); 558 if ( null !== elt ) { 559 elt.addEventListener('click', event => { tag_cntl_check( tax_slug, true ); }); 560 elt.addEventListener('keypress', event => { tag_cntl_check( tax_slug, true ); }); 561 } 563 562 // Select the node that will be observed for mutations 564 563 let tag = document.getElementById( tax_slug ); -
simple-taxonomy-refreshed/trunk/js/staxo-client.js
r2820062 r2897279 1 let tax_msgs=[];function get_msg(a){for(const b of tax_msgs)if(b[0]===a)return b}function chk_radio_client(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input"),d=!1;for(let b of c)"checkbox"===b.type&&(b.type="radio",b.setAttribute("role","radio"),b.addEventListener("click",()=>{adj_radio_client(a,b.value)}),b.addEventListener("keypress",()=>{adj_radio_client(a,b.value)}),d=!0);d&&hier_cntl_check(a)}function adj_radio_client(a,b){let c=document.getElementById("taxonomy-"+a),d=c.getElementsByTagName("input");for(let c in d)d[c].checked=!1,d[c].value===b&&(d[c].checked=!0)}function dom_radio_client(a){chk_radio_client(a);let b=document.getElementById(a+"-pop");b.setAttribute("role","radiogroup");let c=document.getElementById(a+"-all");c.setAttribute("role","radiogroup");let d=document.getElementById(a+"-add-submit");d.addEventListener("click",()=>{adj_radio_client(a,-1)}),d.addEventListener("keypress",()=>{adj_radio_client(a,-1)});const e=document.getElementById(a+"-all"),f=new MutationObserver(function(){chk_radio_client(a)});f.observe(e,{childList:!0,subtree:!0})}function qe_error_set_msg(a,b,c){let d=a.getElementsByClassName("notice-error");if(d){for(let e of d)if(e.classList.contains(b+"-err")){e.classList.contains("hidden")&&e.classList.remove("hidden");let b=e.getElementsByTagName("p");return b[0].innerHTML=c,void a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}let e=document.createElement("div");e.classList.add("notice","notice-error","notice-alt","inline","staxo",b+"-err");let f=document.createElement("p");f.classList.add("error"),f.innerHTML=c,e.appendChild(f);let g=a.getElementsByClassName("submit");g[0].appendChild(e),a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}}function qe_error_clear_msg(a,b){let c=a.getElementsByClassName("notice-error");if(c){all_hidden=!0;for(let a of c)if(a.classList.contains(b+"-err")){a.classList.contains("hidden")||a.classList.add("hidden");let b=a.getElementsByTagName("p");b[0].innerHTML=""}else a.classList.contains("staxo")&&!a.classList.contains("hidden")&&(all_hidden=!1);all_hidden&&a.getElementsByClassName("save")[0].removeAttribute("disabled")}}function chk_qe_radio_client(a){let b=event.target.tagName.toLowerCase(),c=event.target.classList;if(("button"!==b||c.contains("editinline")||c.contains("save"))&&("option"!==b||"_status"===event.target.parentNode.name)&&("input"!==b||event.target.name==="tax_input["+a+"][]")){let c=document.getElementsByClassName("inline-edit-row");for(let e of c){if("edit-"!==e.id.substring(0,5))continue;let c=document.getElementById("post-"+e.id.substring(5)),f=c.getElementsByClassName("taxonomy-"+a),g=f[0].getElementsByTagName("a").length,h=get_msg(a),i=e.getElementsByClassName(a+"-checklist");2>g&&i[0].setAttribute("role","radiogroup");let j=i[0].getElementsByTagName("input"),k=0;for(let a of j)a.checked&&k++,2>g&&"checkbox"===a.type&&(a.type="radio",a.setAttribute("role","radio"));var d;if("option"===b)d=event.target.value,qe_error_clear_msg(e,a);else{const a=e.getElementsByClassName("inline-edit-status")[0];d=a.getElementsByTagName("select")[0].value}if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===h[1]&&"publish"!==d&&"future"!==d)return;if(1<k)qe_error_set_msg(e,a,h[5]);else if(0===k)qe_error_set_msg(e,a,h[3]);else return void qe_error_clear_msg(e,a)}}}function rst_qe_radio_client(a){if("button"===event.target.tagName.toLowerCase()){let b=document.getElementsByClassName("inline-edit-row");for(let c of b){if("edit-"!==c.id.substring(0,5))continue;chk_qe_radio_client(a);let b=c.getElementsByClassName(a+"-checklist");b[0].removeAttribute("role");let d=b[0].getElementsByTagName("input");for(let a of d)"radio"===a.type&&(a.type="checkbox",a.removeAttribute("role"))}}}function dom_qe_radio_client(a){const b=document.getElementById("the-list");b.parentElement.addEventListener("click",()=>{chk_qe_radio_client(a)}),b.parentElement.addEventListener("keypress",()=>{chk_qe_radio_client(a)});const c=b.getElementsByTagName("tr");for(let b of c){let c=b.id.match(/[0-9]+$/g)[0];b.addEventListener("click",()=>{rst_qe_radio_client(a,c)})}}var tax_cntl=[];function get_cntl(a){for(const b of tax_cntl)if(b[0]===a)return b}function hier_tax_count(a){let b,c,d=document.getElementById("taxonomy-"+a),e=d.getElementsByTagName("input"),f=[];for(b in e)e[b].checked&&(c=e[b].value,0<c&&!f.includes(c)&&f.splice(0,0,c));return f.length}function hier_cntl_check(a,b=!1){const c=get_cntl(a),d=document.getElementById("post_status").value;if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===c[1]&&"publish"!==d&&"future"!==d)return;let e=hier_tax_count(a),f=!1;null!==c[2]&&e<c[2]&&(set_errblock(a,c[3]),f=!0),null!==c[4]&&e>c[4]&&(set_errblock(a,c[5]),f=!0),f||clear_errblock(a),f&&b&&(event.stopPropagation(),event.preventDefault())}function dom_hier_cntl_check(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input");for(let b of c)b.addEventListener("click",()=>{hier_cntl_check(a)}),b.addEventListener("blur",()=>{hier_cntl_check(a)});document.getElementById("publish").addEventListener("click",()=>{hier_cntl_check(a,!0)});var d=document.getElementById("save-post");d&&(d.addEventListener("click",()=>{hier_cntl_check(a,!0)}),d.addEventListener("keypress",()=>{hier_cntl_check(a,!0)}))}function tag_tax_count(a){const b=document.getElementById(a),c=b.getElementsByTagName("ul")[0];return c.getElementsByTagName("li").length}function tag_cntl_check(a,b=!1){var c=document.getElementById("post_status").value;if("new"===c||"auto-draft"===c||"trash"===c)return;const d=get_cntl(a);if(1===d[1]&&"publish"!==c&&"future"!==c)return;document.getElementById("new-tag-"+a).removeAttribute("readonly"),document.getElementById("link-"+a).removeAttribute("disabled");let e=document.getElementById("tagcloud-"+a);null!==e&&e.removeAttribute("disabled");let f=tag_tax_count(a),g=!1;null!==d[2]&&f<d[2]&&(set_errblock(a,d[3]),g=!0),null!==d[4]&&(f>=d[4]&&(document.getElementById("new-tag-"+a).setAttribute("readonly","readonly"),document.getElementById("link-"+a).setAttribute("disabled","disabled"),null!==e&&e.setAttribute("disabled","disabled")),f>d[4]&&(set_errblock(a,d[5]),g=!0)),g||clear_errblock(a);1===d[2]&&1===d[4]&&0<=f&&2>=f&&!b||g&&(event.stopPropagation(),event.preventDefault())}function dom_tag_cntl_check(a){ document.getElementById("publish").addEventListener("click",()=>{tag_cntl_check(a,!0)}),document.getElementById("save-post").addEventListener("click",()=>{tag_cntl_check(a,!0)}),document.getElementById("save-post").addEventListener("keypress",()=>{tag_cntl_check(a,!0)});let b=document.getElementById(a);const c=b.getElementsByTagName("ul")[0],d=new MutationObserver(function(){tag_cntl_check(a)});d.observe(c,{childList:!0,subtree:!0})}let block_limit=function(a,b){function c(a){if("button"===a.target.tagName.toLowerCase()){var b=a.target.className,c=b.includes("editor-post-publish-button__button");c&&(k||j)&&(alert("Cannot Publish due to taxonomy restrictions"),a.stopPropagation(),a.preventDefault(),a.target.disabled=!0)}}function d(a,b){let c=1===i[1]?["publish","future"].includes(a):!["new","auto-draft","trash"].includes(a),d=["publish","future"].includes(a),e="";if(null!==i[2]&&b<i[2]&&(e=i[3]),null!==i[4]&&b>i[4]&&(e=i[5]),c&&e){var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!0),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!0),f("core/notices").createNotice("error",e,{id:"str_notice_"+h,isDismissible:!1}),d||j||(j=!0,f("core/editor").lockPostSaving("str_"+h+"_lock")),!k){k=!0;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!0),f("core/edit-post").disablePublishSidebar,f("core/editor").isPublishable=!1}}else{var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!1),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!1),f("core/notices").removeNotice("str_notice_"+h),j&&(j=!1,f("core/editor").unlockPostSaving("str_"+h+"_lock")),k){k=!1;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!1),f("core/edit-post").enablePublishSidebar}}}const{select:e,dispatch:f,subscribe:g}=a.data,h=b,i=get_cntl(h);console.log(i);let j=!1,k=!1;const l=()=>e("core/editor").getEditedPostAttribute("status"),m=()=>e("core/editor").getEditedPostAttribute(h);var n=document.getElementById("editor");n.addEventListener("click",a=>{c(a)},!0);let o=i[6],p=i[2];d(o,p),g(()=>{const a=l(),b=a!==o;o=a;const c=m();if(void 0!==c){const a=c.length!==p;p=c.length,(a||b)&&d(o,p)}})};function clear_errblock(a){let b=document.getElementById("err-"+a);null===b||b.classList.contains("hidden")||(b.classList.add("hidden"),b.getElementsByTagName("p")[0].innerHTML="")}function set_errblock(a,b){let c=document.getElementById("err-"+a);null!==c&&(c.classList.contains("hidden")&&c.classList.remove("hidden"),c.getElementsByTagName("p")[0].innerHTML=b)}function proc_qe_tax_cntl(a,b){let c=event.target.tagName.toLowerCase(),d=event.target.classList;if(("button"!==c||d.contains("editinline")||d.contains("save"))&&("option"!==c||"_status"===event.target.parentNode.name)&&("input"!==c||event.target.name==="tax_input["+a+"][]")&&("textarea"!==c||d.contains("tax_input_"+a))){let d=document.getElementsByClassName("inline-edit-row");for(let f of d){if("edit-"!==f.id.substring(0,5))continue;const d=get_cntl(a);var e;if("option"===c)e=event.target.value,qe_error_clear_msg(f,a);else{const a=f.getElementsByClassName("inline-edit-status")[0];e=a.getElementsByTagName("select")[0].value}if("new"===e||"auto-draft"===e||"trash"===e)return;if(1===d[1]&&"publish"!==e&&"future"!==e)return;let g=0;if(b){let b=f.getElementsByClassName(a+"-checklist"),c=b[0].getElementsByTagName("input");for(let a of c)a.checked&&g++}else{let b=f.getElementsByClassName("tax_input_"+a),c=b[0].value;g=0===c.length?0:(c.match(/,/g)||[]).length+1}let h=!1;null!==d[2]&&g<d[2]&&(qe_error_set_msg(f,a,d[3]),h=!0),null!==d[4]&&g>d[4]&&(qe_error_set_msg(f,a,d[5]),h=!0),h||qe_error_clear_msg(f,a)}}}function dom_qe_cntl_check(a,b){const c=document.getElementById("the-list");c.parentElement.addEventListener("click",()=>{proc_qe_tax_cntl(a,b)}),c.parentElement.addEventListener("focusout",()=>{proc_qe_tax_cntl(a,b)})}1 let tax_msgs=[];function get_msg(a){for(const b of tax_msgs)if(b[0]===a)return b}function chk_radio_client(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input"),d=!1;for(let b of c)"checkbox"===b.type&&(b.type="radio",b.setAttribute("role","radio"),b.addEventListener("click",()=>{adj_radio_client(a,b.value)}),b.addEventListener("keypress",()=>{adj_radio_client(a,b.value)}),d=!0);d&&hier_cntl_check(a)}function adj_radio_client(a,b){let c=document.getElementById("taxonomy-"+a),d=c.getElementsByTagName("input");for(let c in d)d[c].checked=!1,d[c].value===b&&(d[c].checked=!0)}function dom_radio_client(a){chk_radio_client(a);let b=document.getElementById(a+"-pop");b.setAttribute("role","radiogroup");let c=document.getElementById(a+"-all");c.setAttribute("role","radiogroup");let d=document.getElementById(a+"-add-submit");d.addEventListener("click",()=>{adj_radio_client(a,-1)}),d.addEventListener("keypress",()=>{adj_radio_client(a,-1)});const e=document.getElementById(a+"-all"),f=new MutationObserver(function(){chk_radio_client(a)});f.observe(e,{childList:!0,subtree:!0})}function qe_error_set_msg(a,b,c){let d=a.getElementsByClassName("notice-error");if(d){for(let e of d)if(e.classList.contains(b+"-err")){e.classList.contains("hidden")&&e.classList.remove("hidden");let b=e.getElementsByTagName("p");return b[0].innerHTML=c,void a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}let e=document.createElement("div");e.classList.add("notice","notice-error","notice-alt","inline","staxo",b+"-err");let f=document.createElement("p");f.classList.add("error"),f.innerHTML=c,e.appendChild(f);let g=a.getElementsByClassName("submit");g[0].appendChild(e),a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}}function qe_error_clear_msg(a,b){let c=a.getElementsByClassName("notice-error");if(c){all_hidden=!0;for(let a of c)if(a.classList.contains(b+"-err")){a.classList.contains("hidden")||a.classList.add("hidden");let b=a.getElementsByTagName("p");b[0].innerHTML=""}else a.classList.contains("staxo")&&!a.classList.contains("hidden")&&(all_hidden=!1);all_hidden&&a.getElementsByClassName("save")[0].removeAttribute("disabled")}}function chk_qe_radio_client(a){let b=event.target.tagName.toLowerCase(),c=event.target.classList;if(("button"!==b||c.contains("editinline")||c.contains("save"))&&("option"!==b||"_status"===event.target.parentNode.name)&&("input"!==b||event.target.name==="tax_input["+a+"][]")){let c=document.getElementsByClassName("inline-edit-row");for(let e of c){if("edit-"!==e.id.substring(0,5))continue;let c=document.getElementById("post-"+e.id.substring(5)),f=c.getElementsByClassName("taxonomy-"+a),g=f[0].getElementsByTagName("a").length,h=get_msg(a),i=e.getElementsByClassName(a+"-checklist");2>g&&i[0].setAttribute("role","radiogroup");let j=i[0].getElementsByTagName("input"),k=0;for(let a of j)a.checked&&k++,2>g&&"checkbox"===a.type&&(a.type="radio",a.setAttribute("role","radio"));var d;if("option"===b)d=event.target.value,qe_error_clear_msg(e,a);else{const a=e.getElementsByClassName("inline-edit-status")[0];d=a.getElementsByTagName("select")[0].value}if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===h[1]&&"publish"!==d&&"future"!==d)return;if(1<k)qe_error_set_msg(e,a,h[5]);else if(0===k)qe_error_set_msg(e,a,h[3]);else return void qe_error_clear_msg(e,a)}}}function rst_qe_radio_client(a){if("button"===event.target.tagName.toLowerCase()){let b=document.getElementsByClassName("inline-edit-row");for(let c of b){if("edit-"!==c.id.substring(0,5))continue;chk_qe_radio_client(a);let b=c.getElementsByClassName(a+"-checklist");b[0].removeAttribute("role");let d=b[0].getElementsByTagName("input");for(let a of d)"radio"===a.type&&(a.type="checkbox",a.removeAttribute("role"))}}}function dom_qe_radio_client(a){const b=document.getElementById("the-list");b.parentElement.addEventListener("click",()=>{chk_qe_radio_client(a)}),b.parentElement.addEventListener("keypress",()=>{chk_qe_radio_client(a)});const c=b.getElementsByTagName("tr");for(let b of c){let c=b.id.match(/[0-9]+$/g)[0];b.addEventListener("click",()=>{rst_qe_radio_client(a,c)})}}var tax_cntl=[];function get_cntl(a){for(const b of tax_cntl)if(b[0]===a)return b}function hier_tax_count(a){let b,c,d=document.getElementById("taxonomy-"+a),e=d.getElementsByTagName("input"),f=[];for(b in e)e[b].checked&&(c=e[b].value,0<c&&!f.includes(c)&&f.splice(0,0,c));return f.length}function hier_cntl_check(a,b=!1){const c=get_cntl(a),d=document.getElementById("post_status").value;if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===c[1]&&"publish"!==d&&"future"!==d)return;let e=hier_tax_count(a),f=!1;null!==c[2]&&e<c[2]&&(set_errblock(a,c[3]),f=!0),null!==c[4]&&e>c[4]&&(set_errblock(a,c[5]),f=!0),f||clear_errblock(a),f&&b&&(event.stopPropagation(),event.preventDefault())}function dom_hier_cntl_check(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input");for(let b of c)b.addEventListener("click",()=>{hier_cntl_check(a)}),b.addEventListener("blur",()=>{hier_cntl_check(a)});document.getElementById("publish").addEventListener("click",()=>{hier_cntl_check(a,!0)});var d=document.getElementById("save-post");d&&(d.addEventListener("click",()=>{hier_cntl_check(a,!0)}),d.addEventListener("keypress",()=>{hier_cntl_check(a,!0)}))}function tag_tax_count(a){const b=document.getElementById(a),c=b.getElementsByTagName("ul")[0];return c.getElementsByTagName("li").length}function tag_cntl_check(a,b=!1){var c=document.getElementById("post_status").value;if("new"===c||"auto-draft"===c||"trash"===c)return;const d=get_cntl(a);if(1===d[1]&&"publish"!==c&&"future"!==c)return;document.getElementById("new-tag-"+a).removeAttribute("readonly"),document.getElementById("link-"+a).removeAttribute("disabled");let e=document.getElementById("tagcloud-"+a);null!==e&&e.removeAttribute("disabled");let f=tag_tax_count(a),g=!1;null!==d[2]&&f<d[2]&&(set_errblock(a,d[3]),g=!0),null!==d[4]&&(f>=d[4]&&(document.getElementById("new-tag-"+a).setAttribute("readonly","readonly"),document.getElementById("link-"+a).setAttribute("disabled","disabled"),null!==e&&e.setAttribute("disabled","disabled")),f>d[4]&&(set_errblock(a,d[5]),g=!0)),g||clear_errblock(a);1===d[2]&&1===d[4]&&0<=f&&2>=f&&!b||g&&(event.stopPropagation(),event.preventDefault())}function dom_tag_cntl_check(a){,{childList:!0,subtree:!0})}let block_limit=function(a,b){function c(a){if("button"===a.target.tagName.toLowerCase()){var b=a.target.className,c=b.includes("editor-post-publish-button__button");c&&(k||j)&&(alert("Cannot Publish due to taxonomy restrictions"),a.stopPropagation(),a.preventDefault(),a.target.disabled=!0)}}function d(a,b){let c=1===i[1]?["publish","future"].includes(a):!["new","auto-draft","trash"].includes(a),d=["publish","future"].includes(a),e="";if(null!==i[2]&&b<i[2]&&(e=i[3]),null!==i[4]&&b>i[4]&&(e=i[5]),c&&e){var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!0),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!0),f("core/notices").createNotice("error",e,{id:"str_notice_"+h,isDismissible:!1}),d||j||(j=!0,f("core/editor").lockPostSaving("str_"+h+"_lock")),!k){k=!0;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!0),f("core/edit-post").disablePublishSidebar,f("core/editor").isPublishable=!1}}else{var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!1),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!1),f("core/notices").removeNotice("str_notice_"+h),j&&(j=!1,f("core/editor").unlockPostSaving("str_"+h+"_lock")),k){k=!1;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!1),f("core/edit-post").enablePublishSidebar}}}const{select:e,dispatch:f,subscribe:g}=a.data,h=b,i=get_cntl(h);console.log(i);let j=!1,k=!1;const l=()=>e("core/editor").getEditedPostAttribute("status"),m=()=>e("core/editor").getEditedPostAttribute(h);var n=document.getElementById("editor");n.addEventListener("click",a=>{c(a)},!0);let o=i[6],p=i[2];d(o,p),g(()=>{const a=l(),b=a!==o;o=a;const c=m();if(void 0!==c){const a=c.length!==p;p=c.length,(a||b)&&d(o,p)}})};function clear_errblock(a){let b=document.getElementById("err-"+a);null===b||b.classList.contains("hidden")||(b.classList.add("hidden"),b.getElementsByTagName("p")[0].innerHTML="")}function set_errblock(a,b){let c=document.getElementById("err-"+a);null!==c&&(c.classList.contains("hidden")&&c.classList.remove("hidden"),c.getElementsByTagName("p")[0].innerHTML=b)}function proc_qe_tax_cntl(a,b){let c=event.target.tagName.toLowerCase(),d=event.target.classList;if(("button"!==c||d.contains("editinline")||d.contains("save"))&&("option"!==c||"_status"===event.target.parentNode.name)&&("input"!==c||event.target.name==="tax_input["+a+"][]")&&("textarea"!==c||d.contains("tax_input_"+a))){let d=document.getElementsByClassName("inline-edit-row");for(let f of d){if("edit-"!==f.id.substring(0,5))continue;const d=get_cntl(a);var e;if("option"===c)e=event.target.value,qe_error_clear_msg(f,a);else{const a=f.getElementsByClassName("inline-edit-status")[0];e=a.getElementsByTagName("select")[0].value}if("new"===e||"auto-draft"===e||"trash"===e)return;if(1===d[1]&&"publish"!==e&&"future"!==e)return;let g=0;if(b){let b=f.getElementsByClassName(a+"-checklist"),c=b[0].getElementsByTagName("input");for(let a of c)a.checked&&g++}else{let b=f.getElementsByClassName("tax_input_"+a),c=b[0].value;g=0===c.length?0:(c.match(/,/g)||[]).length+1}let h=!1;null!==d[2]&&g<d[2]&&(qe_error_set_msg(f,a,d[3]),h=!0),null!==d[4]&&g>d[4]&&(qe_error_set_msg(f,a,d[5]),h=!0),h||qe_error_clear_msg(f,a)}}}function dom_qe_cntl_check(a,b){const c=document.getElementById("the-list");c.parentElement.addEventListener("click",()=>{proc_qe_tax_cntl(a,b)}),c.parentElement.addEventListener("focusout",()=>{proc_qe_tax_cntl(a,b)})} -
simple-taxonomy-refreshed/trunk/languages/simple-taxonomy-refreshed.pot
r2820062 r2897279 1 # Copyright (C) 202 2 simple-taxonomy-refreshed 3.0.02 # This file is distributed under the same license as the simple-taxonomy-refreshed 3. 0.0 package.1 # Copyright (C) 202.0 2 # This file is distributed under the same license as the simple-taxonomy-refreshed 3..0 package. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: simple-taxonomy-refreshed 3. 0.0\n"5 "Project-Id-Version: simple-taxonomy-refreshed 3..0\n" 6 6 "MIME-Version: 1.0\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 202 2-11-17 20:26+0000\n"9 "POT-Creation-Date: 202+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" … … 207 207 msgstr "" 208 208 209 #: includes/class-simpletaxonomyrefreshed-admin-conversion.php:390, includes/class-simpletaxonomyrefreshed-admin-merge.php:541, includes/class-simpletaxonomyrefreshed-admin.php:3 154209 #: includes/class-simpletaxonomyrefreshed-admin-conversion.php:390, includes/class-simpletaxonomyrefreshed-admin-merge.php:541, includes/class-simpletaxonomyrefreshed-admin.php:3 210 210 msgid "False" 211 211 msgstr "" 212 212 213 #: includes/class-simpletaxonomyrefreshed-admin-conversion.php:391, includes/class-simpletaxonomyrefreshed-admin-merge.php:542, includes/class-simpletaxonomyrefreshed-admin.php:3 155213 #: includes/class-simpletaxonomyrefreshed-admin-conversion.php:391, includes/class-simpletaxonomyrefreshed-admin-merge.php:542, includes/class-simpletaxonomyrefreshed-admin.php:3 214 214 msgid "True" 215 215 msgstr "" … … 687 687 msgstr "" 688 688 689 #: includes/class-simpletaxonomyrefreshed-admin.php:2 61, includes/class-simpletaxonomyrefreshed-admin.php:668689 #: includes/class-simpletaxonomyrefreshed-admin.php:2, includes/class-simpletaxonomyrefreshed-admin.php:668 690 690 msgid "Custom Taxonomies" 691 691 msgstr "" 692 692 693 #: includes/class-simpletaxonomyrefreshed-admin.php:2 61693 #: includes/class-simpletaxonomyrefreshed-admin.php:2 694 694 msgid "Taxonomies" 695 695 msgstr "" 696 696 697 #: includes/class-simpletaxonomyrefreshed-admin.php:26 2, includes/class-simpletaxonomyrefreshed-admin.php:262697 #: includes/class-simpletaxonomyrefreshed-admin.php:26 698 698 msgid "All Taxonomies" 699 699 msgstr "" 700 700 701 #: includes/class-simpletaxonomyrefreshed-admin.php:26 3, includes/class-simpletaxonomyrefreshed-admin.php:263701 #: includes/class-simpletaxonomyrefreshed-admin.php:26 702 702 msgid "Add Taxonomy" 703 703 msgstr "" 704 704 705 706 707 708 709 710 711 712 705 713 #: includes/class-simpletaxonomyrefreshed-admin.php:285 706 msgid " Taxonomy List"714 msgid "" 707 715 msgstr "" 708 716 709 717 #: includes/class-simpletaxonomyrefreshed-admin.php:286 710 msgid " This displays all the Taxonomies that are managed bythis plugin."718 msgid " this plugin." 711 719 msgstr "" 712 720 713 721 #: includes/class-simpletaxonomyrefreshed-admin.php:287 714 msgid "It shows two blocks: Custom and External."722 msgid "It shows ." 715 723 msgstr "" 716 724 717 725 #: includes/class-simpletaxonomyrefreshed-admin.php:288 718 msgid " Custom Taxonomies are the taxonomies that are defined and created using this plugin."726 msgid "." 719 727 msgstr "" 720 728 721 729 #: includes/class-simpletaxonomyrefreshed-admin.php:289 722 msgid " It shows all properties of the taxonomy - and allows you to extract the code that defines the taxonomy entities."730 msgid "." 723 731 msgstr "" 724 732 725 733 #: includes/class-simpletaxonomyrefreshed-admin.php:290 726 msgid " You can add a new taxonomy or modify an existing an existing taxonomy with a new window."734 msgid "." 727 735 msgstr "" 728 736 729 737 #: includes/class-simpletaxonomyrefreshed-admin.php:291 730 msgid " External Taxonomies are taxonomies that have been created by standard WordPress itself or other plugins that you have installed."738 msgid "" 731 739 msgstr "" 732 740 733 741 #: includes/class-simpletaxonomyrefreshed-admin.php:292 734 msgid " Whilst you are unable to change their definition with this plugin, you can add the additional functionality with this plugin to these external taxonomies."742 msgid "axonomies." 735 743 msgstr "" 736 744 737 745 #: includes/class-simpletaxonomyrefreshed-admin.php:293 738 msgid "T axonomy Definition"746 msgid "T" 739 747 msgstr "" 740 748 741 749 #: includes/class-simpletaxonomyrefreshed-admin.php:294 742 msgid " This applies only to Custom Taxonomies."750 msgid "." 743 751 msgstr "" 744 752 745 753 #: includes/class-simpletaxonomyrefreshed-admin.php:295 746 msgid " There are very many parameters to control the operation of the Taxonomy and seven tabs have been provided to enter them all. Since a major objective of the plugin is to avoid the user having to write code, all these parameters have been made available."754 msgid "." 747 755 msgstr "" 748 756 749 757 #: includes/class-simpletaxonomyrefreshed-admin.php:296 750 msgid " As these parameters are for underlying WordPress functionality, you should read the WordPress documentation to understand their purpose and action."758 msgid "." 751 759 msgstr "" 752 760 753 761 #: includes/class-simpletaxonomyrefreshed-admin.php:297 754 msgid " You need to enter the Name (slug), whether it is Hierarchical or not and the post type(s) it will be linked to on the Main Options tab and the Name (label) on the Labels tab. Most of the others can be left as their default value - expect possibly the labels."762 msgid "." 755 763 msgstr "" 756 764 757 765 #: includes/class-simpletaxonomyrefreshed-admin.php:298 758 msgid " WP 5.5 brings the possibility to add a default term for all objects defined from the taxonomy. This may be entered on the Other tab. The slug and description can also be entered here and used to create the term."766 msgid "." 759 767 msgstr "" 760 768 761 769 #: includes/class-simpletaxonomyrefreshed-admin.php:299 762 msgid "By default the terms do not appear with the post. The options at the bottom of the Main Options screen allow you to output the attached terms with the post content and/or excerpt information."763 msgstr ""764 765 #: includes/class-simpletaxonomyrefreshed-admin.php:300766 msgid "For greater control on positioning, you can also display these terms with a shortcode <code>staxo_post_terms</code> or plugin block <code>post_terms</code>."767 msgstr ""768 769 #: includes/class-simpletaxonomyrefreshed-admin.php:301770 770 msgid "When done, simply click <code>Add Taxonomy</code> or <code>Update Taxonomy</code> at the bottom to save your changes" 771 771 msgstr "" 772 772 773 #: includes/class-simpletaxonomyrefreshed-admin.php:30 2, includes/class-simpletaxonomyrefreshed-admin.php:1037, includes/class-simpletaxonomyrefreshed-admin.php:1035773 #: includes/class-simpletaxonomyrefreshed-admin.php:30 774 774 msgid "WPGraphQL" 775 775 msgstr "" 776 776 777 #: includes/class-simpletaxonomyrefreshed-admin.php:30 3, includes/class-simpletaxonomyrefreshed-admin.php:307, includes/class-simpletaxonomyrefreshed-admin.php:312, includes/class-simpletaxonomyrefreshed-admin.php:317777 #: includes/class-simpletaxonomyrefreshed-admin.php:30 778 778 msgid "Extra taxonomy-related functionality." 779 779 msgstr "" 780 780 781 #: includes/class-simpletaxonomyrefreshed-admin.php:30 4781 #: includes/class-simpletaxonomyrefreshed-admin.php:30 782 782 msgid "These parameters are for sites that have implemented WPGraphQL; and are not relevant if the plugin is not installed." 783 783 msgstr "" 784 784 785 #: includes/class-simpletaxonomyrefreshed-admin.php:30 5785 #: includes/class-simpletaxonomyrefreshed-admin.php:30 786 786 msgid "They are provided in the spirit of supporting no-coding. There is no requirement for this plugin." 787 787 msgstr "" 788 788 789 #: includes/class-simpletaxonomyrefreshed-admin.php:30 6, includes/class-simpletaxonomyrefreshed-admin.php:1039, includes/class-simpletaxonomyrefreshed-admin.php:1655789 #: includes/class-simpletaxonomyrefreshed-admin.php:30 790 790 msgid "Admin List Filter" 791 791 msgstr "" 792 792 793 794 795 796 797 798 799 800 793 801 #: includes/class-simpletaxonomyrefreshed-admin.php:308 794 msgid "The admin screen for post types can optionally have a dropdown filter to select posts using the taxonomy."795 msgstr ""796 797 #: includes/class-simpletaxonomyrefreshed-admin.php:309798 msgid "This tab allows the taxonomy parameters to be entered appropriately for your use."799 msgstr ""800 801 #: includes/class-simpletaxonomyrefreshed-admin.php:310802 802 msgid "This provides appropriate subset of parmeters the standard WordPress functionality (wp_dropdown_categories)." 803 803 msgstr "" 804 804 805 #: includes/class-simpletaxonomyrefreshed-admin.php:3 11, includes/class-simpletaxonomyrefreshed-admin.php:1040, includes/class-simpletaxonomyrefreshed-admin.php:1735805 #: includes/class-simpletaxonomyrefreshed-admin.php:3 806 806 msgid "Term Count" 807 807 msgstr "" 808 808 809 810 811 812 813 814 815 816 809 817 #: includes/class-simpletaxonomyrefreshed-admin.php:313 810 msgid "Standard WordPress functionality provides a count of the posts using a term on the Taxonomy Terms page - and this count is for only Published posts."811 msgstr ""812 813 #: includes/class-simpletaxonomyrefreshed-admin.php:314814 msgid "You may want this count to include posts with other statuses. You can set this behaviour on this tab."815 msgstr ""816 817 #: includes/class-simpletaxonomyrefreshed-admin.php:315818 818 msgid "If you have additional non-standard post_statuses that you wish to be included, this can be done, but it will require coding and use of the filter 'staxo_term_count_statuses'." 819 819 msgstr "" 820 820 821 #: includes/class-simpletaxonomyrefreshed-admin.php:31 6, includes/class-simpletaxonomyrefreshed-admin.php:1041, includes/class-simpletaxonomyrefreshed-admin.php:1790821 #: includes/class-simpletaxonomyrefreshed-admin.php:31 822 822 msgid "Term Control" 823 823 msgstr "" 824 824 825 826 827 828 829 830 831 832 825 833 #: includes/class-simpletaxonomyrefreshed-admin.php:318 826 msgid " Standard WordPress functionality provides no limits on the number of terms that can be attached to a post."834 msgid "." 827 835 msgstr "" 828 836 829 837 #: includes/class-simpletaxonomyrefreshed-admin.php:319 830 msgid "Th is functionality provides this control. Using this tab, upper and lower bounds may be set for either Published posts or all posts."838 msgid "Ths." 831 839 msgstr "" 832 840 833 841 #: includes/class-simpletaxonomyrefreshed-admin.php:320 834 msgid " The tests will be applied at save post time (soft); or also when the terms are added or removed (hard)."835 msgstr "" 836 837 #: includes/class-simpletaxonomyrefreshed-admin.php:3 21838 msgid " Thus a user who can edit a post may not be able to add or remove terms but can be notified of the issue and make other updates."842 msgid "." 843 msgstr "" 844 845 #: includes/class-simpletaxonomyrefreshed-admin.php:3 846 msgid "" 839 847 msgstr "" 840 848 841 849 #: includes/class-simpletaxonomyrefreshed-admin.php:351 842 msgid "Github Project page"843 msgstr ""844 845 #: includes/class-simpletaxonomyrefreshed-admin.php:352846 850 msgid "WP Support Forum" 847 851 msgstr "" 848 852 849 853 #. translators: %s is the taxonomy label name. 850 #: includes/class-simpletaxonomyrefreshed-admin.php:38 4, includes/class-simpletaxonomyrefreshed-admin.php:392854 #: includes/class-simpletaxonomyrefreshed-admin.php:38 851 855 msgid "Your post needs to have more terms for the taxonomy - %s entered." 852 856 msgstr "" 853 857 854 858 #. translators: %s is the taxonomy label name. 855 #: includes/class-simpletaxonomyrefreshed-admin.php:38 8, includes/class-simpletaxonomyrefreshed-admin.php:395859 #: includes/class-simpletaxonomyrefreshed-admin.php:38 856 860 msgid "Your post needs to have less terms for taxonomy - %s." 857 861 msgstr "" 858 862 863 864 865 866 859 867 #: includes/class-simpletaxonomyrefreshed-admin.php:402 860 msgid "Your update has been cancelled and stored data remains unchanged."861 msgstr ""862 863 #: includes/class-simpletaxonomyrefreshed-admin.php:403864 868 msgid "Your browser may hold an updated version, but it is currently invalid." 865 869 msgstr "" 866 870 867 #: includes/class-simpletaxonomyrefreshed-admin.php:42 6871 #: includes/class-simpletaxonomyrefreshed-admin.php:42 868 872 msgid "Add Custom Taxonomy" 869 873 msgstr "" 870 874 871 #: includes/class-simpletaxonomyrefreshed-admin.php:42 3875 #: includes/class-simpletaxonomyrefreshed-admin.php:42 872 876 msgid "External Taxonomy : %s" 873 877 msgstr "" 874 878 875 #: includes/class-simpletaxonomyrefreshed-admin.php:4 20879 #: includes/class-simpletaxonomyrefreshed-admin.php:4 876 880 msgid "Custom Taxonomy : %s" 877 881 msgstr "" 878 882 879 #: includes/class-simpletaxonomyrefreshed-admin.php:43 4883 #: includes/class-simpletaxonomyrefreshed-admin.php:43 880 884 msgid "Add/Modify taxonomy" 881 885 msgstr "" 882 886 883 887 #. translators: %1$s is the taxonomy slug name. 884 #: includes/class-simpletaxonomyrefreshed-admin.php:58 8888 #: includes/class-simpletaxonomyrefreshed-admin.php:58 885 889 msgid "Taxonomy \"%1$s\" and relations deleted successfully !" 886 890 msgstr "" 887 891 888 892 #. translators: %1$s is the taxonomy slug name. 889 #: includes/class-simpletaxonomyrefreshed-admin.php:59 2893 #: includes/class-simpletaxonomyrefreshed-admin.php:59 890 894 msgid "Taxonomy \"%1$s\" deleted successfully !" 891 895 msgstr "" 892 896 893 897 #. translators: %1$s is the taxonomy slug name. 894 #: includes/class-simpletaxonomyrefreshed-admin.php:59 6898 #: includes/class-simpletaxonomyrefreshed-admin.php:59 895 899 msgid "Taxonomy \"%1$s\" added successfully !" 896 900 msgstr "" 897 901 898 902 #. translators: %1$s is the taxonomy slug name. 899 #: includes/class-simpletaxonomyrefreshed-admin.php: 600903 #: includes/class-simpletaxonomyrefreshed-admin.php: 900 904 msgid "Taxonomy \"%1$s\" updated successfully !" 901 905 msgstr "" … … 1000 1004 msgstr "" 1001 1005 1002 #: includes/class-simpletaxonomyrefreshed-admin.php:10 151006 #: includes/class-simpletaxonomyrefreshed-admin.php:10 1003 1007 msgid "Click on the tabs to see all the options and facilities available." 1004 1008 msgstr "" 1005 1009 1006 #: includes/class-simpletaxonomyrefreshed-admin.php:102 01010 #: includes/class-simpletaxonomyrefreshed-admin.php:102 1007 1011 msgid "The taxonomy is defined outside this plugin. These inputs are for integrating the taxonomy." 1008 1012 msgstr "" 1009 1013 1010 #: includes/class-simpletaxonomyrefreshed-admin.php:102 11014 #: includes/class-simpletaxonomyrefreshed-admin.php:102 1011 1015 msgid "Note that these functionalities may already be defined for the taxonomy. Please check before defining then here." 1012 1016 msgstr "" 1013 1017 1014 #: includes/class-simpletaxonomyrefreshed-admin.php:10 181018 #: includes/class-simpletaxonomyrefreshed-admin.php:10 1015 1019 msgid "The taxonomy definition options are spread across 7 tabs. The remaining 4 are for integrating the taxonomy." 1016 1020 msgstr "" 1017 1021 1018 #: includes/class-simpletaxonomyrefreshed-admin.php:10 28, includes/class-simpletaxonomyrefreshed-admin.php:10471022 #: includes/class-simpletaxonomyrefreshed-admin.php:10 1019 1023 msgid "Main Options" 1020 1024 msgstr "" 1021 1025 1022 #: includes/class-simpletaxonomyrefreshed-admin.php:10 29, includes/class-simpletaxonomyrefreshed-admin.php:11641026 #: includes/class-simpletaxonomyrefreshed-admin.php:10 1023 1027 msgid "Visibility" 1024 1028 msgstr "" 1025 1029 1026 #: includes/class-simpletaxonomyrefreshed-admin.php:103 01030 #: includes/class-simpletaxonomyrefreshed-admin.php:103 1027 1031 msgid "Labels" 1028 1032 msgstr "" 1029 1033 1030 #: includes/class-simpletaxonomyrefreshed-admin.php:103 1, includes/class-simpletaxonomyrefreshed-admin.php:14191034 #: includes/class-simpletaxonomyrefreshed-admin.php:103 1031 1035 msgid "Rewrite URL" 1032 1036 msgstr "" 1033 1037 1034 #: includes/class-simpletaxonomyrefreshed-admin.php:103 2, includes/class-simpletaxonomyrefreshed-admin.php:14801038 #: includes/class-simpletaxonomyrefreshed-admin.php:103 1035 1039 msgid "Permissions" 1036 1040 msgstr "" 1037 1041 1038 #: includes/class-simpletaxonomyrefreshed-admin.php:103 31042 #: includes/class-simpletaxonomyrefreshed-admin.php:103 1039 1043 msgid "REST" 1040 1044 msgstr "" 1041 1045 1042 #: includes/class-simpletaxonomyrefreshed-admin.php:103 41046 #: includes/class-simpletaxonomyrefreshed-admin.php:103 1043 1047 msgid "Other" 1044 1048 msgstr "" 1045 1049 1046 #: includes/class-simpletaxonomyrefreshed-admin.php:105 21050 #: includes/class-simpletaxonomyrefreshed-admin.php:105 1047 1051 msgid "Name (slug)" 1048 1052 msgstr "" 1049 1053 1050 #: includes/class-simpletaxonomyrefreshed-admin.php:106 41054 #: includes/class-simpletaxonomyrefreshed-admin.php:106 1051 1055 msgid "<strong>Name</strong> is used on DB and to register taxonomy. (Lowercase alphanumeric and _ characters only)" 1052 1056 msgstr "" 1053 1057 1054 #: includes/class-simpletaxonomyrefreshed-admin.php:107 0, includes/class-simpletaxonomyrefreshed-admin.php:1444, includes/class-simpletaxonomyrefreshed-admin.php:17001058 #: includes/class-simpletaxonomyrefreshed-admin.php:107 1055 1059 msgid "Hierarchical ?" 1056 1060 msgstr "" 1057 1061 1058 #: includes/class-simpletaxonomyrefreshed-admin.php:108 11062 #: includes/class-simpletaxonomyrefreshed-admin.php:108 1059 1063 msgid "The default hierarchical in WordPress are categories. Default post tags WP aren't hierarchical." 1060 1064 msgstr "" 1061 1065 1062 #: includes/class-simpletaxonomyrefreshed-admin.php:10 85, includes/class-simpletaxonomyrefreshed-admin.php:16671066 #: includes/class-simpletaxonomyrefreshed-admin.php:107 1063 1067 msgid "Post types" 1064 1068 msgstr "" 1065 1069 1066 #: includes/class-simpletaxonomyrefreshed-admin.php:11 051070 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1067 1071 msgid "Select which builtin or custom post types will use this taxonomy." 1068 1072 msgstr "" 1069 1073 1070 #: includes/class-simpletaxonomyrefreshed-admin.php:11 09, includes/class-simpletaxonomyrefreshed-admin.php:21061074 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1071 1075 msgid "Display Terms with Posts" 1072 1076 msgstr "" 1073 1077 1074 #: includes/class-simpletaxonomyrefreshed-admin.php:11 181078 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1075 1079 msgid "Option to display the terms on the Post page with associated data" 1076 1080 msgstr "" 1077 1081 1078 #: includes/class-simpletaxonomyrefreshed-admin.php:112 21082 #: includes/class-simpletaxonomyrefreshed-admin.php:112 1079 1083 msgid "The following three parameters are only needed if taxonomy is displayed" 1080 1084 msgstr "" 1081 1085 1082 #: includes/class-simpletaxonomyrefreshed-admin.php:112 31086 #: includes/class-simpletaxonomyrefreshed-admin.php:112 1083 1087 msgid "They can take the form of either simple text or as html data such as list tags. But all three need to be consistent types" 1084 1088 msgstr "" 1085 1089 1086 #: includes/class-simpletaxonomyrefreshed-admin.php:11 29, includes/class-simpletaxonomyrefreshed-admin.php:21081090 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1087 1091 msgid "Display Terms Before text" 1088 1092 msgstr "" 1089 1093 1090 #: includes/class-simpletaxonomyrefreshed-admin.php:113 01094 #: includes/class-simpletaxonomyrefreshed-admin.php:113 1091 1095 msgid "This text will be used before the Post terms display list" 1092 1096 msgstr "" 1093 1097 1094 #: includes/class-simpletaxonomyrefreshed-admin.php:113 11098 #: includes/class-simpletaxonomyrefreshed-admin.php:113 1095 1099 msgid "Simple text will be trimmed and a single space output after this." 1096 1100 msgstr "" 1097 1101 1098 #: includes/class-simpletaxonomyrefreshed-admin.php:113 2, includes/class-simpletaxonomyrefreshed-admin.php:1140, includes/class-simpletaxonomyrefreshed-admin.php:11481102 #: includes/class-simpletaxonomyrefreshed-admin.php:113 1099 1103 msgid "Will also be used with the shortcode and post_terms block." 1100 1104 msgstr "" 1101 1105 1102 #: includes/class-simpletaxonomyrefreshed-admin.php:11 371106 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1103 1107 msgid "Display Terms Separator text" 1104 1108 msgstr "" 1105 1109 1106 #: includes/class-simpletaxonomyrefreshed-admin.php:11 381110 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1107 1111 msgid "This text will be used as the separator between the Post terms in the display list" 1108 1112 msgstr "" 1109 1113 1110 #: includes/class-simpletaxonomyrefreshed-admin.php:11 391114 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1111 1115 msgid "By default, it will consist of a comma followed by a space." 1112 1116 msgstr "" 1113 1117 1114 #: includes/class-simpletaxonomyrefreshed-admin.php:11 45, includes/class-simpletaxonomyrefreshed-admin.php:21101118 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1115 1119 msgid "Display Terms After text" 1116 1120 msgstr "" 1117 1121 1118 #: includes/class-simpletaxonomyrefreshed-admin.php:11 461122 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1119 1123 msgid "This text will be used after the Post terms display list" 1120 1124 msgstr "" 1121 1125 1122 #: includes/class-simpletaxonomyrefreshed-admin.php:11 471126 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1123 1127 msgid "Simple text will be trimmed and a single space output before this." 1124 1128 msgstr "" 1125 1129 1126 #: includes/class-simpletaxonomyrefreshed-admin.php:115 31130 #: includes/class-simpletaxonomyrefreshed-admin.php:115 1127 1131 msgid "Show in feeds ?" 1128 1132 msgstr "" 1129 1133 1130 #: includes/class-simpletaxonomyrefreshed-admin.php:115 41134 #: includes/class-simpletaxonomyrefreshed-admin.php:115 1131 1135 msgid "Whether taxonomy terms will be shown in post feeds" 1132 1136 msgstr "" 1133 1137 1134 #: includes/class-simpletaxonomyrefreshed-admin.php:117 11138 #: includes/class-simpletaxonomyrefreshed-admin.php:117 1135 1139 msgid "Public ?" 1136 1140 msgstr "" 1137 1141 1138 #: includes/class-simpletaxonomyrefreshed-admin.php:117 21142 #: includes/class-simpletaxonomyrefreshed-admin.php:117 1139 1143 msgid "Whether taxonomy queries can be performed from the front page." 1140 1144 msgstr "" 1141 1145 1142 #: includes/class-simpletaxonomyrefreshed-admin.php:11 771146 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1143 1147 msgid "Publicly Queryable ?" 1144 1148 msgstr "" 1145 1149 1146 #: includes/class-simpletaxonomyrefreshed-admin.php:11 781150 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1147 1151 msgid "Whether the taxonomy is publicly queryable." 1148 1152 msgstr "" 1149 1153 1150 #: includes/class-simpletaxonomyrefreshed-admin.php:118 31154 #: includes/class-simpletaxonomyrefreshed-admin.php:118 1151 1155 msgid "Display on admin ?" 1152 1156 msgstr "" 1153 1157 1154 #: includes/class-simpletaxonomyrefreshed-admin.php:118 41158 #: includes/class-simpletaxonomyrefreshed-admin.php:118 1155 1159 msgid "Whether to generate and allow a UI for managing terms in this taxonomy in the admin." 1156 1160 msgstr "" 1157 1161 1158 #: includes/class-simpletaxonomyrefreshed-admin.php:11 891162 #: includes/class-simpletaxonomyrefreshed-admin.php:11 1159 1163 msgid "Show in Menu ?" 1160 1164 msgstr "" 1161 1165 1162 #: includes/class-simpletaxonomyrefreshed-admin.php:119 01166 #: includes/class-simpletaxonomyrefreshed-admin.php:119 1163 1167 msgid "Whether to show the taxonomy in the admin menu. If true, the taxonomy is shown as a submenu of the object type menu. If false, no menu is shown." 1164 1168 msgstr "" 1165 1169 1166 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1951170 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1167 1171 msgid "Show in nav menu ?" 1168 1172 msgstr "" 1169 1173 1170 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1961174 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1171 1175 msgid "Makes this taxonomy available for selection in navigation menus." 1172 1176 msgstr "" 1173 1177 1174 #: includes/class-simpletaxonomyrefreshed-admin.php:120 11178 #: includes/class-simpletaxonomyrefreshed-admin.php:120 1175 1179 msgid "Show in tag cloud widget ?" 1176 1180 msgstr "" 1177 1181 1178 #: includes/class-simpletaxonomyrefreshed-admin.php:120 21182 #: includes/class-simpletaxonomyrefreshed-admin.php:120 1179 1183 msgid "Put this setting to true for display this taxonomy on settings of tag cloud widget." 1180 1184 msgstr "" 1181 1185 1182 #: includes/class-simpletaxonomyrefreshed-admin.php:12 071186 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1183 1187 msgid "Display in Quick Edit panel ?" 1184 1188 msgstr "" 1185 1189 1186 #: includes/class-simpletaxonomyrefreshed-admin.php:12 081190 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1187 1191 msgid "Whether to show the taxonomy in the quick/bulk edit panel." 1188 1192 msgstr "" 1189 1193 1190 #: includes/class-simpletaxonomyrefreshed-admin.php:121 31194 #: includes/class-simpletaxonomyrefreshed-admin.php:121 1191 1195 msgid "Display a column on admin lists ?" 1192 1196 msgstr "" 1193 1197 1194 #: includes/class-simpletaxonomyrefreshed-admin.php:121 41198 #: includes/class-simpletaxonomyrefreshed-admin.php:121 1195 1199 msgid "Whether to display a column for the taxonomy on its post type admin listing screens." 1196 1200 msgstr "" 1197 1201 1198 #: includes/class-simpletaxonomyrefreshed-admin.php:12 191202 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1199 1203 msgid "Show in REST ?" 1200 1204 msgstr "" 1201 1205 1202 #: includes/class-simpletaxonomyrefreshed-admin.php:122 01206 #: includes/class-simpletaxonomyrefreshed-admin.php:122 1203 1207 msgid "Whether to include the taxonomy in the REST API and Block Editor." 1204 1208 msgstr "" 1205 1209 1206 #: includes/class-simpletaxonomyrefreshed-admin.php:122 41210 #: includes/class-simpletaxonomyrefreshed-admin.php:122 1207 1211 msgid "Show in REST needs to be set to TRUE for the taxonomy to appear in the Block Editor." 1208 1212 msgstr "" 1209 1213 1210 #: includes/class-simpletaxonomyrefreshed-admin.php:123 11214 #: includes/class-simpletaxonomyrefreshed-admin.php:123 1211 1215 msgid "Labels Wording" 1212 1216 msgstr "" 1213 1217 1214 #: includes/class-simpletaxonomyrefreshed-admin.php:12 391218 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1215 1219 msgid "Name (label)" 1216 1220 msgstr "" 1217 1221 1218 #: includes/class-simpletaxonomyrefreshed-admin.php:124 01222 #: includes/class-simpletaxonomyrefreshed-admin.php:124 1219 1223 msgid "This will be used as the taxonomy label." 1220 1224 msgstr "" 1221 1225 1222 #: includes/class-simpletaxonomyrefreshed-admin.php:12 451226 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1223 1227 msgid "Name Field Description" 1224 1228 msgstr "" 1225 1229 1226 #: includes/class-simpletaxonomyrefreshed-admin.php:12 461230 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1227 1231 msgid "The description of the name field." 1228 1232 msgstr "" 1229 1233 1230 #: includes/class-simpletaxonomyrefreshed-admin.php:125 11234 #: includes/class-simpletaxonomyrefreshed-admin.php:125 1231 1235 msgid "Menu Name" 1232 1236 msgstr "" 1233 1237 1234 #: includes/class-simpletaxonomyrefreshed-admin.php:125 21238 #: includes/class-simpletaxonomyrefreshed-admin.php:125 1235 1239 msgid "If not set this will default to the taxonomy label." 1236 1240 msgstr "" 1237 1241 1238 #: includes/class-simpletaxonomyrefreshed-admin.php:12 571242 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1239 1243 msgid "Singular Name" 1240 1244 msgstr "" 1241 1245 1242 #: includes/class-simpletaxonomyrefreshed-admin.php:126 31246 #: includes/class-simpletaxonomyrefreshed-admin.php:126 1243 1247 msgid "Search Terms" 1244 1248 msgstr "" 1245 1249 1246 #: includes/class-simpletaxonomyrefreshed-admin.php:12 691250 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1247 1251 msgid "Popular Terms" 1248 1252 msgstr "" 1249 1253 1250 #: includes/class-simpletaxonomyrefreshed-admin.php:12 751254 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1251 1255 msgid "All Terms" 1252 1256 msgstr "" 1253 1257 1254 #: includes/class-simpletaxonomyrefreshed-admin.php:128 11258 #: includes/class-simpletaxonomyrefreshed-admin.php:128 1255 1259 msgid "Parent Term" 1256 1260 msgstr "" 1257 1261 1258 #: includes/class-simpletaxonomyrefreshed-admin.php:12 871262 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1259 1263 msgid "Parent Term:" 1260 1264 msgstr "" 1261 1265 1262 #: includes/class-simpletaxonomyrefreshed-admin.php:12 881266 #: includes/class-simpletaxonomyrefreshed-admin.php:12 1263 1267 msgid "Parent Term with colon" 1264 1268 msgstr "" 1265 1269 1266 #: includes/class-simpletaxonomyrefreshed-admin.php:129 31270 #: includes/class-simpletaxonomyrefreshed-admin.php:129 1267 1271 msgid "Parent Term Field Description" 1268 1272 msgstr "" 1269 1273 1270 #: includes/class-simpletaxonomyrefreshed-admin.php:129 41274 #: includes/class-simpletaxonomyrefreshed-admin.php:129 1271 1275 msgid "These Description texts will appear in the term item entry screen." 1272 1276 msgstr "" 1273 1277 1274 #: includes/class-simpletaxonomyrefreshed-admin.php:130 01278 #: includes/class-simpletaxonomyrefreshed-admin.php:130 1275 1279 msgid "Slug Field Description" 1276 1280 msgstr "" 1277 1281 1278 #: includes/class-simpletaxonomyrefreshed-admin.php:13 061282 #: includes/class-simpletaxonomyrefreshed-admin.php:13 1279 1283 msgid "Descriptiom Field Description" 1280 1284 msgstr "" 1281 1285 1282 #: includes/class-simpletaxonomyrefreshed-admin.php:131 21286 #: includes/class-simpletaxonomyrefreshed-admin.php:131 1283 1287 msgid "Edit Term" 1284 1288 msgstr "" 1285 1289 1286 #: includes/class-simpletaxonomyrefreshed-admin.php:13 181290 #: includes/class-simpletaxonomyrefreshed-admin.php:13 1287 1291 msgid "View Term" 1288 1292 msgstr "" 1289 1293 1290 #: includes/class-simpletaxonomyrefreshed-admin.php:132 41294 #: includes/class-simpletaxonomyrefreshed-admin.php:132 1291 1295 msgid "Update Term" 1292 1296 msgstr "" 1293 1297 1294 #: includes/class-simpletaxonomyrefreshed-admin.php:133 01298 #: includes/class-simpletaxonomyrefreshed-admin.php:133 1295 1299 msgid "Add New Term" 1296 1300 msgstr "" 1297 1301 1298 #: includes/class-simpletaxonomyrefreshed-admin.php:13 361302 #: includes/class-simpletaxonomyrefreshed-admin.php:13 1299 1303 msgid "New Term Name" 1300 1304 msgstr "" 1301 1305 1302 #: includes/class-simpletaxonomyrefreshed-admin.php:134 21306 #: includes/class-simpletaxonomyrefreshed-admin.php:134 1303 1307 msgid "Separate terms with commas" 1304 1308 msgstr "" 1305 1309 1306 #: includes/class-simpletaxonomyrefreshed-admin.php:13 481310 #: includes/class-simpletaxonomyrefreshed-admin.php:13 1307 1311 msgid "Add or remove terms" 1308 1312 msgstr "" 1309 1313 1310 #: includes/class-simpletaxonomyrefreshed-admin.php:135 41314 #: includes/class-simpletaxonomyrefreshed-admin.php:135 1311 1315 msgid "Choose from the most used terms" 1312 1316 msgstr "" 1313 1317 1314 #: includes/class-simpletaxonomyrefreshed-admin.php:136 01318 #: includes/class-simpletaxonomyrefreshed-admin.php:136 1315 1319 msgid "No terms found" 1316 1320 msgstr "" 1317 1321 1318 #: includes/class-simpletaxonomyrefreshed-admin.php:13 661322 #: includes/class-simpletaxonomyrefreshed-admin.php:13 1319 1323 msgid "No terms" 1320 1324 msgstr "" 1321 1325 1322 #: includes/class-simpletaxonomyrefreshed-admin.php:137 21326 #: includes/class-simpletaxonomyrefreshed-admin.php:137 1323 1327 msgid "Items list navigation" 1324 1328 msgstr "" 1325 1329 1326 #: includes/class-simpletaxonomyrefreshed-admin.php:13 781330 #: includes/class-simpletaxonomyrefreshed-admin.php:13 1327 1331 msgid "Items list" 1328 1332 msgstr "" 1329 1333 1330 #: includes/class-simpletaxonomyrefreshed-admin.php:138 41334 #: includes/class-simpletaxonomyrefreshed-admin.php:138 1331 1335 msgid "Most used" 1332 1336 msgstr "" 1333 1337 1334 #: includes/class-simpletaxonomyrefreshed-admin.php:139 01338 #: includes/class-simpletaxonomyrefreshed-admin.php:139 1335 1339 msgid "Label displayed after a term has been updated" 1336 1340 msgstr "" 1337 1341 1338 #: includes/class-simpletaxonomyrefreshed-admin.php:1 3961342 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1339 1343 msgid "Related filter" 1340 1344 msgstr "" 1341 1345 1342 #: includes/class-simpletaxonomyrefreshed-admin.php:1 3971346 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1343 1347 msgid "The related filter is displayed at the top of list tables, but only for hierarchical taxonomies" 1344 1348 msgstr "" 1345 1349 1346 #: includes/class-simpletaxonomyrefreshed-admin.php:140 21350 #: includes/class-simpletaxonomyrefreshed-admin.php:140 1347 1351 msgid "Title for a navigation link block variation." 1348 1352 msgstr "" 1349 1353 1350 #: includes/class-simpletaxonomyrefreshed-admin.php:140 3, includes/class-simpletaxonomyrefreshed-admin.php:14091354 #: includes/class-simpletaxonomyrefreshed-admin.php:140 1351 1355 msgid "Used in the block editor." 1352 1356 msgstr "" 1353 1357 1354 #: includes/class-simpletaxonomyrefreshed-admin.php:14 081358 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1355 1359 msgid "Description for a navigation link block" 1356 1360 msgstr "" 1357 1361 1358 #: includes/class-simpletaxonomyrefreshed-admin.php:14 261362 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1359 1363 msgid "Rewrite ?" 1360 1364 msgstr "" 1361 1365 1362 #: includes/class-simpletaxonomyrefreshed-admin.php:14 271366 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1363 1367 msgid "Rewriting allows to build nice URL for your new custom taxonomy." 1364 1368 msgstr "" 1365 1369 1366 #: includes/class-simpletaxonomyrefreshed-admin.php:143 21370 #: includes/class-simpletaxonomyrefreshed-admin.php:143 1367 1371 msgid "Rewrite Slug" 1368 1372 msgstr "" 1369 1373 1370 #: includes/class-simpletaxonomyrefreshed-admin.php:143 31374 #: includes/class-simpletaxonomyrefreshed-admin.php:143 1371 1375 msgid "Customize the permastruct slug." 1372 1376 msgstr "" 1373 1377 1374 #: includes/class-simpletaxonomyrefreshed-admin.php:14 381378 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1375 1379 msgid "With Front ?" 1376 1380 msgstr "" 1377 1381 1378 #: includes/class-simpletaxonomyrefreshed-admin.php:14 391382 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1379 1383 msgid "Should the permastruct be prepended with WP_Rewrite::$front." 1380 1384 msgstr "" 1381 1385 1382 #: includes/class-simpletaxonomyrefreshed-admin.php:14 451386 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1383 1387 msgid "Either hierarchical rewrite tag or not." 1384 1388 msgstr "" 1385 1389 1386 #: includes/class-simpletaxonomyrefreshed-admin.php:14 491390 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1387 1391 msgid "EP_MASK" 1388 1392 msgstr "" 1389 1393 1390 #: includes/class-simpletaxonomyrefreshed-admin.php:145 31394 #: includes/class-simpletaxonomyrefreshed-admin.php:145 1391 1395 msgid "EP_NONE" 1392 1396 msgstr "" 1393 1397 1394 #: includes/class-simpletaxonomyrefreshed-admin.php:145 41398 #: includes/class-simpletaxonomyrefreshed-admin.php:145 1395 1399 msgid "EP_PERMALINK" 1396 1400 msgstr "" 1397 1401 1398 #: includes/class-simpletaxonomyrefreshed-admin.php:14 551402 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1399 1403 msgid "EP_ATTACHMENT" 1400 1404 msgstr "" 1401 1405 1402 #: includes/class-simpletaxonomyrefreshed-admin.php:14 561406 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1403 1407 msgid "EP_DATE" 1404 1408 msgstr "" 1405 1409 1406 #: includes/class-simpletaxonomyrefreshed-admin.php:14 571410 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1407 1411 msgid "EP_YEAR" 1408 1412 msgstr "" 1409 1413 1410 #: includes/class-simpletaxonomyrefreshed-admin.php:14 581414 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1411 1415 msgid "EP_MONTH" 1412 1416 msgstr "" 1413 1417 1414 #: includes/class-simpletaxonomyrefreshed-admin.php:14 591418 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1415 1419 msgid "EP_DAY" 1416 1420 msgstr "" 1417 1421 1418 #: includes/class-simpletaxonomyrefreshed-admin.php:146 01422 #: includes/class-simpletaxonomyrefreshed-admin.php:146 1419 1423 msgid "EP_ROOT" 1420 1424 msgstr "" 1421 1425 1422 #: includes/class-simpletaxonomyrefreshed-admin.php:146 11426 #: includes/class-simpletaxonomyrefreshed-admin.php:146 1423 1427 msgid "EP_COMMENTS" 1424 1428 msgstr "" 1425 1429 1426 #: includes/class-simpletaxonomyrefreshed-admin.php:146 21430 #: includes/class-simpletaxonomyrefreshed-admin.php:146 1427 1431 msgid "EP_SEARCH" 1428 1432 msgstr "" 1429 1433 1430 #: includes/class-simpletaxonomyrefreshed-admin.php:146 31434 #: includes/class-simpletaxonomyrefreshed-admin.php:146 1431 1435 msgid "EP_CATEGORIES" 1432 1436 msgstr "" 1433 1437 1434 #: includes/class-simpletaxonomyrefreshed-admin.php:146 41438 #: includes/class-simpletaxonomyrefreshed-admin.php:146 1435 1439 msgid "EP_TAGS" 1436 1440 msgstr "" 1437 1441 1438 #: includes/class-simpletaxonomyrefreshed-admin.php:14 651442 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1439 1443 msgid "EP_AUTHORS" 1440 1444 msgstr "" 1441 1445 1442 #: includes/class-simpletaxonomyrefreshed-admin.php:14 661446 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1443 1447 msgid "EP_PAGES" 1444 1448 msgstr "" 1445 1449 1446 #: includes/class-simpletaxonomyrefreshed-admin.php:14 691450 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1447 1451 msgid "Assign an endpoint mask." 1448 1452 msgstr "" 1449 1453 1450 #: includes/class-simpletaxonomyrefreshed-admin.php:147 01454 #: includes/class-simpletaxonomyrefreshed-admin.php:147 1451 1455 msgid "N.B. Use CTRL or Mac Cmd to select multiple entries." 1452 1456 msgstr "" 1453 1457 1454 #: includes/class-simpletaxonomyrefreshed-admin.php:14 871458 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1455 1459 msgid "Manage terms" 1456 1460 msgstr "" 1457 1461 1458 #: includes/class-simpletaxonomyrefreshed-admin.php:14 881462 #: includes/class-simpletaxonomyrefreshed-admin.php:14 1459 1463 msgid "Ability to view terms in the administration. Defaults to 'manage_categories'." 1460 1464 msgstr "" 1461 1465 1462 #: includes/class-simpletaxonomyrefreshed-admin.php:149 31466 #: includes/class-simpletaxonomyrefreshed-admin.php:149 1463 1467 msgid "Edit terms" 1464 1468 msgstr "" 1465 1469 1466 #: includes/class-simpletaxonomyrefreshed-admin.php:149 41470 #: includes/class-simpletaxonomyrefreshed-admin.php:149 1467 1471 msgid "Grants the ability to edit and create terms. Defaults to 'manage_categories'" 1468 1472 msgstr "" 1469 1473 1470 #: includes/class-simpletaxonomyrefreshed-admin.php:1 4991474 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1471 1475 msgid "Delete terms" 1472 1476 msgstr "" 1473 1477 1474 #: includes/class-simpletaxonomyrefreshed-admin.php:150 01478 #: includes/class-simpletaxonomyrefreshed-admin.php:150 1475 1479 msgid "Gives permission to delete terms from the taxonomy. Defaults to 'manage_categories'." 1476 1480 msgstr "" 1477 1481 1478 #: includes/class-simpletaxonomyrefreshed-admin.php:15 051482 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1479 1483 msgid "Assign terms" 1480 1484 msgstr "" 1481 1485 1482 #: includes/class-simpletaxonomyrefreshed-admin.php:15 061486 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1483 1487 msgid "Capability for assigning terms in the new/edit post screen. Defaults to 'edit_terms'." 1484 1488 msgstr "" 1485 1489 1486 #: includes/class-simpletaxonomyrefreshed-admin.php:15 161490 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1487 1491 msgid "REST Functionality" 1488 1492 msgstr "" 1489 1493 1490 #: includes/class-simpletaxonomyrefreshed-admin.php:15 181494 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1491 1495 msgid "These values should only be set when specific processing is required." 1492 1496 msgstr "" 1493 1497 1494 #: includes/class-simpletaxonomyrefreshed-admin.php:152 41498 #: includes/class-simpletaxonomyrefreshed-admin.php:152 1495 1499 msgid "REST Base" 1496 1500 msgstr "" 1497 1501 1498 #: includes/class-simpletaxonomyrefreshed-admin.php:15 251502 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1499 1503 msgid "To change the base url of REST API route." 1500 1504 msgstr "" 1501 1505 1502 #: includes/class-simpletaxonomyrefreshed-admin.php:153 01506 #: includes/class-simpletaxonomyrefreshed-admin.php:153 1503 1507 msgid "REST Namespace" 1504 1508 msgstr "" 1505 1509 1506 #: includes/class-simpletaxonomyrefreshed-admin.php:153 11510 #: includes/class-simpletaxonomyrefreshed-admin.php:153 1507 1511 msgid "Defaults to '/wp/v2'." 1508 1512 msgstr "" 1509 1513 1510 #: includes/class-simpletaxonomyrefreshed-admin.php:15 361514 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1511 1515 msgid "REST Controller Class" 1512 1516 msgstr "" 1513 1517 1514 #: includes/class-simpletaxonomyrefreshed-admin.php:15 371518 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1515 1519 msgid "REST API Controller class name. Default is 'WP_REST_Terms_Controller'." 1516 1520 msgstr "" 1517 1521 1518 #: includes/class-simpletaxonomyrefreshed-admin.php:15 471522 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1519 1523 msgid "Other Options" 1520 1524 msgstr "" 1521 1525 1522 #: includes/class-simpletaxonomyrefreshed-admin.php:155 41526 #: includes/class-simpletaxonomyrefreshed-admin.php:155 1523 1527 msgid "Query var" 1524 1528 msgstr "" 1525 1529 1526 #: includes/class-simpletaxonomyrefreshed-admin.php:15 551530 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1527 1531 msgid "<strong>Query var</strong> is used for build URLs of taxonomy. If this value is empty, WordPress will use the taxonomy slug for build URL." 1528 1532 msgstr "" 1529 1533 1530 #: includes/class-simpletaxonomyrefreshed-admin.php:156 01534 #: includes/class-simpletaxonomyrefreshed-admin.php:156 1531 1535 msgid "Update Count Callback" 1532 1536 msgstr "" 1533 1537 1534 #: includes/class-simpletaxonomyrefreshed-admin.php:156 11538 #: includes/class-simpletaxonomyrefreshed-admin.php:156 1535 1539 msgid "Works much like a hook, in that it will be called when the count is updated." 1536 1540 msgstr "" 1537 1541 1538 #: includes/class-simpletaxonomyrefreshed-admin.php:156 21542 #: includes/class-simpletaxonomyrefreshed-admin.php:156 1539 1543 msgid "Set to the text false to not display the metabox." 1540 1544 msgstr "" 1541 1545 1542 #: includes/class-simpletaxonomyrefreshed-admin.php:15 671546 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1543 1547 msgid "Meta Box Callback" 1544 1548 msgstr "" 1545 1549 1546 #: includes/class-simpletaxonomyrefreshed-admin.php:15 681550 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1547 1551 msgid "Provide a callback function for the meta box display." 1548 1552 msgstr "" 1549 1553 1550 #: includes/class-simpletaxonomyrefreshed-admin.php:157 31554 #: includes/class-simpletaxonomyrefreshed-admin.php:157 1551 1555 msgid "Meta Box Sanitize Callback" 1552 1556 msgstr "" 1553 1557 1554 #: includes/class-simpletaxonomyrefreshed-admin.php:157 41558 #: includes/class-simpletaxonomyrefreshed-admin.php:157 1555 1559 msgid "Callback function for sanitizing taxonomy data saved from a meta box." 1556 1560 msgstr "" 1557 1561 1558 #: includes/class-simpletaxonomyrefreshed-admin.php:15 791562 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1559 1563 msgid "Sort ?" 1560 1564 msgstr "" 1561 1565 1562 #: includes/class-simpletaxonomyrefreshed-admin.php:158 01566 #: includes/class-simpletaxonomyrefreshed-admin.php:158 1563 1567 msgid "Whether this taxonomy should remember the order in which terms are added to objects." 1564 1568 msgstr "" 1565 1569 1566 #: includes/class-simpletaxonomyrefreshed-admin.php:15 851570 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1567 1571 msgid "Args - Taxonomy Items Sort Query" 1568 1572 msgstr "" 1569 1573 1570 #: includes/class-simpletaxonomyrefreshed-admin.php:15 861574 #: includes/class-simpletaxonomyrefreshed-admin.php:15 1571 1575 msgid "Array giving query to order the taxonomy items attached to objects." 1572 1576 msgstr "" 1573 1577 1574 #: includes/class-simpletaxonomyrefreshed-admin.php:159 11578 #: includes/class-simpletaxonomyrefreshed-admin.php:159 1575 1579 msgid "Default Term Name" 1576 1580 msgstr "" 1577 1581 1578 #: includes/class-simpletaxonomyrefreshed-admin.php:159 21582 #: includes/class-simpletaxonomyrefreshed-admin.php:159 1579 1583 msgid "Default term name to apply to attach to objects." 1580 1584 msgstr "" 1581 1585 1582 #: includes/class-simpletaxonomyrefreshed-admin.php:1 5971586 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1583 1587 msgid "Default Term Slug" 1584 1588 msgstr "" 1585 1589 1586 #: includes/class-simpletaxonomyrefreshed-admin.php:1 5981590 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1587 1591 msgid "Default term slug for the default term." 1588 1592 msgstr "" 1589 1593 1590 #: includes/class-simpletaxonomyrefreshed-admin.php:160 31594 #: includes/class-simpletaxonomyrefreshed-admin.php:160 1591 1595 msgid "Default Term Description" 1592 1596 msgstr "" 1593 1597 1594 #: includes/class-simpletaxonomyrefreshed-admin.php:160 41598 #: includes/class-simpletaxonomyrefreshed-admin.php:160 1595 1599 msgid "Default term description for the default term." 1596 1600 msgstr "" 1597 1601 1598 #: includes/class-simpletaxonomyrefreshed-admin.php:162 01602 #: includes/class-simpletaxonomyrefreshed-admin.php:162 1599 1603 msgid "WPGraphQL Support" 1600 1604 msgstr "" 1601 1605 1602 #: includes/class-simpletaxonomyrefreshed-admin.php:16 271606 #: includes/class-simpletaxonomyrefreshed-admin.php:16 1603 1607 msgid "Show in WPGraphQL ?" 1604 1608 msgstr "" 1605 1609 1606 #: includes/class-simpletaxonomyrefreshed-admin.php:16 281610 #: includes/class-simpletaxonomyrefreshed-admin.php:16 1607 1611 msgid "Whether this taxonomy is registered for WPGraphQL usage." 1608 1612 msgstr "" 1609 1613 1610 #: includes/class-simpletaxonomyrefreshed-admin.php:163 21614 #: includes/class-simpletaxonomyrefreshed-admin.php:163 1611 1615 msgid "Following parameters are only needed if taxonomy is shown in WPGraphQL" 1612 1616 msgstr "" 1613 1617 1614 #: includes/class-simpletaxonomyrefreshed-admin.php:16 381618 #: includes/class-simpletaxonomyrefreshed-admin.php:16 1615 1619 msgid "Graph QL Single Name" 1616 1620 msgstr "" 1617 1621 1618 #: includes/class-simpletaxonomyrefreshed-admin.php:16 391622 #: includes/class-simpletaxonomyrefreshed-admin.php:16 1619 1623 msgid "Taxonomy Singular Name for WPGraphQL in camel case with no punctuation or spaces." 1620 1624 msgstr "" 1621 1625 1622 #: includes/class-simpletaxonomyrefreshed-admin.php:164 41626 #: includes/class-simpletaxonomyrefreshed-admin.php:164 1623 1627 msgid "Graph QL Plural Name" 1624 1628 msgstr "" 1625 1629 1626 #: includes/class-simpletaxonomyrefreshed-admin.php:16 451630 #: includes/class-simpletaxonomyrefreshed-admin.php:16 1627 1631 msgid "Taxonomy Plural Name for WPGraphQL in camel case with no punctuation or spaces." 1628 1632 msgstr "" 1629 1633 1630 #: includes/class-simpletaxonomyrefreshed-admin.php:16 591634 #: includes/class-simpletaxonomyrefreshed-admin.php:16 1631 1635 msgid "Taxonomy needs to be allocated to Post Types and Publicly Queryable." 1632 1636 msgstr "" 1633 1637 1634 #: includes/class-simpletaxonomyrefreshed-admin.php:166 01638 #: includes/class-simpletaxonomyrefreshed-admin.php:166 1635 1639 msgid "Advisable to have a column on the admin list screen." 1636 1640 msgstr "" 1637 1641 1638 #: includes/class-simpletaxonomyrefreshed-admin.php:166 41642 #: includes/class-simpletaxonomyrefreshed-admin.php:166 1639 1643 msgid "Attention. You can use this function to define a duplicate filter if it already exists" 1640 1644 msgstr "" 1641 1645 1642 #: includes/class-simpletaxonomyrefreshed-admin.php:166 21646 #: includes/class-simpletaxonomyrefreshed-admin.php:166 1643 1647 msgid "(See Visibility tab for these parameters.)" 1644 1648 msgstr "" 1645 1649 1646 #: includes/class-simpletaxonomyrefreshed-admin.php:169 31650 #: includes/class-simpletaxonomyrefreshed-admin.php:169 1647 1651 msgid "You can add this taxonomy as a filter field on the admin list screen for selected builtin or custom post types linked to this taxonomy." 1648 1652 msgstr "" 1649 1653 1650 #: includes/class-simpletaxonomyrefreshed-admin.php:170 11654 #: includes/class-simpletaxonomyrefreshed-admin.php:170 1651 1655 msgid "Hierarchical dropdown. Only relevant for hierarchical taxonomies." 1652 1656 msgstr "" 1653 1657 1654 #: includes/class-simpletaxonomyrefreshed-admin.php:17 061658 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1655 1659 msgid "Hierarchy Depth" 1656 1660 msgstr "" 1657 1661 1658 #: includes/class-simpletaxonomyrefreshed-admin.php:17 071662 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1659 1663 msgid "Hierarchical dropdown depth. Only relevant for hierarchical taxonomies." 1660 1664 msgstr "" 1661 1665 1662 #: includes/class-simpletaxonomyrefreshed-admin.php:171 21666 #: includes/class-simpletaxonomyrefreshed-admin.php:171 1663 1667 msgid "Show Count ?" 1664 1668 msgstr "" 1665 1669 1666 #: includes/class-simpletaxonomyrefreshed-admin.php:171 31670 #: includes/class-simpletaxonomyrefreshed-admin.php:171 1667 1671 msgid "Whether to include post counts. Default false" 1668 1672 msgstr "" 1669 1673 1670 #: includes/class-simpletaxonomyrefreshed-admin.php:17 181674 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1671 1675 msgid "Hide Empty" 1672 1676 msgstr "" 1673 1677 1674 #: includes/class-simpletaxonomyrefreshed-admin.php:17 191678 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1675 1679 msgid "True to hide element if Term count is zero." 1676 1680 msgstr "" 1677 1681 1678 #: includes/class-simpletaxonomyrefreshed-admin.php:172 41682 #: includes/class-simpletaxonomyrefreshed-admin.php:172 1679 1683 msgid "Hide if Empty" 1680 1684 msgstr "" 1681 1685 1682 #: includes/class-simpletaxonomyrefreshed-admin.php:17 251686 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1683 1687 msgid "True to skip generating markup if no terms are found. Default false" 1684 1688 msgstr "" 1685 1689 1686 #: includes/class-simpletaxonomyrefreshed-admin.php:17 391690 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1687 1691 msgid "A function has been defined for calculating term counts. This function is therefore not available." 1688 1692 msgstr "" 1689 1693 1690 #: includes/class-simpletaxonomyrefreshed-admin.php:17 451694 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1691 1695 msgid "Term counts are normally based on Published posts. This option provides some no-coding configuration." 1692 1696 msgstr "" 1693 1697 1694 #: includes/class-simpletaxonomyrefreshed-admin.php:17 471698 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1695 1699 msgid "Count Options" 1696 1700 msgstr "" 1697 1701 1698 #: includes/class-simpletaxonomyrefreshed-admin.php:175 01702 #: includes/class-simpletaxonomyrefreshed-admin.php:175 1699 1703 msgid "Standard (Publish)" 1700 1704 msgstr "" 1701 1705 1702 #: includes/class-simpletaxonomyrefreshed-admin.php:175 1, includes/class-simpletaxonomyrefreshed-admin.php:18001706 #: includes/class-simpletaxonomyrefreshed-admin.php:175 1703 1707 msgid "Any (Except Trash)" 1704 1708 msgstr "" 1705 1709 1706 #: includes/class-simpletaxonomyrefreshed-admin.php:175 21710 #: includes/class-simpletaxonomyrefreshed-admin.php:175 1707 1711 msgid "Selection" 1708 1712 msgstr "" 1709 1713 1710 #: includes/class-simpletaxonomyrefreshed-admin.php:17 58, includes/class-simpletaxonomyrefreshed-admin.php:18071714 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1711 1715 msgid "Additional parameters not shown as they are not applicable." 1712 1716 msgstr "" 1713 1717 1714 #: includes/class-simpletaxonomyrefreshed-admin.php:176 31718 #: includes/class-simpletaxonomyrefreshed-admin.php:176 1715 1719 msgid "Status Selection" 1716 1720 msgstr "" 1717 1721 1718 #: includes/class-simpletaxonomyrefreshed-admin.php:17 781722 #: includes/class-simpletaxonomyrefreshed-admin.php:17 1719 1723 msgid "Choose the set of Statuses to be included in Term counts." 1720 1724 msgstr "" 1721 1725 1722 #: includes/class-simpletaxonomyrefreshed-admin.php:179 41726 #: includes/class-simpletaxonomyrefreshed-admin.php:179 1723 1727 msgid "Term controls are to be applied on posts. This option provides some no-coding configuration." 1724 1728 msgstr "" 1725 1729 1726 #: includes/class-simpletaxonomyrefreshed-admin.php:1 7961730 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1727 1731 msgid "Post status" 1728 1732 msgstr "" 1729 1733 1730 #: includes/class-simpletaxonomyrefreshed-admin.php:1 7981734 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1731 1735 msgid "No control applied" 1732 1736 msgstr "" 1733 1737 1734 #: includes/class-simpletaxonomyrefreshed-admin.php:1 7991738 #: includes/class-simpletaxonomyrefreshed-admin.php:1 1735 1739 msgid "Published only" 1736 1740 msgstr "" 1737 1741 1738 #: includes/class-simpletaxonomyrefreshed-admin.php:180 21742 #: includes/class-simpletaxonomyrefreshed-admin.php:180 1739 1743 msgid "Choose the statuses of posts to apply the control." 1740 1744 msgstr "" 1741 1745 1742 #: includes/class-simpletaxonomyrefreshed-admin.php:1812 1746 #: includes/class-simpletaxonomyrefreshed-admin.php:1843 1747 msgid "Select the Post Types to which the controls should apply. If none are selected then all eligible ones will be." 1748 msgstr "" 1749 1750 #: includes/class-simpletaxonomyrefreshed-admin.php:1847 1743 1751 msgid "How Control is applied" 1744 1752 msgstr "" 1745 1753 1746 #: includes/class-simpletaxonomyrefreshed-admin.php:18 141754 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1747 1755 msgid "When user cannot change terms give notification message but allow changes (notification at start of edit)" 1748 1756 msgstr "" 1749 1757 1750 #: includes/class-simpletaxonomyrefreshed-admin.php:18 151758 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1751 1759 msgid "When the post is saved" 1752 1760 msgstr "" 1753 1761 1754 #: includes/class-simpletaxonomyrefreshed-admin.php:18 161762 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1755 1763 msgid "As terms are changed and when the post is saved" 1756 1764 msgstr "" 1757 1765 1758 #: includes/class-simpletaxonomyrefreshed-admin.php:18 181766 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1759 1767 msgid "Choose the control level to be applied." 1760 1768 msgstr "" 1761 1769 1762 #: includes/class-simpletaxonomyrefreshed-admin.php:18 191770 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1763 1771 msgid "Notification option allows a user who can edit the post but cannot change the terms attached to make other updates." 1764 1772 msgstr "" 1765 1773 1766 #: includes/class-simpletaxonomyrefreshed-admin.php:18 201774 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1767 1775 msgid "Other options will block the user from making updates if the number of terms are not within required limits." 1768 1776 msgstr "" 1769 1777 1770 #: includes/class-simpletaxonomyrefreshed-admin.php:18 211778 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1771 1779 msgid "NOTE. The option to apply the control as terms are entered is a Work in Progress." 1772 1780 msgstr "" 1773 1781 1774 #: includes/class-simpletaxonomyrefreshed-admin.php:18 221782 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1775 1783 msgid "Specifically issues may occur with Block Editor post types and their notifications." 1776 1784 msgstr "" 1777 1785 1778 #: includes/class-simpletaxonomyrefreshed-admin.php:18 261786 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1779 1787 msgid "Minimum Control" 1780 1788 msgstr "" 1781 1789 1782 #: includes/class-simpletaxonomyrefreshed-admin.php:18 321790 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1783 1791 msgid "Use minimum number of terms" 1784 1792 msgstr "" 1785 1793 1786 #: includes/class-simpletaxonomyrefreshed-admin.php:18 331794 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1787 1795 msgid "Is there to be a control on the minimum number of terms." 1788 1796 msgstr "" 1789 1797 1790 #: includes/class-simpletaxonomyrefreshed-admin.php:18 391798 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1791 1799 msgid "Minimum number of Terms" 1792 1800 msgstr "" 1793 1801 1794 #: includes/class-simpletaxonomyrefreshed-admin.php:18 421802 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1795 1803 msgid "Select the minimum number of terms that can be attached to a post." 1796 1804 msgstr "" 1797 1805 1798 #: includes/class-simpletaxonomyrefreshed-admin.php:18 461806 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1799 1807 msgid "Maximum Control" 1800 1808 msgstr "" 1801 1809 1802 #: includes/class-simpletaxonomyrefreshed-admin.php:18 521810 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1803 1811 msgid "Use maximum number of terms" 1804 1812 msgstr "" 1805 1813 1806 #: includes/class-simpletaxonomyrefreshed-admin.php:18 531814 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1807 1815 msgid "Is there to be a control on the maximum number of terms." 1808 1816 msgstr "" 1809 1817 1810 #: includes/class-simpletaxonomyrefreshed-admin.php:18 591818 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1811 1819 msgid "Maximum number of Terms" 1812 1820 msgstr "" 1813 1821 1814 #: includes/class-simpletaxonomyrefreshed-admin.php:18 621822 #: includes/class-simpletaxonomyrefreshed-admin.php:18 1815 1823 msgid "Select the maximum number of terms that can be attached to a post." 1816 1824 msgstr "" 1817 1825 1818 #: includes/class-simpletaxonomyrefreshed-admin.php:19 201826 #: includes/class-simpletaxonomyrefreshed-admin.php:19 1819 1827 msgid "You cannot edit the Simple Taxonomy Refresher options." 1820 1828 msgstr "" 1821 1829 1822 #: includes/class-simpletaxonomyrefreshed-admin.php: 19661830 #: includes/class-simpletaxonomyrefreshed-admin.php: 1823 1831 msgid "You are trying to edit a taxonomy without name. Impossible !" 1824 1832 msgstr "" 1825 1833 1826 #: includes/class-simpletaxonomyrefreshed-admin.php:20 051834 #: includes/class-simpletaxonomyrefreshed-admin.php:20 1827 1835 msgid "Impossible to add your taxonomy... You must enter a taxonomy name." 1828 1836 msgstr "" 1829 1837 1830 #: includes/class-simpletaxonomyrefreshed-admin.php: 19911838 #: includes/class-simpletaxonomyrefreshed-admin.php: 1831 1839 msgid "You are trying to add a taxonomy with a name already used by another taxonomy." 1832 1840 msgstr "" 1833 1841 1834 #: includes/class-simpletaxonomyrefreshed-admin.php:20 311842 #: includes/class-simpletaxonomyrefreshed-admin.php:20 1835 1843 msgid "You are trying to output a taxonomy that doesn't exist..." 1836 1844 msgstr "" 1837 1845 1838 #: includes/class-simpletaxonomyrefreshed-admin.php:21 091846 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1839 1847 msgid "Display Terms Separator" 1840 1848 msgstr "" 1841 1849 1842 #: includes/class-simpletaxonomyrefreshed-admin.php:21 111850 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1843 1851 msgid "Show Terms in Feeds" 1844 1852 msgstr "" 1845 1853 1846 #: includes/class-simpletaxonomyrefreshed-admin.php:21 171854 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1847 1855 msgid "Admin List screens for these post type(s) will have a filter list dropdown:" 1848 1856 msgstr "" 1849 1857 1850 #: includes/class-simpletaxonomyrefreshed-admin.php:21 211858 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1851 1859 msgid "with wp_dropdown_categories parameters:" 1852 1860 msgstr "" 1853 1861 1854 #: includes/class-simpletaxonomyrefreshed-admin.php:21 361862 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1855 1863 msgid "Term count callback modified." 1856 1864 msgstr "" 1857 1865 1858 #: includes/class-simpletaxonomyrefreshed-admin.php:21 381866 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1859 1867 msgid "N.B. Callback parameter update_count_callback set, so will be ineffective" 1860 1868 msgstr "" 1861 1869 1862 #: includes/class-simpletaxonomyrefreshed-admin.php:21 401870 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1863 1871 msgid "Applies to posts with status: " 1864 1872 msgstr "" 1865 1873 1866 #: includes/class-simpletaxonomyrefreshed-admin.php:21 441874 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1867 1875 msgid "Published" 1868 1876 msgstr "" 1869 1877 1870 #: includes/class-simpletaxonomyrefreshed-admin.php:21 451878 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1871 1879 msgid "Future" 1872 1880 msgstr "" 1873 1881 1874 #: includes/class-simpletaxonomyrefreshed-admin.php:21 461882 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1875 1883 msgid "Default" 1876 1884 msgstr "" 1877 1885 1878 #: includes/class-simpletaxonomyrefreshed-admin.php:21 471886 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1879 1887 msgid "Pending" 1880 1888 msgstr "" 1881 1889 1882 #: includes/class-simpletaxonomyrefreshed-admin.php:21 481890 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1883 1891 msgid "Private" 1884 1892 msgstr "" 1885 1893 1886 #: includes/class-simpletaxonomyrefreshed-admin.php:21 491894 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1887 1895 msgid "Trash" 1888 1896 msgstr "" 1889 1897 1890 #: includes/class-simpletaxonomyrefreshed-admin.php:21 421898 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1891 1899 msgid "All except trash" 1892 1900 msgstr "" 1893 1901 1894 #: includes/class-simpletaxonomyrefreshed-admin.php:21 551902 #: includes/class-simpletaxonomyrefreshed-admin.php:21 1895 1903 msgid "Terms control parameters set." 1896 1904 msgstr "" 1897 1905 1898 #: includes/class-simpletaxonomyrefreshed-admin.php:2156 1906 #: includes/class-simpletaxonomyrefreshed-admin.php:2195 1907 msgid "Applies to these post type(s)" 1908 msgstr "" 1909 1910 #: includes/class-simpletaxonomyrefreshed-admin.php:2193 1911 msgid "Applies to all valid post type(s)" 1912 msgstr "" 1913 1914 #: includes/class-simpletaxonomyrefreshed-admin.php:2200 1899 1915 msgid "Applies to posts with status:" 1900 1916 msgstr "" 1901 1917 1902 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1601918 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1903 1919 msgid "All statuses except Trash." 1904 1920 msgstr "" 1905 1921 1906 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1581922 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1907 1923 msgid "Published and Future only" 1908 1924 msgstr "" 1909 1925 1910 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1681926 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1911 1927 msgid "Soft tests. I.e. Controls will apply on saving." 1912 1928 msgstr "" 1913 1929 1914 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1661930 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1915 1931 msgid "Hard tests. I.e. Controls will apply during Form Editing and on saving." 1916 1932 msgstr "" 1917 1933 1918 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1641934 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1919 1935 msgid "Notifications only if outside bounds will be given and user cannot change terms." 1920 1936 msgstr "" 1921 1937 1922 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1751938 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1923 1939 msgid "No minimum number of terms." 1924 1940 msgstr "" 1925 1941 1926 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1731942 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1927 1943 msgid "Minimum number of terms set to %d." 1928 1944 msgstr "" 1929 1945 1930 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1821946 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1931 1947 msgid "No maximum number of terms." 1932 1948 msgstr "" 1933 1949 1934 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1801950 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1935 1951 msgid "Maximum number of terms set to %d." 1936 1952 msgstr "" 1937 1953 1938 #: includes/class-simpletaxonomyrefreshed-admin.php:2 2591954 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1939 1955 msgid "You are trying to add a taxonomy with a name already used by an another taxonomy." 1940 1956 msgstr "" 1941 1957 1942 #: includes/class-simpletaxonomyrefreshed-admin.php:23 021958 #: includes/class-simpletaxonomyrefreshed-admin.php:23 1943 1959 msgid "You are trying to edit a taxonomy with a name different as original. Use the Rename Slug function for this." 1944 1960 msgstr "" 1945 1961 1946 #: includes/class-simpletaxonomyrefreshed-admin.php:24 491962 #: includes/class-simpletaxonomyrefreshed-admin.php:24 1947 1963 msgid "You are trying to delete a taxonomy that does not exist." 1948 1964 msgstr "" 1949 1965 1950 1966 #. translators: %1$s is the taxonomy label name; %2$d is the required minimum number of terms. 1951 #: includes/class-simpletaxonomyrefreshed-admin.php:26 49, includes/class-simpletaxonomyrefreshed-admin.php:2802, includes/class-simpletaxonomyrefreshed-admin.php:2890, includes/class-simpletaxonomyrefreshed-admin.php:29691967 #: includes/class-simpletaxonomyrefreshed-admin.php:26 1952 1968 msgid "The number of terms for taxonomy (%1$s) is less than the required minimum number %2$d." 1953 1969 msgstr "" 1954 1970 1955 #: includes/class-simpletaxonomyrefreshed-admin.php:2 655, includes/class-simpletaxonomyrefreshed-admin.php:26411971 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1956 1972 msgid "For information as you cannot add them." 1957 1973 msgstr "" 1958 1974 1959 #: includes/class-simpletaxonomyrefreshed-admin.php:2 657, includes/class-simpletaxonomyrefreshed-admin.php:2643, includes/class-simpletaxonomyrefreshed-admin.php:27091975 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1960 1976 msgid "N.B. You will not be able to save any changes!" 1961 1977 msgstr "" 1962 1978 1963 #: includes/class-simpletaxonomyrefreshed-admin.php:2 6521979 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1964 1980 msgid "Please review and add additional terms before trying to save." 1965 1981 msgstr "" 1966 1982 1967 #: includes/class-simpletaxonomyrefreshed-admin.php:26 351983 #: includes/class-simpletaxonomyrefreshed-admin.php:26 1968 1984 msgid "The number of terms for taxonomy (%1$s) needs to be at least %2$d." 1969 1985 msgstr "" 1970 1986 1971 #: includes/class-simpletaxonomyrefreshed-admin.php:26 381987 #: includes/class-simpletaxonomyrefreshed-admin.php:26 1972 1988 msgid "Please review and add additional terms." 1973 1989 msgstr "" … … 1975 1991 #. translators: %1$s is the taxonomy label; %2$d is the required maximum number of terms. 1976 1992 #. translators: %1$s is the taxonomy label name; %2$d is the required maximum number of terms. 1977 #: includes/class-simpletaxonomyrefreshed-admin.php:27 01, includes/class-simpletaxonomyrefreshed-admin.php:2804, includes/class-simpletaxonomyrefreshed-admin.php:2899, includes/class-simpletaxonomyrefreshed-admin.php:29721993 #: includes/class-simpletaxonomyrefreshed-admin.php:27 1978 1994 msgid "The number of terms for taxonomy (%1$s) is greater than the required maximum number %2$d." 1979 1995 msgstr "" 1980 1996 1981 #: includes/class-simpletaxonomyrefreshed-admin.php:27 071997 #: includes/class-simpletaxonomyrefreshed-admin.php:27 1982 1998 msgid "For information as you cannot remove them." 1983 1999 msgstr "" 1984 2000 1985 #: includes/class-simpletaxonomyrefreshed-admin.php:27 042001 #: includes/class-simpletaxonomyrefreshed-admin.php:27 1986 2002 msgid "Please review and remove terms before trying to save." 1987 2003 msgstr "" 1988 2004 1989 #: includes/class-simpletaxonomyrefreshed-admin.php:2 8832005 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1990 2006 msgid "Publishing is blocked." 1991 2007 msgstr "" 1992 2008 1993 #: includes/class-simpletaxonomyrefreshed-admin.php:2 8832009 #: includes/class-simpletaxonomyrefreshed-admin.php:2 1994 2010 msgid "Saving is blocked." 1995 2011 msgstr "" 1996 2012 1997 2013 #. translators: %s is the taxonomy label name. 1998 #: includes/class-simpletaxonomyrefreshed-admin.php:3 0642014 #: includes/class-simpletaxonomyrefreshed-admin.php:3 1999 2015 msgid "Not enough terms entered for Taxonomy \"%s\"" 2000 2016 msgstr "" 2001 2017 2002 2018 #. translators: %s is the taxonomy label name. 2003 #: includes/class-simpletaxonomyrefreshed-admin.php:3 0732019 #: includes/class-simpletaxonomyrefreshed-admin.php:3 2004 2020 msgid "Too many terms entered for Taxonomy \"%s\"" 2005 2021 msgstr "" 2006 2022 2007 #: includes/class-simpletaxonomyrefreshed-admin.php:3 1752023 #: includes/class-simpletaxonomyrefreshed-admin.php:3 2008 2024 msgid "None" 2009 2025 msgstr "" 2010 2026 2011 #: includes/class-simpletaxonomyrefreshed-admin.php:3 1762027 #: includes/class-simpletaxonomyrefreshed-admin.php:3 2012 2028 msgid "Content" 2013 2029 msgstr "" 2014 2030 2015 #: includes/class-simpletaxonomyrefreshed-admin.php:3 1772031 #: includes/class-simpletaxonomyrefreshed-admin.php:3 2016 2032 msgid "Excerpt" 2017 2033 msgstr "" 2018 2034 2019 #: includes/class-simpletaxonomyrefreshed-admin.php:3 1782035 #: includes/class-simpletaxonomyrefreshed-admin.php:3 2020 2036 msgid "Content and excerpt" 2021 2037 msgstr "" … … 2071 2087 #: includes/class-simpletaxonomyrefreshed-widget.php:396 2072 2088 msgid "Minimum count of posts for term to be shown" 2089 2090 2091 2092 2073 2093 msgstr "" 2074 2094 -
simple-taxonomy-refreshed/trunk/readme.txt
r2820068 r2897279 3 3 Contributors: nwjames, momo360modena 4 4 Tags: tags, taxonomies, custom taxonomies, taxonomy, category, block editor 5 Tested up to: 6. 1.15 Tested up to: 6. 6 6 Requires PHP: 7.1 7 Stable tag: 3. 0.07 Stable tag: 3..0 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 58 58 59 59 == Changelog == 60 61 62 63 64 65 60 66 61 67 * Version 3.0.0 (17/11/2022) -
simple-taxonomy-refreshed/trunk/simple-taxonomy-refreshed.php
r2820062 r2897279 5 5 * Description: WordPress provides simple custom taxonomy, this plugin makes it even simpler, removing the need for you to write <em>any</em> code 6 6 * Converted, Standardised and Extended from Simple Taxonomy by Amaury Balmer 7 * Version: 3. 0.07 * Version: 3..0 8 8 * Requires at least: 4.8 9 9 * Requires PHP: 7.1 … … 17 17 18 18 /* 19 Copyright This Version 2019-2 2Neil James (neil@familyjames.com)19 Copyright This Version 2019-2 Neil James (neil@familyjames.com) 20 20 Copyright Original Version 2010-2013 Amaury Balmer (amaury@beapi.fr) 21 21 … … 84 84 $staxo_c = SimpleTaxonomyRefreshed_Admin_Conversion::get_instance(); 85 85 $staxo_i = SimpleTaxonomyRefreshed_Admin_Import::get_instance(); 86 $staxo_ o= SimpleTaxonomyRefreshed_Admin_Merge::get_instance();86 $staxo_ = SimpleTaxonomyRefreshed_Admin_Merge::get_instance(); 87 87 $staxo_o = SimpleTaxonomyRefreshed_Admin_Order::get_instance(); 88 88 $staxo_r = SimpleTaxonomyRefreshed_Admin_Rename::get_instance();
Note: See TracChangeset
for help on using the changeset viewer.