Make WordPress Core


Ignore:
Timestamp:
02/28/2010 11:43:04 AM (15 years ago)
Author:
dd32
Message:

Better internationalisation for TwentyTen. Props filosofo. Fixes #12384

File:
1 edited

Legend:

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

    r13166 r13498  
    1 <?php
    2     // Do not delete these lines
    3     if ( ! defined('ABSPATH') )
    4         die ( __( 'Please do not load this page directly. Thanks!', 'twentyten' ) );
    5 ?>
    61            <div id="comments">
    72<?php if ( post_password_required() ) : ?>
     
    1813
    1914<?php if ( have_comments() ) : ?>
    20             <h3 id="comments-title"><?php comments_number( __('No Responses to', 'twentyten'), __('One Response to', 'twentyten'), __('% Responses to', 'twentyten') );?>  <em><?php the_title(); ?></em></h3>
     15            <h3 id="comments-title"><?php comments_number(
     16                sprintf(__('No Responses to %s', 'twentyten'), '<em>' . get_the_title() . '</em>'),
     17                sprintf(__('One Response to %s', 'twentyten'), '<em>' . get_the_title() . '</em>'),
     18                sprintf(__('%% Responses to %s', 'twentyten'), '<em>' . get_the_title() . '</em>')
     19            ); ?> </h3>
    2120
    2221<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
Note: See TracChangeset for help on using the changeset viewer.