Make WordPress Core


Ignore:
Timestamp:
06/02/2009 07:21:42 AM (16 years ago)
Author:
azaozz
Message:

Add more translator comments for placeholders, props nbachiyski, fixes #10002

File:
1 edited

Legend:

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

    r11499 r11506  
    919919
    920920    function before() {
    921         if ( !empty($this->api) )
    922             $this->upgrader->strings['process_success'] = sprintf( __('Successfully installed the theme <strong>%s %s</strong>.'), $this->api->name, $this->api->version);
     921        if ( !empty($this->api) ) {
     922            /* translators: 1: theme name, 2: version */
     923            $this->upgrader->strings['process_success'] = sprintf( __('Successfully installed the theme <strong>%1$s %2$s</strong>.'), $this->api->name, $this->api->version);
     924        }
    923925    }
    924926
     
    943945
    944946        if ( $this->type == 'web' )
    945             $install_actions['themes_page'] = '<a href="' . admin_url('theme-install.php') . '" title="' . esc_attr__('Return to Theme Installer') . '" target="_parent">' . __('Return to Theme Installer.') . '</a>';
     947            $install_actions['themes_page'] = '<a href="' . admin_url('theme-install.php') . '" title="' . esc_attr__('Return to Theme Installer') . '" target="_parent">' . __('Return to Theme Installer') . '</a>';
    946948        else
    947949            $install_actions['themes_page'] = '<a href="' . admin_url('themes.php') . '" title="' . esc_attr__('Themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>';
Note: See TracChangeset for help on using the changeset viewer.