Support for Google Gears managed offline storage. Props azaozz. see #6965

git-svn-id: http://svn.automattic.com/wordpress/trunk@7938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-05-15 22:57:14 +00:00
parent 4bf3397cb9
commit e9c054e143
5 changed files with 304 additions and 0 deletions

View File

@@ -199,6 +199,12 @@ class WP_Scripts {
$this->localize( 'word-count', 'wordCountL10n', array(
'count' => __('Word count: %d')
));
$this->add( 'wp-gears', '/wp-admin/js/wp-gears.js', false, '20080511' );
$this->localize( 'wp-gears', 'wpGearsL10n', array(
'updateCompleted' => __('Update completed.'),
'error' => __('Error:')
));
}
}