Widget i18n from nbachiyski. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
491aec7937
commit
5481803d74
|
@ -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