Remove translation function

This commit is contained in:
Claudio Sanches 2021-03-17 12:50:52 -03:00
parent 5c6778a0dc
commit fc991ac418
1 changed files with 1 additions and 2 deletions

View File

@ -1814,8 +1814,7 @@ function wc_asort_by_locale( &$data, $locale = '' ) {
if ( Constants::is_true( 'WP_DEBUG' ) ) {
error_log( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
sprintf(
/* translators: 1: PHP docs link 2: error message */
__( 'An unexpected error occurred while trying to use PHP Intl Collator class, it may be caused by an incorrect installation of PHP Intl and ICU, and could be fixed by reinstallaing PHP Intl, see more details about PHP Intl installation: %1$s. Error message: %2$s', 'woocommerce' ),
'An unexpected error occurred while trying to use PHP Intl Collator class, it may be caused by an incorrect installation of PHP Intl and ICU, and could be fixed by reinstallaing PHP Intl, see more details about PHP Intl installation: %1$s. Error message: %2$s',
'https://www.php.net/manual/en/intl.installation.php',
$e->getMessage()
)