WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2018 04:43:59 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/update.php

    r42653 r42827  
    666666    $titles          = array();
    667667    if ( $counts['wordpress'] ) {
    668         /* translators: 1: Number of updates available to WordPress */
     668        /* translators: %d: number of updates available to WordPress */
    669669        $titles['wordpress'] = sprintf( __( '%d WordPress Update' ), $counts['wordpress'] );
    670670    }
    671671    if ( $counts['plugins'] ) {
    672         /* translators: 1: Number of updates available to plugins */
     672        /* translators: %d: number of updates available to plugins */
    673673        $titles['plugins'] = sprintf( _n( '%d Plugin Update', '%d Plugin Updates', $counts['plugins'] ), $counts['plugins'] );
    674674    }
    675675    if ( $counts['themes'] ) {
    676         /* translators: 1: Number of updates available to themes */
     676        /* translators: %d: number of updates available to themes */
    677677        $titles['themes'] = sprintf( _n( '%d Theme Update', '%d Theme Updates', $counts['themes'] ), $counts['themes'] );
    678678    }
Note: See TracChangeset for help on using the changeset viewer.