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:
parent
de3e0f8345
commit
17cf0d92c7
@ -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.")
|
'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->add( 'admin-widgets', '/wp-admin/js/widgets.js', array( 'interface' ), '20080109' );
|
||||||
|
$this->localize( 'admin-widgets', 'widgetsL10n', array(
|
||||||
|
'add' => __('Add'),
|
||||||
|
'edit' => __('Edit'),
|
||||||
|
'cancel' => __('Cancel'),
|
||||||
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user