Changeset 25658 for trunk/src/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 10/02/2013 06:50:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r25656 r25658 1090 1090 1091 1091 function upgrade_strings() { 1092 $this->strings['starting_upgrade'] = __( 'Some of your language files need updating. Sit tight for a few more seconds while we update them as well.' );1093 $this->strings['up_to_date'] = __( 'The languageis up to date.' ); // We need to silently skip this case1092 $this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while we update them as well.' ); 1093 $this->strings['up_to_date'] = __( 'The translation is up to date.' ); // We need to silently skip this case 1094 1094 $this->strings['no_package'] = __( 'Update package not available.' ); 1095 $this->strings['downloading_package'] = __( 'Downloading language updatefrom <span class="code">%s</span>…' );1095 $this->strings['downloading_package'] = __( 'Downloading translation from <span class="code">%s</span>…' ); 1096 1096 $this->strings['unpack_package'] = __( 'Unpacking the update…' ); 1097 $this->strings['process_failed'] = __( ' Languageupdate failed.' );1098 $this->strings['process_success'] = __( ' Languageupdated successfully.' );1097 $this->strings['process_failed'] = __( 'Translation update failed.' ); 1098 $this->strings['process_success'] = __( 'Translation updated successfully.' ); 1099 1099 } 1100 1100 … … 1598 1598 $theme = wp_get_theme( $item ); 1599 1599 $item_name = $theme->Get( 'Name' ); 1600 $skin->feedback( __( 'Updating Theme: %s' ), $item_name );1600 $skin->feedback( __( 'Updating theme: %s' ), $item_name ); 1601 1601 break; 1602 1602 case 'plugin': 1603 1603 $plugin_data = get_plugin_data( $context . '/' . $item ); 1604 1604 $item_name = $plugin_data['Name']; 1605 $skin->feedback( __( 'Updating Plugin: %s' ), $item_name );1605 $skin->feedback( __( 'Updating plugin: %s' ), $item_name ); 1606 1606 break; 1607 1607 case 'language': … … 1609 1609 $theme = wp_get_theme( $item->slug ); 1610 1610 $skin->feedback( sprintf( 1611 __( 'Updating the %1$s language files for the %2$s Theme' ),1611 __( 'Updating the %1$s translation for the %2$s theme' ), 1612 1612 $item->language, 1613 1613 $theme->Get( 'Name' ) 1614 1614 ) ); 1615 1615 $item_name = sprintf( 1616 __( '%1$s translation for the %2$s Theme' ),1616 __( '%1$s translation for the %2$s theme' ), 1617 1617 $item->language, 1618 1618 $theme->Get( 'Name' ) … … 1622 1622 $plugin_data = array_shift( $plugin_data ); 1623 1623 $skin->feedback( sprintf( 1624 __( 'Updating the %1$s language files for the %2$s Plugin' ),1624 __( 'Updating the %1$s translation for the %2$s plugin' ), 1625 1625 $item->language, 1626 1626 $plugin_data['Name'] 1627 1627 ) ); 1628 1628 $item_name = sprintf( 1629 __( '%1$s translation for the %2$s Plugin' ),1629 __( '%1$s translation for the %2$s plugin' ), 1630 1630 $item->language, 1631 1631 $plugin_data['Name']
Note: See TracChangeset
for help on using the changeset viewer.