Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/02/2009 10:26:13 PM (18 years ago)
Author:
apeatling
Message:

Fixes #420

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/buddypress-home/archive.php

    r395 r1014  
    33        <div id="content" class="narrowcolumn">
    44                <div class="widget" id="latest-news">
    5                         <h2 class="widgettitle">News</h2>
     5                        <h2 class="widgettitle"><?php _e( 'Blog', 'buddypress' ) ?></h2>
    66                       
    77                        <?php if (have_posts()) : ?>
    … …  
    99                         <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    1010                         <?php /* If this is a category archive */ if (is_category()) { ?>
    11                         <h3 class="pageTitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category</h2>
     11                        <h3 class="pageTitle"><?php _e( 'Archive for the', 'buddypress' ) ?> &#8216;<?php single_cat_title(); ?>&#8217; <?php _e( 'Category', 'buddypress' ) ?></h2>
    1212
    1313                         <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    14                         <h3 class="pageTitle">Archive for <?php the_time('F jS, Y'); ?></h2>
     14                        <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F jS, Y'); ?></h2>
    1515
    1616                         <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    17                         <h3 class="pageTitle">Archive for <?php the_time('F, Y'); ?></h2>
     17                        <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F, Y'); ?></h2>
    1818
    1919                        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    20                         <h3 class="pageTitle">Archive for <?php the_time('Y'); ?></h2>
     20                        <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('Y'); ?></h2>
    2121
    2222                        <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    23                         <h3 class="pageTitle">Author Archive</h2>
     23                        <h3 class="pageTitle"><?php _e( 'Author Archive', 'buddypress' ) ?></h2>
    2424
    2525                        <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    26                         <h3 class="pageTitle">Blog Archives</h2>
     26                        <h3 class="pageTitle"><?php _e( 'Blog Archives', 'buddypress' ) ?></h2>
    2727
    2828                        <?php } ?>
    … …  
    4343                                        </div>
    4444
    45                                         <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     45                                        <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    4646
    4747                                </div>
    … …  
    5656                <?php else : ?>
    5757
    58                         <h2 class="center">Not Found</h2>
     58                        <h2 class="center"><?php _e( 'Not Found', 'buddypress' ) ?></h2>
    5959                        <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    6060
Note: See TracChangeset for help on using the changeset viewer.