Make WordPress Core

Changeset 2390


Ignore:
Timestamp:
02/27/2005 05:04:45 PM (20 years ago)
Author:
ryan
Message:

Remove gettext from default theme. http://mosquito.wordpress.org/view.php?id=942 Props: Albert

Location:
trunk/wp-content/themes/default
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments-popup.php

    r2332 r2390  
    77<html xmlns="http://www.w3.org/1999/xhtml">
    88<head>
    9      <title><?php echo get_settings('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?></title>
     9     <title><?php echo get_settings('blogname'); ?> - Comments on <?php the_title(); ?></title>
    1010
    1111    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
     
    2020<h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1>
    2121
    22 <h2 id="comments"><?php _e("Comments"); ?></h2>
     22<h2 id="comments">Comments</h2>
    2323
    24 <p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><?php _e("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."); ?></a></p>
     24<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
    2525
    2626<?php if ('open' == $post->ping_status) { ?>
    27 <p><?php _e("The <acronym title=\"Uniform Resource Identifier\">URI</acronym> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p>
     27<p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
    2828<?php } ?>
    2929
     
    4444    <li id="comment-<?php comment_ID() ?>">
    4545    <?php comment_text() ?>
    46     <p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e("by"); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
     46    <p><cite><?php comment_type('Comment', 'Trackback', 'Pingback'); ?> by <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
    4747    </li>
    4848
     
    5050</ol>
    5151<?php } else { // this is displayed if there are no comments so far ?>
    52     <p><?php _e("No comments yet."); ?></p>
     52    <p>No comments yet.</p>
    5353<?php } ?>
    5454
    5555<?php if ('open' == $commentstatus->comment_status) { ?>
    56 <h2><?php _e("Leave a comment"); ?></h2>
    57 <p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p>
     56<h2>Leave a comment</h2>
     57<p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
    5858
    5959<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    6060    <p>
    6161      <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
    62        <label for="author"><?php _e("Name"); ?></label>
     62       <label for="author">Name</label>
    6363    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    6464    <input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER["REQUEST_URI"]); ?>" />
     
    6767    <p>
    6868      <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
    69        <label for="email"><?php _e("E-mail"); ?></label>
     69       <label for="email">E-mail</label>
    7070    </p>
    7171
    7272    <p>
    7373      <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
    74        <label for="url"><?php _e("<acronym title=\"Uniform Resource Identifier\">URI</acronym>"); ?></label>
     74       <label for="url"><acronym title="Uniform Resource Identifier">URI</acronym></label>
    7575    </p>
    7676
    7777    <p>
    78       <label for="comment"><?php _e("Your Comment"); ?></label>
     78      <label for="comment">Your Comment</label>
    7979    <br />
    8080      <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
     
    8282
    8383    <p>
    84       <input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" />
     84      <input name="submit" type="submit" tabindex="5" value="Say It!" />
    8585    </p>
    8686    <?php do_action('comment_form', $post->ID); ?>
    8787</form>
    8888<?php } else { // comments are closed ?>
    89 <p><?php _e("Sorry, the comment form is closed at this time."); ?></p>
     89<p>Sorry, the comment form is closed at this time.</p>
    9090<?php }
    9191} // end password check
    9292?>
    9393
    94 <div><strong><a href="javascript:window.close()"><?php _e("Close this window."); ?></a></strong></div>
     94<div><strong><a href="javascript:window.close()">Close this window.</a></strong></div>
    9595
    9696<?php // if you delete this the sky will fall on your head
     
    100100<!-- // this is just the end of the motor - don't touch that line either :) -->
    101101<?php //} ?>
    102 <p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>Wordpress</strong></a></cite>"),__("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></p>
     102<p class="credit"><?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>
    103103<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
    104104<script type="text/javascript">
  • trunk/wp-content/themes/default/comments.php

    r2260 r2390  
    77                ?>
    88               
    9                 <p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments."); ?><p>
     9                <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
    1010               
    1111                <?php
     
    7474<?php if ( $user_ID ) : ?>
    7575
    76 <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout &raquo;</a></p>
     76<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>
    7777
    7878<?php else : ?>
    7979
    8080<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    81 <label for="author"><small>Name <?php if ($req) _e('(required)'); ?></small></label></p>
     81<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
    8282
    8383<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
    84 <label for="email"><small>Mail (will not be published) <?php if ($req) _e('(required)'); ?></small></label></p>
     84<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
    8585
    8686<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
  • trunk/wp-content/themes/default/index.php

    r2040 r2390  
    3232
    3333        <h2 class="center">Not Found</h2>
    34         <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
     34        <p class="center">Sorry, but you are looking for something that isn't here.</p>
    3535        <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    3636
  • trunk/wp-content/themes/default/sidebar.php

    r2348 r2390  
    77
    88            <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
    9             <li><h2><?php _e('Author'); ?></h2>
     9            <li><h2>Author</h2>
    1010            <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    1111            </li>
     
    3838            </li>
    3939
    40             <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
     40            <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
    4141
    42             <li><h2><?php _e('Archives'); ?></h2>
     42            <li><h2>Archives</h2>
    4343                <ul>
    4444                <?php wp_get_archives('type=monthly'); ?>
     
    4646            </li>
    4747
    48             <li><h2><?php _e('Categories'); ?></h2>
     48            <li><h2>Categories</h2>
    4949                <ul>
    5050                <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
     
    5555                <?php get_links_list(); ?>
    5656               
    57                 <li><h2><?php _e('Meta'); ?></h2>
     57                <li><h2>Meta</h2>
    5858                <ul>
    5959                    <?php wp_register(); ?>
    6060                    <li><?php wp_loginout(); ?></li>
    61                     <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
     61                    <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>
    6262                    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    63                     <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li>
     63                    <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
    6464                    <?php wp_meta(); ?>
    6565                </ul>
  • trunk/wp-content/themes/default/single.php

    r2155 r2390  
    5757    <?php endwhile; else: ?>
    5858   
    59         <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
     59        <p>Sorry, no posts matched your criteria.</p>
    6060   
    6161<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.