Make WordPress Core

Changeset 1065 for trunk/index.php


Ignore:
Timestamp:
04/13/2004 06:56:38 AM (21 years ago)
Author:
alex_t_king
Message:

added the first localization strings in index.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r1062 r1065  
    4242<div class="post">
    4343     <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    44     <div class="meta">Filed under: <?php the_category() ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
     44    <div class="meta"><?php $lang->str('filed_under'); ?> <?php the_category() ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
    4545   
    4646    <div class="storycontent">
     
    6161
    6262<?php } } else { // end foreach, end if any posts ?>
    63 <p>Sorry, no posts matched your criteria.</p>
     63<p><?php $lang->str('no_posts_matched'); ?></p>
    6464<?php } ?>
    6565</div>
     
    7171<ul>
    7272    <?php get_links_list(); ?>
    73  <li id="categories">Categories:
     73 <li id="categories"><?php $lang->str('categories'); ?>
    7474    <ul>
    7575    <?php wp_list_cats(); ?>
     
    7777 </li>
    7878 <li id="search">
    79    <label for="s">Search:</label>   
     79   <label for="s"><?php $lang->str('search'); ?></label>   
    8080   <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
    8181    <div>
    8282        <input type="text" name="s" id="s" size="15" /><br />
    83         <input type="submit" name="submit" value="search" />
     83        <input type="submit" name="submit" value="<?php $lang->str('search_button'); ?>" />
    8484    </div>
    8585    </form>
    8686 </li>
    87  <li id="archives">Archives:
     87 <li id="archives"><?php $lang->str('archives'); ?>
    8888    <ul>
    8989     <?php get_archives('monthly'); ?>
     
    9393    <?php get_calendar(); ?>
    9494 </li>
    95  <li id="other">Other:
     95 <li id="other"><?php $lang->str('other'); ?>
    9696    <ul>
    97         <li><a href="<?php echo get_settings('siteurl'); ?>/wp-login.php">Login</a></li>
    98         <li><a href="<?php echo get_settings('siteurl'); ?>/wp-register.php">Register</a></li>
     97        <li><a href="<?php echo get_settings('siteurl'); ?>/wp-login.php"><?php $lang->str('login'); ?></a></li>
     98        <li><a href="<?php echo get_settings('siteurl'); ?>/wp-register.php"><?php $lang->str('register'); ?></a></li>
    9999    </ul>
    100100 </li>
    101  <li id="meta">Meta:
     101 <li id="meta"><?php $lang->str('meta'); ?>
    102102    <ul>
    103         <li><a href="<?php bloginfo('rss2_url'); ?>" title="Syndicate this site using RSS"><abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>
    104         <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>
    105         <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    106         <li><a href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform">WP</a></li>
     103        <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php $lang->str('rss_2_title'); ?>"><?php $lang->str('rss_2'); ?></a></li>
     104        <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php $lang->str('comments_rss_2_title'); ?>"><?php $lang->str('comments_rss_2'); ?></a></li>
     105        <li><a href="http://validator.w3.org/check/referer" title="<?php $lang->str('valid_xhtml_title'); ?>"><?php $lang->str('valid_xhtml'); ?></a></li>
     106        <li><a href="http://wordpress.org" title="<?php $lang->str('powered_by_title'); ?>">WP</a></li>
    107107    </ul>
    108108 </li>
     
    114114</div>
    115115
    116 <p class="credit"><!--<?php echo $wpdb->querycount; ?> queries.--> <?php timer_stop(1); ?> || <cite>Powered by <a href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p>
     116<p class="credit"><!--<?php echo $wpdb->querycount; ?> queries.--> <?php timer_stop(1); ?> || <cite><?php $lang->str('powered_by'); ?> <a href="http://wordpress.org" title="<?php $lang->str('powered_by_title'); ?>"><strong><?php $lang->str('wordpress'); ?></strong></a></cite></p>
    117117</body>
    118118</html>
Note: See TracChangeset for help on using the changeset viewer.