From 17cf0d92c70622f7b4b1d0fafdb257c678d88189 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 30 Jan 2008 21:49:56 +0000 Subject: [PATCH] Widget i18n from nbachiyski. see #5583 git-svn-id: https://develop.svn.wordpress.org/trunk@6692 602fd350-edb4-49c9-b593-d223f7449a82 --- 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'), + )); } }