WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #13651, comment 21


Ignore:
Timestamp:
12/20/2010 03:45:41 AM (10 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13651, comment 21

    initial v1  
    33* Keeps the usual logic of using domains only for i18n functions.
    44* Therefore works with Poedit when updating from sources.
     5
     6Example usage:
     7{{{
     8<span class="comments-link"><?php comments_number_link( __( 'Leave a comment', 'twentyten' ), _n( '1 Comment', '%s Comments', get_comments_number(), 'twentyten' ) ); ?></span>
     9}}}
    510
    611The similar string is used in comments.php, which I consider as a valid example: