From 5db2b5ef939e2534bc6358452e0b8e14e62aab4c Mon Sep 17 00:00:00 2001 From: Alex Lion Date: Tue, 9 Apr 2024 16:24:02 -0700 Subject: [PATCH] I18N issues based on 2.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If strings in your plugin are also used in WordPress core (e.g., **‘Settings’**), you should still add your own text domain. Otherwise, they’ll become untranslated if the core string changes (which happens). Please refer to [this official article](https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#add-text-domain-to-strings). --- class-simple-page-ordering.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class-simple-page-ordering.php b/class-simple-page-ordering.php index e81495a..187577e 100644 --- a/class-simple-page-ordering.php +++ b/class-simple-page-ordering.php @@ -420,7 +420,7 @@ public static function page_row_actions( $actions, $post ) { esc_url( $move_under_grandparent_link ), sprintf( /* translators: %s: parent page/post title */ - __( 'Move out from under %s' ), + __( 'Move out from under %s', 'simple-page-ordering' ), get_the_title( $parent_id ) ) ); @@ -455,7 +455,7 @@ public static function page_row_actions( $actions, $post ) { esc_url( $move_under_sibling_link ), sprintf( /* translators: %s: sibling page/post title */ - __( 'Move under %s' ), + __( 'Move under %s', 'simple-page-ordering' ), get_the_title( $sibling ) ) );