WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (6 weeks ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-discussion.php

    r45926 r45932  
    8080<?php
    8181printf(
    82     /* translators: %s: number of days */
     82    /* translators: %s: Number of days. */
    8383    __( 'Automatically close comments on posts older than %s days' ),
    8484    '</label> <label for="close_comments_days_old"><input name="close_comments_days_old" type="number" min="0" step="1" id="close_comments_days_old" value="' . esc_attr( get_option( 'close_comments_days_old' ) ) . '" class="small-text" />'
     
    116116$thread_comments_depth .= '</select>';
    117117
    118 /* translators: %s: number of levels */
     118/* translators: %s: Number of levels. */
    119119printf( __( 'Enable threaded (nested) comments %s levels deep' ), $thread_comments_depth );
    120120
     
    135135$default_comments_page .= '>' . __( 'first' ) . '</option></select>';
    136136printf(
    137     /* translators: 1: Form field control for number of top level comments per page, 2: Form field control for the 'first' or 'last' page */
     137    /* translators: 1: Form field control for number of top level comments per page, 2: Form field control for the 'first' or 'last' page. */
    138138    __( 'Break comments into pages with %1$s top level comments per page and the %2$s page displayed by default' ),
    139139    '</label> <label for="comments_per_page"><input name="comments_per_page" type="number" step="1" min="0" id="comments_per_page" value="' . esc_attr( get_option( 'comments_per_page' ) ) . '" class="small-text" />',
     
    156156$comment_order .= '>' . __( 'newer' ) . '</option></select>';
    157157
    158 /* translators: %s: Form field control for 'older' or 'newer' comments */
     158/* translators: %s: Form field control for 'older' or 'newer' comments. */
    159159printf( __( 'Comments should be displayed with the %s comments at the top of each page' ), $comment_order );
    160160
     
    191191<?php
    192192printf(
    193     /* translators: %s: number of links */
     193    /* translators: %s: Number of links. */
    194194    __( 'Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)' ),
    195195    '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr( get_option( 'comment_max_links' ) ) . '" class="small-text" />'
Note: See TracChangeset for help on using the changeset viewer.