Table of Contents Plus - Version 1507

Version Description

  • Released: 5 July 2015
  • Added Danish translation courtesy of Cupunu
  • Simplified the translation duty by moving the help material to the plugin's website.
  • Updated translation file.
Download this release

Release Info

Developer conjur3r
Plugin Icon 128x128 Table of Contents Plus
Version 1507
Comparing to
See all releases

Code changes from version 1505 to 1507

Files changed (9) hide show
  1. admin.css +0 -15
  2. admin.js +8 -6
  3. front.js +135 -25
  4. languages/toc+-da_DK.mo +0 -0
  5. languages/toc+-da_DK.po +560 -0
  6. languages/toc+.pot +128 -413
  7. readme.txt +9 -2
  8. screen.css +92 -1
  9. toc.php +2 -158
admin.css CHANGED
@@ -127,19 +127,4 @@ div#farbtastic_colour_wheel {
127
  }
128
  #tab3 h3:not(:first-child) {
129
  margin-top: 2em;
130
- }
131
- #shortcode_table th:first-child {
132
- width: 150px;
133
- }
134
- #shortcode_table th {
135
- background: #f5f5f5;
136
- padding: 0.5em;
137
- }
138
- #shortcode_table td {
139
- vertical-align: top;
140
- border-bottom: #f5f5f5 1px solid;
141
- padding: 1em 0 1em 0;
142
- }
143
- #shortcode_table ul {
144
- margin: 0;
145
  }
127
  }
128
  #tab3 h3:not(:first-child) {
129
  margin-top: 2em;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  }
