Make WordPress Core

Changeset 25658


Ignore:
Timestamp:
10/02/2013 06:50:45 PM (13 years ago)
Author:
nacin
Message:

More string cleanups.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

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

    r25656 r25658  
    10901090
    10911091        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 language is up to date.' ); // We need to silently skip this case
     1092                $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
    10941094                $this->strings['no_package'] = __( 'Update package not available.' );
    1095                 $this->strings['downloading_package'] = __( 'Downloading language update from <span class="code">%s</span>&#8230;' );
     1095                $this->strings['downloading_package'] = __( 'Downloading translation from <span class="code">%s</span>&#8230;' );
    10961096                $this->strings['unpack_package'] = __( 'Unpacking the update&#8230;' );
    1097                 $this->strings['process_failed'] = __( 'Language update failed.' );
    1098                 $this->strings['process_success'] = __( 'Language updated successfully.' );
     1097                $this->strings['process_failed'] = __( 'Translation update failed.' );
     1098                $this->strings['process_success'] = __( 'Translation updated successfully.' );
    10991099        }
    11001100
    … …  
    15981598                                $theme = wp_get_theme( $item );
    15991599                                $item_name = $theme->Get( 'Name' );
    1600                                 $skin->feedback( __( 'Updating Theme: %s' ), $item_name );
     1600                                $skin->feedback( __( 'Updating theme: %s' ), $item_name );
    16011601                                break;
    16021602                        case 'plugin':
    16031603                                $plugin_data = get_plugin_data( $context . '/' . $item );
    16041604                                $item_name = $plugin_data['Name'];
    1605                                 $skin->feedback( __( 'Updating Plugin: %s' ), $item_name );
     1605                                $skin->feedback( __( 'Updating plugin: %s' ), $item_name );
    16061606                                break;
    16071607                        case 'language':
    … …  
    16091609                                        $theme = wp_get_theme( $item->slug );
    16101610                                        $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' ),
    16121612                                                $item->language,
    16131613                                                $theme->Get( 'Name' )
    16141614                                        ) );
    16151615                                        $item_name = sprintf(
    1616                                                 __( '%1$s translation for the %2$s Theme' ),
     1616                                                __( '%1$s translation for the %2$s theme' ),
    16171617                                                $item->language,
    16181618                                                $theme->Get( 'Name' )
    … …  
    16221622                                        $plugin_data = array_shift( $plugin_data );
    16231623                                        $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' ),
    16251625                                                $item->language,
    16261626                                                $plugin_data['Name']
    16271627                                        ) );
    16281628                                        $item_name = sprintf(
    1629                                                 __( '%1$s translation for the %2$s Plugin' ),
     1629                                                __( '%1$s translation for the %2$s plugin' ),
    16301630                                                $item->language,
    16311631                                                $plugin_data['Name']
  • trunk/src/wp-admin/includes/update-core.php

    r25649 r25658  
    743743                // If we don't have enough free space, it isn't worth trying again
    744744                if ( $total_size >= disk_free_space( ABSPATH ) )
    745                         $result = new WP_Error( 'disk_full', __( "There isn't enough free disk space to complete the upgrade." ), $to );
     745                        $result = new WP_Error( 'disk_full', __( 'There is not enough free disk space to complete the update.' ), $to );
    746746                else
    747747                        $result = _copy_dir( $from . $distro, $to, $skip );
Note: See TracChangeset for help on using the changeset viewer.