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-theme-upgrader.php

    r41289 r41908  
    4646        $this->strings['up_to_date'] = __('The theme is at the latest version.');
    4747        $this->strings['no_package'] = __('Update package not available.');
    48         $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
     48        /* translators: %s: package URL */
     49        $this->strings['downloading_package'] = sprintf( __( 'Downloading update from %s&#8230;' ), '<span class="code">%s</span>' );
    4950        $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    5051        $this->strings['remove_old'] = __('Removing the old version of the theme&#8230;');
     
    6162    public function install_strings() {
    6263        $this->strings['no_package'] = __('Installation package not available.');
    63         $this->strings['downloading_package'] = __('Downloading installation package from <span class="code">%s</span>&#8230;');
     64        /* translators: %s: package URL */
     65        $this->strings['downloading_package'] = sprintf( __( 'Downloading installation package from %s&#8230;' ), '<span class="code">%s</span>' );
    6466        $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    6567        $this->strings['installing_package'] = __('Installing the theme&#8230;');
Note: See TracChangeset for help on using the changeset viewer.