From d2f6229ea4627b9928a3c62bbd0b69f684cf29c8 Mon Sep 17 00:00:00 2001 From: Matthew Haines-Young Date: Mon, 25 Nov 2024 14:58:33 +0000 Subject: [PATCH] Update textdomain --- block/build/render.php | 2 +- block/src/index.js | 2 +- block/src/render.php | 2 +- plugin.php | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/block/build/render.php b/block/build/render.php index f65a2f4..ac3b4f3 100644 --- a/block/build/render.php +++ b/block/build/render.php @@ -40,6 +40,6 @@ $wrapper_attributes, // @codingStandardsIgnoreLine WordPress.Security.EscapeOutput.OutputNotEscaped ); -printf( '

%s

', esc_html__( 'Table of contents', 'hm-table-of-contents' ) ); +printf( '

%s

', esc_html__( 'Table of contents', 'hm-toc' ) ); the_heading_list( $hierarchy, $max_level, $current_level ); echo ''; diff --git a/block/src/index.js b/block/src/index.js index 2ba1503..0e144cb 100644 --- a/block/src/index.js +++ b/block/src/index.js @@ -13,7 +13,7 @@ registerBlockType( metadata.name, { %s', esc_html__( 'Table of contents', 'hm-table-of-contents' ) ); +printf( '

%s

', esc_html__( 'Table of contents', 'hm-toc' ) ); the_heading_list( $hierarchy, $max_level, $current_level ); echo ''; diff --git a/plugin.php b/plugin.php index bf184b6..cc516c2 100644 --- a/plugin.php +++ b/plugin.php @@ -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 */