Make WordPress Core

Changeset 1352


Ignore:
Timestamp:
05/23/2004 05:24:38 PM (21 years ago)
Author:
rboren
Message:

Mark some overlooked strings for translation.

Location:
trunk/wp-admin
Files:
5 edited

Legend:

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

    r1306 r1352  
    102102        <p><?php _e('Category parent:') ?><br />
    103103        <select name='cat' class='postform'>
    104         <option value='0'<?php if (!$category->category_parent) echo " selected='selected'"; ?>>None</option>
     104        <option value='0'<?php if (!$category->category_parent) echo " selected='selected'"; ?>><?php _e('None') ?></option>
    105105        <?php wp_dropdown_cats($category->cat_ID, $category->category_parent); ?></p>
    106106        </select>
  • trunk/wp-admin/link-manager.php

    r1300 r1352  
    608608      <tr>
    609609        <td>
    610           <strong>Show</strong> links in category:<?php echo gethelp_link($this_file,'link_categories');?><br />
     610        <?php printf(__('<strong>Show</strong> links in category: %s'), gethelp_link($this_file,'link_categories'));?><br />
    611611        </td>
    612612        <td>
    613           <strong>Order</strong> by:<?php echo gethelp_link($this_file,'order_by');?>
     613          <?php printf(__('<strong>Order</strong> by: %s'), gethelp_link($this_file,'order_by'));?>
    614614        </td>
    615615        <td>&nbsp;</td>
     
    623623    if ($cat_id == 'All')
    624624      echo " selected='selected'";
    625     echo "> All</option>\n";
     625    echo "> " . __('All') . "</option>\n";
    626626    foreach ($results as $row) {
    627627      echo "          <option value=\"".$row->cat_id."\"";
     
    707707            $style = ($i % 2) ? ' class="alternate"' : '';
    708708            echo <<<LINKS
    709  
    710  
     709
    711710    <tr valign="middle" $style>
    712711        <td><strong>$link->link_name</strong><br />
    713         Description: $link->link_description</td>
    714         <td><a href="$link->link_url" title="Visit $link->link_name">$short_url</a></td>
     712LINKS;
     713        echo sprintf(__('Description: %s'), $link->link_description) . "</td>";
     714        echo "<td><a href=\"$link->link_url\" title=\"" . sprintf(__('Visit %s'), $link->link_name) . "\">$short_url</a></td>";
     715        echo <<<LINKS
    715716        <td>$link->category</td>
    716717        <td>$link->link_rel</td>
     
    725726
    726727            if ($show_buttons) {
    727               echo <<<LINKS
    728         <td><a href="link-manager.php?link_id=$link->link_id&amp;action=linkedit" class="edit">Edit</a></td>
    729         <td><a href="link-manager.php?link_id=$link->link_id&amp;action=Delete" onclick="return confirm('You are about to delete this link.\\n  \'Cancel\' to stop, \'OK\' to delete.');" class="delete">Delete</a></td>
    730         <td><input type="checkbox" name="linkcheck[]" value="$link->link_id" /></td>
    731 LINKS;
     728        echo '<td><a href="link-manager.php?link_id=' . $link->link_id . '&amp;action=linkedit" class="edit">' . __('Edit') . '</a></td>';
     729        echo '<td><a href="link-manager.php?link_id=' . $link->link_id . '&amp;action=Delete"' .  "onclick=\"return confirm('" . __("You are about to delete this link.\\n  \'Cancel\' to stop, \'OK\' to delete.") .  "');" . '" class="delete">' . __('Delete') . '</a></td>';
     730        echo '<td><input type="checkbox" name="linkcheck[]" value="' . $link->link_id . '" /></td>';
    732731            } else {
    733732              echo "<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>\n";
  • trunk/wp-admin/options-reading.php

    r1240 r1352  
    5555                <td><input name="posts_per_page" type="text" id="posts_per_page" value="<?php echo get_settings('posts_per_page'); ?>" size="3" />
    5656                    <select name="what_to_show" id="what_to_show" >
    57                         <option value="days" <?php selected('days', get_settings('what_to_show')); ?>>days</option>
    58                         <option value="posts" <?php selected('posts', get_settings('what_to_show')); ?>>posts</option>
    59                         <option value="paged" <?php selected('paged', get_settings('what_to_show')); ?>>posts paged</option>
     57                                                <option value="days" <?php selected('days', get_settings('what_to_show')); ?>><?php _e('days') ?></option>
     58                        <option value="posts" <?php selected('posts', get_settings('what_to_show')); ?>><?php _e('posts') ?></option>
     59                        <option value="paged" <?php selected('paged', get_settings('what_to_show')); ?>><?php _e('posts paged') ?></option>
    6060                    </select> </td>
    6161            </tr>
  • trunk/wp-admin/post.php

    r1322 r1352  
    774774<br />
    775775<br />
    776 One-click bookmarklet:<br />
    777 <a href="javascript:oneclickbookmarklet(0);">click here</a>
     776<?php _e('One-click bookmarklet:') ?><br />
     777<a href="javascript:oneclickbookmarklet(0);"><?php _e('click here') ?></a>
    778778<?php
    779779} else if ($is_opera) {
  • trunk/wp-admin/profile.php

    r1318 r1352  
    345345        }
    346346</script>
    347     <strong>SideBar</strong><br />
    348     Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>!
     347    <strong><?php _e('SideBar') ?></strong><br />
     348    <?php _e('Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>!') ?>
    349349    <?php } elseif (($is_winIE) || ($is_macIE)) { ?>
    350     <strong>SideBar</strong><br />
    351     Add this link to your favorites:<br />
    352     <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(_search=open('<?php echo get_settings('siteurl');
    353      ?>/wp-admin/sidebar.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'_search'))">WordPress
    354     Sidebar</a>.
     350    <strong><?php _e('SideBar') ?></strong><br />
     351    <?php __('Add this link to your favorites:') ?><br />
     352<a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(_search=open('<?php echo get_settings('siteurl');
     353     ?>/wp-admin/sidebar.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'_search'))"><?php _e('WordPress Sidebar') ?></a>.
    355354   
    356355</div>
Note: See TracChangeset for help on using the changeset viewer.