Make WordPress Core


Ignore:
Timestamp:
04/25/2004 08:20:23 PM (22 years ago)
Author:
rboren
Message:

Mark strings for translation.

File:
1 edited

Legend:

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

    r1108 r1172  
    11<?php
     2require_once('../wp-includes/wp-l10n.php');
    23
    34$title = 'Add Link';
     
    6263?>
    6364<ul id="adminmenu2">
    64     <li><a href="link-manager.php">Manage Links</a></li>
    65     <li><a href="link-add.php" class="current">Add Link</a></li>
    66     <li><a href="link-categories.php">Link Categories</a></li>
    67     <li class="last"><a href="link-import.php">Import Blogroll</a></li>
     65    <li><a href="link-manager.php"><?php _e('Manage Links') ?></a></li>
     66        <li><a href="link-add.php" class="current"><?php _e('Add Link') ?></a></li>
     67    <li><a href="link-categories.php"><?php _e('Link Categories') ?></a></li>
     68    <li class="last"><a href="link-import.php"><?php _e('Import Blogroll') ?></a></li>
    6869</ul>
    6970<style type="text/css" media="screen">
     
    7172</style>
    7273<div class="wrap">
    73 <h2><strong>Add</strong> a link: <?php echo gethelp_link($this_file,'add_a_link');?></h2>
     74<h2><?php _e('<strong>Add</strong> a link:') ?> <?php echo gethelp_link($this_file,'add_a_link');?></h2>
    7475     <form name="addlink" method="post" action="link-manager.php">
    7576<fieldset class="options">
    76     <legend>Basics</legend>
     77    <legend><?php _e('Basics') ?></legend>
    7778        <table class="editform" width="100%" cellspacing="2" cellpadding="5">
    7879         <tr>
    79            <th width="33%" scope="row">URI:</th>
     80           <th width="33%" scope="row"><?php _e('URI:') ?></th>
    8081           <td width="67%"><input type="text" name="linkurl" value="<?php echo $_GET['linkurl']; ?>" style="width: 95%; /"></td>
    8182         </tr>
    8283         <tr>
    83            <th scope="row">Link Name:</th>
     84           <th scope="row"><?php _e('Link Name:') ?></th>
    8485           <td><input type="text" name="name" value="<?php echo urldecode($_GET['name']); ?>" style="width: 95%" /></td>
    8586         </tr>
    8687         <tr>
    87             <th scope="row">Short description:</th>
     88            <th scope="row"><?php _e('Short description:') ?></th>
    8889            <td><input type="text" name="description" value="" style="width: 95%" /></td>
    8990            </tr>
    9091        <tr>
    91            <th scope="row">Category:</th>
     92           <th scope="row"><?php _e('Category:') ?></th>
    9293           <td><?php category_dropdown('category'); ?></td>
    9394         </tr>
     
    9596</fieldset>
    9697       <p class="submit">
    97          <input type="submit" name="submit" value="Add Link &raquo;" />
     98         <input type="submit" name="submit" value="<?php _e('Add Link &raquo;') ?>" />
    9899       </p>
    99100    <fieldset class="options">
    100     <legend>Link Relationship (XFN)</legend>
     101    <legend><?php _e('Link Relationship (XFN)') ?></legend>
    101102        <table class="editform" width="100%" cellspacing="2" cellpadding="5">
    102103            <tr>
    103                 <th width="33%" scope="row">rel:</th>
     104                <th width="33%" scope="row"><?php _e('rel:') ?></th>
    104105                <td width="67%"><input type="text" name="rel" id="rel" size="50" value=""></td>
    105106            </tr>
    106107            <tr>
    107                 <th scope="row"><a href="http://gmpg.org/xfn/">XFN</a> Creator:</th>
     108                <th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th>
    108109                <td><table cellpadding="3" cellspacing="5">
    109110                        <tr>
    110                             <th scope="row"> friendship </th>
     111                            <th scope="row"> <?php _e('friendship') ?> </th>
    111112                            <td><label for="label">
    112113                                <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label"  />
    113                     acquaintance</label>
     114                    <?php _e('acquaintance') ?></label>
    114115                                    <label for="label2">
    115116                                    <input class="valinp" type="radio" name="friendship" value="friend" id="label2" />
    116                     friend</label>
     117                    <?php _e('friend') ?></label>
    117118                                    <label for="label3">
    118119                                    <input class="valinp" type="radio" name="friendship" value="" id="label3" />
    119                     none</label>
    120                                 </td>
    121                         </tr>
    122                         <tr>
    123                             <th scope="row"> physical </th>
     120                    <?php _e('none') ?></label>
     121                                </td>
     122                        </tr>
     123                        <tr>
     124                            <th scope="row"> <?php _e('physical') ?> </th>
    124125                            <td><label for="label4">
    125126                                <input class="valinp" type="checkbox" name="physical" value="met" id="label4" />
    126                     met</label>
    127                                 </td>
    128                         </tr>
    129                         <tr>
    130                             <th scope="row"> professional </th>
     127                    <?php _e('met') ?></label>
     128                                </td>
     129                        </tr>
     130                        <tr>
     131                            <th scope="row"> <?php _e('professional') ?> </th>
    131132                            <td><label for="label5">
    132133                                <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label5" />
    133                     co-worker</label>
     134                    <?php _e('co-worker') ?></label>
    134135                                    <label for="label6">
    135136                                    <input class="valinp" type="checkbox" name="professional" value="colleague" id="label6" />
    136                     colleague</label>
    137                                 </td>
    138                         </tr>
    139                         <tr>
    140                             <th scope="row"> geographical </th>
     137                    <?php _e('colleague') ?></label>
     138                                </td>
     139                        </tr>
     140                        <tr>
     141                            <th scope="row"> <?php _e('geographical') ?> </th>
    141142                            <td><label for="label7">
    142143                                <input class="valinp" type="radio" name="geographical" value="co-resident" id="label7" />
    143                     co-resident</label>
     144                    <?php _e('co-resident') ?></label>
    144145                                    <label for="label8">
    145146                                    <input class="valinp" type="radio" name="geographical" value="neighbor" id="label8" />
    146                     neighbor</label>
     147                    <?php _e('neighbor') ?></label>
    147148                                    <label for="label9">
    148149                                    <input class="valinp" type="radio" name="geographical" value="" id="label9" />
    149                     none</label>
    150                                 </td>
    151                         </tr>
    152                         <tr>
    153                             <th scope="row"> family </th>
     150                    <?php _e('none') ?></label>
     151                                </td>
     152                        </tr>
     153                        <tr>
     154                            <th scope="row"> <?php _e('family') ?> </th>
    154155                            <td><label for="label10">
    155156                                <input class="valinp" type="radio" name="family" value="child" id="label10" />
    156                     child</label>
     157                    <?php _e('child') ?></label>
    157158                                    <label for="label11">
    158159                                    <input class="valinp" type="radio" name="family" value="parent" id="label11" />
    159                     parent</label>
     160                    <?php _e('parent') ?></label>
    160161                                    <label for="label12">
    161162                                    <input class="valinp" type="radio" name="family" value="sibling" id="label12" />
    162                     sibling</label>
     163                    <?php _e('sibling') ?></label>
    163164                                    <label for="label13">
    164165                                    <input class="valinp" type="radio" name="family" value="spouse" id="label13" />
    165                     spouse</label>
     166                    <?php _e('spouse') ?></label>
    166167                                    <label for="label14">
    167168                                    <input class="valinp" type="radio" name="family" value="" id="label14" />
    168                     none</label>
    169                                 </td>
    170                         </tr>
    171                         <tr>
    172                             <th scope="row"> romantic </th>
     169                    <?php _e('none') ?></label>
     170                                </td>
     171                        </tr>
     172                        <tr>
     173                            <th scope="row"> <?php _e('romantic') ?> </th>
    173174                            <td><label for="label15">
    174175                                <input class="valinp" type="checkbox" name="romantic" value="muse" id="label15" />
    175                     muse</label>
     176                    <?php _e('muse') ?></label>
    176177                                    <label for="label16">
    177178                                    <input class="valinp" type="checkbox" name="romantic" value="crush" id="label16" />
    178                     crush</label>
     179                    <?php _e('crush') ?></label>
    179180                                    <label for="label17">
    180181                                    <input class="valinp" type="checkbox" name="romantic" value="date" id="label17" />
    181                     date</label>
     182                    <?php _e('date') ?></label>
    182183                                    <label for="label18">
    183184                                    <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label18" />
    184                     sweetheart</label>
     185                    <?php _e('sweetheart') ?></label>
    185186                                </td>
    186187                        </tr>
     
    190191</fieldset>
    191192       <p class="submit">
    192          <input type="submit" name="submit" value="Add Link &raquo;" />
     193         <input type="submit" name="submit" value="<?php _e('Add Link &raquo;') ?>" />
    193194       </p>
    194195<fieldset class="options">
    195     <legend>Advanced</legend>
     196    <legend><?php _e('Advanced') ?></legend>
    196197        <table class="editform" width="100%" cellspacing="2" cellpadding="5">
    197198         <tr>
    198            <th width="33%" scope="row">Image URI:</th>
     199           <th width="33%" scope="row"><?php _e('Image URI:') ?></th>
    199200           <td width="67%"><input type="text" name="image" size="50" value="" style="width: 95%" /></td>
    200201         </tr>
    201202<tr>
    202            <th scope="row">RSS URI: </th>
     203           <th scope="row"><?php _e('RSS URI:') ?> </th>
    203204           <td><input name="rss_uri" type="text" id="rss_uri" value="" size="50" style="width: 95%" /></td>
    204205         </tr>
    205206         <tr>
    206            <th scope="row">Notes:</th>
     207           <th scope="row"><?php _e('Notes:') ?></th>
    207208           <td><textarea name="notes" cols="50" rows="10" style="width: 95%"></textarea></td>
    208209         </tr>
    209210         <tr>
    210            <th scope="row">Rating:</th>
     211           <th scope="row"><?php _e('Rating:') ?></th>
    211212           <td><select name="rating" size="1">
    212213             <?php
     
    216217?>
    217218           </select>
    218            &nbsp;(Leave at 0 for no rating.) </td>
    219          </tr>
    220          <tr>
    221            <th scope="row">Target</th>
     219           &nbsp;<?php _e('(Leave at 0 for no rating.)') ?> </td>
     220         </tr>
     221         <tr>
     222           <th scope="row"><?php _e('Target') ?></th>
    222223           <td><label>
    223224             <input type="radio" name="target" value="_blank" />
     
    228229<br />
    229230<label><input type="radio" name="target" value="" checked="checked" />
    230 none</label>
    231 (Note that the <code>target</code> attribute is illegal in XHTML 1.1 and 1.0 Strict.)</td>
    232          </tr>
    233          <tr>
    234            <th scope="row">Visible:</th>
     231<?php _e('none') ?></label>
     232<?php _e('(Note that the <code>target</code> attribute is illegal in XHTML 1.1 and 1.0 Strict.)') ?></td>
     233         </tr>
     234         <tr>
     235           <th scope="row"><?php _e('Visible:') ?></th>
    235236           <td><label>
    236237             <input type="radio" name="visible" checked="checked" value="Y" />
    237 Yes</label><br />
     238<?php _e('Yes') ?></label><br />
    238239<label><input type="radio" name="visible" value="N"> <input type="hidden" name="action" value="Add" />
    239 No</label></td>
     240<?php _e('No') ?></label></td>
    240241         </tr>
    241242</table>
     
    243244
    244245       <p class="submit">
    245          <input type="submit" name="submit" value="Add Link &raquo;" />
     246         <input type="submit" name="submit" value="<?php _e('Add Link &raquo;') ?>" />
    246247       </p>
    247248  </form>
     
    249250
    250251<div class="wrap">
    251 <p>You can drag <a href="javascript:void(linkmanpopup=window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();" title="Link add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you're on to your links! Right now this only works on Mozilla or Netscape, but we're working on it.</p>
     252<?php printf(__('<p>You can drag <a href="%s" title="Link add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you&#8217;re on to your links! Right now this only works on Mozilla or Netscape, but we&#8217;re working on it.</p>'), "javascript:void(linkmanpopup=window.open('" . get_settings('siteurl') . "/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?>
    252253</div>
    253254
Note: See TracChangeset for help on using the changeset viewer.