Make WordPress Core


Ignore:
Timestamp:
06/15/2016 04:36:07 PM (9 years ago)
Author:
obenland
Message:

Update/Install: Shiny Updates v2.

Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.

Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r37526 r37714  
    596596            'ajax_nonce' => wp_create_nonce( 'updates' ),
    597597            'l10n'       => array(
    598                 'updating'          => __( 'Updating...' ), // no ellipsis
    599                 'updated'           => __( 'Updated!' ),
    600                 'updateFailedShort' => __( 'Update Failed!' ),
     598                /* translators: %s: Search string */
     599                'searchResults'              => __( 'Search results for “%s”' ),
     600                'noPlugins'                  => __( 'You do not appear to have any plugins available at this time.' ),
     601                'noItemsSelected'            => __( 'Please select at least one item to perform this action on.' ),
     602                'updating'                   => __( 'Updating...' ), // No ellipsis.
     603                'updated'                    => __( 'Updated!' ),
     604                'update'                     => __( 'Update' ),
     605                'updateNow'                  => __( 'Update Now' ),
     606                'updateFailedShort'          => __( 'Update Failed!' ),
    601607                /* translators: Error string for a failed update */
    602                 'updateFailed'      => __( 'Update Failed: %s' ),
     608                'updateFailed'               => __( 'Update Failed: %s' ),
    603609                /* translators: Plugin name and version */
    604                 'updatingLabel'     => __( 'Updating %s...' ), // no ellipsis
     610                'updatingLabel'              => __( 'Updating %s...' ), // No ellipsis.
    605611                /* translators: Plugin name and version */
    606                 'updatedLabel'      => __( '%s updated!' ),
     612                'updatedLabel'               => __( '%s updated!' ),
    607613                /* translators: Plugin name and version */
    608                 'updateFailedLabel' => __( '%s update failed' ),
     614                'updateFailedLabel'          => __( '%s update failed' ),
    609615                /* translators: JavaScript accessible string */
    610                 'updatingMsg'       => __( 'Updating... please wait.' ), // no ellipsis
     616                'updatingMsg'                => __( 'Updating... please wait.' ), // No ellipsis.
    611617                /* translators: JavaScript accessible string */
    612                 'updatedMsg'        => __( 'Update completed successfully.' ),
     618                'updatedMsg'                 => __( 'Update completed successfully.' ),
    613619                /* translators: JavaScript accessible string */
    614                 'updateCancel'      => __( 'Update canceled.' ),
    615                 'beforeunload'      => __( 'Plugin updates may not complete if you navigate away from this page.' ),
    616             )
     620                'updateCancel'               => __( 'Update canceled.' ),
     621                'beforeunload'               => __( 'Updates may not complete if you navigate away from this page.' ),
     622                'installNow'                 => __( 'Install Now' ),
     623                'installing'                 => __( 'Installing...' ),
     624                'installed'                  => __( 'Installed!' ),
     625                'installFailedShort'         => __( 'Install Failed!' ),
     626                /* translators: Error string for a failed installation */
     627                'installFailed'              => __( 'Installation failed: %s' ),
     628                /* translators: Plugin/Theme name and version */
     629                'installingLabel'            => __( 'Installing %s...' ), // no ellipsis
     630                /* translators: Plugin/Theme name and version */
     631                'installedLabel'             => __( '%s installed!' ),
     632                /* translators: Plugin/Theme name and version */
     633                'installFailedLabel'         => __( '%s installation failed' ),
     634                'installingMsg'              => __( 'Installing... please wait.' ),
     635                'installedMsg'               => __( 'Installation completed successfully.' ),
     636                /* translators: Activation URL */
     637                'importerInstalledMsg'       => __( 'Importer installed successfully. <a href="%s">Activate plugin &#38; run importer</a>' ),
     638                /* translators: %s: Theme name */
     639                'aysDelete'                  => __( 'Are you sure you want to delete %s?' ),
     640                /* translators: %s: Plugin name */
     641                'aysDeleteUninstall'         => __( 'Are you sure you want to delete %s and its data?' ),
     642                'aysBulkDelete'              => __( 'Are you sure you want to delete the selected plugins and their data?' ),
     643                'aysBulkDeleteThemes'        => __( 'Caution: These themes may be active on other sites in the network. Are you sure you want to proceed?' ),
     644                'deleting'                   => __( 'Deleting...' ),
     645                /* translators: %s: Error string for a failed deletion */
     646                'deleteFailed'               => __( 'Deletion failed: %s' ),
     647                'deleted'                    => __( 'Deleted!' ),
     648                'livePreview'                => __( 'Live Preview' ),
     649                'activatePlugin'             => is_network_admin() ? __( 'Network Activate' ) : __( 'Activate' ),
     650                'activateTheme'              => is_network_admin() ? __( 'Network Enable' ) : __( 'Activate' ),
     651                'activateImporter'           => __( 'Activate importer' ),
     652                'unknownError'               => __( 'An unknown error occured' ),
     653            ),
    617654        ) );
    618655
Note: See TracChangeset for help on using the changeset viewer.