WordPress.org

Make WordPress Core

Changeset 16503


Ignore:
Timestamp:
11/20/10 11:56:59 (4 years ago)
Author:
westi
Message:

Add missing calls to convertEntities for js l10n

File:
1 edited

Legend:

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

    r16500 r16503  
    236236            'crunching' => __('Crunching…'), 
    237237            'deleted' => __('moved to the trash.'), 
     238            'error_uploading' => __('“%s” has failed to upload due to an error'), 
    238239            'l10n_print_after' => 'try{convertEntities(swfuploadL10n);}catch(e){};', 
    239             'error_uploading' => __('“%s” has failed to upload due to an error') 
    240240    ) ); 
    241241 
     
    268268        'url' => __( 'URL:' ), 
    269269        'noShortlink' => __( 'No shortlink available for this page.' ), 
     270        'l10n_print_after' => 'try{convertEntities(adminBarL10n);}catch(e){};', 
    270271    ) ); 
    271272 
     
    274275        'untitled' => __('Untitled'), 
    275276        'noMatchesFound' => __('No matches found.'), 
     277        'l10n_print_after' => 'try{convertEntities(wpLinkL10n);}catch(e){};', 
    276278    ) ); 
    277279 
     
    381383            'loading' => __('Loading...'), 
    382384            'error' => __('An error has occurred while loading the items.'), 
    383             'search' => __('Search results for “%s”') 
     385            'search' => __('Search results for “%s”'), 
     386            'l10n_print_after' => 'try{convertEntities(listTableL10n);}catch(e){};' 
    384387        ) ); 
    385388 
     
    430433            'saving' => __( 'Saving...' ), 
    431434            'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' ), 
    432             'done' => __( 'Done' ) 
     435            'done' => __( 'Done' ), 
     436            'l10n_print_after' => 'try{convertEntities(setPostThumbnailL10n);}catch(e){};' 
    433437        ) ); 
    434438 
     
    439443            'warnDeleteMenu' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ), 
    440444            'saveAlert' => __('The changes you made will be lost if you navigate away from this page.'), 
     445            'l10n_print_after' => 'try{convertEntities(navMenuL10n);}catch(e){};' 
    441446        ) ); 
    442447 
Note: See TracChangeset for help on using the changeset viewer.