From 9dd3f6fb163489adb5377f6c30bffe1300766790 Mon Sep 17 00:00:00 2001
From: Sergey Biryukov ' . sprintf( __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), 'install.php' ) . ' ' . sprintf(
+ /* translators: %s: install.php */
+ __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ),
+ 'install.php'
+ ) . ' ' . sprintf( __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now."), 'install.php' ) . ' ' . sprintf(
+ /* translators: %s: install.php */
+ __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ),
+ 'install.php'
+ ) . '
- wp-config.php` tags from translatable strings in
`wp-admin/setup-config.php`.
Add translator comments.
Props ramiy.
Fixes #34579.
Built from https://develop.svn.wordpress.org/trunk@35557
git-svn-id: http://core.svn.wordpress.org/trunk@35521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/setup-config.php | 59 ++++++++++++++++++++++++++++++---------
wp-includes/version.php | 2 +-
2 files changed, 47 insertions(+), 14 deletions(-)
diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
index 1f6a3ec4a4..038f68bd14 100644
--- a/wp-admin/setup-config.php
+++ b/wp-admin/setup-config.php
@@ -50,11 +50,21 @@ else
// Check if wp-config.php has been created
if ( file_exists( ABSPATH . 'wp-config.php' ) )
- wp_die( '
file.' ); ?>
- wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php
." ); ?>
- We got it." ); ?>
-
wp-config.php'
+ );
+ ?>
+ wp-config-sample.php',
+ 'wp-config.php
'
+ );
+ ?>
+ We got it.' ),
+ __( 'https://codex.wordpress.org/Editing_wp-config.php' )
+ );
+?>