WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2018 04:43:59 PM (2 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-admin/includes/class-bulk-upgrader-skin.php

    r42343 r42827  
    4242        /* translators: 1: Title of an update, 2: Error message */
    4343        $this->upgrader->strings['skin_update_failed_error'] = __( 'An error occurred while updating %1$s: %2$s' );
    44         /* translators: 1: Title of an update */
    45         $this->upgrader->strings['skin_update_failed'] = __( 'The update of %1$s failed.' );
    46         /* translators: 1: Title of an update */
    47         $this->upgrader->strings['skin_update_successful'] = __( '%1$s updated successfully.' );
     44        /* translators: %s: Title of an update */
     45        $this->upgrader->strings['skin_update_failed'] = __( 'The update of %s failed.' );
     46        /* translators: %s: Title of an update */
     47        $this->upgrader->strings['skin_update_successful'] = __( '%s updated successfully.' );
    4848        $this->upgrader->strings['skin_upgrade_end']       = __( 'All updates have been completed.' );
    4949    }
Note: See TracChangeset for help on using the changeset viewer.