Remove <code>
tags from translatable strings in wp-load.php
.
Add translator comments. Props ramiy. Fixes #34574. git-svn-id: https://develop.svn.wordpress.org/trunk@35547 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b1ae50d4d0
commit
5081c05c00
@ -72,9 +72,21 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) {
|
||||
wp_load_translations_early();
|
||||
|
||||
// Die with an error message
|
||||
$die = __( "There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started." ) . '</p>';
|
||||
$die .= '<p>' . __( "Need more help? <a href='https://codex.wordpress.org/Editing_wp-config.php'>We got it</a>." ) . '</p>';
|
||||
$die .= '<p>' . __( "You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ) . '</p>';
|
||||
$die = sprintf(
|
||||
/* translators: %s: wp-config.php */
|
||||
__( "There doesn't seem to be a %s file. I need this before we can get started." ),
|
||||
'<code>wp-config.php</code>'
|
||||
) . '</p>';
|
||||
$die .= '<p>' . sprintf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( "Need more help? <a href='%s'>We got it</a>." ),
|
||||
__( 'https://codex.wordpress.org/Editing_wp-config.php' )
|
||||
) . '</p>';
|
||||
$die .= '<p>' . sprintf(
|
||||
/* translators: %s: wp-config.php */
|
||||
__( "You can create a %s file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ),
|
||||
'<code>wp-config.php</code>'
|
||||
) . '</p>';
|
||||
$die .= '<p><a href="' . $path . '" class="button button-large">' . __( "Create a Configuration File" ) . '</a>';
|
||||
|
||||
wp_die( $die, __( 'WordPress › Error' ) );
|
||||
|
Loading…
Reference in New Issue
Block a user