mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad1eb53de0
commit
3c2b90823d
@ -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; ?>
|
||||
|
||||
@ -137,4 +138,4 @@ if (!$plugins_dir || !$plugin_files) {
|
||||
<?php
|
||||
|
||||
include('admin-footer.php');
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user