admin.js CHANGED
@@ -4,13 +4,15 @@ jQuery(document).ready(function($) {
4
  $('.tab_content:first').show(); // show first tab content
5
 
6
  $('ul#tabbed-nav li').click(function(event) {
7
- event.preventDefault();
8
- $('ul#tabbed-nav li').removeClass('active');
9
- $(this).addClass('active');
10
- $('.tab_content').hide();
 
11
 
12
- var activeTab = $(this).find('a').attr('href');
13
- $(activeTab).fadeIn();
 
14
  });
15
 
16
  $('h3 span.show_hide a').click(function(event) {
4
  $('.tab_content:first').show(); // show first tab content
5
 
6
  $('ul#tabbed-nav li').click(function(event) {
7
+ if ( !$(this).hasClass('url') ) {
8
+ event.preventDefault();
9
+ $('ul#tabbed-nav li').removeClass('active');
10
+ $(this).addClass('active');
11
+ $('.tab_content').hide();
12
 
13
+ var activeTab = $(this).find('a').attr('href');
14
+ $(activeTab).fadeIn();
15
+ }
16
  });
17
 
18
  $('h3 span.show_hide a').click(function(event) {
front.js CHANGED
@@ -1,26 +1,136 @@
 
 
 
 
 
 
 
1
 
2
- (function(l){function t(l){return l.replace(/(:|\.)/g,"\\$1")}var e="1.4.10",o={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},r=function(t){var e=[],o=!1,r=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=l(this);t[r]()>0?e.push(this):(t[r](1),o=t[r]()>0,o&&e.push(this),t[r](0))}}),e.length||this.each(function(){"BODY"===this.nodeName&&(e=[this])}),"first"===t.el&&e.length>1&&(e=[e[0]]),e};l.fn.extend({scrollable:function(l){var t=r.call(this,{dir:l});return this.pushStack(t)},firstScrollable:function(l){var t=r.call(this,{el:"first",dir:l});return this.pushStack(t)},smoothScroll:function(e){e=e||{};var o=l.extend({},l.fn.smoothScroll.defaults,e),r=l.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(e){var n=this,s=l(this),c=o.exclude,i=o.excludeWithin,a=0,f=0,h=!0,u={},d=location.hostname===n.hostname||!n.hostname,m=o.scrollTarget||(l.smoothScroll.filterPath(n.pathname)||r)===r,p=t(n.hash);if(o.scrollTarget||d&&m&&p){for(;h&&c.length>a;)s.is(t(c[a++]))&&(h=!1);for(;h&&i.length>f;)s.closest(i[f++]).length&&(h=!1)}else h=!1;h&&(e.preventDefault(),l.extend(u,o,{scrollTarget:o.scrollTarget||p,link:n}),l.smoothScroll(u))}),this}}),l.smoothScroll=function(t,e){var o,r,n,s,c=0,i="offset",a="scrollTop",f={},h={};"number"==typeof t?(o=l.fn.smoothScroll.defaults,n=t):(o=l.extend({},l.fn.smoothScroll.defaults,t||{}),o.scrollElement&&(i="position","static"==o.scrollElement.css("position")&&o.scrollElement.css("position","relative"))),o=l.extend({link:null},o),a="left"==o.direction?"scrollLeft":a,o.scrollElement?(r=o.scrollElement,c=r[a]()):r=l("html, body").firstScrollable(),o.beforeScroll.call(r,o),n="number"==typeof t?t:e||l(o.scrollTarget)[i]()&&l(o.scrollTarget)[i]()[o.direction]||0,f[a]=n+c+o.offset,s=o.speed,"auto"===s&&(s=f[a]||r.scrollTop(),s/=o.autoCoefficent),h={duration:s,easing:o.easing,complete:function(){o.afterScroll.call(o.link,o)}},o.step&&(h.step=o.step),r.length?r.stop().animate(f,h):o.afterScroll.call(o.link,o)},l.smoothScroll.version=e,l.smoothScroll.filterPath=function(l){return l.replace(/^\//,"").replace(/(index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},l.fn.smoothScroll.defaults=o})(jQuery);jQuery.cookie=function(a,b,c){if(arguments.length>1&&String(b)!=="[object Object]"){c=jQuery.extend({},c);if(b===null||b===undefined){c.expires=-1}if(typeof c.expires==="number"){var d=c.expires,e=c.expires=new Date;e.setDate(e.getDate()+d)}b=String(b);return document.cookie=[encodeURIComponent(a),"=",c.raw?b:encodeURIComponent(b),c.expires?"; expires="+c.expires.toUTCString():"",c.path?"; path="+c.path:"",c.domain?"; domain="+c.domain:"",c.secure?"; secure":""].join("")}c=b||{};var f,g=c.raw?function(a){return a}:decodeURIComponent;return(f=(new RegExp("(?:^|; )"+encodeURIComponent(a)+"=([^;]*)")).exec(document.cookie))?g(f[1]):null}
3
- jQuery(document).ready(function($){if(typeof tocplus!='undefined'){$.fn.shrinkTOCWidth=function(){$(this).css({width:'auto',display:'table'});if($.browser.msie&&parseInt($.browser.version)==7)
4
- $(this).css('width','');}
5
- if(tocplus.smooth_scroll==1){var target=hostname=pathname=qs=hash=null;$('body a').click(function(event){hostname=$(this).prop('hostname');pathname=$(this).prop('pathname');qs=$(this).prop('search');hash=$(this).prop('hash');if(pathname.length>0){if(pathname.charAt(0)!='/'){pathname='/'+pathname;}}
6
- if((window.location.hostname==hostname)&&(window.location.pathname==pathname)&&(window.location.search==qs)&&(hash!=='')){var hash_selector=hash.replace(/([ !"$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g,'\\$1');if($(hash_selector).length>0)
7
- target=hash;else{anchor=hash;anchor=anchor.replace('#','');target='a[name="'+anchor+'"]';if($(target).length==0)
8
- target='';}
9
- if(typeof tocplus.smooth_scroll_offset!='undefined'){offset=-1*tocplus.smooth_scroll_offset;}
10
- else{if($('#wpadminbar').length>0){if($('#wpadminbar').is(':visible'))
11
- offset=-30;else
12
- offset=0;}
13
- else
14
- offset=0;}
15
- if(target){$.smoothScroll({scrollTarget:target,offset:offset});}}});}
16
- if(typeof tocplus.visibility_show!='undefined'){var invert=(typeof tocplus.visibility_hide_by_default!='undefined')?true:false;if($.cookie)
17
- var visibility_text=($.cookie('tocplus_hidetoc'))?tocplus.visibility_show:tocplus.visibility_hide;else
18
- var visibility_text=tocplus.visibility_hide;if(invert)
19
- visibility_text=(visibility_text==tocplus.visibility_hide)?tocplus.visibility_show:tocplus.visibility_hide;$('#toc_container p.toc_title').append(' <span class="toc_toggle">[<a href="#">'+visibility_text+'</a>]</span>');if(visibility_text==tocplus.visibility_show){$('ul.toc_list').hide();$('#toc_container').addClass('contracted').shrinkTOCWidth();}
20
- $('span.toc_toggle a').click(function(event){event.preventDefault();switch($(this).html()){case $('<div/>').html(tocplus.visibility_hide).text():$(this).html(tocplus.visibility_show);if($.cookie){if(invert)
21
- $.cookie('tocplus_hidetoc',null,{path:'/'});else
22
- $.cookie('tocplus_hidetoc','1',{expires:30,path:'/'});}
23
- $('ul.toc_list').hide('fast');$('#toc_container').addClass('contracted').shrinkTOCWidth();break;case $('<div/>').html(tocplus.visibility_show).text():default:$(this).html(tocplus.visibility_hide);if($.cookie){if(invert)
24
- $.cookie('tocplus_hidetoc','1',{expires:30,path:'/'});else
25
- $.cookie('tocplus_hidetoc',null,{path:'/'});}
26
- $('#toc_container').css('width',tocplus.width).removeClass('contracted');$('ul.toc_list').show('fast');}});}}});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Smooth Scroll - v1.4.10 - 2013-03-02
3
+ * https://github.com/kswedberg/jquery-smooth-scroll
4
+ * Copyright (c) 2013 Karl Swedberg
5
+ * Licensed MIT (https://github.com/kswedberg/jquery-smooth-scroll/blob/master/LICENSE-MIT)
6
+ */
7
+ (function(l){function t(l){return l.replace(/(:|\.)/g,"\\$1")}var e="1.4.10",o={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},r=function(t){var e=[],o=!1,r=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=l(this);t[r]()>0?e.push(this):(t[r](1),o=t[r]()>0,o&&e.push(this),t[r](0))}}),e.length||this.each(function(){"BODY"===this.nodeName&&(e=[this])}),"first"===t.el&&e.length>1&&(e=[e[0]]),e};l.fn.extend({scrollable:function(l){var t=r.call(this,{dir:l});return this.pushStack(t)},firstScrollable:function(l){var t=r.call(this,{el:"first",dir:l});return this.pushStack(t)},smoothScroll:function(e){e=e||{};var o=l.extend({},l.fn.smoothScroll.defaults,e),r=l.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(e){var n=this,s=l(this),c=o.exclude,i=o.excludeWithin,a=0,f=0,h=!0,u={},d=location.hostname===n.hostname||!n.hostname,m=o.scrollTarget||(l.smoothScroll.filterPath(n.pathname)||r)===r,p=t(n.hash);if(o.scrollTarget||d&&m&&p){for(;h&&c.length>a;)s.is(t(c[a++]))&&(h=!1);for(;h&&i.length>f;)s.closest(i[f++]).length&&(h=!1)}else h=!1;h&&(e.preventDefault(),l.extend(u,o,{scrollTarget:o.scrollTarget||p,link:n}),l.smoothScroll(u))}),this}}),l.smoothScroll=function(t,e){var o,r,n,s,c=0,i="offset",a="scrollTop",f={},h={};"number"==typeof t?(o=l.fn.smoothScroll.defaults,n=t):(o=l.extend({},l.fn.smoothScroll.defaults,t||{}),o.scrollElement&&(i="position","static"==o.scrollElement.css("position")&&o.scrollElement.css("position","relative"))),o=l.extend({link:null},o),a="left"==o.direction?"scrollLeft":a,o.scrollElement?(r=o.scrollElement,c=r[a]()):r=l("html, body").firstScrollable(),o.beforeScroll.call(r,o),n="number"==typeof t?t:e||l(o.scrollTarget)[i]()&&l(o.scrollTarget)[i]()[o.direction]||0,f[a]=n+c+o.offset,s=o.speed,"auto"===s&&(s=f[a]||r.scrollTop(),s/=o.autoCoefficent),h={duration:s,easing:o.easing,complete:function(){o.afterScroll.call(o.link,o)}},o.step&&(h.step=o.step),r.length?r.stop().animate(f,h):o.afterScroll.call(o.link,o)},l.smoothScroll.version=e,l.smoothScroll.filterPath=function(l){return l.replace(/^\//,"").replace(/(index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},l.fn.smoothScroll.defaults=o})(jQuery);
8
 
9
+ /**
10
+ * jQuery Cookie plugin
11
+ *
12
+ * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
13
+ * Dual licensed under the MIT and GPL licenses:
14
+ * http://www.opensource.org/licenses/mit-license.php
15
+ * http://www.gnu.org/licenses/gpl.html
16
+ *
17
+ */
18
+ jQuery.cookie=function(a,b,c){if(arguments.length>1&&String(b)!=="[object Object]"){c=jQuery.extend({},c);if(b===null||b===undefined){c.expires=-1}if(typeof c.expires==="number"){var d=c.expires,e=c.expires=new Date;e.setDate(e.getDate()+d)}b=String(b);return document.cookie=[encodeURIComponent(a),"=",c.raw?b:encodeURIComponent(b),c.expires?"; expires="+c.expires.toUTCString():"",c.path?"; path="+c.path:"",c.domain?"; domain="+c.domain:"",c.secure?"; secure":""].join("")}c=b||{};var f,g=c.raw?function(a){return a}:decodeURIComponent;return(f=(new RegExp("(?:^|; )"+encodeURIComponent(a)+"=([^;]*)")).exec(document.cookie))?g(f[1]):null}
19
+
20
+ jQuery(document).ready(function($) {
21
+ if ( typeof tocplus != 'undefined' ) {
22
+ $.fn.shrinkTOCWidth = function() {
23
+ $(this).css({
24
+ width: 'auto',
25
+ display: 'table'
26
+ });
27
+ if ( $.browser.msie && parseInt($.browser.version) == 7 )
28
+ $(this).css('width', '');
29
+ }
30
+
31
+ if ( tocplus.smooth_scroll == 1 ) {
32
+ var target = hostname = pathname = qs = hash = null;
33
+
34
+ $('body a').click(function(event) {
35
+ hostname = $(this).prop('hostname');
36
+ pathname = $(this).prop('pathname');
37
+ qs = $(this).prop('search');
38
+ hash = $(this).prop('hash');
39
+
40
+ // ie strips out the preceeding / from pathname
41
+ if ( pathname.length > 0 ) {
42
+ if ( pathname.charAt(0) != '/' ) {
43
+ pathname = '/' + pathname;
44
+ }
45
+ }
46
+
47
+ if ( (window.location.hostname == hostname) && (window.location.pathname == pathname) && (window.location.search == qs) && (hash !== '') ) {
48
+ // escape jquery selector chars, but keep the #
49
+ var hash_selector = hash.replace(/([ !"$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g, '\\$1');
50
+ // check if element exists with id=__
51
+ if ( $( hash_selector ).length > 0 )
52
+ target = hash;
53
+ else {
54
+ // must be an anchor (a name=__)
55
+ anchor = hash;
56
+ anchor = anchor.replace('#', '');
57
+ target = 'a[name="' + anchor + '"]';
58
+ // verify it exists
59
+ if ( $(target).length == 0 )
60
+ target = '';
61
+ }
62
+
63
+ // check offset setting
64
+ if (typeof tocplus.smooth_scroll_offset != 'undefined') {
65
+ offset = -1 * tocplus.smooth_scroll_offset;
66
+ }
67
+ else {
68
+ if ($('#wpadminbar').length > 0) {
69
+ if ($('#wpadminbar').is(':visible'))
70
+ offset = -30; // admin bar exists, give it the default
71
+ else
72
+ offset = 0; // there is an admin bar but it's hidden, so no offset!
73
+ }
74
+ else
75
+ offset = 0; // no admin bar, so no offset!
76
+ }
77
+
78
+ if ( target ) {
79
+ $.smoothScroll({
80
+ scrollTarget: target,
81
+ offset: offset
82
+ });
83
+ }
84
+ }
85
+ });
86
+ }
87
+
88
+ if ( typeof tocplus.visibility_show != 'undefined' ) {
89
+ var invert = ( typeof tocplus.visibility_hide_by_default != 'undefined' ) ? true : false ;
90
+
91
+
92
+ if ( $.cookie )
93
+ var visibility_text = ($.cookie('tocplus_hidetoc')) ? tocplus.visibility_show : tocplus.visibility_hide ;
94
+ else
95
+ var visibility_text = tocplus.visibility_hide;
96
+
97
+ if ( invert )
98
+ visibility_text = (visibility_text == tocplus.visibility_hide) ? tocplus.visibility_show : tocplus.visibility_hide;
99
+
100
+ $('#toc_container p.toc_title').append(' <span class="toc_toggle">[<a href="#">' + visibility_text + '</a>]</span>');
101
+ if ( visibility_text == tocplus.visibility_show ) {
102
+ $('ul.toc_list').hide();
103
+ $('#toc_container').addClass('contracted').shrinkTOCWidth();
104
+ }
105
+
106
+ $('span.toc_toggle a').click(function(event) {
107
+ event.preventDefault();
108
+ switch( $(this).html() ) {
109
+ case $('<div/>').html(tocplus.visibility_hide).text():
110
+ $(this).html(tocplus.visibility_show);
111
+ if ( $.cookie ) {
112
+ if ( invert )
113
+ $.cookie('tocplus_hidetoc', null, { path: '/' });
114
+ else
115
+ $.cookie('tocplus_hidetoc', '1', { expires: 30, path: '/' });
116
+ }
117
+ $('ul.toc_list').hide('fast');
118
+ $('#toc_container').addClass('contracted').shrinkTOCWidth();
119
+ break;
120
+
121
+ case $('<div/>').html(tocplus.visibility_show).text(): // do next
122
+ default:
123
+ $(this).html(tocplus.visibility_hide);
124
+ if ( $.cookie ) {
125
+ if ( invert )
126
+ $.cookie('tocplus_hidetoc', '1', { expires: 30, path: '/' });
127
+ else
128
+ $.cookie('tocplus_hidetoc', null, { path: '/' });
129
+ }
130
+ $('#toc_container').css('width', tocplus.width).removeClass('contracted');
131
+ $('ul.toc_list').show('fast');
132
+ }
133
+ });
134
+ }
135
+ }
136
+ });
languages/toc+-da_DK.mo ADDED
Binary file
languages/toc+-da_DK.po ADDED
@@ -0,0 +1,560 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Table of Contents Plus
2
+ # This file is distributed under the same license as the Table of Contents Plus package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Table of Contents Plus 1505\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-contents-"
7
+ "plus\n"
8
+ "POT-Creation-Date: 2015-06-26 14:49+0100\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-06-26 14:57+0100\n"
13
+ "Last-Translator: Kasper <kasper@toftbraun.dk>\n"
14
+ "Language-Team: \n"
15
+ "X-Generator: Poedit 1.8.1\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "Language: da_DK\n"
18
+
19
+ #: toc.php:201
20
+ msgid "Settings"
21
+ msgstr "Indstillinger"
22
+
23
+ #: toc.php:482 toc.php:483
24
+ msgid "TOC"
25
+ msgstr "TOC"
26
+
27
+ #: toc.php:653
28
+ msgid "Options saved."
29
+ msgstr "Ændringer gemt."
30
+
31
+ #: toc.php:655
32
+ msgid "Save failed."
33
+ msgstr "Opdatering er mislykket"
34
+
35
+ #: toc.php:667
36
+ msgid "Main Options"
37
+ msgstr "Primære indstillinger"
38
+
39
+ #: toc.php:668
40
+ msgid "Sitemap"
41
+ msgstr "Sitemap"
42
+
43
+ #: toc.php:669
44
+ msgid "Help"
45
+ msgstr "Hjælp"
46
+
47
+ #: toc.php:677
48
+ msgid "Position"
49
+ msgstr "Position"
50
+
51
+ #: toc.php:680
52
+ msgid "Before first heading (default)"
53
+ msgstr "Før første overskrift (standard)"
54
+
55
+ #: toc.php:681
56
+ msgid "After first heading"
57
+ msgstr "Efter første overskrift"
58
+
59
+ #: toc.php:682
60
+ msgid "Top"
61
+ msgstr "Top"
62
+
63
+ #: toc.php:683
64
+ msgid "Bottom"
65
+ msgstr "Bund"
66
+
67
+ #: toc.php:688
68
+ msgid "Show when"
69
+ msgstr "Vis når"
70
+
71
+ #. translators: text follows drop down list of numbers
72
+ #: toc.php:700
73
+ msgid "or more headings are present"
74
+ msgstr "eller flere overskrifter er vist"
75
+
76
+ #: toc.php:704
77
+ msgid "Auto insert for the following content types"
78
+ msgstr "Indsæt automatisk for de følgende typer"
79
+
80
+ #. translators: this is the title of the table of contents
81
+ #: toc.php:719
82
+ msgid "Heading text"
83
+ msgstr "Boksens tekst"
84
+
85
+ #: toc.php:721
86
+ msgid "Show title on top of the table of contents"
87
+ msgstr "Vis teksten som det øverste i indholdsfortegnelsen"
88
+
89
+ #: toc.php:724
90
+ msgid "Eg: Contents, Table of Contents, Page Contents"
91
+ msgstr "For eksempel: Indhold, Indholdsfortegnelse, Sidens indhold"
92
+
93
+ #: toc.php:726
94
+ msgid "Allow the user to toggle the visibility of the table of contents"
95
+ msgstr "Tillad læseren at gemme indholdsfortegnelsen"
96
+
97
+ #: toc.php:731
98
+ msgid "Show text"
99
+ msgstr "Vis tekst"
100
+
101
+ #. translators: example text to display when you want to expand the table of
102
+ #. contents
103
+ #: toc.php:735
104
+ msgid "Eg: show"
105
+ msgstr "Ex: vis"
106
+
107
+ #: toc.php:738
108
+ msgid "Hide text"
109
+ msgstr "Gem tekst"
110
+
111
+ #. translators: example text to display when you want to collapse the table of
112
+ #. contents
113
+ #: toc.php:742
114
+ msgid "Eg: hide"
115
+ msgstr "Ex: gem"
116
+
117
+ #: toc.php:746
118
+ msgid "Hide the table of contents initially"
119
+ msgstr "Gem indholdsfortegnelsen som standard når en læser besøger siden."
120
+
121
+ #: toc.php:752
122
+ msgid "Show hierarchy"
123
+ msgstr "Vis hierarki"
124
+
125
+ #: toc.php:756
126
+ msgid "Number list items"
127
+ msgstr "Vis numre i indholdsfortegnelsen"
128
+
129
+ #: toc.php:760
130
+ msgid "Enable smooth scroll effect"
131
+ msgstr "Aktiver en lækker scroll effekt"
132
+
133
+ #: toc.php:761
134
+ msgid "Scroll rather than jump to the anchor link"
135
+ msgstr ""
136
+ "Denne effekt betyder, at der laves en lækker stille og rolig scroll effekt. "
137
+ "Alternativet er, at den hopper direkte ned til linket. Det kan virke lidt "
138
+ "voldsomt."
139
+
140
+ #: toc.php:766
141
+ msgid "Appearance"
142
+ msgstr "Design"
143
+
144
+ #: toc.php:770
145
+ msgid "Width"
146
+ msgstr "Bredde"
147
+
148
+ #: toc.php:773
149
+ msgid "Fixed width"
150
+ msgstr "Bestem selv bredde"
151
+
152
+ #: toc.php:784
153
+ msgid "Relative"
154
+ msgstr "Relative værdier"
155
+
156
+ #: toc.php:785
157
+ msgid "Auto (default)"
158
+ msgstr "Automatisk (standard)"
159
+
160
+ #. translators: other width
161
+ #: toc.php:795
162
+ msgid "Other"
163
+ msgstr "Andet"
164
+
165
+ #: toc.php:796
166
+ msgid "User defined"
167
+ msgstr "Brugerdefineret"
168
+
169
+ #. translators: ignore %s as it's some HTML label tags
170
+ #: toc.php:802
171
+ msgid "Please enter a number and %s select its units, eg: 100px, 10em"
172
+ msgstr ""
173
+ "Vær venlig at indtaste et nummer og %s vælg dens værdi. Ex: 100px, 10em"
174
+
175
+ #: toc.php:813
176
+ msgid "Wrapping"
177
+ msgstr "Justering"
178
+
179
+ #: toc.php:816
180
+ msgid "None (default)"
181
+ msgstr "Ingen (standard)"
182
+
183
+ #: toc.php:817
184
+ msgid "Left"
185
+ msgstr "Venstre"
186
+
187
+ #: toc.php:818
188
+ msgid "Right"
189
+ msgstr "Højre"
190
+
191
+ #: toc.php:823
192
+ msgid "Font size"
193
+ msgstr "Fontens størrelse"
194
+
195
+ #. translators: appearance / colour / look and feel options
196
+ #: toc.php:836
197
+ msgid "Presentation"
198
+ msgstr "Udseende"
199
+
200
+ #: toc.php:839
201
+ msgid "Grey (default)"
202
+ msgstr "Grå (standard)"
203
+
204
+ #: toc.php:844
205
+ msgid "Light blue"
206
+ msgstr "Lyseblå"
207
+
208
+ #: toc.php:849
209
+ msgid "White"
210
+ msgstr "Hvid"
211
+
212
+ #: toc.php:854
213
+ msgid "Black"
214
+ msgstr "Sort"
215
+
216
+ #: toc.php:859
217
+ msgid "Transparent"
218
+ msgstr "Gennemsigtig"
219
+
220
+ #: toc.php:864
221
+ msgid "Custom"
222
+ msgstr "Brugerdefineret"
223
+
224
+ #: toc.php:874
225
+ msgid "Background"
226
+ msgstr "Baggrund"
227
+
228
+ #: toc.php:878
229
+ msgid "Border"
230
+ msgstr "Sider"
231
+
232
+ #: toc.php:882 toc.php:1658
233
+ msgid "Title"
234
+ msgstr "Overskrifter"
235
+
236
+ #: toc.php:886
237
+ msgid "Links"
238
+ msgstr "Links"
239
+
240
+ #: toc.php:890
241
+ msgid "Links (hover)"
242
+ msgstr "Links (når musen køres henover linket)"
243
+
244
+ #: toc.php:894
245
+ msgid "Links (visited)"
246
+ msgstr "Links (besøgte)"
247
+
248
+ #: toc.php:901
249
+ msgid "Leaving the value as %s will inherit your theme's styles"
250
+ msgstr "At lade værdien stå som %s betyder, at temaets standard design bruges"
251
+
252
+ #: toc.php:908
253
+ msgid "Advanced"
254
+ msgstr "Avanceret"
255
+
256
+ #: toc.php:908 toc.php:1045
257
+ msgid "show"
258
+ msgstr "vis"
259
+
260
+ #: toc.php:910
261
+ msgid "Power options"
262
+ msgstr "Ekstra indstillinger"
263
+
264
+ #: toc.php:914
265
+ msgid "Lowercase"
266
+ msgstr "Små bogstaver"
267
+
268
+ #: toc.php:915
269
+ msgid "Ensure anchors are in lowercase"
270
+ msgstr "Sørger for tekst med små bogstaver"
271
+
272
+ #: toc.php:918
273
+ msgid "Hyphenate"
274
+ msgstr "Orddeling"
275
+
276
+ #: toc.php:919
277
+ msgid "Use - rather than _ in anchors"
278
+ msgstr "Bruger - i stedet for _ i overskrifter"
279
+
280
+ #: toc.php:922
281
+ msgid "Include homepage"
282
+ msgstr "Inkluder forside"
283
+
284
+ #: toc.php:923
285
+ msgid "Show the table of contents for qualifying items on the homepage"
286
+ msgstr "Vis indholdsfortegnelse på forsiden"
287
+
288
+ #: toc.php:926
289
+ msgid "Exclude CSS file"
290
+ msgstr "Ekskluder CSS fil"
291
+
292
+ #: toc.php:927
293
+ msgid ""
294
+ "Prevent the loading of this plugin's CSS styles. When selected, the "
295
+ "appearance options from above will also be ignored."
296
+ msgstr ""
297
+ "Fohindrer indlæsning af dettes plugins CSS styles. Når dette er valgt, vil "
298
+ "dine egne design indstillinger blive ignoreret."
299
+
300
+ #: toc.php:930
301
+ msgid "Preserve theme bullets"
302
+ msgstr "Bevar tema lister"
303
+
304
+ #: toc.php:931
305
+ msgid ""
306
+ "If your theme includes background images for unordered list elements, enable "
307
+ "this to support them"
308
+ msgstr ""
309
+ "Hvis dit tema inkluderer billeder i uordnet listeelementer, så aktiver dette "
310
+ "for at bevare dem."
311
+
312
+ #: toc.php:934
313
+ msgid "Heading levels"
314
+ msgstr "Overskrifter"
315
+
316
+ #: toc.php:936
317
+ msgid ""
318
+ "Include the following heading levels. Deselecting a heading will exclude it."
319
+ msgstr ""
320
+ "Inkluder følgende overskrifter. Når du fravælger en overskrift, vil den "
321
+ "blive ekskluderet i indholdsfortegnelsen."
322
+
323
+ #: toc.php:942
324
+ msgid "heading "
325
+ msgstr "overskrift"
326
+
327
+ #: toc.php:948
328
+ msgid "Exclude headings"
329
+ msgstr "Ekskluder overskrifter"
330
+
331
+ #: toc.php:951
332
+ msgid ""
333
+ "Specify headings to be excluded from appearing in the table of contents. "
334
+ "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
335
+ "<code>*</code> as a wildcard to match other text. Note that this is not "
336
+ "case sensitive. Some examples:"
337
+ msgstr ""
338
+ "Specificer overskrifter med ord du vil have ekskluderet i din "
339
+ "indholdsfortegnelse. Adskil flere overskrifter med <code>|</code>. Brug "
340
+ "<code>*</code> til at matche en anden tekst. Husk at der ikke skelnes mellem "
341
+ "store og små bogstacer. Eksempler:"
342
+
343
+ #: toc.php:953
344
+ msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
345
+ msgstr "<code>Frugt*</code> ignorerer overskrifter der starter med \"Frugt\""
346
+
347
+ #: toc.php:954
348
+ msgid ""
349
+ "<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
350
+ "the heading"
351
+ msgstr ""
352
+ "<code>*Frugt slankekur*</code> ignorerer overskrifter med \"Frugt slankekur\""
353
+
354
+ #: toc.php:955
355
+ msgid ""
356
+ "<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
357
+ "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
358
+ msgstr ""
359
+ "<code>Æbletræ|Appelsiner|Gule Bananer</code> ignorerer overskrifter der "
360
+ "præcis er \"Æbletræ\", \"Appelsiner\" eller \"Gule Bananer\""
361
+
362
+ #: toc.php:960
363
+ msgid "Smooth scroll top offset"
364
+ msgstr "Mellemrum mellem overskrifter"
365
+
366
+ #: toc.php:963
367
+ msgid ""
368
+ "If you have a consistent menu across the top of your site, you can adjust "
369
+ "the top offset to stop the headings from appearing underneath the top menu. "
370
+ "A setting of 30 accommodates the WordPress admin bar. This setting appears "
371
+ "after you have enabled smooth scrolling from above."
372
+ msgstr ""
373
+ "Den værdi du indsætter ovenfor har betydning for, hvor stort et mellemrum "
374
+ "der er til den overskrift, man scroller ned til. Hvis du vælger at sætte den "
375
+ "til 30 pixels, så svarer det til WordPress admin barens højde. Denne "
376
+ "indstilling vises efter, at du har aktiveret scroll effekten længere oppe."
377
+
378
+ #: toc.php:967
379
+ msgid "Restrict path"
380
+ msgstr "Begræns sti"
381
+
382
+ #: toc.php:970
383
+ msgid ""
384
+ "Restrict generation of the table of contents to pages that match the "
385
+ "required path. This path is from the root of your site and always begins "
386
+ "with a forward slash."
387
+ msgstr ""
388
+ "Her kan du begrænse indholdsfortegnelsen til sider, der matcher din ønskede "
389
+ "sti. Husk at det altid begynder med en skråstreg."
390
+
391
+ #. translators: example URL path restriction
392
+ #: toc.php:973
393
+ msgid "Eg: /wiki/, /corporate/annual-reports/"
394
+ msgstr "Ex: /wiki/, /virksomhed/rapporter/"
395
+
396
+ #: toc.php:977
397
+ msgid "Default anchor prefix"
398
+ msgstr "Standard anker præfiks"
399
+
400
+ #: toc.php:980
401
+ msgid ""
402
+ "Anchor targets are restricted to alphanumeric characters as per HTML "
403
+ "specification (see readme for more detail). The default anchor prefix will "
404
+ "be used when no characters qualify. When left blank, a number will be used "
405
+ "instead."
406
+ msgstr ""
407
+ "Ankrer er begrænset til alfanumeriske tegn som pr HTML specifikation (se "
408
+ "readme for flere detaljer). En standard anker præfiks vil blive brugt, når "
409
+ "der ikke vises nogle tegn. Hvis du lader dette stå blankt, vil et nummer i "
410
+ "stedet blive brugt."
411
+
412
+ #: toc.php:981
413
+ msgid ""
414
+ "This option normally applies to content written in character sets other than "
415
+ "ASCII."
416
+ msgstr ""
417
+ "Denne indstilling gælder normalt indhold der er skrevet i andre tegnsæt end "
418
+ "ASCII."
419
+
420
+ #. translators: example anchor prefixes when no ascii characters match
421
+ #: toc.php:984
422
+ msgid "Eg: i, toc_index, index, _"
423
+ msgstr "Ex: i, toc_index, index, _"
424
+
425
+ #. translators: advanced usage
426
+ #: toc.php:992
427
+ msgid "Usage"
428
+ msgstr "Brug/Shortcode"
429
+
430
+ #: toc.php:993
431
+ msgid ""
432
+ "If you would like to fully customise the position of the table of contents, "
433
+ "you can use the %s shortcode by placing it at the desired position of your "
434
+ "post, page or custom post type. This method allows you to generate the table "
435
+ "of contents despite having auto insertion disabled for its content type. "
436
+ "Please visit the help tab for further information about this shortcode."
437
+ msgstr ""
438
+ "Hvis du gerne vil have fuld kontrol over indholdsfortegnelsen, så kan du "
439
+ "bruge denne shortcode: %s Denne shortcode kan du placere hvor som helst på "
440
+ "din side, og den fungerer både på sider, indlæg og custom post types. Så "
441
+ "hvis du ikke gider at have en automatisk genereret indholdsfortegnelse, så "
442
+ "har du fuld kontrol med denne shortcode."
443
+
444
+ #: toc.php:1001
445
+ msgid ""
446
+ "At its simplest, placing %s into a page will automatically create a sitemap "
447
+ "of all pages and categories. This also works in a text widget."
448
+ msgstr ""
449
+ "Placer %s og du vil automatisk få genereret et sitemap for alle dine sider "
450
+ "og kategorier. Denne shortcode virker også i tekst widgets."
451
+
452
+ #: toc.php:1005
453
+ msgid "Show page listing"
454
+ msgstr "Vis sider"
455
+
456
+ #: toc.php:1009
457
+ msgid "Show category listing"
458
+ msgstr "Vis kategorier"
459
+
460
+ #: toc.php:1013
461
+ msgid "Heading type"
462
+ msgstr "Overskrift type"
463
+
464
+ #. translators: the full line is supposed to read - Use [1-6 drop down list] to
465
+ #. print out the titles
466
+ #: toc.php:1016
467
+ msgid "Use"
468
+ msgstr "Brug"
469
+
470
+ #. translators: the full line is supposed to read - Use [h1-h6 drop down list]
471
+ #. to print out the titles
472
+ #: toc.php:1027
473
+ msgid "to print out the titles"
474
+ msgstr "overskrifter til dit sitemap"
475
+
476
+ #: toc.php:1031
477
+ msgid "Pages label"
478
+ msgstr "Overskrift for sider"
479
+
480
+ #: toc.php:1033
481
+ msgid "Eg: Pages, Page List"
482
+ msgstr "Ex: sider"
483
+
484
+ #: toc.php:1037
485
+ msgid "Categories label"
486
+ msgstr "Overskrift for kategorier"
487
+
488
+ #: toc.php:1039
489
+ msgid "Eg: Categories, Category List"
490
+ msgstr "Ex: kategorier"
491
+
492
+ #: toc.php:1045
493
+ msgid "Advanced usage"
494
+ msgstr "Avanceret brug"
495
+
496
+ #: toc.php:1047
497
+ msgid ""
498
+ "lets you print out a listing of only pages. Similarly %s can be used to "
499
+ "print out a category listing. They both can accept a number of attributes so "
500
+ "visit the help tab for more information."
501
+ msgstr ""
502
+ "laver en liste med sider. Og %s laver en liste med kategorier. Begge "
503
+ "accepterer egenskaber. Hvis du vil høre mere om det, så besøg \"Hjælp\" "
504
+ "fanen."
505
+
506
+ #: toc.php:1048
507
+ msgid "Examples"
508
+ msgstr "Eksempler"
509
+
510
+ #: toc.php:1050
511
+ msgid "hides the heading from a category listing"
512
+ msgstr "gemmer overskrifterne for en liste af kategorier"
513
+
514
+ #: toc.php:1051
515
+ msgid ""
516
+ "Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
517
+ msgstr ""
518
+ "Bruger h6 til at vise %s på liste med sider, men hvor der ekskluderes sider "
519
+ "med ID 1 og 15"
520
+
521
+ #: toc.php:1060
522
+ msgid "Update Options"
523
+ msgstr "Ændringer gemt."
524
+
525
+ #: toc.php:1563
526
+ msgid "Display the table of contents in the sidebar with this widget"
527
+ msgstr "Vis indholdsfortegnelsen i sidebaren med den her widget"
528
+
529
+ #: toc.php:1664
530
+ msgid "Show the table of contents only in the sidebar"
531
+ msgstr "Vis kun indholdsfortegnelsen i sidebaren"
532
+
533
+ #: toc.php:1668
534
+ msgid "For the following content types:"
535
+ msgstr "For følgende typer"
536
+
537
+ #. Plugin Name of the plugin/theme
538
+ msgid "Table of Contents Plus"
539
+ msgstr "Table of Contents Plus"
540
+
541
+ #. Plugin URI of the plugin/theme
542
+ msgid "http://dublue.com/plugins/toc/"
543
+ msgstr "http://dublue.com/plugins/toc/"
544
+
545
+ #. Description of the plugin/theme
546
+ msgid ""
547
+ "A powerful yet user friendly plugin that automatically creates a table of "
548
+ "contents. Can also output a sitemap listing all pages and categories."
549
+ msgstr ""
550
+ "Et kraftigt og brugerventligt plugin der automatisk laver en "
551
+ "indholdsfortegnelse. Den kan også lave et sitemap, hvor alle sider og "
552
+ "kategorier listes."
553
+
554
+ #. Author of the plugin/theme
555
+ msgid "Michael Tran"
556
+ msgstr "Michael Tran"
557
+
558
+ #. Author URI of the plugin/theme
559
+ msgid "http://dublue.com/"
560
+ msgstr "http://dublue.com/"
languages/toc+.pot CHANGED
@@ -1,320 +1,321 @@
1
- # Copyright (C) 2014
2
- # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: \n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/table-of-contents-plus\n"
7
- "POT-Creation-Date: 2014-02-18 12:58:50+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: 2014-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: toc.php:200
16
  msgid "Settings"
17
  msgstr ""
18
 
19
- #: toc.php:464 toc.php:465
20
  msgid "TOC"
21
  msgstr ""
22
 
23
- #: toc.php:635
24
  msgid "Options saved."
25
  msgstr ""
26
 
27
- #: toc.php:637
28
  msgid "Save failed."
29
  msgstr ""
30
 
31
- #: toc.php:649
32
  msgid "Main Options"
33
  msgstr ""
34
 
35
- #: toc.php:650
36
  msgid "Sitemap"
37
  msgstr ""
38
 
39
- #: toc.php:651
40
  msgid "Help"
41
  msgstr ""
42
 
43
- #: toc.php:659
44
  msgid "Position"
45
  msgstr ""
46
 
47
- #: toc.php:662
48
  msgid "Before first heading (default)"
49
  msgstr ""
50
 
51
- #: toc.php:663
52
  msgid "After first heading"
53
  msgstr ""
54
 
55
- #: toc.php:664
56
  msgid "Top"
57
  msgstr ""
58
 
59
- #: toc.php:665
60
  msgid "Bottom"
61
  msgstr ""
62
 
63
- #: toc.php:670
64
  msgid "Show when"
65
  msgstr ""
66
 
67
  #. translators: text follows drop down list of numbers
68
- #: toc.php:682
69
  msgid "or more headings are present"
70
  msgstr ""
71
 
72
- #: toc.php:686
73
  msgid "Auto insert for the following content types"
74
  msgstr ""
75
 
76
  #. translators: this is the title of the table of contents
77
- #: toc.php:701
78
  msgid "Heading text"
79
  msgstr ""
80
 
81
- #: toc.php:703
82
  msgid "Show title on top of the table of contents"
83
  msgstr ""
84
 
85
- #: toc.php:706
86
  msgid "Eg: Contents, Table of Contents, Page Contents"
87
  msgstr ""
88
 
89
- #: toc.php:708
90
  msgid "Allow the user to toggle the visibility of the table of contents"
91
  msgstr ""
92
 
93
- #: toc.php:713
94
  msgid "Show text"
95
  msgstr ""
96
 
97
  #. translators: example text to display when you want to expand the table of
98
  #. contents
99
- #: toc.php:717
100
  msgid "Eg: show"
101
  msgstr ""
102
 
103
- #: toc.php:720
104
  msgid "Hide text"
105
  msgstr ""
106
 
107
  #. translators: example text to display when you want to collapse the table of
108
  #. contents
109
- #: toc.php:724
110
  msgid "Eg: hide"
111
  msgstr ""
112
 
113
- #: toc.php:728
114
  msgid "Hide the table of contents initially"
115
  msgstr ""
116
 
117
- #: toc.php:734
118
  msgid "Show hierarchy"
119
  msgstr ""
120
 
121
- #: toc.php:738
122
  msgid "Number list items"
123
  msgstr ""
124
 
125
- #: toc.php:742
126
  msgid "Enable smooth scroll effect"
127
  msgstr ""
128
 
129
- #: toc.php:743
130
  msgid "Scroll rather than jump to the anchor link"
131
  msgstr ""
132
 
133
- #: toc.php:748
134
  msgid "Appearance"
135
  msgstr ""
136
 
137
- #: toc.php:752
138
  msgid "Width"
139
  msgstr ""
140
 
141
- #: toc.php:755
142
  msgid "Fixed width"
143
  msgstr ""
144
 
145
- #: toc.php:766
146
  msgid "Relative"
147
  msgstr ""
148
 
149
- #: toc.php:767
150
  msgid "Auto (default)"
151
  msgstr ""
152
 
153
  #. translators: other width
154
- #: toc.php:777
155
  msgid "Other"
156
  msgstr ""
157
 
158
- #: toc.php:778
159
  msgid "User defined"
160
  msgstr ""
161
 
162
  #. translators: ignore %s as it's some HTML label tags
163
- #: toc.php:784
164
  msgid "Please enter a number and %s select its units, eg: 100px, 10em"
165
  msgstr ""
166
 
167
- #: toc.php:795
168
  msgid "Wrapping"
169
  msgstr ""
170
 
171
- #: toc.php:798
172
  msgid "None (default)"
173
  msgstr ""
174
 
175
- #: toc.php:799
176
  msgid "Left"
177
  msgstr ""
178
 
179
- #: toc.php:800
180
  msgid "Right"
181
  msgstr ""
182
 
183
- #: toc.php:805
184
  msgid "Font size"
185
  msgstr ""
186
 
187
  #. translators: appearance / colour / look and feel options
188
- #: toc.php:818
189
  msgid "Presentation"
190
  msgstr ""
191
 
192
- #: toc.php:821
193
  msgid "Grey (default)"
194
  msgstr ""
195
 
196
- #: toc.php:826
197
  msgid "Light blue"
198
  msgstr ""
199
 
200
- #: toc.php:831
201
  msgid "White"
202
  msgstr ""
203
 
204
- #: toc.php:836
205
  msgid "Black"
206
  msgstr ""
207
 
208
- #: toc.php:841
209
  msgid "Transparent"
210
  msgstr ""
211
 
212
- #: toc.php:846
213
  msgid "Custom"
214
  msgstr ""
215
 
216
- #: toc.php:856
217
  msgid "Background"
218
  msgstr ""
219
 
220
- #: toc.php:860
221
  msgid "Border"
222
  msgstr ""
223
 
224
- #: toc.php:864 toc.php:1784
225
  msgid "Title"
226
  msgstr ""
227
 
228
- #: toc.php:868
229
  msgid "Links"
230
  msgstr ""
231
 
232
- #: toc.php:872
233
  msgid "Links (hover)"
234
  msgstr ""
235
 
236
- #: toc.php:876
237
  msgid "Links (visited)"
238
  msgstr ""
239
 
240
- #: toc.php:883
241
  msgid "Leaving the value as %s will inherit your theme's styles"
242
  msgstr ""
243
 
244
- #: toc.php:890
245
  msgid "Advanced"
246
  msgstr ""
247
 
248
- #: toc.php:890 toc.php:1027 toc.php:1144
249
  msgid "show"
250
  msgstr ""
251
 
252
- #: toc.php:892
253
  msgid "Power options"
254
  msgstr ""
255
 
256
- #: toc.php:896
257
  msgid "Lowercase"
258
  msgstr ""
259
 
260
- #: toc.php:897
261
  msgid "Ensure anchors are in lowercase"
262
  msgstr ""
263
 
264
- #: toc.php:900
265
  msgid "Hyphenate"
266
  msgstr ""
267
 
268
- #: toc.php:901
269
  msgid "Use - rather than _ in anchors"
270
  msgstr ""
271
 
272
- #: toc.php:904
273
  msgid "Include homepage"
274
  msgstr ""
275
 
276
- #: toc.php:905
277
  msgid "Show the table of contents for qualifying items on the homepage"
278
  msgstr ""
279
 
280
- #: toc.php:908
281
  msgid "Exclude CSS file"
282
  msgstr ""
283
 
284
- #: toc.php:909
285
  msgid ""
286
  "Prevent the loading of this plugin's CSS styles. When selected, the "
287
  "appearance options from above will also be ignored."
288
  msgstr ""
289
 
290
- #: toc.php:912
291
  msgid "Preserve theme bullets"
292
  msgstr ""
293
 
294
- #: toc.php:913
295
  msgid ""
296
  "If your theme includes background images for unordered list elements, enable "
297
  "this to support them"
298
  msgstr ""
299
 
300
- #: toc.php:916
301
  msgid "Heading levels"
302
  msgstr ""
303
 
304
- #: toc.php:918
305
  msgid ""
306
  "Include the following heading levels. Deselecting a heading will exclude it."
307
  msgstr ""
308
 
309
- #: toc.php:924
310
  msgid "heading "
311
  msgstr ""
312
 
313
- #: toc.php:930
314
  msgid "Exclude headings"
315
  msgstr ""
316
 
317
- #: toc.php:933
318
  msgid ""
319
  "Specify headings to be excluded from appearing in the table of contents. "
320
  "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
@@ -322,27 +323,27 @@ msgid ""
322
  "case sensitive. Some examples:"
323
  msgstr ""
324
 
325
- #: toc.php:935
326
  msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
327
  msgstr ""
328
 
329
- #: toc.php:936
330
  msgid ""
331
  "<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
332
  "the heading"
333
  msgstr ""
334
 
335
- #: toc.php:937
336
  msgid ""
337
  "<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
338
  "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
339
  msgstr ""
340
 
341
- #: toc.php:942
342
  msgid "Smooth scroll top offset"
343
  msgstr ""
344
 
345
- #: toc.php:945
346
  msgid ""
347
  "If you have a consistent menu across the top of your site, you can adjust "
348
  "the top offset to stop the headings from appearing underneath the top menu. "
@@ -350,11 +351,11 @@ msgid ""
350
  "after you have enabled smooth scrolling from above."
351
  msgstr ""
352
 
353
- #: toc.php:949
354
  msgid "Restrict path"
355
  msgstr ""
356
 
357
- #: toc.php:952
358
  msgid ""
359
  "Restrict generation of the table of contents to pages that match the "
360
  "required path. This path is from the root of your site and always begins "
@@ -362,15 +363,15 @@ msgid ""
362
  msgstr ""
363
 
364
  #. translators: example URL path restriction
365
- #: toc.php:955
366
  msgid "Eg: /wiki/, /corporate/annual-reports/"
367
  msgstr ""
368
 
369
- #: toc.php:959
370
  msgid "Default anchor prefix"
371
  msgstr ""
372
 
373
- #: toc.php:962
374
  msgid ""
375
  "Anchor targets are restricted to alphanumeric characters as per HTML "
376
  "specification (see readme for more detail). The default anchor prefix will "
@@ -378,23 +379,23 @@ msgid ""
378
  "instead."
379
  msgstr ""
380
 
381
- #: toc.php:963
382
  msgid ""
383
  "This option normally applies to content written in character sets other than "
384
  "ASCII."
385
  msgstr ""
386
 
387
  #. translators: example anchor prefixes when no ascii characters match
388
- #: toc.php:966
389
  msgid "Eg: i, toc_index, index, _"
390
  msgstr ""
391
 
392
  #. translators: advanced usage
393
- #: toc.php:974
394
  msgid "Usage"
395
  msgstr ""
396
 
397
- #: toc.php:975
398
  msgid ""
399
  "If you would like to fully customise the position of the table of contents, "
400
  "you can use the %s shortcode by placing it at the desired position of your "
@@ -403,396 +404,110 @@ msgid ""
403
  "Please visit the help tab for further information about this shortcode."
404
  msgstr ""
405
 
406
- #: toc.php:983
407
  msgid ""
408
  "At its simplest, placing %s into a page will automatically create a sitemap "
409
  "of all pages and categories. This also works in a text widget."
410
  msgstr ""
411
 
412
- #: toc.php:987
413
  msgid "Show page listing"
414
  msgstr ""
415
 
416
- #: toc.php:991
417
  msgid "Show category listing"
418
  msgstr ""
419
 
420
- #: toc.php:995
421
  msgid "Heading type"
422
  msgstr ""
423
 
424
  #. translators: the full line is supposed to read - Use [1-6 drop down list] to
425
  #. print out the titles
426
- #: toc.php:998
427
  msgid "Use"
428
  msgstr ""
429
 
430
  #. translators: the full line is supposed to read - Use [h1-h6 drop down list]
431
  #. to print out the titles
432
- #: toc.php:1009
433
  msgid "to print out the titles"
434
  msgstr ""
435
 
436
- #: toc.php:1013
437
  msgid "Pages label"
438
  msgstr ""
439
 
440
- #: toc.php:1015
441
  msgid "Eg: Pages, Page List"
442
  msgstr ""
443
 
444
- #: toc.php:1019
445
  msgid "Categories label"
446
  msgstr ""
447
 
448
- #: toc.php:1021
449
  msgid "Eg: Categories, Category List"
450
  msgstr ""
451
 
452
- #: toc.php:1027
453
  msgid "Advanced usage"
454
  msgstr ""
455
 
456
- #: toc.php:1029
457
  msgid ""
458
  "lets you print out a listing of only pages. Similarly %s can be used to "
459
  "print out a category listing. They both can accept a number of attributes so "
460
  "visit the help tab for more information."
461
  msgstr ""
462
 
463
- #: toc.php:1030
464
  msgid "Examples"
465
  msgstr ""
466
 
467
- #: toc.php:1032
468
  msgid "hides the heading from a category listing"
469
  msgstr ""
470
 
471
- #: toc.php:1033
472
- msgid ""
473
- "Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
474
- msgstr ""
475
-
476
- #: toc.php:1041
477
- msgid "Where's my table of contents?"
478
- msgstr ""
479
-
480
- #: toc.php:1042
481
- msgid ""
482
- "If you're reading this, then chances are you have successfully installed and "
483
- "enabled the plugin and you're just wondering why the index isn't appearing "
484
- "right? Try the following:"
485
- msgstr ""
486
-
487
- #: toc.php:1044
488
- msgid ""
489
- "In most cases, the post, page or custom post type has less than the minimum "
490
- "number of headings. By default, this is set to four so make sure you have at "
491
- "least four headings within your content. If you want to change this value, "
492
- "you can find it under 'Main Options' &gt; 'Show when'."
493
- msgstr ""
494
-
495
- #: toc.php:1045
496
- msgid ""
497
- "Is auto insertion enabled for your content type? By default, only pages are "
498
- "enabled."
499
- msgstr ""
500
-
501
- #: toc.php:1046
502
- msgid ""
503
- "Have you got <code>[no_toc]</code> somewhere within the content? This will "
504
- "disable the index for the current post, page or custom post type."
505
- msgstr ""
506
-
507
- #: toc.php:1047
508
- msgid ""
509
- "If you are using the TOC+ widget, check if you have the <em>\"Show the table "
510
- "of contents only in the sidebar\"</em> enabled as this will limit its "
511
- "display to only the sidebar. You can check by going into Appearance &gt; "
512
- "Widgets."
513
- msgstr ""
514
-
515
- #: toc.php:1048
516
- msgid ""
517
- "You may have restricted generation to a URL path match. The setting can be "
518
- "found in the advanced section under Main Options."
519
- msgstr ""
520
-
521
  #: toc.php:1051
522
- msgid "How do I stop the table of contents from appearing on a single page?"
523
- msgstr ""
524
-
525
- #: toc.php:1052
526
- msgid ""
527
- "Place the following <code>[no_toc]</code> anywhere on the page to suppress "
528
- "the table of contents. This is known as a shortcode and works for posts, "
529
- "pages and custom post types that make use of the_content()"
530
- msgstr ""
531
-
532
- #: toc.php:1054
533
- msgid ""
534
- "I've set wrapping to left or right but the headings don't wrap around the "
535
- "table of contents"
536
- msgstr ""
537
-
538
- #: toc.php:1055
539
- msgid ""
540
- "This normally occurs when there is a CSS clear directive in or around the "
541
- "heading originating from the theme (Twenty Eleven and Twenty Twelve are two "
542
- "themes which do this). This directive tells the user agent to reset the "
543
- "previous wrapping specifications."
544
- msgstr ""
545
-
546
- #: toc.php:1056
547
- msgid ""
548
- "You can adjust your theme's CSS or try moving the table of contents position "
549
- "to the top of the page. If you didn't build your theme, I'd highly suggest "
550
- "you try the %s if you wish to make CSS changes."
551
- msgstr ""
552
-
553
- #. translators: CSS code follows after this line
554
- #: toc.php:1059
555
- msgid ""
556
- "Try adding the following CSS to allow the wrapping to occur around the table "
557
- "of contents:"
558
- msgstr ""
559
-
560
- #: toc.php:1064
561
- msgid "How do I include the name of the page in the table of contents title?"
562
- msgstr ""
563
-
564
- #: toc.php:1065
565
  msgid ""
566
- "As the title of the page changes depending on the page you're viewing, you "
567
- "can use the following special variable to automatically insert the title of "
568
- "the page into the table of contents heading:"
569
- msgstr ""
570
-
571
- #: toc.php:1067
572
- msgid "You can use it as is or place text either side of the variable."
573
- msgstr ""
574
-
575
- #: toc.php:1068
576
- msgid ""
577
- "As an example: if your page is named <em>Great Expectations</em> and your "
578
- "table of contents title is set to <em>Contents for %PAGE_NAME%</em>, the "
579
- "final title would read <em>Contents for Great Expectations</em>"
580
- msgstr ""
581
-
582
- #: toc.php:1070
583
- msgid "The sitemap uses a strange font dissimilar to the rest of the site"
584
- msgstr ""
585
-
586
- #: toc.php:1071
587
- msgid ""
588
- "No extra styles are created for the sitemap, instead it inherits any styles "
589
- "you used when adding the shortcode. If you copy and pasted, you probably "
590
- "also copied the 'code' tags surrounding it so remove them if this is the "
591
- "case."
592
- msgstr ""
593
-
594
- #: toc.php:1072
595
- msgid ""
596
- "In most cases, try to have the shortcode on its own line with nothing before "
597
- "or after the square brackets."
598
- msgstr ""
599
-
600
- #: toc.php:1074
601
- msgid "What were those shortcodes and attributes again?"
602
- msgstr ""
603
-
604
- #: toc.php:1075
605
- msgid ""
606
- "When attributes are left out for the shortcodes below, they will fallback to "
607
- "the settings you defined under Settings &gt; TOC+."
608
- msgstr ""
609
-
610
- #: toc.php:1079
611
- msgid "Shortcode"
612
- msgstr ""
613
-
614
- #: toc.php:1080
615
- msgid "Description"
616
- msgstr ""
617
-
618
- #: toc.php:1081
619
- msgid "Attributes"
620
- msgstr ""
621
-
622
- #: toc.php:1087
623
- msgid ""
624
- "Lets you generate the table of contents at the preferred position. Also "
625
- "useful for sites that only require a TOC on a small handful of pages."
626
- msgstr ""
627
-
628
- #: toc.php:1090
629
- msgid "text, title of the table of contents"
630
- msgstr ""
631
-
632
- #: toc.php:1091
633
- msgid "true/false, shows or hides the title"
634
- msgstr ""
635
-
636
- #: toc.php:1092
637
- msgid "text, either \"left\" or \"right\""
638
- msgstr ""
639
-
640
- #: toc.php:1093
641
- msgid ""
642
- "numbers, this lets you select the heading levels you want included in the "
643
- "table of contents. Separate multiple levels with a comma. Example: include "
644
- "headings 3, 4 and 5 but exclude the others with"
645
- msgstr ""
646
-
647
- #: toc.php:1094
648
- msgid ""
649
- "text, enter headings to be excluded. Separate multiple headings with a pipe "
650
- "<code>|</code>. Use an asterisk <code>*</code> as a wildcard to match other "
651
- "text. You could also use regular expressions for more advanced matching."
652
- msgstr ""
653
-
654
- #: toc.php:1100
655
- msgid ""
656
- "Allows you to disable the table of contents for the current post, page, or "
657
- "custom post type."
658
- msgstr ""
659
-
660
- #: toc.php:1105
661
- msgid ""
662
- "Produces a listing of all pages and categories for your site. You can use "
663
- "this on any post, page or even in a text widget."
664
- msgstr ""
665
-
666
- #: toc.php:1110
667
- msgid "Lets you print out a listing of only pages."
668
- msgstr ""
669
-
670
- #: toc.php:1113
671
- msgid "number between 1 and 6, defines which html heading to use"
672
- msgstr ""
673
-
674
- #: toc.php:1114
675
- msgid "text, title of the list"
676
- msgstr ""
677
-
678
- #: toc.php:1115
679
- msgid "true/false, shows or hides the list heading"
680
- msgstr ""
681
-
682
- #: toc.php:1116
683
- msgid "IDs of the pages or categories you wish to exclude"
684
- msgstr ""
685
-
686
- #: toc.php:1117
687
- msgid ""
688
- "ID of the page or category you wish to exclude including its all descendants"
689
- msgstr ""
690
-
691
- #: toc.php:1123
692
- msgid "Similar to [sitemap_pages] but for categories."
693
- msgstr ""
694
-
695
- #: toc.php:1128
696
- msgid ""
697
- "This lets you print out an index of all published posts on your site. By "
698
- "default, posts are listed in alphabetical order grouped by their first "
699
- "letters. There are CSS classes for each section, letter and list allowing "
700
- "you to customise the appearance."
701
- msgstr ""
702
-
703
- #: toc.php:1131
704
- msgid "text, either ASC or DESC"
705
- msgstr ""
706
-
707
- #: toc.php:1132
708
- msgid ""
709
- "text, popular options include \"title\", \"date\", \"ID\", and \"rand\". See "
710
- "%1$sWP_Query%2$s for a list."
711
- msgstr ""
712
-
713
- #: toc.php:1133
714
- msgid ""
715
- "true/false (defaults to true), does not separate the lists by first letter "
716
- "when set to false."
717
- msgstr ""
718
-
719
- #: toc.php:1141
720
- msgid "I have another question..."
721
- msgstr ""
722
-
723
- #: toc.php:1142
724
- msgid ""
725
- "Visit the %1$splugin homepage%2$s to ask your question - who knows, maybe "
726
- "your question has already been answered. I'd really like to hear your "
727
- "suggestions if you have any."
728
  msgstr ""
729
 
730
- #: toc.php:1144
731
- msgid "For developers"
732
  msgstr ""
733
 
734
- #: toc.php:1146
735
- msgid "How do I customise my anchors?"
736
  msgstr ""
737
 
738
- #: toc.php:1147
739
- msgid ""
740
- "If you're still not happy with the anchors, you can modify them to suit your "
741
- "needs through a custom function hooked into the <code>toc_url_anchor_target</"
742
- "code> filter. As an example, place the below code snippet into your "
743
- "functions.php file to convert all anchors to uppercase."
744
  msgstr ""
745
 
746
- #: toc.php:1157
747
- msgid ""
748
- "Returns a HTML formatted string of the table of contents without the "
749
- "surrounding UL or OL tags to allow the theme editor to supply their own ID "
750
- "and/or classes to the outer list."
751
  msgstr ""
752
 
753
- #: toc.php:1158
754
- msgid "Both parameters are optional:"
755
  msgstr ""
756
 
757
- #. translators: this explains the $content parameter
758
- #: toc.php:1162
759
- msgid ""
760
- "is the entire content with headings. If blank, will default to the current "
761
- "content found in $post (eg within \"the loop\")."
762
  msgstr ""
763
 
764
- #. translators: this explains the $prefix_url parameter
765
- #: toc.php:1165
766
  msgid ""
767
- "is the URL to prefix the anchor with. If a string was provided, it will be "
768
- "used as is. If set to \"true\" then will try to obtain the permalink from "
769
- "the $post object."
770
- msgstr ""
771
-
772
- #: toc.php:1167
773
- msgid "These examples assume you are within \"the loop\":"
774
  msgstr ""
775
 
776
- #: toc.php:1169
777
- msgid "Obtain the index for the current page"
778
  msgstr ""
779
 
780
- #: toc.php:1172
781
- msgid "Create a listing of all children and their headings"
782
- msgstr ""
783
-
784
- #: toc.php:1197
785
- msgid "Update Options"
786
- msgstr ""
787
-
788
- #: toc.php:1689
789
- msgid "Display the table of contents in the sidebar with this widget"
790
- msgstr ""
791
-
792
- #: toc.php:1790
793
- msgid "Show the table of contents only in the sidebar"
794
- msgstr ""
795
-
796
- #: toc.php:1794
797
- msgid "For the following content types:"
798
  msgstr ""
1
+ # Copyright (C) 2015 Table of Contents Plus
2
+ # This file is distributed under the same license as the Table of Contents Plus package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Table of Contents Plus 1505\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-contents-"
7
+ "plus\n"
8
+ "POT-Creation-Date: 2015-06-26 12:23:49+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
+ #: toc.php:201
17
  msgid "Settings"
18
  msgstr ""
19
 
20
+ #: toc.php:482 toc.php:483
21
  msgid "TOC"
22
  msgstr ""
23
 
24
+ #: toc.php:653
25
  msgid "Options saved."
26
  msgstr ""
27
 
28
+ #: toc.php:655
29
  msgid "Save failed."
30
  msgstr ""
31
 
32
+ #: toc.php:667
33
  msgid "Main Options"
34
  msgstr ""
35
 
36
+ #: toc.php:668
37
  msgid "Sitemap"
38
  msgstr ""
39
 
40
+ #: toc.php:669
41
  msgid "Help"
42
  msgstr ""
43
 
44
+ #: toc.php:677
45
  msgid "Position"
46
  msgstr ""
47
 
48
+ #: toc.php:680
49
  msgid "Before first heading (default)"
50
  msgstr ""
51
 
52
+ #: toc.php:681
53
  msgid "After first heading"
54
  msgstr ""
55
 
56
+ #: toc.php:682
57
  msgid "Top"
58
  msgstr ""
59
 
60
+ #: toc.php:683
61
  msgid "Bottom"
62
  msgstr ""
63
 
64
+ #: toc.php:688
65
  msgid "Show when"
66
  msgstr ""
67
 
68
  #. translators: text follows drop down list of numbers
69
+ #: toc.php:700
70
  msgid "or more headings are present"
71
  msgstr ""
72
 
73
+ #: toc.php:704
74
  msgid "Auto insert for the following content types"
75
  msgstr ""
76
 
77
  #. translators: this is the title of the table of contents
78
+ #: toc.php:719
79
  msgid "Heading text"
80
  msgstr ""
81
 
82
+ #: toc.php:721
83
  msgid "Show title on top of the table of contents"
84
  msgstr ""
85
 
86
+ #: toc.php:724
87
  msgid "Eg: Contents, Table of Contents, Page Contents"
88
  msgstr ""
89
 
90
+ #: toc.php:726
91
  msgid "Allow the user to toggle the visibility of the table of contents"
92
  msgstr ""
93
 
94
+ #: toc.php:731
95
  msgid "Show text"
96
  msgstr ""
97
 
98
  #. translators: example text to display when you want to expand the table of
99
  #. contents
100
+ #: toc.php:735
101
  msgid "Eg: show"
102
  msgstr ""
103
 
104
+ #: toc.php:738
105
  msgid "Hide text"
106
  msgstr ""
107
 
108
  #. translators: example text to display when you want to collapse the table of
109
  #. contents
110
+ #: toc.php:742
111
  msgid "Eg: hide"
112
  msgstr ""
113
 
114
+ #: toc.php:746
115
  msgid "Hide the table of contents initially"
116
  msgstr ""
117
 
118
+ #: toc.php:752
119
  msgid "Show hierarchy"
120
  msgstr ""
121
 
122
+ #: toc.php:756
123
  msgid "Number list items"
124
  msgstr ""
125
 
126
+ #: toc.php:760
127
  msgid "Enable smooth scroll effect"
128
  msgstr ""
129
 
130
+ #: toc.php:761
131
  msgid "Scroll rather than jump to the anchor link"
132
  msgstr ""
133
 
134
+ #: toc.php:766
135
  msgid "Appearance"
136
  msgstr ""
137
 
138
+ #: toc.php:770
139
  msgid "Width"
140
  msgstr ""
141
 
142
+ #: toc.php:773
143
  msgid "Fixed width"
144
  msgstr ""
145
 
146
+ #: toc.php:784
147
  msgid "Relative"
148
  msgstr ""
149
 
150
+ #: toc.php:785
151
  msgid "Auto (default)"
152
  msgstr ""
153
 
154
  #. translators: other width
155
+ #: toc.php:795
156
  msgid "Other"
157
  msgstr ""
158
 
159
+ #: toc.php:796
160
  msgid "User defined"
161
  msgstr ""
162
 
163
  #. translators: ignore %s as it's some HTML label tags
164
+ #: toc.php:802
165
  msgid "Please enter a number and %s select its units, eg: 100px, 10em"
166
  msgstr ""
167
 
168
+ #: toc.php:813
169
  msgid "Wrapping"
170
  msgstr ""
171
 
172
+ #: toc.php:816
173
  msgid "None (default)"
174
  msgstr ""
175
 
176
+ #: toc.php:817
177
  msgid "Left"
178
  msgstr ""
179
 
180
+ #: toc.php:818
181
  msgid "Right"
182
  msgstr ""
183
 
184
+ #: toc.php:823
185
  msgid "Font size"
186
  msgstr ""
187
 
188
  #. translators: appearance / colour / look and feel options
189
+ #: toc.php:836
190
  msgid "Presentation"
191
  msgstr ""
192
 
193
+ #: toc.php:839
194
  msgid "Grey (default)"
195
  msgstr ""
196
 
197
+ #: toc.php:844
198
  msgid "Light blue"
199
  msgstr ""
200
 
201
+ #: toc.php:849
202
  msgid "White"
203
  msgstr ""
204
 
205
+ #: toc.php:854
206
  msgid "Black"
207
  msgstr ""
208
 
209
+ #: toc.php:859
210
  msgid "Transparent"
211
  msgstr ""
212
 
213
+ #: toc.php:864
214
  msgid "Custom"
215
  msgstr ""
216
 
217
+ #: toc.php:874
218
  msgid "Background"
219
  msgstr ""
220
 
221
+ #: toc.php:878
222
  msgid "Border"
223
  msgstr ""
224
 
225
+ #: toc.php:882 toc.php:1658
226
  msgid "Title"
227
  msgstr ""
228
 
229
+ #: toc.php:886
230
  msgid "Links"
231
  msgstr ""
232
 
233
+ #: toc.php:890
234
  msgid "Links (hover)"
235
  msgstr ""
236
 
237
+ #: toc.php:894
238
  msgid "Links (visited)"
239
  msgstr ""
240
 
241
+ #: toc.php:901
242
  msgid "Leaving the value as %s will inherit your theme's styles"
243
  msgstr ""
244
 
245
+ #: toc.php:908
246
  msgid "Advanced"
247
  msgstr ""
248
 
249
+ #: toc.php:908 toc.php:1045
250
  msgid "show"
251
  msgstr ""
252
 
253
+ #: toc.php:910
254
  msgid "Power options"
255
  msgstr ""
256
 
257
+ #: toc.php:914
258
  msgid "Lowercase"
259
  msgstr ""
260
 
261
+ #: toc.php:915
262
  msgid "Ensure anchors are in lowercase"
263
  msgstr ""
264
 
265
+ #: toc.php:918
266
  msgid "Hyphenate"
267
  msgstr ""
268
 
269
+ #: toc.php:919
270
  msgid "Use - rather than _ in anchors"
271
  msgstr ""
272
 
273
+ #: toc.php:922
274
  msgid "Include homepage"
275
  msgstr ""
276
 
277
+ #: toc.php:923
278
  msgid "Show the table of contents for qualifying items on the homepage"
279
  msgstr ""
280
 
281
+ #: toc.php:926
282
  msgid "Exclude CSS file"
283
  msgstr ""
284
 
285
+ #: toc.php:927
286
  msgid ""
287
  "Prevent the loading of this plugin's CSS styles. When selected, the "
288
  "appearance options from above will also be ignored."
289
  msgstr ""
290
 
291
+ #: toc.php:930
292
  msgid "Preserve theme bullets"
293
  msgstr ""
294
 
295
+ #: toc.php:931
296
  msgid ""
297
  "If your theme includes background images for unordered list elements, enable "
298
  "this to support them"
299
  msgstr ""
300
 
301
+ #: toc.php:934
302
  msgid "Heading levels"
303
  msgstr ""
304
 
305
+ #: toc.php:936
306
  msgid ""
307
  "Include the following heading levels. Deselecting a heading will exclude it."
308
  msgstr ""
309
 
310
+ #: toc.php:942
311
  msgid "heading "
312
  msgstr ""
313
 
314
+ #: toc.php:948
315
  msgid "Exclude headings"
316
  msgstr ""
317
 
318
+ #: toc.php:951
319
  msgid ""
320
  "Specify headings to be excluded from appearing in the table of contents. "
321
  "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
323
  "case sensitive. Some examples:"
324
  msgstr ""
325
 
326
+ #: toc.php:953
327
  msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
328
  msgstr ""
329
 
330
+ #: toc.php:954
331
  msgid ""
332
  "<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
333
  "the heading"
334
  msgstr ""
335
 
336
+ #: toc.php:955
337
  msgid ""
338
  "<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
339
  "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
340
  msgstr ""
341
 
342
+ #: toc.php:960
343
  msgid "Smooth scroll top offset"
344
  msgstr ""
345
 
346
+ #: toc.php:963
347
  msgid ""
348
  "If you have a consistent menu across the top of your site, you can adjust "
349
  "the top offset to stop the headings from appearing underneath the top menu. "
351
  "after you have enabled smooth scrolling from above."
352
  msgstr ""
353
 
354
+ #: toc.php:967
355
  msgid "Restrict path"
356
  msgstr ""
357
 
358
+ #: toc.php:970
359
  msgid ""
360
  "Restrict generation of the table of contents to pages that match the "
361
  "required path. This path is from the root of your site and always begins "
363
  msgstr ""
364
 
365
  #. translators: example URL path restriction
366
+ #: toc.php:973
367
  msgid "Eg: /wiki/, /corporate/annual-reports/"
368
  msgstr ""
369
 
370
+ #: toc.php:977
371
  msgid "Default anchor prefix"
372
  msgstr ""
373
 
374
+ #: toc.php:980
375
  msgid ""
376
  "Anchor targets are restricted to alphanumeric characters as per HTML "
377
  "specification (see readme for more detail). The default anchor prefix will "
379
  "instead."
380
  msgstr ""
381
 
382
+ #: toc.php:981
383
  msgid ""
384
  "This option normally applies to content written in character sets other than "
385
  "ASCII."
386
  msgstr ""
387
 
388
  #. translators: example anchor prefixes when no ascii characters match
389
+ #: toc.php:984
390
  msgid "Eg: i, toc_index, index, _"
391
  msgstr ""
392
 
393
  #. translators: advanced usage
394
+ #: toc.php:992
395
  msgid "Usage"
396
  msgstr ""
397
 
398
+ #: toc.php:993
399
  msgid ""
400
  "If you would like to fully customise the position of the table of contents, "
401
  "you can use the %s shortcode by placing it at the desired position of your "
404
  "Please visit the help tab for further information about this shortcode."
405
  msgstr ""
406
 
407
+ #: toc.php:1001
408
  msgid ""
409
  "At its simplest, placing %s into a page will automatically create a sitemap "
410
  "of all pages and categories. This also works in a text widget."
411
  msgstr ""
412
 
413
+ #: toc.php:1005
414
  msgid "Show page listing"
415
  msgstr ""
416
 
417
+ #: toc.php:1009
418
  msgid "Show category listing"
419
  msgstr ""
420
 
421
+ #: toc.php:1013
422
  msgid "Heading type"
423
  msgstr ""
424
 
425
  #. translators: the full line is supposed to read - Use [1-6 drop down list] to
426
  #. print out the titles
427
+ #: toc.php:1016
428
  msgid "Use"
429
  msgstr ""
430
 
431
  #. translators: the full line is supposed to read - Use [h1-h6 drop down list]
432
  #. to print out the titles
433
+ #: toc.php:1027
434
  msgid "to print out the titles"
435
  msgstr ""
436
 
437
+ #: toc.php:1031
438
  msgid "Pages label"
439
  msgstr ""
440
 
441
+ #: toc.php:1033
442
  msgid "Eg: Pages, Page List"
443
  msgstr ""
444
 
445
+ #: toc.php:1037
446
  msgid "Categories label"
447
  msgstr ""
448
 
449
+ #: toc.php:1039
450
  msgid "Eg: Categories, Category List"
451
  msgstr ""
452
 
453
+ #: toc.php:1045
454
  msgid "Advanced usage"
455
  msgstr ""
456
 
457
+ #: toc.php:1047
458
  msgid ""
459
  "lets you print out a listing of only pages. Similarly %s can be used to "
460
  "print out a category listing. They both can accept a number of attributes so "
461
  "visit the help tab for more information."
462
  msgstr ""
463
 
464
+ #: toc.php:1048
465
  msgid "Examples"
466
  msgstr ""
467
 
468
+ #: toc.php:1050
469
  msgid "hides the heading from a category listing"
470
  msgstr ""
471
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
472
  #: toc.php:1051
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
473
  msgid ""
474
+ "Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
475
  msgstr ""
476
 
477
+ #: toc.php:1060
478
+ msgid "Update Options"
479
  msgstr ""
480
 
481
+ #: toc.php:1563
482
+ msgid "Display the table of contents in the sidebar with this widget"
483
  msgstr ""
484
 
485
+ #: toc.php:1664
486
+ msgid "Show the table of contents only in the sidebar"
 
 
 
 
487
  msgstr ""
488
 
489
+ #: toc.php:1668
490
+ msgid "For the following content types:"
 
 
 
491
  msgstr ""
492
 
493
+ #. Plugin Name of the plugin/theme
494
+ msgid "Table of Contents Plus"
495
  msgstr ""
496
 
497
+ #. Plugin URI of the plugin/theme
498
+ msgid "http://dublue.com/plugins/toc/"
 
 
 
499
  msgstr ""
500
 
501
+ #. Description of the plugin/theme
 
502
  msgid ""
503
+ "A powerful yet user friendly plugin that automatically creates a table of "
504
+ "contents. Can also output a sitemap listing all pages and categories."
 
 
 
 
 
505
  msgstr ""
506
 
507
+ #. Author of the plugin/theme
508
+ msgid "Michael Tran"
509
  msgstr ""
510
 
511
+ #. Author URI of the plugin/theme
512
+ msgid "http://dublue.com/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
  msgstr ""
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: conjur3r
3
  Tags: table of contents, indexes, toc, sitemap, cms, options, list, page listing, category listing
4
  Requires at least: 3.2
5
- Tested up to: 4.2.1
6
- Stable tag: 1505
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -26,6 +26,7 @@ Custom post types are supported, however, auto insertion works only when the_con
26
 
27
  = Available Languages =
28
  * Australian English (default)
 
29
  * Dutch - [Renee](http://101themes.com/)
30
  * French - Jean-Michel Duriez
31
  * German - [Ben](http://blog.bmarwell.de/)
@@ -112,6 +113,12 @@ I will never ask for any form of reward or compensation. Helping others achieve
112
 
113
  == Changelog ==
114
 
 
 
 
 
 
 
115
  = 1505 =
116
  * Released: 2 May 2015
117
  * Huge thanks to Jason for an updated Simplified Chinese translation.
2
  Contributors: conjur3r
3
  Tags: table of contents, indexes, toc, sitemap, cms, options, list, page listing, category listing
4
  Requires at least: 3.2
5
+ Tested up to: 4.2.2
6
+ Stable tag: 1507
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
26
 
27
  = Available Languages =
28
  * Australian English (default)
29
+ * Danish - [Cupunu](http://cupunu.dk/)
30
  * Dutch - [Renee](http://101themes.com/)
31
  * French - Jean-Michel Duriez
32
  * German - [Ben](http://blog.bmarwell.de/)
113
 
114
  == Changelog ==
115
 
116
+ = 1507 =
117
+ * Released: 5 July 2015
118
+ * Added Danish translation courtesy of [Cupunu](http://cupunu.dk/)
119
+ * Simplified the translation duty by moving the help material to the plugin's website.
120
+ * Updated translation file.
121
+
122
  = 1505 =
123
  * Released: 2 May 2015
124
  * Huge thanks to Jason for an updated Simplified Chinese translation.
screen.css CHANGED
@@ -1 +1,92 @@
1
- #toc_container ul,#toc_container li{margin:0;padding:0}#toc_container.no_bullets ul,#toc_container.no_bullets li,#toc_container.no_bullets ul li,.toc_widget_list.no_bullets,.toc_widget_list.no_bullets li{background:none;list-style-type:none;list-style:none}#toc_container.have_bullets li{padding-left:12px}#toc_container ul ul{margin-left:1.5em}#toc_container{background:#f9f9f9;border:1px solid #aaa;padding:10px;margin-bottom:1em;width:auto;display:table;font-size:95%}#toc_container.toc_light_blue{background:#edf6ff}#toc_container.toc_white{background:#fff}#toc_container.toc_black{background:#000}#toc_container.toc_transparent{background:none transparent}#toc_container p.toc_title{text-align:center;font-weight:700;margin:0;padding:0}#toc_container.toc_black p.toc_title{color:#aaa}#toc_container span.toc_toggle{font-weight:400;font-size:90%}#toc_container p.toc_title + ul.toc_list{margin-top:1em}.toc_wrap_left{float:left;margin-right:10px}.toc_wrap_right{float:right;margin-left:10px}#toc_container a{text-decoration:none;text-shadow:none}#toc_container a:hover{text-decoration:underline}.toc_sitemap_posts_letter{font-size:1.5em;font-style:italic}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #toc_container ul,#toc_container li {
2
+ margin:0;
3
+ padding:0;
4
+ }
5
+
6
+ #toc_container.no_bullets ul,
7
+ #toc_container.no_bullets li,
8
+ #toc_container.no_bullets ul li,
9
+ .toc_widget_list.no_bullets,
10
+ .toc_widget_list.no_bullets li {
11
+ background:none;
12
+ list-style-type:none;
13
+ list-style:none;
14
+ }
15
+
16
+ #toc_container.have_bullets li {
17
+ padding-left:12px;
18
+ }
19
+
20
+ #toc_container ul ul {
21
+ margin-left:1.5em;
22
+ }
23
+
24
+ #toc_container {
25
+ background:#f9f9f9;
26
+ border:1px solid #aaa;
27
+ padding:10px;
28
+ margin-bottom:1em;
29
+ width:auto;
30
+ display:table;
31
+ font-size:95%;
32
+ }
33
+
34
+ #toc_container.toc_light_blue {
35
+ background:#edf6ff;
36
+ }
37
+
38
+ #toc_container.toc_white {
39
+ background:#fff;
40
+ }
41
+
42
+ #toc_container.toc_black {
43
+ background:#000;
44
+ }
45
+
46
+ #toc_container.toc_transparent {
47
+ background:none transparent;
48
+ }
49
+
50
+ #toc_container p.toc_title {
51
+ text-align:center;
52
+ font-weight:700;
53
+ margin:0;
54
+ padding:0;
55
+ }
56
+
57
+ #toc_container.toc_black p.toc_title {
58
+ color:#aaa;
59
+ }
60
+
61
+ #toc_container span.toc_toggle {
62
+ font-weight:400;
63
+ font-size:90%;
64
+ }
65
+
66
+ #toc_container p.toc_title + ul.toc_list {
67
+ margin-top:1em;
68
+ }
69
+
70
+ .toc_wrap_left {
71
+ float:left;
72
+ margin-right:10px;
73
+ }
74
+
75
+ .toc_wrap_right {
76
+ float:right;
77
+ margin-left:10px;
78
+ }
79
+
80
+ #toc_container a {
81
+ text-decoration:none;
82
+ text-shadow:none;
83
+ }
84
+
85
+ #toc_container a:hover {
86
+ text-decoration:underline;
87
+ }
88
+
89
+ .toc_sitemap_posts_letter {
90
+ font-size:1.5em;
91
+ font-style:italic;
92
+ }
toc.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://dublue.com/plugins/toc/
5
  Description: A powerful yet user friendly plugin that automatically creates a table of contents. Can also output a sitemap listing all pages and categories.
6
  Author: Michael Tran
7
  Author URI: http://dublue.com/
8
- Version: 1505
9
  License: GPL2
10
  */
11
 
@@ -666,7 +666,7 @@ if ( !class_exists( 'toc' ) ) :
666
  <ul id="tabbed-nav">
667
  <li><a href="#tab1"><?php _e('Main Options', 'toc+'); ?></a></li>
668
  <li><a href="#tab2"><?php _e('Sitemap', 'toc+'); ?></a></li>
669
- <li><a href="#tab3"><?php _e('Help', 'toc+'); ?></a></li>
670
  </ul>
671
  <div class="tab_container">
672
  <div id="tab1" class="tab_content">
@@ -1053,162 +1053,6 @@ if ( !class_exists( 'toc' ) ) :
1053
  </div>
1054
 
1055
 
1056
- </div>
1057
- <div id="tab3" class="tab_content">
1058
-
1059
- <h3><?php _e("Where's my table of contents?", 'toc+'); ?></h3>
1060
- <p><?php _e("If you're reading this, then chances are you have successfully installed and enabled the plugin and you're just wondering why the index isn't appearing right? Try the following:", 'toc+'); ?></p>
1061
- <ol>
1062
- <li><?php _e("In most cases, the post, page or custom post type has less than the minimum number of headings. By default, this is set to four so make sure you have at least four headings within your content. If you want to change this value, you can find it under 'Main Options' &gt; 'Show when'.", 'toc+'); ?></li>
1063
- <li><?php _e('Is auto insertion enabled for your content type? By default, only pages are enabled.', 'toc+'); ?></li>
1064
- <li><?php _e('Have you got <code>[no_toc]</code> somewhere within the content? This will disable the index for the current post, page or custom post type.', 'toc+'); ?></li>
1065
- <li><?php _e('If you are using the TOC+ widget, check if you have the <em>"Show the table of contents only in the sidebar"</em> enabled as this will limit its display to only the sidebar. You can check by going into Appearance &gt; Widgets.', 'toc+'); ?></li>
1066
- <li><?php _e('You may have restricted generation to a URL path match. The setting can be found in the advanced section under Main Options.', 'toc+'); ?></li>
1067
- </ol>
1068
-
1069
- <h3><?php _e('How do I stop the table of contents from appearing on a single page?', 'toc+'); ?></h3>
1070
- <p><?php _e('Place the following <code>[no_toc]</code> anywhere on the page to suppress the table of contents. This is known as a shortcode and works for posts, pages and custom post types that make use of the_content()', 'toc+'); ?></p>
1071
-
1072
- <h3><?php _e("I've set wrapping to left or right but the headings don't wrap around the table of contents", 'toc+'); ?></h3>
1073
- <p><?php _e('This normally occurs when there is a CSS clear directive in or around the heading originating from the theme (Twenty Eleven and Twenty Twelve are two themes which do this). This directive tells the user agent to reset the previous wrapping specifications.', 'toc+'); ?></p>
1074
- <p><?php printf(__("You can adjust your theme's CSS or try moving the table of contents position to the top of the page. If you didn't build your theme, I'd highly suggest you try the %s if you wish to make CSS changes.", 'toc+'), '<a href="http://wordpress.org/extend/plugins/safecss/">Custom CSS plugin</a>'); ?></p>
1075
- <p><?php
1076
- /* translators: CSS code follows after this line */
1077
- _e('Try adding the following CSS to allow the wrapping to occur around the table of contents:', 'toc+'); ?></p>
1078
- <code>
1079
- h1, h2, h3, h4, h5, h6 { clear: none; }
1080
- </code>
1081
-
1082
- <h3><?php _e('How do I include the name of the page in the table of contents title?', 'toc+'); ?></h3>
1083
- <p><?php _e("As the title of the page changes depending on the page you're viewing, you can use the following special variable to automatically insert the title of the page into the table of contents heading:", 'toc+'); ?></p>
1084
- <code>%PAGE_NAME%</code>
1085
- <p><?php _e('You can use it as is or place text either side of the variable.', 'toc+'); ?></p>
1086
- <p><?php _e('As an example: if your page is named <em>Great Expectations</em> and your table of contents title is set to <em>Contents for %PAGE_NAME%</em>, the final title would read <em>Contents for Great Expectations</em>', 'toc+'); ?></p>
1087
-
1088
- <h3><?php _e('The sitemap uses a strange font dissimilar to the rest of the site', 'toc+'); ?></h3>
1089
- <p><?php _e("No extra styles are created for the sitemap, instead it inherits any styles you used when adding the shortcode. If you copy and pasted, you probably also copied the 'code' tags surrounding it so remove them if this is the case.", 'toc+'); ?></p>
1090
- <p><?php _e('In most cases, try to have the shortcode on its own line with nothing before or after the square brackets.', 'toc+'); ?></p>
1091
-
1092
- <h3><?php _e('What were those shortcodes and attributes again?', 'toc+'); ?></h3>
1093
- <p><?php _e('When attributes are left out for the shortcodes below, they will fallback to the settings you defined under Settings &gt; TOC+.', 'toc+'); ?></p>
1094
- <table id="shortcode_table">
1095
- <thead>
1096
- <tr>
1097
- <th><?php _e('Shortcode', 'toc+'); ?></th>
1098
- <th><?php _e('Description', 'toc+'); ?></th>
1099
- <th><?php _e('Attributes', 'toc+'); ?></th>
1100
- </tr>
1101
- </thead>
1102
- <tbody>
1103
- <tr>
1104
- <td>[toc]</td>
1105
- <td><?php _e('Lets you generate the table of contents at the preferred position. Also useful for sites that only require a TOC on a small handful of pages.', 'toc+'); ?></td>
1106
- <td>
1107
- <ul>
1108
- <li><strong>label</strong>: <?php _e('text, title of the table of contents', 'toc+'); ?></li>
1109
- <li><strong>no_label</strong>: <?php _e('true/false, shows or hides the title', 'toc+'); ?></li>
1110
- <li><strong>wrapping</strong>: <?php _e('text, either "left" or "right"', 'toc+'); ?></li>
1111
- <li><strong>heading_levels</strong>: <?php _e('numbers, this lets you select the heading levels you want included in the table of contents. Separate multiple levels with a comma. Example: include headings 3, 4 and 5 but exclude the others with', 'toc+'); ?> <code>heading_levels="3,4,5"</code></li>
1112
- <li><strong>exclude</strong>: <?php _e('text, enter headings to be excluded. Separate multiple headings with a pipe <code>|</code>. Use an asterisk <code>*</code> as a wildcard to match other text. You could also use regular expressions for more advanced matching.', 'toc+'); ?></li>
1113
- <li><strong>class</strong>: <?php _e('text, enter CSS classes to be added to the container. Separate multiple classes with a space.', 'toc+'); ?></li>
1114
- </ul>
1115
- </td>
1116
- </tr>
1117
- <tr>
1118
- <td>[no_toc]</td>
1119
- <td><?php _e('Allows you to disable the table of contents for the current post, page, or custom post type.', 'toc+'); ?></td>
1120
- <td>&nbsp;</td>
1121
- </tr>
1122
- <tr>
1123
- <td>[sitemap]</td>
1124
- <td><?php _e('Produces a listing of all pages and categories for your site. You can use this on any post, page or even in a text widget.', 'toc+'); ?></td>
1125
- <td>&nbsp;</td>
1126
- </tr>
1127
- <tr>
1128
- <td>[sitemap_pages]</td>
1129
- <td><?php _e('Lets you print out a listing of only pages.', 'toc+'); ?></td>
1130
- <td>
1131
- <ul>
1132
- <li><strong>heading</strong>: <?php _e('number between 1 and 6, defines which html heading to use', 'toc+'); ?></li>
1133
- <li><strong>label</strong>: <?php _e('text, title of the list', 'toc+'); ?></li>
1134
- <li><strong>no_label</strong>: <?php _e('true/false, shows or hides the list heading', 'toc+'); ?></li>
1135
- <li><strong>exclude</strong>: <?php _e('IDs of the pages or categories you wish to exclude', 'toc+'); ?></li>
1136
- <li><strong>exclude_tree</strong>: <?php _e('ID of the page or category you wish to exclude including its all descendants', 'toc+'); ?></li>
1137
- </ul>
1138
- </td>
1139
- </tr>
1140
- <tr>
1141
- <td>[sitemap_categories]</td>
1142
- <td><?php _e('Similar to [sitemap_pages] but for categories.', 'toc+'); ?></td>
1143
- <td>&nbsp;</td>
1144
- </tr>
1145
- <tr>
1146
- <td>[sitemap_posts]</td>
1147
- <td><?php _e('This lets you print out an index of all published posts on your site. By default, posts are listed in alphabetical order grouped by their first letters. There are CSS classes for each section, letter and list allowing you to customise the appearance.', 'toc+'); ?></td>
1148
- <td>
1149
- <ul>
1150
- <li><strong>order</strong>: <?php _e('text, either ASC or DESC', 'toc+'); ?></li>
1151
- <li><strong>orderby</strong>: <?php printf(__('text, popular options include "title", "date", "ID", and "rand". See %1$sWP_Query%2$s for a list.', 'toc+'), '<a href="https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters">', '</a>'); ?></li>
1152
- <li><strong>separate</strong>: <?php _e('true/false (defaults to true), does not separate the lists by first letter when set to false.', 'toc+'); ?></li>
1153
- </ul>
1154
- </td>
1155
- </tr>
1156
-
1157
- </tbody>
1158
- </table>
1159
-
1160
- <h3><?php _e('I have another question...', 'toc+'); ?></h3>
1161
- <p><?php printf(__('Visit the %1$splugin homepage%2$s to ask your question - who knows, maybe your question has already been answered. I\'d really like to hear your suggestions if you have any.', 'toc+'), '<a href="http://dublue.com/plugins/toc/">', '</a>'); ?></p>
1162
-
1163
- <h3><?php _e('For developers', 'toc+'); ?> <span class="show_hide">(<a href="#toc_for_developers"><?php _e('show', 'toc+'); ?></a>)</span></h3>
1164
- <div id="toc_for_developers">
1165
- <h4><?php _e('How do I customise my anchors?', 'toc+'); ?></h4>
1166
- <p><?php _e("If you're still not happy with the anchors, you can modify them to suit your needs through a custom function hooked into the <code>toc_url_anchor_target</code> filter. As an example, place the below code snippet into your functions.php file to convert all anchors to uppercase.", 'toc+'); ?></p>
1167
- <pre>
1168
- function my_custom_anchor( $anchor )
1169
- {
1170
- return strtoupper( $anchor );
1171
- }
1172
- add_filter( 'toc_url_anchor_target', 'my_custom_anchor' );
1173
- </pre>
1174
-
1175
- <h4>toc_get_index( $content = '', $prefix_url = '' )</h4>
1176
- <p><?php _e('Returns a HTML formatted string of the table of contents without the surrounding UL or OL tags to allow the theme editor to supply their own ID and/or classes to the outer list.', 'toc+'); ?></p>
1177
- <p><?php _e('Both parameters are optional:', 'toc+'); ?></p>
1178
- <ul>
1179
- <li><code>$content</code> <?php
1180
- /* translators: this explains the $content parameter */
1181
- _e('is the entire content with headings. If blank, will default to the current content found in $post (eg within "the loop").', 'toc+'); ?></li>
1182
- <li><code>$prefix_url</code> <?php
1183
- /* translators: this explains the $prefix_url parameter */
1184
- _e('is the URL to prefix the anchor with. If a string was provided, it will be used as is. If set to "true" then will try to obtain the permalink from the $post object.', 'toc+'); ?></li>
1185
- </ul>
1186
- <p><?php _e('These examples assume you are within "the loop":', 'toc+'); ?></p>
1187
- <ol>
1188
- <li><?php _e('Obtain the index for the current page', 'toc+'); ?>
1189
- <pre>echo '&lt;ul id="my_toc"&gt;' . toc_get_index() . '&lt;/ul&gt;';</pre>
1190
- </li>
1191
- <li><?php _e('Create a listing of all children and their headings', 'toc+'); ?>
1192
- <pre>
1193
- $children = new WP_Query(array(
1194
- 'post_parent' => get_the_ID(),
1195
- 'posts_per_page' => -1 // get all children
1196
- ));
1197
- while ( $children->have_posts() ) {
1198
- $children->the_post();
1199
- echo
1200
- '&lt;h3&gt;' . get_the_title() . '&lt;/h3&gt;' .
1201
- '&lt;ul&gt;' . toc_get_index( get_the_content(), get_permalink( $children->post->ID ) ) . '&lt;/ul&gt;'
1202
- ;
1203
- }
1204
- wp_reset_postdata();
1205
- </pre>
1206
- </li>
1207
- </ol>
1208
-
1209
- </div>
1210
-
1211
-
1212
  </div>
1213
  </div>
1214
 
5
  Description: A powerful yet user friendly plugin that automatically creates a table of contents. Can also output a sitemap listing all pages and categories.
6
  Author: Michael Tran
7
  Author URI: http://dublue.com/
8
+ Version: 1507
9
  License: GPL2
10
  */
11
 
666
  <ul id="tabbed-nav">
667
  <li><a href="#tab1"><?php _e('Main Options', 'toc+'); ?></a></li>
668
  <li><a href="#tab2"><?php _e('Sitemap', 'toc+'); ?></a></li>
669
+ <li class="url"><a href="http://dublue.com/plugins/toc/#Help"><?php _e('Help', 'toc+'); ?></a></li>
670
  </ul>
671
  <div class="tab_container">
672
  <div id="tab1" class="tab_content">
1053
  </div>
1054
 
1055
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1056
  </div>
1057
  </div>
1058