From 8c13792d6d4c4c2c8460a17cbab5c2a878aac762 Mon Sep 17 00:00:00 2001 From: Gustavo Bordoni Date: Fri, 22 Sep 2023 17:07:35 -0400 Subject: [PATCH] Add the rest of the translations --- checks/code-obfuscation.php | 6 +++--- checks/plugin-updaters.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/checks/code-obfuscation.php b/checks/code-obfuscation.php index e3d62a2ca..e8542cf4d 100644 --- a/checks/code-obfuscation.php +++ b/checks/code-obfuscation.php @@ -12,7 +12,7 @@ function check_zend_guard() { return new Error( 'obfuscated_code_detected', sprintf( - 'Code Obfuscation tools are not permitted. Detected: %s', + __( 'Code Obfuscation tools are not permitted. Detected: %s', 'plugin-check' ), 'Zend Guard' ) ); @@ -31,7 +31,7 @@ function check_sourcegardian() { return new Error( 'obfuscated_code_detected', sprintf( - 'Code Obfuscation tools are not permitted. Detected: %s', + __( 'Code Obfuscation tools are not permitted. Detected: %s', 'plugin-check' ), 'Source Gardian' ) ); @@ -44,7 +44,7 @@ function check_ioncube() { return new Error( 'obfuscated_code_detected', sprintf( - 'Code Obfuscation tools are not permitted. Detected: %s', + __( 'Code Obfuscation tools are not permitted. Detected: %s', 'plugin-check' ), 'ionCube' ) ); diff --git a/checks/plugin-updaters.php b/checks/plugin-updaters.php index 01f214c3e..754d2e66a 100644 --- a/checks/plugin-updaters.php +++ b/checks/plugin-updaters.php @@ -23,7 +23,7 @@ function check_updaters() { return new Error( 'plugin_updater_detected', sprintf( - 'Plugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: %s', + __( 'Plugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: %s', 'plugin-check' ), esc_html( implode( ', ', $matches ) ) ) ); @@ -43,7 +43,7 @@ function check_updaters() { return new Error( 'plugin_updater_detected', sprintf( - 'Plugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: %s', + __( 'Plugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: %s', 'plugin-check' ), esc_html( $match ) ) ); @@ -63,7 +63,7 @@ function check_updater_warnings() { return new Warning( 'update_modification_detected', sprintf( - 'Detected code which may be altering WordPress update routines. Detected: %s', + __( 'Detected code which may be altering WordPress update routines. Detected: %s', 'plugin-check' ), esc_html( $match ) ) );