Make WordPress Core

Changeset 1159


Ignore:
Timestamp:
04/25/2004 01:02:52 AM (21 years ago)
Author:
rboren
Message:

Mark strings for translation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-manager.php

    r1155 r1159  
    7676$links_show_order = $_COOKIE['links_show_order_' . $cookiehash];
    7777
    78 if (!empty($action2)) {
    79     $action = $action2;
    80 }
     78if ('' != $_POST['assign']) $action = 'assign';
     79if ('' != $_POST['visibility']) $action = 'visibility';
     80if ('' != $_POST['move']) $action = 'move';
    8181
    8282switch ($action) {
    83   case 'Assign':
     83  case 'assign':
    8484  {
    8585    $standalone = 1;
     
    112112    break;
    113113  }
    114   case 'Visibility':
     114  case 'visibility':
    115115  {
    116116    $standalone = 1;
     
    150150    break;
    151151  }
    152   case 'Move':
     152  case 'move':
    153153  {
    154154    $standalone = 1;
     
    729729<div class="wrap">
    730730  <table width="100%" cellpadding="3" cellspacing="3">
    731     <tr><th colspan="4">Manage Multiple Links:</th></tr>
    732     <tr><td colspan="4">Use the checkboxes on the right to select multiple links and choose an action below:</td></tr>
     731    <tr><th colspan="4"><?php _e('Manage Multiple Links:') ?></th></tr>
     732    <tr><td colspan="4"><?php _e('Use the checkboxes on the right to select multiple links and choose an action below:') ?></td></tr>
    733733    <tr>
    734734        <td>
    735           <input type="submit" name="action2" value="Assign" /> ownership <?php echo gethelp_link($this_file,'assign_ownership');?> to:
     735          <?php _e('Assign ownership to:'); echo ' ' . gethelp_link($this_file,'assign_ownership'); ?>
    736736<?php
    737737    $results = $wpdb->get_results("SELECT ID, user_login FROM $tableusers WHERE user_level > 0 ORDER BY ID");
     
    744744    echo "          </select>\n";
    745745?>
     746        <input name="assign" type="submit" id="assign" value="<?php _e('Go') ?>" />
    746747        </td>
    747748        <td>
    748           Toggle <input type="submit" name="action2" value="Visibility" /><?php echo gethelp_link($this_file,'toggle_visibility');?>
     749          <input name="visibility" type="submit" id="visibility" value="<?php _e('Toggle Visibility') ?>" /><?php echo gethelp_link($this_file,'toggle_visibility');?>
    749750        </td>
    750751        <td>
    751           <input type="submit" name="action2" value="Move" /><?php echo gethelp_link($this_file,'move_to_cat');?> to category
    752 <?php category_dropdown('category'); ?>
     752          <?php _e('Move to category:'); echo ' ' . gethelp_link($this_file,'move_to_cat'); category_dropdown('category'); ?> <input name="move" type="submit" id="move" value="<?php _e('Go') ?>" />
    753753        </td>
    754754        <td align="right">
    755           <a href="#" onClick="checkAll(document.getElementById('links')); return false; ">Toggle Checkboxes</a><?php echo gethelp_link($this_file,'toggle_checkboxes');?>
     755          <a href="#" onClick="checkAll(document.getElementById('links')); return false; "><?php _e('Toggle Checkboxes') ?></a><?php echo gethelp_link($this_file,'toggle_checkboxes');?>
    756756        </td>
    757757    </tr>
Note: See TracChangeset for help on using the changeset viewer.