From 5b6641b20593c5734235b31acdb2df4c1ad9758f 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@35557 602fd350-edb4-49c9-b593-d223f7449a82
---
src/wp-admin/setup-config.php | 59 +++++++++++++++++++++++++++--------
1 file changed, 46 insertions(+), 13 deletions(-)
diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php
index 1f6a3ec4a4..038f68bd14 100644
--- a/src/wp-admin/setup-config.php
+++ b/src/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' )
+ );
+?>