Widget i18n from nbachiyski. see #5583

git-svn-id: https://develop.svn.wordpress.org/trunk@6692 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-01-30 21:49:56 +00:00
parent de3e0f8345
commit 17cf0d92c7
1 changed files with 5 additions and 0 deletions

View File

@ -166,6 +166,11 @@ class WP_Scripts {
'confirmText' => __("Are you sure you want to delete the file '%title%'?\nClick ok to delete or cancel to go back.")
) );
$this->add( 'admin-widgets', '/wp-admin/js/widgets.js', array( 'interface' ), '20080109' );
$this->localize( 'admin-widgets', 'widgetsL10n', array(
'add' => __('Add'),
'edit' => __('Edit'),
'cancel' => __('Cancel'),
));
}
}