From 5481803d746adcb519f68221c275e4d6640f7392 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 30 Jan 2008 21:49:56 +0000 Subject: [PATCH] Widget i18n from nbachiyski. see #5583 git-svn-id: http://svn.automattic.com/wordpress/trunk@6692 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 460b1b8284..a61456d090 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -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'), + )); } }