From 8a20a2cef533463582cfb1000ba0edbdc0a2feb0 Mon Sep 17 00:00:00 2001 From: Alex Lion Date: Thu, 17 Apr 2025 16:20:03 -0700 Subject: [PATCH] Improve I18N Issues based on 1.6.3 Make the text domain correct. --- .../lib/class-php-compatibility-checker.php | 76 +++++++++---------- plugin/wpengine-phpcompat.php | 4 +- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/plugin/lib/class-php-compatibility-checker.php b/plugin/lib/class-php-compatibility-checker.php index fd334d9..9b6c40d 100644 --- a/plugin/lib/class-php-compatibility-checker.php +++ b/plugin/lib/class-php-compatibility-checker.php @@ -59,7 +59,7 @@ public function enqueue_scripts( $hook_suffix = '' ) { function() { ?>
-

PHP Compatibility Checker. Please run make build to build assets.', 'wpe-php-compat' ) ); ?>

+

PHP Compatibility Checker. Please run make build to build assets.', 'php-compatibility-checker' ) ); ?>

page = add_submenu_page( 'tools.php', esc_html__( 'PHP Compatibility', 'wpe-php-compat' ), esc_html__( 'PHP Compatibility', 'wpe-php-compat' ), WPEPHPCOMPAT_CAPABILITY, WPEPHPCOMPAT_ADMIN_PAGE_SLUG, array( self::instance(), 'scan_page' ) ); + $this->page = add_submenu_page( 'tools.php', esc_html__( 'PHP Compatibility', 'php-compatibility-checker' ), esc_html__( 'PHP Compatibility', 'php-compatibility-checker' ), WPEPHPCOMPAT_CAPABILITY, WPEPHPCOMPAT_ADMIN_PAGE_SLUG, array( self::instance(), 'scan_page' ) ); } /** @@ -303,21 +303,21 @@ public function scan_page() { ?>
-

+

-

-

+

+


-

+

- + @@ -325,11 +325,11 @@ public function scan_page() {
-
- +
+
- +
@@ -344,15 +344,15 @@ public function scan_page() {