mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +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:
@@ -1648,7 +1648,7 @@ class wpdb {
|
||||
$message = '<h1>' . __( 'Error establishing a database connection' ) . "</h1>\n";
|
||||
|
||||
$message .= '<p>' . sprintf(
|
||||
/* translators: 1: wp-config.php. 2: database host */
|
||||
/* translators: 1: wp-config.php, 2: database host */
|
||||
__( 'This either means that the username and password information in your %1$s file is incorrect or we can’t contact the database server at %2$s. This could mean your host’s database server is down.' ),
|
||||
'<code>wp-config.php</code>',
|
||||
'<code>' . htmlspecialchars( $this->dbhost, ENT_QUOTES ) . '</code>'
|
||||
|
||||
Reference in New Issue
Block a user