i18n updates from nbachiyski. fixes #2069

git-svn-id: https://develop.svn.wordpress.org/trunk@3295 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-12-12 22:48:30 +00:00
parent c0c4222938
commit 56e626673e
16 changed files with 42 additions and 40 deletions

View File

@@ -35,7 +35,7 @@ switch($action) {
case 'update':
if ( !current_user_can('edit_plugins') )
die(__('<p>You have do not have sufficient permissions to edit templates for this blog.</p>'));
die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');
$newcontent = stripslashes($_POST['newcontent']);
if (is_writeable($real_file)) {
@@ -55,7 +55,7 @@ default:
require_once('admin-header.php');
if ( !current_user_can('edit_plugins') )
die(__('<p>You have do not have sufficient permissions to edit plugins for this blog.</p>'));
die('<p>'.__('You have do not have sufficient permissions to edit plugins for this blog.').'</p>');
update_recently_edited("wp-content/plugins/$file");