Make WordPress Core


Ignore:
Timestamp:
11/25/2009 11:08:39 AM (15 years ago)
Author:
azaozz
Message:

l10n for thickbox.js, props nbachiyski, fixes #10278

File:
1 edited

Legend:

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

    r12275 r12276  
    166166    $scripts->add_data( 'jquery-table-hotkeys', 'group', 1 );
    167167
    168     $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20091117');
     168    $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20091124');
    169169    $scripts->add_data( 'thickbox', 'group', 1 );
     170    $scripts->localize( 'thickbox', 'thickboxL10n', array(
     171            'next' => __('Next >'),
     172            'prev' => __('< Prev'),
     173            'image' => __('Image'),
     174            'of' => __('of'),
     175            'close' => __('Close'),
     176            'l10n_print_after' => 'try{convertEntities(thickboxL10n);}catch(e){};'
     177    ) );
     178   
    170179
    171180    $scripts->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop$suffix.js", array('jquery'), '0.9.8');
Note: See TracChangeset for help on using the changeset viewer.