Easy Table of Contents - Version 1.3

Version Description

Requires WordPress >

Download this release

Release Info

Developer shazahm1@hotmail.com
Plugin Icon 128x128 Easy Table of Contents
Version 1.3
Comparing to
See all releases

Code changes from version 1.2 to 1.3

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: table of contents, toc
5
  Requires at least: 4.3
6
  Tested up to: 4.9
7
  Requires PHP: 5.3
8
- Stable tag: 1.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -90,6 +90,14 @@ Easy Table Contents is a fork of the excellent [Table of Contents Plus](https://
90
 
91
  == Changelog ==
92
 
 
 
 
 
 
 
 
 
93
  = 1.2 04/29/2016 =
94
  * TWEAK: Remove the font family from styling the TOC title header.
95
  * TWEAK: Pass the raw title to the `ez_toc_title` filter.
@@ -189,3 +197,6 @@ You can nest up 6 levels deep if needed. I hope this helps you understand how to
189
 
190
  = 1.0 =
191
  Initial release.
 
 
 
5
  Requires at least: 4.3
6
  Tested up to: 4.9
7
  Requires PHP: 5.3
8
+ Stable tag: 1.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
90
 
91
  == Changelog ==
92
 
93
+ = 1.3 12/18/1017 =
94
+ * FEATURE: Add support for the `[ez-toc]` shortcode.
95
+ * NEW: For backwards compatibility with "Table of Content Plus", register the `[toc]` shortcode.
96
+ * NEW: Introduce the `ez_toc_extract_headings_content` filter.
97
+ * TWEAK: Update the tested to and required readme header text.
98
+ * TWEAK: Do not show the widget on the 404, archive, search and posts pages.
99
+ * I18N: Add the nl_NL translation.
100
+
101
  = 1.2 04/29/2016 =
102
  * TWEAK: Remove the font family from styling the TOC title header.
103
  * TWEAK: Pass the raw title to the `ez_toc_title` filter.
197
 
198
  = 1.0 =
199
  Initial release.
200
+
201
+ = 1.3 =
202
+ Requires WordPress >= 4.4 and PHP >= 5.3. PHP version >= 7.1 recommended.
easy-table-of-contents.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Easy Table of Contents
4
  * Plugin URI: http://connections-pro.com/
5
  * Description: Adds a user friendly and fully automatic way to create and display a table of contents generated from the page content.
6
- * Version: 1.2
7
  * Author: Steven A. Zahm
8
  * Author URI: http://connections-pro.com/
9
- * Text Domain: ez_toc
10
- * Domain Path: languages
11
  *
12
- * Copyright 2016 Steven A. Zahm ( email : helpdesk@connections-pro.com )
13
  *
14
  * Easy Table of Contents is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License, version 2, as
@@ -26,7 +26,7 @@
26
  * @package Easy Table of Contents
27
  * @category Plugin
28
  * @author Steven A. Zahm
29
- * @version 1.2
30
  */
31
 
32
  // Exit if accessed directly
@@ -45,7 +45,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
45
  * @since 1.0
46
  * @var string
47
  */
48
- const VERSION = '1.2';
49
 
50
  /**
51
  * Stores the instance of this class.
@@ -94,6 +94,8 @@ if ( ! class_exists( 'ezTOC' ) ) {
94
  self::includes();
95
  self::hooks();
96
  }
 
 
97
  }
98
 
99
  /**
@@ -145,6 +147,8 @@ if ( ! class_exists( 'ezTOC' ) ) {
145
 
146
  // Run after shortcodes are interpreted (priority 10).
147
  add_filter( 'the_content', array( __CLASS__, 'the_content' ), 100 );
 
 
148
  }
149
 
150
  /**
@@ -166,7 +170,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
166
  public static function loadTextdomain() {
167
 
168
  // Plugin textdomain. This should match the one set in the plugin header.
169
- $domain = 'ez_toc';
170
 
171
  // Set filter for plugin's languages directory
172
  $languagesDirectory = apply_filters( "ez_{$domain}_languages_directory", EZ_TOC_DIR_NAME . '/languages/' );
@@ -507,8 +511,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
507
  *
508
  * This function is multibyte safe.
509
  *
510
- * $find and $replace are arrays, $string is the haystack. All variables are
511
- * passed by reference.
512
  *
513
  * @access private
514
  * @since 1.0
@@ -612,6 +615,8 @@ if ( ! class_exists( 'ezTOC' ) ) {
612
  // the head html tag, or to provide descriptions to twitter/facebook
613
  self::$collision_collector = array();
614
 
 
 
615
  if ( is_array( $find ) && is_array( $replace ) && $content ) {
616
 
617
  // get all headings
@@ -802,6 +807,8 @@ if ( ! class_exists( 'ezTOC' ) ) {
802
  *
803
  * Search an array recursively for a value.
804
  *
 
 
805
  * @param $search
806
  * @param array $array
807
  * @param string $mode
@@ -845,8 +852,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
845
  $enabled = in_array( $type, ezTOC_Option::get( 'enabled_post_types', array() ) );
846
  $insert = in_array( $type, ezTOC_Option::get( 'auto_insert_post_types', array() ) );
847
 
848
- if ( ( ( $insert || $enabled ) &&
849
- ! is_search() && ! is_archive() && ! is_front_page() ) ||
850
  ( ezTOC_Option::get( 'include_homepage' ) && is_front_page() ) ) {
851
 
852
  if ( ezTOC_Option::get( 'restrict_path' ) ) {
@@ -898,20 +904,17 @@ if ( ! class_exists( 'ezTOC' ) ) {
898
  }
899
 
900
  /**
901
- * Callback for the `the_content` filter.
902
- *
903
- * This will add the inline table of contents page anchors to the post content. It will also insert the
904
- * table of contents inline with the post content as defined by the user defined preference.
905
  *
906
  * @access private
907
- * @since 1.0
908
  * @static
909
  *
910
- * @param string $content
911
  *
912
- * @return string
913
  */
914
- public static function the_content( $content ) {
915
 
916
  $css_classes = '';
917
 
@@ -991,16 +994,6 @@ if ( ! class_exists( 'ezTOC' ) ) {
991
  // do nothing
992
  }
993
 
994
- // bullets?
995
- //if ( ezTOC_Option::get( 'bullet_spacing' ) ) {
996
- //
997
- // $css_classes .= ' have_bullets';
998
- //
999
- //} else {
1000
- //
1001
- // $css_classes .= ' no_bullets';
1002
- //}
1003
-
1004
  if ( ezTOC_Option::get( 'css_container_class' ) ) {
1005
 
1006
  $css_classes .= ' ' . ezTOC_Option::get( 'css_container_class' );
@@ -1059,33 +1052,100 @@ if ( ! class_exists( 'ezTOC' ) ) {
1059
 
1060
  $html .= '</div>' . PHP_EOL;
1061
  }
 
1062
 
1063
- if ( count( $find ) > 0 ) {
 
1064
 
1065
- switch ( ezTOC_Option::get( 'position' ) ) {
 
1066
 
1067
- case 'top':
1068
- $content = $html . self::mb_find_replace( $find, $replace, $content );
1069
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
1070
 
1071
- case 'bottom':
1072
- $content = self::mb_find_replace( $find, $replace, $content ) . $html;
1073
- break;
1074
 
1075
- case 'after':
1076
- $replace[0] = $replace[0] . $html;
1077
- $content = self::mb_find_replace( $find, $replace, $content );
1078
- break;
1079
 
1080
- case 'before':
1081
- default:
1082
- $replace[0] = $html . $replace[0];
1083
- $content = self::mb_find_replace( $find, $replace, $content );
1084
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1085
  }
1086
 
1087
- // Enqueue the script.
1088
- wp_enqueue_script( 'ez-toc-js' );
1089
  }
1090
 
1091
  return $content;
3
  * Plugin Name: Easy Table of Contents
4
  * Plugin URI: http://connections-pro.com/
5
  * Description: Adds a user friendly and fully automatic way to create and display a table of contents generated from the page content.
6
+ * Version: 1.3
7
  * Author: Steven A. Zahm
8
  * Author URI: http://connections-pro.com/
9
+ * Text Domain: easy-table-of-contents
10
+ * Domain Path: /languages
11
  *
12
+ * Copyright 2017 Steven A. Zahm ( email : helpdesk@connections-pro.com )
13
  *
14
  * Easy Table of Contents is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License, version 2, as
26
  * @package Easy Table of Contents
27
  * @category Plugin
28
  * @author Steven A. Zahm
29
+ * @version 1.3
30
  */
31
 
32
  // Exit if accessed directly
45
  * @since 1.0
46
  * @var string
47
  */
48
+ const VERSION = '1.3';
49
 
50
  /**
51
  * Stores the instance of this class.
94
  self::includes();
95
  self::hooks();
96
  }
97
+
98
+ return self::$instance;
99
  }
100
 
101
  /**
147
 
148
  // Run after shortcodes are interpreted (priority 10).
149
  add_filter( 'the_content', array( __CLASS__, 'the_content' ), 100 );
150
+ add_shortcode( 'ez-toc', array( __CLASS__, 'shortcode' ) );
151
+ add_shortcode( 'toc', array( __CLASS__, 'shortcode' ) );
152
  }
153
 
154
  /**
170
  public static function loadTextdomain() {
171
 
172
  // Plugin textdomain. This should match the one set in the plugin header.
173
+ $domain = 'easy-table-of-contents';
174
 
175
  // Set filter for plugin's languages directory
176
  $languagesDirectory = apply_filters( "ez_{$domain}_languages_directory", EZ_TOC_DIR_NAME . '/languages/' );
511
  *
512
  * This function is multibyte safe.
513
  *
514
+ * $find and $replace are arrays, $string is the haystack. All variables are passed by reference.
 
515
  *
516
  * @access private
517
  * @since 1.0
615
  // the head html tag, or to provide descriptions to twitter/facebook
616
  self::$collision_collector = array();
617
 
618
+ $content = apply_filters( 'ez_toc_extract_headings_content', $content );
619
+
620
  if ( is_array( $find ) && is_array( $replace ) && $content ) {
621
 
622
  // get all headings
807
  *
808
  * Search an array recursively for a value.
809
  *
810
+ * @link https://stackoverflow.com/a/5427665/5351316
811
+ *
812
  * @param $search
813
  * @param array $array
814
  * @param string $mode
852
  $enabled = in_array( $type, ezTOC_Option::get( 'enabled_post_types', array() ) );
853
  $insert = in_array( $type, ezTOC_Option::get( 'auto_insert_post_types', array() ) );
854
 
855
+ if ( ( ( $insert || $enabled ) && ! is_search() && ! is_archive() && ! is_front_page() ) ||
 
856
  ( ezTOC_Option::get( 'include_homepage' ) && is_front_page() ) ) {
857
 
858
  if ( ezTOC_Option::get( 'restrict_path' ) ) {
904
  }
905
 
906
  /**
907
+ * Build the table of contents.
 
 
 
908
  *
909
  * @access private
910
+ * @since 1.3
911
  * @static
912
  *
913
+ * @param string $content The page/post content.
914
  *
915
+ * @return array
916
  */
917
+ public static function build( $content ) {
918
 
919
  $css_classes = '';
920
 
994
  // do nothing
995
  }
996
 
 
 
 
 
 
 
 
 
 
 
997
  if ( ezTOC_Option::get( 'css_container_class' ) ) {
998
 
999
  $css_classes .= ' ' . ezTOC_Option::get( 'css_container_class' );
1052
 
1053
  $html .= '</div>' . PHP_EOL;
1054
  }
1055
+ }
1056
 
1057
+ // Enqueue the script.
1058
+ wp_enqueue_script( 'ez-toc-js' );
1059
 
1060
+ return array( 'find' => $find, 'replace' => $replace, 'content' => $html );
1061
+ }
1062
 
1063
+ /**
1064
+ * Callback for the registered shortcode `[ez-toc]`
1065
+ *
1066
+ * NOTE: Shortcode is run before the callback @see ezTOC::the_content() for the `the_content` filter
1067
+ *
1068
+ * @access private
1069
+ * @since 1.3
1070
+ * @static
1071
+ *
1072
+ * @param array|string $atts Shortcode attributes array or empty string.
1073
+ * @param string $content The enclosed content (if the shortcode is used in its enclosing form)
1074
+ * @param string $tag Shortcode name.
1075
+ *
1076
+ * @return mixed
1077
+ */
1078
+ public static function shortcode( $atts, $content, $tag ) {
1079
 
1080
+ static $run = TRUE;
1081
+ $out = '';
 
1082
 
1083
+ if ( $run ) {
 
 
 
1084
 
1085
+ $id = get_the_ID();
1086
+ $args = self::build( get_the_content( $id ) );
1087
+ $out = $args['content'];
1088
+ $run = FALSE;
1089
+ }
1090
+
1091
+ return $out;
1092
+ }
1093
+
1094
+ /**
1095
+ * Callback for the `the_content` filter.
1096
+ *
1097
+ * This will add the inline table of contents page anchors to the post content. It will also insert the
1098
+ * table of contents inline with the post content as defined by the user defined preference.
1099
+ *
1100
+ * @access private
1101
+ * @since 1.0
1102
+ * @static
1103
+ *
1104
+ * @param string $content
1105
+ *
1106
+ * @return string
1107
+ */
1108
+ public static function the_content( $content ) {
1109
+
1110
+ // If the TOC was embedded in the content using the `[ez-toc]` shortcode, skip. TOC should only exist once.
1111
+ if ( strpos( $content, 'ez-toc-container' ) ) {
1112
+
1113
+ return $content;
1114
+ }
1115
+
1116
+ $args = self::build( $content );
1117
+ $find = $args['find'];
1118
+ $replace = $args['replace'];
1119
+ $html = $args['content'];
1120
+
1121
+ if ( count( $find ) > 0 ) {
1122
+
1123
+ switch ( ezTOC_Option::get( 'position' ) ) {
1124
+
1125
+ //case 'placeholder':
1126
+ // $content = self::mb_find_replace( $find, $replace, $content );
1127
+ // $content = preg_replace( '/\[toc.*\]/i', $html, $content );
1128
+ // break;
1129
+
1130
+ case 'top':
1131
+ $content = $html . self::mb_find_replace( $find, $replace, $content );
1132
+ break;
1133
+
1134
+ case 'bottom':
1135
+ $content = self::mb_find_replace( $find, $replace, $content ) . $html;
1136
+ break;
1137
+
1138
+ case 'after':
1139
+ $replace[0] = $replace[0] . $html;
1140
+ $content = self::mb_find_replace( $find, $replace, $content );
1141
+ break;
1142
+
1143
+ case 'before':
1144
+ default:
1145
+ $replace[0] = $html . $replace[0];
1146
+ $content = self::mb_find_replace( $find, $replace, $content );
1147
  }
1148
 
 
 
1149
  }
1150
 
1151
  return $content;
includes/class.admin.php CHANGED
@@ -57,7 +57,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
57
  $action[] = sprintf(
58
  '<a href="%1$s">%2$s</a>',
59
  esc_url( add_query_arg( 'page', 'table-of-contents', self_admin_url( 'options-general.php' ) ) ),
60
- esc_html__( 'Settings', 'ez_toc' )
61
  );
62
 
63
  return array_merge( $action, $links );
@@ -89,8 +89,8 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
89
 
90
  $page = add_submenu_page(
91
  'options-general.php',
92
- esc_html__( 'Table of Contents', 'ez_toc' ),
93
- esc_html__( 'Table of Contents', 'ez_toc' ),
94
  'manage_options',
95
  'table-of-contents',
96
  array( $this, 'page' )
@@ -185,7 +185,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
185
  ezTOC_Option::checkbox(
186
  array(
187
  'id' => 'disabled-toc',
188
- 'desc' => esc_html__( 'Disable the automatic insertion of the table of contents.', 'ez_toc' ),
189
  'default' => $suppress,
190
  ),
191
  $suppress
@@ -196,7 +196,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
196
  ezTOC_Option::checkbox(
197
  array(
198
  'id' => 'insert-toc',
199
- 'desc' => esc_html__( 'Insert table of contents.', 'ez_toc' ),
200
  'default' => $insert,
201
  ),
202
  $insert
@@ -208,16 +208,16 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
208
  </tr>
209
 
210
  <tr>
211
- <th scope="row"><?php esc_html_e( 'Advanced:', 'ez_toc' ); ?></th>
212
  <td>
213
  <?php
214
  ezTOC_Option::descriptive_text(
215
  array(
216
  'id' => 'exclude-desc',
217
  'name' => '',
218
- 'desc' => '<p><strong>' . esc_html__( 'NOTE:', 'ez_toc' ) . '</strong></p>' .
219
  '<ul>' .
220
- '<li>' . esc_html__( 'Using the advanced options below will override the global advanced settings.', 'ez_toc' ) . '</li>' .
221
  '</ul>',
222
  )
223
  );
@@ -226,20 +226,20 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
226
  </tr>
227
 
228
  <tr>
229
- <th scope="row"><?php esc_html_e( 'Headings:', 'ez_toc' ); ?></th>
230
  <td>
231
  <?php
232
  ezTOC_Option::checkboxgroup(
233
  array(
234
  'id' => 'heading-levels',
235
- 'desc' => esc_html__( 'Select the heading to consider when generating the table of contents. Deselecting a heading will exclude it.', 'ez_toc' ),
236
  'options' => array(
237
- '1' => __( 'Heading 1 (h1)', 'ez_toc' ),
238
- '2' => __( 'Heading 2 (h2)', 'ez_toc' ),
239
- '3' => __( 'Heading 3 (h3)', 'ez_toc' ),
240
- '4' => __( 'Heading 4 (h4)', 'ez_toc' ),
241
- '5' => __( 'Heading 5 (h5)', 'ez_toc' ),
242
- '6' => __( 'Heading 6 (h6)', 'ez_toc' ),
243
  ),
244
  'default' => array(),
245
  ),
@@ -249,13 +249,13 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
249
  </td>
250
  </tr>
251
  <tr>
252
- <th scope="row"><?php esc_html_e( 'Alternate Headings', 'ez_toc' ); ?></th>
253
  <td>
254
  <?php
255
  ezTOC_Option::textarea(
256
  array(
257
  'id' => 'alttext',
258
- 'desc' => __( 'Specify alternate table of contents header string. Add the header to be replaced and the alternate header on a single line separated with a pipe <code>|</code>. Put each additional original and alternate header on its own line.', 'ez_toc' ),
259
  'size' => 'large',
260
  'default' => '',
261
  ),
@@ -272,24 +272,24 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
272
  array(
273
  'id' => 'alttext-desc',
274
  'name' => '',
275
- 'desc' => '<p><strong>' . esc_html__( 'Examples:', 'ez_toc' ) . '</strong></p>' .
276
  '<ul>' .
277
- '<li>' . __( '<code>Level [1.1]|Alternate TOC Header</code> Replaces Level [1.1] in the table of contents with Alternate TOC Header.', 'ez_toc' ) . '</li>' .
278
  '</ul>' .
279
- '<p>' . __( '<strong>Note:</strong> This is case sensitive.', 'ez_toc' ) . '</p>',
280
  )
281
  );
282
  ?>
283
  </td>
284
  </tr>
285
  <tr>
286
- <th scope="row"><?php esc_html_e( 'Exclude Headings', 'ez_toc' ); ?></th>
287
  <td>
288
  <?php
289
  ezTOC_Option::text(
290
  array(
291
  'id' => 'exclude',
292
- 'desc' => __( '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.', 'ez_toc' ),
293
  'size' => 'large',
294
  'default' => '',
295
  ),
@@ -306,13 +306,13 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
306
  array(
307
  'id' => 'exclude-desc',
308
  'name' => '',
309
- 'desc' => '<p><strong>' . esc_html__( 'Examples:', 'ez_toc' ) . '</strong></p>' .
310
  '<ul>' .
311
- '<li>' . __( '<code>Fruit*</code> Ignore headings starting with "Fruit".', 'ez_toc' ) . '</li>' .
312
- '<li>' . __( '<code>*Fruit Diet*</code> Ignore headings with "Fruit Diet" somewhere in the heading.', 'ez_toc' ) . '</li>' .
313
- '<li>' . __( '<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are exactly "Apple Tree", "Oranges" or "Yellow Bananas".', 'ez_toc' ) . '</li>' .
314
  '</ul>' .
315
- '<p>' . __( '<strong>Note:</strong> This is not case sensitive.', 'ez_toc' ) . '</p>',
316
  )
317
  );
318
  ?>
57
  $action[] = sprintf(
58
  '<a href="%1$s">%2$s</a>',
59
  esc_url( add_query_arg( 'page', 'table-of-contents', self_admin_url( 'options-general.php' ) ) ),
60
+ esc_html__( 'Settings', 'easy-table-of-contents' )
61
  );
62
 
63
  return array_merge( $action, $links );
89
 
90
  $page = add_submenu_page(
91
  'options-general.php',
92
+ esc_html__( 'Table of Contents', 'easy-table-of-contents' ),
93
+ esc_html__( 'Table of Contents', 'easy-table-of-contents' ),
94
  'manage_options',
95
  'table-of-contents',
96
  array( $this, 'page' )
185
  ezTOC_Option::checkbox(
186
  array(
187
  'id' => 'disabled-toc',
188
+ 'desc' => esc_html__( 'Disable the automatic insertion of the table of contents.', 'easy-table-of-contents' ),
189
  'default' => $suppress,
190
  ),
191
  $suppress
196
  ezTOC_Option::checkbox(
197
  array(
198
  'id' => 'insert-toc',
199
+ 'desc' => esc_html__( 'Insert table of contents.', 'easy-table-of-contents' ),
200
  'default' => $insert,
201
  ),
202
  $insert
208
  </tr>
209
 
210
  <tr>
211
+ <th scope="row"><?php esc_html_e( 'Advanced:', 'easy-table-of-contents' ); ?></th>
212
  <td>
213
  <?php
214
  ezTOC_Option::descriptive_text(
215
  array(
216
  'id' => 'exclude-desc',
217
  'name' => '',
218
+ 'desc' => '<p><strong>' . esc_html__( 'NOTE:', 'easy-table-of-contents' ) . '</strong></p>' .
219
  '<ul>' .
220
+ '<li>' . esc_html__( 'Using the advanced options below will override the global advanced settings.', 'easy-table-of-contents' ) . '</li>' .
221
  '</ul>',
222
  )
223
  );
226
  </tr>
227
 
228
  <tr>
229
+ <th scope="row"><?php esc_html_e( 'Headings:', 'easy-table-of-contents' ); ?></th>
230
  <td>
231
  <?php
232
  ezTOC_Option::checkboxgroup(
233
  array(
234
  'id' => 'heading-levels',
235
+ 'desc' => esc_html__( 'Select the heading to consider when generating the table of contents. Deselecting a heading will exclude it.', 'easy-table-of-contents' ),
236
  'options' => array(
237
+ '1' => __( 'Heading 1 (h1)', 'easy-table-of-contents' ),
238
+ '2' => __( 'Heading 2 (h2)', 'easy-table-of-contents' ),
239
+ '3' => __( 'Heading 3 (h3)', 'easy-table-of-contents' ),
240
+ '4' => __( 'Heading 4 (h4)', 'easy-table-of-contents' ),
241
+ '5' => __( 'Heading 5 (h5)', 'easy-table-of-contents' ),
242
+ '6' => __( 'Heading 6 (h6)', 'easy-table-of-contents' ),
243
  ),
244
  'default' => array(),
245
  ),
249
  </td>
250
  </tr>
251
  <tr>
252
+ <th scope="row"><?php esc_html_e( 'Alternate Headings', 'easy-table-of-contents' ); ?></th>
253
  <td>
254
  <?php
255
  ezTOC_Option::textarea(
256
  array(
257
  'id' => 'alttext',
258
+ 'desc' => __( 'Specify alternate table of contents header string. Add the header to be replaced and the alternate header on a single line separated with a pipe <code>|</code>. Put each additional original and alternate header on its own line.', 'easy-table-of-contents' ),
259
  'size' => 'large',
260
  'default' => '',
261
  ),
272
  array(
273
  'id' => 'alttext-desc',
274
  'name' => '',
275
+ 'desc' => '<p><strong>' . esc_html__( 'Examples:', 'easy-table-of-contents' ) . '</strong></p>' .
276
  '<ul>' .
277
+ '<li>' . __( '<code>Level [1.1]|Alternate TOC Header</code> Replaces Level [1.1] in the table of contents with Alternate TOC Header.', 'easy-table-of-contents' ) . '</li>' .
278
  '</ul>' .
279
+ '<p>' . __( '<strong>Note:</strong> This is case sensitive.', 'easy-table-of-contents' ) . '</p>',
280
  )
281
  );
282
  ?>
283
  </td>
284
  </tr>
285
  <tr>
286
+ <th scope="row"><?php esc_html_e( 'Exclude Headings', 'easy-table-of-contents' ); ?></th>
287
  <td>
288
  <?php
289
  ezTOC_Option::text(
290
  array(
291
  'id' => 'exclude',
292
+ 'desc' => __( '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.', 'easy-table-of-contents' ),
293
  'size' => 'large',
294
  'default' => '',
295
  ),
306
  array(
307
  'id' => 'exclude-desc',
308
  'name' => '',
309
+ 'desc' => '<p><strong>' . esc_html__( 'Examples:', 'easy-table-of-contents' ) . '</strong></p>' .
310
  '<ul>' .
311
+ '<li>' . __( '<code>Fruit*</code> Ignore headings starting with "Fruit".', 'easy-table-of-contents' ) . '</li>' .
312
+ '<li>' . __( '<code>*Fruit Diet*</code> Ignore headings with "Fruit Diet" somewhere in the heading.', 'easy-table-of-contents' ) . '</li>' .
313
+ '<li>' . __( '<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are exactly "Apple Tree", "Oranges" or "Yellow Bananas".', 'easy-table-of-contents' ) . '</li>' .
314
  '</ul>' .
315
+ '<p>' . __( '<strong>Note:</strong> This is not case sensitive.', 'easy-table-of-contents' ) . '</p>',
316
  )
317
  );
318
  ?>
includes/class.options.php CHANGED
@@ -160,107 +160,108 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
160
  array(
161
  'enabled_post_types' => array(
162
  'id' => 'enabled_post_types',
163
- 'name' => __( 'Enable Support', 'ez_toc' ),
164
- 'desc' => __( 'Select the post types to enable the support for table of contents.', 'ez_toc' ),
165
  'type' => 'checkboxgroup',
166
  'options' => self::getPostTypes(),
167
  'default' => array(),
168
  ),
169
  'auto_insert_post_types' => array(
170
  'id' => 'auto_insert_post_types',
171
- 'name' => __( 'Auto Insert', 'ez_toc' ),
172
- 'desc' => __( 'Select the post types which will have the table of contents automatically inserted.', 'ez_toc' ) .
173
- '<br><span class="description">' . __( 'NOTE: The table of contents will only be automatically inserted on post types for which it has been enabled.', 'ez_toc' ) . '<span>',
174
  'type' => 'checkboxgroup',
175
  'options' => self::getPostTypes(),
176
  'default' => array(),
177
  ),
178
  'position' => array(
179
  'id' => 'position',
180
- 'name' => __( 'Position', 'ez_toc' ),
181
- 'desc' => __( 'Choose where where you want to display the table of contents.', 'ez_toc' ),
182
  'type' => 'select',
183
  'options' => array(
184
- 'before' => __( 'Before first heading (default)', 'ez_toc' ),
185
- 'after' => __( 'After first heading', 'ez_toc' ),
186
- 'top' => __( 'Top', 'ez_toc' ),
187
- 'bottom' => __( 'Bottom', 'ez_toc' ),
 
188
  ),
189
  'default' => 1,
190
  ),
191
  'start' => array(
192
  'id' => 'start',
193
- 'name' => __( 'Show when', 'ez_toc' ),
194
- 'desc' => __( 'or more headings are present', 'ez_toc' ),
195
  'type' => 'select',
196
  'options' => array_combine( range( 2, 10 ), range( 2, 10 ) ),
197
  'default' => 4,
198
  ),
199
  'show_heading_text' => array(
200
  'id' => 'show_heading_text',
201
- 'name' => __( 'Display Header Label', 'ez_toc' ),
202
- 'desc' => __( 'Show header text above the table of contents.', 'ez_toc' ),
203
  'type' => 'checkbox',
204
  'default' => TRUE,
205
  ),
206
  'heading_text' => array(
207
  'id' => 'heading_text',
208
- 'name' => __( 'Header Label', 'ez_toc' ),
209
- 'desc' => __( 'Eg: Contents, Table of Contents, Page Contents', 'ez_toc' ),
210
  'type' => 'text',
211
- 'default' => __( 'Contents', 'ez_toc' ),
212
  ),
213
  'visibility' => array(
214
  'id' => 'visibility',
215
- 'name' => __( 'Toggle View', 'ez_toc' ),
216
- 'desc' => __( 'Allow the user to toggle the visibility of the table of contents.', 'connection_toc' ),
217
  'type' => 'checkbox',
218
  'default' => TRUE,
219
  ),
220
  //'visibility_show' => array(
221
  // 'id' => 'visibility_show',
222
- // 'name' => __( 'Show Label', 'ez_toc' ),
223
- // 'desc' => __( 'Eg: show', 'ez_toc' ),
224
  // 'type' => 'text',
225
- // 'default' => __( 'show', 'ez_toc' ),
226
  //),
227
  //'visibility_hide' => array(
228
  // 'id' => 'visibility_hide',
229
- // 'name' => __( 'Hide Label', 'ez_toc' ),
230
- // 'desc' => __( 'Eg: hide', 'ez_toc' ),
231
  // 'type' => 'text',
232
- // 'default' => __( 'hide', 'ez_toc' ),
233
  //),
234
  'visibility_hide_by_default' => array(
235
  'id' => 'visibility_hide_by_default',
236
- 'name' => __( 'Initial View', 'ez_toc' ),
237
- 'desc' => __( 'Initially hide the table of contents.', 'connection_toc' ),
238
  'type' => 'checkbox',
239
  'default' => FALSE,
240
  ),
241
  'show_hierarchy' => array(
242
  'id' => 'show_hierarchy',
243
- 'name' => __( 'Show as Hierarchy', 'ez_toc' ),
244
  'desc' => '',
245
  'type' => 'checkbox',
246
  'default' => TRUE,
247
  ),
248
  'counter' => array(
249
  'id' => 'counter',
250
- 'name' => __( 'Counter', 'ez_toc' ),
251
  'desc' => '',
252
  'type' => 'select',
253
  'options' => array(
254
- 'decimal' => __( 'Decimal (default)', 'ez_toc' ),
255
- 'numeric' => __( 'Numeric', 'ez_toc' ),
256
- 'roman' => __( 'Roman', 'ez_toc' ),
257
- 'none' => __( 'None', 'ez_toc' ),
258
  ),
259
  'default' => 'decimal',
260
  ),
261
  'smooth_scroll' => array(
262
  'id' => 'smooth_scroll',
263
- 'name' => __( 'Smooth Scroll', 'ez_toc' ),
264
  'desc' => '',
265
  'type' => 'checkbox',
266
  'default' => TRUE,
@@ -272,12 +273,12 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
272
  array(
273
  'width' => array(
274
  'id' => 'width',
275
- 'name' => __( 'Width', 'ez_toc' ),
276
  'desc' => '',
277
  'type' => 'selectgroup',
278
  'options' => array(
279
  'fixed' => array(
280
- 'name' => __( 'Fixed', 'ez_toc' ),
281
  'options' => array(
282
  '200px' => '200px',
283
  '225px' => '225px',
@@ -291,7 +292,7 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
291
  ),
292
  ),
293
  'relative' => array(
294
- 'name' => __( 'Relative', 'ez_toc' ),
295
  'options' => array(
296
  'auto' => 'Auto',
297
  '25%' => '25%',
@@ -303,9 +304,9 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
303
  ),
304
  ),
305
  'other' => array(
306
- 'name' => __( 'Custom', 'ez_toc' ),
307
  'options' => array(
308
- 'custom' => __( 'User Defined', 'ez_toc' ),
309
  ),
310
  ),
311
  ),
@@ -313,89 +314,89 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
313
  ),
314
  'width_custom' => array(
315
  'id' => 'width_custom',
316
- 'name' => __( 'Custom Width', 'ez_toc' ),
317
- 'desc' => __( 'Select the User Defined option from the Width option to utilitze the custom width.', 'ez_toc' ),
318
  'type' => 'custom_width',
319
  'default' => 275,
320
  ),
321
  'wrapping' => array(
322
  'id' => 'wrapping',
323
- 'name' => __( 'Float', 'ez_toc' ),
324
  'desc' => '',
325
  'type' => 'select',
326
  'options' => array(
327
- 'none' => __( 'None (Default)', 'ez_toc' ),
328
- 'left' => __( 'Left', 'ez_toc' ),
329
- 'right' => __( 'Right', 'ez_toc' ),
330
  ),
331
  'default' => 'none',
332
  ),
333
  'font_size' => array(
334
  'id' => 'font_size',
335
- 'name' => __( 'Font Size', 'ez_toc' ),
336
  'desc' => '',
337
  'type' => 'font_size',
338
  'default' => 95,
339
  ),
340
  'theme' => array(
341
  'id' => 'theme',
342
- 'name' => __( 'Theme', 'ez_toc' ),
343
- 'desc' => __( 'The theme is only applied to the table of contents which is auto inserted into the post. The Table of Contents widget will inherit the theme widget styles.', 'ez_toc' ),
344
  'type' => 'radio',
345
  'options' => array(
346
- 'grey' => __( 'Grey', 'ez_toc' ),
347
- 'light-blue' => __( 'Light Blue', 'ez_toc' ),
348
- 'white' => __( 'White', 'ez_toc' ),
349
- 'black' => __( 'Black', 'ez_toc' ),
350
- 'transparent' => __( 'Transparent', 'ez_toc' ),
351
- 'custom' => __( 'Custom', 'ez_toc' ),
352
  ),
353
  'default' => 'grey',
354
  ),
355
  'custom_theme_header' => array(
356
  'id' => 'custom_theme_header',
357
- 'name' => '<strong>' . __( 'Custom Theme', 'ez_toc' ) . '</strong>',
358
- 'desc' => __( 'For the following settings to apply, select the Custom Theme option.', 'ez_toc' ),
359
  'type' => 'header',
360
  ),
361
  'custom_background_colour' => array(
362
  'id' => 'custom_background_colour',
363
- 'name' => __( 'Background Color', 'ez_toc' ),
364
  'desc' => '',
365
  'type' => 'color',
366
  'default' => '#fff',
367
  ),
368
  'custom_border_colour' => array(
369
  'id' => 'custom_border_colour',
370
- 'name' => __( 'Border Color', 'ez_toc' ),
371
  'desc' => '',
372
  'type' => 'color',
373
  'default' => '#ddd',
374
  ),
375
  'custom_title_colour' => array(
376
  'id' => 'custom_title_colour',
377
- 'name' => __( 'Title Color', 'ez_toc' ),
378
  'desc' => '',
379
  'type' => 'color',
380
  'default' => '#999',
381
  ),
382
  'custom_link_colour' => array(
383
  'id' => 'custom_link_colour',
384
- 'name' => __( 'Link Color', 'ez_toc' ),
385
  'desc' => '',
386
  'type' => 'color',
387
  'default' => '#428bca',
388
  ),
389
  'custom_link_hover_colour' => array(
390
  'id' => 'custom_link_hover_colour',
391
- 'name' => __( 'Link Hover Color', 'ez_toc' ),
392
  'desc' => '',
393
  'type' => 'color',
394
  'default' => '#2a6496',
395
  ),
396
  'custom_link_visited_colour' => array(
397
  'id' => 'custom_link_visited_colour',
398
- 'name' => __( 'Link Visited Color', 'ez_toc' ),
399
  'desc' => '',
400
  'type' => 'color',
401
  'default' => '#428bca',
@@ -407,58 +408,58 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
407
  array(
408
  'lowercase' => array(
409
  'id' => 'lowercase',
410
- 'name' => __( 'Lowercase', 'ez_toc' ),
411
- 'desc' => __( 'Ensure anchors are in lowercase.', 'ez_toc' ),
412
  'type' => 'checkbox',
413
  'default' => FALSE,
414
  ),
415
  'hyphenate' => array(
416
  'id' => 'hyphenate',
417
- 'name' => __( 'Hyphenate', 'ez_toc' ),
418
- 'desc' => __( 'Use - rather than _ in anchors.', 'ez_toc' ),
419
  'type' => 'checkbox',
420
  'default' => FALSE,
421
  ),
422
  'include_homepage' => array(
423
  'id' => 'include_homepage',
424
- 'name' => __( 'Homepage', 'ez_toc' ),
425
- 'desc' => __( 'Show the table of contents for qualifying items on the homepage.', 'ez_toc' ),
426
  'type' => 'checkbox',
427
  'default' => FALSE,
428
  ),
429
  'exclude_css' => array(
430
  'id' => 'exclude_css',
431
- 'name' => __( 'CSS', 'ez_toc' ),
432
- 'desc' => __( "Prevent the loading the core CSS styles. When selected, the appearance options from above will be ignored.", 'ez_toc' ),
433
  'type' => 'checkbox',
434
  'default' => FALSE,
435
  ),
436
  //'bullet_spacing' => array(
437
  // 'id' => 'bullet_spacing',
438
- // 'name' => __( 'Theme Bullets', 'ez_toc' ),
439
- // 'desc' => __( 'If your theme includes background images for unordered list elements, enable this option to support them.', 'ez_toc' ),
440
  // 'type' => 'checkbox',
441
  // 'default' => FALSE,
442
  //),
443
  'heading_levels' => array(
444
  'id' => 'heading_levels',
445
- 'name' => __( 'Headings:', 'ez_toc' ),
446
- 'desc' => __( 'Select the heading to consider when generating the table of contents. Deselecting a heading will exclude it.', 'ez_toc' ),
447
  'type' => 'checkboxgroup',
448
  'options' => array(
449
- '1' => __( 'Heading 1 (h1)', 'ez_toc' ),
450
- '2' => __( 'Heading 2 (h2)', 'ez_toc' ),
451
- '3' => __( 'Heading 3 (h3)', 'ez_toc' ),
452
- '4' => __( 'Heading 4 (h4)', 'ez_toc' ),
453
- '5' => __( 'Heading 5 (h5)', 'ez_toc' ),
454
- '6' => __( 'Heading 6 (h6)', 'ez_toc' ),
455
  ),
456
  'default' => array( '1', '2', '3', '4', '5', '6' ),
457
  ),
458
  'exclude' => array(
459
  'id' => 'exclude',
460
- 'name' => __( 'Exclude Headings', 'ez_toc' ),
461
- 'desc' => __( '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.', 'ez_toc' ),
462
  'type' => 'text',
463
  'size' => 'large',
464
  'default' => '',
@@ -466,45 +467,45 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
466
  'exclude_desc' => array(
467
  'id' => 'exclude_desc',
468
  'name' => '',
469
- 'desc' => '<p><strong>' . __( 'Examples:', 'ez_toc' ) . '</strong></p>' .
470
  '<ul>' .
471
- '<li>' . __( '<code>Fruit*</code> Ignore headings starting with "Fruit".', 'ez_toc' ) . '</li>' .
472
- '<li>' . __( '<code>*Fruit Diet*</code> Ignore headings with "Fruit Diet" somewhere in the heading.', 'ez_toc' ) . '</li>' .
473
- '<li>' . __( '<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are exactly "Apple Tree", "Oranges" or "Yellow Bananas".', 'ez_toc' ) . '</li>' .
474
  '</ul>' .
475
- '<p>' . __( '<strong>Note:</strong> This is not case sensitive.', 'ez_toc' ) . '</p>',
476
  'type' => 'descriptive_text',
477
  ),
478
  'smooth_scroll_offset' => array(
479
  'id' => 'smooth_scroll_offset',
480
- 'name' => __( 'Smooth Scroll Offset', 'ez_toc' ),
481
- 'desc' => 'px<br/>' . __( '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 only has an effect after you have enabled Smooth Scroll option.', 'ez_toc' ),
482
  'type' => 'number',
483
  'size' => 'small',
484
  'default' => 30
485
  ),
486
  'restrict_path' => array(
487
  'id' => 'restrict_path',
488
- 'name' => __( 'Limit Path', 'ez_toc' ),
489
- 'desc' => '<br/>' . __( '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.', 'ez_toc' ) .
490
- '<br/><span class="description">' . __( 'Eg: /wiki/, /corporate/annual-reports/', 'ez_toc' ) . '</span>',
491
  'type' => 'text',
492
  ),
493
  'fragment_prefix' => array(
494
  'id' => 'fragment_prefix',
495
- 'name' => __( 'Default Anchor Prefix', 'ez_toc' ),
496
- 'desc' => '<br/>' . __( '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.', 'ez_toc' ) .
497
- '<br/>' . __( 'This option normally applies to content written in character sets other than ASCII.', 'ez_toc' ) .
498
- '<br/><span class="description">' . __( 'Eg: i, toc_index, index, _', 'ez_toc' ) . '</span>',
499
  'type' => 'text',
500
  'default' => 'i',
501
  ),
502
  'widget_affix_selector' => array(
503
  'id' => 'widget_affix_selector',
504
- 'name' => __( 'Widget Affix Selector', 'ez_toc' ),
505
- 'desc' => '<br/>' . __( 'To enable the option to affix or pin the Table of Contents widget enter the theme\'s sidebar class or id.', 'ez_toc' ) .
506
- '<br/>' . __( 'Since every theme is different, this can not be determined automatically. If you are unsure how to find the sidebar\'s class or id, please ask the theme\'s support persons.', 'ez_toc' ) .
507
- '<br/><span class="description">' . __( 'Eg: .widget-area or #sidebar', 'ez_toc' ) . '</span>',
508
  'type' => 'text',
509
  'default' => '',
510
  ),
@@ -752,7 +753,7 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
752
  public static function missingCallback( $args ) {
753
 
754
  printf(
755
- __( 'The callback function used for the <strong>%s</strong> setting is missing.', 'ez_toc' ),
756
  $args['id']
757
  );
758
  }
160
  array(
161
  'enabled_post_types' => array(
162
  'id' => 'enabled_post_types',
163
+ 'name' => __( 'Enable Support', 'easy-table-of-contents' ),
164
+ 'desc' => __( 'Select the post types to enable the support for table of contents.', 'easy-table-of-contents' ),
165
  'type' => 'checkboxgroup',
166
  'options' => self::getPostTypes(),
167
  'default' => array(),
168
  ),
169
  'auto_insert_post_types' => array(
170
  'id' => 'auto_insert_post_types',
171
+ 'name' => __( 'Auto Insert', 'easy-table-of-contents' ),
172
+ 'desc' => __( 'Select the post types which will have the table of contents automatically inserted.', 'easy-table-of-contents' ) .
173
+ '<br><span class="description">' . __( 'NOTE: The table of contents will only be automatically inserted on post types for which it has been enabled.', 'easy-table-of-contents' ) . '<span>',
174
  'type' => 'checkboxgroup',
175
  'options' => self::getPostTypes(),
176
  'default' => array(),
177
  ),
178
  'position' => array(
179
  'id' => 'position',
180
+ 'name' => __( 'Position', 'easy-table-of-contents' ),
181
+ 'desc' => __( 'Choose where where you want to display the table of contents.', 'easy-table-of-contents' ),
182
  'type' => 'select',
183
  'options' => array(
184
+ 'before' => __( 'Before first heading (default)', 'easy-table-of-contents' ),
185
+ 'after' => __( 'After first heading', 'easy-table-of-contents' ),
186
+ 'top' => __( 'Top', 'easy-table-of-contents' ),
187
+ 'bottom' => __( 'Bottom', 'easy-table-of-contents' ),
188
+ //'placeholder' => __( 'Replace [toc] placeholder. For backwards compatibility with Table of Content Plus.', 'easy-table-of-contents' ),
189
  ),
190
  'default' => 1,
191
  ),
192
  'start' => array(
193
  'id' => 'start',
194
+ 'name' => __( 'Show when', 'easy-table-of-contents' ),
195
+ 'desc' => __( 'or more headings are present', 'easy-table-of-contents' ),
196
  'type' => 'select',
197
  'options' => array_combine( range( 2, 10 ), range( 2, 10 ) ),
198
  'default' => 4,
199
  ),
200
  'show_heading_text' => array(
201
  'id' => 'show_heading_text',
202
+ 'name' => __( 'Display Header Label', 'easy-table-of-contents' ),
203
+ 'desc' => __( 'Show header text above the table of contents.', 'easy-table-of-contents' ),
204
  'type' => 'checkbox',
205
  'default' => TRUE,
206
  ),
207
  'heading_text' => array(
208
  'id' => 'heading_text',
209
+ 'name' => __( 'Header Label', 'easy-table-of-contents' ),
210
+ 'desc' => __( 'Eg: Contents, Table of Contents, Page Contents', 'easy-table-of-contents' ),
211
  'type' => 'text',
212
+ 'default' => __( 'Contents', 'easy-table-of-contents' ),
213
  ),
214
  'visibility' => array(
215
  'id' => 'visibility',
216
+ 'name' => __( 'Toggle View', 'easy-table-of-contents' ),
217
+ 'desc' => __( 'Allow the user to toggle the visibility of the table of contents.', 'easy-table-of-contents' ),
218
  'type' => 'checkbox',
219
  'default' => TRUE,
220
  ),
221
  //'visibility_show' => array(
222
  // 'id' => 'visibility_show',
223
+ // 'name' => __( 'Show Label', 'easy-table-of-contents' ),
224
+ // 'desc' => __( 'Eg: show', 'easy-table-of-contents' ),
225
  // 'type' => 'text',
226
+ // 'default' => __( 'show', 'easy-table-of-contents' ),
227
  //),
228
  //'visibility_hide' => array(
229
  // 'id' => 'visibility_hide',
230
+ // 'name' => __( 'Hide Label', 'easy-table-of-contents' ),
231
+ // 'desc' => __( 'Eg: hide', 'easy-table-of-contents' ),
232
  // 'type' => 'text',
233
+ // 'default' => __( 'hide', 'easy-table-of-contents' ),
234
  //),
235
  'visibility_hide_by_default' => array(
236
  'id' => 'visibility_hide_by_default',
237
+ 'name' => __( 'Initial View', 'easy-table-of-contents' ),
238
+ 'desc' => __( 'Initially hide the table of contents.', 'easy-table-of-contents' ),
239
  'type' => 'checkbox',
240
  'default' => FALSE,
241
  ),
242
  'show_hierarchy' => array(
243
  'id' => 'show_hierarchy',
244
+ 'name' => __( 'Show as Hierarchy', 'easy-table-of-contents' ),
245
  'desc' => '',
246
  'type' => 'checkbox',
247
  'default' => TRUE,
248
  ),
249
  'counter' => array(
250
  'id' => 'counter',
251
+ 'name' => __( 'Counter', 'easy-table-of-contents' ),
252
  'desc' => '',
253
  'type' => 'select',
254
  'options' => array(
255
+ 'decimal' => __( 'Decimal (default)', 'easy-table-of-contents' ),
256
+ 'numeric' => __( 'Numeric', 'easy-table-of-contents' ),
257
+ 'roman' => __( 'Roman', 'easy-table-of-contents' ),
258
+ 'none' => __( 'None', 'easy-table-of-contents' ),
259
  ),
260
  'default' => 'decimal',
261
  ),
262
  'smooth_scroll' => array(
263
  'id' => 'smooth_scroll',
264
+ 'name' => __( 'Smooth Scroll', 'easy-table-of-contents' ),
265
  'desc' => '',
266
  'type' => 'checkbox',
267
  'default' => TRUE,
273
  array(
274
  'width' => array(
275
  'id' => 'width',
276
+ 'name' => __( 'Width', 'easy-table-of-contents' ),
277
  'desc' => '',
278
  'type' => 'selectgroup',
279
  'options' => array(
280
  'fixed' => array(
281
+ 'name' => __( 'Fixed', 'easy-table-of-contents' ),
282
  'options' => array(
283
  '200px' => '200px',
284
  '225px' => '225px',
292
  ),
293
  ),
294
  'relative' => array(
295
+ 'name' => __( 'Relative', 'easy-table-of-contents' ),
296
  'options' => array(
297
  'auto' => 'Auto',
298
  '25%' => '25%',
304
  ),
305
  ),
306
  'other' => array(
307
+ 'name' => __( 'Custom', 'easy-table-of-contents' ),
308
  'options' => array(
309
+ 'custom' => __( 'User Defined', 'easy-table-of-contents' ),
310
  ),
311
  ),
312
  ),
314
  ),
315
  'width_custom' => array(
316
  'id' => 'width_custom',
317
+ 'name' => __( 'Custom Width', 'easy-table-of-contents' ),
318
+ 'desc' => __( 'Select the User Defined option from the Width option to utilitze the custom width.', 'easy-table-of-contents' ),
319
  'type' => 'custom_width',
320
  'default' => 275,
321
  ),
322
  'wrapping' => array(
323
  'id' => 'wrapping',
324
+ 'name' => __( 'Float', 'easy-table-of-contents' ),
325
  'desc' => '',
326
  'type' => 'select',
327
  'options' => array(
328
+ 'none' => __( 'None (Default)', 'easy-table-of-contents' ),
329
+ 'left' => __( 'Left', 'easy-table-of-contents' ),
330
+ 'right' => __( 'Right', 'easy-table-of-contents' ),
331
  ),
332
  'default' => 'none',
333
  ),
334
  'font_size' => array(
335
  'id' => 'font_size',
336
+ 'name' => __( 'Font Size', 'easy-table-of-contents' ),
337
  'desc' => '',
338
  'type' => 'font_size',
339
  'default' => 95,
340
  ),
341
  'theme' => array(
342
  'id' => 'theme',
343
+ 'name' => __( 'Theme', 'easy-table-of-contents' ),
344
+ 'desc' => __( 'The theme is only applied to the table of contents which is auto inserted into the post. The Table of Contents widget will inherit the theme widget styles.', 'easy-table-of-contents' ),
345
  'type' => 'radio',
346
  'options' => array(
347
+ 'grey' => __( 'Grey', 'easy-table-of-contents' ),
348
+ 'light-blue' => __( 'Light Blue', 'easy-table-of-contents' ),
349
+ 'white' => __( 'White', 'easy-table-of-contents' ),
350
+ 'black' => __( 'Black', 'easy-table-of-contents' ),
351
+ 'transparent' => __( 'Transparent', 'easy-table-of-contents' ),
352
+ 'custom' => __( 'Custom', 'easy-table-of-contents' ),
353
  ),
354
  'default' => 'grey',
355
  ),
356
  'custom_theme_header' => array(
357
  'id' => 'custom_theme_header',
358
+ 'name' => '<strong>' . __( 'Custom Theme', 'easy-table-of-contents' ) . '</strong>',
359
+ 'desc' => __( 'For the following settings to apply, select the Custom Theme option.', 'easy-table-of-contents' ),
360
  'type' => 'header',
361
  ),
362
  'custom_background_colour' => array(
363
  'id' => 'custom_background_colour',
364
+ 'name' => __( 'Background Color', 'easy-table-of-contents' ),
365
  'desc' => '',
366
  'type' => 'color',
367
  'default' => '#fff',
368
  ),
369
  'custom_border_colour' => array(
370
  'id' => 'custom_border_colour',
371
+ 'name' => __( 'Border Color', 'easy-table-of-contents' ),
372
  'desc' => '',
373
  'type' => 'color',
374
  'default' => '#ddd',
375
  ),
376
  'custom_title_colour' => array(
377
  'id' => 'custom_title_colour',
378
+ 'name' => __( 'Title Color', 'easy-table-of-contents' ),
379
  'desc' => '',
380
  'type' => 'color',
381
  'default' => '#999',
382
  ),
383
  'custom_link_colour' => array(
384
  'id' => 'custom_link_colour',
385
+ 'name' => __( 'Link Color', 'easy-table-of-contents' ),
386
  'desc' => '',
387
  'type' => 'color',
388
  'default' => '#428bca',
389
  ),
390
  'custom_link_hover_colour' => array(
391
  'id' => 'custom_link_hover_colour',
392
+ 'name' => __( 'Link Hover Color', 'easy-table-of-contents' ),
393
  'desc' => '',
394
  'type' => 'color',
395
  'default' => '#2a6496',
396
  ),
397
  'custom_link_visited_colour' => array(
398
  'id' => 'custom_link_visited_colour',
399
+ 'name' => __( 'Link Visited Color', 'easy-table-of-contents' ),
400
  'desc' => '',
401
  'type' => 'color',
402
  'default' => '#428bca',
408
  array(
409
  'lowercase' => array(
410
  'id' => 'lowercase',
411
+ 'name' => __( 'Lowercase', 'easy-table-of-contents' ),
412
+ 'desc' => __( 'Ensure anchors are in lowercase.', 'easy-table-of-contents' ),
413
  'type' => 'checkbox',
414
  'default' => FALSE,
415
  ),
416
  'hyphenate' => array(
417
  'id' => 'hyphenate',
418
+ 'name' => __( 'Hyphenate', 'easy-table-of-contents' ),
419
+ 'desc' => __( 'Use - rather than _ in anchors.', 'easy-table-of-contents' ),
420
  'type' => 'checkbox',
421
  'default' => FALSE,
422
  ),
423
  'include_homepage' => array(
424
  'id' => 'include_homepage',
425
+ 'name' => __( 'Homepage', 'easy-table-of-contents' ),
426
+ 'desc' => __( 'Show the table of contents for qualifying items on the homepage.', 'easy-table-of-contents' ),
427
  'type' => 'checkbox',
428
  'default' => FALSE,
429
  ),
430
  'exclude_css' => array(
431
  'id' => 'exclude_css',
432
+ 'name' => __( 'CSS', 'easy-table-of-contents' ),
433
+ 'desc' => __( "Prevent the loading the core CSS styles. When selected, the appearance options from above will be ignored.", 'easy-table-of-contents' ),
434
  'type' => 'checkbox',
435
  'default' => FALSE,
436
  ),
437
  //'bullet_spacing' => array(
438
  // 'id' => 'bullet_spacing',
439
+ // 'name' => __( 'Theme Bullets', 'easy-table-of-contents' ),
440
+ // 'desc' => __( 'If your theme includes background images for unordered list elements, enable this option to support them.', 'easy-table-of-contents' ),
441
  // 'type' => 'checkbox',
442
  // 'default' => FALSE,
443
  //),
444
  'heading_levels' => array(
445
  'id' => 'heading_levels',
446
+ 'name' => __( 'Headings:', 'easy-table-of-contents' ),
447
+ 'desc' => __( 'Select the heading to consider when generating the table of contents. Deselecting a heading will exclude it.', 'easy-table-of-contents' ),
448
  'type' => 'checkboxgroup',
449
  'options' => array(
450
+ '1' => __( 'Heading 1 (h1)', 'easy-table-of-contents' ),
451
+ '2' => __( 'Heading 2 (h2)', 'easy-table-of-contents' ),
452
+ '3' => __( 'Heading 3 (h3)', 'easy-table-of-contents' ),
453
+ '4' => __( 'Heading 4 (h4)', 'easy-table-of-contents' ),
454
+ '5' => __( 'Heading 5 (h5)', 'easy-table-of-contents' ),
455
+ '6' => __( 'Heading 6 (h6)', 'easy-table-of-contents' ),
456
  ),
457
  'default' => array( '1', '2', '3', '4', '5', '6' ),
458
  ),
459
  'exclude' => array(
460
  'id' => 'exclude',
461
+ 'name' => __( 'Exclude Headings', 'easy-table-of-contents' ),
462
+ 'desc' => __( '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.', 'easy-table-of-contents' ),
463
  'type' => 'text',
464
  'size' => 'large',
465
  'default' => '',
467
  'exclude_desc' => array(
468
  'id' => 'exclude_desc',
469
  'name' => '',
470
+ 'desc' => '<p><strong>' . __( 'Examples:', 'easy-table-of-contents' ) . '</strong></p>' .
471
  '<ul>' .
472
+ '<li>' . __( '<code>Fruit*</code> Ignore headings starting with "Fruit".', 'easy-table-of-contents' ) . '</li>' .
473
+ '<li>' . __( '<code>*Fruit Diet*</code> Ignore headings with "Fruit Diet" somewhere in the heading.', 'easy-table-of-contents' ) . '</li>' .
474
+ '<li>' . __( '<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are exactly "Apple Tree", "Oranges" or "Yellow Bananas".', 'easy-table-of-contents' ) . '</li>' .
475
  '</ul>' .
476
+ '<p>' . __( '<strong>Note:</strong> This is not case sensitive.', 'easy-table-of-contents' ) . '</p>',
477
  'type' => 'descriptive_text',
478
  ),
479
  'smooth_scroll_offset' => array(
480
  'id' => 'smooth_scroll_offset',
481
+ 'name' => __( 'Smooth Scroll Offset', 'easy-table-of-contents' ),
482
+ 'desc' => 'px<br/>' . __( '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 only has an effect after you have enabled Smooth Scroll option.', 'easy-table-of-contents' ),
483
  'type' => 'number',
484
  'size' => 'small',
485
  'default' => 30
486
  ),
487
  'restrict_path' => array(
488
  'id' => 'restrict_path',
489
+ 'name' => __( 'Limit Path', 'easy-table-of-contents' ),
490
+ 'desc' => '<br/>' . __( '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.', 'easy-table-of-contents' ) .
491
+ '<br/><span class="description">' . __( 'Eg: /wiki/, /corporate/annual-reports/', 'easy-table-of-contents' ) . '</span>',
492
  'type' => 'text',
493
  ),
494
  'fragment_prefix' => array(
495
  'id' => 'fragment_prefix',
496
+ 'name' => __( 'Default Anchor Prefix', 'easy-table-of-contents' ),
497
+ 'desc' => '<br/>' . __( '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.', 'easy-table-of-contents' ) .
498
+ '<br/>' . __( 'This option normally applies to content written in character sets other than ASCII.', 'easy-table-of-contents' ) .
499
+ '<br/><span class="description">' . __( 'Eg: i, toc_index, index, _', 'easy-table-of-contents' ) . '</span>',
500
  'type' => 'text',
501
  'default' => 'i',
502
  ),
503
  'widget_affix_selector' => array(
504
  'id' => 'widget_affix_selector',
505
+ 'name' => __( 'Widget Affix Selector', 'easy-table-of-contents' ),
506
+ 'desc' => '<br/>' . __( 'To enable the option to affix or pin the Table of Contents widget enter the theme\'s sidebar class or id.', 'easy-table-of-contents' ) .
507
+ '<br/>' . __( 'Since every theme is different, this can not be determined automatically. If you are unsure how to find the sidebar\'s class or id, please ask the theme\'s support persons.', 'easy-table-of-contents' ) .
508
+ '<br/><span class="description">' . __( 'Eg: .widget-area or #sidebar', 'easy-table-of-contents' ) . '</span>',
509
  'type' => 'text',
510
  'default' => '',
511
  ),
753
  public static function missingCallback( $args ) {
754
 
755
  printf(
756
+ __( 'The callback function used for the <strong>%s</strong> setting is missing.', 'easy-table-of-contents' ),
757
  $args['id']
758
  );
759
  }
includes/class.widget-toc.php CHANGED
@@ -19,12 +19,12 @@ if ( ! class_exists( 'ezTOC_Widget' ) ) {
19
 
20
  $options = array(
21
  'classname' => 'ez-toc',
22
- 'description' => __( 'Display the table of contents.', 'ez_toc' )
23
  );
24
 
25
  parent::__construct(
26
  'ezw_tco',
27
- __( 'Table of Contents', 'ez_toc' ),
28
  $options
29
  );
30
 
@@ -136,6 +136,8 @@ if ( ! class_exists( 'ezTOC_Widget' ) ) {
136
  */
137
  public function widget( $args, $instance ) {
138
 
 
 
139
  global $wp_query;
140
 
141
  $css_classes = '';
@@ -189,16 +191,6 @@ if ( ! class_exists( 'ezTOC_Widget' ) ) {
189
  $css_classes .= ' ez-toc-affix';
190
  }
191
 
192
- // bullets?
193
- //if ( ezTOC_Option::get( 'bullet_spacing' ) ) {
194
- //
195
- // $css_classes = ' have_bullets';
196
- //
197
- //} else {
198
- //
199
- // $css_classes = ' no_bullets';
200
- //}
201
-
202
  $css_classes = trim( $css_classes );
203
 
204
  // an empty class="" is invalid markup!
@@ -315,14 +307,14 @@ if ( ! class_exists( 'ezTOC_Widget' ) ) {
315
 
316
  ?>
317
  <p>
318
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'ez_toc' ); ?>:</label>
319
  <input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>"
320
  name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>"
321
  style="width:100%;"/>
322
  </p>
323
 
324
  <p>
325
- <label for="<?php echo $this->get_field_id( 'highlight_color' ); ?>"><?php _e( 'Active Section Highlight Color:', 'ez_toc' ); ?></label><br>
326
  <input type="text" name="<?php echo $this->get_field_name( 'highlight_color' ); ?>" class="color-picker" id="<?php echo $this->get_field_id( 'highlight_color' ); ?>" value="<?php echo $highlight_color; ?>" data-default-color="<?php echo $defaults['highlight_color']; ?>" />
327
  </p>
328
 
@@ -330,11 +322,11 @@ if ( ! class_exists( 'ezTOC_Widget' ) ) {
330
  <input class="checkbox" type="checkbox" <?php checked( $instance['affix'], 1 ); ?>
331
  id="<?php echo $this->get_field_id( 'affix' ); ?>"
332
  name="<?php echo $this->get_field_name( 'affix' ); ?>" value="1"/>
333
- <label for="<?php echo $this->get_field_id( 'affix' ); ?>"> <?php _e( 'Affix or pin the widget.', 'ez_toc' ); ?></label>
334
  </p>
335
 
336
  <p class="description" style="display: <?php echo ezTOC_Option::get( 'widget_affix_selector' ) ? 'block' : 'none'; ?>;">
337
- <?php _e( 'If you choose to affix the widget, do not add any other widgets on the sidebar. Also, make sure you have only one instance Table of Contents widget on the page.', 'ez_toc' ); ?>
338
  </p>
339
  <?php
340
  }
19
 
20
  $options = array(
21
  'classname' => 'ez-toc',
22
+ 'description' => __( 'Display the table of contents.', 'easy-table-of-contents' )
23
  );
24
 
25
  parent::__construct(
26
  'ezw_tco',
27
+ __( 'Table of Contents', 'easy-table-of-contents' ),
28
  $options
29
  );
30
 
136
  */
137
  public function widget( $args, $instance ) {
138
 
139
+ if ( is_404() || is_archive() || is_search() || ( ! is_front_page() && is_home() ) ) return;
140
+
141
  global $wp_query;
142
 
143
  $css_classes = '';
191
  $css_classes .= ' ez-toc-affix';
192
  }
193
 
 
 
 
 
 
 
 
 
 
 
194
  $css_classes = trim( $css_classes );
195
 
196
  // an empty class="" is invalid markup!
307
 
308
  ?>
309
  <p>
310
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'easy-table-of-contents' ); ?>:</label>
311
  <input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>"
312
  name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>"
313
  style="width:100%;"/>
314
  </p>
315
 
316
  <p>
317
+ <label for="<?php echo $this->get_field_id( 'highlight_color' ); ?>"><?php _e( 'Active Section Highlight Color:', 'easy-table-of-contents' ); ?></label><br>
318
  <input type="text" name="<?php echo $this->get_field_name( 'highlight_color' ); ?>" class="color-picker" id="<?php echo $this->get_field_id( 'highlight_color' ); ?>" value="<?php echo $highlight_color; ?>" data-default-color="<?php echo $defaults['highlight_color']; ?>" />
319
  </p>
320
 
322
  <input class="checkbox" type="checkbox" <?php checked( $instance['affix'], 1 ); ?>
323
  id="<?php echo $this->get_field_id( 'affix' ); ?>"
324
  name="<?php echo $this->get_field_name( 'affix' ); ?>" value="1"/>
325
+ <label for="<?php echo $this->get_field_id( 'affix' ); ?>"> <?php _e( 'Affix or pin the widget.', 'easy-table-of-contents' ); ?></label>
326
  </p>
327
 
328
  <p class="description" style="display: <?php echo ezTOC_Option::get( 'widget_affix_selector' ) ? 'block' : 'none'; ?>;">
329
+ <?php _e( 'If you choose to affix the widget, do not add any other widgets on the sidebar. Also, make sure you have only one instance Table of Contents widget on the page.', 'easy-table-of-contents' ); ?>
330
  </p>
331
  <?php
332
  }
includes/inc.admin-options-page.php CHANGED
@@ -1,12 +1,12 @@
1
  <div id='toc' class='wrap'>
2
- <h1><?php _e( 'Table of Contents', 'ez_toc' ); ?></h1>
3
 
4
  <form method="post" action="<?php echo esc_url( self_admin_url( 'options.php' ) ); ?>">
5
 
6
  <div class="metabox-holder">
7
 
8
  <div class="postbox">
9
- <h3><span><?php _e( 'General', 'ez_toc' ); ?></span></h3>
10
 
11
  <div class="inside">
12
 
@@ -24,7 +24,7 @@
24
  <div class="metabox-holder">
25
 
26
  <div class="postbox">
27
- <h3><span><?php _e( 'Appearance', 'ez_toc' ); ?></span></h3>
28
 
29
  <div class="inside">
30
 
@@ -42,7 +42,7 @@
42
  <div class="metabox-holder">
43
 
44
  <div class="postbox">
45
- <h3><span><?php _e( 'Advanced', 'ez_toc' ); ?></span></h3>
46
 
47
  <div class="inside">
48
 
@@ -58,6 +58,6 @@
58
  </div><!-- /.metabox-holder -->
59
 
60
  <?php settings_fields( 'ez-toc-settings' ); ?>
61
- <?php submit_button( __( 'Save Changes', 'ez_toc' ) ); ?>
62
  </form>
63
  </div>
1
  <div id='toc' class='wrap'>
2
+ <h1><?php _e( 'Table of Contents', 'easy-table-of-contents' ); ?></h1>
3
 
4
  <form method="post" action="<?php echo esc_url( self_admin_url( 'options.php' ) ); ?>">
5
 
6
  <div class="metabox-holder">
7
 
8
  <div class="postbox">
9
+ <h3><span><?php _e( 'General', 'easy-table-of-contents' ); ?></span></h3>
10
 
11
  <div class="inside">
12
 
24
  <div class="metabox-holder">
25
 
26
  <div class="postbox">
27
+ <h3><span><?php _e( 'Appearance', 'easy-table-of-contents' ); ?></span></h3>
28
 
29
  <div class="inside">
30
 
42
  <div class="metabox-holder">
43
 
44
  <div class="postbox">
45
+ <h3><span><?php _e( 'Advanced', 'easy-table-of-contents' ); ?></span></h3>
46
 
47
  <div class="inside">
48
 
58
  </div><!-- /.metabox-holder -->
59
 
60
  <?php settings_fields( 'ez-toc-settings' ); ?>
61
+ <?php submit_button( __( 'Save Changes', 'easy-table-of-contents' ) ); ?>
62
  </form>
63
  </div>
languages/easy-table-of-contents-nl_NL.mo ADDED
Binary file
languages/{ez_toc-nl_NL.po → easy-table-of-contents-nl_NL.po} RENAMED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Eazy TOC\n"
4
- "POT-Creation-Date: 2016-02-24 13:41-0500\n"
5
- "PO-Revision-Date: 2016-02-24 13:41-0500\n"
6
  "Last-Translator: Steven A. Zahm <helpdesk@connections-pro.com>\n"
7
  "Language-Team: Niko Strijbol <strijbol.niko AT gmail.com>\n"
8
  "Language: nl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.7\n"
13
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n_noop:1,2;_x:1,2c;_nx:4c,1,2;"
14
  "_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
15
  "esc_html_e;esc_html_x:1,2c\n"
@@ -38,24 +38,24 @@ msgstr "Inhoudsopgave invoegen."
38
 
39
  #: includes/class.admin.php:211
40
  msgid "Advanced:"
41
- msgstr "Geavanceerd;"
42
 
43
  #: includes/class.admin.php:218
44
  msgid "NOTE:"
45
- msgstr "OPMERKING:"
46
 
47
  #: includes/class.admin.php:220
48
  msgid ""
49
  "Using the advanced options below will override the global advanced settings."
50
  msgstr ""
51
- "het gebruik van de geavanceerde opties zal de globale instellingen "
52
  "overschrijven."
53
 
54
- #: includes/class.admin.php:229 includes/class.options.php:445
55
  msgid "Headings:"
56
  msgstr "Koppen:"
57
 
58
- #: includes/class.admin.php:235 includes/class.options.php:446
59
  msgid ""
60
  "Select the heading to consider when generating the table of contents. "
61
  "Deselecting a heading will exclude it."
@@ -63,34 +63,33 @@ msgstr ""
63
  "Selecteer de koppen die gebruikt moeten worden om de inhoudsopgave te "
64
  "genereren. Een kop niet selecteren zal hem uitsluiten."
65
 
66
- #: includes/class.admin.php:237 includes/class.options.php:449
67
  msgid "Heading 1 (h1)"
68
  msgstr "Kop 1 (h1)"
69
 
70
- #: includes/class.admin.php:238 includes/class.options.php:450
71
  msgid "Heading 2 (h2)"
72
  msgstr "Kop 2 (h2)"
73
 
74
- #: includes/class.admin.php:239 includes/class.options.php:451
75
  msgid "Heading 3 (h3)"
76
  msgstr "Kop 3 (h3)"
77
 
78
- #: includes/class.admin.php:240 includes/class.options.php:452
79
  msgid "Heading 4 (h4)"
80
  msgstr "Kop 4 (h4)"
81
 
82
- #: includes/class.admin.php:241 includes/class.options.php:453
83
  msgid "Heading 5 (h5)"
84
  msgstr "Kop 5 (h5)"
85
 
86
- #: includes/class.admin.php:242 includes/class.options.php:454
87
  msgid "Heading 6 (h6)"
88
  msgstr "Kop 6 (h6)"
89
 
90
  #: includes/class.admin.php:252
91
- #, fuzzy
92
  msgid "Alternate Headings"
93
- msgstr "Na de eerste kop"
94
 
95
  #: includes/class.admin.php:258
96
  msgid ""
@@ -99,9 +98,13 @@ msgid ""
99
  "<code>|</code>. Put each additional original and alternate header on its own "
100
  "line."
101
  msgstr ""
 
 
 
 
102
 
103
  #: includes/class.admin.php:275 includes/class.admin.php:309
104
- #: includes/class.options.php:469
105
  msgid "Examples:"
106
  msgstr "Voorbeelden:"
107
 
@@ -110,17 +113,18 @@ msgid ""
110
  "<code>Level [1.1]|Alternate TOC Header</code> Replaces Level [1.1] in the "
111
  "table of contents with Alternate TOC Header."
112
  msgstr ""
 
 
113
 
114
  #: includes/class.admin.php:279
115
- #, fuzzy
116
  msgid "<strong>Note:</strong> This is case sensitive."
117
- msgstr "<strong>Opmerking:</strong> Dit is niet hoofdlettergevoelig."
118
 
119
- #: includes/class.admin.php:286 includes/class.options.php:460
120
  msgid "Exclude Headings"
121
  msgstr "Koppen uitsluiten"
122
 
123
- #: includes/class.admin.php:292 includes/class.options.php:461
124
  msgid ""
125
  "Specify headings to be excluded from appearing in the table of contents. "
126
  "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
@@ -130,17 +134,17 @@ msgstr ""
130
  "sluisteken <code>|</code> tussen verschillende koppen en gebruik een "
131
  "asterisk <code>*</code> als een carte blanche om andere tekst te vinden."
132
 
133
- #: includes/class.admin.php:311 includes/class.options.php:471
134
  msgid "<code>Fruit*</code> Ignore headings starting with \"Fruit\"."
135
  msgstr "<code>Fruit*</code> Negeer koppen startende met \"Fruit\"."
136
 
137
- #: includes/class.admin.php:312 includes/class.options.php:472
138
  msgid ""
139
  "<code>*Fruit Diet*</code> Ignore headings with \"Fruit Diet\" somewhere in "
140
  "the heading."
141
  msgstr "<code>*Fruitdieet*</code> Negeer koppen die \"Fruitdieet\" bevatten."
142
 
143
- #: includes/class.admin.php:313 includes/class.options.php:473
144
  msgid ""
145
  "<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are "
146
  "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\"."
@@ -148,7 +152,7 @@ msgstr ""
148
  "<code>De appelboom|Appelsienen|Gele bananen</code> Negeer koppen die exact "
149
  "overeenkomen met \"De appelboom\", \"Appelsienen\" or \"Gele bananen\"."
150
 
151
- #: includes/class.admin.php:315 includes/class.options.php:475
152
  msgid "<strong>Note:</strong> This is not case sensitive."
153
  msgstr "<strong>Opmerking:</strong> Dit is niet hoofdlettergevoelig."
154
 
@@ -203,104 +207,104 @@ msgstr "Bovenaan"
203
  msgid "Bottom"
204
  msgstr "Onderaan"
205
 
206
- #: includes/class.options.php:193
207
  msgid "Show when"
208
  msgstr "Tonen wanneer"
209
 
210
- #: includes/class.options.php:194
211
  msgid "or more headings are present"
212
  msgstr "of als meerdere koppen aanwezig zijn"
213
 
214
- #: includes/class.options.php:201
215
  msgid "Display Header Label"
216
  msgstr "Koplabel tonen"
217
 
218
- #: includes/class.options.php:202
219
  msgid "Show header text above the table of contents."
220
  msgstr "Toon een koptekst boven de inhoudsopgave."
221
 
222
- #: includes/class.options.php:208
223
  msgid "Header Label"
224
  msgstr "Koplabel"
225
 
226
- #: includes/class.options.php:209
227
  msgid "Eg: Contents, Table of Contents, Page Contents"
228
  msgstr "Bv. Inhoud, Inhoudsopgave, Op deze pagina"
229
 
230
- #: includes/class.options.php:211
231
  msgid "Contents"
232
  msgstr "Inhoud"
233
 
234
- #: includes/class.options.php:215
235
  msgid "Toggle View"
236
  msgstr "Zichtbaarheid wijzigen"
237
 
238
- #: includes/class.options.php:216
239
  msgid "Allow the user to toggle the visibility of the table of contents."
240
  msgstr ""
241
  "Sta de gebruiker toe de zichtbaarheid van de inhoudsopgave te wijzigen."
242
 
243
- #: includes/class.options.php:236
244
  msgid "Initial View"
245
  msgstr "Initiële zichtbaarheid"
246
 
247
- #: includes/class.options.php:237
248
  msgid "Initially hide the table of contents."
249
  msgstr "Verberg initieel de inhoudsopgave."
250
 
251
- #: includes/class.options.php:243
252
  msgid "Show as Hierarchy"
253
- msgstr "Toon als hiërarchie."
254
 
255
- #: includes/class.options.php:250
256
  msgid "Counter"
257
  msgstr "Teller"
258
 
259
- #: includes/class.options.php:254
260
  msgid "Decimal (default)"
261
  msgstr "Decimaal (standaard)"
262
 
263
- #: includes/class.options.php:255
264
  msgid "Numeric"
265
  msgstr "Numeriek"
266
 
267
- #: includes/class.options.php:256
268
  msgid "Roman"
269
  msgstr "Romeins"
270
 
271
- #: includes/class.options.php:257
272
  msgid "None"
273
  msgstr "Geen"
274
 
275
- #: includes/class.options.php:263
276
  msgid "Smooth Scroll"
277
  msgstr "Vloeiend scrollen"
278
 
279
- #: includes/class.options.php:275
280
  msgid "Width"
281
  msgstr "Breedte"
282
 
283
- #: includes/class.options.php:280
284
  msgid "Fixed"
285
  msgstr "Vast"
286
 
287
- #: includes/class.options.php:294
288
  msgid "Relative"
289
  msgstr "Relatief"
290
 
291
- #: includes/class.options.php:306 includes/class.options.php:351
292
  msgid "Custom"
293
  msgstr "Aangepast"
294
 
295
- #: includes/class.options.php:308
296
  msgid "User Defined"
297
  msgstr "Gebruikersgedefinieerd"
298
 
299
- #: includes/class.options.php:316
300
  msgid "Custom Width"
301
  msgstr "Aangepaste breedte"
302
 
303
- #: includes/class.options.php:317
304
  msgid ""
305
  "Select the User Defined option from the Width option to utilitze the custom "
306
  "width."
@@ -308,31 +312,31 @@ msgstr ""
308
  "Selecteer de optie Gebruikersgedefinieerd bij de optie Breedte om de "
309
  "aangepaste breedte te gebruiken."
310
 
311
- #: includes/class.options.php:323
312
  msgid "Float"
313
  msgstr "Zwevend"
314
 
315
- #: includes/class.options.php:327
316
  msgid "None (Default)"
317
  msgstr "Geen (standaard)"
318
 
319
- #: includes/class.options.php:328
320
  msgid "Left"
321
  msgstr "Links"
322
 
323
- #: includes/class.options.php:329
324
  msgid "Right"
325
  msgstr "Rechts"
326
 
327
- #: includes/class.options.php:335
328
  msgid "Font Size"
329
  msgstr "Lettergrootte"
330
 
331
- #: includes/class.options.php:342
332
  msgid "Theme"
333
  msgstr "Thema"
334
 
335
- #: includes/class.options.php:343
336
  msgid ""
337
  "The theme is only applied to the table of contents which is auto inserted "
338
  "into the post. The Table of Contents widget will inherit the theme widget "
@@ -342,88 +346,88 @@ msgstr ""
342
  "ingevoegd worden. De widgets met een inhoudsopgave zullen de stijl van het "
343
  "thema overerven."
344
 
345
- #: includes/class.options.php:346
346
  msgid "Grey"
347
  msgstr "Grijs"
348
 
349
- #: includes/class.options.php:347
350
  msgid "Light Blue"
351
  msgstr "Lichtblauw"
352
 
353
- #: includes/class.options.php:348
354
  msgid "White"
355
  msgstr "Wit"
356
 
357
- #: includes/class.options.php:349
358
  msgid "Black"
359
  msgstr "Zwart"
360
 
361
- #: includes/class.options.php:350
362
  msgid "Transparent"
363
  msgstr "Doorzichtig"
364
 
365
- #: includes/class.options.php:357
366
  msgid "Custom Theme"
367
  msgstr "Aangepast thema"
368
 
369
- #: includes/class.options.php:358
370
  msgid "For the following settings to apply, select the Custom Theme option."
371
  msgstr "Selecteer de optie Aangepast thema om volgende opties toe te passen."
372
 
373
- #: includes/class.options.php:363
374
  msgid "Background Color"
375
  msgstr "Kleur achtergrond"
376
 
377
- #: includes/class.options.php:370
378
  msgid "Border Color"
379
  msgstr "Kleur rand"
380
 
381
- #: includes/class.options.php:377
382
  msgid "Title Color"
383
  msgstr "Kleur titel"
384
 
385
- #: includes/class.options.php:384
386
  msgid "Link Color"
387
  msgstr "Kleur snelkoppeling"
388
 
389
- #: includes/class.options.php:391
390
  msgid "Link Hover Color"
391
  msgstr "Kleur snelkoppeling bij hover"
392
 
393
- #: includes/class.options.php:398
394
  msgid "Link Visited Color"
395
  msgstr "Kleur bezochte snelkoppeling"
396
 
397
- #: includes/class.options.php:410
398
  msgid "Lowercase"
399
  msgstr "Kleine letters"
400
 
401
- #: includes/class.options.php:411
402
  msgid "Ensure anchors are in lowercase."
403
  msgstr "Zorg ervoor dat de ankers in kleine letters zijn."
404
 
405
- #: includes/class.options.php:417
406
  msgid "Hyphenate"
407
  msgstr "Met streepjes"
408
 
409
- #: includes/class.options.php:418
410
  msgid "Use - rather than _ in anchors."
411
  msgstr "Gebruik - in plaats van _ in ankers."
412
 
413
- #: includes/class.options.php:424
414
  msgid "Homepage"
415
  msgstr "Startpagina"
416
 
417
- #: includes/class.options.php:425
418
  msgid "Show the table of contents for qualifying items on the homepage."
419
  msgstr ""
420
  "Toon de inhoudsopgave op de startpagina voor in aanmerking komende items."
421
 
422
- #: includes/class.options.php:431
423
  msgid "CSS"
424
  msgstr "CSS"
425
 
426
- #: includes/class.options.php:432
427
  msgid ""
428
  "Prevent the loading the core CSS styles. When selected, the appearance "
429
  "options from above will be ignored."
@@ -431,11 +435,11 @@ msgstr ""
431
  "De basis CSS niet laden. Als dit geselecteerd is, zullen de opties hierboven "
432
  "genegeerd worden."
433
 
434
- #: includes/class.options.php:480
435
  msgid "Smooth Scroll Offset"
436
  msgstr "Offset voor vloeiend schuiven"
437
 
438
- #: includes/class.options.php:481
439
  msgid ""
440
  "If you have a consistent menu across the top of your site, you can adjust "
441
  "the top offset to stop the headings from appearing underneath the top menu. "
@@ -447,11 +451,11 @@ msgstr ""
447
  "aanbevolen waarden om de WordPress-adminbar te compenseren. Deze optie werkt "
448
  "enkel als je de optie Vloeiend schuiven aan hebt staan."
449
 
450
- #: includes/class.options.php:488
451
  msgid "Limit Path"
452
  msgstr "Pad beperken"
453
 
454
- #: includes/class.options.php:489
455
  msgid ""
456
  "Restrict generation of the table of contents to pages that match the "
457
  "required path. This path is from the root of your site and always begins "
@@ -461,15 +465,15 @@ msgstr ""
461
  "overeenkomt met het vereiste pad. Dit pad is vanaf de wortel van je site en "
462
  "begint met een voorwaartse schuine streep."
463
 
464
- #: includes/class.options.php:490
465
  msgid "Eg: /wiki/, /corporate/annual-reports/"
466
  msgstr "Bv /wiki/, /bedrijf/rapporten/"
467
 
468
- #: includes/class.options.php:495
469
  msgid "Default Anchor Prefix"
470
  msgstr "Standaard ankervoorvoegsel"
471
 
472
- #: includes/class.options.php:496
473
  msgid ""
474
  "Anchor targets are restricted to alphanumeric characters as per HTML "
475
  "specification (see readme for more detail). The default anchor prefix will "
@@ -481,7 +485,7 @@ msgstr ""
481
  "enkel ander teken in aanmerking komt. Indien leeg zal een getal gebruikt "
482
  "worden."
483
 
484
- #: includes/class.options.php:497
485
  msgid ""
486
  "This option normally applies to content written in character sets other than "
487
  "ASCII."
@@ -489,15 +493,15 @@ msgstr ""
489
  "Deze optie is normaal enkel nodig voor inhoud die niet in ASCII geschreven "
490
  "is."
491
 
492
- #: includes/class.options.php:498
493
  msgid "Eg: i, toc_index, index, _"
494
  msgstr "Bv. i, toc, index, _"
495
 
496
- #: includes/class.options.php:504
497
  msgid "Widget Affix Selector"
498
  msgstr "Widget affix selector"
499
 
500
- #: includes/class.options.php:505
501
  msgid ""
502
  "To enable the option to affix or pin the Table of Contents widget enter the "
503
  "theme's sidebar class or id."
@@ -505,7 +509,7 @@ msgstr ""
505
  "Om de optie om de widget met de inhoudsopgave vast te zetten moet je het id "
506
  "of de klasse van de zijbalk van het thema opgeven."
507
 
508
- #: includes/class.options.php:506
509
  msgid ""
510
  "Since every theme is different, this can not be determined automatically. If "
511
  "you are unsure how to find the sidebar's class or id, please ask the theme's "
@@ -515,11 +519,11 @@ msgstr ""
515
  "weet wat je hier moet doen, is het best contact op te nemen met de auteur "
516
  "van het thema."
517
 
518
- #: includes/class.options.php:507
519
  msgid "Eg: .widget-area or #sidebar"
520
  msgstr "Bv .widget-area of #sidebar"
521
 
522
- #: includes/class.options.php:755
523
  #, php-format
524
  msgid ""
525
  "The callback function used for the <strong>%s</strong> setting is missing."
@@ -531,19 +535,19 @@ msgstr ""
531
  msgid "Display the table of contents."
532
  msgstr "Toon de inhoudsopgave."
533
 
534
- #: includes/class.widget-toc.php:318
535
  msgid "Title"
536
- msgstr "Titel."
537
 
538
- #: includes/class.widget-toc.php:325
539
  msgid "Active Section Highlight Color:"
540
  msgstr "Kleur actieve selectie:"
541
 
542
- #: includes/class.widget-toc.php:333
543
  msgid "Affix or pin the widget."
544
- msgstr "Affix of zet de widget vast"
545
 
546
- #: includes/class.widget-toc.php:337
547
  msgid ""
548
  "If you choose to affix the widget, do not add any other widgets on the "
549
  "sidebar. Also, make sure you have only one instance Table of Contents widget "
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Eazy TOC\n"
4
+ "POT-Creation-Date: 2018-01-24 10:35-0500\n"
5
+ "PO-Revision-Date: 2018-01-24 10:35-0500\n"
6
  "Last-Translator: Steven A. Zahm <helpdesk@connections-pro.com>\n"
7
  "Language-Team: Niko Strijbol <strijbol.niko AT gmail.com>\n"
8
  "Language: nl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.0.4\n"
13
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n_noop:1,2;_x:1,2c;_nx:4c,1,2;"
14
  "_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
15
  "esc_html_e;esc_html_x:1,2c\n"
38
 
39
  #: includes/class.admin.php:211
40
  msgid "Advanced:"
41
+ msgstr "Geavanceerd:"
42
 
43
  #: includes/class.admin.php:218
44
  msgid "NOTE:"
45
+ msgstr "Let op:"
46
 
47
  #: includes/class.admin.php:220
48
  msgid ""
49
  "Using the advanced options below will override the global advanced settings."
50
  msgstr ""
51
+ "Het gebruik van de geavanceerde opties zal de standaard instellingen "
52
  "overschrijven."
53
 
54
+ #: includes/class.admin.php:229 includes/class.options.php:446
55
  msgid "Headings:"
56
  msgstr "Koppen:"
57
 
58
+ #: includes/class.admin.php:235 includes/class.options.php:447
59
  msgid ""
60
  "Select the heading to consider when generating the table of contents. "
61
  "Deselecting a heading will exclude it."
63
  "Selecteer de koppen die gebruikt moeten worden om de inhoudsopgave te "
64
  "genereren. Een kop niet selecteren zal hem uitsluiten."
65
 
66
+ #: includes/class.admin.php:237 includes/class.options.php:450
67
  msgid "Heading 1 (h1)"
68
  msgstr "Kop 1 (h1)"
69
 
70
+ #: includes/class.admin.php:238 includes/class.options.php:451
71
  msgid "Heading 2 (h2)"
72
  msgstr "Kop 2 (h2)"
73
 
74
+ #: includes/class.admin.php:239 includes/class.options.php:452
75
  msgid "Heading 3 (h3)"
76
  msgstr "Kop 3 (h3)"
77
 
78
+ #: includes/class.admin.php:240 includes/class.options.php:453
79
  msgid "Heading 4 (h4)"
80
  msgstr "Kop 4 (h4)"
81
 
82
+ #: includes/class.admin.php:241 includes/class.options.php:454
83
  msgid "Heading 5 (h5)"
84
  msgstr "Kop 5 (h5)"
85
 
86
+ #: includes/class.admin.php:242 includes/class.options.php:455
87
  msgid "Heading 6 (h6)"
88
  msgstr "Kop 6 (h6)"
89
 
90
  #: includes/class.admin.php:252
 
91
  msgid "Alternate Headings"
92
+ msgstr "Alternatieve Koppen"
93
 
94
  #: includes/class.admin.php:258
95
  msgid ""
98
  "<code>|</code>. Put each additional original and alternate header on its own "
99
  "line."
100
  msgstr ""
101
+ "Specificeer de alternatieve tekst voor de koppen. Iedere kop (titel) die "
102
+ "vervangen moet worden plaats je op één regel gescheiden met een <code>|</"
103
+ "code> en dan de alternatieve tekst. Plaats daarna de volgende op een nieuwe "
104
+ "regel, etc."
105
 
106
  #: includes/class.admin.php:275 includes/class.admin.php:309
107
+ #: includes/class.options.php:470
108
  msgid "Examples:"
109
  msgstr "Voorbeelden:"
110
 
113
  "<code>Level [1.1]|Alternate TOC Header</code> Replaces Level [1.1] in the "
114
  "table of contents with Alternate TOC Header."
115
  msgstr ""
116
+ "<code>Niveau [1.1]|Alternatieve TOC Kop</code> Vervangt Niveau [1.1] in de "
117
+ "inhoudsopgave met de Alternatieve TOC Kop."
118
 
119
  #: includes/class.admin.php:279
 
120
  msgid "<strong>Note:</strong> This is case sensitive."
121
+ msgstr "<strong>Opmerking:</strong> Dit is hoofdlettergevoelig."
122
 
123
+ #: includes/class.admin.php:286 includes/class.options.php:461
124
  msgid "Exclude Headings"
125
  msgstr "Koppen uitsluiten"
126
 
127
+ #: includes/class.admin.php:292 includes/class.options.php:462
128
  msgid ""
129
  "Specify headings to be excluded from appearing in the table of contents. "
130
  "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
134
  "sluisteken <code>|</code> tussen verschillende koppen en gebruik een "
135
  "asterisk <code>*</code> als een carte blanche om andere tekst te vinden."
136
 
137
+ #: includes/class.admin.php:311 includes/class.options.php:472
138
  msgid "<code>Fruit*</code> Ignore headings starting with \"Fruit\"."
139
  msgstr "<code>Fruit*</code> Negeer koppen startende met \"Fruit\"."
140
 
141
+ #: includes/class.admin.php:312 includes/class.options.php:473
142
  msgid ""
143
  "<code>*Fruit Diet*</code> Ignore headings with \"Fruit Diet\" somewhere in "
144
  "the heading."
145
  msgstr "<code>*Fruitdieet*</code> Negeer koppen die \"Fruitdieet\" bevatten."
146
 
147
+ #: includes/class.admin.php:313 includes/class.options.php:474
148
  msgid ""
149
  "<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are "
150
  "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\"."
152
  "<code>De appelboom|Appelsienen|Gele bananen</code> Negeer koppen die exact "
153
  "overeenkomen met \"De appelboom\", \"Appelsienen\" or \"Gele bananen\"."
154
 
155
+ #: includes/class.admin.php:315 includes/class.options.php:476
156
  msgid "<strong>Note:</strong> This is not case sensitive."
157
  msgstr "<strong>Opmerking:</strong> Dit is niet hoofdlettergevoelig."
158
 
207
  msgid "Bottom"
208
  msgstr "Onderaan"
209
 
210
+ #: includes/class.options.php:194
211
  msgid "Show when"
212
  msgstr "Tonen wanneer"
213
 
214
+ #: includes/class.options.php:195
215
  msgid "or more headings are present"
216
  msgstr "of als meerdere koppen aanwezig zijn"
217
 
218
+ #: includes/class.options.php:202
219
  msgid "Display Header Label"
220
  msgstr "Koplabel tonen"
221
 
222
+ #: includes/class.options.php:203
223
  msgid "Show header text above the table of contents."
224
  msgstr "Toon een koptekst boven de inhoudsopgave."
225
 
226
+ #: includes/class.options.php:209
227
  msgid "Header Label"
228
  msgstr "Koplabel"
229
 
230
+ #: includes/class.options.php:210
231
  msgid "Eg: Contents, Table of Contents, Page Contents"
232
  msgstr "Bv. Inhoud, Inhoudsopgave, Op deze pagina"
233
 
234
+ #: includes/class.options.php:212
235
  msgid "Contents"
236
  msgstr "Inhoud"
237
 
238
+ #: includes/class.options.php:216
239
  msgid "Toggle View"
240
  msgstr "Zichtbaarheid wijzigen"
241
 
242
+ #: includes/class.options.php:217
243
  msgid "Allow the user to toggle the visibility of the table of contents."
244
  msgstr ""
245
  "Sta de gebruiker toe de zichtbaarheid van de inhoudsopgave te wijzigen."
246
 
247
+ #: includes/class.options.php:237
248
  msgid "Initial View"
249
  msgstr "Initiële zichtbaarheid"
250
 
251
+ #: includes/class.options.php:238
252
  msgid "Initially hide the table of contents."
253
  msgstr "Verberg initieel de inhoudsopgave."
254
 
255
+ #: includes/class.options.php:244
256
  msgid "Show as Hierarchy"
257
+ msgstr "Toon als Hiërarchie"
258
 
259
+ #: includes/class.options.php:251
260
  msgid "Counter"
261
  msgstr "Teller"
262
 
263
+ #: includes/class.options.php:255
264
  msgid "Decimal (default)"
265
  msgstr "Decimaal (standaard)"
266
 
267
+ #: includes/class.options.php:256
268
  msgid "Numeric"
269
  msgstr "Numeriek"
270
 
271
+ #: includes/class.options.php:257
272
  msgid "Roman"
273
  msgstr "Romeins"
274
 
275
+ #: includes/class.options.php:258
276
  msgid "None"
277
  msgstr "Geen"
278
 
279
+ #: includes/class.options.php:264
280
  msgid "Smooth Scroll"
281
  msgstr "Vloeiend scrollen"
282
 
283
+ #: includes/class.options.php:276
284
  msgid "Width"
285
  msgstr "Breedte"
286
 
287
+ #: includes/class.options.php:281
288
  msgid "Fixed"
289
  msgstr "Vast"
290
 
291
+ #: includes/class.options.php:295
292
  msgid "Relative"
293
  msgstr "Relatief"
294
 
295
+ #: includes/class.options.php:307 includes/class.options.php:352
296
  msgid "Custom"
297
  msgstr "Aangepast"
298
 
299
+ #: includes/class.options.php:309
300
  msgid "User Defined"
301
  msgstr "Gebruikersgedefinieerd"
302
 
303
+ #: includes/class.options.php:317
304
  msgid "Custom Width"
305
  msgstr "Aangepaste breedte"
306
 
307
+ #: includes/class.options.php:318
308
  msgid ""
309
  "Select the User Defined option from the Width option to utilitze the custom "
310
  "width."
312
  "Selecteer de optie Gebruikersgedefinieerd bij de optie Breedte om de "
313
  "aangepaste breedte te gebruiken."
314
 
315
+ #: includes/class.options.php:324
316
  msgid "Float"
317
  msgstr "Zwevend"
318
 
319
+ #: includes/class.options.php:328
320
  msgid "None (Default)"
321
  msgstr "Geen (standaard)"
322
 
323
+ #: includes/class.options.php:329
324
  msgid "Left"
325
  msgstr "Links"
326
 
327
+ #: includes/class.options.php:330
328
  msgid "Right"
329
  msgstr "Rechts"
330
 
331
+ #: includes/class.options.php:336
332
  msgid "Font Size"
333
  msgstr "Lettergrootte"
334
 
335
+ #: includes/class.options.php:343
336
  msgid "Theme"
337
  msgstr "Thema"
338
 
339
+ #: includes/class.options.php:344
340
  msgid ""
341
  "The theme is only applied to the table of contents which is auto inserted "
342
  "into the post. The Table of Contents widget will inherit the theme widget "
346
  "ingevoegd worden. De widgets met een inhoudsopgave zullen de stijl van het "
347
  "thema overerven."
348
 
349
+ #: includes/class.options.php:347
350
  msgid "Grey"
351
  msgstr "Grijs"
352
 
353
+ #: includes/class.options.php:348
354
  msgid "Light Blue"
355
  msgstr "Lichtblauw"
356
 
357
+ #: includes/class.options.php:349
358
  msgid "White"
359
  msgstr "Wit"
360
 
361
+ #: includes/class.options.php:350
362
  msgid "Black"
363
  msgstr "Zwart"
364
 
365
+ #: includes/class.options.php:351
366
  msgid "Transparent"
367
  msgstr "Doorzichtig"
368
 
369
+ #: includes/class.options.php:358
370
  msgid "Custom Theme"
371
  msgstr "Aangepast thema"
372
 
373
+ #: includes/class.options.php:359
374
  msgid "For the following settings to apply, select the Custom Theme option."
375
  msgstr "Selecteer de optie Aangepast thema om volgende opties toe te passen."
376
 
377
+ #: includes/class.options.php:364
378
  msgid "Background Color"
379
  msgstr "Kleur achtergrond"
380
 
381
+ #: includes/class.options.php:371
382
  msgid "Border Color"
383
  msgstr "Kleur rand"
384
 
385
+ #: includes/class.options.php:378
386
  msgid "Title Color"
387
  msgstr "Kleur titel"
388
 
389
+ #: includes/class.options.php:385
390
  msgid "Link Color"
391
  msgstr "Kleur snelkoppeling"
392
 
393
+ #: includes/class.options.php:392
394
  msgid "Link Hover Color"
395
  msgstr "Kleur snelkoppeling bij hover"
396
 
397
+ #: includes/class.options.php:399
398
  msgid "Link Visited Color"
399
  msgstr "Kleur bezochte snelkoppeling"
400
 
401
+ #: includes/class.options.php:411
402
  msgid "Lowercase"
403
  msgstr "Kleine letters"
404
 
405
+ #: includes/class.options.php:412
406
  msgid "Ensure anchors are in lowercase."
407
  msgstr "Zorg ervoor dat de ankers in kleine letters zijn."
408
 
409
+ #: includes/class.options.php:418
410
  msgid "Hyphenate"
411
  msgstr "Met streepjes"
412
 
413
+ #: includes/class.options.php:419
414
  msgid "Use - rather than _ in anchors."
415
  msgstr "Gebruik - in plaats van _ in ankers."
416
 
417
+ #: includes/class.options.php:425
418
  msgid "Homepage"
419
  msgstr "Startpagina"
420
 
421
+ #: includes/class.options.php:426
422
  msgid "Show the table of contents for qualifying items on the homepage."
423
  msgstr ""
424
  "Toon de inhoudsopgave op de startpagina voor in aanmerking komende items."
425
 
426
+ #: includes/class.options.php:432
427
  msgid "CSS"
428
  msgstr "CSS"
429
 
430
+ #: includes/class.options.php:433
431
  msgid ""
432
  "Prevent the loading the core CSS styles. When selected, the appearance "
433
  "options from above will be ignored."
435
  "De basis CSS niet laden. Als dit geselecteerd is, zullen de opties hierboven "
436
  "genegeerd worden."
437
 
438
+ #: includes/class.options.php:481
439
  msgid "Smooth Scroll Offset"
440
  msgstr "Offset voor vloeiend schuiven"
441
 
442
+ #: includes/class.options.php:482
443
  msgid ""
444
  "If you have a consistent menu across the top of your site, you can adjust "
445
  "the top offset to stop the headings from appearing underneath the top menu. "
451
  "aanbevolen waarden om de WordPress-adminbar te compenseren. Deze optie werkt "
452
  "enkel als je de optie Vloeiend schuiven aan hebt staan."
453
 
454
+ #: includes/class.options.php:489
455
  msgid "Limit Path"
456
  msgstr "Pad beperken"
457
 
458
+ #: includes/class.options.php:490
459
  msgid ""
460
  "Restrict generation of the table of contents to pages that match the "
461
  "required path. This path is from the root of your site and always begins "
465
  "overeenkomt met het vereiste pad. Dit pad is vanaf de wortel van je site en "
466
  "begint met een voorwaartse schuine streep."
467
 
468
+ #: includes/class.options.php:491
469
  msgid "Eg: /wiki/, /corporate/annual-reports/"
470
  msgstr "Bv /wiki/, /bedrijf/rapporten/"
471
 
472
+ #: includes/class.options.php:496
473
  msgid "Default Anchor Prefix"
474
  msgstr "Standaard ankervoorvoegsel"
475
 
476
+ #: includes/class.options.php:497
477
  msgid ""
478
  "Anchor targets are restricted to alphanumeric characters as per HTML "
479
  "specification (see readme for more detail). The default anchor prefix will "
485
  "enkel ander teken in aanmerking komt. Indien leeg zal een getal gebruikt "
486
  "worden."
487
 
488
+ #: includes/class.options.php:498
489
  msgid ""
490
  "This option normally applies to content written in character sets other than "
491
  "ASCII."
493
  "Deze optie is normaal enkel nodig voor inhoud die niet in ASCII geschreven "
494
  "is."
495
 
496
+ #: includes/class.options.php:499
497
  msgid "Eg: i, toc_index, index, _"
498
  msgstr "Bv. i, toc, index, _"
499
 
500
+ #: includes/class.options.php:505
501
  msgid "Widget Affix Selector"
502
  msgstr "Widget affix selector"
503
 
504
+ #: includes/class.options.php:506
505
  msgid ""
506
  "To enable the option to affix or pin the Table of Contents widget enter the "
507
  "theme's sidebar class or id."
509
  "Om de optie om de widget met de inhoudsopgave vast te zetten moet je het id "
510
  "of de klasse van de zijbalk van het thema opgeven."
511
 
512
+ #: includes/class.options.php:507
513
  msgid ""
514
  "Since every theme is different, this can not be determined automatically. If "
515
  "you are unsure how to find the sidebar's class or id, please ask the theme's "
519
  "weet wat je hier moet doen, is het best contact op te nemen met de auteur "
520
  "van het thema."
521
 
522
+ #: includes/class.options.php:508
523
  msgid "Eg: .widget-area or #sidebar"
524
  msgstr "Bv .widget-area of #sidebar"
525
 
526
+ #: includes/class.options.php:756
527
  #, php-format
528
  msgid ""
529
  "The callback function used for the <strong>%s</strong> setting is missing."
535
  msgid "Display the table of contents."
536
  msgstr "Toon de inhoudsopgave."
537
 
538
+ #: includes/class.widget-toc.php:310
539
  msgid "Title"
540
+ msgstr "Titel"
541
 
542
+ #: includes/class.widget-toc.php:317
543
  msgid "Active Section Highlight Color:"
544
  msgstr "Kleur actieve selectie:"
545
 
546
+ #: includes/class.widget-toc.php:325
547
  msgid "Affix or pin the widget."
548
+ msgstr "Affix of zet de widget vast."
549
 
550
+ #: includes/class.widget-toc.php:329
551
  msgid ""
552
  "If you choose to affix the widget, do not add any other widgets on the "
553
  "sidebar. Also, make sure you have only one instance Table of Contents widget "
languages/{ez_toc.pot → easy-table-of-contents.pot} RENAMED
@@ -3,14 +3,14 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Easy Table of Contents\n"
6
- "POT-Creation-Date: 2016-02-24 13:41-0500\n"
7
  "PO-Revision-Date: 2015-11-09 09:47-0500\n"
8
  "Last-Translator: Steven A. Zahm <helpdesk@connections-pro.com>\n"
9
  "Language-Team: Steven A. Zahm <helpdesk@connections-pro.com>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.7\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: easy-table-of-contents.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -51,37 +51,37 @@ msgid ""
51
  "Using the advanced options below will override the global advanced settings."
52
  msgstr ""
53
 
54
- #: includes/class.admin.php:229 includes/class.options.php:445
55
  msgid "Headings:"
56
  msgstr ""
57
 
58
- #: includes/class.admin.php:235 includes/class.options.php:446
59
  msgid ""
60
  "Select the heading to consider when generating the table of contents. "
61
  "Deselecting a heading will exclude it."
62
  msgstr ""
63
 
64
- #: includes/class.admin.php:237 includes/class.options.php:449
65
  msgid "Heading 1 (h1)"
66
  msgstr ""
67
 
68
- #: includes/class.admin.php:238 includes/class.options.php:450
69
  msgid "Heading 2 (h2)"
70
  msgstr ""
71
 
72
- #: includes/class.admin.php:239 includes/class.options.php:451
73
  msgid "Heading 3 (h3)"
74
  msgstr ""
75
 
76
- #: includes/class.admin.php:240 includes/class.options.php:452
77
  msgid "Heading 4 (h4)"
78
  msgstr ""
79
 
80
- #: includes/class.admin.php:241 includes/class.options.php:453
81
  msgid "Heading 5 (h5)"
82
  msgstr ""
83
 
84
- #: includes/class.admin.php:242 includes/class.options.php:454
85
  msgid "Heading 6 (h6)"
86
  msgstr ""
87
 
@@ -98,7 +98,7 @@ msgid ""
98
  msgstr ""
99
 
100
  #: includes/class.admin.php:275 includes/class.admin.php:309
101
- #: includes/class.options.php:469
102
  msgid "Examples:"
103
  msgstr ""
104
 
@@ -112,34 +112,34 @@ msgstr ""
112
  msgid "<strong>Note:</strong> This is case sensitive."
113
  msgstr ""
114
 
115
- #: includes/class.admin.php:286 includes/class.options.php:460
116
  msgid "Exclude Headings"
117
  msgstr ""
118
 
119
- #: includes/class.admin.php:292 includes/class.options.php:461
120
  msgid ""
121
  "Specify headings to be excluded from appearing in the table of contents. "
122
  "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
123
  "<code>*</code> as a wildcard to match other text."
124
  msgstr ""
125
 
126
- #: includes/class.admin.php:311 includes/class.options.php:471
127
  msgid "<code>Fruit*</code> Ignore headings starting with \"Fruit\"."
128
  msgstr ""
129
 
130
- #: includes/class.admin.php:312 includes/class.options.php:472
131
  msgid ""
132
  "<code>*Fruit Diet*</code> Ignore headings with \"Fruit Diet\" somewhere in "
133
  "the heading."
134
  msgstr ""
135
 
136
- #: includes/class.admin.php:313 includes/class.options.php:473
137
  msgid ""
138
  "<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are "
139
  "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\"."
140
  msgstr ""
141
 
142
- #: includes/class.admin.php:315 includes/class.options.php:475
143
  msgid "<strong>Note:</strong> This is not case sensitive."
144
  msgstr ""
145
 
@@ -191,230 +191,230 @@ msgstr ""
191
  msgid "Bottom"
192
  msgstr ""
193
 
194
- #: includes/class.options.php:193
195
  msgid "Show when"
196
  msgstr ""
197
 
198
- #: includes/class.options.php:194
199
  msgid "or more headings are present"
200
  msgstr ""
201
 
202
- #: includes/class.options.php:201
203
  msgid "Display Header Label"
204
  msgstr ""
205
 
206
- #: includes/class.options.php:202
207
  msgid "Show header text above the table of contents."
208
  msgstr ""
209
 
210
- #: includes/class.options.php:208
211
  msgid "Header Label"
212
  msgstr ""
213
 
214
- #: includes/class.options.php:209
215
  msgid "Eg: Contents, Table of Contents, Page Contents"
216
  msgstr ""
217
 
218
- #: includes/class.options.php:211
219
  msgid "Contents"
220
  msgstr ""
221
 
222
- #: includes/class.options.php:215
223
  msgid "Toggle View"
224
  msgstr ""
225
 
226
- #: includes/class.options.php:216
227
  msgid "Allow the user to toggle the visibility of the table of contents."
228
  msgstr ""
229
 
230
- #: includes/class.options.php:236
231
  msgid "Initial View"
232
  msgstr ""
233
 
234
- #: includes/class.options.php:237
235
  msgid "Initially hide the table of contents."
236
  msgstr ""
237
 
238
- #: includes/class.options.php:243
239
  msgid "Show as Hierarchy"
240
  msgstr ""
241
 
242
- #: includes/class.options.php:250
243
  msgid "Counter"
244
  msgstr ""
245
 
246
- #: includes/class.options.php:254
247
  msgid "Decimal (default)"
248
  msgstr ""
249
 
250
- #: includes/class.options.php:255
251
  msgid "Numeric"
252
  msgstr ""
253
 
254
- #: includes/class.options.php:256
255
  msgid "Roman"
256
  msgstr ""
257
 
258
- #: includes/class.options.php:257
259
  msgid "None"
260
  msgstr ""
261
 
262
- #: includes/class.options.php:263
263
  msgid "Smooth Scroll"
264
  msgstr ""
265
 
266
- #: includes/class.options.php:275
267
  msgid "Width"
268
  msgstr ""
269
 
270
- #: includes/class.options.php:280
271
  msgid "Fixed"
272
  msgstr ""
273
 
274
- #: includes/class.options.php:294
275
  msgid "Relative"
276
  msgstr ""
277
 
278
- #: includes/class.options.php:306 includes/class.options.php:351
279
  msgid "Custom"
280
  msgstr ""
281
 
282
- #: includes/class.options.php:308
283
  msgid "User Defined"
284
  msgstr ""
285
 
286
- #: includes/class.options.php:316
287
  msgid "Custom Width"
288
  msgstr ""
289
 
290
- #: includes/class.options.php:317
291
  msgid ""
292
  "Select the User Defined option from the Width option to utilitze the custom "
293
  "width."
294
  msgstr ""
295
 
296
- #: includes/class.options.php:323
297
  msgid "Float"
298
  msgstr ""
299
 
300
- #: includes/class.options.php:327
301
  msgid "None (Default)"
302
  msgstr ""
303
 
304
- #: includes/class.options.php:328
305
  msgid "Left"
306
  msgstr ""
307
 
308
- #: includes/class.options.php:329
309
  msgid "Right"
310
  msgstr ""
311
 
312
- #: includes/class.options.php:335
313
  msgid "Font Size"
314
  msgstr ""
315
 
316
- #: includes/class.options.php:342
317
  msgid "Theme"
318
  msgstr ""
319
 
320
- #: includes/class.options.php:343
321
  msgid ""
322
  "The theme is only applied to the table of contents which is auto inserted "
323
  "into the post. The Table of Contents widget will inherit the theme widget "
324
  "styles."
325
  msgstr ""
326
 
327
- #: includes/class.options.php:346
328
  msgid "Grey"
329
  msgstr ""
330
 
331
- #: includes/class.options.php:347
332
  msgid "Light Blue"
333
  msgstr ""
334
 
335
- #: includes/class.options.php:348
336
  msgid "White"
337
  msgstr ""
338
 
339
- #: includes/class.options.php:349
340
  msgid "Black"
341
  msgstr ""
342
 
343
- #: includes/class.options.php:350
344
  msgid "Transparent"
345
  msgstr ""
346
 
347
- #: includes/class.options.php:357
348
  msgid "Custom Theme"
349
  msgstr ""
350
 
351
- #: includes/class.options.php:358
352
  msgid "For the following settings to apply, select the Custom Theme option."
353
  msgstr ""
354
 
355
- #: includes/class.options.php:363
356
  msgid "Background Color"
357
  msgstr ""
358
 
359
- #: includes/class.options.php:370
360
  msgid "Border Color"
361
  msgstr ""
362
 
363
- #: includes/class.options.php:377
364
  msgid "Title Color"
365
  msgstr ""
366
 
367
- #: includes/class.options.php:384
368
  msgid "Link Color"
369
  msgstr ""
370
 
371
- #: includes/class.options.php:391
372
  msgid "Link Hover Color"
373
  msgstr ""
374
 
375
- #: includes/class.options.php:398
376
  msgid "Link Visited Color"
377
  msgstr ""
378
 
379
- #: includes/class.options.php:410
380
  msgid "Lowercase"
381
  msgstr ""
382
 
383
- #: includes/class.options.php:411
384
  msgid "Ensure anchors are in lowercase."
385
  msgstr ""
386
 
387
- #: includes/class.options.php:417
388
  msgid "Hyphenate"
389
  msgstr ""
390
 
391
- #: includes/class.options.php:418
392
  msgid "Use - rather than _ in anchors."
393
  msgstr ""
394
 
395
- #: includes/class.options.php:424
396
  msgid "Homepage"
397
  msgstr ""
398
 
399
- #: includes/class.options.php:425
400
  msgid "Show the table of contents for qualifying items on the homepage."
401
  msgstr ""
402
 
403
- #: includes/class.options.php:431
404
  msgid "CSS"
405
  msgstr ""
406
 
407
- #: includes/class.options.php:432
408
  msgid ""
409
  "Prevent the loading the core CSS styles. When selected, the appearance "
410
  "options from above will be ignored."
411
  msgstr ""
412
 
413
- #: includes/class.options.php:480
414
  msgid "Smooth Scroll Offset"
415
  msgstr ""
416
 
417
- #: includes/class.options.php:481
418
  msgid ""
419
  "If you have a consistent menu across the top of your site, you can adjust "
420
  "the top offset to stop the headings from appearing underneath the top menu. "
@@ -422,26 +422,26 @@ msgid ""
422
  "an effect after you have enabled Smooth Scroll option."
423
  msgstr ""
424
 
425
- #: includes/class.options.php:488
426
  msgid "Limit Path"
427
  msgstr ""
428
 
429
- #: includes/class.options.php:489
430
  msgid ""
431
  "Restrict generation of the table of contents to pages that match the "
432
  "required path. This path is from the root of your site and always begins "
433
  "with a forward slash."
434
  msgstr ""
435
 
436
- #: includes/class.options.php:490
437
  msgid "Eg: /wiki/, /corporate/annual-reports/"
438
  msgstr ""
439
 
440
- #: includes/class.options.php:495
441
  msgid "Default Anchor Prefix"
442
  msgstr ""
443
 
444
- #: includes/class.options.php:496
445
  msgid ""
446
  "Anchor targets are restricted to alphanumeric characters as per HTML "
447
  "specification (see readme for more detail). The default anchor prefix will "
@@ -449,38 +449,38 @@ msgid ""
449
  "instead."
450
  msgstr ""
451
 
452
- #: includes/class.options.php:497
453
  msgid ""
454
  "This option normally applies to content written in character sets other than "
455
  "ASCII."
456
  msgstr ""
457
 
458
- #: includes/class.options.php:498
459
  msgid "Eg: i, toc_index, index, _"
460
  msgstr ""
461
 
462
- #: includes/class.options.php:504
463
  msgid "Widget Affix Selector"
464
  msgstr ""
465
 
466
- #: includes/class.options.php:505
467
  msgid ""
468
  "To enable the option to affix or pin the Table of Contents widget enter the "
469
  "theme's sidebar class or id."
470
  msgstr ""
471
 
472
- #: includes/class.options.php:506
473
  msgid ""
474
  "Since every theme is different, this can not be determined automatically. If "
475
  "you are unsure how to find the sidebar's class or id, please ask the theme's "
476
  "support persons."
477
  msgstr ""
478
 
479
- #: includes/class.options.php:507
480
  msgid "Eg: .widget-area or #sidebar"
481
  msgstr ""
482
 
483
- #: includes/class.options.php:755
484
  #, php-format
485
  msgid ""
486
  "The callback function used for the <strong>%s</strong> setting is missing."
@@ -490,19 +490,19 @@ msgstr ""
490
  msgid "Display the table of contents."
491
  msgstr ""
492
 
493
- #: includes/class.widget-toc.php:318
494
  msgid "Title"
495
  msgstr ""
496
 
497
- #: includes/class.widget-toc.php:325
498
  msgid "Active Section Highlight Color:"
499
  msgstr ""
500
 
501
- #: includes/class.widget-toc.php:333
502
  msgid "Affix or pin the widget."
503
  msgstr ""
504
 
505
- #: includes/class.widget-toc.php:337
506
  msgid ""
507
  "If you choose to affix the widget, do not add any other widgets on the "
508
  "sidebar. Also, make sure you have only one instance Table of Contents widget "
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Easy Table of Contents\n"
6
+ "POT-Creation-Date: 2018-01-24 10:35-0500\n"
7
  "PO-Revision-Date: 2015-11-09 09:47-0500\n"
8
  "Last-Translator: Steven A. Zahm <helpdesk@connections-pro.com>\n"
9
  "Language-Team: Steven A. Zahm <helpdesk@connections-pro.com>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.4\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: easy-table-of-contents.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
51
  "Using the advanced options below will override the global advanced settings."
52
  msgstr ""
53
 
54
+ #: includes/class.admin.php:229 includes/class.options.php:446
55
  msgid "Headings:"
56
  msgstr ""
57
 
58
+ #: includes/class.admin.php:235 includes/class.options.php:447
59
  msgid ""
60
  "Select the heading to consider when generating the table of contents. "
61
  "Deselecting a heading will exclude it."
62
  msgstr ""
63
 
64
+ #: includes/class.admin.php:237 includes/class.options.php:450
65
  msgid "Heading 1 (h1)"
66
  msgstr ""
67
 
68
+ #: includes/class.admin.php:238 includes/class.options.php:451
69
  msgid "Heading 2 (h2)"
70
  msgstr ""
71
 
72
+ #: includes/class.admin.php:239 includes/class.options.php:452
73
  msgid "Heading 3 (h3)"
74
  msgstr ""
75
 
76
+ #: includes/class.admin.php:240 includes/class.options.php:453
77
  msgid "Heading 4 (h4)"
78
  msgstr ""
79
 
80
+ #: includes/class.admin.php:241 includes/class.options.php:454
81
  msgid "Heading 5 (h5)"
82
  msgstr ""
83
 
84
+ #: includes/class.admin.php:242 includes/class.options.php:455
85
  msgid "Heading 6 (h6)"
86
  msgstr ""
87
 
98
  msgstr ""
99
 
100
  #: includes/class.admin.php:275 includes/class.admin.php:309
101
+ #: includes/class.options.php:470
102
  msgid "Examples:"
103
  msgstr ""
104
 
112
  msgid "<strong>Note:</strong> This is case sensitive."
113
  msgstr ""
114
 
115
+ #: includes/class.admin.php:286 includes/class.options.php:461
116
  msgid "Exclude Headings"
117
  msgstr ""
118
 
119
+ #: includes/class.admin.php:292 includes/class.options.php:462
120
  msgid ""
121
  "Specify headings to be excluded from appearing in the table of contents. "
122
  "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
123
  "<code>*</code> as a wildcard to match other text."
124
  msgstr ""
125
 
126
+ #: includes/class.admin.php:311 includes/class.options.php:472
127
  msgid "<code>Fruit*</code> Ignore headings starting with \"Fruit\"."
128
  msgstr ""
129
 
130
+ #: includes/class.admin.php:312 includes/class.options.php:473
131
  msgid ""
132
  "<code>*Fruit Diet*</code> Ignore headings with \"Fruit Diet\" somewhere in "
133
  "the heading."
134
  msgstr ""
135
 
136
+ #: includes/class.admin.php:313 includes/class.options.php:474
137
  msgid ""
138
  "<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are "
139
  "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\"."
140
  msgstr ""
141
 
142
+ #: includes/class.admin.php:315 includes/class.options.php:476
143
  msgid "<strong>Note:</strong> This is not case sensitive."
144
  msgstr ""
145
 
191
  msgid "Bottom"
192
  msgstr ""
193
 
194
+ #: includes/class.options.php:194
195
  msgid "Show when"
196
  msgstr ""
197
 
198
+ #: includes/class.options.php:195
199
  msgid "or more headings are present"
200
  msgstr ""
201
 
202
+ #: includes/class.options.php:202
203
  msgid "Display Header Label"
204
  msgstr ""
205
 
206
+ #: includes/class.options.php:203
207
  msgid "Show header text above the table of contents."
208
  msgstr ""
209
 
210
+ #: includes/class.options.php:209
211
  msgid "Header Label"
212
  msgstr ""
213
 
214
+ #: includes/class.options.php:210
215
  msgid "Eg: Contents, Table of Contents, Page Contents"
216
  msgstr ""
217
 
218
+ #: includes/class.options.php:212
219
  msgid "Contents"
220
  msgstr ""
221
 
222
+ #: includes/class.options.php:216
223
  msgid "Toggle View"
224
  msgstr ""
225
 
226
+ #: includes/class.options.php:217
227
  msgid "Allow the user to toggle the visibility of the table of contents."
228
  msgstr ""
229
 
230
+ #: includes/class.options.php:237
231
  msgid "Initial View"
232
  msgstr ""
233
 
234
+ #: includes/class.options.php:238
235
  msgid "Initially hide the table of contents."
236
  msgstr ""
237
 
238
+ #: includes/class.options.php:244
239
  msgid "Show as Hierarchy"
240
  msgstr ""
241
 
242
+ #: includes/class.options.php:251
243
  msgid "Counter"
244
  msgstr ""
245
 
246
+ #: includes/class.options.php:255
247
  msgid "Decimal (default)"
248
  msgstr ""
249
 
250
+ #: includes/class.options.php:256
251
  msgid "Numeric"
252
  msgstr ""
253
 
254
+ #: includes/class.options.php:257
255
  msgid "Roman"
256
  msgstr ""
257
 
258
+ #: includes/class.options.php:258
259
  msgid "None"
260
  msgstr ""
261
 
262
+ #: includes/class.options.php:264
263
  msgid "Smooth Scroll"
264
  msgstr ""
265
 
266
+ #: includes/class.options.php:276
267
  msgid "Width"
268
  msgstr ""
269
 
270
+ #: includes/class.options.php:281
271
  msgid "Fixed"
272
  msgstr ""
273
 
274
+ #: includes/class.options.php:295
275
  msgid "Relative"
276
  msgstr ""
277
 
278
+ #: includes/class.options.php:307 includes/class.options.php:352
279
  msgid "Custom"
280
  msgstr ""
281
 
282
+ #: includes/class.options.php:309
283
  msgid "User Defined"
284
  msgstr ""
285
 
286
+ #: includes/class.options.php:317
287
  msgid "Custom Width"
288
  msgstr ""
289
 
290
+ #: includes/class.options.php:318
291
  msgid ""
292
  "Select the User Defined option from the Width option to utilitze the custom "
293
  "width."
294
  msgstr ""
295
 
296
+ #: includes/class.options.php:324
297
  msgid "Float"
298
  msgstr ""
299
 
300
+ #: includes/class.options.php:328
301
  msgid "None (Default)"
302
  msgstr ""
303
 
304
+ #: includes/class.options.php:329
305
  msgid "Left"
306
  msgstr ""
307
 
308
+ #: includes/class.options.php:330
309
  msgid "Right"
310
  msgstr ""
311
 
312
+ #: includes/class.options.php:336
313
  msgid "Font Size"
314
  msgstr ""
315
 
316
+ #: includes/class.options.php:343
317
  msgid "Theme"
318
  msgstr ""
319
 
320
+ #: includes/class.options.php:344
321
  msgid ""
322
  "The theme is only applied to the table of contents which is auto inserted "
323
  "into the post. The Table of Contents widget will inherit the theme widget "
324
  "styles."
325
  msgstr ""
326
 
327
+ #: includes/class.options.php:347
328
  msgid "Grey"
329
  msgstr ""
330
 
331
+ #: includes/class.options.php:348
332
  msgid "Light Blue"
333
  msgstr ""
334
 
335
+ #: includes/class.options.php:349
336
  msgid "White"
337
  msgstr ""
338
 
339
+ #: includes/class.options.php:350
340
  msgid "Black"
341
  msgstr ""
342
 
343
+ #: includes/class.options.php:351
344
  msgid "Transparent"
345
  msgstr ""
346
 
347
+ #: includes/class.options.php:358
348
  msgid "Custom Theme"
349
  msgstr ""
350
 
351
+ #: includes/class.options.php:359
352
  msgid "For the following settings to apply, select the Custom Theme option."
353
  msgstr ""
354
 
355
+ #: includes/class.options.php:364
356
  msgid "Background Color"
357
  msgstr ""
358
 
359
+ #: includes/class.options.php:371
360
  msgid "Border Color"
361
  msgstr ""
362
 
363
+ #: includes/class.options.php:378
364
  msgid "Title Color"
365
  msgstr ""
366
 
367
+ #: includes/class.options.php:385
368
  msgid "Link Color"
369
  msgstr ""
370
 
371
+ #: includes/class.options.php:392
372
  msgid "Link Hover Color"
373
  msgstr ""
374
 
375
+ #: includes/class.options.php:399
376
  msgid "Link Visited Color"
377
  msgstr ""
378
 
379
+ #: includes/class.options.php:411
380
  msgid "Lowercase"
381
  msgstr ""
382
 
383
+ #: includes/class.options.php:412
384
  msgid "Ensure anchors are in lowercase."
385
  msgstr ""
386
 
387
+ #: includes/class.options.php:418
388
  msgid "Hyphenate"
389
  msgstr ""
390
 
391
+ #: includes/class.options.php:419
392
  msgid "Use - rather than _ in anchors."
393
  msgstr ""
394
 
395
+ #: includes/class.options.php:425
396
  msgid "Homepage"
397
  msgstr ""
398
 
399
+ #: includes/class.options.php:426
400
  msgid "Show the table of contents for qualifying items on the homepage."
401
  msgstr ""
402
 
403
+ #: includes/class.options.php:432
404
  msgid "CSS"
405
  msgstr ""
406
 
407
+ #: includes/class.options.php:433
408
  msgid ""
409
  "Prevent the loading the core CSS styles. When selected, the appearance "
410
  "options from above will be ignored."
411
  msgstr ""
412
 
413
+ #: includes/class.options.php:481
414
  msgid "Smooth Scroll Offset"
415
  msgstr ""
416
 
417
+ #: includes/class.options.php:482
418
  msgid ""
419
  "If you have a consistent menu across the top of your site, you can adjust "
420
  "the top offset to stop the headings from appearing underneath the top menu. "
422
  "an effect after you have enabled Smooth Scroll option."
423
  msgstr ""
424
 
425
+ #: includes/class.options.php:489
426
  msgid "Limit Path"
427
  msgstr ""
428
 
429
+ #: includes/class.options.php:490
430
  msgid ""
431
  "Restrict generation of the table of contents to pages that match the "
432
  "required path. This path is from the root of your site and always begins "
433
  "with a forward slash."
434
  msgstr ""
435
 
436
+ #: includes/class.options.php:491
437
  msgid "Eg: /wiki/, /corporate/annual-reports/"
438
  msgstr ""
439
 
440
+ #: includes/class.options.php:496
441
  msgid "Default Anchor Prefix"
442
  msgstr ""
443
 
444
+ #: includes/class.options.php:497
445
  msgid ""
446
  "Anchor targets are restricted to alphanumeric characters as per HTML "
447
  "specification (see readme for more detail). The default anchor prefix will "
449
  "instead."
450
  msgstr ""
451
 
452
+ #: includes/class.options.php:498
453
  msgid ""
454
  "This option normally applies to content written in character sets other than "
455
  "ASCII."
456
  msgstr ""
457
 
458
+ #: includes/class.options.php:499
459
  msgid "Eg: i, toc_index, index, _"
460
  msgstr ""
461
 
462
+ #: includes/class.options.php:505
463
  msgid "Widget Affix Selector"
464
  msgstr ""
465
 
466
+ #: includes/class.options.php:506
467
  msgid ""
468
  "To enable the option to affix or pin the Table of Contents widget enter the "
469
  "theme's sidebar class or id."
470
  msgstr ""
471
 
472
+ #: includes/class.options.php:507
473
  msgid ""
474
  "Since every theme is different, this can not be determined automatically. If "
475
  "you are unsure how to find the sidebar's class or id, please ask the theme's "
476
  "support persons."
477
  msgstr ""
478
 
479
+ #: includes/class.options.php:508
480
  msgid "Eg: .widget-area or #sidebar"
481
  msgstr ""
482
 
483
+ #: includes/class.options.php:756
484
  #, php-format
485
  msgid ""
486
  "The callback function used for the <strong>%s</strong> setting is missing."
490
  msgid "Display the table of contents."
491
  msgstr ""
492
 
493
+ #: includes/class.widget-toc.php:310
494
  msgid "Title"
495
  msgstr ""
496
 
497
+ #: includes/class.widget-toc.php:317
498
  msgid "Active Section Highlight Color:"
499
  msgstr ""
500
 
501
+ #: includes/class.widget-toc.php:325
502
  msgid "Affix or pin the widget."
503
  msgstr ""
504
 
505
+ #: includes/class.widget-toc.php:329
506
  msgid ""
507
  "If you choose to affix the widget, do not add any other widgets on the "
508
  "sidebar. Also, make sure you have only one instance Table of Contents widget "
languages/ez_toc-nl_NL.mo DELETED
Binary file