WordPress.org

Make WordPress Core

Changeset 39326


Ignore:
Timestamp:
11/21/16 02:45:53 (4 months ago)
Author:
johnbillion
Message:

I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment.

See #38882

Location:
trunk/src
Files:
19 edited

Legend:

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

    r38814 r39326  
    3333$title = esc_html( strip_tags( $title ) ); 
    3434 
    35 if ( is_network_admin() ) 
     35if ( is_network_admin() ) { 
     36    /* translators: Network admin screen title. 1: Network name */ 
    3637    $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) ); 
    37 elseif ( is_user_admin() ) 
     38} elseif ( is_user_admin() ) { 
     39    /* translators: User dashboard screen title. 1: Network name */ 
    3840    $admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) ); 
    39 else 
     41} else { 
    4042    $admin_title = get_bloginfo( 'name' ); 
    41  
    42 if ( $admin_title == $title ) 
     43} 
     44 
     45if ( $admin_title == $title ) { 
     46    /* translators: Admin screen title. 1: Admin screen name */ 
    4347    $admin_title = sprintf( __( '%1$s — WordPress' ), $title ); 
    44 else 
     48} else { 
     49    /* translators: Admin screen title. 1: Admin screen name, 2: Network or site name */ 
    4550    $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title ); 
     51} 
    4652 
    4753/** 
  • trunk/src/wp-admin/edit-form-advanced.php

    r39168 r39326  
    640640        echo '<span id="last-edit">'; 
    641641        if ( $last_user = get_userdata( get_post_meta( $post_ID, '_edit_last', true ) ) ) { 
     642            /* translators: 1: Name of most recent post author, 2: Post edited date, 3: Post edited time */ 
    642643            printf( __( 'Last edited by %1$s on %2$s at %3$s' ), esc_html( $last_user->display_name ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) ); 
    643644        } else { 
     645            /* translators: 1: Post edited date, 2: Post edited time */ 
    644646            printf( __( 'Last edited on %1$s at %2$s' ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) ); 
    645647        } 
  • trunk/src/wp-admin/includes/ajax-actions.php

    r38747 r39326  
    12491249            $post_data['post_status'] = 'draft'; 
    12501250            $now = current_time('timestamp', 1); 
     1251            /* translators: 1: Post creation date, 2: Post creation time */ 
    12511252            $post_data['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( __( 'F j, Y' ), $now ), date( __( 'g:i a' ), $now ) ); 
    12521253 
  • trunk/src/wp-admin/includes/dashboard.php

    r38825 r39326  
    393393    $c_blogs = get_blog_count(); 
    394394 
     395    /* translators: 1: Number of users on the network */ 
    395396    $user_text = sprintf( _n( '%s user', '%s users', $c_users ), number_format_i18n( $c_users ) ); 
     397    /* translators: 1: Number of sites on the network */ 
    396398    $blog_text = sprintf( _n( '%s site', '%s sites', $c_blogs ), number_format_i18n( $c_blogs ) ); 
    397399 
     400    /* translators: 1: Text indicating the number of sites on the network, 2: Text indicating the number of users on the network */ 
    398401    $sentence = sprintf( __( 'You have %1$s and %2$s.' ), $blog_text, $user_text ); 
    399402 
  • trunk/src/wp-admin/includes/media.php

    r38949 r39326  
    314314                $content .= sprintf( __( '"%1$s" by %2$s.' ), $title, $meta['artist'] ); 
    315315            } else { 
     316                /* translators: 1: audio track title */ 
    316317                $content .= sprintf( __( '"%s".' ), $title ); 
    317318            } 
     
    332333        } 
    333334 
    334         if ( ! empty( $meta['year'] ) ) 
     335        if ( ! empty( $meta['year'] ) ) { 
     336            /* translators: Audio file track information. 1: Year of audio track release */ 
    335337            $content .= ' ' . sprintf( __( 'Released: %d.' ), $meta['year'] ); 
     338        } 
    336339 
    337340        if ( ! empty( $meta['track_number'] ) ) { 
    338341            $track_number = explode( '/', $meta['track_number'] ); 
    339             if ( isset( $track_number[1] ) ) 
     342            if ( isset( $track_number[1] ) ) { 
     343                /* translators: Audio file track information. 1: Audio track number, 2: Total audio tracks */ 
    340344                $content .= ' ' . sprintf( __( 'Track %1$s of %2$s.' ), number_format_i18n( $track_number[0] ), number_format_i18n( $track_number[1] ) ); 
    341             else 
     345            } else { 
     346                /* translators: Audio file track information. 1: Audio track number */ 
    342347                $content .= ' ' . sprintf( __( 'Track %1$s.' ), number_format_i18n( $track_number[0] ) ); 
    343         } 
    344  
    345         if ( ! empty( $meta['genre'] ) ) 
     348            } 
     349        } 
     350 
     351        if ( ! empty( $meta['genre'] ) ) { 
     352            /* translators: Audio file genre information. 1: Audio genre name */ 
    346353            $content .= ' ' . sprintf( __( 'Genre: %s.' ), $meta['genre'] ); 
     354        } 
    347355 
    348356    // Use image exif/iptc data for title and caption defaults if possible. 
  • trunk/src/wp-admin/includes/meta-boxes.php

    r39247 r39326  
    176176if ( 0 != $post->ID ) { 
    177177    if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 
     178        /* translators: Post date information. 1: Date on which the post is currently scheduled to be published */ 
    178179        $stamp = __('Scheduled for: <b>%1$s</b>'); 
    179180    } elseif ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published 
     181        /* translators: Post date information. 1: Date on which the post was published */ 
    180182        $stamp = __('Published on: <b>%1$s</b>'); 
    181183    } elseif ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified 
    182184        $stamp = __('Publish <b>immediately</b>'); 
    183185    } elseif ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified 
     186        /* translators: Post date information. 1: Date on which the post is to be published */ 
    184187        $stamp = __('Schedule for: <b>%1$s</b>'); 
    185188    } else { // draft, 1 or more saves, date specified 
     189        /* translators: Post date information. 1: Date on which the post is to be published */ 
    186190        $stamp = __('Publish on: <b>%1$s</b>'); 
    187191    } 
     
    194198if ( ! empty( $args['args']['revisions_count'] ) ) : ?> 
    195199<div class="misc-pub-section misc-pub-revisions"> 
    196     <?php printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); ?> 
     200    <?php 
     201        /* translators: Post revisions heading. 1: The number of available revisions */ 
     202        printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); 
     203    ?> 
    197204    <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php _e( 'Browse revisions' ); ?></span></a> 
    198205</div> 
     
    300307    /* translators: Publish box date format, see https://secure.php.net/date */ 
    301308    $datef = __( 'M j, Y @ H:i' ); 
     309    /* translators: Attachment information. 1: Date the attachment was uploaded */ 
    302310    $stamp = __('Uploaded on: <b>%1$s</b>'); 
    303311    $date = date_i18n( $datef, strtotime( $post->post_date ) ); 
  • trunk/src/wp-admin/includes/ms.php

    r38961 r39326  
    3030    $file_size = filesize( $file['tmp_name'] ); 
    3131    if ( $space_left < $file_size ) { 
     32        /* translators: 1: Required disk space in kilobytes */ 
    3233        $file['error'] = sprintf( __( 'Not enough space to upload. %1$s KB needed.' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) ); 
    3334    } 
    3435 
    3536    if ( $file_size > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) { 
     37        /* translators: 1: Maximum allowed file size in kilobytes */ 
    3638        $file['error'] = sprintf( __( 'This file is too big. Files must be less than %1$s KB in size.' ), get_site_option( 'fileupload_maxk', 1500 ) ); 
    3739    } 
     
    475477    } 
    476478    ?> 
    477     <strong><?php printf( __( 'Used: %1$s%% of %2$s' ), number_format( $percent_used ), $space ); ?></strong> 
     479    <strong><?php 
     480        /* translators: Storage space that's been used. 1: Percentage of used space, 2: Total space allowed in megabytes or gigabytes */ 
     481        printf( __( 'Used: %1$s%% of %2$s' ), number_format( $percent_used ), $space ); 
     482    ?></strong> 
    478483    <?php 
    479484} 
  • trunk/src/wp-includes/comment-template.php

    r38959 r39326  
    15931593        'respond_id'    => 'respond', 
    15941594        'reply_text'    => __( 'Reply' ), 
     1595        /* translators: Comment reply button text. 1: Comment author name */ 
    15951596        'reply_to_text' => __( 'Reply to %s' ), 
    15961597        'login_text'    => __( 'Log in to Reply' ), 
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php

    r38618 r39326  
    135135                <# if ( ( 'post_type' === data.item_type || 'taxonomy' === data.item_type ) && '' !== data.original_title ) { #> 
    136136                <p class="link-to-original"> 
    137                     <?php printf( __( 'Original: %s' ), '<a class="original-link" href="{{ data.url }}">{{ data.original_title }}</a>' ); ?> 
     137                    <?php 
     138                        /* translators: Nav menu item original title. 1: Original title */ 
     139                        printf( __( 'Original: %s' ), '<a class="original-link" href="{{ data.url }}">{{ data.original_title }}</a>' ); 
     140                    ?> 
    138141                </p> 
    139142                <# } #> 
  • trunk/src/wp-includes/customize/class-wp-customize-theme-control.php

    r39140 r39326  
    8888            <# } #> 
    8989 
    90             <div class="theme-author"><?php printf( __( 'By %s' ), '{{ data.theme.author }}' ); ?></div> 
     90            <div class="theme-author"><?php 
     91                /* translators: Theme author name */ 
     92                printf( _x( 'By %s', 'theme author' ), '{{ data.theme.author }}' ); 
     93            ?></div> 
    9194 
    9295            <# if ( data.theme.isActiveTheme ) { #> 
  • trunk/src/wp-includes/formatting.php

    r38944 r39326  
    32183218        if ( $mins <= 1 ) 
    32193219            $mins = 1; 
    3220         /* translators: min=minute */ 
     3220        /* translators: Time difference between two dates, in minutes (min=minute). 1: Number of minutes */ 
    32213221        $since = sprintf( _n( '%s min', '%s mins', $mins ), $mins ); 
    32223222    } elseif ( $diff < DAY_IN_SECONDS && $diff >= HOUR_IN_SECONDS ) { 
     
    32243224        if ( $hours <= 1 ) 
    32253225            $hours = 1; 
     3226        /* translators: Time difference between two dates, in hours. 1: Number of hours */ 
    32263227        $since = sprintf( _n( '%s hour', '%s hours', $hours ), $hours ); 
    32273228    } elseif ( $diff < WEEK_IN_SECONDS && $diff >= DAY_IN_SECONDS ) { 
     
    32293230        if ( $days <= 1 ) 
    32303231            $days = 1; 
     3232        /* translators: Time difference between two dates, in days. 1: Number of days */ 
    32313233        $since = sprintf( _n( '%s day', '%s days', $days ), $days ); 
    32323234    } elseif ( $diff < MONTH_IN_SECONDS && $diff >= WEEK_IN_SECONDS ) { 
     
    32343236        if ( $weeks <= 1 ) 
    32353237            $weeks = 1; 
     3238        /* translators: Time difference between two dates, in weeks. 1: Number of weeks */ 
    32363239        $since = sprintf( _n( '%s week', '%s weeks', $weeks ), $weeks ); 
    32373240    } elseif ( $diff < YEAR_IN_SECONDS && $diff >= MONTH_IN_SECONDS ) { 
     
    32393242        if ( $months <= 1 ) 
    32403243            $months = 1; 
     3244        /* translators: Time difference between two dates, in months. 1: Number of months */ 
    32413245        $since = sprintf( _n( '%s month', '%s months', $months ), $months ); 
    32423246    } elseif ( $diff >= YEAR_IN_SECONDS ) { 
     
    32443248        if ( $years <= 1 ) 
    32453249            $years = 1; 
     3250        /* translators: Time difference between two dates, in years. 1: Number of years */ 
    32463251        $since = sprintf( _n( '%s year', '%s years', $years ), $years ); 
    32473252    } 
  • trunk/src/wp-includes/general-template.php

    r39139 r39326  
    14621462function get_the_archive_title() { 
    14631463    if ( is_category() ) { 
     1464        /* translators: Category archive title. 1: Category name */ 
    14641465        $title = sprintf( __( 'Category: %s' ), single_cat_title( '', false ) ); 
    14651466    } elseif ( is_tag() ) { 
     1467        /* translators: Tag archive title. 1: Tag name */ 
    14661468        $title = sprintf( __( 'Tag: %s' ), single_tag_title( '', false ) ); 
    14671469    } elseif ( is_author() ) { 
     1470        /* translators: Author archive title. 1: Author name */ 
    14681471        $title = sprintf( __( 'Author: %s' ), '<span class="vcard">' . get_the_author() . '</span>' ); 
    14691472    } elseif ( is_year() ) { 
     1473        /* translators: Yearly archive title. 1: Year */ 
    14701474        $title = sprintf( __( 'Year: %s' ), get_the_date( _x( 'Y', 'yearly archives date format' ) ) ); 
    14711475    } elseif ( is_month() ) { 
     1476        /* translators: Monthly archive title. 1: Month name and year */ 
    14721477        $title = sprintf( __( 'Month: %s' ), get_the_date( _x( 'F Y', 'monthly archives date format' ) ) ); 
    14731478    } elseif ( is_day() ) { 
     1479        /* translators: Daily archive title. 1: Date */ 
    14741480        $title = sprintf( __( 'Day: %s' ), get_the_date( _x( 'F j, Y', 'daily archives date format' ) ) ); 
    14751481    } elseif ( is_tax( 'post_format' ) ) { 
     
    14941500        } 
    14951501    } elseif ( is_post_type_archive() ) { 
     1502        /* translators: Post type archive title. 1: Post type name */ 
    14961503        $title = sprintf( __( 'Archives: %s' ), post_type_archive_title( '', false ) ); 
    14971504    } elseif ( is_tax() ) { 
    14981505        $tax = get_taxonomy( get_queried_object()->taxonomy ); 
    1499         /* translators: 1: Taxonomy singular name, 2: Current taxonomy term */ 
     1506        /* translators: Taxonomy term archive title. 1: Taxonomy singular name, 2: Current taxonomy term */ 
    15001507        $title = sprintf( __( '%1$s: %2$s' ), $tax->labels->singular_name, single_term_title( '', false ) ); 
    15011508    } else { 
     
    20522059            // any posts today? 
    20532060            $date_format = date( _x( 'F j, Y', 'daily archives date format' ), strtotime( "{$thisyear}-{$thismonth}-{$day}" ) ); 
     2061            /* translators: Post calendar label. 1: Date */ 
    20542062            $label = sprintf( __( 'Posts published on %s' ), $date_format ); 
    20552063            $calendar_output .= sprintf( 
  • trunk/src/wp-includes/pluggable.php

    r39323 r39326  
    14311431    switch ( $comment->comment_type ) { 
    14321432        case 'trackback': 
     1433            /* translators: 1: Post title */ 
    14331434            $notify_message  = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; 
    1434             /* translators: 1: website name, 2: website IP, 3: website hostname */ 
     1435            /* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ 
    14351436            $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    14361437            $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 
     
    14411442            break; 
    14421443        case 'pingback': 
     1444            /* translators: 1: Post title */ 
    14431445            $notify_message  = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; 
    1444             /* translators: 1: website name, 2: website IP, 3: website hostname */ 
     1446            /* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ 
    14451447            $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    14461448            $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 
     
    15891591    switch ( $comment->comment_type ) { 
    15901592        case 'trackback': 
     1593            /* translators: 1: Post title */ 
    15911594            $notify_message  = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 
    15921595            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    1593             /* translators: 1: website name, 2: website IP, 3: website hostname */ 
     1596            /* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ 
    15941597            $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     1598            /* translators: 1: Trackback/pingback/comment author URL */ 
    15951599            $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 
    15961600            $notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; 
    15971601            break; 
    15981602        case 'pingback': 
     1603            /* translators: 1: Post title */ 
    15991604            $notify_message  = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 
    16001605            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    1601             /* translators: 1: website name, 2: website IP, 3: website hostname */ 
     1606            /* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ 
    16021607            $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     1608            /* translators: 1: Trackback/pingback/comment author URL */ 
    16031609            $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 
    16041610            $notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; 
    16051611            break; 
    16061612        default: // Comments 
     1613            /* translators: 1: Post title */ 
    16071614            $notify_message  = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 
    16081615            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
     1616            /* translators: 1: Comment author name, 2: comment author's IP, 3: comment author IP's hostname */ 
    16091617            $notify_message .= sprintf( __( 'Author: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     1618            /* translators: 1: Comment author URL */ 
    16101619            $notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; 
     1620            /* translators: 1: Trackback/pingback/comment author URL */ 
    16111621            $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 
     1622            /* translators: 1: Comment text */ 
    16121623            $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; 
    16131624            break; 
    16141625    } 
    16151626 
     1627    /* translators: Comment moderation. 1: Comment action URL */ 
    16161628    $notify_message .= sprintf( __( 'Approve it: %s' ), admin_url( "comment.php?action=approve&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 
    16171629 
    1618     if ( EMPTY_TRASH_DAYS ) 
     1630    if ( EMPTY_TRASH_DAYS ) { 
     1631        /* translators: Comment moderation. 1: Comment action URL */ 
    16191632        $notify_message .= sprintf( __( 'Trash it: %s' ), admin_url( "comment.php?action=trash&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 
    1620     else 
     1633    } else { 
     1634        /* translators: Comment moderation. 1: Comment action URL */ 
    16211635        $notify_message .= sprintf( __( 'Delete it: %s' ), admin_url( "comment.php?action=delete&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 
    1622  
     1636    } 
     1637 
     1638    /* translators: Comment moderation. 1: Comment action URL */ 
    16231639    $notify_message .= sprintf( __( 'Spam it: %s' ), admin_url( "comment.php?action=spam&c={$comment_id}#wpbody-content" ) ) . "\r\n"; 
    16241640 
     1641    /* translators: Comment moderation. 1: Number of comments awaiting approval */ 
    16251642    $notify_message .= sprintf( _n('Currently %s comment is waiting for approval. Please visit the moderation panel:', 
    16261643        'Currently %s comments are waiting for approval. Please visit the moderation panel:', $comments_waiting), number_format_i18n($comments_waiting) ) . "\r\n"; 
  • trunk/src/wp-includes/taxonomy.php

    r39283 r39326  
    26562656        // If an empty slug was passed or the parent changed, reset the slug to something unique. 
    26572657        // Otherwise, bail. 
    2658         if ( $empty_slug || ( $parent != $term['parent']) ) 
     2658        if ( $empty_slug || ( $parent != $term['parent']) ) { 
    26592659            $slug = wp_unique_term_slug($slug, (object) $args); 
    2660         else 
     2660        } else { 
     2661            /* translators: 1: Taxonomy term slug */ 
    26612662            return new WP_Error('duplicate_term_slug', sprintf(__('The slug &#8220;%s&#8221; is already in use by another term'), $slug)); 
     2663        } 
    26622664    } 
    26632665 
  • trunk/src/wp-includes/update.php

    r39325 r39326  
    588588    $counts['total'] = $counts['plugins'] + $counts['themes'] + $counts['wordpress'] + $counts['translations']; 
    589589    $titles = array(); 
    590     if ( $counts['wordpress'] ) 
     590    if ( $counts['wordpress'] ) { 
     591        /* translators: 1: Number of updates available to WordPress */ 
    591592        $titles['wordpress'] = sprintf( __( '%d WordPress Update'), $counts['wordpress'] ); 
    592     if ( $counts['plugins'] ) 
     593    } 
     594    if ( $counts['plugins'] ) { 
     595        /* translators: 1: Number of updates available to plugins */ 
    593596        $titles['plugins'] = sprintf( _n( '%d Plugin Update', '%d Plugin Updates', $counts['plugins'] ), $counts['plugins'] ); 
    594     if ( $counts['themes'] ) 
     597    } 
     598    if ( $counts['themes'] ) { 
     599        /* translators: 1: Number of updates available to themes */ 
    595600        $titles['themes'] = sprintf( _n( '%d Theme Update', '%d Theme Updates', $counts['themes'] ), $counts['themes'] ); 
    596     if ( $counts['translations'] ) 
     601    } 
     602    if ( $counts['translations'] ) { 
    597603        $titles['translations'] = __( 'Translation Updates' ); 
     604    } 
    598605 
    599606    $update_title = $titles ? esc_attr( implode( ', ', $titles ) ) : ''; 
  • trunk/src/wp-includes/user.php

    r38961 r39326  
    18241824            $pass_change_email = array( 
    18251825                'to'      => $user['user_email'], 
     1826                /* translators: User password change notification email subject. 1: Site name */ 
    18261827                'subject' => __( '[%s] Notice of Password Change' ), 
    18271828                'message' => $pass_change_text, 
     
    18791880            $email_change_email = array( 
    18801881                'to'      => $user['user_email'], 
     1882                /* translators: User email change notification email subject. 1: Site name */ 
    18811883                'subject' => __( '[%s] Notice of Email Change' ), 
    18821884                'message' => $email_change_text, 
  • trunk/src/wp-links-opml.php

    r37535 r39326  
    2727<opml version="1.0"> 
    2828    <head> 
    29         <title><?php printf( __('Links for %s'), esc_attr(get_bloginfo('name', 'display')) ); ?></title> 
     29        <title><?php 
     30            /* translators: 1: Site name */ 
     31            printf( __('Links for %s'), esc_attr(get_bloginfo('name', 'display')) ); 
     32        ?></title> 
    3033        <dateCreated><?php echo gmdate("D, d M Y H:i:s"); ?> GMT</dateCreated> 
    3134        <?php 
  • trunk/src/wp-login.php

    r39323 r39326  
    342342    } 
    343343 
     344    /* translators: Password reset email subject. 1: Site name */ 
    344345    $title = sprintf( __('[%s] Password Reset'), $blogname ); 
    345346 
  • trunk/src/wp-mail.php

    r38470 r39326  
    119119                $author = sanitize_email($author); 
    120120                if ( is_email($author) ) { 
     121                    /* translators: Post author email address */ 
    121122                    echo '<p>' . sprintf(__('Author is %s'), $author) . '</p>'; 
    122123                    $userdata = get_user_by('email', $author); 
Note: See TracChangeset for help on using the changeset viewer.