Version Description
- Traditional Chineze Language (Thanks to Danny http://sofree.cc)
- Minor admin styling
Download this release
Release Info
Developer | nsp-code |
Plugin | Category Order and Taxonomy Terms Order |
Version | 1.3.6 |
Comparing to | |
See all releases |
Version 1.3.6
- css/to.css +43 -0
- images/admin-icon-settings.gif +0 -0
- images/menu-icon.png +0 -0
- images/wpspin_light.gif +0 -0
- include/functions.php +49 -0
- include/interface.php +208 -0
- include/options.php +106 -0
- include/terms_walker.php +48 -0
- js/to-javascript.js +135 -0
- lang/to-de_DE.mo +0 -0
- lang/to-de_DE.po +175 -0
- lang/to-fr_FR.mo +0 -0
- lang/to-fr_FR.po +175 -0
- lang/to-ja.mo +0 -0
- lang/to-ja.po +182 -0
- lang/to-nl_NL.mo +0 -0
- lang/to-nl_NL.po +162 -0
- lang/to-ro_RO.mo +0 -0
- lang/to-ro_RO.po +178 -0
- lang/to-sk_SK.mo +0 -0
- lang/to-sk_SK.po +192 -0
- lang/to-zh_TW.mo +0 -0
- lang/to-zh_TW.po +180 -0
- lang/to.mo +0 -0
- lang/to.po +157 -0
- lang/to.pot +178 -0
- readme.txt +82 -0
- screenshot-1.gif +0 -0
- screenshot-2.gif +0 -0
- taxonomy-terms-order.php +190 -0
css/to.css
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
h2.subtitle {font-size: 15px; font-style: italic; font-weight: bold}
|
3 |
+
|
4 |
+
#order-terms img {vertical-align: middle}
|
5 |
+
#order-terms #tto_sortable { list-style-type: none; margin: 20px 0 0; padding: 0; width: 100%; }
|
6 |
+
#order-terms ul {list-style: none;}
|
7 |
+
#order-terms ul.children {margin-left: 25px}
|
8 |
+
.term_type_li .item {border: 1px solid #DDDDDD; border-radius: 6px 6px 6px 6px; cursor: move; margin: 4px 0; padding: 2px 0;line-height: 140%;margin-bottom: 6px;}
|
9 |
+
.term_type_li .item span { background: none repeat scroll 0 0 #F7F7F7; color: #555555; display: block; font-weight: bold; padding: 5px 15px;}
|
10 |
+
.term_type_li .item span.edit {position: absolute; right: 10px; top: 6px; padding: 0px; margin: 0px}
|
11 |
+
#order-terms .placeholder{border-color:#bbb;background-color:#f5f5f5; height:30px; background-image: none; -moz-border-radius: 6px 6px 6px 6px; border: 1px solid #E6E6E6;}
|
12 |
+
.term_type_li ul {margin-top: 6px}
|
13 |
+
#dragHelper li, #dragHelper ul {background: transparent !important;}
|
14 |
+
#dragHelper ul {list-style: none;}
|
15 |
+
|
16 |
+
.wp-list-taxonomy {width: 100%}
|
17 |
+
.wp-list-taxonomy thead tr th{padding-bottom: 7px}
|
18 |
+
.wp-list-taxonomy tr {background-color: #FCFCFC;}
|
19 |
+
.wp-list-taxonomy tbody th.check-column { padding: 9px 0 22px;}
|
20 |
+
.wp-list-taxonomy td { color: #555555;}
|
21 |
+
.wp-list-taxonomy td, .wp-list-taxonomy th { border-bottom-color: #DFDFDF; border-top-color: #FFFFFF;}
|
22 |
+
.wp-list-taxonomy th, .wp-list-taxonomy td { overflow: hidden;}
|
23 |
+
.wp-list-taxonomy td { font-size: 12px; padding: 9px 7px 4px 7px; vertical-align: top;}
|
24 |
+
.wp-list-taxonomy td, .wp-list-taxonomy th { border-style: solid; border-width: 1px 0;}
|
25 |
+
.wp-list-taxonomy * { word-wrap: break-word;}
|
26 |
+
|
27 |
+
#cpt_info_box {padding: 0 10px; border: 1px dashed #6aadcc; background-color: #FFF; margin-top: 10px;
|
28 |
+
-webkit-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
|
29 |
+
-moz-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
|
30 |
+
box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);}
|
31 |
+
#cpt_info_box p {font-size: 12px}
|
32 |
+
#cpt_info_box a {text-decoration: none}
|
33 |
+
#cpt_info_box #donate_form {float: right; padding: 10px 0 17px; text-align: center; width: 100%;}
|
34 |
+
#p_right {float: right; width: 210px; background-color:#f5f5f5; border-left: 1px dashed #dedede; border-right: 1px dashed #dedede}
|
35 |
+
.p_s_item {float: right; padding: 0px 5px; margin-top: 15px; margin-bottom: 5px; }
|
36 |
+
.p_s_item.s_gp {padding-top: 2px; margin-left: 5px}
|
37 |
+
|
38 |
+
#icon-settings {background-image:url("../images/admin-icon-settings.gif");background-repeat:no-repeat;}
|
39 |
+
.menu_tto {margin-right: 4px; display: inline; vertical-align: middle; margin-top: -1px;}
|
40 |
+
|
41 |
+
.clear {clear: both}
|
42 |
+
|
43 |
+
|
images/admin-icon-settings.gif
ADDED
Binary file
|
images/menu-icon.png
ADDED
Binary file
|
images/wpspin_light.gif
ADDED
Binary file
|
include/functions.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
function tto_info_box()
|
5 |
+
{
|
6 |
+
?>
|
7 |
+
<div id="cpt_info_box">
|
8 |
+
<div id="p_right">
|
9 |
+
|
10 |
+
<div id="p_socialize">
|
11 |
+
<div class="p_s_item s_gp">
|
12 |
+
<!-- Place this tag in your head or just before your close body tag -->
|
13 |
+
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
|
14 |
+
|
15 |
+
<!-- Place this tag where you want the +1 button to render -->
|
16 |
+
<div class="g-plusone" data-size="small" data-annotation="none" data-href="http://nsp-code.com/"></div>
|
17 |
+
</div>
|
18 |
+
<div class="p_s_item s_t">
|
19 |
+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.nsp-code.com" data-text="Define custom order for your post types through an easy to use javascript AJAX drag and drop interface. No theme code updates are necessarily, this plugin will take care of query update." data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div class="p_s_item s_f">
|
23 |
+
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nsp-code.com%2F&send=false&layout=button_count&width=82&show_faces=false&action=like&colorscheme=light&font=arial&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:82px; height:21px;" allowTransparency="true"></iframe>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<div class="clear"></div>
|
27 |
+
</div>
|
28 |
+
|
29 |
+
<div id="donate_form">
|
30 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
|
31 |
+
<input type="hidden" name="cmd" value="_s-xclick">
|
32 |
+
<input type="hidden" name="hosted_button_id" value="CU22TFDKJMLAE">
|
33 |
+
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
34 |
+
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
35 |
+
</form>
|
36 |
+
</div>
|
37 |
+
</div>
|
38 |
+
|
39 |
+
<p><?php _e( "Did you find this plugin useful? Please support our work with a donation or write an article about this plugin in your blog with a link to our site", 'to' ) ?> <br /><strong>http://www.nsp-code.com/</strong>.</p>
|
40 |
+
<h4><?php _e( "Did you know there is available a more advanced version of this plug-in?", 'to' ) ?> <a target="_blank" href="http://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-taxonomy-terms-order/"><?php _e( "Read more", 'to' ) ?></a></h4>
|
41 |
+
<p><?php _e( "Check our", 'to' ) ?> <a target="_blank" href="http://wordpress.org/extend/plugins/post-types-order/">Post Types Order</a> <?php _e( "plugin which allow to custom sort all posts, pages, custom post types", 'to' ) ?> </p>
|
42 |
+
|
43 |
+
<div class="clear"></div>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<?php
|
47 |
+
}
|
48 |
+
|
49 |
+
?>
|
include/interface.php
ADDED
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
function TOPluginInterface()
|
5 |
+
{
|
6 |
+
global $wpdb, $wp_locale;
|
7 |
+
|
8 |
+
$taxonomy = isset($_GET['taxonomy']) ? $_GET['taxonomy'] : '';
|
9 |
+
$post_type = isset($_GET['post_type']) ? $_GET['post_type'] : 'post';
|
10 |
+
|
11 |
+
$post_type_data = get_post_type_object($post_type);
|
12 |
+
|
13 |
+
if (!taxonomy_exists($taxonomy))
|
14 |
+
$taxonomy = '';
|
15 |
+
|
16 |
+
?>
|
17 |
+
<div class="wrap">
|
18 |
+
<div class="icon32" id="icon-edit"><br></div>
|
19 |
+
<h2><?php _e( "Taxonomy Order", 'to' ) ?></h2>
|
20 |
+
|
21 |
+
<?php tto_info_box() ?>
|
22 |
+
|
23 |
+
<div id="ajax-response"></div>
|
24 |
+
|
25 |
+
<noscript>
|
26 |
+
<div class="error message">
|
27 |
+
<p><?php _e( "This plugin can't work without javascript, because it's use drag and drop and AJAX.", 'to' ) ?></p>
|
28 |
+
</div>
|
29 |
+
</noscript>
|
30 |
+
|
31 |
+
<div class="clear"></div>
|
32 |
+
|
33 |
+
<form action="edit.php" method="get" id="to_form">
|
34 |
+
<input type="hidden" name="page" value="to-interface-<?php echo $post_type ?>" />
|
35 |
+
<?php
|
36 |
+
|
37 |
+
if ($post_type != 'post')
|
38 |
+
echo '<input type="hidden" name="post_type" value="'. $post_type .'" />';
|
39 |
+
|
40 |
+
//output all available taxonomies for this post type
|
41 |
+
|
42 |
+
$post_type_taxonomies = get_object_taxonomies($post_type);
|
43 |
+
|
44 |
+
foreach ($post_type_taxonomies as $key => $taxonomy_name)
|
45 |
+
{
|
46 |
+
$taxonomy_info = get_taxonomy($taxonomy_name);
|
47 |
+
if ($taxonomy_info->hierarchical !== TRUE)
|
48 |
+
unset($post_type_taxonomies[$key]);
|
49 |
+
}
|
50 |
+
|
51 |
+
//use the first taxonomy if emtpy taxonomy
|
52 |
+
if ($taxonomy == '' || !taxonomy_exists($taxonomy))
|
53 |
+
{
|
54 |
+
reset($post_type_taxonomies);
|
55 |
+
$taxonomy = current($post_type_taxonomies);
|
56 |
+
}
|
57 |
+
|
58 |
+
if (count($post_type_taxonomies) > 1)
|
59 |
+
{
|
60 |
+
|
61 |
+
?>
|
62 |
+
|
63 |
+
<h2 class="subtitle"><?php echo ucfirst($post_type_data->labels->name) ?> <?php _e( "Taxonomies", 'to' ) ?></h2>
|
64 |
+
<table cellspacing="0" class="wp-list-taxonomy">
|
65 |
+
<thead>
|
66 |
+
<tr>
|
67 |
+
<th style="" class="column-cb check-column" id="cb" scope="col"> </th><th style="" class="" id="author" scope="col"><?php _e( "Taxonomy Title", 'to' ) ?></th><th style="" class="manage-column" id="categories" scope="col"><?php _e( "Total Posts", 'to' ) ?></th> </tr>
|
68 |
+
</thead>
|
69 |
+
|
70 |
+
|
71 |
+
<tbody id="the-list">
|
72 |
+
<?php
|
73 |
+
|
74 |
+
$alternate = FALSE;
|
75 |
+
foreach ($post_type_taxonomies as $post_type_taxonomy)
|
76 |
+
{
|
77 |
+
$taxonomy_info = get_taxonomy($post_type_taxonomy);
|
78 |
+
|
79 |
+
$alternate = $alternate === TRUE ? FALSE :TRUE;
|
80 |
+
|
81 |
+
$taxonomy_terms = get_terms($key);
|
82 |
+
|
83 |
+
?>
|
84 |
+
<tr valign="top" class="<?php if ($alternate === TRUE) {echo 'alternate ';} ?>" id="taxonomy-<?php echo $taxonomy ?>">
|
85 |
+
<th class="check-column" scope="row"><input type="radio" onclick="to_change_taxonomy(this)" value="<?php echo $post_type_taxonomy ?>" <?php if ($post_type_taxonomy == $taxonomy) {echo 'checked="checked"';} ?> name="taxonomy"> </th>
|
86 |
+
<td class="categories column-categories"><b><?php echo $taxonomy_info->label ?></b> (<?php echo $taxonomy_info->labels->singular_name; ?>)</td>
|
87 |
+
<td class="categories column-categories"><?php echo count($taxonomy_terms) ?></td>
|
88 |
+
</tr>
|
89 |
+
|
90 |
+
<?php
|
91 |
+
}
|
92 |
+
?>
|
93 |
+
</tbody>
|
94 |
+
</table>
|
95 |
+
<br /><br />
|
96 |
+
<?php
|
97 |
+
}
|
98 |
+
?>
|
99 |
+
|
100 |
+
<div id="order-terms">
|
101 |
+
|
102 |
+
|
103 |
+
|
104 |
+
<div id="post-body">
|
105 |
+
|
106 |
+
<ul class="sortable" id="tto_sortable">
|
107 |
+
<?php
|
108 |
+
listTerms($taxonomy);
|
109 |
+
?>
|
110 |
+
</ul>
|
111 |
+
|
112 |
+
<div class="clear"></div>
|
113 |
+
</div>
|
114 |
+
|
115 |
+
<div class="alignleft actions">
|
116 |
+
<p class="submit">
|
117 |
+
<a href="javascript:;" class="save-order button-primary"><?php _e( "Update", 'to' ) ?></a>
|
118 |
+
</p>
|
119 |
+
</div>
|
120 |
+
|
121 |
+
</div>
|
122 |
+
|
123 |
+
</form>
|
124 |
+
|
125 |
+
<script type="text/javascript">
|
126 |
+
jQuery(document).ready(function() {
|
127 |
+
|
128 |
+
var NestedSortableSerializedData;
|
129 |
+
jQuery("ul.sortable").sortable({
|
130 |
+
'tolerance':'intersect',
|
131 |
+
'cursor':'pointer',
|
132 |
+
'items':'> li',
|
133 |
+
'axi': 'y',
|
134 |
+
'placeholder':'placeholder',
|
135 |
+
'nested': 'ul'
|
136 |
+
});
|
137 |
+
});
|
138 |
+
|
139 |
+
|
140 |
+
jQuery(".save-order").bind( "click", function() {
|
141 |
+
|
142 |
+
var mySortable = new Array();
|
143 |
+
jQuery(".sortable").each( function(){
|
144 |
+
|
145 |
+
var serialized = jQuery(this).sortable("serialize");
|
146 |
+
|
147 |
+
var parent_tag = jQuery(this).parent().get(0).tagName;
|
148 |
+
parent_tag = parent_tag.toLowerCase()
|
149 |
+
if (parent_tag == 'li')
|
150 |
+
{
|
151 |
+
//
|
152 |
+
var tag_id = jQuery(this).parent().attr('id');
|
153 |
+
mySortable[tag_id] = serialized;
|
154 |
+
}
|
155 |
+
else
|
156 |
+
{
|
157 |
+
//
|
158 |
+
mySortable[0] = serialized;
|
159 |
+
}
|
160 |
+
});
|
161 |
+
|
162 |
+
//serialize the array
|
163 |
+
var serialize_data = serialize(mySortable);
|
164 |
+
|
165 |
+
jQuery.post( ajaxurl, { action:'update-taxonomy-order', order: serialize_data, taxonomy : '<?php echo $taxonomy ?>' }, function() {
|
166 |
+
jQuery("#ajax-response").html('<div class="message updated fade"><p><?php _e( "Items Order Updates", 'to' ) ?></p></div>');
|
167 |
+
jQuery("#ajax-response div").delay(3000).hide("slow");
|
168 |
+
});
|
169 |
+
});
|
170 |
+
</script>
|
171 |
+
|
172 |
+
</div>
|
173 |
+
<?php
|
174 |
+
|
175 |
+
|
176 |
+
}
|
177 |
+
|
178 |
+
|
179 |
+
function listTerms($taxonomy)
|
180 |
+
{
|
181 |
+
|
182 |
+
// Query pages.
|
183 |
+
$args = array(
|
184 |
+
'orderby' => 'term_order',
|
185 |
+
'depth' => 0,
|
186 |
+
'child_of' => 0,
|
187 |
+
'hide_empty' => 0
|
188 |
+
);
|
189 |
+
$taxonomy_terms = get_terms($taxonomy, $args);
|
190 |
+
|
191 |
+
$output = '';
|
192 |
+
if (count($taxonomy_terms) > 0)
|
193 |
+
{
|
194 |
+
$output = TOwalkTree($taxonomy_terms, $args['depth'], $args);
|
195 |
+
}
|
196 |
+
|
197 |
+
echo $output;
|
198 |
+
|
199 |
+
}
|
200 |
+
|
201 |
+
function TOwalkTree($taxonomy_terms, $depth, $r)
|
202 |
+
{
|
203 |
+
$walker = new TO_Terms_Walker;
|
204 |
+
$args = array($taxonomy_terms, $depth, $r);
|
205 |
+
return call_user_func_array(array(&$walker, 'walk'), $args);
|
206 |
+
}
|
207 |
+
|
208 |
+
?>
|
include/options.php
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
function to_plugin_options()
|
5 |
+
{
|
6 |
+
$options = get_option('tto_options');
|
7 |
+
|
8 |
+
if (isset($_POST['form_submit']))
|
9 |
+
{
|
10 |
+
|
11 |
+
$options['level'] = $_POST['level'];
|
12 |
+
|
13 |
+
$options['autosort'] = isset($_POST['autosort']) ? $_POST['autosort'] : '';
|
14 |
+
$options['adminsort'] = isset($_POST['adminsort']) ? $_POST['adminsort'] : '';
|
15 |
+
|
16 |
+
?><div class="updated fade"><p><?php _e('Settings Saved', 'to') ?></p></div><?php
|
17 |
+
|
18 |
+
update_option('tto_options', $options);
|
19 |
+
}
|
20 |
+
|
21 |
+
?>
|
22 |
+
<div class="wrap">
|
23 |
+
<div id="icon-settings" class="icon32"></div>
|
24 |
+
<h2><?php _e( "General Settings", 'to' ) ?></h2>
|
25 |
+
|
26 |
+
<?php tto_info_box() ?>
|
27 |
+
|
28 |
+
<form id="form_data" name="form" method="post">
|
29 |
+
<br />
|
30 |
+
<h2 class="subtitle"><?php _e( "General", 'to' ) ?></h2>
|
31 |
+
<table class="form-table">
|
32 |
+
<tbody>
|
33 |
+
|
34 |
+
<tr valign="top">
|
35 |
+
<th scope="row" style="text-align: right;"><label><?php _e( "Minimum Level to use this plugin", 'to' ) ?></label></th>
|
36 |
+
<td>
|
37 |
+
<select id="role" name="level">
|
38 |
+
<option value="0" <?php if ($options['level'] == "0") echo 'selected="selected"'?>><?php _e('Subscriber', 'tto') ?></option>
|
39 |
+
<option value="1" <?php if ($options['level'] == "1") echo 'selected="selected"'?>><?php _e('Contributor', 'tto') ?></option>
|
40 |
+
<option value="2" <?php if ($options['level'] == "2") echo 'selected="selected"'?>><?php _e('Author', 'tto') ?></option>
|
41 |
+
<option value="5" <?php if ($options['level'] == "5") echo 'selected="selected"'?>><?php _e('Editor', 'tto') ?></option>
|
42 |
+
<option value="8" <?php if ($options['level'] == "8") echo 'selected="selected"'?>><?php _e('Administrator', 'tto') ?></option>
|
43 |
+
</select>
|
44 |
+
</td>
|
45 |
+
</tr>
|
46 |
+
|
47 |
+
|
48 |
+
<tr valign="top">
|
49 |
+
<th scope="row" style="text-align: right;"><label><?php _e( "Auto Sort", 'to' ) ?></label></th>
|
50 |
+
<td>
|
51 |
+
<select id="role" name="autosort">
|
52 |
+
<option value="0" <?php if ($options['autosort'] == "0") echo 'selected="selected"'?>><?php _e('OFF', 'tto') ?></option>
|
53 |
+
<option value="1" <?php if ($options['autosort'] == "1") echo 'selected="selected"'?>><?php _e('ON', 'tto') ?></option>
|
54 |
+
</select> *(<?php _e( "global setting", 'to' ) ?>)
|
55 |
+
</td>
|
56 |
+
</tr>
|
57 |
+
|
58 |
+
<tr valign="top">
|
59 |
+
<th scope="row" style="text-align: right;"><label><?php _e( "Admin Sort", 'to' ) ?></label></th>
|
60 |
+
<td>
|
61 |
+
<label for="users_can_register">
|
62 |
+
<input type="checkbox" <?php if ($options['adminsort'] == "1") {echo ' checked="checked"';} ?> value="1" name="adminsort">
|
63 |
+
<?php _e("This will change the order of terms within the admin interface", 'to') ?>.</label>
|
64 |
+
</td>
|
65 |
+
</tr>
|
66 |
+
|
67 |
+
<tr valign="top">
|
68 |
+
<th scope="row" style="text-align: right;"></th>
|
69 |
+
<td>
|
70 |
+
<br /><br /><br />
|
71 |
+
<p><b><u><?php _e( "Autosort OFF", 'to' ) ?></u></b></p>
|
72 |
+
<p class="example"><?php _e('No query will be changed, the terms will appear in the original order. To retrieve the terms in the required order you must use the term_order on the orderby parameter', 'to') ?>:</p>
|
73 |
+
<pre class="example">
|
74 |
+
$argv = array(
|
75 |
+
'orderby' => 'term_order',
|
76 |
+
'hide_empty' => false
|
77 |
+
);
|
78 |
+
get_terms('category', $argv);
|
79 |
+
</pre>
|
80 |
+
<p><?php _e( "See more info on the get_terms usage", 'to' ) ?> <a href="http://codex.wordpress.org/Function_Reference/get_terms" target="_blank"><?php _e( "here", 'to' ) ?></a></p>
|
81 |
+
|
82 |
+
<p><b><u><?php _e( "Autosort ON", 'to' ) ?></u></b></p>
|
83 |
+
<p class="example"><?php _e('The queries will be updated, all terms will appear in the order you manually defined. This is recommended if you don\'t want to change any theme code to apply the terms order', 'to') ?></p>
|
84 |
+
|
85 |
+
</td>
|
86 |
+
</tr>
|
87 |
+
|
88 |
+
</tbody>
|
89 |
+
</table>
|
90 |
+
|
91 |
+
|
92 |
+
<p class="submit">
|
93 |
+
<input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Settings', 'to') ?>">
|
94 |
+
</p>
|
95 |
+
|
96 |
+
<input type="hidden" name="form_submit" value="true" />
|
97 |
+
|
98 |
+
</form>
|
99 |
+
|
100 |
+
<?php
|
101 |
+
echo '</div>';
|
102 |
+
|
103 |
+
|
104 |
+
}
|
105 |
+
|
106 |
+
?>
|
include/terms_walker.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class TO_Terms_Walker extends Walker
|
5 |
+
{
|
6 |
+
|
7 |
+
var $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
|
8 |
+
|
9 |
+
|
10 |
+
function start_lvl(&$output, $depth = 0, $args = array() )
|
11 |
+
{
|
12 |
+
extract($args, EXTR_SKIP);
|
13 |
+
|
14 |
+
$indent = str_repeat("\t", $depth);
|
15 |
+
$output .= "\n$indent<ul class='children sortable'>\n";
|
16 |
+
}
|
17 |
+
|
18 |
+
|
19 |
+
function end_lvl(&$output, $depth = 0, $args = array())
|
20 |
+
{
|
21 |
+
extract($args, EXTR_SKIP);
|
22 |
+
|
23 |
+
$indent = str_repeat("\t", $depth);
|
24 |
+
$output .= "$indent</ul>\n";
|
25 |
+
}
|
26 |
+
|
27 |
+
|
28 |
+
function start_el(&$output, $term, $depth = 0, $args = array(), $current_object_id = 0)
|
29 |
+
{
|
30 |
+
if ( $depth )
|
31 |
+
$indent = str_repeat("\t", $depth);
|
32 |
+
else
|
33 |
+
$indent = '';
|
34 |
+
|
35 |
+
//extract($args, EXTR_SKIP);
|
36 |
+
$taxonomy = get_taxonomy($term->term_taxonomy_id);
|
37 |
+
$output .= $indent . '<li class="term_type_li" id="item_'.$term->term_id.'"><div class="item"><span>'.apply_filters( 'the_title', $term->name, $term->term_id ).' </span></div>';
|
38 |
+
}
|
39 |
+
|
40 |
+
|
41 |
+
function end_el(&$output, $object, $depth = 0, $args = array())
|
42 |
+
{
|
43 |
+
$output .= "</li>\n";
|
44 |
+
}
|
45 |
+
|
46 |
+
}
|
47 |
+
|
48 |
+
?>
|
js/to-javascript.js
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
function to_change_taxonomy(element)
|
3 |
+
{
|
4 |
+
//select the default category (0)
|
5 |
+
jQuery('#to_form #cat').val(jQuery("#to_form #cat option:first").val());
|
6 |
+
jQuery('#to_form').submit();
|
7 |
+
}
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
function serialize(mixed_value)
|
12 |
+
{
|
13 |
+
// http://kevin.vanzonneveld.net
|
14 |
+
// + original by: Arpad Ray (mailto:arpad@php.net)
|
15 |
+
// + improved by: Dino
|
16 |
+
// + bugfixed by: Andrej Pavlovic
|
17 |
+
// + bugfixed by: Garagoth
|
18 |
+
// + input by: DtTvB (http://dt.in.th/2008-09-16.string-length-in-bytes.html)
|
19 |
+
// + bugfixed by: Russell Walker (http://www.nbill.co.uk/)
|
20 |
+
// + bugfixed by: Jamie Beck (http://www.terabit.ca/)
|
21 |
+
// + input by: Martin (http://www.erlenwiese.de/)
|
22 |
+
// + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net/)
|
23 |
+
// + improved by: Le Torbi (http://www.letorbi.de/)
|
24 |
+
// + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net/)
|
25 |
+
// + bugfixed by: Ben (http://benblume.co.uk/)
|
26 |
+
// - depends on: utf8_encode
|
27 |
+
// % note: We feel the main purpose of this function should be to ease the transport of data between php & js
|
28 |
+
// % note: Aiming for PHP-compatibility, we have to translate objects to arrays
|
29 |
+
// * example 1: serialize(['Kevin', 'van', 'Zonneveld']);
|
30 |
+
// * returns 1: 'a:3:{i:0;s:5:"Kevin";i:1;s:3:"van";i:2;s:9:"Zonneveld";}'
|
31 |
+
// * example 2: serialize({firstName: 'Kevin', midName: 'van', surName: 'Zonneveld'});
|
32 |
+
// * returns 2: 'a:3:{s:9:"firstName";s:5:"Kevin";s:7:"midName";s:3:"van";s:7:"surName";s:9:"Zonneveld";}'
|
33 |
+
var _utf8Size = function (str) {
|
34 |
+
var size = 0,
|
35 |
+
i = 0,
|
36 |
+
l = str.length,
|
37 |
+
code = '';
|
38 |
+
for (i = 0; i < l; i++) {
|
39 |
+
code = str.charCodeAt(i);
|
40 |
+
if (code < 0x0080) {
|
41 |
+
size += 1;
|
42 |
+
} else if (code < 0x0800) {
|
43 |
+
size += 2;
|
44 |
+
} else {
|
45 |
+
size += 3;
|
46 |
+
}
|
47 |
+
}
|
48 |
+
return size;
|
49 |
+
};
|
50 |
+
var _getType = function (inp) {
|
51 |
+
var type = typeof inp,
|
52 |
+
match;
|
53 |
+
var key;
|
54 |
+
|
55 |
+
if (type === 'object' && !inp) {
|
56 |
+
return 'null';
|
57 |
+
}
|
58 |
+
if (type === "object") {
|
59 |
+
if (!inp.constructor) {
|
60 |
+
return 'object';
|
61 |
+
}
|
62 |
+
var cons = inp.constructor.toString();
|
63 |
+
match = cons.match(/(\w+)\(/);
|
64 |
+
if (match) {
|
65 |
+
cons = match[1].toLowerCase();
|
66 |
+
}
|
67 |
+
var types = ["boolean", "number", "string", "array"];
|
68 |
+
for (key in types) {
|
69 |
+
if (cons == types[key]) {
|
70 |
+
type = types[key];
|
71 |
+
break;
|
72 |
+
}
|
73 |
+
}
|
74 |
+
}
|
75 |
+
return type;
|
76 |
+
};
|
77 |
+
var type = _getType(mixed_value);
|
78 |
+
var val, ktype = '';
|
79 |
+
|
80 |
+
switch (type) {
|
81 |
+
case "function":
|
82 |
+
val = "";
|
83 |
+
break;
|
84 |
+
case "boolean":
|
85 |
+
val = "b:" + (mixed_value ? "1" : "0");
|
86 |
+
break;
|
87 |
+
case "number":
|
88 |
+
val = (Math.round(mixed_value) == mixed_value ? "i" : "d") + ":" + mixed_value;
|
89 |
+
break;
|
90 |
+
case "string":
|
91 |
+
val = "s:" + _utf8Size(mixed_value) + ":\"" + mixed_value + "\"";
|
92 |
+
break;
|
93 |
+
case "array":
|
94 |
+
case "object":
|
95 |
+
val = "a";
|
96 |
+
/*
|
97 |
+
if (type == "object") {
|
98 |
+
var objname = mixed_value.constructor.toString().match(/(\w+)\(\)/);
|
99 |
+
if (objname == undefined) {
|
100 |
+
return;
|
101 |
+
}
|
102 |
+
objname[1] = this.serialize(objname[1]);
|
103 |
+
val = "O" + objname[1].substring(1, objname[1].length - 1);
|
104 |
+
}
|
105 |
+
*/
|
106 |
+
var count = 0;
|
107 |
+
var vals = "";
|
108 |
+
var okey;
|
109 |
+
var key;
|
110 |
+
for (key in mixed_value) {
|
111 |
+
if (mixed_value.hasOwnProperty(key)) {
|
112 |
+
ktype = _getType(mixed_value[key]);
|
113 |
+
if (ktype === "function") {
|
114 |
+
continue;
|
115 |
+
}
|
116 |
+
|
117 |
+
okey = (key.match(/^[0-9]+$/) ? parseInt(key, 10) : key);
|
118 |
+
vals += this.serialize(okey) + this.serialize(mixed_value[key]);
|
119 |
+
count++;
|
120 |
+
}
|
121 |
+
}
|
122 |
+
val += ":" + count + ":{" + vals + "}";
|
123 |
+
break;
|
124 |
+
case "undefined":
|
125 |
+
// Fall-through
|
126 |
+
default:
|
127 |
+
// if the JS object has a property which contains a null value, the string cannot be unserialized by PHP
|
128 |
+
val = "N";
|
129 |
+
break;
|
130 |
+
}
|
131 |
+
if (type !== "object" && type !== "array") {
|
132 |
+
val += ";";
|
133 |
+
}
|
134 |
+
return val;
|
135 |
+
}
|
lang/to-de_DE.mo
ADDED
Binary file
|
lang/to-de_DE.po
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/taxonomy-terms-order\n"
|
5 |
+
"POT-Creation-Date: 2012-03-04 23:32:48+00:00\n"
|
6 |
+
"PO-Revision-Date: 2012-07-06 18:02+0200\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: nsp-code <electronice_delphi@yahoo.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__\n"
|
13 |
+
"X-Poedit-Basepath: c:\\2\\\n"
|
14 |
+
"X-Poedit-Language: english\n"
|
15 |
+
"X-Poedit-SearchPath-0: .\n"
|
16 |
+
|
17 |
+
#: include/interface.php:19
|
18 |
+
msgid "Taxonomy Order"
|
19 |
+
msgstr "Taxonomy Order"
|
20 |
+
|
21 |
+
#: include/interface.php:52
|
22 |
+
#: include/options.php:57
|
23 |
+
msgid "Did you found useful this plug-in? Please support our work with a donation or write an article about this plugin in your blog with a link to our site"
|
24 |
+
msgstr "Haben Sie gefunden nützlich dieses Plug-in? Bitte unterstützen Sie unsere Arbeit mit einer Spende oder einen Artikel schreiben über dieses Plugin in Ihrem Blog mit einem Link zu unserer Website"
|
25 |
+
|
26 |
+
#: include/interface.php:53
|
27 |
+
#: include/options.php:58
|
28 |
+
msgid "Did you know there is available a more advanced version of this plug-in?"
|
29 |
+
msgstr "Wussten Sie, es ist eine erweiterte Version dieses Plug-In?"
|
30 |
+
|
31 |
+
#: include/interface.php:53
|
32 |
+
#: include/options.php:58
|
33 |
+
msgid "Read more"
|
34 |
+
msgstr "Lesen Sie mehr"
|
35 |
+
|
36 |
+
#: include/interface.php:54
|
37 |
+
#: include/options.php:59
|
38 |
+
msgid "Check our"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: include/interface.php:54
|
42 |
+
#: include/options.php:59
|
43 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
44 |
+
msgstr "Plugin, um benutzerdefinierte Sortierung erlauben alle Beiträge, Seiten, benutzerdefinierte Typen Beitrag"
|
45 |
+
|
46 |
+
#: include/interface.php:60
|
47 |
+
msgid "This plugin can't work without javascript, because it's use drag and drop and AJAX."
|
48 |
+
msgstr "Dieses Plugin kann nicht ohne JavaScript, da sie den Einsatz Drag & Drop und AJAX."
|
49 |
+
|
50 |
+
#: include/interface.php:96
|
51 |
+
msgid "Taxonomies"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: include/interface.php:100
|
55 |
+
msgid "Taxonomy Title"
|
56 |
+
msgstr "Taxonomy Title"
|
57 |
+
|
58 |
+
#: include/interface.php:100
|
59 |
+
msgid "Total Posts"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: include/interface.php:150
|
63 |
+
msgid "Update"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: include/interface.php:199
|
67 |
+
msgid "Items Order Updates"
|
68 |
+
msgstr "Artikel zu bestellen Updates"
|
69 |
+
|
70 |
+
#: include/options.php:16
|
71 |
+
msgid "Settings Saved"
|
72 |
+
msgstr "Gespeicherte Einstellungen"
|
73 |
+
|
74 |
+
#: include/options.php:24
|
75 |
+
msgid "General Settings"
|
76 |
+
msgstr "Allgemeine Einstellungen"
|
77 |
+
|
78 |
+
#: include/options.php:64
|
79 |
+
msgid "General"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: include/options.php:69
|
83 |
+
msgid "Minimum Level to use this plugin"
|
84 |
+
msgstr "Minimum Level um dieses Plugin zu verwenden"
|
85 |
+
|
86 |
+
#: include/options.php:72
|
87 |
+
msgid "Subscriber"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: include/options.php:73
|
91 |
+
msgid "Contributor"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: include/options.php:74
|
95 |
+
msgid "Author"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: include/options.php:75
|
99 |
+
msgid "Editor"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: include/options.php:76
|
103 |
+
msgid "Administrator"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: include/options.php:83
|
107 |
+
msgid "Auto Sort"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: include/options.php:86
|
111 |
+
msgid "OFF"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: include/options.php:87
|
115 |
+
msgid "ON"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: include/options.php:88
|
119 |
+
msgid "global setting"
|
120 |
+
msgstr "globale Einstellung"
|
121 |
+
|
122 |
+
#: include/options.php:93
|
123 |
+
msgid "Admin Sort"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: include/options.php:97
|
127 |
+
msgid "This will change the order of terms within the admin interface"
|
128 |
+
msgstr "Dadurch wird die Reihenfolge der Begriffe innerhalb des Admin-Interface ändern"
|
129 |
+
|
130 |
+
#: include/options.php:105
|
131 |
+
msgid "Autosort OFF"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: include/options.php:106
|
135 |
+
msgid "No query will be changed, the terms will appear in the original order. To retrieve the terms in the required order you must use the term_order on the orderby parameter"
|
136 |
+
msgstr "Keine Abfrage geändert werden, die Begriffe werden in der ursprünglichen Reihenfolge angezeigt werden. Um die Bedingungen in der gewünschten Reihenfolge abrufen, müssen Sie die term_order auf der orderby Parameter verwenden"
|
137 |
+
|
138 |
+
#: include/options.php:114
|
139 |
+
msgid "See more info on the get_terms usage"
|
140 |
+
msgstr "Weitere Informationen über die Nutzung get_terms"
|
141 |
+
|
142 |
+
#: include/options.php:114
|
143 |
+
msgid "here"
|
144 |
+
msgstr "hier"
|
145 |
+
|
146 |
+
#: include/options.php:116
|
147 |
+
msgid "Autosort ON"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: include/options.php:117
|
151 |
+
msgid "The queries will be updated, all terms will appear in the order you manually defined. This is recommended if you don't want to change any theme code to apply the terms order"
|
152 |
+
msgstr "Die Abfragen werden aktualisiert, werden alle Begriffe werden in der Reihenfolge, die Sie manuell definiert erscheinen. Dies wird empfohlen, wenn Sie nicht möchten, dass ein beliebiges Design Code zu ändern, um die Begriffe Ordnung gelten"
|
153 |
+
|
154 |
+
#: include/options.php:127
|
155 |
+
msgid "Save Settings"
|
156 |
+
msgstr "Einstellungen speichern"
|
157 |
+
|
158 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
159 |
+
#. Plugin Name of the plugin/theme
|
160 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
161 |
+
#. Description of the plugin/theme
|
162 |
+
msgid "Category Order and Taxonomy Terms Order"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
166 |
+
#. Plugin URI of the plugin/theme
|
167 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
168 |
+
#. Author URI of the plugin/theme
|
169 |
+
msgid "http://www.nsp-code.com"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#. Author of the plugin/theme
|
173 |
+
msgid "Nsp-Code"
|
174 |
+
msgstr ""
|
175 |
+
|
lang/to-fr_FR.mo
ADDED
Binary file
|
lang/to-fr_FR.po
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/taxonomy-terms-order\n"
|
5 |
+
"POT-Creation-Date: 2012-03-04 23:32:48+00:00\n"
|
6 |
+
"PO-Revision-Date: 2012-07-06 17:58+0200\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: nsp-code <electronice_delphi@yahoo.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__\n"
|
13 |
+
"X-Poedit-Basepath: c:\\2\\\n"
|
14 |
+
"X-Poedit-Language: english\n"
|
15 |
+
"X-Poedit-SearchPath-0: .\n"
|
16 |
+
|
17 |
+
#: include/interface.php:19
|
18 |
+
msgid "Taxonomy Order"
|
19 |
+
msgstr "Ordre taxonomique"
|
20 |
+
|
21 |
+
#: include/interface.php:52
|
22 |
+
#: include/options.php:57
|
23 |
+
msgid "Did you found useful this plug-in? Please support our work with a donation or write an article about this plugin in your blog with a link to our site"
|
24 |
+
msgstr "Avez-vous trouvé utile ce plug-in? S'il vous plaît soutenir notre travail avec un don ou d'écrire un article sur ce plugin dans votre blog avec un lien vers notre site"
|
25 |
+
|
26 |
+
#: include/interface.php:53
|
27 |
+
#: include/options.php:58
|
28 |
+
msgid "Did you know there is available a more advanced version of this plug-in?"
|
29 |
+
msgstr "Saviez-vous qu'il est disponible une version plus avancée de ce plug-in?"
|
30 |
+
|
31 |
+
#: include/interface.php:53
|
32 |
+
#: include/options.php:58
|
33 |
+
msgid "Read more"
|
34 |
+
msgstr "Lire la suite"
|
35 |
+
|
36 |
+
#: include/interface.php:54
|
37 |
+
#: include/options.php:59
|
38 |
+
msgid "Check our"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: include/interface.php:54
|
42 |
+
#: include/options.php:59
|
43 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
44 |
+
msgstr "plug-in qui permettent de tri personnalisé tous les messages, des pages, les types de poste de douane"
|
45 |
+
|
46 |
+
#: include/interface.php:60
|
47 |
+
msgid "This plugin can't work without javascript, because it's use drag and drop and AJAX."
|
48 |
+
msgstr "Ce plugin ne peut pas fonctionner sans javascript, parce que c'est glisser-déposer et AJAX."
|
49 |
+
|
50 |
+
#: include/interface.php:96
|
51 |
+
msgid "Taxonomies"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: include/interface.php:100
|
55 |
+
msgid "Taxonomy Title"
|
56 |
+
msgstr "Taxonomy Title"
|
57 |
+
|
58 |
+
#: include/interface.php:100
|
59 |
+
msgid "Total Posts"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: include/interface.php:150
|
63 |
+
msgid "Update"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: include/interface.php:199
|
67 |
+
msgid "Items Order Updates"
|
68 |
+
msgstr "Mises à jour des objets de commande"
|
69 |
+
|
70 |
+
#: include/options.php:16
|
71 |
+
msgid "Settings Saved"
|
72 |
+
msgstr "Paramètres enregistrés"
|
73 |
+
|
74 |
+
#: include/options.php:24
|
75 |
+
msgid "General Settings"
|
76 |
+
msgstr "Paramètres généraux"
|
77 |
+
|
78 |
+
#: include/options.php:64
|
79 |
+
msgid "General"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: include/options.php:69
|
83 |
+
msgid "Minimum Level to use this plugin"
|
84 |
+
msgstr "Niveau minimum requis pour utiliser ce plugin"
|
85 |
+
|
86 |
+
#: include/options.php:72
|
87 |
+
msgid "Subscriber"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: include/options.php:73
|
91 |
+
msgid "Contributor"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: include/options.php:74
|
95 |
+
msgid "Author"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: include/options.php:75
|
99 |
+
msgid "Editor"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: include/options.php:76
|
103 |
+
msgid "Administrator"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: include/options.php:83
|
107 |
+
msgid "Auto Sort"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: include/options.php:86
|
111 |
+
msgid "OFF"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: include/options.php:87
|
115 |
+
msgid "ON"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: include/options.php:88
|
119 |
+
msgid "global setting"
|
120 |
+
msgstr "paramètre global"
|
121 |
+
|
122 |
+
#: include/options.php:93
|
123 |
+
msgid "Admin Sort"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: include/options.php:97
|
127 |
+
msgid "This will change the order of terms within the admin interface"
|
128 |
+
msgstr "Cela va changer l'ordre des termes dans l'interface d'admin"
|
129 |
+
|
130 |
+
#: include/options.php:105
|
131 |
+
msgid "Autosort OFF"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: include/options.php:106
|
135 |
+
msgid "No query will be changed, the terms will appear in the original order. To retrieve the terms in the required order you must use the term_order on the orderby parameter"
|
136 |
+
msgstr "Aucune requête ne sera changé, les termes apparaissent dans l'ordre original. Pour récupérer les termes dans l'ordre requis, vous devez utiliser le term_order sur le paramètre orderby"
|
137 |
+
|
138 |
+
#: include/options.php:114
|
139 |
+
msgid "See more info on the get_terms usage"
|
140 |
+
msgstr "Voir plus d'informations sur l'utilisation get_terms"
|
141 |
+
|
142 |
+
#: include/options.php:114
|
143 |
+
msgid "here"
|
144 |
+
msgstr "ici"
|
145 |
+
|
146 |
+
#: include/options.php:116
|
147 |
+
msgid "Autosort ON"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: include/options.php:117
|
151 |
+
msgid "The queries will be updated, all terms will appear in the order you manually defined. This is recommended if you don't want to change any theme code to apply the terms order"
|
152 |
+
msgstr "Les requêtes seront mis à jour, tous les termes apparaissent dans l'ordre que vous défini manuellement. Cela est recommandé si vous ne voulez pas modifier le code thème à appliquer l'ordre des termes"
|
153 |
+
|
154 |
+
#: include/options.php:127
|
155 |
+
msgid "Save Settings"
|
156 |
+
msgstr "Enregistrer les paramètres"
|
157 |
+
|
158 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
159 |
+
#. Plugin Name of the plugin/theme
|
160 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
161 |
+
#. Description of the plugin/theme
|
162 |
+
msgid "Category Order and Taxonomy Terms Order"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
166 |
+
#. Plugin URI of the plugin/theme
|
167 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
168 |
+
#. Author URI of the plugin/theme
|
169 |
+
msgid "http://www.nsp-code.com"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#. Author of the plugin/theme
|
173 |
+
msgid "Nsp-Code"
|
174 |
+
msgstr ""
|
175 |
+
|
lang/to-ja.mo
ADDED
Binary file
|
lang/to-ja.po
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012 Category Order and Taxonomy Terms Order
|
2 |
+
# This file is distributed under the same license as the Category Order and Taxonomy Terms Order package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order 1.2.7\n"
|
6 |
+
"Report-Msgid-Bugs-To: \n"
|
7 |
+
"POT-Creation-Date: 2013-04-19 15:02+0900\n"
|
8 |
+
"PO-Revision-Date: 2013-04-20 17:30+0900\n"
|
9 |
+
"Last-Translator: JOTAKI, Taisuke <tekapo@gmail.com>\n"
|
10 |
+
"Language-Team: tekapo <tekapo@gmail.com>\n"
|
11 |
+
"Language: Japanese\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.5.5\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
17 |
+
"X-Poedit-Basepath: /Users/Tai/Dropbox/vhosts/www_hyperion/wp_plugins/wp-"
|
18 |
+
"content/plugins\n"
|
19 |
+
"X-Poedit-SearchPath-0: taxonomy-terms-order\n"
|
20 |
+
|
21 |
+
#: taxonomy-terms-order/include/interface.php:19
|
22 |
+
msgid "Taxonomy Order"
|
23 |
+
msgstr "タクソノミーオーダー"
|
24 |
+
|
25 |
+
#: taxonomy-terms-order/include/interface.php:52
|
26 |
+
#: taxonomy-terms-order/include/options.php:57
|
27 |
+
msgid ""
|
28 |
+
"Did you find this plugin useful? Please support our work with a donation or "
|
29 |
+
"write an article about this plugin in your blog with a link to our site"
|
30 |
+
msgstr ""
|
31 |
+
"このプラグインはあなたの役に立ちましたか?寄付をしてくださるか、あなたのブロ"
|
32 |
+
"グに次のサイトへのリンク付きで記事を書いてサポートをお願いします: "
|
33 |
+
|
34 |
+
#: taxonomy-terms-order/include/interface.php:53
|
35 |
+
#: taxonomy-terms-order/include/options.php:58
|
36 |
+
msgid ""
|
37 |
+
"Did you know there is available a more advanced version of this plug-in?"
|
38 |
+
msgstr "このプラグインの高機能版があるのを御存じですか?"
|
39 |
+
|
40 |
+
#: taxonomy-terms-order/include/interface.php:53
|
41 |
+
#: taxonomy-terms-order/include/options.php:58
|
42 |
+
msgid "Read more"
|
43 |
+
msgstr "もっと読む"
|
44 |
+
|
45 |
+
#: taxonomy-terms-order/include/interface.php:54
|
46 |
+
#: taxonomy-terms-order/include/options.php:59
|
47 |
+
msgid "Check our"
|
48 |
+
msgstr " "
|
49 |
+
|
50 |
+
#: taxonomy-terms-order/include/interface.php:54
|
51 |
+
#: taxonomy-terms-order/include/options.php:59
|
52 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
53 |
+
msgstr ""
|
54 |
+
"プラグインはすべての投稿、固定ページ、カスタム投稿タイプのソートを変更できる"
|
55 |
+
"ようにします。"
|
56 |
+
|
57 |
+
#: taxonomy-terms-order/include/interface.php:60
|
58 |
+
msgid ""
|
59 |
+
"This plugin can't work without javascript, because it's use drag and drop "
|
60 |
+
"and AJAX."
|
61 |
+
msgstr ""
|
62 |
+
"このプラグインではドラッグアンドドロップに AJAX を利用しているので "
|
63 |
+
"JavaScript 無しでは動作しません。"
|
64 |
+
|
65 |
+
#: taxonomy-terms-order/include/interface.php:96
|
66 |
+
msgid "Taxonomies"
|
67 |
+
msgstr "タクソノミー"
|
68 |
+
|
69 |
+
#: taxonomy-terms-order/include/interface.php:100
|
70 |
+
msgid "Taxonomy Title"
|
71 |
+
msgstr "タクソノミーのタイトル"
|
72 |
+
|
73 |
+
#: taxonomy-terms-order/include/interface.php:100
|
74 |
+
msgid "Total Posts"
|
75 |
+
msgstr "投稿数"
|
76 |
+
|
77 |
+
#: taxonomy-terms-order/include/interface.php:150
|
78 |
+
msgid "Update"
|
79 |
+
msgstr "更新"
|
80 |
+
|
81 |
+
#: taxonomy-terms-order/include/interface.php:199
|
82 |
+
msgid "Items Order Updates"
|
83 |
+
msgstr "項目の順番を更新しました"
|
84 |
+
|
85 |
+
#: taxonomy-terms-order/include/options.php:16
|
86 |
+
msgid "Settings Saved"
|
87 |
+
msgstr "設定を保存しました"
|
88 |
+
|
89 |
+
#: taxonomy-terms-order/include/options.php:24
|
90 |
+
msgid "General Settings"
|
91 |
+
msgstr "一般設定"
|
92 |
+
|
93 |
+
#: taxonomy-terms-order/include/options.php:64
|
94 |
+
msgid "General"
|
95 |
+
msgstr "一般"
|
96 |
+
|
97 |
+
#: taxonomy-terms-order/include/options.php:69
|
98 |
+
msgid "Minimum Level to use this plugin"
|
99 |
+
msgstr "このプラグインを利用できる最小権限"
|
100 |
+
|
101 |
+
#: taxonomy-terms-order/include/options.php:72
|
102 |
+
msgid "Subscriber"
|
103 |
+
msgstr "購読者"
|
104 |
+
|
105 |
+
#: taxonomy-terms-order/include/options.php:73
|
106 |
+
msgid "Contributor"
|
107 |
+
msgstr "寄稿者"
|
108 |
+
|
109 |
+
#: taxonomy-terms-order/include/options.php:74
|
110 |
+
msgid "Author"
|
111 |
+
msgstr "投稿者"
|
112 |
+
|
113 |
+
#: taxonomy-terms-order/include/options.php:75
|
114 |
+
msgid "Editor"
|
115 |
+
msgstr "編集者"
|
116 |
+
|
117 |
+
#: taxonomy-terms-order/include/options.php:76
|
118 |
+
msgid "Administrator"
|
119 |
+
msgstr "管理者"
|
120 |
+
|
121 |
+
#: taxonomy-terms-order/include/options.php:83
|
122 |
+
msgid "Auto Sort"
|
123 |
+
msgstr "自動ソート"
|
124 |
+
|
125 |
+
#: taxonomy-terms-order/include/options.php:86
|
126 |
+
msgid "OFF"
|
127 |
+
msgstr "オフ"
|
128 |
+
|
129 |
+
#: taxonomy-terms-order/include/options.php:87
|
130 |
+
msgid "ON"
|
131 |
+
msgstr "オン"
|
132 |
+
|
133 |
+
#: taxonomy-terms-order/include/options.php:88
|
134 |
+
msgid "global setting"
|
135 |
+
msgstr "全体設定"
|
136 |
+
|
137 |
+
#: taxonomy-terms-order/include/options.php:93
|
138 |
+
msgid "Admin Sort"
|
139 |
+
msgstr "管理画面でのソート"
|
140 |
+
|
141 |
+
#: taxonomy-terms-order/include/options.php:97
|
142 |
+
msgid "This will change the order of terms within the admin interface"
|
143 |
+
msgstr "この設定は管理画面内でのタームの順序を変更します。"
|
144 |
+
|
145 |
+
#: taxonomy-terms-order/include/options.php:105
|
146 |
+
msgid "Autosort OFF"
|
147 |
+
msgstr "自動ソートのオフ"
|
148 |
+
|
149 |
+
#: taxonomy-terms-order/include/options.php:106
|
150 |
+
msgid ""
|
151 |
+
"No query will be changed, the terms will appear in the original order. To "
|
152 |
+
"retrieve the terms in the required order you must use the term_order on the "
|
153 |
+
"orderby parameter"
|
154 |
+
msgstr ""
|
155 |
+
"クエリーは変更されません。タームは元の順序で表示されます。タームを必要とされ"
|
156 |
+
"る順序で取得するには、orderby パラメータで term_order を使う必要があります"
|
157 |
+
|
158 |
+
#: taxonomy-terms-order/include/options.php:114
|
159 |
+
msgid "See more info on the get_terms usage"
|
160 |
+
msgstr "get_terms の利用方法についての詳細は"
|
161 |
+
|
162 |
+
#: taxonomy-terms-order/include/options.php:114
|
163 |
+
msgid "here"
|
164 |
+
msgstr "こちらをご覧ください。"
|
165 |
+
|
166 |
+
#: taxonomy-terms-order/include/options.php:116
|
167 |
+
msgid "Autosort ON"
|
168 |
+
msgstr "自動ソートオン"
|
169 |
+
|
170 |
+
#: taxonomy-terms-order/include/options.php:117
|
171 |
+
msgid ""
|
172 |
+
"The queries will be updated, all terms will appear in the order you manually "
|
173 |
+
"defined. This is recommended if you don't want to change any theme code to "
|
174 |
+
"apply the terms order"
|
175 |
+
msgstr ""
|
176 |
+
"クエリーは更新され、すべてのタームは手動で設定した順序で表示されます。ターム"
|
177 |
+
"の順序に適用させるためにテーマのコードを変更したくなければ、こちらの方をおす"
|
178 |
+
"すめします"
|
179 |
+
|
180 |
+
#: taxonomy-terms-order/include/options.php:127
|
181 |
+
msgid "Save Settings"
|
182 |
+
msgstr "設定を保存する"
|
lang/to-nl_NL.mo
ADDED
Binary file
|
lang/to-nl_NL.po
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-07-06 17:30+0200\n"
|
6 |
+
"PO-Revision-Date: 2012-07-06 17:30+0200\n"
|
7 |
+
"Last-Translator: nsp-code <electronice_delphi@yahoo.com>\n"
|
8 |
+
"Language-Team: nsp-code <electronice_delphi@yahoo.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
13 |
+
"X-Poedit-Basepath: D:\\htdocs\\develop\\advanced_post_types_order\\wp-content\\plugins\\taxonomy-terms-order\\\n"
|
14 |
+
"X-Poedit-Language: Netherland\n"
|
15 |
+
"X-Poedit-SearchPath-0: .\n"
|
16 |
+
|
17 |
+
#: include/interface.php:19
|
18 |
+
msgid "Taxonomy Order"
|
19 |
+
msgstr "Structuur volgorde"
|
20 |
+
|
21 |
+
#: include/interface.php:52
|
22 |
+
#: include/options.php:57
|
23 |
+
msgid "Did you found useful this plug-in? Please support our work with a donation or write an article about this plugin in your blog with a link to our site"
|
24 |
+
msgstr "Vind je dit een nuttige plugin? Ondersteun ons werk met een donatie of schrijf een artikel over deze plugin op je site met een link naar onze site."
|
25 |
+
|
26 |
+
#: include/interface.php:53
|
27 |
+
#: include/options.php:58
|
28 |
+
msgid "Did you know there is available a more advanced version of this plug-in?"
|
29 |
+
msgstr "Wist je dat er een meer uitgebreide versie van deze plugin beschikbaar is?"
|
30 |
+
|
31 |
+
#: include/interface.php:53
|
32 |
+
#: include/options.php:58
|
33 |
+
msgid "Read more"
|
34 |
+
msgstr "Meer lezen"
|
35 |
+
|
36 |
+
#: include/interface.php:54
|
37 |
+
#: include/options.php:59
|
38 |
+
msgid "Check our"
|
39 |
+
msgstr "Bezoek onze"
|
40 |
+
|
41 |
+
#: include/interface.php:54
|
42 |
+
#: include/options.php:59
|
43 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
44 |
+
msgstr "een plugin die je toestaat om alle berichten, pagina's en aangepaste berichttypen te sorteren"
|
45 |
+
|
46 |
+
#: include/interface.php:60
|
47 |
+
msgid "This plugin can't work without javascript, because it's use drag and drop and AJAX."
|
48 |
+
msgstr "Deze plugin kan niet werken zonder javascript, om dat het AJAX klik-en-sleep gebruikt."
|
49 |
+
|
50 |
+
#: include/interface.php:96
|
51 |
+
msgid "Taxonomies"
|
52 |
+
msgstr "Structuren"
|
53 |
+
|
54 |
+
#: include/interface.php:100
|
55 |
+
msgid "Taxonomy Title"
|
56 |
+
msgstr "Structuur Titel"
|
57 |
+
|
58 |
+
#: include/interface.php:100
|
59 |
+
msgid "Total Posts"
|
60 |
+
msgstr "Totale berichten"
|
61 |
+
|
62 |
+
#: include/interface.php:150
|
63 |
+
msgid "Update"
|
64 |
+
msgstr "Bijwerken"
|
65 |
+
|
66 |
+
#: include/interface.php:199
|
67 |
+
msgid "Items Order Updates"
|
68 |
+
msgstr "Bestel artikelen Updates"
|
69 |
+
|
70 |
+
#: include/options.php:16
|
71 |
+
msgid "Settings Saved"
|
72 |
+
msgstr "Instellingen bijgewerkt"
|
73 |
+
|
74 |
+
#: include/options.php:24
|
75 |
+
msgid "General Settings"
|
76 |
+
msgstr "Algemene instellingen"
|
77 |
+
|
78 |
+
#: include/options.php:64
|
79 |
+
msgid "General"
|
80 |
+
msgstr "Algemeen"
|
81 |
+
|
82 |
+
#: include/options.php:69
|
83 |
+
msgid "Minimum Level to use this plugin"
|
84 |
+
msgstr "Minimale niveau om deze plugin te gebruiken"
|
85 |
+
|
86 |
+
#: include/options.php:72
|
87 |
+
msgid "Subscriber"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: include/options.php:73
|
91 |
+
msgid "Contributor"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: include/options.php:74
|
95 |
+
#, fuzzy
|
96 |
+
msgid "Author"
|
97 |
+
msgstr "Automatisch sorteren"
|
98 |
+
|
99 |
+
#: include/options.php:75
|
100 |
+
msgid "Editor"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: include/options.php:76
|
104 |
+
#, fuzzy
|
105 |
+
msgid "Administrator"
|
106 |
+
msgstr "Admin sorteren"
|
107 |
+
|
108 |
+
#: include/options.php:83
|
109 |
+
msgid "Auto Sort"
|
110 |
+
msgstr "Automatisch sorteren"
|
111 |
+
|
112 |
+
#: include/options.php:86
|
113 |
+
msgid "OFF"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: include/options.php:87
|
117 |
+
msgid "ON"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: include/options.php:88
|
121 |
+
#, fuzzy
|
122 |
+
msgid "global setting"
|
123 |
+
msgstr "Algemene instellingen"
|
124 |
+
|
125 |
+
#: include/options.php:93
|
126 |
+
msgid "Admin Sort"
|
127 |
+
msgstr "Admin sorteren"
|
128 |
+
|
129 |
+
#: include/options.php:97
|
130 |
+
msgid "This will change the order of terms within the admin interface"
|
131 |
+
msgstr "Dit zal de volgorde wijzigen in de admin interface"
|
132 |
+
|
133 |
+
#: include/options.php:105
|
134 |
+
msgid "Autosort OFF"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: include/options.php:106
|
138 |
+
#, fuzzy
|
139 |
+
msgid "No query will be changed, the terms will appear in the original order. To retrieve the terms in the required order you must use the term_order on the orderby parameter"
|
140 |
+
msgstr "Er word geen query gewijzigd, de termen zullen verschijnen in de originele volgorde. Om de terms in de verplichte volgorde op te halen moet de de menu_order op de orderby parameter opgehaald worden"
|
141 |
+
|
142 |
+
#: include/options.php:114
|
143 |
+
msgid "See more info on the get_terms usage"
|
144 |
+
msgstr "Meer informatie over het get_terms gebruik"
|
145 |
+
|
146 |
+
#: include/options.php:114
|
147 |
+
msgid "here"
|
148 |
+
msgstr "hier"
|
149 |
+
|
150 |
+
#: include/options.php:116
|
151 |
+
msgid "Autosort ON"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: include/options.php:117
|
155 |
+
#, fuzzy
|
156 |
+
msgid "The queries will be updated, all terms will appear in the order you manually defined. This is recommended if you don't want to change any theme code to apply the terms order"
|
157 |
+
msgstr "De query wordt bijgewerkt, alle termen verschijnen in de volgorde die je handmatig instelt. Dit wordt aanbevolen als je de themacode voor de volgorde niet wilt wijzigen"
|
158 |
+
|
159 |
+
#: include/options.php:127
|
160 |
+
msgid "Save Settings"
|
161 |
+
msgstr "Instellingen opslaan"
|
162 |
+
|
lang/to-ro_RO.mo
ADDED
Binary file
|
lang/to-ro_RO.po
ADDED
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/taxonomy-terms-order\n"
|
5 |
+
"POT-Creation-Date: 2012-03-04 23:32:48+00:00\n"
|
6 |
+
"PO-Revision-Date: 2012-07-06 17:34+0200\n"
|
7 |
+
"Last-Translator: nsp-code <electronice_delphi@yahoo.com>\n"
|
8 |
+
"Language-Team: nsp-code <electronice_delphi@yahoo.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__\n"
|
13 |
+
"X-Poedit-Basepath: c:\\2\\\n"
|
14 |
+
"X-Poedit-Language: english\n"
|
15 |
+
"X-Poedit-SearchPath-0: .\n"
|
16 |
+
|
17 |
+
#: include/interface.php:19
|
18 |
+
msgid "Taxonomy Order"
|
19 |
+
msgstr "Taxonomy Order"
|
20 |
+
|
21 |
+
#: include/interface.php:52
|
22 |
+
#: include/options.php:57
|
23 |
+
msgid "Did you found useful this plug-in? Please support our work with a donation or write an article about this plugin in your blog with a link to our site"
|
24 |
+
msgstr "Ai gasit util acest plug-in? Vă rugăm să sprijine munca noastră, cu o donaţie sau scrieti un articol despre acest plugin în blog cu o legătură catre site-ul nostru"
|
25 |
+
|
26 |
+
#: include/interface.php:53
|
27 |
+
#: include/options.php:58
|
28 |
+
msgid "Did you know there is available a more advanced version of this plug-in?"
|
29 |
+
msgstr "Ştiaţi că există disponibile o versiune mai avansată a acestui plug-in?"
|
30 |
+
|
31 |
+
#: include/interface.php:53
|
32 |
+
#: include/options.php:58
|
33 |
+
msgid "Read more"
|
34 |
+
msgstr "Citeste mai mult"
|
35 |
+
|
36 |
+
#: include/interface.php:54
|
37 |
+
#: include/options.php:59
|
38 |
+
msgid "Check our"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: include/interface.php:54
|
42 |
+
#: include/options.php:59
|
43 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
44 |
+
msgstr "plugin care permit să sortare particularizată toate posturile, pagini, tipuri personalizate mesaj"
|
45 |
+
|
46 |
+
#: include/interface.php:60
|
47 |
+
msgid "This plugin can't work without javascript, because it's use drag and drop and AJAX."
|
48 |
+
msgstr "Acest plugin nu poate funcţiona fără javascript, pentru ca este trageţi şi de folosit picătură şi AJAX."
|
49 |
+
|
50 |
+
#: include/interface.php:96
|
51 |
+
msgid "Taxonomies"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: include/interface.php:100
|
55 |
+
msgid "Taxonomy Title"
|
56 |
+
msgstr "Titlul Taxonomiei"
|
57 |
+
|
58 |
+
#: include/interface.php:100
|
59 |
+
msgid "Total Posts"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: include/interface.php:150
|
63 |
+
msgid "Update"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: include/interface.php:199
|
67 |
+
msgid "Items Order Updates"
|
68 |
+
msgstr "Ordinea elementelor salvata"
|
69 |
+
|
70 |
+
#: include/options.php:16
|
71 |
+
msgid "Settings Saved"
|
72 |
+
msgstr "Setari salvate"
|
73 |
+
|
74 |
+
#: include/options.php:24
|
75 |
+
msgid "General Settings"
|
76 |
+
msgstr "Setari generale"
|
77 |
+
|
78 |
+
#: include/options.php:64
|
79 |
+
msgid "General"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: include/options.php:69
|
83 |
+
msgid "Minimum Level to use this plugin"
|
84 |
+
msgstr "Nivel minim pentru a utiliza acest plugin"
|
85 |
+
|
86 |
+
#: include/options.php:72
|
87 |
+
msgid "Subscriber"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: include/options.php:73
|
91 |
+
msgid "Contributor"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: include/options.php:74
|
95 |
+
msgid "Author"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: include/options.php:75
|
99 |
+
msgid "Editor"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: include/options.php:76
|
103 |
+
msgid "Administrator"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: include/options.php:83
|
107 |
+
msgid "Auto Sort"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: include/options.php:86
|
111 |
+
msgid "OFF"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: include/options.php:87
|
115 |
+
msgid "ON"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: include/options.php:88
|
119 |
+
#, fuzzy
|
120 |
+
msgid "global setting"
|
121 |
+
msgstr "Setari generale"
|
122 |
+
|
123 |
+
#: include/options.php:93
|
124 |
+
msgid "Admin Sort"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: include/options.php:97
|
128 |
+
msgid "This will change the order of terms within the admin interface"
|
129 |
+
msgstr "Acest lucru se va schimba ordinea termenilor în cadrul interfata de administrare"
|
130 |
+
|
131 |
+
#: include/options.php:105
|
132 |
+
msgid "Autosort OFF"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: include/options.php:106
|
136 |
+
#, fuzzy
|
137 |
+
msgid "No query will be changed, the terms will appear in the original order. To retrieve the terms in the required order you must use the term_order on the orderby parameter"
|
138 |
+
msgstr "Nr interogarea va fi schimbat, ceea ce va apărea în ordinea iniţială. Pentru a prelua termenii în ordinea cerută trebuie să utilizaţi menu_order pe parametrul orderby"
|
139 |
+
|
140 |
+
#: include/options.php:114
|
141 |
+
msgid "See more info on the get_terms usage"
|
142 |
+
msgstr "A se vedea mai multe informaţii despre utilizarea get_terms"
|
143 |
+
|
144 |
+
#: include/options.php:114
|
145 |
+
msgid "here"
|
146 |
+
msgstr "aici"
|
147 |
+
|
148 |
+
#: include/options.php:116
|
149 |
+
msgid "Autosort ON"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: include/options.php:117
|
153 |
+
#, fuzzy
|
154 |
+
msgid "The queries will be updated, all terms will appear in the order you manually defined. This is recommended if you don't want to change any theme code to apply the terms order"
|
155 |
+
msgstr "Interogarea va fi actualizat, toţi termenii vor apărea în ordinea în care manual definit. Acest lucru este recomandat dacă nu doriţi să modificaţi codul din temă pentru a aplica ordinul de termeni"
|
156 |
+
|
157 |
+
#: include/options.php:127
|
158 |
+
msgid "Save Settings"
|
159 |
+
msgstr "Salveaza Setarile"
|
160 |
+
|
161 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
162 |
+
#. Plugin Name of the plugin/theme
|
163 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
164 |
+
#. Description of the plugin/theme
|
165 |
+
msgid "Category Order and Taxonomy Terms Order"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
169 |
+
#. Plugin URI of the plugin/theme
|
170 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
171 |
+
#. Author URI of the plugin/theme
|
172 |
+
msgid "http://www.nsp-code.com"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#. Author of the plugin/theme
|
176 |
+
msgid "Nsp-Code"
|
177 |
+
msgstr ""
|
178 |
+
|
lang/to-sk_SK.mo
ADDED
Binary file
|
lang/to-sk_SK.po
ADDED
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012 Category Order and Taxonomy Terms Order
|
2 |
+
# This file is distributed under the same license as the Category Order and Taxonomy Terms Order package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order 1.2.7\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/taxonomy-terms-order\n"
|
7 |
+
"POT-Creation-Date: 2012-03-04 23:32:48+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2013-01-22 14:55+0300\n"
|
12 |
+
"Last-Translator: Serg\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
"X-Generator: Poedit 1.5.4\n"
|
15 |
+
|
16 |
+
#: include/interface.php:19
|
17 |
+
msgid "Taxonomy Order"
|
18 |
+
msgstr "Taxonómia objednávky"
|
19 |
+
|
20 |
+
#: include/interface.php:52 include/options.php:57
|
21 |
+
msgid ""
|
22 |
+
"Did you found useful this plug-in? Please support our work with a donation "
|
23 |
+
"or write an article about this plugin in your blog with a link to our site"
|
24 |
+
msgstr ""
|
25 |
+
"Urobil ste našli užitočné tento plug-in? Prosím podporu našej práce s "
|
26 |
+
"darovaním alebo napísať článok o tejto plugin do svojho blogu s odkazom na "
|
27 |
+
"našu stránku"
|
28 |
+
|
29 |
+
#: include/interface.php:53 include/options.php:58
|
30 |
+
msgid ""
|
31 |
+
"Did you know there is available a more advanced version of this plug-in?"
|
32 |
+
msgstr "Vedeli ste, že nie je k dispozícii pokročilejšiu verziu tohto plug-in?"
|
33 |
+
|
34 |
+
#: include/interface.php:53 include/options.php:58
|
35 |
+
msgid "Read more"
|
36 |
+
msgstr "Prečítajte si viac"
|
37 |
+
|
38 |
+
#: include/interface.php:54 include/options.php:59
|
39 |
+
msgid "Check our"
|
40 |
+
msgstr "Skontrolujte, či naše"
|
41 |
+
|
42 |
+
#: include/interface.php:54 include/options.php:59
|
43 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
44 |
+
msgstr ""
|
45 |
+
"plugin, ktorý umožní vlastné zoradenie všetkých príspevkov, stránok, vlastné "
|
46 |
+
"post typy"
|
47 |
+
|
48 |
+
#: include/interface.php:60
|
49 |
+
msgid ""
|
50 |
+
"This plugin can't work without javascript, because it's use drag and drop "
|
51 |
+
"and AJAX."
|
52 |
+
msgstr ""
|
53 |
+
"Tento plugin nemôže fungovať bez JavaScriptu, pretože je použitie drag and "
|
54 |
+
"drop a AJAX."
|
55 |
+
|
56 |
+
#: include/interface.php:96
|
57 |
+
msgid "Taxonomies"
|
58 |
+
msgstr "Taxonómie"
|
59 |
+
|
60 |
+
#: include/interface.php:100
|
61 |
+
msgid "Taxonomy Title"
|
62 |
+
msgstr "Názov taxonómie"
|
63 |
+
|
64 |
+
#: include/interface.php:100
|
65 |
+
msgid "Total Posts"
|
66 |
+
msgstr "Celkom príspevkov"
|
67 |
+
|
68 |
+
#: include/interface.php:150
|
69 |
+
msgid "Update"
|
70 |
+
msgstr "Aktualizácia"
|
71 |
+
|
72 |
+
#: include/interface.php:199
|
73 |
+
msgid "Items Order Updates"
|
74 |
+
msgstr "Položky objednávky aktualizácie"
|
75 |
+
|
76 |
+
#: include/options.php:16
|
77 |
+
msgid "Settings Saved"
|
78 |
+
msgstr "Nastavenia uložené"
|
79 |
+
|
80 |
+
#: include/options.php:24
|
81 |
+
msgid "General Settings"
|
82 |
+
msgstr "Všeobecné nastavenia"
|
83 |
+
|
84 |
+
#: include/options.php:64
|
85 |
+
msgid "General"
|
86 |
+
msgstr "Všeobecné"
|
87 |
+
|
88 |
+
#: include/options.php:69
|
89 |
+
msgid "Minimum Level to use this plugin"
|
90 |
+
msgstr "Minimálna úroveň používať tento plugin"
|
91 |
+
|
92 |
+
#: include/options.php:72
|
93 |
+
msgid "Subscriber"
|
94 |
+
msgstr "Účastníka"
|
95 |
+
|
96 |
+
#: include/options.php:73
|
97 |
+
msgid "Contributor"
|
98 |
+
msgstr "Prispievateľ"
|
99 |
+
|
100 |
+
#: include/options.php:74
|
101 |
+
msgid "Author"
|
102 |
+
msgstr "Autor"
|
103 |
+
|
104 |
+
#: include/options.php:75
|
105 |
+
msgid "Editor"
|
106 |
+
msgstr "Editor"
|
107 |
+
|
108 |
+
#: include/options.php:76
|
109 |
+
msgid "Administrator"
|
110 |
+
msgstr "Správca"
|
111 |
+
|
112 |
+
#: include/options.php:83
|
113 |
+
msgid "Auto Sort"
|
114 |
+
msgstr "Automatické zoradenie"
|
115 |
+
|
116 |
+
#: include/options.php:86
|
117 |
+
msgid "OFF"
|
118 |
+
msgstr "OFF"
|
119 |
+
|
120 |
+
#: include/options.php:87
|
121 |
+
msgid "ON"
|
122 |
+
msgstr "ĎALEJ"
|
123 |
+
|
124 |
+
#: include/options.php:88
|
125 |
+
msgid "global setting"
|
126 |
+
msgstr "globálne nastavenie"
|
127 |
+
|
128 |
+
#: include/options.php:93
|
129 |
+
msgid "Admin Sort"
|
130 |
+
msgstr "Admin zoradenie"
|
131 |
+
|
132 |
+
#: include/options.php:97
|
133 |
+
msgid "This will change the order of terms within the admin interface"
|
134 |
+
msgstr "To zmení poradie výrazy v rámci administrátorského rozhrania"
|
135 |
+
|
136 |
+
#: include/options.php:105
|
137 |
+
msgid "Autosort OFF"
|
138 |
+
msgstr "Ak chcete tieto funkcie vypnúť"
|
139 |
+
|
140 |
+
#: include/options.php:106
|
141 |
+
msgid ""
|
142 |
+
"No query will be changed, the terms will appear in the original order. To "
|
143 |
+
"retrieve the terms in the required order you must use the term_order on the "
|
144 |
+
"orderby parameter"
|
145 |
+
msgstr ""
|
146 |
+
"Žiadny dotaz sa zmení, výrazy sa zobrazia v pôvodnom poradí. Na Vyber s "
|
147 |
+
"podmienkami požadovanými objednajte si musíte použiť term_order na orderby "
|
148 |
+
"parameter"
|
149 |
+
|
150 |
+
#: include/options.php:114
|
151 |
+
msgid "See more info on the get_terms usage"
|
152 |
+
msgstr "Pozri viac info na get_terms využitie"
|
153 |
+
|
154 |
+
#: include/options.php:114
|
155 |
+
msgid "here"
|
156 |
+
msgstr "tu"
|
157 |
+
|
158 |
+
#: include/options.php:116
|
159 |
+
msgid "Autosort ON"
|
160 |
+
msgstr "Ak chcete tieto funkcie na"
|
161 |
+
|
162 |
+
#: include/options.php:117
|
163 |
+
msgid ""
|
164 |
+
"The queries will be updated, all terms will appear in the order you manually "
|
165 |
+
"defined. This is recommended if you don't want to change any theme code to "
|
166 |
+
"apply the terms order"
|
167 |
+
msgstr ""
|
168 |
+
"Otázky budú aktualizované, všetky výrazy sa zobrazia v poradí ste manuálne "
|
169 |
+
"definované. Toto sa odporúča Ak nechcete meniť tému kód k platia podmienky "
|
170 |
+
"objednávky"
|
171 |
+
|
172 |
+
#: include/options.php:127
|
173 |
+
msgid "Save Settings"
|
174 |
+
msgstr "Uložiť nastavenia"
|
175 |
+
|
176 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
177 |
+
#. Plugin Name of the plugin/theme
|
178 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
179 |
+
#. Description of the plugin/theme
|
180 |
+
msgid "Category Order and Taxonomy Terms Order"
|
181 |
+
msgstr "Poradí kategórií a taxonómie podmienky objednávky"
|
182 |
+
|
183 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
184 |
+
#. Plugin URI of the plugin/theme
|
185 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
186 |
+
#. Author URI of the plugin/theme
|
187 |
+
msgid "http://www.nsp-code.com"
|
188 |
+
msgstr "http://www.NSP-code.com"
|
189 |
+
|
190 |
+
#. Author of the plugin/theme
|
191 |
+
msgid "Nsp-Code"
|
192 |
+
msgstr "NSP-kód"
|
lang/to-zh_TW.mo
ADDED
Binary file
|
lang/to-zh_TW.po
ADDED
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012 Category Order and Taxonomy Terms Order
|
2 |
+
# This file is distributed under the same license as the Category Order and Taxonomy Terms Order package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order 1.2.7\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/taxonomy-terms-order\n"
|
7 |
+
"POT-Creation-Date: 2014-01-27 19:04+0800\n"
|
8 |
+
"PO-Revision-Date: 2014-01-27 19:34+0800\n"
|
9 |
+
"Last-Translator: 張香腸 <s9011514@gmail.com>\n"
|
10 |
+
"Language-Team: 香腸炒魷魚 <service@sofree.cc>\n"
|
11 |
+
"Language: zh_TW\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.5.7\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
17 |
+
"X-Poedit-Basepath: .\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
|
20 |
+
#: ../taxonomy-terms-order.php:88
|
21 |
+
msgid "Taxonomy Terms Order"
|
22 |
+
msgstr "分類標籤自訂排序"
|
23 |
+
|
24 |
+
#: ../taxonomy-terms-order.php:114 ../taxonomy-terms-order.php:116
|
25 |
+
#: ../include/interface.php:19
|
26 |
+
msgid "Taxonomy Order"
|
27 |
+
msgstr "分類排序"
|
28 |
+
|
29 |
+
#: ../include/interface.php:52 ../include/options.php:57
|
30 |
+
msgid ""
|
31 |
+
"Did you find this plugin useful? Please support our work with a donation or "
|
32 |
+
"write an article about this plugin in your blog with a link to our site"
|
33 |
+
msgstr ""
|
34 |
+
"你覺得這外掛有幫助你嗎?請讚助我們落寫篇文章介紹這個外掛並連結我們網站,支持"
|
35 |
+
"我們的開發。"
|
36 |
+
|
37 |
+
#: ../include/interface.php:53 ../include/options.php:58
|
38 |
+
msgid ""
|
39 |
+
"Did you know there is available a more advanced version of this plug-in?"
|
40 |
+
msgstr "你知道這個外掛有一個進階的版本嗎?"
|
41 |
+
|
42 |
+
#: ../include/interface.php:53 ../include/options.php:58
|
43 |
+
msgid "Read more"
|
44 |
+
msgstr "了解詳情"
|
45 |
+
|
46 |
+
#: ../include/interface.php:54 ../include/options.php:59
|
47 |
+
msgid "Check our"
|
48 |
+
msgstr "查看我們的"
|
49 |
+
|
50 |
+
#: ../include/interface.php:54 ../include/options.php:59
|
51 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
52 |
+
msgstr ""
|
53 |
+
",這外掛允許您自訂所有的文章、頁面、自訂文章型態的排序。 <br /><br /> 外掛正"
|
54 |
+
"體中文化:<a href=\"http://sofree.cc\" target=\"_blank\">香腸炒魷魚</a>、<a "
|
55 |
+
"href=\"http://achang.tw\" target=\"_blank\">阿腸網頁設計工作室</a>。"
|
56 |
+
|
57 |
+
#: ../include/interface.php:60
|
58 |
+
msgid ""
|
59 |
+
"This plugin can't work without javascript, because it's use drag and drop "
|
60 |
+
"and AJAX."
|
61 |
+
msgstr ""
|
62 |
+
"這個外掛無法運行在不支援JavaScript的環境下,因為他的拖曳排序功能是使用ajax。"
|
63 |
+
|
64 |
+
#: ../include/interface.php:96
|
65 |
+
msgid "Taxonomies"
|
66 |
+
msgstr "自訂分類"
|
67 |
+
|
68 |
+
#: ../include/interface.php:100
|
69 |
+
msgid "Taxonomy Title"
|
70 |
+
msgstr "自訂分類標題"
|
71 |
+
|
72 |
+
#: ../include/interface.php:100
|
73 |
+
msgid "Total Posts"
|
74 |
+
msgstr "總文章"
|
75 |
+
|
76 |
+
#: ../include/interface.php:150
|
77 |
+
msgid "Update"
|
78 |
+
msgstr "更新"
|
79 |
+
|
80 |
+
#: ../include/interface.php:199
|
81 |
+
msgid "Items Order Updates"
|
82 |
+
msgstr "已更新項目順序。"
|
83 |
+
|
84 |
+
#: ../include/options.php:16
|
85 |
+
msgid "Settings Saved"
|
86 |
+
msgstr "儲存變更"
|
87 |
+
|
88 |
+
#: ../include/options.php:24
|
89 |
+
msgid "General Settings"
|
90 |
+
msgstr "一般設定"
|
91 |
+
|
92 |
+
#: ../include/options.php:64
|
93 |
+
msgid "General"
|
94 |
+
msgstr "一般"
|
95 |
+
|
96 |
+
#: ../include/options.php:69
|
97 |
+
msgid "Minimum Level to use this plugin"
|
98 |
+
msgstr "最低可用此外掛的角色"
|
99 |
+
|
100 |
+
#: ../include/options.php:72
|
101 |
+
msgid "Subscriber"
|
102 |
+
msgstr "訂閱者"
|
103 |
+
|
104 |
+
#: ../include/options.php:73
|
105 |
+
msgid "Contributor"
|
106 |
+
msgstr "貢獻者"
|
107 |
+
|
108 |
+
#: ../include/options.php:74
|
109 |
+
msgid "Author"
|
110 |
+
msgstr "作者"
|
111 |
+
|
112 |
+
#: ../include/options.php:75
|
113 |
+
msgid "Editor"
|
114 |
+
msgstr "編輯"
|
115 |
+
|
116 |
+
#: ../include/options.php:76
|
117 |
+
msgid "Administrator"
|
118 |
+
msgstr "管理者"
|
119 |
+
|
120 |
+
#: ../include/options.php:83
|
121 |
+
msgid "Auto Sort"
|
122 |
+
msgstr "自動排序"
|
123 |
+
|
124 |
+
#: ../include/options.php:86
|
125 |
+
msgid "OFF"
|
126 |
+
msgstr "關閉"
|
127 |
+
|
128 |
+
#: ../include/options.php:87
|
129 |
+
msgid "ON"
|
130 |
+
msgstr "開啟"
|
131 |
+
|
132 |
+
#: ../include/options.php:88
|
133 |
+
msgid "global setting"
|
134 |
+
msgstr "全站設定"
|
135 |
+
|
136 |
+
#: ../include/options.php:93
|
137 |
+
msgid "Admin Sort"
|
138 |
+
msgstr "管理排序"
|
139 |
+
|
140 |
+
#: ../include/options.php:97
|
141 |
+
msgid "This will change the order of terms within the admin interface"
|
142 |
+
msgstr "這將改變分類、標籤管理介面中的分類順序"
|
143 |
+
|
144 |
+
#: ../include/options.php:105
|
145 |
+
msgid "Autosort OFF"
|
146 |
+
msgstr "停用自動排序"
|
147 |
+
|
148 |
+
#: ../include/options.php:106
|
149 |
+
msgid ""
|
150 |
+
"No query will be changed, the terms will appear in the original order. To "
|
151 |
+
"retrieve the terms in the required order you must use the term_order on the "
|
152 |
+
"orderby parameter"
|
153 |
+
msgstr ""
|
154 |
+
"沒有變更任何查詢,排序將保持系統預設。自訂分類、標籤的輸出若要採用自訂順序,"
|
155 |
+
"必須在 orderby 上使用 term_order 參數"
|
156 |
+
|
157 |
+
#: ../include/options.php:114
|
158 |
+
msgid "See more info on the get_terms usage"
|
159 |
+
msgstr "查看更多關於 get_terms 的使用方法"
|
160 |
+
|
161 |
+
#: ../include/options.php:114
|
162 |
+
msgid "here"
|
163 |
+
msgstr "這裡"
|
164 |
+
|
165 |
+
#: ../include/options.php:116
|
166 |
+
msgid "Autosort ON"
|
167 |
+
msgstr "啟用自動排序"
|
168 |
+
|
169 |
+
#: ../include/options.php:117
|
170 |
+
msgid ""
|
171 |
+
"The queries will be updated, all terms will appear in the order you manually "
|
172 |
+
"defined. This is recommended if you don't want to change any theme code to "
|
173 |
+
"apply the terms order"
|
174 |
+
msgstr ""
|
175 |
+
"查詢將被更新,所有的項目將使用您手動定義的順序。這是建議:如果你不想要改變任"
|
176 |
+
"何佈景主題代碼就有自訂順序。"
|
177 |
+
|
178 |
+
#: ../include/options.php:127
|
179 |
+
msgid "Save Settings"
|
180 |
+
msgstr "儲存變更"
|
lang/to.mo
ADDED
Binary file
|
lang/to.po
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-07-06 17:32+0200\n"
|
6 |
+
"PO-Revision-Date: 2012-07-06 17:32+0200\n"
|
7 |
+
"Last-Translator: nsp-code <electronice_delphi@yahoo.com>\n"
|
8 |
+
"Language-Team: nsp-code <electronice_delphi@yahoo.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e\n"
|
13 |
+
"X-Poedit-Basepath: D:\\htdocs\\develop\\advanced_post_types_order\\wp-content\\plugins\\taxonomy-terms-order\\\n"
|
14 |
+
"X-Poedit-Language: english\n"
|
15 |
+
"X-Poedit-SearchPath-0: .\n"
|
16 |
+
|
17 |
+
#: include/interface.php:19
|
18 |
+
msgid "Taxonomy Order"
|
19 |
+
msgstr ""
|
20 |
+
|
21 |
+
#: include/interface.php:52
|
22 |
+
#: include/options.php:57
|
23 |
+
msgid "Did you found useful this plug-in? Please support our work with a donation or write an article about this plugin in your blog with a link to our site"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: include/interface.php:53
|
27 |
+
#: include/options.php:58
|
28 |
+
msgid "Did you know there is available a more advanced version of this plug-in?"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: include/interface.php:53
|
32 |
+
#: include/options.php:58
|
33 |
+
msgid "Read more"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: include/interface.php:54
|
37 |
+
#: include/options.php:59
|
38 |
+
msgid "Check our"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: include/interface.php:54
|
42 |
+
#: include/options.php:59
|
43 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: include/interface.php:60
|
47 |
+
msgid "This plugin can't work without javascript, because it's use drag and drop and AJAX."
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: include/interface.php:96
|
51 |
+
msgid "Taxonomies"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: include/interface.php:100
|
55 |
+
msgid "Taxonomy Title"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: include/interface.php:100
|
59 |
+
msgid "Total Posts"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: include/interface.php:150
|
63 |
+
msgid "Update"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: include/interface.php:199
|
67 |
+
msgid "Items Order Updates"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: include/options.php:16
|
71 |
+
msgid "Settings Saved"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: include/options.php:24
|
75 |
+
msgid "General Settings"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: include/options.php:64
|
79 |
+
msgid "General"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: include/options.php:69
|
83 |
+
msgid "Minimum Level to use this plugin"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: include/options.php:72
|
87 |
+
msgid "Subscriber"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: include/options.php:73
|
91 |
+
msgid "Contributor"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: include/options.php:74
|
95 |
+
msgid "Author"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: include/options.php:75
|
99 |
+
msgid "Editor"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: include/options.php:76
|
103 |
+
msgid "Administrator"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: include/options.php:83
|
107 |
+
msgid "Auto Sort"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: include/options.php:86
|
111 |
+
msgid "OFF"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: include/options.php:87
|
115 |
+
msgid "ON"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: include/options.php:88
|
119 |
+
msgid "global setting"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: include/options.php:93
|
123 |
+
msgid "Admin Sort"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: include/options.php:97
|
127 |
+
msgid "This will change the order of terms within the admin interface"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: include/options.php:105
|
131 |
+
msgid "Autosort OFF"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: include/options.php:106
|
135 |
+
msgid "No query will be changed, the terms will appear in the original order. To retrieve the terms in the required order you must use the term_order on the orderby parameter"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: include/options.php:114
|
139 |
+
msgid "See more info on the get_terms usage"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: include/options.php:114
|
143 |
+
msgid "here"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: include/options.php:116
|
147 |
+
msgid "Autosort ON"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: include/options.php:117
|
151 |
+
msgid "The queries will be updated, all terms will appear in the order you manually defined. This is recommended if you don't want to change any theme code to apply the terms order"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: include/options.php:127
|
155 |
+
msgid "Save Settings"
|
156 |
+
msgstr ""
|
157 |
+
|
lang/to.pot
ADDED
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012 Category Order and Taxonomy Terms Order
|
2 |
+
# This file is distributed under the same license as the Category Order and Taxonomy Terms Order package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Category Order and Taxonomy Terms Order 1.2.7\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/taxonomy-terms-order\n"
|
7 |
+
"POT-Creation-Date: 2012-03-04 23:32:48+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#: include/interface.php:19
|
16 |
+
msgid "Taxonomy Order"
|
17 |
+
msgstr ""
|
18 |
+
|
19 |
+
#: include/interface.php:52 include/options.php:57
|
20 |
+
msgid ""
|
21 |
+
"Did you found useful this plug-in? Please support our work with a donation "
|
22 |
+
"or write an article about this plugin in your blog with a link to our site"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: include/interface.php:53 include/options.php:58
|
26 |
+
msgid ""
|
27 |
+
"Did you know there is available a more advanced version of this plug-in?"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: include/interface.php:53 include/options.php:58
|
31 |
+
msgid "Read more"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: include/interface.php:54 include/options.php:59
|
35 |
+
msgid "Check our"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: include/interface.php:54 include/options.php:59
|
39 |
+
msgid "plugin which allow to custom sort all posts, pages, custom post types"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: include/interface.php:60
|
43 |
+
msgid ""
|
44 |
+
"This plugin can't work without javascript, because it's use drag and drop "
|
45 |
+
"and AJAX."
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: include/interface.php:96
|
49 |
+
msgid "Taxonomies"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: include/interface.php:100
|
53 |
+
msgid "Taxonomy Title"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: include/interface.php:100
|
57 |
+
msgid "Total Posts"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: include/interface.php:150
|
61 |
+
msgid "Update"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: include/interface.php:199
|
65 |
+
msgid "Items Order Updates"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: include/options.php:16
|
69 |
+
msgid "Settings Saved"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: include/options.php:24
|
73 |
+
msgid "General Settings"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: include/options.php:64
|
77 |
+
msgid "General"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: include/options.php:69
|
81 |
+
msgid "Minimum Level to use this plugin"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: include/options.php:72
|
85 |
+
msgid "Subscriber"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: include/options.php:73
|
89 |
+
msgid "Contributor"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: include/options.php:74
|
93 |
+
msgid "Author"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: include/options.php:75
|
97 |
+
msgid "Editor"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: include/options.php:76
|
101 |
+
msgid "Administrator"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: include/options.php:83
|
105 |
+
msgid "Auto Sort"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: include/options.php:86
|
109 |
+
msgid "OFF"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: include/options.php:87
|
113 |
+
msgid "ON"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: include/options.php:88
|
117 |
+
msgid "global setting"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: include/options.php:93
|
121 |
+
msgid "Admin Sort"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: include/options.php:97
|
125 |
+
msgid "This will change the order of terms within the admin interface"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: include/options.php:105
|
129 |
+
msgid "Autosort OFF"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: include/options.php:106
|
133 |
+
msgid ""
|
134 |
+
"No query will be changed, the terms will appear in the original order. To "
|
135 |
+
"retrieve the terms in the required order you must use the term_order on the "
|
136 |
+
"orderby parameter"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: include/options.php:114
|
140 |
+
msgid "See more info on the get_terms usage"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: include/options.php:114
|
144 |
+
msgid "here"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: include/options.php:116
|
148 |
+
msgid "Autosort ON"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: include/options.php:117
|
152 |
+
msgid ""
|
153 |
+
"The queries will be updated, all terms will appear in the order you manually "
|
154 |
+
"defined. This is recommended if you don't want to change any theme code to "
|
155 |
+
"apply the terms order"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: include/options.php:127
|
159 |
+
msgid "Save Settings"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
163 |
+
#. Plugin Name of the plugin/theme
|
164 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
165 |
+
#. Description of the plugin/theme
|
166 |
+
msgid "Category Order and Taxonomy Terms Order"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
170 |
+
#. Plugin URI of the plugin/theme
|
171 |
+
#. #-#-#-#-# plugin.pot (Category Order and Taxonomy Terms Order 1.2.7) #-#-#-#-#
|
172 |
+
#. Author URI of the plugin/theme
|
173 |
+
msgid "http://www.nsp-code.com"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#. Author of the plugin/theme
|
177 |
+
msgid "Nsp-Code"
|
178 |
+
msgstr ""
|
readme.txt
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Category Order and Taxonomy Terms Order ===
|
2 |
+
Contributors: Nsp Code
|
3 |
+
Donate link: http://www.nsp-code.com/donate.php
|
4 |
+
Tags: category order,terms order, taxonomy order, admin order
|
5 |
+
Requires at least: 2.8
|
6 |
+
Tested up to: 3.9
|
7 |
+
Stable tag: 1.3.6
|
8 |
+
|
9 |
+
Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability. No Theme update is required.
|
10 |
+
|
11 |
+
== Description ==
|
12 |
+
|
13 |
+
Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable javascript capability. <strong>No Theme update is required</strong> the code will change the query on the fly.
|
14 |
+
If multiple taxonomies are created for a custom post type, a menu will allow to chose the one need sorted. If child categories (terms) are defined, tose can be sorder too using the same interface
|
15 |
+
<br />Also you can have the admin terms interface sorted per your new sort.
|
16 |
+
<br />This plugin is developed by <a target="_blank" href="http://www.nsp-code.com">Nsp-Code</a>
|
17 |
+
|
18 |
+
== Installation ==
|
19 |
+
|
20 |
+
1. Upload `taxonomy-terms-order` folder to your `/wp-content/plugins/` directory.
|
21 |
+
2. Activate the plugin from Admin > Plugins menu.
|
22 |
+
3. Once activated you should check with Settings > Taxonomy Terms Order
|
23 |
+
4. Use Taxonomy Order link which appear into each post type section to make your sort.
|
24 |
+
|
25 |
+
== Screenshots ==
|
26 |
+
|
27 |
+
1. Category Order Interface.
|
28 |
+
2. Multiple Taxonomies Interface.
|
29 |
+
|
30 |
+
== Frequently Asked Questions ==
|
31 |
+
|
32 |
+
Feel free to contact me at electronice_delphi@yahoo.com
|
33 |
+
|
34 |
+
= I have no PHP knowledge at all, i will still be able to use this plugin? =
|
35 |
+
|
36 |
+
Yes, this is the right tool for you. The plugin come with a unique feature to update the queries on the fly and return the terms in the required ored without changing any line of code. Or as alternative you can do that manually.
|
37 |
+
|
38 |
+
= What taxonomies will allow me to sort? =
|
39 |
+
|
40 |
+
You can sort ALL taxonomies, including the default Categories.
|
41 |
+
|
42 |
+
= Is there any way i can get my admin interface to use the custom terms order? =
|
43 |
+
|
44 |
+
Absolutelly, the plugin can do that. In fact you can configure so only the admin will update and the front side template will display the terms as before.
|
45 |
+
|
46 |
+
= There is a feature that i want it implemented, can you do something about it? =
|
47 |
+
|
48 |
+
All ideas are welcome and i put them on my list to be implemented into the new versions. Anyway this may take time, but if you are in a rush, please consider a small donation and we can arrange something.
|
49 |
+
|
50 |
+
== Change Log ==
|
51 |
+
|
52 |
+
= 1.3.6 =
|
53 |
+
- Traditional Chineze Language (Thanks to Danny http://sofree.cc)
|
54 |
+
- Minor admin styling
|
55 |
+
|
56 |
+
= 1.3.4 =
|
57 |
+
- Menu walker update
|
58 |
+
- Translations load fix
|
59 |
+
- Japanese language
|
60 |
+
|
61 |
+
= 1.3.0 =
|
62 |
+
- Headers already sent bug fix
|
63 |
+
- Slovak Language (Branco Slovak http://webhostinggeeks.com/user-reviews/)
|
64 |
+
|
65 |
+
= 1.2.9 =
|
66 |
+
- Small updates
|
67 |
+
- German and French languages.
|
68 |
+
|
69 |
+
= 1.2.7 =
|
70 |
+
- Localisation Implement, Dutch and Romanian.
|
71 |
+
Many thanks to Anja Fokker http://www.werkgroepen.net/
|
72 |
+
|
73 |
+
|
74 |
+
== Upgrade Notice ==
|
75 |
+
|
76 |
+
Make sure you get the latest version
|
77 |
+
|
78 |
+
|
79 |
+
== Localization ==
|
80 |
+
|
81 |
+
Available in English, Dutch, French, Deutch, Slovak, Japanese, Traditional Chineze and Romanian
|
82 |
+
Whant to contribute with a translation to your language? Please use the attached to.pot file
|
screenshot-1.gif
ADDED
Binary file
|
screenshot-2.gif
ADDED
Binary file
|
taxonomy-terms-order.php
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Category Order and Taxonomy Terms Order
|
4 |
+
Plugin URI: http://www.nsp-code.com
|
5 |
+
Description: Category Order and Taxonomy Terms Order
|
6 |
+
Version: 1.3.6
|
7 |
+
Author: Nsp-Code
|
8 |
+
Author URI: http://www.nsp-code.com
|
9 |
+
Author Email: electronice_delphi@yahoo.com
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
define('TOPATH', plugin_dir_path(__FILE__));
|
14 |
+
define('TOURL', plugins_url('', __FILE__));
|
15 |
+
|
16 |
+
register_deactivation_hook(__FILE__, 'TO_deactivated');
|
17 |
+
register_activation_hook(__FILE__, 'TO_activated');
|
18 |
+
|
19 |
+
function TO_activated()
|
20 |
+
{
|
21 |
+
global $wpdb;
|
22 |
+
|
23 |
+
//check if the menu_order column exists;
|
24 |
+
$query = "SHOW COLUMNS FROM $wpdb->terms
|
25 |
+
LIKE 'term_order'";
|
26 |
+
$result = $wpdb->query($query);
|
27 |
+
|
28 |
+
if ($result == 0)
|
29 |
+
{
|
30 |
+
$query = "ALTER TABLE $wpdb->terms ADD `term_order` INT( 4 ) NULL DEFAULT '0'";
|
31 |
+
$result = $wpdb->query($query);
|
32 |
+
}
|
33 |
+
|
34 |
+
//make sure the vars are set as default
|
35 |
+
$options = get_option('tto_options');
|
36 |
+
if (!isset($options['autosort']))
|
37 |
+
$options['autosort'] = '1';
|
38 |
+
|
39 |
+
if (!isset($options['adminsort']))
|
40 |
+
$options['adminsort'] = '1';
|
41 |
+
|
42 |
+
if (!isset($options['level']))
|
43 |
+
$options['level'] = 8;
|
44 |
+
|
45 |
+
update_option('tto_options', $options);
|
46 |
+
}
|
47 |
+
|
48 |
+
function TO_deactivated()
|
49 |
+
{
|
50 |
+
|
51 |
+
}
|
52 |
+
|
53 |
+
include_once(TOPATH . '/include/functions.php');
|
54 |
+
|
55 |
+
add_action( 'plugins_loaded', 'to_load_textdomain');
|
56 |
+
function to_load_textdomain()
|
57 |
+
{
|
58 |
+
load_plugin_textdomain('to', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/lang');
|
59 |
+
}
|
60 |
+
|
61 |
+
add_action('admin_print_scripts', 'TO_admin_scripts');
|
62 |
+
function TO_admin_scripts()
|
63 |
+
{
|
64 |
+
wp_enqueue_script('jquery');
|
65 |
+
|
66 |
+
wp_enqueue_script('jquery-ui-sortable');
|
67 |
+
|
68 |
+
$myJsFile = TOURL . '/js/to-javascript.js';
|
69 |
+
wp_register_script('to-javascript.js', $myJsFile);
|
70 |
+
wp_enqueue_script( 'to-javascript.js');
|
71 |
+
|
72 |
+
}
|
73 |
+
|
74 |
+
add_action('admin_print_styles', 'TO_admin_styles');
|
75 |
+
function TO_admin_styles()
|
76 |
+
{
|
77 |
+
$myCssFile = TOURL . '/css/to.css';
|
78 |
+
wp_register_style('to.css', $myCssFile);
|
79 |
+
wp_enqueue_style( 'to.css');
|
80 |
+
}
|
81 |
+
|
82 |
+
add_action('admin_menu', 'TOPluginMenu', 99);
|
83 |
+
|
84 |
+
function TOPluginMenu()
|
85 |
+
{
|
86 |
+
include (TOPATH . '/include/interface.php');
|
87 |
+
include (TOPATH . '/include/terms_walker.php');
|
88 |
+
|
89 |
+
include (TOPATH . '/include/options.php');
|
90 |
+
add_options_page('Taxonomy Terms Order', '<img class="menu_tto" src="'. TOURL .'/images/menu-icon.png" alt="" />' . __('Taxonomy Terms Order', 'to'), 'manage_options', 'to-options', 'to_plugin_options');
|
91 |
+
|
92 |
+
$options = get_option('tto_options');
|
93 |
+
|
94 |
+
if (!isset($options['level']))
|
95 |
+
$options['level'] = 8;
|
96 |
+
|
97 |
+
//put a menu within all custom types if apply
|
98 |
+
$post_types = get_post_types();
|
99 |
+
foreach( $post_types as $post_type)
|
100 |
+
{
|
101 |
+
|
102 |
+
//check if there are any taxonomy for this post type
|
103 |
+
$post_type_taxonomies = get_object_taxonomies($post_type);
|
104 |
+
|
105 |
+
foreach ($post_type_taxonomies as $key => $taxonomy_name)
|
106 |
+
{
|
107 |
+
$taxonomy_info = get_taxonomy($taxonomy_name);
|
108 |
+
if ($taxonomy_info->hierarchical !== TRUE)
|
109 |
+
unset($post_type_taxonomies[$key]);
|
110 |
+
}
|
111 |
+
|
112 |
+
if (count($post_type_taxonomies) == 0)
|
113 |
+
continue;
|
114 |
+
|
115 |
+
if ($post_type == 'post')
|
116 |
+
add_submenu_page('edit.php', __('Taxonomy Order', 'to'), __('Taxonomy Order', 'to'), 'level_'.$options['level'], 'to-interface-'.$post_type, 'TOPluginInterface' );
|
117 |
+
else
|
118 |
+
add_submenu_page('edit.php?post_type='.$post_type, __('Taxonomy Order', 'to'), __('Taxonomy Order', 'to'), 'level_'.$options['level'], 'to-interface-'.$post_type, 'TOPluginInterface' );
|
119 |
+
}
|
120 |
+
}
|
121 |
+
|
122 |
+
|
123 |
+
add_action( 'wp_ajax_update-custom-type-order-hierarchical', array(&$this, 'saveAjaxOrderHierarchical') );
|
124 |
+
|
125 |
+
|
126 |
+
function TO_applyorderfilter($orderby, $args)
|
127 |
+
{
|
128 |
+
$options = get_option('tto_options');
|
129 |
+
|
130 |
+
//if admin make sure use the admin setting
|
131 |
+
if (is_admin())
|
132 |
+
{
|
133 |
+
if ($options['adminsort'] == "1")
|
134 |
+
return 't.term_order';
|
135 |
+
|
136 |
+
return $orderby;
|
137 |
+
}
|
138 |
+
|
139 |
+
//if autosort, then force the menu_order
|
140 |
+
if ($options['autosort'] == 1)
|
141 |
+
{
|
142 |
+
return 't.term_order';
|
143 |
+
}
|
144 |
+
|
145 |
+
return $orderby;
|
146 |
+
}
|
147 |
+
|
148 |
+
add_filter('get_terms_orderby', 'TO_applyorderfilter', 10, 2);
|
149 |
+
|
150 |
+
add_filter('get_terms_orderby', 'TO_get_terms_orderby', 1, 2);
|
151 |
+
function TO_get_terms_orderby($orderby, $args)
|
152 |
+
{
|
153 |
+
if (isset($args['orderby']) && $args['orderby'] == "term_order" && $orderby != "term_order")
|
154 |
+
return "t.term_order";
|
155 |
+
|
156 |
+
return $orderby;
|
157 |
+
}
|
158 |
+
|
159 |
+
add_action( 'wp_ajax_update-taxonomy-order', 'TOsaveAjaxOrder' );
|
160 |
+
function TOsaveAjaxOrder()
|
161 |
+
{
|
162 |
+
global $wpdb;
|
163 |
+
$taxonomy = stripslashes($_POST['taxonomy']);
|
164 |
+
$data = stripslashes($_POST['order']);
|
165 |
+
$unserialised_data = unserialize($data);
|
166 |
+
|
167 |
+
if (is_array($unserialised_data))
|
168 |
+
foreach($unserialised_data as $key => $values )
|
169 |
+
{
|
170 |
+
//$key_parent = str_replace("item_", "", $key);
|
171 |
+
$items = explode("&", $values);
|
172 |
+
unset($item);
|
173 |
+
foreach ($items as $item_key => $item_)
|
174 |
+
{
|
175 |
+
$items[$item_key] = trim(str_replace("item[]=", "",$item_));
|
176 |
+
}
|
177 |
+
|
178 |
+
if (is_array($items) && count($items) > 0)
|
179 |
+
foreach( $items as $item_key => $term_id )
|
180 |
+
{
|
181 |
+
$wpdb->update( $wpdb->terms, array('term_order' => ($item_key + 1)), array('term_id' => $term_id) );
|
182 |
+
}
|
183 |
+
}
|
184 |
+
|
185 |
+
|
186 |
+
die();
|
187 |
+
}
|
188 |
+
|
189 |
+
|
190 |
+
?>
|