I18N: Remove wp-config.php file name from translatable strings.

Follow-up to [35547], [35557], [53131].

See #46057.

git-svn-id: https://develop.svn.wordpress.org/trunk@53148 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-04-12 01:45:18 +00:00
parent 0ce91f72d9
commit b9556e457f
2 changed files with 8 additions and 6 deletions

View File

@ -186,9 +186,10 @@ switch ( $step ) {
</strong>
<?php
printf(
/* translators: %s: Documentation URL. */
__( 'Need more help? <a href="%s">Read the support article on wp-config.php</a>.' ),
__( 'https://wordpress.org/support/article/editing-wp-config-php/' )
/* translators: 1: Documentation URL, 2: wp-config.php */
__( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
__( 'https://wordpress.org/support/article/editing-wp-config-php/' ),
'<code>wp-config.php</code>'
);
?>
</p>

View File

@ -91,9 +91,10 @@ if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
'<code>wp-config.php</code>'
) . '</p>';
$die .= '<p>' . sprintf(
/* translators: %s: Documentation URL. */
__( "Need more help? <a href='%s'>Read the support article on wp-config.php</a>." ),
__( 'https://wordpress.org/support/article/editing-wp-config-php/' )
/* translators: 1: Documentation URL, 2: wp-config.php */
__( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
__( 'https://wordpress.org/support/article/editing-wp-config-php/' ),
'<code>wp-config.php</code>'
) . '</p>';
$die .= '<p>' . sprintf(
/* translators: %s: wp-config.php */