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:
@@ -665,15 +665,15 @@ function wp_get_update_data() {
|
||||
$counts['total'] = $counts['plugins'] + $counts['themes'] + $counts['wordpress'] + $counts['translations'];
|
||||
$titles = array();
|
||||
if ( $counts['wordpress'] ) {
|
||||
/* translators: 1: Number of updates available to WordPress */
|
||||
/* translators: %d: number of updates available to WordPress */
|
||||
$titles['wordpress'] = sprintf( __( '%d WordPress Update' ), $counts['wordpress'] );
|
||||
}
|
||||
if ( $counts['plugins'] ) {
|
||||
/* translators: 1: Number of updates available to plugins */
|
||||
/* translators: %d: number of updates available to plugins */
|
||||
$titles['plugins'] = sprintf( _n( '%d Plugin Update', '%d Plugin Updates', $counts['plugins'] ), $counts['plugins'] );
|
||||
}
|
||||
if ( $counts['themes'] ) {
|
||||
/* translators: 1: Number of updates available to themes */
|
||||
/* translators: %d: number of updates available to themes */
|
||||
$titles['themes'] = sprintf( _n( '%d Theme Update', '%d Theme Updates', $counts['themes'] ), $counts['themes'] );
|
||||
}
|
||||
if ( $counts['translations'] ) {
|
||||
|
||||
Reference in New Issue
Block a user