Skip to content

Commit

Permalink
Update textdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheu committed Nov 25, 2024
1 parent d0a1efe commit d2f6229
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion block/build/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
$wrapper_attributes, // @codingStandardsIgnoreLine WordPress.Security.EscapeOutput.OutputNotEscaped
);

printf( '<h2>%s</h2>', esc_html__( 'Table of contents', 'hm-table-of-contents' ) );
printf( '<h2>%s</h2>', esc_html__( 'Table of contents', 'hm-toc' ) );
the_heading_list( $hierarchy, $max_level, $current_level );
echo '</div>';
2 changes: 1 addition & 1 deletion block/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ registerBlockType( metadata.name, {
<InspectorControls>
<PanelBody>
<SelectControl
label={ __( 'Maximum Header Depth', 'hm-table-of-contents' ) }
label={ __( 'Maximum Header Depth', 'hm-toc' ) }
value={ attributes.maxLevel || 3 }
options={ [
{ label: '1', value: 1 },
Expand Down
2 changes: 1 addition & 1 deletion block/src/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
$wrapper_attributes, // @codingStandardsIgnoreLine WordPress.Security.EscapeOutput.OutputNotEscaped
);

printf( '<h2>%s</h2>', esc_html__( 'Table of contents', 'hm-table-of-contents' ) );
printf( '<h2>%s</h2>', esc_html__( 'Table of contents', 'hm-toc' ) );
the_heading_list( $hierarchy, $max_level, $current_level );
echo '</div>';
1 change: 1 addition & 0 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Description: Add anchors to headings in post content and generate table of contents.
* Author: Human Made Limited
* Author URI: https://humanmade.com/
* Text Domain: hm-toc
* Version: 1.1.5
*/

Expand Down

0 comments on commit d2f6229

Please sign in to comment.