From 5081c05c002bd16b60e49db2009546c1f3525ce0 Mon Sep 17 00:00:00 2001
From: Sergey Biryukov ` 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
---
src/wp-load.php | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/wp-load.php b/src/wp-load.php
index a20fc0ac57..94a8b541e7 100644
--- a/src/wp-load.php
+++ b/src/wp-load.php
@@ -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
wp-config.php
file. I need this before we can get started." ) . '
' . __( "Need more help? We got it." ) . '
'; - $die .= '' . __( "You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ) . '
wp-config.php
'
+ ) . '';
+ $die .= '' . sprintf( + /* translators: %s: Codex URL */ + __( "Need more help? We got it." ), + __( 'https://codex.wordpress.org/Editing_wp-config.php' ) + ) . '
'; + $die .= '' . 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." ),
+ 'wp-config.php
'
+ ) . '
' . __( "Create a Configuration File" ) . ''; wp_die( $die, __( 'WordPress › Error' ) );