WordPress.org

Make WordPress Core

Changeset 1173


Ignore:
Timestamp:
04/25/2004 11:10:07 PM (14 years ago)
Author:
rboren
Message:

Mark strings for translation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r1167 r1173  
    2323}
    2424
    25 $title = 'Manage Plugins';
     25require_once('../wp-includes/wp-l10n.php');
     26$title = __('Manage Plugins');
    2627require_once('admin-header.php');
    2728
    2829if ($user_level < 9) // Must be at least level 9
    29     die ("Sorry, you must be at least a level 8 user to modify plugins.");
     30    die (__("Sorry, you must be at least a level 8 user to modify plugins."));
    3031
    3132// Clean up options
     
    4748
    4849<?php if ($_GET['activate']) : ?>
    49 <div class="updated"><p>Plugin <strong>activated</strong>.</p>
     50<div class="updated"><p><?php _e('Plugin <strong>activated</strong>.') ?></p>
    5051</div>
    5152<?php endif; ?>
    5253<?php if ($_GET['deactivate']) : ?>
    53 <div class="updated"><p>Plugin <strong>deactivated</strong>.</p>
     54<div class="updated"><p><?php _e('Plugin <strong>deactivated</strong>.') ?></p>
    5455</div>
    5556<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.