Mark strings for translation.

git-svn-id: https://develop.svn.wordpress.org/trunk@1173 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-04-25 23:10:07 +00:00
parent 4fa543e64b
commit 92b8de99f8
1 changed files with 6 additions and 5 deletions

View File

@ -22,11 +22,12 @@ if ($_GET['action']) {
}
}
$title = 'Manage Plugins';
require_once('../wp-includes/wp-l10n.php');
$title = __('Manage Plugins');
require_once('admin-header.php');
if ($user_level < 9) // Must be at least level 9
die ("Sorry, you must be at least a level 8 user to modify plugins.");
die (__("Sorry, you must be at least a level 8 user to modify plugins."));
// Clean up options
// if any files are in the option that don't exist, axe 'em
@ -46,11 +47,11 @@ foreach ($check_plugins as $check_plugin) {
?>
<?php if ($_GET['activate']) : ?>
<div class="updated"><p>Plugin <strong>activated</strong>.</p>
<div class="updated"><p><?php _e('Plugin <strong>activated</strong>.') ?></p>
</div>
<?php endif; ?>
<?php if ($_GET['deactivate']) : ?>
<div class="updated"><p>Plugin <strong>deactivated</strong>.</p>
<div class="updated"><p><?php _e('Plugin <strong>deactivated</strong>.') ?></p>
</div>
<?php endif; ?>