summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2016-02-12 22:22:00 -0500
committerYury German <blueknight@gentoo.org>2016-02-12 22:22:00 -0500
commit657cafe0e955cf88033597f131aa50835140c617 (patch)
treecf21a30d319cb2a238a6cfb8b4eb3b20b1b5dcff /plugins/table-of-contents-plus
parentAdding New Mantra version 2.4.1.1 - Bug 574468 (diff)
downloadblogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.tar.gz
blogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.tar.bz2
blogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.zip
Updating plugins easy-table, jetpack, openid, public-post preview, talbe-of-contents-plus, wordress-mobile-pack - Bug 574468
Diffstat (limited to 'plugins/table-of-contents-plus')
-rw-r--r--plugins/table-of-contents-plus/admin.css15
-rw-r--r--plugins/table-of-contents-plus/admin.js14
-rw-r--r--plugins/table-of-contents-plus/front.js193
-rw-r--r--plugins/table-of-contents-plus/front.min.js1
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.mobin0 -> 11761 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.po560
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-de_DE.mo (renamed from plugins/table-of-contents-plus/languages/toc+-de_DE.mo)bin26416 -> 26416 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-de_DE.po (renamed from plugins/table-of-contents-plus/languages/toc+-de_DE.po)0
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.mobin0 -> 15971 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.po575
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.mobin0 -> 12571 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.po568
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-fr_FR.mo (renamed from plugins/table-of-contents-plus/languages/toc+-fr_FR.mo)bin25306 -> 25306 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-fr_FR.po (renamed from plugins/table-of-contents-plus/languages/toc+-fr_FR.po)0
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.mobin0 -> 13553 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.po534
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-ja.mobin0 -> 11032 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-ja.po (renamed from plugins/table-of-contents-plus/languages/toc+.pot)247
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-nl_NL.mo (renamed from plugins/table-of-contents-plus/languages/toc+-nl_NL.mo)bin24974 -> 24974 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-nl_NL.po (renamed from plugins/table-of-contents-plus/languages/toc+-nl_NL.po)0
-rw-r--r--[-rwxr-xr-x]plugins/table-of-contents-plus/languages/table-of-contents-plus-pl_PL.mo (renamed from plugins/table-of-contents-plus/languages/toc+-pl_PL.mo)bin24818 -> 24818 bytes
-rw-r--r--[-rwxr-xr-x]plugins/table-of-contents-plus/languages/table-of-contents-plus-pl_PL.po (renamed from plugins/table-of-contents-plus/languages/toc+-pl_PL.po)0
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.mobin0 -> 11990 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.po900
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-sk_SK.mo (renamed from plugins/table-of-contents-plus/languages/toc+-sk_SK.mo)bin24881 -> 24881 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-sk_SK.po (renamed from plugins/table-of-contents-plus/languages/toc+-sk_SK.po)0
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-uk_UA.mo (renamed from plugins/table-of-contents-plus/languages/toc+-uk_UA.mo)bin32712 -> 32712 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-uk_UA.po (renamed from plugins/table-of-contents-plus/languages/toc+-uk_UA.po)0
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-zh_CN.mo (renamed from plugins/table-of-contents-plus/languages/toc+-zh_CN.mo)bin23236 -> 23236 bytes
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus-zh_CN.po (renamed from plugins/table-of-contents-plus/languages/toc+-zh_CN.po)0
-rw-r--r--plugins/table-of-contents-plus/languages/table-of-contents-plus.pot513
-rw-r--r--plugins/table-of-contents-plus/readme.txt47
-rw-r--r--plugins/table-of-contents-plus/screen.css93
-rw-r--r--plugins/table-of-contents-plus/screen.min.css1
-rw-r--r--plugins/table-of-contents-plus/toc.php424
35 files changed, 4234 insertions, 451 deletions
diff --git a/plugins/table-of-contents-plus/admin.css b/plugins/table-of-contents-plus/admin.css
index 2450deed..136d3431 100644
--- a/plugins/table-of-contents-plus/admin.css
+++ b/plugins/table-of-contents-plus/admin.css
@@ -127,19 +127,4 @@ div#farbtastic_colour_wheel {
}
#tab3 h3:not(:first-child) {
margin-top: 2em;
-}
-#shortcode_table th:first-child {
- width: 150px;
-}
-#shortcode_table th {
- background: #f5f5f5;
- padding: 0.5em;
-}
-#shortcode_table td {
- vertical-align: top;
- border-bottom: #f5f5f5 1px solid;
- padding: 1em 0 1em 0;
-}
-#shortcode_table ul {
- margin: 0;
} \ No newline at end of file
diff --git a/plugins/table-of-contents-plus/admin.js b/plugins/table-of-contents-plus/admin.js
index 672d00c6..1fc7af1b 100644
--- a/plugins/table-of-contents-plus/admin.js
+++ b/plugins/table-of-contents-plus/admin.js
@@ -4,13 +4,15 @@ jQuery(document).ready(function($) {
$('.tab_content:first').show(); // show first tab content
$('ul#tabbed-nav li').click(function(event) {
- event.preventDefault();
- $('ul#tabbed-nav li').removeClass('active');
- $(this).addClass('active');
- $('.tab_content').hide();
+ if ( !$(this).hasClass('url') ) {
+ event.preventDefault();
+ $('ul#tabbed-nav li').removeClass('active');
+ $(this).addClass('active');
+ $('.tab_content').hide();
- var activeTab = $(this).find('a').attr('href');
- $(activeTab).fadeIn();
+ var activeTab = $(this).find('a').attr('href');
+ $(activeTab).fadeIn();
+ }
});
$('h3 span.show_hide a').click(function(event) {
diff --git a/plugins/table-of-contents-plus/front.js b/plugins/table-of-contents-plus/front.js
index aacedc21..56436fde 100644
--- a/plugins/table-of-contents-plus/front.js
+++ b/plugins/table-of-contents-plus/front.js
@@ -1,26 +1,169 @@
+/*!
+ * jQuery Smooth Scroll - v1.6.0 - 2015-12-26
+ * https://github.com/kswedberg/jquery-smooth-scroll
+ * Copyright (c) 2015 Karl Swedberg
+ * Licensed MIT
+ */
+!function(a){"function"==typeof define&&define.amd?
+// AMD. Register as an anonymous module.
+define(["jquery"],a):a("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(a){function b(a){return a.replace(/(:|\.|\/)/g,"\\$1")}var c="1.6.0",d={},e={exclude:[],excludeWithin:[],offset:0,
+// one of 'top' or 'left'
+direction:"top",
+// if set, bind click events through delegation
+// supported since jQuery 1.4.2
+delegateSelector:null,
+// jQuery set of elements you wish to scroll (for $.smoothScroll).
+// if null (default), $('html, body').firstScrollable() is used.
+scrollElement:null,
+// only use if you want to override default behavior
+scrollTarget:null,
+// fn(opts) function to be called before scrolling occurs.
+// `this` is the element(s) being scrolled
+beforeScroll:function(){},
+// fn(opts) function to be called after scrolling occurs.
+// `this` is the triggering element
+afterScroll:function(){},easing:"swing",speed:400,
+// coefficient for "auto" speed
+autoCoefficient:2,
+// $.fn.smoothScroll only: whether to prevent the default click action
+preventDefault:!0},f=function(b){var c=[],d=!1,e=b.dir&&"left"===b.dir?"scrollLeft":"scrollTop";
+// If no scrollable elements, fall back to <body>,
+// if it's in the jQuery collection
+// (doing this because Safari sets scrollTop async,
+// so can't set it to 1 and immediately get the value.)
+// Use the first scrollable element if we're calling firstScrollable()
+return this.each(function(){var b=a(this);if(this!==document&&this!==window)
+// if scroll(Top|Left) === 0, nudge the element 1px and see if it moves
+// then put it back, of course
+return!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(b[e]()>0?c.push(this):(b[e](1),d=b[e]()>0,d&&c.push(this),b[e](0))):(c.push(document.scrollingElement),!1)}),c.length||this.each(function(){"BODY"===this.nodeName&&(c=[this])}),"first"===b.el&&c.length>1&&(c=[c[0]]),c};a.fn.extend({scrollable:function(a){var b=f.call(this,{dir:a});return this.pushStack(b)},firstScrollable:function(a){var b=f.call(this,{el:"first",dir:a});return this.pushStack(b)},smoothScroll:function(c,d){if(c=c||{},"options"===c)return d?this.each(function(){var b=a(this),c=a.extend(b.data("ssOpts")||{},d);a(this).data("ssOpts",c)}):this.first().data("ssOpts");var e=a.extend({},a.fn.smoothScroll.defaults,c),f=function(c){var d=this,f=a(this),g=a.extend({},e,f.data("ssOpts")||{}),h=e.exclude,i=g.excludeWithin,j=0,k=0,l=!0,m={},n=a.smoothScroll.filterPath(location.pathname),o=a.smoothScroll.filterPath(d.pathname),p=location.hostname===d.hostname||!d.hostname,q=g.scrollTarget||o===n,r=b(d.hash);if(g.scrollTarget||p&&q&&r){for(;l&&j<h.length;)f.is(b(h[j++]))&&(l=!1);for(;l&&k<i.length;)f.closest(i[k++]).length&&(l=!1)}else l=!1;l&&(g.preventDefault&&c.preventDefault(),a.extend(m,g,{scrollTarget:g.scrollTarget||r,link:d}),a.smoothScroll(m))};return null!==c.delegateSelector?this.undelegate(c.delegateSelector,"click.smoothscroll").delegate(c.delegateSelector,"click.smoothscroll",f):this.unbind("click.smoothscroll").bind("click.smoothscroll",f),this}}),a.smoothScroll=function(b,c){if("options"===b&&"object"==typeof c)return a.extend(d,c);var e,f,g,h,i,j=0,k="offset",l="scrollTop",m={},n={};"number"==typeof b?(e=a.extend({link:null},a.fn.smoothScroll.defaults,d),g=b):(e=a.extend({link:null},a.fn.smoothScroll.defaults,b||{},d),e.scrollElement&&(k="position","static"===e.scrollElement.css("position")&&e.scrollElement.css("position","relative"))),l="left"===e.direction?"scrollLeft":l,e.scrollElement?(f=e.scrollElement,/^(?:HTML|BODY)$/.test(f[0].nodeName)||(j=f[l]())):f=a("html, body").firstScrollable(e.direction),e.beforeScroll.call(f,e),g="number"==typeof b?b:c||a(e.scrollTarget)[k]()&&a(e.scrollTarget)[k]()[e.direction]||0,m[l]=g+j+e.offset,h=e.speed,"auto"===h&&(i=Math.abs(m[l]-f[l]()),h=i/e.autoCoefficient),n={duration:h,easing:e.easing,complete:function(){e.afterScroll.call(e.link,e)}},e.step&&(n.step=e.step),f.length?f.stop().animate(m,n):e.afterScroll.call(e.link,e)},a.smoothScroll.version=c,a.smoothScroll.filterPath=function(a){return a=a||"",a.replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},
+// default options
+a.fn.smoothScroll.defaults=e});
-(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}
-jQuery(document).ready(function($){if(typeof tocplus!='undefined'){$.fn.shrinkTOCWidth=function(){$(this).css({width:'auto',display:'table'});if($.browser.msie&&parseInt($.browser.version)==7)
-$(this).css('width','');}
-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;}}
-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)
-target=hash;else{anchor=hash;anchor=anchor.replace('#','');target='a[name="'+anchor+'"]';if($(target).length==0)
-target='';}
-if(typeof tocplus.smooth_scroll_offset!='undefined'){offset=-1*tocplus.smooth_scroll_offset;}
-else{if($('#wpadminbar').length>0){if($('#wpadminbar').is(':visible'))
-offset=-30;else
-offset=0;}
-else
-offset=0;}
-if(target){$.smoothScroll({scrollTarget:target,offset:offset});}}});}
-if(typeof tocplus.visibility_show!='undefined'){var invert=(typeof tocplus.visibility_hide_by_default!='undefined')?true:false;if($.cookie)
-var visibility_text=($.cookie('tocplus_hidetoc'))?tocplus.visibility_show:tocplus.visibility_hide;else
-var visibility_text=tocplus.visibility_hide;if(invert)
-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();}
-$('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)
-$.cookie('tocplus_hidetoc',null,{path:'/'});else
-$.cookie('tocplus_hidetoc','1',{expires:30,path:'/'});}
-$('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)
-$.cookie('tocplus_hidetoc','1',{expires:30,path:'/'});else
-$.cookie('tocplus_hidetoc',null,{path:'/'});}
-$('#toc_container').css('width',tocplus.width).removeClass('contracted');$('ul.toc_list').show('fast');}});}}}); \ No newline at end of file
+/**
+ * jQuery Cookie plugin
+ *
+ * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ */
+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}
+
+jQuery(document).ready(function($) {
+ if ( typeof tocplus != 'undefined' ) {
+ $.fn.shrinkTOCWidth = function() {
+ $(this).css({
+ width: 'auto',
+ display: 'table'
+ });
+ if ( /MSIE 7\./.test(navigator.userAgent) )
+ $(this).css('width', '');
+ }
+
+ 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');
+
+ // ie strips out the preceeding / from pathname
+ if ( pathname.length > 0 ) {
+ if ( pathname.charAt(0) != '/' ) {
+ pathname = '/' + pathname;
+ }
+ }
+
+ if ( (window.location.hostname == hostname) && (window.location.pathname == pathname) && (window.location.search == qs) && (hash !== '') ) {
+ // escape jquery selector chars, but keep the #
+ var hash_selector = hash.replace(/([ !"$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g, '\\$1');
+ // check if element exists with id=__
+ if ( $( hash_selector ).length > 0 )
+ target = hash;
+ else {
+ // must be an anchor (a name=__)
+ anchor = hash;
+ anchor = anchor.replace('#', '');
+ target = 'a[name="' + anchor + '"]';
+ // verify it exists
+ if ( $(target).length == 0 )
+ target = '';
+ }
+
+ // check offset setting
+ if (typeof tocplus.smooth_scroll_offset != 'undefined') {
+ offset = -1 * tocplus.smooth_scroll_offset;
+ }
+ else {
+ if ($('#wpadminbar').length > 0) {
+ if ($('#wpadminbar').is(':visible'))
+ offset = -30; // admin bar exists, give it the default
+ else
+ offset = 0; // there is an admin bar but it's hidden, so no offset!
+ }
+ else
+ offset = 0; // no admin bar, so no offset!
+ }
+
+ if ( target ) {
+ $.smoothScroll({
+ scrollTarget: target,
+ offset: offset
+ });
+ }
+ }
+ });
+ }
+
+ if ( typeof tocplus.visibility_show != 'undefined' ) {
+ var invert = ( typeof tocplus.visibility_hide_by_default != 'undefined' ) ? true : false ;
+
+
+ if ( $.cookie )
+ var visibility_text = ($.cookie('tocplus_hidetoc')) ? tocplus.visibility_show : tocplus.visibility_hide ;
+ else
+ var visibility_text = tocplus.visibility_hide;
+
+ if ( invert )
+ 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();
+ }
+
+ $('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 )
+ $.cookie('tocplus_hidetoc', null, { path: '/' });
+ else
+ $.cookie('tocplus_hidetoc', '1', { expires: 30, path: '/' });
+ }
+ $('ul.toc_list').hide('fast');
+ $('#toc_container').addClass('contracted').shrinkTOCWidth();
+ break;
+
+ case $('<div/>').html(tocplus.visibility_show).text(): // do next
+ default:
+ $(this).html(tocplus.visibility_hide);
+ if ( $.cookie ) {
+ if ( invert )
+ $.cookie('tocplus_hidetoc', '1', { expires: 30, path: '/' });
+ else
+ $.cookie('tocplus_hidetoc', null, { path: '/' });
+ }
+ $('#toc_container').css('width', tocplus.width).removeClass('contracted');
+ $('ul.toc_list').show('fast');
+ }
+ });
+ }
+ }
+}); \ No newline at end of file
diff --git a/plugins/table-of-contents-plus/front.min.js b/plugins/table-of-contents-plus/front.min.js
new file mode 100644
index 00000000..5c9c7a59
--- /dev/null
+++ b/plugins/table-of-contents-plus/front.min.js
@@ -0,0 +1 @@
+!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(t){function e(t){return t.replace(/(:|\.|\/)/g,"\\$1")}var o="1.6.0",i={},l={exclude:[],excludeWithin:[],offset:0,direction:"top",delegateSelector:null,scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficient:2,preventDefault:!0},s=function(e){var o=[],i=!1,l=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each(function(){var e=t(this);return this!==document&&this!==window?!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(e[l]()>0?o.push(this):(e[l](1),i=e[l]()>0,i&&o.push(this),e[l](0))):(o.push(document.scrollingElement),!1):void 0}),o.length||this.each(function(){"BODY"===this.nodeName&&(o=[this])}),"first"===e.el&&o.length>1&&(o=[o[0]]),o};t.fn.extend({scrollable:function(t){var e=s.call(this,{dir:t});return this.pushStack(e)},firstScrollable:function(t){var e=s.call(this,{el:"first",dir:t});return this.pushStack(e)},smoothScroll:function(o,i){if(o=o||{},"options"===o)return i?this.each(function(){var e=t(this),o=t.extend(e.data("ssOpts")||{},i);t(this).data("ssOpts",o)}):this.first().data("ssOpts");var l=t.extend({},t.fn.smoothScroll.defaults,o),s=function(o){var i=this,s=t(this),n=t.extend({},l,s.data("ssOpts")||{}),c=l.exclude,a=n.excludeWithin,r=0,h=0,u=!0,d={},p=t.smoothScroll.filterPath(location.pathname),f=t.smoothScroll.filterPath(i.pathname),m=location.hostname===i.hostname||!i.hostname,g=n.scrollTarget||f===p,v=e(i.hash);if(n.scrollTarget||m&&g&&v){for(;u&&r<c.length;)s.is(e(c[r++]))&&(u=!1);for(;u&&h<a.length;)s.closest(a[h++]).length&&(u=!1)}else u=!1;u&&(n.preventDefault&&o.preventDefault(),t.extend(d,n,{scrollTarget:n.scrollTarget||v,link:i}),t.smoothScroll(d))};return null!==o.delegateSelector?this.undelegate(o.delegateSelector,"click.smoothscroll").delegate(o.delegateSelector,"click.smoothscroll",s):this.unbind("click.smoothscroll").bind("click.smoothscroll",s),this}}),t.smoothScroll=function(e,o){if("options"===e&&"object"==typeof o)return t.extend(i,o);var l,s,n,c,a,r=0,h="offset",u="scrollTop",d={},p={};"number"==typeof e?(l=t.extend({link:null},t.fn.smoothScroll.defaults,i),n=e):(l=t.extend({link:null},t.fn.smoothScroll.defaults,e||{},i),l.scrollElement&&(h="position","static"===l.scrollElement.css("position")&&l.scrollElement.css("position","relative"))),u="left"===l.direction?"scrollLeft":u,l.scrollElement?(s=l.scrollElement,/^(?:HTML|BODY)$/.test(s[0].nodeName)||(r=s[u]())):s=t("html, body").firstScrollable(l.direction),l.beforeScroll.call(s,l),n="number"==typeof e?e:o||t(l.scrollTarget)[h]()&&t(l.scrollTarget)[h]()[l.direction]||0,d[u]=n+r+l.offset,c=l.speed,"auto"===c&&(a=Math.abs(d[u]-s[u]()),c=a/l.autoCoefficient),p={duration:c,easing:l.easing,complete:function(){l.afterScroll.call(l.link,l)}},l.step&&(p.step=l.step),s.length?s.stop().animate(d,p):l.afterScroll.call(l.link,l)},t.smoothScroll.version=o,t.smoothScroll.filterPath=function(t){return t=t||"",t.replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},t.fn.smoothScroll.defaults=l}),jQuery.cookie=function(t,e,o){if(arguments.length>1&&"[object Object]"!==String(e)){if(o=jQuery.extend({},o),(null===e||void 0===e)&&(o.expires=-1),"number"==typeof o.expires){var i=o.expires,l=o.expires=new Date;l.setDate(l.getDate()+i)}return e=String(e),document.cookie=[encodeURIComponent(t),"=",o.raw?e:encodeURIComponent(e),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}o=e||{};var s,n=o.raw?function(t){return t}:decodeURIComponent;return(s=new RegExp("(?:^|; )"+encodeURIComponent(t)+"=([^;]*)").exec(document.cookie))?n(s[1]):null},jQuery(document).ready(function(t){if("undefined"!=typeof tocplus){if(t.fn.shrinkTOCWidth=function(){t(this).css({width:"auto",display:"table"}),/MSIE 7\./.test(navigator.userAgent)&&t(this).css("width","")},1==tocplus.smooth_scroll){var e=hostname=pathname=qs=hash=null;t("body a").click(function(){if(hostname=t(this).prop("hostname"),pathname=t(this).prop("pathname"),qs=t(this).prop("search"),hash=t(this).prop("hash"),pathname.length>0&&"/"!=pathname.charAt(0)&&(pathname="/"+pathname),window.location.hostname==hostname&&window.location.pathname==pathname&&window.location.search==qs&&""!==hash){var o=hash.replace(/([ !"$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g,"\\$1");t(o).length>0?e=hash:(anchor=hash,anchor=anchor.replace("#",""),e='a[name="'+anchor+'"]',0==t(e).length&&(e="")),offset="undefined"!=typeof tocplus.smooth_scroll_offset?-1*tocplus.smooth_scroll_offset:t("#wpadminbar").length>0&&t("#wpadminbar").is(":visible")?-30:0,e&&t.smoothScroll({scrollTarget:e,offset:offset})}})}if("undefined"!=typeof tocplus.visibility_show){var o="undefined"!=typeof tocplus.visibility_hide_by_default?!0:!1;if(t.cookie)var i=t.cookie("tocplus_hidetoc")?tocplus.visibility_show:tocplus.visibility_hide;else var i=tocplus.visibility_hide;o&&(i=i==tocplus.visibility_hide?tocplus.visibility_show:tocplus.visibility_hide),t("#toc_container p.toc_title").append(' <span class="toc_toggle">[<a href="#">'+i+"</a>]</span>"),i==tocplus.visibility_show&&(t("ul.toc_list").hide(),t("#toc_container").addClass("contracted").shrinkTOCWidth()),t("span.toc_toggle a").click(function(e){switch(e.preventDefault(),t(this).html()){case t("<div/>").html(tocplus.visibility_hide).text():t(this).html(tocplus.visibility_show),t.cookie&&(o?t.cookie("tocplus_hidetoc",null,{path:"/"}):t.cookie("tocplus_hidetoc","1",{expires:30,path:"/"})),t("ul.toc_list").hide("fast"),t("#toc_container").addClass("contracted").shrinkTOCWidth();break;case t("<div/>").html(tocplus.visibility_show).text():default:t(this).html(tocplus.visibility_hide),t.cookie&&(o?t.cookie("tocplus_hidetoc","1",{expires:30,path:"/"}):t.cookie("tocplus_hidetoc",null,{path:"/"})),t("#toc_container").css("width",tocplus.width).removeClass("contracted"),t("ul.toc_list").show("fast")}})}}}); \ No newline at end of file
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.mo
new file mode 100644
index 00000000..dca1d38f
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.po
new file mode 100644
index 00000000..62303cc0
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-da_DK.po
@@ -0,0 +1,560 @@
+# Copyright (C) 2015 Table of Contents Plus
+# This file is distributed under the same license as the Table of Contents Plus package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Table of Contents Plus 1505\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-contents-"
+"plus\n"
+"POT-Creation-Date: 2015-06-26 14:49+0100\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2015-06-26 14:57+0100\n"
+"Last-Translator: Kasper <kasper@toftbraun.dk>\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.1\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: da_DK\n"
+
+#: toc.php:201
+msgid "Settings"
+msgstr "Indstillinger"
+
+#: toc.php:482 toc.php:483
+msgid "TOC"
+msgstr "TOC"
+
+#: toc.php:653
+msgid "Options saved."
+msgstr "Ændringer gemt."
+
+#: toc.php:655
+msgid "Save failed."
+msgstr "Opdatering er mislykket"
+
+#: toc.php:667
+msgid "Main Options"
+msgstr "Primære indstillinger"
+
+#: toc.php:668
+msgid "Sitemap"
+msgstr "Sitemap"
+
+#: toc.php:669
+msgid "Help"
+msgstr "Hjælp"
+
+#: toc.php:677
+msgid "Position"
+msgstr "Position"
+
+#: toc.php:680
+msgid "Before first heading (default)"
+msgstr "Før første overskrift (standard)"
+
+#: toc.php:681
+msgid "After first heading"
+msgstr "Efter første overskrift"
+
+#: toc.php:682
+msgid "Top"
+msgstr "Top"
+
+#: toc.php:683
+msgid "Bottom"
+msgstr "Bund"
+
+#: toc.php:688
+msgid "Show when"
+msgstr "Vis når"
+
+#. translators: text follows drop down list of numbers
+#: toc.php:700
+msgid "or more headings are present"
+msgstr "eller flere overskrifter er vist"
+
+#: toc.php:704
+msgid "Auto insert for the following content types"
+msgstr "Indsæt automatisk for de følgende typer"
+
+#. translators: this is the title of the table of contents
+#: toc.php:719
+msgid "Heading text"
+msgstr "Boksens tekst"
+
+#: toc.php:721
+msgid "Show title on top of the table of contents"
+msgstr "Vis teksten som det øverste i indholdsfortegnelsen"
+
+#: toc.php:724
+msgid "Eg: Contents, Table of Contents, Page Contents"
+msgstr "For eksempel: Indhold, Indholdsfortegnelse, Sidens indhold"
+
+#: toc.php:726
+msgid "Allow the user to toggle the visibility of the table of contents"
+msgstr "Tillad læseren at gemme indholdsfortegnelsen"
+
+#: toc.php:731
+msgid "Show text"
+msgstr "Vis tekst"
+
+#. translators: example text to display when you want to expand the table of
+#. contents
+#: toc.php:735
+msgid "Eg: show"
+msgstr "Ex: vis"
+
+#: toc.php:738
+msgid "Hide text"
+msgstr "Gem tekst"
+
+#. translators: example text to display when you want to collapse the table of
+#. contents
+#: toc.php:742
+msgid "Eg: hide"
+msgstr "Ex: gem"
+
+#: toc.php:746
+msgid "Hide the table of contents initially"
+msgstr "Gem indholdsfortegnelsen som standard når en læser besøger siden."
+
+#: toc.php:752
+msgid "Show hierarchy"
+msgstr "Vis hierarki"
+
+#: toc.php:756
+msgid "Number list items"
+msgstr "Vis numre i indholdsfortegnelsen"
+
+#: toc.php:760
+msgid "Enable smooth scroll effect"
+msgstr "Aktiver en lækker scroll effekt"
+
+#: toc.php:761
+msgid "Scroll rather than jump to the anchor link"
+msgstr ""
+"Denne effekt betyder, at der laves en lækker stille og rolig scroll effekt. "
+"Alternativet er, at den hopper direkte ned til linket. Det kan virke lidt "
+"voldsomt."
+
+#: toc.php:766
+msgid "Appearance"
+msgstr "Design"
+
+#: toc.php:770
+msgid "Width"
+msgstr "Bredde"
+
+#: toc.php:773
+msgid "Fixed width"
+msgstr "Bestem selv bredde"
+
+#: toc.php:784
+msgid "Relative"
+msgstr "Relative værdier"
+
+#: toc.php:785
+msgid "Auto (default)"
+msgstr "Automatisk (standard)"
+
+#. translators: other width
+#: toc.php:795
+msgid "Other"
+msgstr "Andet"
+
+#: toc.php:796
+msgid "User defined"
+msgstr "Brugerdefineret"
+
+#. translators: ignore %s as it's some HTML label tags
+#: toc.php:802
+msgid "Please enter a number and %s select its units, eg: 100px, 10em"
+msgstr ""
+"Vær venlig at indtaste et nummer og %s vælg dens værdi. Ex: 100px, 10em"
+
+#: toc.php:813
+msgid "Wrapping"
+msgstr "Justering"
+
+#: toc.php:816
+msgid "None (default)"
+msgstr "Ingen (standard)"
+
+#: toc.php:817
+msgid "Left"
+msgstr "Venstre"
+
+#: toc.php:818
+msgid "Right"
+msgstr "Højre"
+
+#: toc.php:823
+msgid "Font size"
+msgstr "Fontens størrelse"
+
+#. translators: appearance / colour / look and feel options
+#: toc.php:836
+msgid "Presentation"
+msgstr "Udseende"
+
+#: toc.php:839
+msgid "Grey (default)"
+msgstr "Grå (standard)"
+
+#: toc.php:844
+msgid "Light blue"
+msgstr "Lyseblå"
+
+#: toc.php:849
+msgid "White"
+msgstr "Hvid"
+
+#: toc.php:854
+msgid "Black"
+msgstr "Sort"
+
+#: toc.php:859
+msgid "Transparent"
+msgstr "Gennemsigtig"
+
+#: toc.php:864
+msgid "Custom"
+msgstr "Brugerdefineret"
+
+#: toc.php:874
+msgid "Background"
+msgstr "Baggrund"
+
+#: toc.php:878
+msgid "Border"
+msgstr "Sider"
+
+#: toc.php:882 toc.php:1658
+msgid "Title"
+msgstr "Overskrifter"
+
+#: toc.php:886
+msgid "Links"
+msgstr "Links"
+
+#: toc.php:890
+msgid "Links (hover)"
+msgstr "Links (når musen køres henover linket)"
+
+#: toc.php:894
+msgid "Links (visited)"
+msgstr "Links (besøgte)"
+
+#: toc.php:901
+msgid "Leaving the value as %s will inherit your theme's styles"
+msgstr "At lade værdien stå som %s betyder, at temaets standard design bruges"
+
+#: toc.php:908
+msgid "Advanced"
+msgstr "Avanceret"
+
+#: toc.php:908 toc.php:1045
+msgid "show"
+msgstr "vis"
+
+#: toc.php:910
+msgid "Power options"
+msgstr "Ekstra indstillinger"
+
+#: toc.php:914
+msgid "Lowercase"
+msgstr "Små bogstaver"
+
+#: toc.php:915
+msgid "Ensure anchors are in lowercase"
+msgstr "Sørger for tekst med små bogstaver"
+
+#: toc.php:918
+msgid "Hyphenate"
+msgstr "Orddeling"
+
+#: toc.php:919
+msgid "Use - rather than _ in anchors"
+msgstr "Bruger - i stedet for _ i overskrifter"
+
+#: toc.php:922
+msgid "Include homepage"
+msgstr "Inkluder forside"
+
+#: toc.php:923
+msgid "Show the table of contents for qualifying items on the homepage"
+msgstr "Vis indholdsfortegnelse på forsiden"
+
+#: toc.php:926
+msgid "Exclude CSS file"
+msgstr "Ekskluder CSS fil"
+
+#: toc.php:927
+msgid ""
+"Prevent the loading of this plugin's CSS styles. When selected, the "
+"appearance options from above will also be ignored."
+msgstr ""
+"Fohindrer indlæsning af dettes plugins CSS styles. Når dette er valgt, vil "
+"dine egne design indstillinger blive ignoreret."
+
+#: toc.php:930
+msgid "Preserve theme bullets"
+msgstr "Bevar tema lister"
+
+#: toc.php:931
+msgid ""
+"If your theme includes background images for unordered list elements, enable "
+"this to support them"
+msgstr ""
+"Hvis dit tema inkluderer billeder i uordnet listeelementer, så aktiver dette "
+"for at bevare dem."
+
+#: toc.php:934
+msgid "Heading levels"
+msgstr "Overskrifter"
+
+#: toc.php:936
+msgid ""
+"Include the following heading levels. Deselecting a heading will exclude it."
+msgstr ""
+"Inkluder følgende overskrifter. Når du fravælger en overskrift, vil den "
+"blive ekskluderet i indholdsfortegnelsen."
+
+#: toc.php:942
+msgid "heading "
+msgstr "overskrift"
+
+#: toc.php:948
+msgid "Exclude headings"
+msgstr "Ekskluder overskrifter"
+
+#: toc.php:951
+msgid ""
+"Specify headings to be excluded from appearing in the table of contents. "
+"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
+"<code>*</code> as a wildcard to match other text. Note that this is not "
+"case sensitive. Some examples:"
+msgstr ""
+"Specificer overskrifter med ord du vil have ekskluderet i din "
+"indholdsfortegnelse. Adskil flere overskrifter med <code>|</code>. Brug "
+"<code>*</code> til at matche en anden tekst. Husk at der ikke skelnes mellem "
+"store og små bogstacer. Eksempler:"
+
+#: toc.php:953
+msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
+msgstr "<code>Frugt*</code> ignorerer overskrifter der starter med \"Frugt\""
+
+#: toc.php:954
+msgid ""
+"<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
+"the heading"
+msgstr ""
+"<code>*Frugt slankekur*</code> ignorerer overskrifter med \"Frugt slankekur\""
+
+#: toc.php:955
+msgid ""
+"<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
+"exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
+msgstr ""
+"<code>Æbletræ|Appelsiner|Gule Bananer</code> ignorerer overskrifter der "
+"præcis er \"Æbletræ\", \"Appelsiner\" eller \"Gule Bananer\""
+
+#: toc.php:960
+msgid "Smooth scroll top offset"
+msgstr "Mellemrum mellem overskrifter"
+
+#: toc.php:963
+msgid ""
+"If you have a consistent menu across the top of your site, you can adjust "
+"the top offset to stop the headings from appearing underneath the top menu. "
+"A setting of 30 accommodates the WordPress admin bar. This setting appears "
+"after you have enabled smooth scrolling from above."
+msgstr ""
+"Den værdi du indsætter ovenfor har betydning for, hvor stort et mellemrum "
+"der er til den overskrift, man scroller ned til. Hvis du vælger at sætte den "
+"til 30 pixels, så svarer det til WordPress admin barens højde. Denne "
+"indstilling vises efter, at du har aktiveret scroll effekten længere oppe."
+
+#: toc.php:967
+msgid "Restrict path"
+msgstr "Begræns sti"
+
+#: toc.php:970
+msgid ""
+"Restrict generation of the table of contents to pages that match the "
+"required path. This path is from the root of your site and always begins "
+"with a forward slash."
+msgstr ""
+"Her kan du begrænse indholdsfortegnelsen til sider, der matcher din ønskede "
+"sti. Husk at det altid begynder med en skråstreg."
+
+#. translators: example URL path restriction
+#: toc.php:973
+msgid "Eg: /wiki/, /corporate/annual-reports/"
+msgstr "Ex: /wiki/, /virksomhed/rapporter/"
+
+#: toc.php:977
+msgid "Default anchor prefix"
+msgstr "Standard anker præfiks"
+
+#: toc.php:980
+msgid ""
+"Anchor targets are restricted to alphanumeric characters as per HTML "
+"specification (see readme for more detail). The default anchor prefix will "
+"be used when no characters qualify. When left blank, a number will be used "
+"instead."
+msgstr ""
+"Ankrer er begrænset til alfanumeriske tegn som pr HTML specifikation (se "
+"readme for flere detaljer). En standard anker præfiks vil blive brugt, når "
+"der ikke vises nogle tegn. Hvis du lader dette stå blankt, vil et nummer i "
+"stedet blive brugt."
+
+#: toc.php:981
+msgid ""
+"This option normally applies to content written in character sets other than "
+"ASCII."
+msgstr ""
+"Denne indstilling gælder normalt indhold der er skrevet i andre tegnsæt end "
+"ASCII."
+
+#. translators: example anchor prefixes when no ascii characters match
+#: toc.php:984
+msgid "Eg: i, toc_index, index, _"
+msgstr "Ex: i, toc_index, index, _"
+
+#. translators: advanced usage
+#: toc.php:992
+msgid "Usage"
+msgstr "Brug/Shortcode"
+
+#: toc.php:993
+msgid ""
+"If you would like to fully customise the position of the table of contents, "
+"you can use the %s shortcode by placing it at the desired position of your "
+"post, page or custom post type. This method allows you to generate the table "
+"of contents despite having auto insertion disabled for its content type. "
+"Please visit the help tab for further information about this shortcode."
+msgstr ""
+"Hvis du gerne vil have fuld kontrol over indholdsfortegnelsen, så kan du "
+"bruge denne shortcode: %s Denne shortcode kan du placere hvor som helst på "
+"din side, og den fungerer både på sider, indlæg og custom post types. Så "
+"hvis du ikke gider at have en automatisk genereret indholdsfortegnelse, så "
+"har du fuld kontrol med denne shortcode."
+
+#: toc.php:1001
+msgid ""
+"At its simplest, placing %s into a page will automatically create a sitemap "
+"of all pages and categories. This also works in a text widget."
+msgstr ""
+"Placer %s og du vil automatisk få genereret et sitemap for alle dine sider "
+"og kategorier. Denne shortcode virker også i tekst widgets."
+
+#: toc.php:1005
+msgid "Show page listing"
+msgstr "Vis sider"
+
+#: toc.php:1009
+msgid "Show category listing"
+msgstr "Vis kategorier"
+
+#: toc.php:1013
+msgid "Heading type"
+msgstr "Overskrift type"
+
+#. translators: the full line is supposed to read - Use [1-6 drop down list] to
+#. print out the titles
+#: toc.php:1016
+msgid "Use"
+msgstr "Brug"
+
+#. translators: the full line is supposed to read - Use [h1-h6 drop down list]
+#. to print out the titles
+#: toc.php:1027
+msgid "to print out the titles"
+msgstr "overskrifter til dit sitemap"
+
+#: toc.php:1031
+msgid "Pages label"
+msgstr "Overskrift for sider"
+
+#: toc.php:1033
+msgid "Eg: Pages, Page List"
+msgstr "Ex: sider"
+
+#: toc.php:1037
+msgid "Categories label"
+msgstr "Overskrift for kategorier"
+
+#: toc.php:1039
+msgid "Eg: Categories, Category List"
+msgstr "Ex: kategorier"
+
+#: toc.php:1045
+msgid "Advanced usage"
+msgstr "Avanceret brug"
+
+#: toc.php:1047
+msgid ""
+"lets you print out a listing of only pages. Similarly %s can be used to "
+"print out a category listing. They both can accept a number of attributes so "
+"visit the help tab for more information."
+msgstr ""
+"laver en liste med sider. Og %s laver en liste med kategorier. Begge "
+"accepterer egenskaber. Hvis du vil høre mere om det, så besøg \"Hjælp\" "
+"fanen."
+
+#: toc.php:1048
+msgid "Examples"
+msgstr "Eksempler"
+
+#: toc.php:1050
+msgid "hides the heading from a category listing"
+msgstr "gemmer overskrifterne for en liste af kategorier"
+
+#: toc.php:1051
+msgid ""
+"Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
+msgstr ""
+"Bruger h6 til at vise %s på liste med sider, men hvor der ekskluderes sider "
+"med ID 1 og 15"
+
+#: toc.php:1060
+msgid "Update Options"
+msgstr "Ændringer gemt."
+
+#: toc.php:1563
+msgid "Display the table of contents in the sidebar with this widget"
+msgstr "Vis indholdsfortegnelsen i sidebaren med den her widget"
+
+#: toc.php:1664
+msgid "Show the table of contents only in the sidebar"
+msgstr "Vis kun indholdsfortegnelsen i sidebaren"
+
+#: toc.php:1668
+msgid "For the following content types:"
+msgstr "For følgende typer"
+
+#. Plugin Name of the plugin/theme
+msgid "Table of Contents Plus"
+msgstr "Table of Contents Plus"
+
+#. Plugin URI of the plugin/theme
+msgid "http://dublue.com/plugins/toc/"
+msgstr "http://dublue.com/plugins/toc/"
+
+#. Description of the plugin/theme
+msgid ""
+"A powerful yet user friendly plugin that automatically creates a table of "
+"contents. Can also output a sitemap listing all pages and categories."
+msgstr ""
+"Et kraftigt og brugerventligt plugin der automatisk laver en "
+"indholdsfortegnelse. Den kan også lave et sitemap, hvor alle sider og "
+"kategorier listes."
+
+#. Author of the plugin/theme
+msgid "Michael Tran"
+msgstr "Michael Tran"
+
+#. Author URI of the plugin/theme
+msgid "http://dublue.com/"
+msgstr "http://dublue.com/"
diff --git a/plugins/table-of-contents-plus/languages/toc+-de_DE.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-de_DE.mo
index 51a9d99c..51a9d99c 100644
--- a/plugins/table-of-contents-plus/languages/toc+-de_DE.mo
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-de_DE.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+-de_DE.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-de_DE.po
index f8fa9b89..f8fa9b89 100644
--- a/plugins/table-of-contents-plus/languages/toc+-de_DE.po
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-de_DE.po
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.mo
new file mode 100644
index 00000000..5a2eb1d3
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.po
new file mode 100644
index 00000000..62447e3d
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-el_GR.po
@@ -0,0 +1,575 @@
+# Copyright (C) 2015 Table of Contents Plus
+# This file is distributed under the same license as the Table of Contents Plus package.
+# 1 <1>, 2015.
+# 1 <1>, 2015.
+# 1 <1>, 2015.
+# 1 <1>, 2015.
+# 1 <1>, 2015.
+# 1 <1>, 2015.
+# 1 <1>, 2015.
+msgid ""
+msgstr ""
+"Project-Id-Version: Table of Contents Plus 1505\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-"
+"contents-plus\n"
+"POT-Creation-Date: 2015-06-26 12:23:49+00:00\n"
+"PO-Revision-Date: 2015-09-02 20:10+0300\n"
+"Last-Translator: 1 <1>\n"
+"Language-Team: Δημήτρης Καίσαρης\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: toc.php:201
+msgid "Settings"
+msgstr "Ρυθμίσεις"
+
+#: toc.php:482 toc.php:483
+msgid "TOC"
+msgstr "TOC"
+
+#: toc.php:653
+msgid "Options saved."
+msgstr "Επιλογές αποθηκεύθηκαν"
+
+#: toc.php:655
+msgid "Save failed."
+msgstr "Η αποθήκευση απέτυχε"
+
+#: toc.php:667
+msgid "Main Options"
+msgstr "Βασικές Επιλογές"
+
+#: toc.php:668
+msgid "Sitemap"
+msgstr "Χάρτης Ιστοσελίδας"
+
+#: toc.php:669
+msgid "Help"
+msgstr "Βοήθεια"
+
+#: toc.php:677
+msgid "Position"
+msgstr "Θέση"
+
+#: toc.php:680
+msgid "Before first heading (default)"
+msgstr "Πριν την πρώτη επικεφαλίδα (προεπιλογή)"
+
+#: toc.php:681
+msgid "After first heading"
+msgstr "Μετά την πρώτη επικεφαλίδα"
+
+#: toc.php:682
+msgid "Top"
+msgstr "Κορυφή"
+
+#: toc.php:683
+msgid "Bottom"
+msgstr "Τέρμα κάτω"
+
+#: toc.php:688
+msgid "Show when"
+msgstr "Εμφάνιση όταν"
+
+#. translators: text follows drop down list of numbers
+#: toc.php:700
+msgid "or more headings are present"
+msgstr "ή περισσότερες επικεφαλίδες είναι παρούσες"
+
+#: toc.php:704
+msgid "Auto insert for the following content types"
+msgstr "Αυτόματη εισαγωγή στα ακόλουθα είδη περιεχομένου"
+
+#. translators: this is the title of the table of contents
+#: toc.php:719
+msgid "Heading text"
+msgstr "Κείμενο Κεφαλίδας"
+
+#: toc.php:721
+msgid "Show title on top of the table of contents"
+msgstr "Εμφάνισου τίτλου στην κορυφή του πίνακα περιεχομένων"
+
+#: toc.php:724
+msgid "Eg: Contents, Table of Contents, Page Contents"
+msgstr "πχ: Περιεχόμενα, Πίνακας Περιεχομένων, Περιεχόμενο Σελίδας"
+
+#: toc.php:726
+msgid "Allow the user to toggle the visibility of the table of contents"
+msgstr ""
+"Επιτρέψτε στον χρήστη να εναλλάσσει την ορατότητα του πίνακα περιεχομένων"
+
+#: toc.php:731
+msgid "Show text"
+msgstr "Εμφάνιση κειμένου"
+
+#. translators: example text to display when you want to expand the table of
+#. contents
+#: toc.php:735
+msgid "Eg: show"
+msgstr "πχ: εμφάνισε"
+
+#: toc.php:738
+msgid "Hide text"
+msgstr "Απόκρυψη κειμένου"
+
+#. translators: example text to display when you want to collapse the table of
+#. contents
+#: toc.php:742
+msgid "Eg: hide"
+msgstr "πχ: κρύψε"
+
+#: toc.php:746
+msgid "Hide the table of contents initially"
+msgstr "Κρύψε των πίνακα περιεχομένων αρχικά"
+
+#: toc.php:752
+msgid "Show hierarchy"
+msgstr "Εμφάνιση ιεραρχίας"
+
+#: toc.php:756
+msgid "Number list items"
+msgstr "Αρίθμηση λίστας αντικειμένων"
+
+#: toc.php:760
+msgid "Enable smooth scroll effect"
+msgstr "Ενεργοποίηση εφέ ομαλής κύλισης"
+
+#: toc.php:761
+msgid "Scroll rather than jump to the anchor link"
+msgstr "Κύλιση αντί για πήδημα στο κείμενο συνδέσμου"
+
+#: toc.php:766
+msgid "Appearance"
+msgstr "Εμφάνιση"
+
+#: toc.php:770
+msgid "Width"
+msgstr "Πλάτος"
+
+#: toc.php:773
+msgid "Fixed width"
+msgstr "Σταθερό πλάτος"
+
+#: toc.php:784
+msgid "Relative"
+msgstr "Σχετικό"
+
+#: toc.php:785
+msgid "Auto (default)"
+msgstr "Αυτόματα (προεπιλογή)"
+
+#. translators: other width
+#: toc.php:795
+msgid "Other"
+msgstr "Άλλο"
+
+#: toc.php:796
+msgid "User defined"
+msgstr "Ορίζεται από το Χρήστη"
+
+#. translators: ignore %s as it's some HTML label tags
+#: toc.php:802
+msgid "Please enter a number and %s select its units, eg: 100px, 10em"
+msgstr ""
+"Παρακαλώ εισάγετε ένα αριθμό και %s και επιλέξτε τις μονάδες του, πχ: 100px, "
+"10em"
+
+#: toc.php:813
+msgid "Wrapping"
+msgstr "Περιτύλιγμα"
+
+#: toc.php:816
+msgid "None (default)"
+msgstr "Κανένα (προεπιλογή)"
+
+#: toc.php:817
+msgid "Left"
+msgstr "Αριστερά"
+
+#: toc.php:818
+msgid "Right"
+msgstr "Δεξιά"
+
+#: toc.php:823
+msgid "Font size"
+msgstr "Μέγεθος γραμματοσειράς"
+
+#. translators: appearance / colour / look and feel options
+#: toc.php:836
+msgid "Presentation"
+msgstr "Παρουσίαση"
+
+#: toc.php:839
+msgid "Grey (default)"
+msgstr "Γκρι (προεπιλογή)"
+
+#: toc.php:844
+msgid "Light blue"
+msgstr "Ανοιχτό μπλε"
+
+#: toc.php:849
+msgid "White"
+msgstr "ασπρο"
+
+#: toc.php:854
+msgid "Black"
+msgstr "Μαύρο"
+
+#: toc.php:859
+msgid "Transparent"
+msgstr "Διάφανο"
+
+#: toc.php:864
+msgid "Custom"
+msgstr "Κατά Επιλογή"
+
+#: toc.php:874
+msgid "Background"
+msgstr "Φόντο"
+
+#: toc.php:878
+msgid "Border"
+msgstr "Όρια"
+
+#: toc.php:882 toc.php:1658
+msgid "Title"
+msgstr "Τίτλος"
+
+#: toc.php:886
+msgid "Links"
+msgstr "Σύνδεσμοι"
+
+#: toc.php:890
+msgid "Links (hover)"
+msgstr "Σύνδεσμοι (hover)"
+
+#: toc.php:894
+msgid "Links (visited)"
+msgstr "Σύνδεσμοι (επισκέφθηκαν)"
+
+#: toc.php:901
+msgid "Leaving the value as %s will inherit your theme's styles"
+msgstr "Αφήνοντας την τιμή ως %s θα κληρονομήσει το στυλ του θέματος σας"
+
+#: toc.php:908
+msgid "Advanced"
+msgstr "Για Προχωρημένους"
+
+#: toc.php:908 toc.php:1045
+msgid "show"
+msgstr "εμφάνιση"
+
+#: toc.php:910
+msgid "Power options"
+msgstr "Επιλογές δύναμης"
+
+#: toc.php:914
+msgid "Lowercase"
+msgstr "Μικρά"
+
+#: toc.php:915
+msgid "Ensure anchors are in lowercase"
+msgstr "Εξασφαλίστε ότι το κείμενο συνδέσμων είναι με μικρά"
+
+#: toc.php:918
+msgid "Hyphenate"
+msgstr "Χωρισμός με παύλα"
+
+#: toc.php:919
+msgid "Use - rather than _ in anchors"
+msgstr "Χρησιμοποιήστε - αντί για _ στο κείμενο συνδέσμων"
+
+#: toc.php:922
+msgid "Include homepage"
+msgstr "Να περιλαμβάνεται η αρχική σελίδα"
+
+#: toc.php:923
+msgid "Show the table of contents for qualifying items on the homepage"
+msgstr ""
+"Εμφάνιση πίνακα περιεχομένων για αντικείμενα που καλύπτουν τις προϋποθέσεις "
+"στη αρχική σελίδα"
+
+#: toc.php:926
+msgid "Exclude CSS file"
+msgstr "Εξαίρεη αρχείου CSS"
+
+#: toc.php:927
+msgid ""
+"Prevent the loading of this plugin's CSS styles. When selected, the "
+"appearance options from above will also be ignored."
+msgstr ""
+"Αποτροπή της φόρτωσης του CSS στυλ αυτού του προσθέτου. Όταν επιλεγεί, οι "
+"επιλογές εμφάνισης από παραπάνω θα αγνοηθούν."
+
+#: toc.php:930
+msgid "Preserve theme bullets"
+msgstr "Διατήρηση "
+
+#: toc.php:931
+msgid ""
+"If your theme includes background images for unordered list elements, enable "
+"this to support them"
+msgstr ""
+"Αν το θέμα σας περιλαμβάνει εικόνες φόντου για μη αριθμημένες λίστες, "
+"ενεργοποιήστε αυτό για να υποστηριχθούν."
+
+#: toc.php:934
+msgid "Heading levels"
+msgstr "Επίπεδα επικεφαλίδων"
+
+#: toc.php:936
+msgid ""
+"Include the following heading levels. Deselecting a heading will exclude it."
+msgstr ""
+"Περίληψη των ακόλουθων επιπέδων επικεφαλίδας. Αποεπιλογή μιας επικεφαλίδας "
+"θα την εξαιρέσει."
+
+#: toc.php:942
+msgid "heading "
+msgstr "επικεφαλίδα"
+
+#: toc.php:948
+msgid "Exclude headings"
+msgstr "Εξαίρεση επικεφαλίδων"
+
+#: toc.php:951
+msgid ""
+"Specify headings to be excluded from appearing in the table of contents. "
+"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
+"<code>*</code> as a wildcard to match other text. Note that this is not "
+"case sensitive. Some examples:"
+msgstr ""
+"Καθορίστε επικεφαλίδες να εξαιρεθούν από το να εμφανίζονται στον πίνακα "
+"περιεχομένων. Διαχωρίστε τις επιεπικεφαλίδες με <code>|</code> . "
+"Χρησιμοποιήστε έναν αστερίσκο <code>*</code> ως μπαλαντέρ για να ταιριάζει "
+"με το υπόλοιπο κείμενο. Σημειώστε ότι αυτό δεν είναι ευαίσθητο στα μικρά ή "
+"κεφαλαία. Μερικά παραδείγματα: "
+
+#: toc.php:953
+msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
+msgstr "<code>Φρούτο*</code> αγνοεί τις επιεπικεφαλίδες που ξεκινάν με \"Φρούτο\""
+
+#: toc.php:954
+msgid ""
+"<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
+"the heading"
+msgstr ""
+"<code>*Δίαιτα Φρούτων*</code> αγνοεί τις επιεπικεφαλίδες που έχουν "
+"οπουδήποτε \"Δίαιτα Φρούτων\" "
+
+#: toc.php:955
+msgid ""
+"<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
+"exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
+msgstr ""
+"<code>Μηλιές|Πορτοκάλια|Κίτρινες Μπανάνες</code> αγνοεί τις επιεπικεφαλίδες "
+"που είναι ακριβώς \"Μηλιές\", \"Πορτοκάλια\" ή \"Κίτρινες Μπανάνες\""
+
+#: toc.php:960
+msgid "Smooth scroll top offset"
+msgstr "Αντιστάθμιση ομαλής κύλισης πάνω"
+
+#: toc.php:963
+msgid ""
+"If you have a consistent menu across the top of your site, you can adjust "
+"the top offset to stop the headings from appearing underneath the top menu. "
+"A setting of 30 accommodates the WordPress admin bar. This setting appears "
+"after you have enabled smooth scrolling from above."
+msgstr ""
+"Αν έχετε ένα σταθερό μενού στην κορυφή του ιστότοπου σας, μπορείτε να "
+"ρυθμίσετε την αντιστάθμιση από την κορυφή για να σταματήστε τις "
+"επιεπικεφαλίδες από το να εμφανίζονται κάτω από το μενου. Μια επιλογή 30 "
+"είναι αρκετή για την μπάρα διαχείρισης του WordPress. Αυτή η ρύθμιση "
+"εμφανίζεται αφού έχετε ενεργοποιήσει την ομαλή κύλιση παραπάνω."
+
+#: toc.php:967
+msgid "Restrict path"
+msgstr "Περιορισμός μονοπατιού"
+
+#: toc.php:970
+msgid ""
+"Restrict generation of the table of contents to pages that match the "
+"required path. This path is from the root of your site and always begins "
+"with a forward slash."
+msgstr ""
+"Περιορισμός δημιουργίας του πίνακα περιεχομένων σε σελίδες που ταιριάζουν το "
+"απαιτούμενο μονοπάτι. Αυτό το μονοπάτι είναι από τον root του ιστότοπου σας "
+"και αρχίζει πάντα με /."
+
+#. translators: example URL path restriction
+#: toc.php:973
+msgid "Eg: /wiki/, /corporate/annual-reports/"
+msgstr "πχ: /wiki/, /corporate/annual-reports/"
+
+#: toc.php:977
+msgid "Default anchor prefix"
+msgstr "Προεπιλογή προθέματος κειμένου συνδέσμου"
+
+#: toc.php:980
+msgid ""
+"Anchor targets are restricted to alphanumeric characters as per HTML "
+"specification (see readme for more detail). The default anchor prefix will "
+"be used when no characters qualify. When left blank, a number will be used "
+"instead."
+msgstr ""
+"Οι στόχοι κειμένου συνδέσμων περιορίζοντα σε γράμματα και αριθμούς σύμφωνα "
+"με τον HTML προσδιορισμό. (δείτε το readme για περισσότερες λεπτομέρειες). "
+"Το προεπιλεγμένο πρόθεμα κειμένου συνδέσμων θα χρησιμοποιηθεί όταν κανένας "
+"χαρακτήρας δεν προκρίνεται. Όταν αφεθεί κενό, θα χρησιμοποιηθεί ένας "
+"αριθμός."
+
+#: toc.php:981
+msgid ""
+"This option normally applies to content written in character sets other than "
+"ASCII."
+msgstr ""
+"Αυτή η επιλογή ισχύει για περιεχόμενο γραμμένο με χαρακτήρες άλλους εκτός "
+"ASCII."
+
+#. translators: example anchor prefixes when no ascii characters match
+#: toc.php:984
+msgid "Eg: i, toc_index, index, _"
+msgstr "πχ: i, toc_index, index, _"
+
+#. translators: advanced usage
+#: toc.php:992
+msgid "Usage"
+msgstr "Χρήση"
+
+#: toc.php:993
+msgid ""
+"If you would like to fully customise the position of the table of contents, "
+"you can use the %s shortcode by placing it at the desired position of your "
+"post, page or custom post type. This method allows you to generate the table "
+"of contents despite having auto insertion disabled for its content type. "
+"Please visit the help tab for further information about this shortcode."
+msgstr ""
+"Αν θέλετε να ρυθμίσετε πλήρως την τοποθεσία του πίνακα περιεχομένων, "
+"μπορείτε να χρησιμοποιήσετε το %s shortcode τοποθετώντας τον στην επιθυμητή "
+"τοποθεσία στη δημοσίευση, σελίδα ή custom post. Αυτή η μέθοδος σας επιτρέπει "
+"να δημιουργήσετε τον πίνακα περιεχομένων ακόμα και αν έχετε την αυτόματη "
+"εισαγωγή ανενεργή για τον συγκεκριμένο τύπο περιεχομένου. Παρακαλώ, "
+"επισκεφθείτε την καρτέλα βοήθειας για περαιτέρω πληροφορίες σχετικά με αυτόν "
+"τον shortcode."
+
+#: toc.php:1001
+msgid ""
+"At its simplest, placing %s into a page will automatically create a sitemap "
+"of all pages and categories. This also works in a text widget."
+msgstr ""
+"Στην πιο απλή περίπτωση, τοποθετώντας %s σε μια σελίδα θα δημιουργήσει "
+"αυτόματα έναν χάρτη ιστοτόπου με όλες τις σελίδες και κατηγορίες. Το ίδιο θα "
+"γίνει και σε μια μικροεφαρμογή κειμένου."
+
+#: toc.php:1005
+msgid "Show page listing"
+msgstr "Εμφάνιση λίστας σελίδων"
+
+#: toc.php:1009
+msgid "Show category listing"
+msgstr "Εμφάνιση λίστας κατηγοριών"
+
+#: toc.php:1013
+msgid "Heading type"
+msgstr "Τύπος Κεφαλίδας"
+
+#. translators: the full line is supposed to read - Use [1-6 drop down list] to
+#. print out the titles
+#: toc.php:1016
+msgid "Use"
+msgstr "Χρησιμοποιήστε"
+
+#. translators: the full line is supposed to read - Use [h1-h6 drop down list]
+#. to print out the titles
+#: toc.php:1027
+msgid "to print out the titles"
+msgstr "για να εμφανιστούν οι τίτλοι"
+
+#: toc.php:1031
+msgid "Pages label"
+msgstr "Ετικέτα σελίδων"
+
+#: toc.php:1033
+msgid "Eg: Pages, Page List"
+msgstr "πχ: Σελίδες, Λίστα Σελίδων"
+
+#: toc.php:1037
+msgid "Categories label"
+msgstr "Ετικέτα κατηγοριών"
+
+#: toc.php:1039
+msgid "Eg: Categories, Category List"
+msgstr "πχ: Κατηγορίες, Λίστα Κατηγοριών"
+
+#: toc.php:1045
+msgid "Advanced usage"
+msgstr "Χρήση για προχωρημένους"
+
+#: toc.php:1047
+msgid ""
+"lets you print out a listing of only pages. Similarly %s can be used to "
+"print out a category listing. They both can accept a number of attributes so "
+"visit the help tab for more information."
+msgstr ""
+"Σας επιτρέπει να εμφανίσετε μια λίστα μόνο σελίδων. Παρομοίως %s μπορεί να "
+"χρησιμοποιηθεί για την εμφάνιση μιας λίστας κατηγοριών, Και οι δύο δέχονται "
+"μια λίστα παραμέτρων, για το λόγο αυτό επισκεφθείτε την καρτέλα βοήθειας για "
+"παραπάνω πληροφορίες."
+
+#: toc.php:1048
+msgid "Examples"
+msgstr "Παραδείγματα"
+
+#: toc.php:1050
+msgid "hides the heading from a category listing"
+msgstr "κρύβει την επικεφαλίδα από την λίστα κατηγοριών"
+
+#: toc.php:1051
+msgid ""
+"Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
+msgstr ""
+"Χρησιμοποιεί h6 για την προβολή %s μιας λίστας σελίδων εξαιρώντας τις "
+"σελίδες με IDs 1 και 15"
+
+#: toc.php:1060
+msgid "Update Options"
+msgstr "Ενημέρωση Επιλογών"
+
+#: toc.php:1563
+msgid "Display the table of contents in the sidebar with this widget"
+msgstr ""
+"Εμφάνιση του πίνακα περιεχομένων στη πλευρική στήλη με αυτή μικροεφαρμογή"
+
+#: toc.php:1664
+msgid "Show the table of contents only in the sidebar"
+msgstr "Εμφάνιση του πίνακα περιεχομένων μόνο στη πλευρική στήλη"
+
+#: toc.php:1668
+msgid "For the following content types:"
+msgstr "Για τους ακόλουθους τύπους περιεχομένου"
+
+#. Plugin Name of the plugin/theme
+msgid "Table of Contents Plus"
+msgstr ""
+
+#. Plugin URI of the plugin/theme
+msgid "http://dublue.com/plugins/toc/"
+msgstr ""
+
+#. Description of the plugin/theme
+msgid ""
+"A powerful yet user friendly plugin that automatically creates a table of "
+"contents. Can also output a sitemap listing all pages and categories."
+msgstr ""
+
+#. Author of the plugin/theme
+msgid "Michael Tran"
+msgstr ""
+
+#. Author URI of the plugin/theme
+msgid "http://dublue.com/"
+msgstr ""
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.mo
new file mode 100644
index 00000000..abde3564
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.po
new file mode 100644
index 00000000..496567a2
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-es_ES.po
@@ -0,0 +1,568 @@
+# Copyright (C) 2015 Table of Contents Plus
+# This file is distributed under the same license as the Table of Contents Plus package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Table of Contents Plus 1505\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-contents-"
+"plus\n"
+"POT-Creation-Date: 2015-10-27 13:07+0100\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2015-10-31 22:33+0100\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.6\n"
+"Last-Translator: David Saiz\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: es\n"
+
+#: toc.php:201
+msgid "Settings"
+msgstr "Ajustes"
+
+#: toc.php:482 toc.php:483
+msgid "TOC"
+msgstr "TOC"
+
+#: toc.php:653
+msgid "Options saved."
+msgstr "Opciones guardadas."
+
+#: toc.php:655
+msgid "Save failed."
+msgstr "Fallo al guardar."
+
+#: toc.php:667
+msgid "Main Options"
+msgstr "Opciones principales"
+
+#: toc.php:668
+msgid "Sitemap"
+msgstr "Mapa del sitio"
+
+#: toc.php:669
+msgid "Help"
+msgstr "Ayuda"
+
+#: toc.php:677
+msgid "Position"
+msgstr "Posición"
+
+#: toc.php:680
+msgid "Before first heading (default)"
+msgstr "Antes del primer encabezamiento (por defecto)"
+
+#: toc.php:681
+msgid "After first heading"
+msgstr "Después del primer encabezamiento"
+
+#: toc.php:682
+msgid "Top"
+msgstr "Arriba"
+
+#: toc.php:683
+msgid "Bottom"
+msgstr "Abajo"
+
+#: toc.php:688
+msgid "Show when"
+msgstr "Mostrar cuando"
+
+#. translators: text follows drop down list of numbers
+#: toc.php:700
+msgid "or more headings are present"
+msgstr "o más encabezamientos aparezcan"
+
+#: toc.php:704
+msgid "Auto insert for the following content types"
+msgstr "Incluir automáticamente para los siguientes tipos de contenido"
+
+#. translators: this is the title of the table of contents
+#: toc.php:719
+msgid "Heading text"
+msgstr "Texto del título de la tabla de contenidos"
+
+#: toc.php:721
+msgid "Show title on top of the table of contents"
+msgstr "Mostrar el título encima de la tabla de contenidos"
+
+#: toc.php:724
+msgid "Eg: Contents, Table of Contents, Page Contents"
+msgstr "Eg: Contenidos, Tabla de contenidos, Página de contenidos"
+
+#: toc.php:726
+msgid "Allow the user to toggle the visibility of the table of contents"
+msgstr "Permitir al usuario alternar la visibilidad de la tabla de contenidos"
+
+#: toc.php:731
+msgid "Show text"
+msgstr "Mostrar texto"
+
+#. translators: example text to display when you want to expand the table of
+#. contents
+#: toc.php:735
+msgid "Eg: show"
+msgstr "Ej: mostrar"
+
+#: toc.php:738
+msgid "Hide text"
+msgstr "Ocultar texto"
+
+#. translators: example text to display when you want to collapse the table of
+#. contents
+#: toc.php:742
+msgid "Eg: hide"
+msgstr "Ej: ocultar"
+
+#: toc.php:746
+msgid "Hide the table of contents initially"
+msgstr "Ocultar la tabla de contenidos inicialmente"
+
+#: toc.php:752
+msgid "Show hierarchy"
+msgstr "Mostrar jerarquía"
+
+#: toc.php:756
+msgid "Number list items"
+msgstr "Enumerar la lista de elementos"
+
+#: toc.php:760
+msgid "Enable smooth scroll effect"
+msgstr "Permitir efecto de desplazamiento suave"
+
+#: toc.php:761
+msgid "Scroll rather than jump to the anchor link"
+msgstr "Scroll en vez de saltar al anchor link"
+
+#: toc.php:766
+msgid "Appearance"
+msgstr "Apariencia"
+
+#: toc.php:770
+msgid "Width"
+msgstr "Ancho"
+
+#: toc.php:773
+msgid "Fixed width"
+msgstr "Ancho fijo"
+
+#: toc.php:784
+msgid "Relative"
+msgstr "Relativo"
+
+#: toc.php:785
+msgid "Auto (default)"
+msgstr "Auto (por defecto)"
+
+#. translators: other width
+#: toc.php:795
+msgid "Other"
+msgstr "Otro"
+
+#: toc.php:796
+msgid "User defined"
+msgstr "Definido por el usuario"
+
+#. translators: ignore %s as it's some HTML label tags
+#: toc.php:802
+msgid "Please enter a number and %s select its units, eg: 100px, 10em"
+msgstr ""
+"Por favor introduce un número y %s selecciona las unidades, ej: 100px, 10em"
+
+#: toc.php:813
+msgid "Wrapping"
+msgstr "Envoltura"
+
+#: toc.php:816
+msgid "None (default)"
+msgstr "Ninguno (por defecto)"
+
+#: toc.php:817
+msgid "Left"
+msgstr "Izquierda"
+
+#: toc.php:818
+msgid "Right"
+msgstr "Derecha"
+
+#: toc.php:823
+msgid "Font size"
+msgstr "Tamaño de la fuente"
+
+#. translators: appearance / colour / look and feel options
+#: toc.php:836
+msgid "Presentation"
+msgstr "Apariencia"
+
+#: toc.php:839
+msgid "Grey (default)"
+msgstr "Gris (por defecto)"
+
+#: toc.php:844
+msgid "Light blue"
+msgstr "Azul claro"
+
+#: toc.php:849
+msgid "White"
+msgstr "Blanco"
+
+#: toc.php:854
+msgid "Black"
+msgstr "Negro"
+
+#: toc.php:859
+msgid "Transparent"
+msgstr "Transparente"
+
+#: toc.php:864
+msgid "Custom"
+msgstr "Personalizado"
+
+#: toc.php:874
+msgid "Background"
+msgstr "Fondo"
+
+#: toc.php:878
+msgid "Border"
+msgstr "Borde"
+
+#: toc.php:882 toc.php:1658
+msgid "Title"
+msgstr "Título"
+
+#: toc.php:886
+msgid "Links"
+msgstr "Enlaces"
+
+#: toc.php:890
+msgid "Links (hover)"
+msgstr "Enlaces (encima)"
+
+#: toc.php:894
+msgid "Links (visited)"
+msgstr "Enlaces (visitado)"
+
+#: toc.php:901
+msgid "Leaving the value as %s will inherit your theme's styles"
+msgstr "Dejar el valor como %s heredará los estilos de tu tema"
+
+#: toc.php:908
+msgid "Advanced"
+msgstr "Avanzado"
+
+#: toc.php:908 toc.php:1045
+msgid "show"
+msgstr "mostrar"
+
+#: toc.php:910
+msgid "Power options"
+msgstr "Opciones de control"
+
+#: toc.php:914
+msgid "Lowercase"
+msgstr "Minúsculas"
+
+#: toc.php:915
+msgid "Ensure anchors are in lowercase"
+msgstr "Garantiza que los anclajes (anchors) están en minúsculas"
+
+#: toc.php:918
+msgid "Hyphenate"
+msgstr "Dividir palabra con guión"
+
+#: toc.php:919
+msgid "Use - rather than _ in anchors"
+msgstr "Usar - en vez de _ en los anclajes (anchors)"
+
+#: toc.php:922
+msgid "Include homepage"
+msgstr "Incluir la página de inicio"
+
+#: toc.php:923
+msgid "Show the table of contents for qualifying items on the homepage"
+msgstr ""
+"Mostrar la tabla de contenidos para clasificar los elementos en la página de "
+"inicio"
+
+#: toc.php:926
+msgid "Exclude CSS file"
+msgstr "Excluir archivo CSS"
+
+#: toc.php:927
+msgid ""
+"Prevent the loading of this plugin's CSS styles. When selected, the "
+"appearance options from above will also be ignored."
+msgstr ""
+"Evitar la carga de los estilos CSS de este plugin. Si está seleccionado, las "
+"opciones de apariencia de más categoría también serán ignoradas"
+
+#: toc.php:930
+msgid "Preserve theme bullets"
+msgstr "Conservar numeración (bullets) del tema"
+
+#: toc.php:931
+msgid ""
+"If your theme includes background images for unordered list elements, enable "
+"this to support them"
+msgstr ""
+"Si tu tema incluye imágenes de fondo para una lista desordenada de "
+"elementos, activa esto para que funcione"
+
+#: toc.php:934
+msgid "Heading levels"
+msgstr "Niveles de encabezamiento"
+
+#: toc.php:936
+msgid ""
+"Include the following heading levels. Deselecting a heading will exclude it."
+msgstr ""
+"Incluir los siguentes niveles de encabezamiento. Deseleccionando un "
+"encabezamiento este será excluido."
+
+#: toc.php:942
+msgid "heading "
+msgstr "encabezamiento"
+
+#: toc.php:948
+msgid "Exclude headings"
+msgstr "Excluir encabezamientos"
+
+#: toc.php:951
+msgid ""
+"Specify headings to be excluded from appearing in the table of contents. "
+"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
+"<code>*</code> as a wildcard to match other text. Note that this is not "
+"case sensitive. Some examples:"
+msgstr ""
+"Especificar los encabezamientos a ser excluidos que figuran en la tabla de "
+"contenidos. Separar múltiples encabezamientos con un tubo <code>|</code> . "
+"Utilizar un asterisco <code>*</code> como un comodín para que coincida con "
+"otro texto. Ten en cuenta que esto no es sensible a mayúsculas. Algunos "
+"ejemplos:"
+
+#: toc.php:953
+msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
+msgstr ""
+"<code>Fruta*</code> ignorar los encabezados que comienzan con \"Fruta\""
+
+#: toc.php:954
+msgid ""
+"<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
+"the heading"
+msgstr ""
+"<code>*Dieta de Fruta*</code> ignorar los encabezamientos \"Dieta de Fruta\" "
+"en algún lugar del encabezamiento"
+
+#: toc.php:955
+msgid ""
+"<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
+"exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
+msgstr ""
+"<code>Manzano|Naranjas|Platanos amarillos</code> ignorar los encabezamientos "
+"que son exactamente \"Manzano\", \"Naranjas\" o \"Platanos amarillos\""
+
+#: toc.php:960
+msgid "Smooth scroll top offset"
+msgstr "Compensación del desplazamiento suave hacia arriba"
+
+#: toc.php:963
+msgid ""
+"If you have a consistent menu across the top of your site, you can adjust "
+"the top offset to stop the headings from appearing underneath the top menu. "
+"A setting of 30 accommodates the WordPress admin bar. This setting appears "
+"after you have enabled smooth scrolling from above."
+msgstr ""
+"Si tienes un menú consistente en la parte superior de tu sitio web, puedes "
+"ajustar el desplazamiento superior para detener los encabezamientos que "
+"aparezcan debajo del menú superior. Un ajuste de 30 acomoda la barra de "
+"administrador de WordPress. Esta configuración aparece después de que "
+"actives el desplazamiento suave hacia arriba."
+
+#: toc.php:967
+msgid "Restrict path"
+msgstr "Restringir la ruta"
+
+#: toc.php:970
+msgid ""
+"Restrict generation of the table of contents to pages that match the "
+"required path. This path is from the root of your site and always begins "
+"with a forward slash."
+msgstr ""
+"Restringir la generación de la tabla de contenidos a las páginas que "
+"coincidan con la ruta necesaria. Esta ruta es desde la raíz de tu sitio y "
+"comienza siempre con una barra diagonal."
+
+#. translators: example URL path restriction
+#: toc.php:973
+msgid "Eg: /wiki/, /corporate/annual-reports/"
+msgstr "Ej: /wiki/ , /corporativo/reporte-anual/ "
+
+#: toc.php:977
+msgid "Default anchor prefix"
+msgstr "Prefijo del anclaje (anchor) por defecto"
+
+#: toc.php:980
+msgid ""
+"Anchor targets are restricted to alphanumeric characters as per HTML "
+"specification (see readme for more detail). The default anchor prefix will "
+"be used when no characters qualify. When left blank, a number will be used "
+"instead."
+msgstr ""
+"Objetivos de anclaje (anchor targets) están restringidos a caracteres "
+"alfanuméricos según la especificación de HTML (ver leeme para más detalles). "
+"El prefijo por defecto de anclaje (anchor) se utilizará cuando no haya "
+"caracteres que califican. Cuando se deja en blanco, un número se utilizará "
+"en su lugar."
+
+#: toc.php:981
+msgid ""
+"This option normally applies to content written in character sets other than "
+"ASCII."
+msgstr ""
+"Esta opción es aplicable normalmente a contenido escrito en juegos de "
+"caracteres que no són ASCII."
+
+#. translators: example anchor prefixes when no ascii characters match
+#: toc.php:984
+msgid "Eg: i, toc_index, index, _"
+msgstr "Ej: i, toc_index, index, _"
+
+#. translators: advanced usage
+#: toc.php:992
+msgid "Usage"
+msgstr "Uso avanzado"
+
+#: toc.php:993
+msgid ""
+"If you would like to fully customise the position of the table of contents, "
+"you can use the %s shortcode by placing it at the desired position of your "
+"post, page or custom post type. This method allows you to generate the table "
+"of contents despite having auto insertion disabled for its content type. "
+"Please visit the help tab for further information about this shortcode."
+msgstr ""
+"Si desea personalizar completamente la posición de la tabla de contenidos, "
+"puede utilizar el código corto %s al colocarlo en la posición deseada de tu "
+"post, página o tipo de mensaje personalizado. Este método permite generar la "
+"tabla de contenidos a pesar de tener la auto inserción desactivada para este "
+"tipo de contenido. Por favor visita la sección de ayuda para más información "
+"sobre este código corto (shortcode)."
+
+#: toc.php:1001
+msgid ""
+"At its simplest, placing %s into a page will automatically create a sitemap "
+"of all pages and categories. This also works in a text widget."
+msgstr ""
+"Hacer esto mas simple, colocando %s en una página creará automáticamente un "
+"mapa de todas las páginas y categorías. Esto también funciona en un widget "
+"de texto."
+
+#: toc.php:1005
+msgid "Show page listing"
+msgstr "Mostrar detalle de página"
+
+#: toc.php:1009
+msgid "Show category listing"
+msgstr "Mostrar detalle de categoria"
+
+#: toc.php:1013
+msgid "Heading type"
+msgstr "Tipo de encabezamiento"
+
+#. translators: the full line is supposed to read - Use [1-6 drop down list] to
+#. print out the titles
+#: toc.php:1016
+msgid "Use"
+msgstr "Usar"
+
+#. translators: the full line is supposed to read - Use [h1-h6 drop down list]
+#. to print out the titles
+#: toc.php:1027
+msgid "to print out the titles"
+msgstr "para mostrar los títulos"
+
+#: toc.php:1031
+msgid "Pages label"
+msgstr "Etiqueta de páginas"
+
+#: toc.php:1033
+msgid "Eg: Pages, Page List"
+msgstr "Ej: Páginas, Etiqueta de página"
+
+#: toc.php:1037
+msgid "Categories label"
+msgstr "Etiqueta de categorías"
+
+#: toc.php:1039
+msgid "Eg: Categories, Category List"
+msgstr "Ej: Categorías, Lista de categoría"
+
+#: toc.php:1045
+msgid "Advanced usage"
+msgstr "Uso avanzado"
+
+#: toc.php:1047
+msgid ""
+"lets you print out a listing of only pages. Similarly %s can be used to "
+"print out a category listing. They both can accept a number of attributes so "
+"visit the help tab for more information."
+msgstr ""
+"Te permite imprimir un listado de solo páginas. Igualmente %s puede ser "
+"usado para imprimir un listado de categoria. Ambos pueden aceptar un número "
+"de atributos así que visita la pestaña de ayuda para más información."
+
+#: toc.php:1048
+msgid "Examples"
+msgstr "Ejemplos"
+
+#: toc.php:1050
+msgid "hides the heading from a category listing"
+msgstr "ocultar el encabezado desde un listado de categoria"
+
+#: toc.php:1051
+msgid ""
+"Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
+msgstr ""
+"Usar h6 para mostrar %s en un listado de página excluyendo las páginas con "
+"IDs 1 y 15"
+
+#: toc.php:1060
+msgid "Update Options"
+msgstr "Opciones de actualización"
+
+#: toc.php:1563
+msgid "Display the table of contents in the sidebar with this widget"
+msgstr ""
+"Mostrar la tabla de contenidos en la barra lateral (sidebar) con este widget"
+
+#: toc.php:1664
+msgid "Show the table of contents only in the sidebar"
+msgstr "Mostrar la tabla de contenidos solo en la barra lateral (sidebar)"
+
+#: toc.php:1668
+msgid "For the following content types:"
+msgstr "Para los siguientes tipos de contenido:"
+
+#. Plugin Name of the plugin/theme
+msgid "Table of Contents Plus"
+msgstr "Table of Contents Plus"
+
+#. Plugin URI of the plugin/theme
+msgid "http://dublue.com/plugins/toc/"
+msgstr "http://dublue.com/plugins/toc/"
+
+#. Description of the plugin/theme
+msgid ""
+"A powerful yet user friendly plugin that automatically creates a table of "
+"contents. Can also output a sitemap listing all pages and categories."
+msgstr ""
+"Un potente y agradable plugin amigable al ususario que crea automáticamente "
+"una tabla de contenidos. También puede crear un mapa del sitio que lista "
+"todas las páginas y categorías."
+
+#. Author of the plugin/theme
+msgid "Michael Tran"
+msgstr "Michael Tran"
+
+#. Author URI of the plugin/theme
+msgid "http://dublue.com/"
+msgstr "http://dublue.com/"
diff --git a/plugins/table-of-contents-plus/languages/toc+-fr_FR.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-fr_FR.mo
index e80ceed4..e80ceed4 100644
--- a/plugins/table-of-contents-plus/languages/toc+-fr_FR.mo
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-fr_FR.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+-fr_FR.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-fr_FR.po
index 1aba9329..1aba9329 100644
--- a/plugins/table-of-contents-plus/languages/toc+-fr_FR.po
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-fr_FR.po
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.mo
new file mode 100644
index 00000000..a7477fe3
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.po
new file mode 100644
index 00000000..4093842f
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-he_IL.po
@@ -0,0 +1,534 @@
+# Copyright (C) 2015 Table of Contents Plus
+# This file is distributed under the same license as the Table of Contents Plus package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Table of Contents Plus 1505\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-contents-plus\n"
+"POT-Creation-Date: 2015-08-24 12:52+0300\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2015-08-24 13:49+0300\n"
+"Language-Team: Ahrale | Atar4U.com <contact@atar4u.com>\n"
+"X-Generator: Poedit 1.8.3\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+"Last-Translator: Ahrale <contact@atar4u.com>\n"
+"Language: he_IL\n"
+
+#: toc.php:201
+msgid "Settings"
+msgstr "הגדרות"
+
+#: toc.php:482 toc.php:483
+msgid "TOC"
+msgstr "תוכן העניינים"
+
+#: toc.php:653
+msgid "Options saved."
+msgstr "האפשרויות נשמרו."
+
+#: toc.php:655
+msgid "Save failed."
+msgstr "השמירה נכשלה."
+
+#: toc.php:667
+msgid "Main Options"
+msgstr "אפשרויות עיקריות"
+
+#: toc.php:668
+msgid "Sitemap"
+msgstr "מפת אתר"
+
+#: toc.php:669
+msgid "Help"
+msgstr "עזרה"
+
+#: toc.php:677
+msgid "Position"
+msgstr "מיקום"
+
+#: toc.php:680
+msgid "Before first heading (default)"
+msgstr "לפני הכותרת הראשונה (ברירת המחדל)"
+
+#: toc.php:681
+msgid "After first heading"
+msgstr "אחרי הכותרת הראשונה"
+
+#: toc.php:682
+msgid "Top"
+msgstr "למעלה"
+
+#: toc.php:683
+msgid "Bottom"
+msgstr "למטה"
+
+#: toc.php:688
+msgid "Show when"
+msgstr "להציג כאשר"
+
+#. translators: text follows drop down list of numbers
+#: toc.php:700
+msgid "or more headings are present"
+msgstr "או יותר כותרות הוגדרו מראש"
+
+#: toc.php:704
+msgid "Auto insert for the following content types"
+msgstr "הוספה אוטומטית עבור סוגי התוכן הבאים"
+
+#. translators: this is the title of the table of contents
+#: toc.php:719
+msgid "Heading text"
+msgstr "טקסט הכותרת"
+
+#: toc.php:721
+msgid "Show title on top of the table of contents"
+msgstr "להציג את הכותרת בראש תוכן העניינים"
+
+#: toc.php:724
+msgid "Eg: Contents, Table of Contents, Page Contents"
+msgstr "לדוגמה: תוכן, תוכן העניינים, תוכן העמוד"
+
+#: toc.php:726
+msgid "Allow the user to toggle the visibility of the table of contents"
+msgstr "לאפשר למשתמש למתג את הנראות של תוכן העניינים"
+
+#: toc.php:731
+msgid "Show text"
+msgstr "להציג את הטקסט"
+
+#. translators: example text to display when you want to expand the table of
+#. contents
+#: toc.php:735
+msgid "Eg: show"
+msgstr "למשל: הצג"
+
+#: toc.php:738
+msgid "Hide text"
+msgstr "להסתיר את הטקסט"
+
+#. translators: example text to display when you want to collapse the table of
+#. contents
+#: toc.php:742
+msgid "Eg: hide"
+msgstr "למשל: הסתר"
+
+#: toc.php:746
+msgid "Hide the table of contents initially"
+msgstr "להסתיר בהתחלה את תוכן העניינים"
+
+#: toc.php:752
+msgid "Show hierarchy"
+msgstr "להציג היררכיה"
+
+#: toc.php:756
+msgid "Number list items"
+msgstr "להציג את מספר הפריטים"
+
+#: toc.php:760
+msgid "Enable smooth scroll effect"
+msgstr "הפעלת אפקט גלילה חלקה"
+
+#: toc.php:761
+msgid "Scroll rather than jump to the anchor link"
+msgstr "העדפת גלילה על קפיצה לעוגן הקישור"
+
+#: toc.php:766
+msgid "Appearance"
+msgstr "עיצוב"
+
+#: toc.php:770
+msgid "Width"
+msgstr "רוחב"
+
+#: toc.php:773
+msgid "Fixed width"
+msgstr "רוחב קבוע"
+
+#: toc.php:784
+msgid "Relative"
+msgstr "יחסי"
+
+#: toc.php:785
+msgid "Auto (default)"
+msgstr "אוטומטי (ברירת המחדל)"
+
+#. translators: other width
+#: toc.php:795
+msgid "Other"
+msgstr "אחר"
+
+#: toc.php:796
+msgid "User defined"
+msgstr "הגדרת המשתמש"
+
+#. translators: ignore %s as it's some HTML label tags
+#: toc.php:802
+msgid "Please enter a number and %s select its units, eg: 100px, 10em"
+msgstr "נא להזין מספר ו %s לבחור את היחידות שלו, למשל: 100px, 10em"
+
+#: toc.php:813
+msgid "Wrapping"
+msgstr "מעטפת"
+
+#: toc.php:816
+msgid "None (default)"
+msgstr "ללא (ברירת המחדל)"
+
+#: toc.php:817
+msgid "Left"
+msgstr "שמאל"
+
+#: toc.php:818
+msgid "Right"
+msgstr "ימין"
+
+#: toc.php:823
+msgid "Font size"
+msgstr "גודל הגופן"
+
+#. translators: appearance / colour / look and feel options
+#: toc.php:836
+msgid "Presentation"
+msgstr "מצגת"
+
+#: toc.php:839
+msgid "Grey (default)"
+msgstr "אפור (ברירת המחדל)"
+
+#: toc.php:844
+msgid "Light blue"
+msgstr "תכלת"
+
+#: toc.php:849
+msgid "White"
+msgstr "לבן"
+
+#: toc.php:854
+msgid "Black"
+msgstr "שחור"
+
+#: toc.php:859
+msgid "Transparent"
+msgstr "שקוף"
+
+#: toc.php:864
+msgid "Custom"
+msgstr "עיצוב אישי"
+
+#: toc.php:874
+msgid "Background"
+msgstr "רקע"
+
+#: toc.php:878
+msgid "Border"
+msgstr "מסגרת"
+
+#: toc.php:882 toc.php:1658
+msgid "Title"
+msgstr "כותרת "
+
+#: toc.php:886
+msgid "Links"
+msgstr "קישורים"
+
+#: toc.php:890
+msgid "Links (hover)"
+msgstr "קישורים (בריחוף עכבר)"
+
+#: toc.php:894
+msgid "Links (visited)"
+msgstr "קישורים (נלחץ)"
+
+#: toc.php:901
+msgid "Leaving the value as %s will inherit your theme's styles"
+msgstr "השארת הערך כ %s תירש את עיצוב ערכת הנושא שלך"
+
+#: toc.php:908
+msgid "Advanced"
+msgstr "הגדרות מתקדמות"
+
+#: toc.php:908 toc.php:1045
+msgid "show"
+msgstr "הצג"
+
+#: toc.php:910
+msgid "Power options"
+msgstr "אפשרויות עצמתיות"
+
+#: toc.php:914
+msgid "Lowercase"
+msgstr "אותיות קטנות"
+
+#: toc.php:915
+msgid "Ensure anchors are in lowercase"
+msgstr "לוודא שהעוגנים כתובים באותיות קטנות"
+
+#: toc.php:918
+msgid "Hyphenate"
+msgstr "מקף"
+
+#: toc.php:919
+msgid "Use - rather than _ in anchors"
+msgstr "העדפת שימוש ב - (מקף אמצעי) על פני _ (קו תחתון) בעוגנים"
+
+#: toc.php:922
+msgid "Include homepage"
+msgstr "לכלול את עמוד הבית"
+
+#: toc.php:923
+msgid "Show the table of contents for qualifying items on the homepage"
+msgstr "להציג את תוכן העניינים עבור פריטים מתאימים בעמוד הבית"
+
+#: toc.php:926
+msgid "Exclude CSS file"
+msgstr "לא לכלול קובץ CSS"
+
+#: toc.php:927
+msgid ""
+"Prevent the loading of this plugin's CSS styles. When selected, the appearance "
+"options from above will also be ignored."
+msgstr ""
+"למנוע טעינת עיצובי CSS של התוסף. אם מסומן, אז תהיה התעלמות גם ממאפשרויות העיצוב לעיל."
+
+#: toc.php:930
+msgid "Preserve theme bullets"
+msgstr "לשמור על כדורי התבנית"
+
+#: toc.php:931
+msgid ""
+"If your theme includes background images for unordered list elements, enable this to "
+"support them"
+msgstr ""
+"אם התבנית שלך כוללת תמונות רקע לררכיבי שימה לא מסודרת, להפעיל זאת כדי לתמוך בזה."
+
+#: toc.php:934
+msgid "Heading levels"
+msgstr "רמות כותרת"
+
+#: toc.php:936
+msgid "Include the following heading levels. Deselecting a heading will exclude it."
+msgstr "לכלול את רמות הכותרת שלהלן. ביטול סימון אחת הרמות יוציא אותה מן הכלל."
+
+#: toc.php:942
+msgid "heading "
+msgstr "כותרת"
+
+#: toc.php:948
+msgid "Exclude headings"
+msgstr "ביטול הכללת כותרות"
+
+#: toc.php:951
+msgid ""
+"Specify headings to be excluded from appearing in the table of contents. Separate "
+"multiple headings with a pipe <code>|</code>. Use an asterisk <code>*</code> as a "
+"wildcard to match other text. Note that this is not case sensitive. Some examples:"
+msgstr ""
+"ציון כותרות שלא תיכללנה בתצוגת תוכן העניינים. נא להפריד כותרות מרובות עם | <code>|</"
+"code>. להשתמש במרכאות <code>*</code> ככרטיס להתאמה לטקסט אחר. שימו לב שזה לא רגיש "
+"לאותיות גדולות. כמה דוגמאות:"
+
+#: toc.php:953
+msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
+msgstr "הקוד <code>פירות</code> יתעלם מכותרות שמתחילות ב \"פירות\""
+
+#: toc.php:954
+msgid ""
+"<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in the heading"
+msgstr ""
+"הקוד <code> \"דיאטת פירות\"/code> תתעלם מכותרת המכילה \"דיאטת פירות\" במקום כלשהו "
+"בכותרת"
+
+#: toc.php:955
+msgid ""
+"<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are exactly "
+"\"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
+msgstr ""
+"הקוד <code>עץ תפוח|תפוזים|בננות צהובות</code> יתעלם מכותרות שהן במדויק \"עץ תפוח\", "
+"\"תפוזים\" או \"בננות צהובות\""
+
+#: toc.php:960
+msgid "Smooth scroll top offset"
+msgstr "קיזוז מלמעלה של גלילה חלקה"
+
+#: toc.php:963
+msgid ""
+"If you have a consistent menu across the top of your site, you can adjust the top "
+"offset to stop the headings from appearing underneath the top menu. A setting of 30 "
+"accommodates the WordPress admin bar. This setting appears after you have enabled "
+"smooth scrolling from above."
+msgstr ""
+"במקרה של תפריט עקבי בראש האתר, ניתן להתאים את הקיזוז כדי למנוע מהכותרות מלהופיע מתחת "
+"לתפריט העליון. הגדרה של 30 מקזזת את תפריט הניהול העליון של וורדפרס. ההגדרה בשימוש רק "
+"לאחר הפעלת גלילה חלקה לעיל."
+
+#: toc.php:967
+msgid "Restrict path"
+msgstr "הגבלת נתיב"
+
+#: toc.php:970
+msgid ""
+"Restrict generation of the table of contents to pages that match the required path. "
+"This path is from the root of your site and always begins with a forward slash."
+msgstr ""
+"הגבלת מחולל תוכן העניינים מלפעול בנתיבי עמודים מסוימים. הנתיב הוא משורש האתר ותמיד "
+"מתחיל עם קו נטוי."
+
+#. translators: example URL path restriction
+#: toc.php:973
+msgid "Eg: /wiki/, /corporate/annual-reports/"
+msgstr "למשל: /wiki/, /corporate/annual-reports/"
+
+#: toc.php:977
+msgid "Default anchor prefix"
+msgstr "קידומת ברירת המחדל של עוגן"
+
+#: toc.php:980
+msgid ""
+"Anchor targets are restricted to alphanumeric characters as per HTML specification "
+"(see readme for more detail). The default anchor prefix will be used when no "
+"characters qualify. When left blank, a number will be used instead."
+msgstr ""
+"יעדי עוגן מוגבלים לתווי אותיות ומספרים בהתאם להגדרות HTML (ראו קובץ readme לפרטים "
+"נוספים). קידומת ברירת המחדל לעוגנים תהיה בשימוש כאשר אין תווים מתאימים. אם נשאר ריק "
+"יהי במקום זה שימוש במספר."
+
+#: toc.php:981
+msgid ""
+"This option normally applies to content written in character sets other than ASCII."
+msgstr "אפשרות זו בדרך-כלל חלה לתוכן הנכתב בסט תווים שונה מ ASCII."
+
+#. translators: example anchor prefixes when no ascii characters match
+#: toc.php:984
+msgid "Eg: i, toc_index, index, _"
+msgstr "למשל: i, toc_index, index, _"
+
+#. translators: advanced usage
+#: toc.php:992
+msgid "Usage"
+msgstr "שימוש"
+
+#: toc.php:993
+msgid ""
+"If you would like to fully customise the position of the table of contents, you can "
+"use the %s shortcode by placing it at the desired position of your post, page or "
+"custom post type. This method allows you to generate the table of contents despite "
+"having auto insertion disabled for its content type. Please visit the help tab for "
+"further information about this shortcode."
+msgstr ""
+"כדי לקבוע באופן עצמאי את מיקום תוכן העניינים, אפשר להשתמש בקיצור הקוד %s על-ידי "
+"מיקומו במקום הרצוי בפוסט או עמוד או סוג פוסט. זה מאפשר לחולל תוכן עניינים למרות כיבוי "
+"ההוספה האוטומטית של תוכן עניינים. למידע נוסף על קיצור הקוד בקרו בלשונית העזרה."
+
+#: toc.php:1001
+msgid ""
+"At its simplest, placing %s into a page will automatically create a sitemap of all "
+"pages and categories. This also works in a text widget."
+msgstr ""
+"בפשטות, מיקום %s בעמוד תיצור אוטומטית מפת אתר של כל העמודים והקטגוריות. זה פועל גם "
+"בוידג'ט טקסט."
+
+#: toc.php:1005
+msgid "Show page listing"
+msgstr "הצגת רשימת עמודים"
+
+#: toc.php:1009
+msgid "Show category listing"
+msgstr "הצגת רשימת קטגוריות"
+
+#: toc.php:1013
+msgid "Heading type"
+msgstr "סוג הכותרת"
+
+#. translators: the full line is supposed to read - Use [1-6 drop down list] to
+#. print out the titles
+#: toc.php:1016
+msgid "Use"
+msgstr "להשתמש ב"
+
+#. translators: the full line is supposed to read - Use [h1-h6 drop down list]
+#. to print out the titles
+#: toc.php:1027
+msgid "to print out the titles"
+msgstr "להדפסת הכותרות"
+
+#: toc.php:1031
+msgid "Pages label"
+msgstr "תווית העמודים"
+
+#: toc.php:1033
+msgid "Eg: Pages, Page List"
+msgstr "למשל: עמודים, רשימת העמודים"
+
+#: toc.php:1037
+msgid "Categories label"
+msgstr "תווית הקטגוריות"
+
+#: toc.php:1039
+msgid "Eg: Categories, Category List"
+msgstr "למשל: קטגוריות, רשימת הקטגוריות"
+
+#: toc.php:1045
+msgid "Advanced usage"
+msgstr "שימוש מתקדם"
+
+#: toc.php:1047
+msgid ""
+"lets you print out a listing of only pages. Similarly %s can be used to print out a "
+"category listing. They both can accept a number of attributes so visit the help tab "
+"for more information."
+msgstr ""
+"מאפשר להדפיס רשימה של עמודים בלבד. בדומה %s יכול לשמש גם להדפסת רשימת קטגוריות. שניהם "
+"יכולים לקבל שימוש במספר תכונות, אז נא לבקר בלשונית העזרה למידע נוסף."
+
+#: toc.php:1048
+msgid "Examples"
+msgstr "דוגמאות"
+
+#: toc.php:1050
+msgid "hides the heading from a category listing"
+msgstr "מסתיר את הכותרת מרשימת הקטגוריות"
+
+#: toc.php:1051
+msgid "Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
+msgstr "השתמש בכותרת רמה 6 להצגת %s ברשימת עמודים ולא לכלול עמודים עם המזהים 1 ו 15"
+
+#: toc.php:1060
+msgid "Update Options"
+msgstr "עדכון האפשרויות"
+
+#: toc.php:1563
+msgid "Display the table of contents in the sidebar with this widget"
+msgstr "הצגת תוכן העניינים בסרגל הצד עם וידג'ט זה"
+
+#: toc.php:1664
+msgid "Show the table of contents only in the sidebar"
+msgstr "הצגת תוכן העניינים רק בסרגל הצדדי"
+
+#: toc.php:1668
+msgid "For the following content types:"
+msgstr "עבור סוגי התוכן שלהלן:"
+
+#. Plugin Name of the plugin/theme
+msgid "Table of Contents Plus"
+msgstr "Table of Contents Plus"
+
+#. Plugin URI of the plugin/theme
+msgid "http://dublue.com/plugins/toc/"
+msgstr "http://dublue.com/plugins/toc/"
+
+#. Description of the plugin/theme
+msgid ""
+"A powerful yet user friendly plugin that automatically creates a table of contents. "
+"Can also output a sitemap listing all pages and categories."
+msgstr ""
+"תוסף עצמתי וידידותי למשתמש אשר מוסיף אוטומטית תוכן עניינים. יכול לגם לשמש ליצירת מפת "
+"אתר רשימת עמודים ורשימת קטגוריות."
+
+#. Author of the plugin/theme
+msgid "Michael Tran"
+msgstr "מיכאל טראן Michael Tran"
+
+#. Author URI of the plugin/theme
+msgid "http://dublue.com/"
+msgstr "http://dublue.com/"
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-ja.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-ja.mo
new file mode 100644
index 00000000..64ad15a6
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-ja.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+.pot b/plugins/table-of-contents-plus/languages/table-of-contents-plus-ja.po
index 6b5b6ea1..2d01fe9d 100644
--- a/plugins/table-of-contents-plus/languages/toc+.pot
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-ja.po
@@ -1,20 +1,22 @@
# Copyright (C) 2014
-# This file is distributed under the same license as the package.
+# This file is distributed under the same license as the package.
msgid ""
msgstr ""
-"Project-Id-Version: \n"
+"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/table-of-contents-plus\n"
"POT-Creation-Date: 2014-02-18 12:58:50+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
+"PO-Revision-Date: 2015-08-26 09:02+0900\n"
+"Last-Translator: Michael Yunat <Michael.Yunat@gmail.com>\n"
+"Language-Team: http://getvoip.com/\n"
+"Language: uk_UA\n"
+"X-Generator: Poedit 1.8.4\n"
#: toc.php:200
msgid "Settings"
-msgstr ""
+msgstr "設定"
#: toc.php:464 toc.php:465
msgid "TOC"
@@ -22,176 +24,167 @@ msgstr ""
#: toc.php:635
msgid "Options saved."
-msgstr ""
+msgstr "セーブしました"
#: toc.php:637
msgid "Save failed."
-msgstr ""
+msgstr "セーブ失敗"
#: toc.php:649
msgid "Main Options"
-msgstr ""
+msgstr "基本設定"
#: toc.php:650
msgid "Sitemap"
-msgstr ""
+msgstr "サイトマップ"
#: toc.php:651
msgid "Help"
-msgstr ""
+msgstr "ヘルプ"
#: toc.php:659
msgid "Position"
-msgstr ""
+msgstr "表示する場所"
#: toc.php:662
msgid "Before first heading (default)"
-msgstr ""
+msgstr "最初の見出しの前(デフォルト)"
#: toc.php:663
msgid "After first heading"
-msgstr ""
+msgstr "最初の見出しの後(デフォルト)"
#: toc.php:664
msgid "Top"
-msgstr ""
+msgstr "トップ"
#: toc.php:665
msgid "Bottom"
-msgstr ""
+msgstr "ボトム"
#: toc.php:670
msgid "Show when"
-msgstr ""
+msgstr "表示条件"
-#. translators: text follows drop down list of numbers
#: toc.php:682
msgid "or more headings are present"
-msgstr ""
+msgstr "つ以上見出しがあるとき"
#: toc.php:686
msgid "Auto insert for the following content types"
-msgstr ""
+msgstr "次の投稿タイプのときに表示"
-#. translators: this is the title of the table of contents
#: toc.php:701
msgid "Heading text"
-msgstr ""
+msgstr "見出しテキスト"
#: toc.php:703
msgid "Show title on top of the table of contents"
-msgstr ""
+msgstr "目次の上に見出しを表示"
#: toc.php:706
msgid "Eg: Contents, Table of Contents, Page Contents"
-msgstr ""
+msgstr "例)見出し、概要、流れ"
#: toc.php:708
msgid "Allow the user to toggle the visibility of the table of contents"
-msgstr ""
+msgstr "表示非表示切り替えボタンのテキスト"
#: toc.php:713
msgid "Show text"
-msgstr ""
+msgstr "表示テキスト"
-#. translators: example text to display when you want to expand the table of
-#. contents
#: toc.php:717
msgid "Eg: show"
-msgstr ""
+msgstr "例)表示"
#: toc.php:720
msgid "Hide text"
-msgstr ""
+msgstr "非表示テキスト"
-#. translators: example text to display when you want to collapse the table of
-#. contents
#: toc.php:724
msgid "Eg: hide"
-msgstr ""
+msgstr "例:非表示"
#: toc.php:728
msgid "Hide the table of contents initially"
-msgstr ""
+msgstr "初期状態非表示"
#: toc.php:734
msgid "Show hierarchy"
-msgstr ""
+msgstr "階層表示"
#: toc.php:738
msgid "Number list items"
-msgstr ""
+msgstr "番号振り"
#: toc.php:742
msgid "Enable smooth scroll effect"
-msgstr ""
+msgstr "スムーススクロール"
#: toc.php:743
msgid "Scroll rather than jump to the anchor link"
-msgstr ""
+msgstr "スクロールしない"
#: toc.php:748
msgid "Appearance"
-msgstr ""
+msgstr "デザイン"
#: toc.php:752
msgid "Width"
-msgstr ""
+msgstr "横幅"
#: toc.php:755
msgid "Fixed width"
-msgstr ""
+msgstr "絶対"
#: toc.php:766
msgid "Relative"
-msgstr ""
+msgstr "相対"
#: toc.php:767
msgid "Auto (default)"
-msgstr ""
+msgstr "自動(デフォルト)"
-#. translators: other width
#: toc.php:777
msgid "Other"
-msgstr ""
+msgstr "その他"
#: toc.php:778
msgid "User defined"
-msgstr ""
+msgstr "ユーザー指定"
-#. translators: ignore %s as it's some HTML label tags
#: toc.php:784
msgid "Please enter a number and %s select its units, eg: 100px, 10em"
-msgstr ""
+msgstr "数字を入力し、単位を選択してください。例)100px,10em"
#: toc.php:795
msgid "Wrapping"
-msgstr ""
+msgstr "回り込み"
#: toc.php:798
msgid "None (default)"
-msgstr ""
+msgstr "なし(デフォルト)"
#: toc.php:799
msgid "Left"
-msgstr ""
+msgstr "左"
#: toc.php:800
msgid "Right"
-msgstr ""
+msgstr "右"
#: toc.php:805
msgid "Font size"
-msgstr ""
+msgstr "文字サイズ"
-#. translators: appearance / colour / look and feel options
#: toc.php:818
msgid "Presentation"
-msgstr ""
+msgstr "デザイン"
#: toc.php:821
msgid "Grey (default)"
-msgstr ""
+msgstr "Grey(デフォルト)"
#: toc.php:826
msgid "Light blue"
@@ -211,11 +204,11 @@ msgstr ""
#: toc.php:846
msgid "Custom"
-msgstr ""
+msgstr "カスタム"
#: toc.php:856
msgid "Background"
-msgstr ""
+msgstr "背景"
#: toc.php:860
msgid "Border"
@@ -223,19 +216,19 @@ msgstr ""
#: toc.php:864 toc.php:1784
msgid "Title"
-msgstr ""
+msgstr "タイトル"
#: toc.php:868
msgid "Links"
-msgstr ""
+msgstr "リンク"
#: toc.php:872
msgid "Links (hover)"
-msgstr ""
+msgstr "リンク(マウスオーバー)"
#: toc.php:876
msgid "Links (visited)"
-msgstr ""
+msgstr "リンク(閲覧済み)"
#: toc.php:883
msgid "Leaving the value as %s will inherit your theme's styles"
@@ -243,104 +236,113 @@ msgstr ""
#: toc.php:890
msgid "Advanced"
-msgstr ""
+msgstr "上級者向け"
#: toc.php:890 toc.php:1027 toc.php:1144
msgid "show"
-msgstr ""
+msgstr "表示"
#: toc.php:892
msgid "Power options"
-msgstr ""
+msgstr "詳細設定"
#: toc.php:896
msgid "Lowercase"
-msgstr ""
+msgstr "小文字"
#: toc.php:897
msgid "Ensure anchors are in lowercase"
-msgstr ""
+msgstr "アンカーリンクに小文字を使用"
#: toc.php:900
msgid "Hyphenate"
-msgstr ""
+msgstr "ハイフン"
#: toc.php:901
msgid "Use - rather than _ in anchors"
-msgstr ""
+msgstr "アンカーリンクにハイフンを使用"
#: toc.php:904
msgid "Include homepage"
-msgstr ""
+msgstr "トップページへの表示"
#: toc.php:905
msgid "Show the table of contents for qualifying items on the homepage"
-msgstr ""
+msgstr "トップページに目次を表示"
#: toc.php:908
msgid "Exclude CSS file"
-msgstr ""
+msgstr "CSS除外"
#: toc.php:909
msgid ""
"Prevent the loading of this plugin's CSS styles. When selected, the "
"appearance options from above will also be ignored."
-msgstr ""
+msgstr "プラグインのCSSを読み込まない場合チェックを入れてください。"
#: toc.php:912
msgid "Preserve theme bullets"
-msgstr ""
+msgstr "テーマのCSS"
#: toc.php:913
msgid ""
"If your theme includes background images for unordered list elements, enable "
"this to support them"
msgstr ""
+"あなたのテーマでリストタグに背景が設定されている場合、対応するためにチェック"
+"を入れてください。"
#: toc.php:916
msgid "Heading levels"
-msgstr ""
+msgstr "見出しレベル"
#: toc.php:918
msgid ""
"Include the following heading levels. Deselecting a heading will exclude it."
msgstr ""
+"チェックを入れた見出しは表示されます。チェックを外すと非表示になります。"
#: toc.php:924
msgid "heading "
-msgstr ""
+msgstr "見出し"
#: toc.php:930
msgid "Exclude headings"
-msgstr ""
+msgstr "除外する見出し"
#: toc.php:933
msgid ""
-"Specify headings to be excluded from appearing in the table of contents. "
-"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
-"<code>*</code> as a wildcard to match other text. Note that this is not "
-"case sensitive. Some examples:"
+"Specify headings to be excluded from appearing in the table of contents. "
+"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
+"<code>*</code> as a wildcard to match other text. Note that this is not case "
+"sensitive. Some examples:"
msgstr ""
+"除外したい見出しがある場合含まれるテキストを設定してください。複数指定する場"
+"合<code>|</code>で区切ります。ワイルドカード( <code>*</code>)も使えます。次"
+"の例を参考にしてください。"
#: toc.php:935
msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
-msgstr ""
+msgstr "<code>果物*</code> “果物”からはじまる見出しを例外とする"
#: toc.php:936
msgid ""
"<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
"the heading"
msgstr ""
+"<code>*果物ダイエット*</code> “果物ダイエット”が含まれる見出しを例外とする"
#: toc.php:937
msgid ""
"<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
"exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
msgstr ""
+"<code>リンゴの木|オレンジ|黄色いバナナ</code> “リンゴの木”、”オレンジ”、”黄色"
+"いバナナ”が含まれる見出しを例外とする"
#: toc.php:942
msgid "Smooth scroll top offset"
-msgstr ""
+msgstr "スムーススクロール先の余白"
#: toc.php:945
msgid ""
@@ -349,10 +351,14 @@ msgid ""
"A setting of 30 accommodates the WordPress admin bar. This setting appears "
"after you have enabled smooth scrolling from above."
msgstr ""
+"あなたのサイトに画面固定ヘッダーがある場合、スムースクロールの目的地がカブら"
+"ないように上部オフセットを調整することができます。 30の設定は、 WordPressの管"
+"理バーに対応しています。上のほうの設定でスムーズスクロールを有効にした後にこ"
+"の設定が表示されます。"
#: toc.php:949
msgid "Restrict path"
-msgstr ""
+msgstr "パス限定"
#: toc.php:952
msgid ""
@@ -360,15 +366,16 @@ msgid ""
"required path. This path is from the root of your site and always begins "
"with a forward slash."
msgstr ""
+"特定のページのみで表示させたい場合、カンマ(,)区切りでスラッシュ(/)からは"
+"じまるパスを設定してください。"
-#. translators: example URL path restriction
#: toc.php:955
msgid "Eg: /wiki/, /corporate/annual-reports/"
-msgstr ""
+msgstr "例) /wiki/, /corporate/annual-reports/"
#: toc.php:959
msgid "Default anchor prefix"
-msgstr ""
+msgstr "アンカーリンクの接続詞"
#: toc.php:962
msgid ""
@@ -377,19 +384,21 @@ msgid ""
"be used when no characters qualify. When left blank, a number will be used "
"instead."
msgstr ""
+"アンカーターゲットはHTML仕様(詳細についてはREADMEを参照)に従って英数字に制"
+"限されています。何の文字が適格と、デフォルトのアンカーの接頭辞が使用されま"
+"す。空白のままにすると、番号が代わりに使用されます。"
#: toc.php:963
msgid ""
"This option normally applies to content written in character sets other than "
"ASCII."
msgstr ""
+"このオプションは通常の文字で書かれた内容は、ASCII以外の設定に適用されます。"
-#. translators: example anchor prefixes when no ascii characters match
#: toc.php:966
msgid "Eg: i, toc_index, index, _"
-msgstr ""
+msgstr "例)i, toc_index, index, _"
-#. translators: advanced usage
#: toc.php:974
msgid "Usage"
msgstr ""
@@ -402,56 +411,59 @@ msgid ""
"of contents despite having auto insertion disabled for its content type. "
"Please visit the help tab for further information about this shortcode."
msgstr ""
+"あなたは完全に内容のテーブルの位置をカスタマイズしたい場合は、あなたの投稿、"
+"ページまたはカスタムポストタイプの所望の位置にそれを配置することによって、%s"
+"ショートコードを使用することができます。この方法では、そのコンテンツタイプに"
+"対して無効に自動挿入を持つにもかかわらず、コンテンツのテーブルを生成すること"
+"ができます。このショートの詳細は、 [ヘルプ]タブをご覧ください。"
#: toc.php:983
msgid ""
"At its simplest, placing %s into a page will automatically create a sitemap "
"of all pages and categories. This also works in a text widget."
msgstr ""
+"簡単に言うと、ページに%sのを配置すると、自動的にすべてのページとカテゴリのサ"
+"イトマップを作成します。また、これはテキストウィジェットで動作します。"
#: toc.php:987
msgid "Show page listing"
-msgstr ""
+msgstr "固定ページリストを表示"
#: toc.php:991
msgid "Show category listing"
-msgstr ""
+msgstr "カテゴリリストを表示"
#: toc.php:995
msgid "Heading type"
-msgstr ""
+msgstr "見出し"
-#. translators: the full line is supposed to read - Use [1-6 drop down list] to
-#. print out the titles
#: toc.php:998
msgid "Use"
-msgstr ""
+msgstr "見出しは"
-#. translators: the full line is supposed to read - Use [h1-h6 drop down list]
-#. to print out the titles
#: toc.php:1009
msgid "to print out the titles"
-msgstr ""
+msgstr "としてマークアップする"
#: toc.php:1013
msgid "Pages label"
-msgstr ""
+msgstr "固定ページのラベル"
#: toc.php:1015
msgid "Eg: Pages, Page List"
-msgstr ""
+msgstr "例)Pages、ページ、固定ページ"
#: toc.php:1019
msgid "Categories label"
-msgstr ""
+msgstr "カテゴリページのラベル"
#: toc.php:1021
msgid "Eg: Categories, Category List"
-msgstr ""
+msgstr "例)Categories、カテゴリー一覧"
#: toc.php:1027
msgid "Advanced usage"
-msgstr ""
+msgstr "上級者向け"
#: toc.php:1029
msgid ""
@@ -459,19 +471,21 @@ msgid ""
"print out a category listing. They both can accept a number of attributes so "
"visit the help tab for more information."
msgstr ""
+"固定ページのみのサイトマップを生成できます。同様に%sでカテゴリページのみのサ"
+"イトマップを生成できます。また、引数を与えて細かい設定ができます。"
#: toc.php:1030
msgid "Examples"
-msgstr ""
+msgstr "例"
#: toc.php:1032
msgid "hides the heading from a category listing"
-msgstr ""
+msgstr "ラベルを非表示にする"
#: toc.php:1033
msgid ""
"Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
-msgstr ""
+msgstr "h6でマークアップし、ID1と15のページを除外。ラベルを%sとする"
#: toc.php:1041
msgid "Where's my table of contents?"
@@ -481,7 +495,7 @@ msgstr ""
msgid ""
"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:"
+"right? Try the following:"
msgstr ""
#: toc.php:1044
@@ -550,7 +564,6 @@ msgid ""
"you try the %s if you wish to make CSS changes."
msgstr ""
-#. translators: CSS code follows after this line
#: toc.php:1059
msgid ""
"Try adding the following CSS to allow the wrapping to occur around the table "
@@ -646,7 +659,7 @@ msgstr ""
#: toc.php:1094
msgid ""
-"text, enter headings to be excluded. Separate multiple headings with a pipe "
+"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."
msgstr ""
@@ -694,7 +707,7 @@ msgstr ""
#: toc.php:1128
msgid ""
-"This lets you print out an index of all published posts on your site. By "
+"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."
@@ -739,7 +752,7 @@ msgstr ""
msgid ""
"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 "
+"code> filter. As an example, place the below code snippet into your "
"functions.php file to convert all anchors to uppercase."
msgstr ""
@@ -754,18 +767,16 @@ msgstr ""
msgid "Both parameters are optional:"
msgstr ""
-#. translators: this explains the $content parameter
#: toc.php:1162
msgid ""
-"is the entire content with headings. If blank, will default to the current "
+"is the entire content with headings. If blank, will default to the current "
"content found in $post (eg within \"the loop\")."
msgstr ""
-#. translators: this explains the $prefix_url parameter
#: toc.php:1165
msgid ""
-"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 "
+"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."
msgstr ""
@@ -783,7 +794,7 @@ msgstr ""
#: toc.php:1197
msgid "Update Options"
-msgstr ""
+msgstr "更新"
#: toc.php:1689
msgid "Display the table of contents in the sidebar with this widget"
diff --git a/plugins/table-of-contents-plus/languages/toc+-nl_NL.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-nl_NL.mo
index b07ba2de..b07ba2de 100644
--- a/plugins/table-of-contents-plus/languages/toc+-nl_NL.mo
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-nl_NL.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+-nl_NL.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-nl_NL.po
index 1717aca2..1717aca2 100644
--- a/plugins/table-of-contents-plus/languages/toc+-nl_NL.po
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-nl_NL.po
diff --git a/plugins/table-of-contents-plus/languages/toc+-pl_PL.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pl_PL.mo
index e8bc2e69..e8bc2e69 100755..100644
--- a/plugins/table-of-contents-plus/languages/toc+-pl_PL.mo
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pl_PL.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+-pl_PL.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pl_PL.po
index 0a8de279..0a8de279 100755..100644
--- a/plugins/table-of-contents-plus/languages/toc+-pl_PL.po
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pl_PL.po
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.mo
new file mode 100644
index 00000000..2197d092
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.po
new file mode 100644
index 00000000..c011fe47
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-pt_BR.po
@@ -0,0 +1,900 @@
+# Copyright (C) 2014
+# This file is distributed under the same license as the package.
+msgid ""
+msgstr ""
+"Project-Id-Version: TOC+ pt_BR 1505\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-contents-"
+"plus\n"
+"POT-Creation-Date: 2015-09-05 01:43-0300\n"
+"PO-Revision-Date: 2015-09-05 01:47-0300\n"
+"Last-Translator: Leonardo Antonioli <leo@tobeguarany.com>\n"
+"Language-Team: To Be Guarany! <leo@tobeguarany.com>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.4\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+
+#: toc.php:201
+msgid "Settings"
+msgstr "Configurações"
+
+#: toc.php:482 toc.php:483
+msgid "TOC"
+msgstr "TOC"
+
+#: toc.php:653
+msgid "Options saved."
+msgstr "Opções gravadas."
+
+#: toc.php:655
+msgid "Save failed."
+msgstr "Erro ao gravar."
+
+#: toc.php:667
+msgid "Main Options"
+msgstr "Opções Principais"
+
+#: toc.php:668
+msgid "Sitemap"
+msgstr "Sitemap"
+
+#: toc.php:669
+msgid "Help"
+msgstr "Ajuda"
+
+#: toc.php:677
+msgid "Position"
+msgstr "Posição"
+
+#: toc.php:680
+msgid "Before first heading (default)"
+msgstr "Antes do primeiro título (padrão)"
+
+#: toc.php:681
+msgid "After first heading"
+msgstr "Após o primeiro título"
+
+#: toc.php:682
+msgid "Top"
+msgstr "Início da página"
+
+#: toc.php:683
+msgid "Bottom"
+msgstr "Final da página"
+
+#: toc.php:688
+msgid "Show when"
+msgstr "Exibir quando..."
+
+#. translators: text follows drop down list of numbers
+#: toc.php:700
+msgid "or more headings are present"
+msgstr "ou mais títulos estiverem presentes"
+
+#: toc.php:704
+msgid "Auto insert for the following content types"
+msgstr "Inserção automática para os seguintes tipos de conteúdo"
+
+#. translators: this is the title of the table of contents
+#: toc.php:719
+msgid "Heading text"
+msgstr "Título da Tabela de Conteúdos"
+
+#: toc.php:721
+msgid "Show title on top of the table of contents"
+msgstr "Exibir título no topo da tabela de conteúdos"
+
+#: toc.php:724
+msgid "Eg: Contents, Table of Contents, Page Contents"
+msgstr "Ex: Conteúdo, Tabela de Conteúdos, Página de Conteúdos"
+
+#: toc.php:726
+msgid "Allow the user to toggle the visibility of the table of contents"
+msgstr "Deixar o usuário exibir/ocultar a tabela"
+
+#: toc.php:731
+msgid "Show text"
+msgstr "Texto para exibir"
+
+#. translators: example text to display when you want to expand the table of
+#. contents
+#: toc.php:735
+msgid "Eg: show"
+msgstr "ex: Exibir"
+
+#: toc.php:738
+msgid "Hide text"
+msgstr "Texto para ocultar"
+
+#. translators: example text to display when you want to collapse the table of
+#. contents
+#: toc.php:742
+msgid "Eg: hide"
+msgstr "Ex: Ocultar"
+
+#: toc.php:746
+msgid "Hide the table of contents initially"
+msgstr "Ocultar a tabela por padrão"
+
+#: toc.php:752
+msgid "Show hierarchy"
+msgstr "Usar hierarquia"
+
+#: toc.php:756
+msgid "Number list items"
+msgstr "Lista numerada"
+
+#: toc.php:760
+msgid "Enable smooth scroll effect"
+msgstr "Habilitar efeito de scroll suave"
+
+#: toc.php:761
+msgid "Scroll rather than jump to the anchor link"
+msgstr "Desliza para o título em vez de pular"
+
+#: toc.php:766
+msgid "Appearance"
+msgstr "Aparência"
+
+#: toc.php:770
+msgid "Width"
+msgstr "Largura"
+
+#: toc.php:773
+msgid "Fixed width"
+msgstr "Largura fixa"
+
+#: toc.php:784
+msgid "Relative"
+msgstr "Largura relativa"
+
+#: toc.php:785
+msgid "Auto (default)"
+msgstr "Auto (padrão)"
+
+#. translators: other width
+#: toc.php:795
+msgid "Other"
+msgstr "Outra largura"
+
+#: toc.php:796
+msgid "User defined"
+msgstr "Definida pelo usuário"
+
+#. translators: ignore %s as it's some HTML label tags
+#: toc.php:802
+msgid "Please enter a number and %s select its units, eg: 100px, 10em"
+msgstr ""
+"Por favor, digite um número e %s selecione sua unidade. Ex: 100px, 10em"
+
+#: toc.php:813
+msgid "Wrapping"
+msgstr "Flutuar"
+
+#: toc.php:816
+msgid "None (default)"
+msgstr "Não (padrão)"
+
+#: toc.php:817
+msgid "Left"
+msgstr "Esquerda"
+
+#: toc.php:818
+msgid "Right"
+msgstr "Direita"
+
+#: toc.php:823
+msgid "Font size"
+msgstr "Tamanho da fonte"
+
+#. translators: appearance / colour / look and feel options
+#: toc.php:836
+msgid "Presentation"
+msgstr "Apresentação"
+
+#: toc.php:839
+msgid "Grey (default)"
+msgstr "Cinza (padrão)"
+
+#: toc.php:844
+msgid "Light blue"
+msgstr "Azul claro"
+
+#: toc.php:849
+msgid "White"
+msgstr "Branco"
+
+#: toc.php:854
+msgid "Black"
+msgstr "Preto"
+
+#: toc.php:859
+msgid "Transparent"
+msgstr "Transparente"
+
+#: toc.php:864
+msgid "Custom"
+msgstr "Personalizada"
+
+#: toc.php:874
+msgid "Background"
+msgstr "Fundo"
+
+#: toc.php:878
+msgid "Border"
+msgstr "Borda"
+
+#: toc.php:882 toc.php:1658
+msgid "Title"
+msgstr "Título"
+
+#: toc.php:886
+msgid "Links"
+msgstr "Links"
+
+#: toc.php:890
+msgid "Links (hover)"
+msgstr "Links (hover)"
+
+#: toc.php:894
+msgid "Links (visited)"
+msgstr "Links (visitados)"
+
+#: toc.php:901
+msgid "Leaving the value as %s will inherit your theme's styles"
+msgstr "Deixe o valor como %s para herdar o CSS do seu tema"
+
+#: toc.php:908
+msgid "Advanced"
+msgstr "Avançado"
+
+#: toc.php:908 toc.php:1045
+msgid "show"
+msgstr "exibir"
+
+#: toc.php:910
+msgid "Power options"
+msgstr "Opções poderosas!"
+
+#: toc.php:914
+msgid "Lowercase"
+msgstr "Minúsculas"
+
+#: toc.php:915
+msgid "Ensure anchors are in lowercase"
+msgstr "Usar âncoras sempre em minúsculas"
+
+#: toc.php:918
+msgid "Hyphenate"
+msgstr "Usar hifens"
+
+#: toc.php:919
+msgid "Use - rather than _ in anchors"
+msgstr "Usar - em vez de _ nas âncoras"
+
+#: toc.php:922
+msgid "Include homepage"
+msgstr "Incluir página inicial"
+
+#: toc.php:923
+msgid "Show the table of contents for qualifying items on the homepage"
+msgstr "Exibir tabela de conteúdos também para itens da página inicial"
+
+#: toc.php:926
+msgid "Exclude CSS file"
+msgstr "Excluir arquivo CSS"
+
+#: toc.php:927
+msgid ""
+"Prevent the loading of this plugin's CSS styles. When selected, the "
+"appearance options from above will also be ignored."
+msgstr ""
+"Não carregar o CSS desse plugin. Se selecionado, as opções de aparência "
+"acima também serão ignoradas."
+
+#: toc.php:930
+msgid "Preserve theme bullets"
+msgstr "Usar bullets do tema"
+
+#: toc.php:931
+msgid ""
+"If your theme includes background images for unordered list elements, enable "
+"this to support them"
+msgstr ""
+"Se o seu tema usa imagens de fundo para listas não-ordenadas, habilite essa "
+"opção para usá-las"
+
+#: toc.php:934
+msgid "Heading levels"
+msgstr "Níveis de títulos"
+
+#: toc.php:936
+msgid ""
+"Include the following heading levels. Deselecting a heading will exclude it."
+msgstr ""
+"Utilizar os seguintes níveis de títulos (títulos desmarcados não serão "
+"usados para compor a tabela):"
+
+#: toc.php:942
+msgid "heading "
+msgstr "título "
+
+#: toc.php:948
+msgid "Exclude headings"
+msgstr "Excluir títulos"
+
+#: toc.php:951
+msgid ""
+"Specify headings to be excluded from appearing in the table of contents. "
+"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
+"<code>*</code> as a wildcard to match other text. Note that this is not "
+"case sensitive. Some examples:"
+msgstr ""
+"Especifique títulos que não devem aparecer na tabela de conteúdos. Separe "
+"vários títulos com um pipe <code>|</code>. Use asteriscos <code>*</code> "
+"como curingas para casar com outros textos. Essa opção não diferencia "
+"maiúsculas de minúsculas. Alguns exemplos:"
+
+#: toc.php:953
+msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
+msgstr "<code>Dieta*</code> ignora títulos que comecem com \"Dieta\""
+
+#: toc.php:954
+msgid ""
+"<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
+"the heading"
+msgstr ""
+"<code>*Dieta da Fruta*</code> ignora títulos que contenham \"Dieta da Fruta"
+"\" em qualquer lugar"
+
+#: toc.php:955
+msgid ""
+"<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
+"exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
+msgstr ""
+"<code>Macieira|Laranjas|Bananas Amarelas</code> ignora títulos que "
+"correspondam exatamente a \"Macieira\", \"Laranjas\" ou \"Bananas Amarelas\""
+
+#: toc.php:960
+msgid "Smooth scroll top offset"
+msgstr "Recuo superior do scroll suave"
+
+#: toc.php:963
+msgid ""
+"If you have a consistent menu across the top of your site, you can adjust "
+"the top offset to stop the headings from appearing underneath the top menu. "
+"A setting of 30 accommodates the WordPress admin bar. This setting appears "
+"after you have enabled smooth scrolling from above."
+msgstr ""
+"Se você usa um menu no topo do seu site, você pode ajustar um recuo superior "
+"para evitar que os títulos sejam cobertos por ele. A configuração de 30px "
+"funciona para a barra de administração do Wordpress. Essa configuração só é "
+"exibida caso você habilite o scroll suave acima."
+
+#: toc.php:967
+msgid "Restrict path"
+msgstr "Restringir caminho"
+
+#: toc.php:970
+msgid ""
+"Restrict generation of the table of contents to pages that match the "
+"required path. This path is from the root of your site and always begins "
+"with a forward slash."
+msgstr ""
+"Restringir a inserção das tabelas de conteúdos às páginas que correspondam "
+"ao caminho especificado. Este caminho é relativo ao seu domínio e sempre "
+"começa como uma barra."
+
+#. translators: example URL path restriction
+#: toc.php:973
+msgid "Eg: /wiki/, /corporate/annual-reports/"
+msgstr "Ex: /wiki/, /sobre/relatorios-anuais/"
+
+#: toc.php:977
+msgid "Default anchor prefix"
+msgstr "Prefixo padrão para âncoras"
+
+#: toc.php:980
+msgid ""
+"Anchor targets are restricted to alphanumeric characters as per HTML "
+"specification (see readme for more detail). The default anchor prefix will "
+"be used when no characters qualify. When left blank, a number will be used "
+"instead."
+msgstr ""
+"As âncoras só podem conter caracteres alfanuméricos devido à especificação "
+"HTML (leia o readme para mais detalhes). O prefixo padrão será usado quando "
+"não houver no título caracteres que possam ser usados. Se deixado em branco, "
+"será usado um número."
+
+#: toc.php:981
+msgid ""
+"This option normally applies to content written in character sets other than "
+"ASCII."
+msgstr ""
+"Essa opção normalmente se aplica ao conteúdo escrito com caracteres que não "
+"são ASCII."
+
+#. translators: example anchor prefixes when no ascii characters match
+#: toc.php:984
+msgid "Eg: i, toc_index, index, _"
+msgstr "Ex: i, toc_index, index, _"
+
+#. translators: advanced usage
+#: toc.php:992
+msgid "Usage"
+msgstr "Especificações"
+
+#: toc.php:993
+msgid ""
+"If you would like to fully customise the position of the table of contents, "
+"you can use the %s shortcode by placing it at the desired position of your "
+"post, page or custom post type. This method allows you to generate the table "
+"of contents despite having auto insertion disabled for its content type. "
+"Please visit the help tab for further information about this shortcode."
+msgstr ""
+"Se você quer controle total sobre a posição da tabela de conteúdos, você "
+"pode usar o shortcode %s no local desejado no seu post, página ou tipos "
+"customizados. Esse método permite gerar uma tabela de conteúdos mesmo que a "
+"inserção automática esteja desabilitada para um determinado tipo de "
+"conteúdo. Por favor, veja a aba Ajuda para maiores informações."
+
+#: toc.php:1001
+msgid ""
+"At its simplest, placing %s into a page will automatically create a sitemap "
+"of all pages and categories. This also works in a text widget."
+msgstr ""
+"Basta colocar %s em uma página para criar automaticamente um mapa do site "
+"com todas suas páginas e categorias. Também funciona em um widget de texto."
+
+#: toc.php:1005
+msgid "Show page listing"
+msgstr "Mostrar lista de páginas"
+
+#: toc.php:1009
+msgid "Show category listing"
+msgstr "Mostrar lista de categorias"
+
+#: toc.php:1013
+msgid "Heading type"
+msgstr "Tipo de título"
+
+#. translators: the full line is supposed to read - Use [1-6 drop down list] to
+#. print out the titles
+#: toc.php:1016
+msgid "Use"
+msgstr "Usar"
+
+#. translators: the full line is supposed to read - Use [h1-h6 drop down list]
+#. to print out the titles
+#: toc.php:1027
+msgid "to print out the titles"
+msgstr "para exibir os títulos"
+
+#: toc.php:1031
+msgid "Pages label"
+msgstr "Rótulo de Páginas"
+
+#: toc.php:1033
+msgid "Eg: Pages, Page List"
+msgstr "Ex: Páginas, Lista de Páginas"
+
+#: toc.php:1037
+msgid "Categories label"
+msgstr "Rótulo de Categorias"
+
+#: toc.php:1039
+msgid "Eg: Categories, Category List"
+msgstr "Ex: Categorias, Lista de Categorias"
+
+#: toc.php:1045
+msgid "Advanced usage"
+msgstr "Especificações Avançadas"
+
+#: toc.php:1047
+msgid ""
+"lets you print out a listing of only pages. Similarly %s can be used to "
+"print out a category listing. They both can accept a number of attributes so "
+"visit the help tab for more information."
+msgstr ""
+"permite exibir apenas a lista de páginas. Da mesma forma, %s pode ser usada "
+"para exibir a lista de categorias. Ambos aceitam alguns atributos, que estão "
+"detalhados na aba Ajuda."
+
+#: toc.php:1048
+msgid "Examples"
+msgstr "Exemplos"
+
+#: toc.php:1050
+msgid "hides the heading from a category listing"
+msgstr "esconde o título de uma lista de categorias"
+
+#: toc.php:1051
+msgid ""
+"Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
+msgstr ""
+"usa h6 para exibir %s numa lista de páginas, excluindo aquelas com IDs 1 e 15"
+
+#: toc.php:1060
+msgid "Update Options"
+msgstr "Atualizar Opções"
+
+#: toc.php:1563
+msgid "Display the table of contents in the sidebar with this widget"
+msgstr "Mostre a tabela de conteúdos na barra lateral com este widget"
+
+#: toc.php:1664
+msgid "Show the table of contents only in the sidebar"
+msgstr "Exibir a Tabela de Conteúdos somente na barra lateral"
+
+#: toc.php:1668
+msgid "For the following content types:"
+msgstr "Para os seguintes tipos de conteúdo:"
+
+#. Plugin Name of the plugin/theme
+msgid "Table of Contents Plus"
+msgstr "Table of Contents Plus"
+
+#. Plugin URI of the plugin/theme
+msgid "http://dublue.com/plugins/toc/"
+msgstr "http://dublue.com/plugins/toc/"
+
+#. Description of the plugin/theme
+msgid ""
+"A powerful yet user friendly plugin that automatically creates a table of "
+"contents. Can also output a sitemap listing all pages and categories."
+msgstr ""
+"Um plugin poderoso e fácil de usar que cria automaticamente uma tabela de "
+"conteúdo. Também pode produzir um sitemap listando todas as páginas e "
+"categorias."
+
+#. Author of the plugin/theme
+msgid "Michael Tran"
+msgstr "Michael Tran"
+
+#. Author URI of the plugin/theme
+msgid "http://dublue.com/"
+msgstr "http://dublue.com/"
+
+#~ msgid "Where's my table of contents?"
+#~ msgstr "Cadê minha Tabela de Conteúdos?"
+
+#~ msgid ""
+#~ "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:"
+#~ msgstr ""
+#~ "Se você está lendo isso, então você instalou e habilitou o plugin com "
+#~ "sucesso, e está apenas se perguntando por que sua tabela ainda não "
+#~ "apareceu, certo? Tente o seguinte:"
+
+#~ msgid ""
+#~ "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'."
+#~ msgstr ""
+#~ "Na maioria dos casos, o post, página ou tipo customizado têm menos "
+#~ "títulos do que o mínimo necessário. Por padrão, é necessário pelo menos "
+#~ "quatro títulos. Você pode alterar esse valor em 'Opções Principais' &gt; "
+#~ "'Exibir quando...'"
+
+#~ msgid ""
+#~ "Is auto insertion enabled for your content type? By default, only pages "
+#~ "are enabled."
+#~ msgstr ""
+#~ "A inserção automática está habilitada para seu tipo de conteúdo? Por "
+#~ "padrão, apenas páginas estão habilitadas."
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Existe o código <code>[no_toc]</code> em algum lugar do seu conteúdo? "
+#~ "Isso desabilitará a tabela para o post, página ou tipo customizado que o "
+#~ "contiver."
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Se você está usando o widget TOC+, verifique se você habilitou a opção "
+#~ "<em>\"Exibir a Tabela de Conteúdos somente na barra lateral\"</em>. Você "
+#~ "pode fazer essa verificação em Aparência &gt; Widgets."
+
+#~ msgid ""
+#~ "You may have restricted generation to a URL path match. The setting can "
+#~ "be found in the advanced section under Main Options."
+#~ msgstr ""
+#~ "Talvez você tenha restringido a criação das tabelas a um caminho "
+#~ "específico. Essa configuração pode ser encontrada na seção Avançado das "
+#~ "Opções Principais."
+
+#~ msgid "How do I stop the table of contents from appearing on a single page?"
+#~ msgstr "Como desabilito a Tabela de Conteúdos em uma única página?"
+
+#~ msgid ""
+#~ "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()"
+#~ msgstr ""
+#~ "Digite o código <code>[no_toc]</code> em qualquer local da página para "
+#~ "suprimir a tabela de conteúdos. Isso é conhecido como shortcode e "
+#~ "funciona para posts, páginas e tipos customizados que fazem uso da função "
+#~ "the_content()"
+
+#~ msgid ""
+#~ "I've set wrapping to left or right but the headings don't wrap around the "
+#~ "table of contents"
+#~ msgstr ""
+#~ "Eu configurei a Tabela de Conteúdos para flutuar na esquerda ou na "
+#~ "direita, mas os títulos continuam abaixo dela"
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Isso normalmente ocorre quando existe uma regra CSS 'clear' no título do "
+#~ "tema (Twenty Eleven e Twenty Twelve são temas que fazem isso). Essa "
+#~ "regra diz ao navegador para não aceitar regras de floating ao redor do "
+#~ "elemento para a qual foi definida."
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Você pode ajustar o CSS do seu tema ou tentar mover a tabela de conteúdos "
+#~ "para o início da página. Se você não construiu seu tema, recomendo "
+#~ "fortemente o uso do %s para fazer mudanças no CSS."
+
+#~ msgid ""
+#~ "Try adding the following CSS to allow the wrapping to occur around the "
+#~ "table of contents:"
+#~ msgstr ""
+#~ "Tente adicionar o seguinte CSS para permitir que seus títulos se acomodem "
+#~ "ao lado da tabela de conteúdos:"
+
+#~ msgid ""
+#~ "How do I include the name of the page in the table of contents title?"
+#~ msgstr ""
+#~ "Como posso incluir o título da minha página no título da Tabela de "
+#~ "Conteúdos?"
+
+#~ msgid ""
+#~ "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:"
+#~ msgstr ""
+#~ "Você pode usar a seguinte variável para automaticamente inserir o título "
+#~ "da sua página no título da Tabela de Conteúdos:"
+
+#~ msgid "You can use it as is or place text either side of the variable."
+#~ msgstr "Você pode usá-la sozinha ou conjuntamente com outros textos."
+
+#~ msgid ""
+#~ "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>"
+#~ msgstr ""
+#~ "Por exemplo: se sua página se chama <em>Grandes Espectativas</em> e o "
+#~ "título da sua Tabela de Conteúdos está definido como <em>Conteúdos de "
+#~ "%PAGE_NAME%</em>, o título exibido será <em>Conteúdos de Grandes "
+#~ "Espectativas</em>"
+
+#~ msgid "The sitemap uses a strange font dissimilar to the rest of the site"
+#~ msgstr "O Sitemap usa uma fonte estranha, diferente do resto do site"
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Não são criados estilos extras para o Sitemap. Mas ele herda todos os "
+#~ "estilos usados ao adicionar o shortcode. Então se você copiou e colou, "
+#~ "você provavelmente copiou também as tags 'code' que o envolvem. Se for "
+#~ "esse o caso, apenas remova-as."
+
+#~ msgid ""
+#~ "In most cases, try to have the shortcode on its own line with nothing "
+#~ "before or after the square brackets."
+#~ msgstr ""
+#~ "Procure deixar o shortcode sozinho na linha, sem nada antes ou depois dos "
+#~ "colchetes."
+
+#~ msgid "What were those shortcodes and attributes again?"
+#~ msgstr "Quais são os shortcodes e atributos mesmo?"
+
+#~ msgid ""
+#~ "When attributes are left out for the shortcodes below, they will fallback "
+#~ "to the settings you defined under Settings &gt; TOC+."
+#~ msgstr ""
+#~ "Quando os atributos não forem definidos, eles usarão as configurações "
+#~ "determinadas em Configurações &gt; TOC+."
+
+#~ msgid "Shortcode"
+#~ msgstr "Shortcode"
+
+#~ msgid "Description"
+#~ msgstr "Descrição"
+
+#~ msgid "Attributes"
+#~ msgstr "Atributos"
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Permite criar a Tabela de Conteúdos em uma posição específica. Também é "
+#~ "útil para sites que só precisem da Tabela de Conteúdos em poucas páginas."
+
+#~ msgid "text, title of the table of contents"
+#~ msgstr "texto, título da tabela de conteúdos"
+
+#~ msgid "true/false, shows or hides the title"
+#~ msgstr "true/false, exibe ou oculta o título"
+
+#~ msgid "text, either \"left\" or \"right\""
+#~ msgstr "texto, apenas \"left\" ou \"right\""
+
+#~ msgid ""
+#~ "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"
+#~ msgstr ""
+#~ "números, permite selecionar os níveis de títulos que devem ser incluídos "
+#~ "na tabela de conteúdos. Separe múltiplos níveis com vírgulas. Exemplo: "
+#~ "para incluir os títulos 3, 4 e 5, mas excluir os demais, use"
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "texto, digite títulos que devem ser excluídos. Separe vários títulos com "
+#~ "um pipe <code>|</code>. Use asteriscos <code>*</code> como curingas para "
+#~ "casar com outros textos. Você também pode usar expressões regulares para "
+#~ "correspondências avançadas."
+
+#~ msgid ""
+#~ "Allows you to disable the table of contents for the current post, page, "
+#~ "or custom post type."
+#~ msgstr ""
+#~ "Desabilita a Tabela de Conteúdos em um post, página ou tipo customizado "
+#~ "específico."
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Cria uma lista de todas as páginas e categorias do seu site. Você pode "
+#~ "usá-lo em qualquer post, página ou mesmo em um widget de texto."
+
+#~ msgid "Lets you print out a listing of only pages."
+#~ msgstr "Cria uma lista apenas das páginas."
+
+#~ msgid "number between 1 and 6, defines which html heading to use"
+#~ msgstr "número entre 1 e 6, define qual título HTML será usado"
+
+#~ msgid "text, title of the list"
+#~ msgstr "texto, título da lista"
+
+#~ msgid "true/false, shows or hides the list heading"
+#~ msgstr "true/false, exibe ou oculta o título da lista"
+
+#~ msgid "IDs of the pages or categories you wish to exclude"
+#~ msgstr "IDs das páginas ou categorias que não devem ser listadas"
+
+#~ msgid ""
+#~ "ID of the page or category you wish to exclude including its all "
+#~ "descendants"
+#~ msgstr ""
+#~ "IDs das páginas ou categorias que não devem ser listadas, incluindo suas "
+#~ "descendentes"
+
+#~ msgid "Similar to [sitemap_pages] but for categories."
+#~ msgstr "Parecido com [sitemap_pages], mas lista só categorias."
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Cria uma lista de todos os posts publicados no seu site. Por padrão, "
+#~ "posts são listados em ordem alfabética, agrupados pela primeira letra. "
+#~ "Existem classes CSS para cada seção, letra e lista, permitindo que você "
+#~ "personalize a aparência."
+
+#~ msgid "text, either ASC or DESC"
+#~ msgstr "texto, somente ASC ou DESC"
+
+#~ msgid ""
+#~ "text, popular options include \"title\", \"date\", \"ID\", and \"rand\". "
+#~ "See %1$sWP_Query%2$s for a list."
+#~ msgstr ""
+#~ "texto, opções comuns são \"title\", \"date\", \"ID\", e \"rand\". Acesse "
+#~ "%1$sWP_Query%2$s para um lista."
+
+#~ msgid ""
+#~ "true/false (defaults to true), does not separate the lists by first "
+#~ "letter when set to false."
+#~ msgstr ""
+#~ "true/false (padrão em true), não agrupa os posts pela primeira letra "
+#~ "quando definido em false."
+
+#~ msgid "I have another question..."
+#~ msgstr "Tenho uma pergunta diferente..."
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Acesse a %1$spágina do plugin%2$s para fazer sua pergunta - talvez sua "
+#~ "pergunta já tenha resposta. E se você tem sugestões, eu realmente "
+#~ "gostaria de ouvi-las."
+
+#~ msgid "For developers"
+#~ msgstr "Para desenvolvedores"
+
+#~ msgid "How do I customise my anchors?"
+#~ msgstr "Como eu personalizo minhas âncoras?"
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Se você não está satisfeito com as âncoras, você pode modifica-las para "
+#~ "atender suas necessidades através de uma função customizada através do "
+#~ "filtro <code>toc_url_anchor_target</code>. Por exemplo, coloque o código "
+#~ "abaixo no seu arquivo functions.php para transformar todas as âncoras em "
+#~ "maiúsculas:"
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "Retorna uma string HTML da tabela de conteúdos sem as tags UL ou OL "
+#~ "envolvendo-a. Isso permite que o desenvolvedor do tema use suas próprias "
+#~ "ID e/ou classes na lista."
+
+#~ msgid "Both parameters are optional:"
+#~ msgstr "Ambos os parâmetros são opcionais:"
+
+#~ msgid ""
+#~ "is the entire content with headings. If blank, will default to the "
+#~ "current content found in $post (eg within \"the loop\")."
+#~ msgstr ""
+#~ "is the entire content with headings. If blank, will default to the "
+#~ "current content found in $post (eg within \"the loop\")."
+
+#~ msgid ""
+#~ "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."
+#~ msgstr ""
+#~ "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."
+
+#~ msgid "These examples assume you are within \"the loop\":"
+#~ msgstr "Estes exemplos assumem que você está dentro do \"The Loop\":"
+
+#~ msgid "Obtain the index for the current page"
+#~ msgstr "Obter a tabela de conteúdos da página visualizada:"
+
+#~ msgid "Create a listing of all children and their headings"
+#~ msgstr "Criar uma lista de todos os descendentes com seus títulos:"
diff --git a/plugins/table-of-contents-plus/languages/toc+-sk_SK.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-sk_SK.mo
index b0e57ca3..b0e57ca3 100644
--- a/plugins/table-of-contents-plus/languages/toc+-sk_SK.mo
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-sk_SK.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+-sk_SK.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-sk_SK.po
index c5a1a67a..c5a1a67a 100644
--- a/plugins/table-of-contents-plus/languages/toc+-sk_SK.po
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-sk_SK.po
diff --git a/plugins/table-of-contents-plus/languages/toc+-uk_UA.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-uk_UA.mo
index b9d4e489..b9d4e489 100644
--- a/plugins/table-of-contents-plus/languages/toc+-uk_UA.mo
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-uk_UA.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+-uk_UA.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-uk_UA.po
index b0324acf..b0324acf 100644
--- a/plugins/table-of-contents-plus/languages/toc+-uk_UA.po
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-uk_UA.po
diff --git a/plugins/table-of-contents-plus/languages/toc+-zh_CN.mo b/plugins/table-of-contents-plus/languages/table-of-contents-plus-zh_CN.mo
index 71ba759c..71ba759c 100644
--- a/plugins/table-of-contents-plus/languages/toc+-zh_CN.mo
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-zh_CN.mo
Binary files differ
diff --git a/plugins/table-of-contents-plus/languages/toc+-zh_CN.po b/plugins/table-of-contents-plus/languages/table-of-contents-plus-zh_CN.po
index 0465bd95..0465bd95 100644
--- a/plugins/table-of-contents-plus/languages/toc+-zh_CN.po
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus-zh_CN.po
diff --git a/plugins/table-of-contents-plus/languages/table-of-contents-plus.pot b/plugins/table-of-contents-plus/languages/table-of-contents-plus.pot
new file mode 100644
index 00000000..9dccbb1e
--- /dev/null
+++ b/plugins/table-of-contents-plus/languages/table-of-contents-plus.pot
@@ -0,0 +1,513 @@
+# Copyright (C) 2015 Table of Contents Plus
+# This file is distributed under the same license as the Table of Contents Plus package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Table of Contents Plus 1505\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/table-of-contents-"
+"plus\n"
+"POT-Creation-Date: 2015-06-26 12:23:49+00:00\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+
+#: toc.php:201
+msgid "Settings"
+msgstr ""
+
+#: toc.php:482 toc.php:483
+msgid "TOC"
+msgstr ""
+
+#: toc.php:653
+msgid "Options saved."
+msgstr ""
+
+#: toc.php:655
+msgid "Save failed."
+msgstr ""
+
+#: toc.php:667
+msgid "Main Options"
+msgstr ""
+
+#: toc.php:668
+msgid "Sitemap"
+msgstr ""
+
+#: toc.php:669
+msgid "Help"
+msgstr ""
+
+#: toc.php:677
+msgid "Position"
+msgstr ""
+
+#: toc.php:680
+msgid "Before first heading (default)"
+msgstr ""
+
+#: toc.php:681
+msgid "After first heading"
+msgstr ""
+
+#: toc.php:682
+msgid "Top"
+msgstr ""
+
+#: toc.php:683
+msgid "Bottom"
+msgstr ""
+
+#: toc.php:688
+msgid "Show when"
+msgstr ""
+
+#. translators: text follows drop down list of numbers
+#: toc.php:700
+msgid "or more headings are present"
+msgstr ""
+
+#: toc.php:704
+msgid "Auto insert for the following content types"
+msgstr ""
+
+#. translators: this is the title of the table of contents
+#: toc.php:719
+msgid "Heading text"
+msgstr ""
+
+#: toc.php:721
+msgid "Show title on top of the table of contents"
+msgstr ""
+
+#: toc.php:724
+msgid "Eg: Contents, Table of Contents, Page Contents"
+msgstr ""
+
+#: toc.php:726
+msgid "Allow the user to toggle the visibility of the table of contents"
+msgstr ""
+
+#: toc.php:731
+msgid "Show text"
+msgstr ""
+
+#. translators: example text to display when you want to expand the table of
+#. contents
+#: toc.php:735
+msgid "Eg: show"
+msgstr ""
+
+#: toc.php:738
+msgid "Hide text"
+msgstr ""
+
+#. translators: example text to display when you want to collapse the table of
+#. contents
+#: toc.php:742
+msgid "Eg: hide"
+msgstr ""
+
+#: toc.php:746
+msgid "Hide the table of contents initially"
+msgstr ""
+
+#: toc.php:752
+msgid "Show hierarchy"
+msgstr ""
+
+#: toc.php:756
+msgid "Number list items"
+msgstr ""
+
+#: toc.php:760
+msgid "Enable smooth scroll effect"
+msgstr ""
+
+#: toc.php:761
+msgid "Scroll rather than jump to the anchor link"
+msgstr ""
+
+#: toc.php:766
+msgid "Appearance"
+msgstr ""
+
+#: toc.php:770
+msgid "Width"
+msgstr ""
+
+#: toc.php:773
+msgid "Fixed width"
+msgstr ""
+
+#: toc.php:784
+msgid "Relative"
+msgstr ""
+
+#: toc.php:785
+msgid "Auto (default)"
+msgstr ""
+
+#. translators: other width
+#: toc.php:795
+msgid "Other"
+msgstr ""
+
+#: toc.php:796
+msgid "User defined"
+msgstr ""
+
+#. translators: ignore %s as it's some HTML label tags
+#: toc.php:802
+msgid "Please enter a number and %s select its units, eg: 100px, 10em"
+msgstr ""
+
+#: toc.php:813
+msgid "Wrapping"
+msgstr ""
+
+#: toc.php:816
+msgid "None (default)"
+msgstr ""
+
+#: toc.php:817
+msgid "Left"
+msgstr ""
+
+#: toc.php:818
+msgid "Right"
+msgstr ""
+
+#: toc.php:823
+msgid "Font size"
+msgstr ""
+
+#. translators: appearance / colour / look and feel options
+#: toc.php:836
+msgid "Presentation"
+msgstr ""
+
+#: toc.php:839
+msgid "Grey (default)"
+msgstr ""
+
+#: toc.php:844
+msgid "Light blue"
+msgstr ""
+
+#: toc.php:849
+msgid "White"
+msgstr ""
+
+#: toc.php:854
+msgid "Black"
+msgstr ""
+
+#: toc.php:859
+msgid "Transparent"
+msgstr ""
+
+#: toc.php:864
+msgid "Custom"
+msgstr ""
+
+#: toc.php:874
+msgid "Background"
+msgstr ""
+
+#: toc.php:878
+msgid "Border"
+msgstr ""
+
+#: toc.php:882 toc.php:1658
+msgid "Title"
+msgstr ""
+
+#: toc.php:886
+msgid "Links"
+msgstr ""
+
+#: toc.php:890
+msgid "Links (hover)"
+msgstr ""
+
+#: toc.php:894
+msgid "Links (visited)"
+msgstr ""
+
+#: toc.php:901
+msgid "Leaving the value as %s will inherit your theme's styles"
+msgstr ""
+
+#: toc.php:908
+msgid "Advanced"
+msgstr ""
+
+#: toc.php:908 toc.php:1045
+msgid "show"
+msgstr ""
+
+#: toc.php:910
+msgid "Power options"
+msgstr ""
+
+#: toc.php:914
+msgid "Lowercase"
+msgstr ""
+
+#: toc.php:915
+msgid "Ensure anchors are in lowercase"
+msgstr ""
+
+#: toc.php:918
+msgid "Hyphenate"
+msgstr ""
+
+#: toc.php:919
+msgid "Use - rather than _ in anchors"
+msgstr ""
+
+#: toc.php:922
+msgid "Include homepage"
+msgstr ""
+
+#: toc.php:923
+msgid "Show the table of contents for qualifying items on the homepage"
+msgstr ""
+
+#: toc.php:926
+msgid "Exclude CSS file"
+msgstr ""
+
+#: toc.php:927
+msgid ""
+"Prevent the loading of this plugin's CSS styles. When selected, the "
+"appearance options from above will also be ignored."
+msgstr ""
+
+#: toc.php:930
+msgid "Preserve theme bullets"
+msgstr ""
+
+#: toc.php:931
+msgid ""
+"If your theme includes background images for unordered list elements, enable "
+"this to support them"
+msgstr ""
+
+#: toc.php:934
+msgid "Heading levels"
+msgstr ""
+
+#: toc.php:936
+msgid ""
+"Include the following heading levels. Deselecting a heading will exclude it."
+msgstr ""
+
+#: toc.php:942
+msgid "heading "
+msgstr ""
+
+#: toc.php:948
+msgid "Exclude headings"
+msgstr ""
+
+#: toc.php:951
+msgid ""
+"Specify headings to be excluded from appearing in the table of contents. "
+"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
+"<code>*</code> as a wildcard to match other text. Note that this is not "
+"case sensitive. Some examples:"
+msgstr ""
+
+#: toc.php:953
+msgid "<code>Fruit*</code> ignore headings starting with \"Fruit\""
+msgstr ""
+
+#: toc.php:954
+msgid ""
+"<code>*Fruit Diet*</code> ignore headings with \"Fruit Diet\" somewhere in "
+"the heading"
+msgstr ""
+
+#: toc.php:955
+msgid ""
+"<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are "
+"exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\""
+msgstr ""
+
+#: toc.php:960
+msgid "Smooth scroll top offset"
+msgstr ""
+
+#: toc.php:963
+msgid ""
+"If you have a consistent menu across the top of your site, you can adjust "
+"the top offset to stop the headings from appearing underneath the top menu. "
+"A setting of 30 accommodates the WordPress admin bar. This setting appears "
+"after you have enabled smooth scrolling from above."
+msgstr ""
+
+#: toc.php:967
+msgid "Restrict path"
+msgstr ""
+
+#: toc.php:970
+msgid ""
+"Restrict generation of the table of contents to pages that match the "
+"required path. This path is from the root of your site and always begins "
+"with a forward slash."
+msgstr ""
+
+#. translators: example URL path restriction
+#: toc.php:973
+msgid "Eg: /wiki/, /corporate/annual-reports/"
+msgstr ""
+
+#: toc.php:977
+msgid "Default anchor prefix"
+msgstr ""
+
+#: toc.php:980
+msgid ""
+"Anchor targets are restricted to alphanumeric characters as per HTML "
+"specification (see readme for more detail). The default anchor prefix will "
+"be used when no characters qualify. When left blank, a number will be used "
+"instead."
+msgstr ""
+
+#: toc.php:981
+msgid ""
+"This option normally applies to content written in character sets other than "
+"ASCII."
+msgstr ""
+
+#. translators: example anchor prefixes when no ascii characters match
+#: toc.php:984
+msgid "Eg: i, toc_index, index, _"
+msgstr ""
+
+#. translators: advanced usage
+#: toc.php:992
+msgid "Usage"
+msgstr ""
+
+#: toc.php:993
+msgid ""
+"If you would like to fully customise the position of the table of contents, "
+"you can use the %s shortcode by placing it at the desired position of your "
+"post, page or custom post type. This method allows you to generate the table "
+"of contents despite having auto insertion disabled for its content type. "
+"Please visit the help tab for further information about this shortcode."
+msgstr ""
+
+#: toc.php:1001
+msgid ""
+"At its simplest, placing %s into a page will automatically create a sitemap "
+"of all pages and categories. This also works in a text widget."
+msgstr ""
+
+#: toc.php:1005
+msgid "Show page listing"
+msgstr ""
+
+#: toc.php:1009
+msgid "Show category listing"
+msgstr ""
+
+#: toc.php:1013
+msgid "Heading type"
+msgstr ""
+
+#. translators: the full line is supposed to read - Use [1-6 drop down list] to
+#. print out the titles
+#: toc.php:1016
+msgid "Use"
+msgstr ""
+
+#. translators: the full line is supposed to read - Use [h1-h6 drop down list]
+#. to print out the titles
+#: toc.php:1027
+msgid "to print out the titles"
+msgstr ""
+
+#: toc.php:1031
+msgid "Pages label"
+msgstr ""
+
+#: toc.php:1033
+msgid "Eg: Pages, Page List"
+msgstr ""
+
+#: toc.php:1037
+msgid "Categories label"
+msgstr ""
+
+#: toc.php:1039
+msgid "Eg: Categories, Category List"
+msgstr ""
+
+#: toc.php:1045
+msgid "Advanced usage"
+msgstr ""
+
+#: toc.php:1047
+msgid ""
+"lets you print out a listing of only pages. Similarly %s can be used to "
+"print out a category listing. They both can accept a number of attributes so "
+"visit the help tab for more information."
+msgstr ""
+
+#: toc.php:1048
+msgid "Examples"
+msgstr ""
+
+#: toc.php:1050
+msgid "hides the heading from a category listing"
+msgstr ""
+
+#: toc.php:1051
+msgid ""
+"Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15"
+msgstr ""
+
+#: toc.php:1060
+msgid "Update Options"
+msgstr ""
+
+#: toc.php:1563
+msgid "Display the table of contents in the sidebar with this widget"
+msgstr ""
+
+#: toc.php:1664
+msgid "Show the table of contents only in the sidebar"
+msgstr ""
+
+#: toc.php:1668
+msgid "For the following content types:"
+msgstr ""
+
+#. Plugin Name of the plugin/theme
+msgid "Table of Contents Plus"
+msgstr ""
+
+#. Plugin URI of the plugin/theme
+msgid "http://dublue.com/plugins/toc/"
+msgstr ""
+
+#. Description of the plugin/theme
+msgid ""
+"A powerful yet user friendly plugin that automatically creates a table of "
+"contents. Can also output a sitemap listing all pages and categories."
+msgstr ""
+
+#. Author of the plugin/theme
+msgid "Michael Tran"
+msgstr ""
+
+#. Author URI of the plugin/theme
+msgid "http://dublue.com/"
+msgstr ""
diff --git a/plugins/table-of-contents-plus/readme.txt b/plugins/table-of-contents-plus/readme.txt
index 5e966348..f6d3f013 100644
--- a/plugins/table-of-contents-plus/readme.txt
+++ b/plugins/table-of-contents-plus/readme.txt
@@ -2,8 +2,8 @@
Contributors: conjur3r
Tags: table of contents, indexes, toc, sitemap, cms, options, list, page listing, category listing
Requires at least: 3.2
-Tested up to: 4.2.1
-Stable tag: 1505
+Tested up to: 4.4
+Stable tag: 1601
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -24,20 +24,26 @@ Prefer to include the index in the sidebar? Go to Appearance > Widgets and drag
Custom post types are supported, however, auto insertion works only when the_content() has been used by the custom post type. Each post type will appear in the options panel, so enable the ones you want.
+Collaborate, participate, fork this plugin on [Github](https://github.com/zedzedzed/table-of-contents-plus/). Reach out on Github or place them at [http://dublue.com/plugins/toc/](http://dublue.com/plugins/toc/)
+
= Available Languages =
+This plugin is being migrated towards [Translation Packs](https://translate.wordpress.org/projects/wp-plugins/table-of-contents-plus) and older .mo and .po files are no longer being accepted. When a translation reaches maturity, the bundled language files will be removed from the distribution in favour of the Translation Pack.
+
* Australian English (default)
+* Brazilian Portuguese - [Blog de Niterói](https://twitter.com/BlogNiteroi/)
+* Danish - [Cupunu](http://cupunu.dk/)
* Dutch - [Renee](http://101themes.com/)
* French - Jean-Michel Duriez
* German - [Ben](http://blog.bmarwell.de/)
+* Greek - [Dimitrios Kaisaris](http://www.foodblostarter.com/)
+* Hebrew - [Ahrale](http://atar4u.com/)
+* Japanese - [シカマル](http://ja.gravatar.com/deerboy01)
* Polish - [Jakub](http://notatki.4use.pl/)
* Simplified Chinese - Jason
* Slovak - Boris Gereg
+* Spanish - [David Saiz](https://davidsaiz.com/)
* Ukrainian - [Michael Yunat](http://www.iphostmonitor.com/)
-Translations are more than welcome. If you have any advice in making it easier to translate, please let me know.
-
-If you have questions or suggestions, please place them at [http://dublue.com/plugins/toc/](http://dublue.com/plugins/toc/)
-
== Screenshots ==
@@ -111,6 +117,35 @@ I will never ask for any form of reward or compensation. Helping others achieve
== Changelog ==
+= 1601 =
+* Released: 5 January 2016
+* Bump tested WordPress version to 4.4
+* Add 'enable' and 'disable' API functions so a developer can better control the execution.
+* Add Brazilian Portuguese translation thanks to [Blog de Niterói](https://twitter.com/BlogNiteroi/)
+* Add Spanish translation thanks to [David Saiz](https://davidsaiz.com/)
+* TOC+ widget now adheres to a blank title if none provided. Thanks to [Dirk](http://dublue.com/plugins/toc/comment-page-11/#comment-5140) for the cue.
+* Updated jQuery Smooth Scroll 1.5.5 to 1.6.0
+* Updated text domain to better support translation packs.
+
+= 1509 =
+* Released: 4 September 2015
+* Added Hebrew translation thanks to [Ahrale](http://atar4u.com/)
+* Added Japaense translation thanks to [シカマル](http://ja.gravatar.com/deerboy01)
+* Added Greek translation thanks to [Dimitrios Kaisaris](http://www.foodblostarter.com/)
+* Updated jQuery Smooth Scroll 1.4.10 to 1.5.5
+* Supply both minified and unminified CSS and JS files, use minified versions.
+* Convert accented characters to ASCII in anchors.
+* Bump tested WordPress version to 4.3
+* Fixed: PHP notice introduced in WP 4.3
+* Fixed: javascript error with $.browser testing for Internet Explorer 7.
+* Plugin has moved to [GitHub](https://github.com/zedzedzed/table-of-contents-plus/) for better collaboration.
+* Help needed: preg_match_all failing with bad UTF8 characters producing no TOC. If you can help, please participate in this [issue](https://github.com/zedzedzed/table-of-contents-plus/issues/105).
+
+= 1507 =
+* Released: 5 July 2015
+* Added Danish translation courtesy of [Cupunu](http://cupunu.dk/)
+* Simplified the translation duty by moving the help material to the plugin's website.
+* Updated translation file.
= 1505 =
* Released: 2 May 2015
diff --git a/plugins/table-of-contents-plus/screen.css b/plugins/table-of-contents-plus/screen.css
index 177de4fa..e32a6da4 100644
--- a/plugins/table-of-contents-plus/screen.css
+++ b/plugins/table-of-contents-plus/screen.css
@@ -1 +1,92 @@
-#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} \ No newline at end of file
+#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;
+} \ No newline at end of file
diff --git a/plugins/table-of-contents-plus/screen.min.css b/plugins/table-of-contents-plus/screen.min.css
new file mode 100644
index 00000000..9bf6a9f0
--- /dev/null
+++ b/plugins/table-of-contents-plus/screen.min.css
@@ -0,0 +1 @@
+#toc_container li,#toc_container ul{margin:0;padding:0}#toc_container.no_bullets li,#toc_container.no_bullets ul,#toc_container.no_bullets ul li,.toc_widget_list.no_bullets,.toc_widget_list.no_bullets li{background:0 0;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} \ No newline at end of file
diff --git a/plugins/table-of-contents-plus/toc.php b/plugins/table-of-contents-plus/toc.php
index fe4116c5..d98c8106 100644
--- a/plugins/table-of-contents-plus/toc.php
+++ b/plugins/table-of-contents-plus/toc.php
@@ -5,11 +5,13 @@ Plugin URI: http://dublue.com/plugins/toc/
Description: A powerful yet user friendly plugin that automatically creates a table of contents. Can also output a sitemap listing all pages and categories.
Author: Michael Tran
Author URI: http://dublue.com/
-Version: 1505
+Text Domain: table-of-contents-plus
+Domain Path: /languages
+Version: 1601
License: GPL2
*/
-/* Copyright 2015 Michael Tran (michael@dublue.com)
+/* Copyright 2016 Michael Tran (michael@dublue.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
@@ -39,7 +41,7 @@ FOR CONSIDERATION:
- highlight target css
*/
-define( 'TOC_VERSION', '1505' );
+define( 'TOC_VERSION', '1509' );
define( 'TOC_POSITION_BEFORE_FIRST_HEADING', 1 );
define( 'TOC_POSITION_TOP', 2 );
define( 'TOC_POSITION_BOTTOM', 3 );
@@ -165,6 +167,24 @@ if ( !class_exists( 'toc' ) ) :
{
$this->options = array_merge($this->options, $array);
}
+
+
+ /**
+ * Allows the developer to disable TOC execution
+ */
+ public function disable()
+ {
+ $this->show_toc = false;
+ }
+
+
+ /**
+ * Allows the developer to enable TOC execution
+ */
+ public function enable()
+ {
+ $this->show_toc = true;
+ }
public function set_show_toc_in_widget_only( $value = false )
@@ -198,7 +218,7 @@ if ( !class_exists( 'toc' ) ) :
function plugin_action_links( $links, $file )
{
if ( $file == 'table-of-contents-plus/' . basename(__FILE__) ) {
- $settings_link = '<a href="options-general.php?page=toc">' . __('Settings', 'toc+') . '</a>';
+ $settings_link = '<a href="options-general.php?page=toc">' . __('Settings', 'table-of-contents-plus') . '</a>';
$links = array_merge( array( $settings_link ), $links );
}
return $links;
@@ -431,11 +451,9 @@ if ( !class_exists( 'toc' ) ) :
{
$js_vars = array();
-
// register our CSS and scripts
- wp_register_style( 'toc-screen', $this->path . '/screen.css', array(), TOC_VERSION );
- wp_register_script( 'toc-front', $this->path . '/front.js', array('jquery'), TOC_VERSION, true );
-
+ wp_register_style( 'toc-screen', $this->path . '/screen.min.css', array(), TOC_VERSION );
+ wp_register_script( 'toc-front', $this->path . '/front.min.js', array('jquery'), TOC_VERSION, true );
// enqueue them!
if ( !$this->options['exclude_css'] ) wp_enqueue_style("toc-screen");
@@ -464,7 +482,7 @@ if ( !class_exists( 'toc' ) ) :
function plugins_loaded()
{
- load_plugin_textdomain( 'toc+', false, dirname(plugin_basename(__FILE__)) . '/languages/' );
+ load_plugin_textdomain( 'table-of-contents-plus', false, dirname(plugin_basename(__FILE__)) . '/languages/' );
}
@@ -479,8 +497,8 @@ if ( !class_exists( 'toc' ) ) :
{
$page = add_submenu_page(
'options-general.php',
- __('TOC', 'toc+') . '+',
- __('TOC', 'toc+') . '+',
+ __('TOC', 'table-of-contents-plus') . '+',
+ __('TOC', 'table-of-contents-plus') . '+',
'manage_options',
'toc',
array(&$this, 'admin_options')
@@ -650,9 +668,9 @@ if ( !class_exists( 'toc' ) ) :
if ( isset( $_GET['update'] ) ) {
if ( $this->save_admin_options() )
- $msg = '<div id="message" class="updated fade"><p>' . __('Options saved.', 'toc+') . '</p></div>';
+ $msg = '<div id="message" class="updated fade"><p>' . __('Options saved.', 'table-of-contents-plus') . '</p></div>';
else
- $msg = '<div id="message" class="error fade"><p>' . __('Save failed.', 'toc+') . '</p></div>';
+ $msg = '<div id="message" class="error fade"><p>' . __('Save failed.', 'table-of-contents-plus') . '</p></div>';
}
?>
@@ -664,9 +682,9 @@ if ( !class_exists( 'toc' ) ) :
<?php wp_nonce_field( plugin_basename(__FILE__), 'toc-admin-options' ); ?>
<ul id="tabbed-nav">
- <li><a href="#tab1"><?php _e('Main Options', 'toc+'); ?></a></li>
- <li><a href="#tab2"><?php _e('Sitemap', 'toc+'); ?></a></li>
- <li><a href="#tab3"><?php _e('Help', 'toc+'); ?></a></li>
+ <li><a href="#tab1"><?php _e('Main Options', 'table-of-contents-plus'); ?></a></li>
+ <li><a href="#tab2"><?php _e('Sitemap', 'table-of-contents-plus'); ?></a></li>
+ <li class="url"><a href="http://dublue.com/plugins/toc/#Help"><?php _e('Help', 'table-of-contents-plus'); ?></a></li>
</ul>
<div class="tab_container">
<div id="tab1" class="tab_content">
@@ -674,18 +692,18 @@ if ( !class_exists( 'toc' ) ) :
<table class="form-table">
<tbody>
<tr>
- <th><label for="position"><?php _e('Position', 'toc+'); ?></label></th>
+ <th><label for="position"><?php _e('Position', 'table-of-contents-plus'); ?></label></th>
<td>
<select name="position" id="position">
- <option value="<?php echo TOC_POSITION_BEFORE_FIRST_HEADING; ?>"<?php if ( TOC_POSITION_BEFORE_FIRST_HEADING == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('Before first heading (default)', 'toc+'); ?></option>
- <option value="<?php echo TOC_POSITION_AFTER_FIRST_HEADING; ?>"<?php if ( TOC_POSITION_AFTER_FIRST_HEADING == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('After first heading', 'toc+'); ?></option>
- <option value="<?php echo TOC_POSITION_TOP; ?>"<?php if ( TOC_POSITION_TOP == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('Top', 'toc+'); ?></option>
- <option value="<?php echo TOC_POSITION_BOTTOM; ?>"<?php if ( TOC_POSITION_BOTTOM == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('Bottom', 'toc+'); ?></option>
+ <option value="<?php echo TOC_POSITION_BEFORE_FIRST_HEADING; ?>"<?php if ( TOC_POSITION_BEFORE_FIRST_HEADING == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('Before first heading (default)', 'table-of-contents-plus'); ?></option>
+ <option value="<?php echo TOC_POSITION_AFTER_FIRST_HEADING; ?>"<?php if ( TOC_POSITION_AFTER_FIRST_HEADING == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('After first heading', 'table-of-contents-plus'); ?></option>
+ <option value="<?php echo TOC_POSITION_TOP; ?>"<?php if ( TOC_POSITION_TOP == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('Top', 'table-of-contents-plus'); ?></option>
+ <option value="<?php echo TOC_POSITION_BOTTOM; ?>"<?php if ( TOC_POSITION_BOTTOM == $this->options['position'] ) echo ' selected="selected"'; ?>><?php _e('Bottom', 'table-of-contents-plus'); ?></option>
</select>
</td>
</tr>
<tr>
- <th><label for="start"><?php _e('Show when', 'toc+'); ?></label></th>
+ <th><label for="start"><?php _e('Show when', 'table-of-contents-plus'); ?></label></th>
<td>
<select name="start" id="start">
<?php
@@ -697,11 +715,11 @@ if ( !class_exists( 'toc' ) ) :
?>
</select> <?php
/* translators: text follows drop down list of numbers */
- _e('or more headings are present', 'toc+'); ?>
+ _e('or more headings are present', 'table-of-contents-plus'); ?>
</td>
</tr>
<tr>
- <th><?php _e('Auto insert for the following content types', 'toc+'); ?></th>
+ <th><?php _e('Auto insert for the following content types', 'table-of-contents-plus'); ?></th>
<td><?php
foreach (get_post_types() as $post_type) {
// make sure the post type isn't on the exclusion list
@@ -716,61 +734,61 @@ if ( !class_exists( 'toc' ) ) :
<tr>
<th><label for="show_heading_text"><?php
/* translators: this is the title of the table of contents */
- _e('Heading text', 'toc+'); ?></label></th>
+ _e('Heading text', 'table-of-contents-plus'); ?></label></th>
<td>
- <input type="checkbox" value="1" id="show_heading_text" name="show_heading_text"<?php if ( $this->options['show_heading_text'] ) echo ' checked="checked"'; ?> /><label for="show_heading_text"> <?php _e('Show title on top of the table of contents', 'toc+'); ?></label><br />
+ <input type="checkbox" value="1" id="show_heading_text" name="show_heading_text"<?php if ( $this->options['show_heading_text'] ) echo ' checked="checked"'; ?> /><label for="show_heading_text"> <?php _e('Show title on top of the table of contents', 'table-of-contents-plus'); ?></label><br />
<div class="more_toc_options<?php if ( !$this->options['show_heading_text'] ) echo ' disabled'; ?>">
<input type="text" class="regular-text" value="<?php echo htmlentities( $this->options['heading_text'], ENT_COMPAT, 'UTF-8' ); ?>" id="heading_text" name="heading_text" />
- <span class="description"><label for="heading_text"><?php _e('Eg: Contents, Table of Contents, Page Contents', 'toc+'); ?></label></span><br /><br />
+ <span class="description"><label for="heading_text"><?php _e('Eg: Contents, Table of Contents, Page Contents', 'table-of-contents-plus'); ?></label></span><br /><br />
- <input type="checkbox" value="1" id="visibility" name="visibility"<?php if ( $this->options['visibility'] ) echo ' checked="checked"'; ?> /><label for="visibility"> <?php _e( 'Allow the user to toggle the visibility of the table of contents', 'toc+'); ?></label><br />
+ <input type="checkbox" value="1" id="visibility" name="visibility"<?php if ( $this->options['visibility'] ) echo ' checked="checked"'; ?> /><label for="visibility"> <?php _e( 'Allow the user to toggle the visibility of the table of contents', 'table-of-contents-plus'); ?></label><br />
<div class="more_toc_options<?php if ( !$this->options['visibility'] ) echo ' disabled'; ?>">
<table class="more_toc_options_table">
<tbody>
<tr>
- <th><label for="visibility_show"><?php _e('Show text', 'toc+'); ?></label></th>
+ <th><label for="visibility_show"><?php _e('Show text', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="" value="<?php echo htmlentities( $this->options['visibility_show'], ENT_COMPAT, 'UTF-8' ); ?>" id="visibility_show" name="visibility_show" />
<span class="description"><label for="visibility_show"><?php
/* translators: example text to display when you want to expand the table of contents */
- _e('Eg: show', 'toc+'); ?></label></span></td>
+ _e('Eg: show', 'table-of-contents-plus'); ?></label></span></td>
</tr>
<tr>
- <th><label for="visibility_hide"><?php _e('Hide text', 'toc+'); ?></label></th>
+ <th><label for="visibility_hide"><?php _e('Hide text', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="" value="<?php echo htmlentities( $this->options['visibility_hide'], ENT_COMPAT, 'UTF-8' ); ?>" id="visibility_hide" name="visibility_hide" />
<span class="description"><label for="visibility_hide"><?php
/* translators: example text to display when you want to collapse the table of contents */
- _e('Eg: hide', 'toc+'); ?></label></span></td>
+ _e('Eg: hide', 'table-of-contents-plus'); ?></label></span></td>
</tr>
</tbody>
</table>
- <input type="checkbox" value="1" id="visibility_hide_by_default" name="visibility_hide_by_default"<?php if ( $this->options['visibility_hide_by_default'] ) echo ' checked="checked"'; ?> /><label for="visibility_hide_by_default"> <?php _e( 'Hide the table of contents initially', 'toc+'); ?></label>
+ <input type="checkbox" value="1" id="visibility_hide_by_default" name="visibility_hide_by_default"<?php if ( $this->options['visibility_hide_by_default'] ) echo ' checked="checked"'; ?> /><label for="visibility_hide_by_default"> <?php _e( 'Hide the table of contents initially', 'table-of-contents-plus'); ?></label>
</div>
</div>
</td>
</tr>
<tr>
- <th><label for="show_heirarchy"><?php _e('Show hierarchy', 'toc+'); ?></label></th>
+ <th><label for="show_heirarchy"><?php _e('Show hierarchy', 'table-of-contents-plus'); ?></label></th>
<td><input type="checkbox" value="1" id="show_heirarchy" name="show_heirarchy"<?php if ( $this->options['show_heirarchy'] ) echo ' checked="checked"'; ?> /></td>
</tr>
<tr>
- <th><label for="ordered_list"><?php _e('Number list items', 'toc+'); ?></label></th>
+ <th><label for="ordered_list"><?php _e('Number list items', 'table-of-contents-plus'); ?></label></th>
<td><input type="checkbox" value="1" id="ordered_list" name="ordered_list"<?php if ( $this->options['ordered_list'] ) echo ' checked="checked"'; ?> /></td>
</tr>
<tr>
- <th><label for="smooth_scroll"><?php _e('Enable smooth scroll effect', 'toc+'); ?></label></th>
- <td><input type="checkbox" value="1" id="smooth_scroll" name="smooth_scroll"<?php if ( $this->options['smooth_scroll'] ) echo ' checked="checked"'; ?> /><label for="smooth_scroll"> <?php _e( 'Scroll rather than jump to the anchor link', 'toc+'); ?></label></td>
+ <th><label for="smooth_scroll"><?php _e('Enable smooth scroll effect', 'table-of-contents-plus'); ?></label></th>
+ <td><input type="checkbox" value="1" id="smooth_scroll" name="smooth_scroll"<?php if ( $this->options['smooth_scroll'] ) echo ' checked="checked"'; ?> /><label for="smooth_scroll"> <?php _e( 'Scroll rather than jump to the anchor link', 'table-of-contents-plus'); ?></label></td>
</tr>
</tbody>
</table>
-<h3><?php _e('Appearance', 'toc+'); ?></h3>
+<h3><?php _e('Appearance', 'table-of-contents-plus'); ?></h3>
<table class="form-table">
<tbody>
<tr>
- <th><label for="width"><?php _e('Width', 'toc+'); ?></label></td>
+ <th><label for="width"><?php _e('Width', 'table-of-contents-plus'); ?></label></td>
<td>
<select name="width" id="width">
- <optgroup label="<?php _e('Fixed width', 'toc+'); ?>">
+ <optgroup label="<?php _e('Fixed width', 'table-of-contents-plus'); ?>">
<option value="200px"<?php if ( '200px' == $this->options['width'] ) echo ' selected="selected"'; ?>>200px</option>
<option value="225px"<?php if ( '225px' == $this->options['width'] ) echo ' selected="selected"'; ?>>225px</option>
<option value="250px"<?php if ( '250px' == $this->options['width'] ) echo ' selected="selected"'; ?>>250px</option>
@@ -781,8 +799,8 @@ if ( !class_exists( 'toc' ) ) :
<option value="375px"<?php if ( '375px' == $this->options['width'] ) echo ' selected="selected"'; ?>>375px</option>
<option value="400px"<?php if ( '400px' == $this->options['width'] ) echo ' selected="selected"'; ?>>400px</option>
</optgroup>
- <optgroup label="<?php _e('Relative', 'toc+'); ?>">
- <option value="Auto"<?php if ( 'Auto' == $this->options['width'] ) echo ' selected="selected"'; ?>><?php _e('Auto (default)', 'toc+'); ?></option>
+ <optgroup label="<?php _e('Relative', 'table-of-contents-plus'); ?>">
+ <option value="Auto"<?php if ( 'Auto' == $this->options['width'] ) echo ' selected="selected"'; ?>><?php _e('Auto (default)', 'table-of-contents-plus'); ?></option>
<option value="25%"<?php if ( '25%' == $this->options['width'] ) echo ' selected="selected"'; ?>>25%</option>
<option value="33%"<?php if ( '33%' == $this->options['width'] ) echo ' selected="selected"'; ?>>33%</option>
<option value="50%"<?php if ( '50%' == $this->options['width'] ) echo ' selected="selected"'; ?>>50%</option>
@@ -792,14 +810,14 @@ if ( !class_exists( 'toc' ) ) :
</optgroup>
<optgroup label="<?php
/* translators: other width */
- _e('Other', 'toc+'); ?>">
- <option value="User defined"<?php if ( 'User defined' == $this->options['width'] ) echo ' selected="selected"'; ?>><?php _e('User defined', 'toc+'); ?></option>
+ _e('Other', 'table-of-contents-plus'); ?>">
+ <option value="User defined"<?php if ( 'User defined' == $this->options['width'] ) echo ' selected="selected"'; ?>><?php _e('User defined', 'table-of-contents-plus'); ?></option>
</optgroup>
</select>
<div class="more_toc_options<?php if ( 'User defined' != $this->options['width'] ) echo ' disabled'; ?>">
<label for="width_custom"><?php
/* translators: ignore %s as it's some HTML label tags */
- printf( __('Please enter a number and %s select its units, eg: 100px, 10em', 'toc+'), '</label><label for="width_custom_units">' ); ?></label><br />
+ printf( __('Please enter a number and %s select its units, eg: 100px, 10em', 'table-of-contents-plus'), '</label><label for="width_custom_units">' ); ?></label><br />
<input type="text" class="regular-text" value="<?php echo floatval($this->options['width_custom']); ?>" id="width_custom" name="width_custom" />
<select name="width_custom_units" id="width_custom_units">
<option value="px"<?php if ( 'px' == $this->options['width_custom_units'] ) echo ' selected="selected"'; ?>>px</option>
@@ -810,17 +828,17 @@ if ( !class_exists( 'toc' ) ) :
</td>
</tr>
<tr>
- <th><label for="wrapping"><?php _e('Wrapping', 'toc+'); ?></label></td>
+ <th><label for="wrapping"><?php _e('Wrapping', 'table-of-contents-plus'); ?></label></td>
<td>
<select name="wrapping" id="wrapping">
- <option value="<?php echo TOC_WRAPPING_NONE; ?>"<?php if ( TOC_WRAPPING_NONE == $this->options['wrapping'] ) echo ' selected="selected"'; ?>><?php _e('None (default)', 'toc+'); ?></option>
- <option value="<?php echo TOC_WRAPPING_LEFT; ?>"<?php if ( TOC_WRAPPING_LEFT == $this->options['wrapping'] ) echo ' selected="selected"'; ?>><?php _e('Left', 'toc+'); ?></option>
- <option value="<?php echo TOC_WRAPPING_RIGHT; ?>"<?php if ( TOC_WRAPPING_RIGHT == $this->options['wrapping'] ) echo ' selected="selected"'; ?>><?php _e('Right', 'toc+'); ?></option>
+ <option value="<?php echo TOC_WRAPPING_NONE; ?>"<?php if ( TOC_WRAPPING_NONE == $this->options['wrapping'] ) echo ' selected="selected"'; ?>><?php _e('None (default)', 'table-of-contents-plus'); ?></option>
+ <option value="<?php echo TOC_WRAPPING_LEFT; ?>"<?php if ( TOC_WRAPPING_LEFT == $this->options['wrapping'] ) echo ' selected="selected"'; ?>><?php _e('Left', 'table-of-contents-plus'); ?></option>
+ <option value="<?php echo TOC_WRAPPING_RIGHT; ?>"<?php if ( TOC_WRAPPING_RIGHT == $this->options['wrapping'] ) echo ' selected="selected"'; ?>><?php _e('Right', 'table-of-contents-plus'); ?></option>
</select>
</td>
</tr>
<tr>
- <th><label for="font_size"><?php _e('Font size', 'toc+'); ?></label></th>
+ <th><label for="font_size"><?php _e('Font size', 'table-of-contents-plus'); ?></label></th>
<td>
<input type="text" class="regular-text" value="<?php echo floatval($this->options['font_size']); ?>" id="font_size" name="font_size" />
<select name="font_size_units" id="font_size_units">
@@ -833,35 +851,35 @@ if ( !class_exists( 'toc' ) ) :
<tr>
<th><?php
/* translators: appearance / colour / look and feel options */
- _e('Presentation', 'toc+'); ?></th>
+ _e('Presentation', 'table-of-contents-plus'); ?></th>
<td>
<div class="toc_theme_option">
- <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_GREY; ?>" value="<?php echo TOC_THEME_GREY; ?>"<?php if ( $this->options['theme'] == TOC_THEME_GREY ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_GREY; ?>"> <?php _e('Grey (default)', 'toc+'); ?><br />
+ <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_GREY; ?>" value="<?php echo TOC_THEME_GREY; ?>"<?php if ( $this->options['theme'] == TOC_THEME_GREY ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_GREY; ?>"> <?php _e('Grey (default)', 'table-of-contents-plus'); ?><br />
<img src="<?php echo $this->path; ?>/images/grey.png" alt="" />
</label>
</div>
<div class="toc_theme_option">
- <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_LIGHT_BLUE; ?>" value="<?php echo TOC_THEME_LIGHT_BLUE; ?>"<?php if ( $this->options['theme'] == TOC_THEME_LIGHT_BLUE ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_LIGHT_BLUE; ?>"> <?php _e('Light blue', 'toc+'); ?><br />
+ <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_LIGHT_BLUE; ?>" value="<?php echo TOC_THEME_LIGHT_BLUE; ?>"<?php if ( $this->options['theme'] == TOC_THEME_LIGHT_BLUE ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_LIGHT_BLUE; ?>"> <?php _e('Light blue', 'table-of-contents-plus'); ?><br />
<img src="<?php echo $this->path; ?>/images/blue.png" alt="" />
</label>
</div>
<div class="toc_theme_option">
- <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_WHITE; ?>" value="<?php echo TOC_THEME_WHITE; ?>"<?php if ( $this->options['theme'] == TOC_THEME_WHITE ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_WHITE; ?>"> <?php _e('White', 'toc+'); ?><br />
+ <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_WHITE; ?>" value="<?php echo TOC_THEME_WHITE; ?>"<?php if ( $this->options['theme'] == TOC_THEME_WHITE ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_WHITE; ?>"> <?php _e('White', 'table-of-contents-plus'); ?><br />
<img src="<?php echo $this->path; ?>/images/white.png" alt="" />
</label>
</div>
<div class="toc_theme_option">
- <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_BLACK; ?>" value="<?php echo TOC_THEME_BLACK; ?>"<?php if ( $this->options['theme'] == TOC_THEME_BLACK ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_BLACK; ?>"> <?php _e('Black', 'toc+'); ?><br />
+ <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_BLACK; ?>" value="<?php echo TOC_THEME_BLACK; ?>"<?php if ( $this->options['theme'] == TOC_THEME_BLACK ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_BLACK; ?>"> <?php _e('Black', 'table-of-contents-plus'); ?><br />
<img src="<?php echo $this->path; ?>/images/black.png" alt="" />
</label>
</div>
<div class="toc_theme_option">
- <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_TRANSPARENT; ?>" value="<?php echo TOC_THEME_TRANSPARENT; ?>"<?php if ( $this->options['theme'] == TOC_THEME_TRANSPARENT ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_TRANSPARENT; ?>"> <?php _e('Transparent', 'toc+'); ?><br />
+ <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_TRANSPARENT; ?>" value="<?php echo TOC_THEME_TRANSPARENT; ?>"<?php if ( $this->options['theme'] == TOC_THEME_TRANSPARENT ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_TRANSPARENT; ?>"> <?php _e('Transparent', 'table-of-contents-plus'); ?><br />
<img src="<?php echo $this->path; ?>/images/transparent.png" alt="" />
</label>
</div>
<div class="toc_theme_option">
- <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_CUSTOM; ?>" value="<?php echo TOC_THEME_CUSTOM; ?>"<?php if ( $this->options['theme'] == TOC_THEME_CUSTOM ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_CUSTOM; ?>"> <?php _e('Custom', 'toc+'); ?><br />
+ <input type="radio" name="theme" id="theme_<?php echo TOC_THEME_CUSTOM; ?>" value="<?php echo TOC_THEME_CUSTOM; ?>"<?php if ( $this->options['theme'] == TOC_THEME_CUSTOM ) echo ' checked="checked"'; ?> /><label for="theme_<?php echo TOC_THEME_CUSTOM; ?>"> <?php _e('Custom', 'table-of-contents-plus'); ?><br />
<img src="<?php echo $this->path; ?>/images/custom.png" alt="" />
</label>
</div>
@@ -871,69 +889,69 @@ if ( !class_exists( 'toc' ) ) :
<table id="theme_custom" class="more_toc_options_table">
<tbody>
<tr>
- <th><label for="custom_background_colour"><?php _e('Background', 'toc+'); ?></label></th>
+ <th><label for="custom_background_colour"><?php _e('Background', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="custom_colour_option" value="<?php echo htmlentities( $this->options['custom_background_colour'] ); ?>" id="custom_background_colour" name="custom_background_colour" /> <img src="<?php echo $this->path; ?>/images/colour-wheel.png" alt="" /></td>
</tr>
<tr>
- <th><label for="custom_border_colour"><?php _e('Border', 'toc+'); ?></label></th>
+ <th><label for="custom_border_colour"><?php _e('Border', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="custom_colour_option" value="<?php echo htmlentities( $this->options['custom_border_colour'] ); ?>" id="custom_border_colour" name="custom_border_colour" /> <img src="<?php echo $this->path; ?>/images/colour-wheel.png" alt="" /></td>
</tr>
<tr>
- <th><label for="custom_title_colour"><?php _e('Title', 'toc+'); ?></label></th>
+ <th><label for="custom_title_colour"><?php _e('Title', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="custom_colour_option" value="<?php echo htmlentities( $this->options['custom_title_colour'] ); ?>" id="custom_title_colour" name="custom_title_colour" /> <img src="<?php echo $this->path; ?>/images/colour-wheel.png" alt="" /></td>
</tr>
<tr>
- <th><label for="custom_links_colour"><?php _e('Links', 'toc+'); ?></label></th>
+ <th><label for="custom_links_colour"><?php _e('Links', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="custom_colour_option" value="<?php echo htmlentities( $this->options['custom_links_colour'] ); ?>" id="custom_links_colour" name="custom_links_colour" /> <img src="<?php echo $this->path; ?>/images/colour-wheel.png" alt="" /></td>
</tr>
<tr>
- <th><label for="custom_links_hover_colour"><?php _e('Links (hover)', 'toc+'); ?></label></th>
+ <th><label for="custom_links_hover_colour"><?php _e('Links (hover)', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="custom_colour_option" value="<?php echo htmlentities( $this->options['custom_links_hover_colour'] ); ?>" id="custom_links_hover_colour" name="custom_links_hover_colour" /> <img src="<?php echo $this->path; ?>/images/colour-wheel.png" alt="" /></td>
</tr>
<tr>
- <th><label for="custom_links_visited_colour"><?php _e('Links (visited)', 'toc+'); ?></label></th>
+ <th><label for="custom_links_visited_colour"><?php _e('Links (visited)', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="custom_colour_option" value="<?php echo htmlentities( $this->options['custom_links_visited_colour'] ); ?>" id="custom_links_visited_colour" name="custom_links_visited_colour" /> <img src="<?php echo $this->path; ?>/images/colour-wheel.png" alt="" /></td>
</tr>
</tbody>
</table>
<div id="farbtastic_colour_wheel"></div>
<div class="clear"></div>
- <p><?php printf(__("Leaving the value as %s will inherit your theme's styles", 'toc+'), '<code>#</code>'); ?></p>
+ <p><?php printf(__("Leaving the value as %s will inherit your theme's styles", 'table-of-contents-plus'), '<code>#</code>'); ?></p>
</div>
</td>
</tr>
</tbody>
</table>
-<h3><?php _e('Advanced', 'toc+'); ?> <span class="show_hide">(<a href="#toc_advanced_usage"><?php _e('show', 'toc+'); ?></a>)</span></h3>
+<h3><?php _e('Advanced', 'table-of-contents-plus'); ?> <span class="show_hide">(<a href="#toc_advanced_usage"><?php _e('show', 'table-of-contents-plus'); ?></a>)</span></h3>
<div id="toc_advanced_usage">
- <h4><?php _e('Power options', 'toc+'); ?></h4>
+ <h4><?php _e('Power options', 'table-of-contents-plus'); ?></h4>
<table class="form-table">
<tbody>
<tr>
- <th><label for="lowercase"><?php _e('Lowercase', 'toc+'); ?></label></th>
- <td><input type="checkbox" value="1" id="lowercase" name="lowercase"<?php if ( $this->options['lowercase'] ) echo ' checked="checked"'; ?> /><label for="lowercase"> <?php _e('Ensure anchors are in lowercase', 'toc+'); ?></label></td>
+ <th><label for="lowercase"><?php _e('Lowercase', 'table-of-contents-plus'); ?></label></th>
+ <td><input type="checkbox" value="1" id="lowercase" name="lowercase"<?php if ( $this->options['lowercase'] ) echo ' checked="checked"'; ?> /><label for="lowercase"> <?php _e('Ensure anchors are in lowercase', 'table-of-contents-plus'); ?></label></td>
</tr>
<tr>
- <th><label for="hyphenate"><?php _e('Hyphenate', 'toc+'); ?></label></th>
- <td><input type="checkbox" value="1" id="hyphenate" name="hyphenate"<?php if ( $this->options['hyphenate'] ) echo ' checked="checked"'; ?> /><label for="hyphenate"> <?php _e('Use - rather than _ in anchors', 'toc+'); ?></label></td>
+ <th><label for="hyphenate"><?php _e('Hyphenate', 'table-of-contents-plus'); ?></label></th>
+ <td><input type="checkbox" value="1" id="hyphenate" name="hyphenate"<?php if ( $this->options['hyphenate'] ) echo ' checked="checked"'; ?> /><label for="hyphenate"> <?php _e('Use - rather than _ in anchors', 'table-of-contents-plus'); ?></label></td>
</tr>
<tr>
- <th><label for="include_homepage"><?php _e('Include homepage', 'toc+'); ?></label></th>
- <td><input type="checkbox" value="1" id="include_homepage" name="include_homepage"<?php if ( $this->options['include_homepage'] ) echo ' checked="checked"'; ?> /><label for="include_homepage"> <?php _e('Show the table of contents for qualifying items on the homepage', 'toc+'); ?></label></td>
+ <th><label for="include_homepage"><?php _e('Include homepage', 'table-of-contents-plus'); ?></label></th>
+ <td><input type="checkbox" value="1" id="include_homepage" name="include_homepage"<?php if ( $this->options['include_homepage'] ) echo ' checked="checked"'; ?> /><label for="include_homepage"> <?php _e('Show the table of contents for qualifying items on the homepage', 'table-of-contents-plus'); ?></label></td>
</tr>
<tr>
- <th><label for="exclude_css"><?php _e('Exclude CSS file', 'toc+'); ?></label></th>
- <td><input type="checkbox" value="1" id="exclude_css" name="exclude_css"<?php if ( $this->options['exclude_css'] ) echo ' checked="checked"'; ?> /><label for="exclude_css"> <?php _e("Prevent the loading of this plugin's CSS styles. When selected, the appearance options from above will also be ignored.", 'toc+'); ?></label></td>
+ <th><label for="exclude_css"><?php _e('Exclude CSS file', 'table-of-contents-plus'); ?></label></th>
+ <td><input type="checkbox" value="1" id="exclude_css" name="exclude_css"<?php if ( $this->options['exclude_css'] ) echo ' checked="checked"'; ?> /><label for="exclude_css"> <?php _e("Prevent the loading of this plugin's CSS styles. When selected, the appearance options from above will also be ignored.", 'table-of-contents-plus'); ?></label></td>
</tr>
<tr>
- <th><label for="bullet_spacing"><?php _e('Preserve theme bullets', 'toc+'); ?></label></th>
- <td><input type="checkbox" value="1" id="bullet_spacing" name="bullet_spacing"<?php if ( $this->options['bullet_spacing'] ) echo ' checked="checked"'; ?> /><label for="bullet_spacing"> <?php _e('If your theme includes background images for unordered list elements, enable this to support them', 'toc+'); ?></label></td>
+ <th><label for="bullet_spacing"><?php _e('Preserve theme bullets', 'table-of-contents-plus'); ?></label></th>
+ <td><input type="checkbox" value="1" id="bullet_spacing" name="bullet_spacing"<?php if ( $this->options['bullet_spacing'] ) echo ' checked="checked"'; ?> /><label for="bullet_spacing"> <?php _e('If your theme includes background images for unordered list elements, enable this to support them', 'table-of-contents-plus'); ?></label></td>
</tr>
<tr>
- <th><?php _e('Heading levels', 'toc+'); ?></th>
+ <th><?php _e('Heading levels', 'table-of-contents-plus'); ?></th>
<td>
- <p><?php _e('Include the following heading levels. Deselecting a heading will exclude it.', 'toc+'); ?></p>
+ <p><?php _e('Include the following heading levels. Deselecting a heading will exclude it.', 'table-of-contents-plus'); ?></p>
<?php
// show heading 1 to 6 options
for ($i = 1; $i <= 6; $i++) {
@@ -945,43 +963,43 @@ if ( !class_exists( 'toc' ) ) :
</td>
</tr>
<tr>
- <th><label for="exclude"><?php _e('Exclude headings', 'toc+'); ?></label></th>
+ <th><label for="exclude"><?php _e('Exclude headings', 'table-of-contents-plus'); ?></label></th>
<td>
<input type="text" class="regular-text" value="<?php echo htmlentities( $this->options['exclude'], ENT_COMPAT, 'UTF-8' ); ?>" id="exclude" name="exclude" style="width: 100%;" /><br />
- <label for="exclude"><?php _e('Specify headings to be excluded from appearing in the table of contents. Separate multiple headings with a pipe <code>|</code>. Use an asterisk <code>*</code> as a wildcard to match other text. Note that this is not case sensitive. Some examples:', 'toc+'); ?></label><br/>
+ <label for="exclude"><?php _e('Specify headings to be excluded from appearing in the table of contents. Separate multiple headings with a pipe <code>|</code>. Use an asterisk <code>*</code> as a wildcard to match other text. Note that this is not case sensitive. Some examples:', 'table-of-contents-plus'); ?></label><br/>
<ul>
- <li><?php _e('<code>Fruit*</code> ignore headings starting with "Fruit"', 'toc+'); ?></li>
- <li><?php _e('<code>*Fruit Diet*</code> ignore headings with "Fruit Diet" somewhere in the heading', 'toc+'); ?></li>
- <li><?php _e('<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are exactly "Apple Tree", "Oranges" or "Yellow Bananas"', 'toc+'); ?></li>
+ <li><?php _e('<code>Fruit*</code> ignore headings starting with "Fruit"', 'table-of-contents-plus'); ?></li>
+ <li><?php _e('<code>*Fruit Diet*</code> ignore headings with "Fruit Diet" somewhere in the heading', 'table-of-contents-plus'); ?></li>
+ <li><?php _e('<code>Apple Tree|Oranges|Yellow Bananas</code> ignore headings that are exactly "Apple Tree", "Oranges" or "Yellow Bananas"', 'table-of-contents-plus'); ?></li>
</ul>
</td>
</tr>
<tr id="smooth_scroll_offset_tr" class="<?php if ( !$this->options['smooth_scroll'] ) echo 'disabled'; ?>">
- <th><label for="smooth_scroll_offset"><?php _e('Smooth scroll top offset', 'toc+'); ?></label></th>
+ <th><label for="smooth_scroll_offset"><?php _e('Smooth scroll top offset', 'table-of-contents-plus'); ?></label></th>
<td>
<input type="text" class="regular-text" value="<?php echo intval($this->options['smooth_scroll_offset']); ?>" id="smooth_scroll_offset" name="smooth_scroll_offset" /> px<br />
- <label for="smooth_scroll_offset"><?php _e('If you have a consistent menu across the top of your site, you can adjust the top offset to stop the headings from appearing underneath the top menu. A setting of 30 accommodates the WordPress admin bar. This setting appears after you have enabled smooth scrolling from above.', 'toc+'); ?></label>
+ <label for="smooth_scroll_offset"><?php _e('If you have a consistent menu across the top of your site, you can adjust the top offset to stop the headings from appearing underneath the top menu. A setting of 30 accommodates the WordPress admin bar. This setting appears after you have enabled smooth scrolling from above.', 'table-of-contents-plus'); ?></label>
</td>
</tr>
<tr>
- <th><label for="restrict_path"><?php _e('Restrict path', 'toc+'); ?></label></th>
+ <th><label for="restrict_path"><?php _e('Restrict path', 'table-of-contents-plus'); ?></label></th>
<td>
<input type="text" class="regular-text" value="<?php echo htmlentities( $this->options['restrict_path'], ENT_COMPAT, 'UTF-8' ); ?>" id="restrict_path" name="restrict_path" /><br />
- <label for="restrict_path"><?php _e('Restrict generation of the table of contents to pages that match the required path. This path is from the root of your site and always begins with a forward slash.', 'toc+'); ?><br />
+ <label for="restrict_path"><?php _e('Restrict generation of the table of contents to pages that match the required path. This path is from the root of your site and always begins with a forward slash.', 'table-of-contents-plus'); ?><br />
<span class="description"><?php
/* translators: example URL path restriction */
- _e('Eg: /wiki/, /corporate/annual-reports/', 'toc+'); ?></span></label>
+ _e('Eg: /wiki/, /corporate/annual-reports/', 'table-of-contents-plus'); ?></span></label>
</td>
</tr>
<tr>
- <th><label for="fragment_prefix"><?php _e('Default anchor prefix', 'toc+'); ?></label></th>
+ <th><label for="fragment_prefix"><?php _e('Default anchor prefix', 'table-of-contents-plus'); ?></label></th>
<td>
<input type="text" class="regular-text" value="<?php echo htmlentities( $this->options['fragment_prefix'], ENT_COMPAT, 'UTF-8' ); ?>" id="fragment_prefix" name="fragment_prefix" /><br />
- <label for="fragment_prefix"><?php _e('Anchor targets are restricted to alphanumeric characters as per HTML specification (see readme for more detail). The default anchor prefix will be used when no characters qualify. When left blank, a number will be used instead.', 'toc+'); ?><br />
- <?php _e('This option normally applies to content written in character sets other than ASCII.', 'toc+'); ?><br />
+ <label for="fragment_prefix"><?php _e('Anchor targets are restricted to alphanumeric characters as per HTML specification (see readme for more detail). The default anchor prefix will be used when no characters qualify. When left blank, a number will be used instead.', 'table-of-contents-plus'); ?><br />
+ <?php _e('This option normally applies to content written in character sets other than ASCII.', 'table-of-contents-plus'); ?><br />
<span class="description"><?php
/* translators: example anchor prefixes when no ascii characters match */
- _e('Eg: i, toc_index, index, _', 'toc+'); ?></span></label>
+ _e('Eg: i, toc_index, index, _', 'table-of-contents-plus'); ?></span></label>
</td>
</tr>
</tbody>
@@ -989,8 +1007,8 @@ if ( !class_exists( 'toc' ) ) :
<h4><?php
/* translators: advanced usage */
- _e('Usage', 'toc+'); ?></h4>
- <p><?php printf(__('If you would like to fully customise the position of the table of contents, you can use the %s shortcode by placing it at the desired position of your post, page or custom post type. This method allows you to generate the table of contents despite having auto insertion disabled for its content type. Please visit the help tab for further information about this shortcode.', 'toc+'), '<code>[toc]</code>'); ?></p>
+ _e('Usage', 'table-of-contents-plus'); ?></h4>
+ <p><?php printf(__('If you would like to fully customise the position of the table of contents, you can use the %s shortcode by placing it at the desired position of your post, page or custom post type. This method allows you to generate the table of contents despite having auto insertion disabled for its content type. Please visit the help tab for further information about this shortcode.', 'table-of-contents-plus'), '<code>[toc]</code>'); ?></p>
</div>
@@ -998,22 +1016,22 @@ if ( !class_exists( 'toc' ) ) :
<div id="tab2" class="tab_content">
-<p><?php printf(__('At its simplest, placing %s into a page will automatically create a sitemap of all pages and categories. This also works in a text widget.', 'toc+'), '<code>[sitemap]</code>'); ?></p>
+<p><?php printf(__('At its simplest, placing %s into a page will automatically create a sitemap of all pages and categories. This also works in a text widget.', 'table-of-contents-plus'), '<code>[sitemap]</code>'); ?></p>
<table class="form-table">
<tbody>
<tr>
- <th><label for="sitemap_show_page_listing"><?php _e('Show page listing', 'toc+'); ?></label></th>
+ <th><label for="sitemap_show_page_listing"><?php _e('Show page listing', 'table-of-contents-plus'); ?></label></th>
<td><input type="checkbox" value="1" id="sitemap_show_page_listing" name="sitemap_show_page_listing"<?php if ( $this->options['sitemap_show_page_listing'] ) echo ' checked="checked"'; ?> /></td>
</tr>
<tr>
- <th><label for="sitemap_show_category_listing"><?php _e('Show category listing', 'toc+'); ?></label></th>
+ <th><label for="sitemap_show_category_listing"><?php _e('Show category listing', 'table-of-contents-plus'); ?></label></th>
<td><input type="checkbox" value="1" id="sitemap_show_category_listing" name="sitemap_show_category_listing"<?php if ( $this->options['sitemap_show_category_listing'] ) echo ' checked="checked"'; ?> /></td>
</tr>
<tr>
- <th><label for="sitemap_heading_type"><?php _e('Heading type', 'toc+'); ?></label></th>
+ <th><label for="sitemap_heading_type"><?php _e('Heading type', 'table-of-contents-plus'); ?></label></th>
<td><label for="sitemap_heading_type"><?php
/* translators: the full line is supposed to read - Use [1-6 drop down list] to print out the titles */
- _e('Use', 'toc+'); ?> h</label><select name="sitemap_heading_type" id="sitemap_heading_type">
+ _e('Use', 'table-of-contents-plus'); ?> h</label><select name="sitemap_heading_type" id="sitemap_heading_type">
<?php
// h1 to h6
for ($i = 1; $i <= 6; $i++) {
@@ -1024,188 +1042,32 @@ if ( !class_exists( 'toc' ) ) :
?>
</select> <?php
/* translators: the full line is supposed to read - Use [h1-h6 drop down list] to print out the titles */
- _e('to print out the titles', 'toc+'); ?>
+ _e('to print out the titles', 'table-of-contents-plus'); ?>
</td>
</tr>
<tr>
- <th><label for="sitemap_pages"><?php _e('Pages label', 'toc+'); ?></label></th>
+ <th><label for="sitemap_pages"><?php _e('Pages label', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="regular-text" value="<?php echo htmlentities( $this->options['sitemap_pages'], ENT_COMPAT, 'UTF-8' ); ?>" id="sitemap_pages" name="sitemap_pages" />
- <span class="description"><?php _e('Eg: Pages, Page List', 'toc+'); ?></span>
+ <span class="description"><?php _e('Eg: Pages, Page List', 'table-of-contents-plus'); ?></span>
</td>
</tr>
<tr>
- <th><label for="sitemap_categories"><?php _e('Categories label', 'toc+'); ?></label></th>
+ <th><label for="sitemap_categories"><?php _e('Categories label', 'table-of-contents-plus'); ?></label></th>
<td><input type="text" class="regular-text" value="<?php echo htmlentities( $this->options['sitemap_categories'], ENT_COMPAT, 'UTF-8' ); ?>" id="sitemap_categories" name="sitemap_categories" />
- <span class="description"><?php _e('Eg: Categories, Category List', 'toc+'); ?></span>
+ <span class="description"><?php _e('Eg: Categories, Category List', 'table-of-contents-plus'); ?></span>
</td>
</tr>
</tbody>
</table>
-<h3><?php _e('Advanced usage', 'toc+'); ?> <span class="show_hide">(<a href="#sitemap_advanced_usage"><?php _e('show', 'toc+'); ?></a>)</span></h3>
+<h3><?php _e('Advanced usage', 'table-of-contents-plus'); ?> <span class="show_hide">(<a href="#sitemap_advanced_usage"><?php _e('show', 'table-of-contents-plus'); ?></a>)</span></h3>
<div id="sitemap_advanced_usage">
- <p><code>[sitemap_pages]</code> <?php printf(__('lets you print out a listing of only pages. Similarly %s can be used to print out a category listing. They both can accept a number of attributes so visit the help tab for more information.', 'toc+'), '<code>[sitemap_categories]</code>'); ?></p>
- <p><?php _e('Examples', 'toc+'); ?></p>
- <ol>
- <li><code>[sitemap_categories no_label="true"]</code> <?php _e('hides the heading from a category listing', 'toc+'); ?></li>
- <li><code>[sitemap_pages heading="6" label="This is an awesome listing" exclude="1,15"]</code> <?php printf(__('Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15', 'toc+'), '<em>This is an awesome listing</em>'); ?></li>
- </ol>
-</div>
-
-
- </div>
- <div id="tab3" class="tab_content">
-
-<h3><?php _e("Where's my table of contents?", 'toc+'); ?></h3>
-<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>
-<ol>
- <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>
- <li><?php _e('Is auto insertion enabled for your content type? By default, only pages are enabled.', 'toc+'); ?></li>
- <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>
- <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>
- <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>
-</ol>
-
-<h3><?php _e('How do I stop the table of contents from appearing on a single page?', 'toc+'); ?></h3>
-<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>
-
-<h3><?php _e("I've set wrapping to left or right but the headings don't wrap around the table of contents", 'toc+'); ?></h3>
-<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>
-<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>
-<p><?php
-/* translators: CSS code follows after this line */
-_e('Try adding the following CSS to allow the wrapping to occur around the table of contents:', 'toc+'); ?></p>
-<code>
-h1, h2, h3, h4, h5, h6 { clear: none; }
-</code>
-
-<h3><?php _e('How do I include the name of the page in the table of contents title?', 'toc+'); ?></h3>
-<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>
-<code>%PAGE_NAME%</code>
-<p><?php _e('You can use it as is or place text either side of the variable.', 'toc+'); ?></p>
-<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>
-
-<h3><?php _e('The sitemap uses a strange font dissimilar to the rest of the site', 'toc+'); ?></h3>
-<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>
-<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>
-
-<h3><?php _e('What were those shortcodes and attributes again?', 'toc+'); ?></h3>
-<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>
-<table id="shortcode_table">
-<thead>
-<tr>
- <th><?php _e('Shortcode', 'toc+'); ?></th>
- <th><?php _e('Description', 'toc+'); ?></th>
- <th><?php _e('Attributes', 'toc+'); ?></th>
-</tr>
-</thead>
-<tbody>
-<tr>
- <td>[toc]</td>
- <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>
- <td>
- <ul>
- <li><strong>label</strong>: <?php _e('text, title of the table of contents', 'toc+'); ?></li>
- <li><strong>no_label</strong>: <?php _e('true/false, shows or hides the title', 'toc+'); ?></li>
- <li><strong>wrapping</strong>: <?php _e('text, either "left" or "right"', 'toc+'); ?></li>
- <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>
- <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>
- <li><strong>class</strong>: <?php _e('text, enter CSS classes to be added to the container. Separate multiple classes with a space.', 'toc+'); ?></li>
- </ul>
- </td>
-</tr>
-<tr>
- <td>[no_toc]</td>
- <td><?php _e('Allows you to disable the table of contents for the current post, page, or custom post type.', 'toc+'); ?></td>
- <td>&nbsp;</td>
-</tr>
-<tr>
- <td>[sitemap]</td>
- <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>
- <td>&nbsp;</td>
-</tr>
-<tr>
- <td>[sitemap_pages]</td>
- <td><?php _e('Lets you print out a listing of only pages.', 'toc+'); ?></td>
- <td>
- <ul>
- <li><strong>heading</strong>: <?php _e('number between 1 and 6, defines which html heading to use', 'toc+'); ?></li>
- <li><strong>label</strong>: <?php _e('text, title of the list', 'toc+'); ?></li>
- <li><strong>no_label</strong>: <?php _e('true/false, shows or hides the list heading', 'toc+'); ?></li>
- <li><strong>exclude</strong>: <?php _e('IDs of the pages or categories you wish to exclude', 'toc+'); ?></li>
- <li><strong>exclude_tree</strong>: <?php _e('ID of the page or category you wish to exclude including its all descendants', 'toc+'); ?></li>
- </ul>
- </td>
-</tr>
-<tr>
- <td>[sitemap_categories]</td>
- <td><?php _e('Similar to [sitemap_pages] but for categories.', 'toc+'); ?></td>
- <td>&nbsp;</td>
-</tr>
-<tr>
- <td>[sitemap_posts]</td>
- <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>
- <td>
- <ul>
- <li><strong>order</strong>: <?php _e('text, either ASC or DESC', 'toc+'); ?></li>
- <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>
- <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>
- </ul>
- </td>
-</tr>
-
-</tbody>
-</table>
-
-<h3><?php _e('I have another question...', 'toc+'); ?></h3>
-<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>
-
-<h3><?php _e('For developers', 'toc+'); ?> <span class="show_hide">(<a href="#toc_for_developers"><?php _e('show', 'toc+'); ?></a>)</span></h3>
-<div id="toc_for_developers">
- <h4><?php _e('How do I customise my anchors?', 'toc+'); ?></h4>
- <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>
- <pre>
-function my_custom_anchor( $anchor )
-{
- return strtoupper( $anchor );
-}
-add_filter( 'toc_url_anchor_target', 'my_custom_anchor' );
- </pre>
-
- <h4>toc_get_index( $content = '', $prefix_url = '' )</h4>
- <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>
- <p><?php _e('Both parameters are optional:', 'toc+'); ?></p>
- <ul>
- <li><code>$content</code> <?php
- /* translators: this explains the $content parameter */
- _e('is the entire content with headings. If blank, will default to the current content found in $post (eg within "the loop").', 'toc+'); ?></li>
- <li><code>$prefix_url</code> <?php
- /* translators: this explains the $prefix_url parameter */
- _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>
- </ul>
- <p><?php _e('These examples assume you are within "the loop":', 'toc+'); ?></p>
+ <p><code>[sitemap_pages]</code> <?php printf(__('lets you print out a listing of only pages. Similarly %s can be used to print out a category listing. They both can accept a number of attributes so visit the help tab for more information.', 'table-of-contents-plus'), '<code>[sitemap_categories]</code>'); ?></p>
+ <p><?php _e('Examples', 'table-of-contents-plus'); ?></p>
<ol>
- <li><?php _e('Obtain the index for the current page', 'toc+'); ?>
- <pre>echo '&lt;ul id="my_toc"&gt;' . toc_get_index() . '&lt;/ul&gt;';</pre>
- </li>
- <li><?php _e('Create a listing of all children and their headings', 'toc+'); ?>
- <pre>
-$children = new WP_Query(array(
- 'post_parent' => get_the_ID(),
- 'posts_per_page' => -1 // get all children
-));
-while ( $children->have_posts() ) {
- $children->the_post();
- echo
- '&lt;h3&gt;' . get_the_title() . '&lt;/h3&gt;' .
- '&lt;ul&gt;' . toc_get_index( get_the_content(), get_permalink( $children->post->ID ) ) . '&lt;/ul&gt;'
- ;
-}
-wp_reset_postdata();
- </pre>
- </li>
+ <li><code>[sitemap_categories no_label="true"]</code> <?php _e('hides the heading from a category listing', 'table-of-contents-plus'); ?></li>
+ <li><code>[sitemap_pages heading="6" label="This is an awesome listing" exclude="1,15"]</code> <?php printf(__('Uses h6 to display %s on a page listing excluding pages with IDs 1 and 15', 'table-of-contents-plus'), '<em>This is an awesome listing</em>'); ?></li>
</ol>
-
</div>
@@ -1213,7 +1075,7 @@ wp_reset_postdata();
</div>
-<p class="submit"><input type="submit" name="submit" class="button-primary" value="<?php _e('Update Options', 'toc+'); ?>" /></p>
+<p class="submit"><input type="submit" name="submit" class="button-primary" value="<?php _e('Update Options', 'table-of-contents-plus'); ?>" /></p>
</form>
</div>
<?php
@@ -1271,6 +1133,9 @@ wp_reset_postdata();
if ( $title ) {
$return = trim( strip_tags($title) );
+
+ // convert accented characters to ASCII
+ $return = remove_accents( $return );
// replace newlines with spaces (eg when headings are split over multiple lines)
$return = str_replace( array("\r", "\n", "\n\r", "\r\n"), ' ', $return );
@@ -1716,14 +1581,14 @@ if ( !class_exists( 'toc_widget' ) ) :
{
$widget_options = array(
'classname' => 'toc_widget',
- 'description' => __('Display the table of contents in the sidebar with this widget', 'toc+')
+ 'description' => __('Display the table of contents in the sidebar with this widget', 'table-of-contents-plus')
);
$control_options = array(
'width' => 250,
'height' => 350,
'id_base' => 'toc-widget'
);
- $this->WP_Widget( 'toc-widget', 'TOC+', $widget_options, $control_options );
+ parent::__construct( 'toc-widget', 'TOC+', $widget_options, $control_options );
}
@@ -1745,7 +1610,7 @@ if ( !class_exists( 'toc_widget' ) ) :
extract( $args );
$items = $tic->extract_headings( $find, $replace, wptexturize($post->post_content) );
- $title = apply_filters('widget_title', $instance['title'] );
+ $title = ( array_key_exists('title', $instance) ) ? apply_filters('widget_title', $instance['title']) : '';
if ( strpos($title, '%PAGE_TITLE%') !== false ) $title = str_replace( '%PAGE_TITLE%', get_the_title(), $title );
if ( strpos($title, '%PAGE_NAME%') !== false ) $title = str_replace( '%PAGE_NAME%', get_the_title(), $title );
$hide_inline = $toc_options['show_toc_in_widget_only'];
@@ -1761,12 +1626,11 @@ if ( !class_exists( 'toc_widget' ) ) :
// before widget (defined by themes)
echo $before_widget;
- // display the widget title if one was input (before and after defined by themes)
- if ( !$title ) $title = $toc_options['heading_text'];
- echo
- $before_title . $title . $after_title .
- '<ul class="toc_widget_list' . $css_classes . '">' . $items . '</ul>'
- ;
+ // display the widget title if one was input (before and after titles defined by themes)
+ if ( $title ) echo $before_title . $title . $after_title;
+
+ // display the list
+ echo '<ul class="toc_widget_list' . $css_classes . '">' . $items . '</ul>';
// after widget (defined by themes)
echo $after_widget;
@@ -1785,7 +1649,7 @@ if ( !class_exists( 'toc_widget' ) ) :
$instance = $old_instance;
// strip tags for title to remove HTML (important for text inputs)
- $instance['title'] = strip_tags( $new_instance['title'] );
+ $instance['title'] = strip_tags( trim( $new_instance['title'] ) );
// no need to strip tags for the following
//$instance['hide_inline'] = $new_instance['hide_inline'];
@@ -1805,23 +1669,23 @@ if ( !class_exists( 'toc_widget' ) ) :
$toc_options = $tic->get_options();
$defaults = array(
- 'title' => ''
+ 'title' => $toc_options['heading_text']
);
$instance = wp_parse_args( (array)$instance, $defaults );
?>
<p>
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title', 'toc+'); ?>:</label>
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title', 'table-of-contents-plus'); ?>:</label>
<input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />
</p>
<p>
<input class="checkbox" type="checkbox" <?php checked( $toc_options['show_toc_in_widget_only'], 1 ); ?> id="<?php echo $this->get_field_id( 'hide_inline' ); ?>" name="<?php echo $this->get_field_name( 'hide_inline' ); ?>" value="1" />
- <label for="<?php echo $this->get_field_id( 'hide_inline' ); ?>"> <?php _e('Show the table of contents only in the sidebar', 'toc+'); ?></label>
+ <label for="<?php echo $this->get_field_id( 'hide_inline' ); ?>"> <?php _e('Show the table of contents only in the sidebar', 'table-of-contents-plus'); ?></label>
</p>
<div class="show_toc_in_widget_only_post_types" style="margin: 0 0 25px 25px; display: <?php echo ( $toc_options['show_toc_in_widget_only'] == 1 ) ? 'block' : 'none'; ?>;">
- <p><?php _e('For the following content types:', 'toc+'); ?></p>
+ <p><?php _e('For the following content types:', 'table-of-contents-plus'); ?></p>
<?php
foreach (get_post_types() as $post_type) {