i18n updates from nbachiyski. fixes #2069
git-svn-id: http://svn.automattic.com/wordpress/trunk@3295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -48,7 +48,7 @@ switch($action) {
|
||||
case 'update':
|
||||
|
||||
if ( !current_user_can('edit_themes') )
|
||||
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']);
|
||||
$theme = urlencode($theme);
|
||||
@@ -69,7 +69,7 @@ default:
|
||||
|
||||
require_once('admin-header.php');
|
||||
if ( !current_user_can('edit_themes') )
|
||||
die(__('<p>You have do not have sufficient permissions to edit themes for this blog.</p>'));
|
||||
die('<p>'.__('You have do not have sufficient permissions to edit themes for this blog.').'</p>');
|
||||
|
||||
update_recently_edited($file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user