Make WordPress Core


Ignore:
Timestamp:
02/19/2018 02:12:41 AM (7 years ago)
Author:
peterwilsoncc
Message:

General: Further improve error messages following [42648].

Props kristastevens, melchoyce.
Fixes #38332 for trunk.

File:
1 edited

Legend:

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

    r42648 r42719  
    138138        'wp-ajax-response', 'wpAjax', array(
    139139            'noPerm' => __( 'Sorry, you are not allowed to do that.' ),
    140             'broken' => __( 'An error has occurred.' ),
     140            'broken' => __( 'Something went wrong.' ),
    141141        )
    142142    );
     
    606606            'action'                  => __( 'Action' ),
    607607            'discardChanges'          => __( 'Discard changes' ),
    608             'cheatin'                 => __( 'An error has occurred.' ),
    609             'notAllowedHeading'       => __( 'You don’t have permission to do this.' ),
     608            'cheatin'                 => __( 'Something went wrong.' ),
     609            'notAllowedHeading'       => __( 'You need a higher level of permission.' ),
    610610            'notAllowed'              => __( 'Sorry, you are not allowed to customize this site.' ),
    611611            'previewIframeTitle'      => __( 'Site Preview' ),
     
    690690            'admin-tags', 'tagsl10n', array(
    691691                'noPerm' => __( 'Sorry, you are not allowed to do that.' ),
    692                 'broken' => __( 'An error has occurred.' ),
     692                'broken' => __( 'Something went wrong.' ),
    693693            )
    694694        );
     
    919919                    /* translators: %s: Importer name */
    920920                    'activateImporterLabel'    => __( 'Run %s' ),
    921                     'unknownError'             => __( 'An error has occurred.' ),
     921                    'unknownError'             => __( 'Something went wrong.' ),
    922922                    'connectionError'          => __( 'Connection lost or the server is busy. Please try again later.' ),
    923923                    'nonceError'               => __( 'An error has occurred. Please reload the page and try again.' ),
Note: See TracChangeset for help on using the changeset viewer.