Administration: Remove unnecessary numbered placeholders.

Props: tobifjellner, thrijith.
Fixes #46824.

git-svn-id: https://develop.svn.wordpress.org/trunk@45167 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2019-04-12 16:31:37 +00:00
parent 4740573142
commit f36d2fbbdc

View File

@ -1139,8 +1139,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
return new WP_Error(
'signature_verification_unsupported',
sprintf(
/* translators: 1: The filename of the package. */
__( 'The authenticity of %1$s could not be verified as signature verification is unavailable on this system.' ),
/* translators: %s: The filename of the package. */
__( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ),
'<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
),
( ! function_exists( 'sodium_crypto_sign_verify_detached' ) ? 'sodium_crypto_sign_verify_detached' : 'sha384' )
@ -1151,8 +1151,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
return new WP_Error(
'signature_verification_no_signature',
sprintf(
/* translators: 1: The filename of the package. */
__( 'The authenticity of %1$s could not be verified as no signature was found.' ),
/* translators: %s: The filename of the package. */
__( 'The authenticity of %s could not be verified as no signature was found.' ),
'<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
),
array(
@ -1198,8 +1198,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
return new WP_Error(
'signature_verification_failed',
sprintf(
/* translators: 1: The filename of the package. */
__( 'The authenticity of %1$s could not be verified.' ),
/* translators: %s: The filename of the package. */
__( 'The authenticity of %s could not be verified.' ),
'<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
),
// Error data helpful for debugging: