mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders.
Add missing translator comments in `WP_Theme_Install_List_Table` and `wp_notify_postauthor()`. Add missing commas in some translator comments. Fixes #43523. git-svn-id: https://develop.svn.wordpress.org/trunk@42827 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -59,7 +59,7 @@ if ( file_exists( ABSPATH . 'wp-config-sample.php' ) ) {
|
||||
if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
|
||||
wp_die(
|
||||
'<p>' . sprintf(
|
||||
/* translators: 1: wp-config.php 2: install.php */
|
||||
/* translators: 1: wp-config.php, 2: install.php */
|
||||
__( 'The file %1$s already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href="%2$s">installing now</a>.' ),
|
||||
'<code>wp-config.php</code>',
|
||||
'install.php'
|
||||
@@ -71,7 +71,7 @@ if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
|
||||
if ( @file_exists( ABSPATH . '../wp-config.php' ) && ! @file_exists( ABSPATH . '../wp-settings.php' ) ) {
|
||||
wp_die(
|
||||
'<p>' . sprintf(
|
||||
/* translators: 1: wp-config.php 2: install.php */
|
||||
/* translators: 1: wp-config.php, 2: install.php */
|
||||
__( 'The file %1$s 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 <a href="%2$s">installing now</a>.' ),
|
||||
'<code>wp-config.php</code>',
|
||||
'install.php'
|
||||
|
||||
Reference in New Issue
Block a user