WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/18/2017 05:14:58 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <code> tags from translatable strings in Core_Upgrader, Language_Pack_Upgrader, Plugin_Upgrader, Theme_Upgrader.

Props ramiy.
Fixes #41705.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-plugin-upgrader.php

    r41289 r41908  
    4747        $this->strings['up_to_date'] = __('The plugin is at the latest version.');
    4848        $this->strings['no_package'] = __('Update package not available.');
    49         $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
     49        /* translators: %s: package URL */
     50        $this->strings['downloading_package'] = sprintf( __( 'Downloading update from %s&#8230;' ), '<span class="code">%s</span>' );
    5051        $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    5152        $this->strings['remove_old'] = __('Removing the old version of the plugin&#8230;');
     
    6364    public function install_strings() {
    6465        $this->strings['no_package'] = __('Installation package not available.');
    65         $this->strings['downloading_package'] = __('Downloading installation package from <span class="code">%s</span>&#8230;');
     66        /* translators: %s: package URL */
     67        $this->strings['downloading_package'] = sprintf( __( 'Downloading installation package from %s&#8230;' ), '<span class="code">%s</span>' );
    6668        $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    6769        $this->strings['installing_package'] = __('Installing the plugin&#8230;');
Note: See TracChangeset for help on using the changeset viewer.