Changeset 11506 for trunk/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 06/02/2009 07:21:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r11499 r11506 919 919 920 920 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 } 923 925 } 924 926 … … 943 945 944 946 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>'; 946 948 else 947 949 $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.