WordPress.org

Make WordPress Core

Ticket #11954: 29-i18n-1.diff

File 29-i18n-1.diff, 65.0 KB (added by nbachiyski, 4 years ago)
  • wp-includes/locale.php

     
    105105         */ 
    106106        function init() { 
    107107                // The Weekdays 
    108                 $this->weekday[0] = __('Sunday'); 
    109                 $this->weekday[1] = __('Monday'); 
    110                 $this->weekday[2] = __('Tuesday'); 
    111                 $this->weekday[3] = __('Wednesday'); 
    112                 $this->weekday[4] = __('Thursday'); 
    113                 $this->weekday[5] = __('Friday'); 
    114                 $this->weekday[6] = __('Saturday'); 
     108                $this->weekday[0] = /* translators: weekday */ __('Sunday'); 
     109                $this->weekday[1] = /* translators: weekday */ __('Monday'); 
     110                $this->weekday[2] = /* translators: weekday */ __('Tuesday'); 
     111                $this->weekday[3] = /* translators: weekday */ __('Wednesday'); 
     112                $this->weekday[4] = /* translators: weekday */ __('Thursday'); 
     113                $this->weekday[5] = /* translators: weekday */ __('Friday'); 
     114                $this->weekday[6] = /* translators: weekday */ __('Saturday'); 
    115115 
    116116                // The first letter of each day.  The _%day%_initial suffix is a hack to make 
    117117                // sure the day initials are unique. 
    118                 $this->weekday_initial[__('Sunday')]    = __('S_Sunday_initial'); 
    119                 $this->weekday_initial[__('Monday')]    = __('M_Monday_initial'); 
    120                 $this->weekday_initial[__('Tuesday')]   = __('T_Tuesday_initial'); 
    121                 $this->weekday_initial[__('Wednesday')] = __('W_Wednesday_initial'); 
    122                 $this->weekday_initial[__('Thursday')]  = __('T_Thursday_initial'); 
    123                 $this->weekday_initial[__('Friday')]    = __('F_Friday_initial'); 
    124                 $this->weekday_initial[__('Saturday')]  = __('S_Saturday_initial'); 
     118                $this->weekday_initial[__('Sunday')]    = /* translators: one-letter abbreviation of the weekday */ __('S_Sunday_initial'); 
     119                $this->weekday_initial[__('Monday')]    = /* translators: one-letter abbreviation of the weekday */ __('M_Monday_initial'); 
     120                $this->weekday_initial[__('Tuesday')]   = /* translators: one-letter abbreviation of the weekday */ __('T_Tuesday_initial'); 
     121                $this->weekday_initial[__('Wednesday')] = /* translators: one-letter abbreviation of the weekday */ __('W_Wednesday_initial'); 
     122                $this->weekday_initial[__('Thursday')]  = /* translators: one-letter abbreviation of the weekday */ __('T_Thursday_initial'); 
     123                $this->weekday_initial[__('Friday')]    = /* translators: one-letter abbreviation of the weekday */ __('F_Friday_initial'); 
     124                $this->weekday_initial[__('Saturday')]  = /* translators: one-letter abbreviation of the weekday */ __('S_Saturday_initial'); 
    125125 
    126126                foreach ($this->weekday_initial as $weekday_ => $weekday_initial_) { 
    127127                        $this->weekday_initial[$weekday_] = preg_replace('/_.+_initial$/', '', $weekday_initial_); 
    128128                } 
    129129 
    130                 // Abbreviations for each day. 
    131                 $this->weekday_abbrev[__('Sunday')]    = __('Sun'); 
    132                 $this->weekday_abbrev[__('Monday')]    = __('Mon'); 
    133                 $this->weekday_abbrev[__('Tuesday')]   = __('Tue'); 
    134                 $this->weekday_abbrev[__('Wednesday')] = __('Wed'); 
    135                 $this->weekday_abbrev[__('Thursday')]  = __('Thu'); 
    136                 $this->weekday_abbrev[__('Friday')]    = __('Fri'); 
    137                 $this->weekday_abbrev[__('Saturday')]  = __('Sat'); 
     130                // Abbreviations for each day.           
     131                $this->weekday_abbrev[__('Sunday')]    = /* translators: three-letter abbreviation of the weekday */ __('Sun'); 
     132                $this->weekday_abbrev[__('Monday')]    = /* translators: three-letter abbreviation of the weekday */ __('Mon'); 
     133                $this->weekday_abbrev[__('Tuesday')]   = /* translators: three-letter abbreviation of the weekday */ __('Tue'); 
     134                $this->weekday_abbrev[__('Wednesday')] = /* translators: three-letter abbreviation of the weekday */ __('Wed'); 
     135                $this->weekday_abbrev[__('Thursday')]  = /* translators: three-letter abbreviation of the weekday */ __('Thu'); 
     136                $this->weekday_abbrev[__('Friday')]    = /* translators: three-letter abbreviation of the weekday */ __('Fri'); 
     137                $this->weekday_abbrev[__('Saturday')]  = /* translators: three-letter abbreviation of the weekday */ __('Sat'); 
    138138 
    139139                // The Months 
    140                 $this->month['01'] = __('January'); 
    141                 $this->month['02'] = __('February'); 
    142                 $this->month['03'] = __('March'); 
    143                 $this->month['04'] = __('April'); 
    144                 $this->month['05'] = __('May'); 
    145                 $this->month['06'] = __('June'); 
    146                 $this->month['07'] = __('July'); 
    147                 $this->month['08'] = __('August'); 
    148                 $this->month['09'] = __('September'); 
    149                 $this->month['10'] = __('October'); 
    150                 $this->month['11'] = __('November'); 
    151                 $this->month['12'] = __('December'); 
     140                $this->month['01'] = /* translators: month name */ __('January'); 
     141                $this->month['02'] = /* translators: month name */ __('February'); 
     142                $this->month['03'] = /* translators: month name */ __('March'); 
     143                $this->month['04'] = /* translators: month name */ __('April'); 
     144                $this->month['05'] = /* translators: month name */ __('May'); 
     145                $this->month['06'] = /* translators: month name */ __('June'); 
     146                $this->month['07'] = /* translators: month name */ __('July'); 
     147                $this->month['08'] = /* translators: month name */ __('August'); 
     148                $this->month['09'] = /* translators: month name */ __('September'); 
     149                $this->month['10'] = /* translators: month name */ __('October'); 
     150                $this->month['11'] = /* translators: month name */ __('November'); 
     151                $this->month['12'] = /* translators: month name */ __('December'); 
    152152 
    153153                // Abbreviations for each month. Uses the same hack as above to get around the 
    154154                // 'May' duplication. 
    155                 $this->month_abbrev[__('January')] = __('Jan_January_abbreviation'); 
    156                 $this->month_abbrev[__('February')] = __('Feb_February_abbreviation'); 
    157                 $this->month_abbrev[__('March')] = __('Mar_March_abbreviation'); 
    158                 $this->month_abbrev[__('April')] = __('Apr_April_abbreviation'); 
    159                 $this->month_abbrev[__('May')] = __('May_May_abbreviation'); 
    160                 $this->month_abbrev[__('June')] = __('Jun_June_abbreviation'); 
    161                 $this->month_abbrev[__('July')] = __('Jul_July_abbreviation'); 
    162                 $this->month_abbrev[__('August')] = __('Aug_August_abbreviation'); 
    163                 $this->month_abbrev[__('September')] = __('Sep_September_abbreviation'); 
    164                 $this->month_abbrev[__('October')] = __('Oct_October_abbreviation'); 
    165                 $this->month_abbrev[__('November')] = __('Nov_November_abbreviation'); 
    166                 $this->month_abbrev[__('December')] = __('Dec_December_abbreviation'); 
     155                $this->month_abbrev[__('January')] = /* translators: three-letter abbreviation of the month */ __('Jan_January_abbreviation'); 
     156                $this->month_abbrev[__('February')] = /* translators: three-letter abbreviation of the month */ __('Feb_February_abbreviation'); 
     157                $this->month_abbrev[__('March')] = /* translators: three-letter abbreviation of the month */ __('Mar_March_abbreviation'); 
     158                $this->month_abbrev[__('April')] = /* translators: three-letter abbreviation of the month */ __('Apr_April_abbreviation'); 
     159                $this->month_abbrev[__('May')] = /* translators: three-letter abbreviation of the month */ __('May_May_abbreviation'); 
     160                $this->month_abbrev[__('June')] = /* translators: three-letter abbreviation of the month */ __('Jun_June_abbreviation'); 
     161                $this->month_abbrev[__('July')] = /* translators: three-letter abbreviation of the month */ __('Jul_July_abbreviation'); 
     162                $this->month_abbrev[__('August')] = /* translators: three-letter abbreviation of the month */ __('Aug_August_abbreviation'); 
     163                $this->month_abbrev[__('September')] = /* translators: three-letter abbreviation of the month */ __('Sep_September_abbreviation'); 
     164                $this->month_abbrev[__('October')] = /* translators: three-letter abbreviation of the month */ __('Oct_October_abbreviation'); 
     165                $this->month_abbrev[__('November')] = /* translators: three-letter abbreviation of the month */ __('Nov_November_abbreviation'); 
     166                $this->month_abbrev[__('December')] = /* translators: three-letter abbreviation of the month */ __('Dec_December_abbreviation'); 
    167167 
    168168                foreach ($this->month_abbrev as $month_ => $month_abbrev_) { 
    169169                        $this->month_abbrev[$month_] = preg_replace('/_.+_abbreviation$/', '', $month_abbrev_); 
  • wp-includes/js/tinymce/langs/wp-langs.php

     
    3939more_colors:"' . mce_escape( __('More colors') ) . '" 
    4040}, 
    4141contextmenu:{ 
    42 align:"' . mce_escape( __('Alignment') ) . '", 
    43 left:"' . mce_escape( __('Left') ) . '", 
    44 center:"' . mce_escape( __('Center') ) . '", 
    45 right:"' . mce_escape( __('Right') ) . '", 
    46 full:"' . mce_escape( __('Full') ) . '" 
     42align:"' . mce_escape( /* translators: alignment */ __('Alignment') ) . '", 
     43left:"' . mce_escape( /* translators: alignment */ __('Left') ) . '", 
     44center:"' . mce_escape( /* translators: alignment */ __('Center') ) . '", 
     45right:"' . mce_escape( /* translators: alignment */ __('Right') ) . '", 
     46full:"' . mce_escape( /* translators: alignment */ __('Full') ) . '" 
    4747}, 
    4848insertdatetime:{ 
    49 date_fmt:"' . mce_escape( __('%Y-%m-%d') ) . '", 
    50 time_fmt:"' . mce_escape( __('%H:%M:%S') ) . '", 
     49date_fmt:"' . mce_escape( /* translators: year, month, date */ __('%Y-%m-%d') ) . '", 
     50time_fmt:"' . mce_escape( /* translators: hours, minutes, seconds */ __('%H:%M:%S') ) . '", 
    5151insertdate_desc:"' . mce_escape( __('Insert date') ) . '", 
    5252inserttime_desc:"' . mce_escape( __('Insert time') ) . '", 
    5353months_long:"' . mce_escape( __('January').','.__('February').','.__('March').','.__('April').','.__('May').','.__('June').','.__('July').','.__('August').','.__('September').','.__('October').','.__('November').','.__('December') ) . '", 
     
    175175no_mpell:"' . mce_escape( __('No misspellings found.') ) . '" 
    176176}, 
    177177pagebreak:{ 
    178 desc:"' . mce_escape( __('Insert page break.') ) . '" 
     178desc:"' . mce_escape( __('Insert Page Break') ) . '" 
    179179}}}); 
    180180 
    181181tinyMCE.addI18n("' . $language . '.advanced",{ 
     
    202202italic_desc:"' . mce_escape( __('Italic') ) . ' (Ctrl / Alt+Shift + I)", 
    203203underline_desc:"' . mce_escape( __('Underline') ) . '", 
    204204striketrough_desc:"' . mce_escape( __('Strikethrough') ) . ' (Alt+Shift+D)", 
    205 justifyleft_desc:"' . mce_escape( __('Align left') ) . ' (Alt+Shift+L)", 
    206 justifycenter_desc:"' . mce_escape( __('Align center') ) . ' (Alt+Shift+C)", 
    207 justifyright_desc:"' . mce_escape( __('Align right') ) . ' (Alt+Shift+R)", 
    208 justifyfull_desc:"' . mce_escape( __('Align full') ) . ' (Alt+Shift+J)", 
     205justifyleft_desc:"' . mce_escape( __('Align Left') ) . ' (Alt+Shift+L)", 
     206justifycenter_desc:"' . mce_escape( __('Align Center') ) . ' (Alt+Shift+C)", 
     207justifyright_desc:"' . mce_escape( __('Align Right') ) . ' (Alt+Shift+R)", 
     208justifyfull_desc:"' . mce_escape( __('Align Full') ) . ' (Alt+Shift+J)", 
    209209bullist_desc:"' . mce_escape( __('Unordered list') ) . ' (Alt+Shift+U)", 
    210210numlist_desc:"' . mce_escape( __('Ordered list') ) . ' (Alt+Shift+O)", 
    211211outdent_desc:"' . mce_escape( __('Outdent') ) . '", 
     
    336336enablejavascript:"' . mce_escape( __('Enable JavaScript') ) . '", 
    337337starttime:"' . mce_escape( __('Start time') ) . '", 
    338338endtime:"' . mce_escape( __('End time') ) . '", 
    339 href:"' . mce_escape( __('Href') ) . '", 
     339href:"' . mce_escape( __('href') ) . '", 
    340340qtsrcchokespeed:"' . mce_escape( __('Choke speed') ) . '", 
    341341target:"' . mce_escape( __('Target') ) . '", 
    342342volume:"' . mce_escape( __('Volume') ) . '", 
     
    404404 
    405405tinyMCE.addI18n("' . $language . '.wordpress",{ 
    406406wp_adv_desc:"' . mce_escape( __('Show/Hide Kitchen Sink') )  . ' (Alt+Shift+Z)", 
    407 wp_more_desc:"' . mce_escape( __('Insert More tag') ) . ' (Alt+Shift+T)", 
     407wp_more_desc:"' . mce_escape( __('Insert More Tag') ) . ' (Alt+Shift+T)", 
    408408wp_page_desc:"' . mce_escape( __('Insert Page break') ) . ' (Alt+Shift+P)", 
    409409wp_help_desc:"' . mce_escape( __('Help') ) . ' (Alt+Shift+H)", 
    410410wp_more_alt:"' . mce_escape( __('More...') ) . '", 
  • wp-includes/js/tinymce/wp-mce-help.php

     
    210210                <script type="text/javascript"> 
    211211                if ( ! tinymce.isWebKit ) 
    212212                        document.write("<tr><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr>"+ 
    213                         "<tr><th>u</th><td><?php _e('Underline') ?></td><th>1</th><td><?php _e('Header 1') ?></td></tr>"+ 
    214                         "<tr><th>2</th><td><?php _e('Header 2') ?></td><th>3</th><td><?php _e('Header 3') ?></td></tr>"+ 
    215                         "<tr><th>4</th><td><?php _e('Header 4') ?></td><th>5</th><td><?php _e('Header 5') ?></td></tr>"+ 
    216                         "<tr><th>6</th><td><?php _e('Header 6') ?></td><th>9</th><td><?php _e('Address') ?></td></tr>") 
     213                        "<tr><th>u</th><td><?php _e('Underline') ?></td><th>1</th><td><?php _e('Heading 1') ?></td></tr>"+ 
     214                        "<tr><th>2</th><td><?php _e('Heading 2') ?></td><th>3</th><td><?php _e('Heading 3') ?></td></tr>"+ 
     215                        "<tr><th>4</th><td><?php _e('Heading 4') ?></td><th>5</th><td><?php _e('Heading 5') ?></td></tr>"+ 
     216                        "<tr><th>6</th><td><?php _e('Heading 6') ?></td><th>9</th><td><?php _e('Address') ?></td></tr>") 
    217217                </script> 
    218218        </table> 
    219219 
  • wp-includes/default-widgets.php

     
    406406 
    407407                <textarea class="widefat" rows="16" cols="20" id="<?php echo $this->get_field_id('text'); ?>" name="<?php echo $this->get_field_name('text'); ?>"><?php echo $text; ?></textarea> 
    408408 
    409                 <p><input id="<?php echo $this->get_field_id('filter'); ?>" name="<?php echo $this->get_field_name('filter'); ?>" type="checkbox" <?php checked(isset($instance['filter']) ? $instance['filter'] : 0); ?> />&nbsp;<label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs.'); ?></label></p> 
     409                <p><input id="<?php echo $this->get_field_id('filter'); ?>" name="<?php echo $this->get_field_name('filter'); ?>" type="checkbox" <?php checked(isset($instance['filter']) ? $instance['filter'] : 0); ?> />&nbsp;<label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs'); ?></label></p> 
    410410<?php 
    411411        } 
    412412} 
  • wp-includes/functions.php

     
    16411641 
    16421642        $hook = 'do_feed_' . $feed; 
    16431643        if ( !has_action($hook) ) { 
    1644                 $message = sprintf( __( 'ERROR: %s is not a valid feed template' ), esc_html($feed)); 
     1644                $message = sprintf( __( 'ERROR: %s is not a valid feed template.' ), esc_html($feed)); 
    16451645                wp_die($message); 
    16461646        } 
    16471647 
  • wp-includes/comment-template.php

     
    962962        } 
    963963 
    964964        if ( post_password_required() ) { 
    965                 echo __('Enter your password to view comments'); 
     965                echo __('Enter your password to view comments.'); 
    966966                return; 
    967967        } 
    968968 
     
    12821282                <br /> 
    12831283<?php endif; ?> 
    12841284 
    1285                 <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'&nbsp;&nbsp;','') ?></div> 
     1285                <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"> 
     1286                        <?php 
     1287                                /* translators: 1: date, 2: time */ 
     1288                                printf( __('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'&nbsp;&nbsp;','' ); 
     1289                        ?> 
     1290                </div> 
    12861291 
    12871292                <?php comment_text() ?> 
    12881293 
  • wp-includes/feed-atom-comments.php

     
    1616> 
    1717        <title type="text"><?php 
    1818                if ( is_singular() ) 
    19                         printf(ent2ncr(__('Comments on: %s')), get_the_title_rss()); 
     19                        printf(ent2ncr(__('Comments on %s')), get_the_title_rss()); 
    2020                elseif ( is_search() ) 
    2121                        printf(ent2ncr(__('Comments for %1$s searching on %2$s')), get_bloginfo_rss( 'name' ), esc_attr(get_search_query())); 
    2222                else 
  • wp-includes/link-template.php

     
    607607        if ( empty($link) ) 
    608608                $link = __('Edit This'); 
    609609 
    610         $link = '<a href="' . get_edit_tag_link( $tag->term_id ) . '" title="' . __( 'Edit tag' ) . '">' . $link . '</a>'; 
     610        $link = '<a href="' . get_edit_tag_link( $tag->term_id ) . '" title="' . __( 'Edit Tag' ) . '">' . $link . '</a>'; 
    611611        echo $before . apply_filters( 'edit_tag_link', $link, $tag->term_id ) . $after; 
    612612} 
    613613 
     
    712712        if ( null === $link ) 
    713713                $link = __('Edit This'); 
    714714 
    715         $link = '<a class="post-edit-link" href="' . $url . '" title="' . esc_attr( __( 'Edit post' ) ) . '">' . $link . '</a>'; 
     715        $link = '<a class="post-edit-link" href="' . $url . '" title="' . esc_attr( __( 'Edit Post' ) ) . '">' . $link . '</a>'; 
    716716        echo $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after; 
    717717} 
    718718 
     
    857857        if ( empty($link) ) 
    858858                $link = __('Edit This'); 
    859859 
    860         $link = '<a href="' . get_edit_bookmark_link( $link ) . '" title="' . __( 'Edit link' ) . '">' . $link . '</a>'; 
     860        $link = '<a href="' . get_edit_bookmark_link( $link ) . '" title="' . __( 'Edit Link' ) . '">' . $link . '</a>'; 
    861861        echo $before . apply_filters( 'edit_bookmark_link', $link, $bookmark->link_id ) . $after; 
    862862} 
    863863 
  • wp-includes/formatting.php

     
    17701770                if ($mins <= 1) { 
    17711771                        $mins = 1; 
    17721772                } 
     1773                /* translators: min=minute */ 
    17731774                $since = sprintf(_n('%s min', '%s mins', $mins), $mins); 
    17741775        } else if (($diff <= 86400) && ($diff > 3600)) { 
    17751776                $hours = round($diff / 3600); 
  • wp-admin/edit-comments.php

     
    177177//, number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"), 
    178178//, number_format_i18n($num_comments->spam) ), "<span class='spam-comment-count'>" . number_format_i18n($num_comments->spam) . "</span>") 
    179179$stati = array( 
    180                 'all' => _n_noop('All', 'All'), // singular not used 
     180                'all' => _nx_noop('All', 'All', 'comments'), // singular not used 
    181181                'moderated' => _n_noop('Pending <span class="count">(<span class="pending-count">%s</span>)</span>', 'Pending <span class="count">(<span class="pending-count">%s</span>)</span>'), 
    182182                'approved' => _n_noop('Approved', 'Approved'), // singular not used 
    183183                'spam' => _n_noop('Spam <span class="count">(<span class="spam-count">%s</span>)</span>', 'Spam <span class="count">(<span class="spam-count">%s</span>)</span>'), 
  • wp-admin/admin-ajax.php

     
    2828                if ( ! $id ) 
    2929                        die('-1'); 
    3030 
    31                 $message = sprintf( __('<strong>ALERT: You are logged out!</strong> Could not save draft. <a href="%s" target="blank">Please log in again.</a>'), wp_login_url() ); 
     31                $message = sprintf( __('<strong>ALERT: You are logged out!</strong> Could not save draft. <a href="%s" target="_blank">Please log in again.</a>'), wp_login_url() ); 
    3232                        $x = new WP_Ajax_Response( array( 
    3333                                'what' => 'autosave', 
    3434                                'id' => $id, 
     
    919919        $data = ''; 
    920920        /* translators: draft saved date format, see http://php.net/date */ 
    921921        $draft_saved_date_format = __('g:i:s a'); 
    922         $message = sprintf( __('Draft Saved at %s.'), date_i18n( $draft_saved_date_format ) ); 
     922        $message = sprintf( __('Draft saved at %s.'), date_i18n( $draft_saved_date_format ) ); 
    923923 
    924924        $supplemental = array(); 
    925925        if ( isset($login_grace_period) ) 
  • wp-admin/includes/plugin.php

     
    436436                return new WP_Error('fs_unavailable', __('Could not access filesystem.')); 
    437437 
    438438        if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() ) 
    439                 return new WP_Error('fs_error', __('Filesystem error'), $wp_filesystem->errors); 
     439                return new WP_Error('fs_error', __('Filesystem error.'), $wp_filesystem->errors); 
    440440 
    441441        //Get the base plugin folder 
    442442        $plugins_dir = $wp_filesystem->wp_plugins_dir(); 
     
    464464        } 
    465465 
    466466        if ( ! empty($errors) ) 
    467                 return new WP_Error('could_not_remove_plugin', sprintf(__('Could not fully remove the plugin(s) %s'), implode(', ', $errors)) ); 
     467                return new WP_Error('could_not_remove_plugin', sprintf(__('Could not fully remove the plugin(s) %s.'), implode(', ', $errors)) ); 
    468468 
    469469        // Force refresh of plugin update information 
    470470        if ( $current = get_site_transient('update_plugins') ) { 
  • wp-admin/includes/plugin-install.php

     
    215215function install_plugins_upload( $page = 1 ) { 
    216216?> 
    217217        <h4><?php _e('Install a plugin in .zip format') ?></h4> 
    218         <p class="install-help"><?php _e('If you have a plugin in a .zip format, You may install it by uploading it here.') ?></p> 
     218        <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.') ?></p> 
    219219        <form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>"> 
    220220                <?php wp_nonce_field( 'plugin-upload') ?> 
    221221                <label class="screen-reader-text" for="pluginzip"><?php _e('Plugin zip file'); ?></label> 
     
    503503                        endswitch; ?> 
    504504                </p> 
    505505                <?php endif; ?> 
    506                 <h2 class="mainheader"><?php _e('FYI') ?></h2> 
     506                <h2 class="mainheader"><?php /* translators: For Your Information */ _e('FYI') ?></h2> 
    507507                <ul> 
    508508<?php if ( ! empty($api->version) ) : ?> 
    509509                        <li><strong><?php _e('Version:') ?></strong> <?php echo $api->version ?></li> 
  • wp-admin/includes/file.php

     
    452452function download_url( $url ) { 
    453453        //WARNING: The file is not automatically deleted, The script must unlink() the file. 
    454454        if ( ! $url ) 
    455                 return new WP_Error('http_no_url', __('Invalid URL Provided')); 
     455                return new WP_Error('http_no_url', __('Invalid URL Provided.')); 
    456456 
    457457        $tmpfname = wp_tempnam($url); 
    458458        if ( ! $tmpfname ) 
    459                 return new WP_Error('http_no_file', __('Could not create Temporary file')); 
     459                return new WP_Error('http_no_file', __('Could not create Temporary file.')); 
    460460 
    461461        $handle = @fopen($tmpfname, 'wb'); 
    462462        if ( ! $handle ) 
    463                 return new WP_Error('http_no_file', __('Could not create Temporary file')); 
     463                return new WP_Error('http_no_file', __('Could not create Temporary file.')); 
    464464 
    465465        $response = wp_remote_get($url, array('timeout' => 300)); 
    466466 
     
    512512 
    513513        // Is the archive valid? 
    514514        if ( false == ($archive_files = $archive->extract(PCLZIP_OPT_EXTRACT_AS_STRING)) ) 
    515                 return new WP_Error('incompatible_archive', __('Incompatible archive'), $archive->errorInfo(true)); 
     515                return new WP_Error('incompatible_archive', __('Incompatible Archive.'), $archive->errorInfo(true)); 
    516516 
    517517        if ( 0 == count($archive_files) ) 
    518                 return new WP_Error('empty_archive', __('Empty archive')); 
     518                return new WP_Error('empty_archive', __('Empty archive.')); 
    519519 
    520520        $path = explode('/', untrailingslashit($to)); 
    521521        for ( $i = count($path); $i > 0; $i-- ) { //>0 = first element is empty allways for paths starting with '/' 
     
    524524                        for ( $i = $i + 1; $i <= count($path); $i++ ) { 
    525525                                $tmppath = implode('/', array_slice($path, 0, $i) ); 
    526526                                if ( ! $fs->mkdir($tmppath, FS_CHMOD_DIR) ) 
    527                                         return new WP_Error('mkdir_failed', __('Could not create directory'), $tmppath); 
     527                                        return new WP_Error('mkdir_failed', __('Could not create directory.'), $tmppath); 
    528528                        } 
    529529                        break; //Exit main for loop 
    530530                } 
     
    542542                                for ( $i = $i + 1; $i <= count($path); $i++ ) { //< count() no file component please. 
    543543                                        $tmppath = $to . implode('/', array_slice($path, 0, $i) ); 
    544544                                        if ( ! $fs->is_dir($tmppath) && ! $fs->mkdir($tmppath, FS_CHMOD_DIR) ) 
    545                                                 return new WP_Error('mkdir_failed', __('Could not create directory'), $tmppath); 
     545                                                return new WP_Error('mkdir_failed', __('Could not create directory.'), $tmppath); 
    546546                                } 
    547547                                break; //Exit main for loop 
    548548                        } 
     
    551551                // We've made sure the folders are there, so let's extract the file now: 
    552552                if ( ! $file['folder'] ) { 
    553553                        if ( !$fs->put_contents( $to . $file['filename'], $file['content'], FS_CHMOD_FILE) ) 
    554                                 return new WP_Error('copy_failed', __('Could not copy file'), $to . $file['filename']); 
     554                                return new WP_Error('copy_failed', __('Could not copy file.'), $to . $file['filename']); 
    555555                } 
    556556        } 
    557557        return true; 
     
    581581                                // If copy failed, chmod file to 0644 and try again. 
    582582                                $wp_filesystem->chmod($to . $filename, 0644); 
    583583                                if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true) ) 
    584                                         return new WP_Error('copy_failed', __('Could not copy file'), $to . $filename); 
     584                                        return new WP_Error('copy_failed', __('Could not copy file.'), $to . $filename); 
    585585                        } 
    586586                        $wp_filesystem->chmod($to . $filename, FS_CHMOD_FILE); 
    587587                } elseif ( 'd' == $fileinfo['type'] ) { 
    588588                        if ( !$wp_filesystem->is_dir($to . $filename) ) { 
    589589                                if ( !$wp_filesystem->mkdir($to . $filename, FS_CHMOD_DIR) ) 
    590                                         return new WP_Error('mkdir_failed', __('Could not create directory'), $to . $filename); 
     590                                        return new WP_Error('mkdir_failed', __('Could not create directory.'), $to . $filename); 
    591591                        } 
    592592                        $result = copy_dir($from . $filename, $to . $filename); 
    593593                        if ( is_wp_error($result) ) 
  • wp-admin/includes/dashboard.php

     
    582582                        <?php echo get_avatar( $comment, 50 ); ?> 
    583583 
    584584                        <div class="dashboard-comment-wrap"> 
    585                         <h4 class="comment-meta"><?php printf( __( 'From %1$s on %2$s%3$s' ), '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link.' '.$comment_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?></h4> 
     585                        <h4 class="comment-meta"> 
     586                                <?php printf( /* translators: 1: comment author, 2: post link, 3: notification if the comment is pending */__( 'From %1$s on %2$s%3$s' ), 
     587                                        '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link.' '.$comment_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?> 
     588                        </h4> 
    586589 
    587590                        <?php 
    588591                        else : 
  • wp-admin/includes/class-wp-upgrader.php

     
    4343        function generic_strings() { 
    4444                $this->strings['bad_request'] = __('Invalid Data provided.'); 
    4545                $this->strings['fs_unavailable'] = __('Could not access filesystem.'); 
    46                 $this->strings['fs_error'] = __('Filesystem error'); 
     46                $this->strings['fs_error'] = __('Filesystem error.'); 
    4747                $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress Root directory.'); 
    4848                $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress Content directory (wp-content).'); 
    4949                $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress Plugin directory.'); 
     
    5454                $this->strings['installing_package'] = __('Installing the latest version&#8230;'); 
    5555                $this->strings['folder_exists'] = __('Destination folder already exists.'); 
    5656                $this->strings['mkdir_failed'] = __('Could not create directory.'); 
    57                 $this->strings['bad_package'] = __('Incompatible Archive'); 
     57                $this->strings['bad_package'] = __('Incompatible Archive.'); 
    5858 
    5959                $this->strings['maintenance_start'] = __('Enabling Maintenance mode&#8230;'); 
    6060                $this->strings['maintenance_end'] = __('Disabling Maintenance mode&#8230;'); 
     
    468468                $i = 1; 
    469469                foreach ( $plugins as $plugin ) { 
    470470 
    471                         $this->show_before = sprintf( '<h4>' . __('Updating plugin %1$d of %2$d...') . '</h4>', $i, $all ); 
     471                        $this->show_before = sprintf( '<h4>' . __('Updating plugin %1$d of %2$d&#8230;') . '</h4>', $i, $all ); 
    472472                        $i++; 
    473473 
    474474                        if ( !isset( $current->response[ $plugin ] ) ) { 
  • wp-admin/includes/theme.php

     
    7979                return new WP_Error('fs_unavailable', __('Could not access filesystem.')); 
    8080 
    8181        if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() ) 
    82                 return new WP_Error('fs_error', __('Filesystem error'), $wp_filesystem->errors); 
     82                return new WP_Error('fs_error', __('Filesystem error.'), $wp_filesystem->errors); 
    8383 
    8484        //Get the base plugin folder 
    8585        $themes_dir = $wp_filesystem->wp_themes_dir(); 
     
    9494        $deleted = $wp_filesystem->delete($theme_dir, true); 
    9595 
    9696        if ( ! $deleted ) 
    97                 return new WP_Error('could_not_remove_theme', sprintf(__('Could not fully remove the theme %s'), $template) ); 
     97                return new WP_Error('could_not_remove_theme', sprintf(__('Could not fully remove the theme %s.'), $template) ); 
    9898 
    9999        // Force refresh of theme update information 
    100100        delete_site_transient('update_themes'); 
  • wp-admin/includes/meta-boxes.php

     
    378378<input name="advanced_view" type="hidden" value="1" /> 
    379379<p class="meta-options"> 
    380380        <label for="comment_status" class="selectit"><input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /><?php _e('Allow Comments.') ?></label><br /> 
    381         <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /><?php printf( __('Allow <a href="%s" target="_blank">trackbacks and pingbacks</a> on this page.'),_x('http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments','Url to codex article on Managing Comments')); ?></label> 
     381        <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /><?php printf( __('Allow <a href="%s" target="_blank">trackbacks and pingbacks</a> on this page.'),__('http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments')); ?></label> 
    382382</p> 
    383383<?php 
    384384} 
     
    616616<fieldset><legend class="screen-reader-text"><span><?php _e('Target') ?></span></legend> 
    617617<p><label for="link_target_blank" class="selectit"> 
    618618<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> /> 
    619 <?php _e('<code>_blank</code> - new window or tab.'); ?></label></p> 
     619<?php _e('<code>_blank</code> &mdash; new window or tab.'); ?></label></p> 
    620620<p><label for="link_target_top" class="selectit"> 
    621621<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_top') ? 'checked="checked"' : ''); ?> /> 
    622 <?php _e('<code>_top</code> - current window or tab, with no frames.'); ?></label></p> 
     622<?php _e('<code>_top</code> &mdash; current window or tab, with no frames.'); ?></label></p> 
    623623<p><label for="link_target_none" class="selectit"> 
    624624<input id="link_target_none" type="radio" name="link_target" value="" <?php echo ( isset( $link->link_target ) && ($link->link_target == '') ? 'checked="checked"' : ''); ?> /> 
    625 <?php _e('<code>_none</code> - same window or tab.'); ?></label></p> 
     625<?php _e('<code>_none</code> &mdash; same window or tab.'); ?></label></p> 
    626626</fieldset> 
    627627<p><?php _e('Choose the target frame for your link.'); ?></p> 
    628628<?php 
  • wp-admin/includes/image-edit.php

     
    9999                <p><?php _e('Discard any changes and restore the original image.'); 
    100100 
    101101                if ( !defined('IMAGE_EDIT_OVERWRITE') || !IMAGE_EDIT_OVERWRITE ) 
    102                         _e(' Previously edited copies of the image will not be deleted.'); 
     102                        echo ' '.__('Previously edited copies of the image will not be deleted.'); 
    103103 
    104104                ?></p> 
    105105                <div class="imgedit-submit"> 
     
    118118                <a class="imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" href="#"><?php _e('(help)'); ?></a> 
    119119                <div class="imgedit-help"> 
    120120                <p><?php _e('The image can be cropped by clicking on it and dragging to select the desired part. While dragging the dimensions of the selection are displayed below.'); ?></p> 
    121                 <strong><?php _e('Keyboard shortcuts'); ?></strong> 
     121                <strong><?php _e('Keyboard Shortcuts'); ?></strong> 
    122122                <ul> 
    123123                <li><?php _e('Arrow: move by 10px'); ?></li> 
    124124                <li><?php _e('Shift + arrow: move by 1px'); ?></li> 
  • wp-admin/includes/template.php

     
    10631063                if ( $authors && count( $authors ) > 1 ) : 
    10641064                        $users_opt = array('include' => $authors, 'name' => 'post_author', 'class'=> 'authors', 'multi' => 1, 'echo' => 0); 
    10651065                        if ( $bulk ) 
    1066                                 $users_opt['show_option_none'] = __('- No Change -'); 
     1066                                $users_opt['show_option_none'] = __('&mdash; No Change &mdash;'); 
    10671067                        $authors_dropdown  = '<label>'; 
    10681068                        $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; 
    10691069                        $authors_dropdown .= wp_dropdown_users( $users_opt ); 
     
    11241124<?php 
    11251125        $dropdown_args = array('selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title'); 
    11261126        if ( $bulk ) 
    1127                 $dropdown_args['show_option_no_change'] =  __('- No Change -'); 
     1127                $dropdown_args['show_option_no_change'] =  __('&mdash; No Change &mdash;'); 
    11281128        $dropdown_args = apply_filters('quick_edit_dropdown_pages_args', $dropdown_args); 
    11291129        wp_dropdown_pages($dropdown_args); 
    11301130?> 
     
    11431143                        <span class="title"><?php _e( 'Template' ); ?></span> 
    11441144                        <select name="page_template"> 
    11451145<?php   if ( $bulk ) : ?> 
    1146                                 <option value="-1"><?php _e('- No Change -'); ?></option> 
     1146                                <option value="-1"><?php _e('&mdash; No Change &mdash;'); ?></option> 
    11471147<?php   endif; // $bulk ?> 
    11481148                                <option value="default"><?php _e( 'Default Template' ); ?></option> 
    11491149                                <?php page_template_dropdown() ?> 
     
    11651165                <label class="alignleft"> 
    11661166                        <span class="title"><?php _e( 'Comments' ); ?></span> 
    11671167                        <select name="comment_status"> 
    1168                                 <option value=""><?php _e('- No Change -'); ?></option> 
     1168                                <option value=""><?php _e('&mdash; No Change &mdash;'); ?></option> 
    11691169                                <option value="open"><?php _e('Allow'); ?></option> 
    11701170                                <option value="closed"><?php _e('Do not allow'); ?></option> 
    11711171                        </select> 
     
    11741174                <label class="alignright"> 
    11751175                        <span class="title"><?php _e( 'Pings' ); ?></span> 
    11761176                        <select name="ping_status"> 
    1177                                 <option value=""><?php _e('- No Change -'); ?></option> 
     1177                                <option value=""><?php _e('&mdash; No Change &mdash;'); ?></option> 
    11781178                                <option value="open"><?php _e('Allow'); ?></option> 
    11791179                                <option value="closed"><?php _e('Do not allow'); ?></option> 
    11801180                        </select> 
     
    12031203                                <span class="title"><?php _e( 'Status' ); ?></span> 
    12041204                                <select name="_status"> 
    12051205<?php if ( $bulk ) : ?> 
    1206                                         <option value="-1"><?php _e('- No Change -'); ?></option> 
     1206                                        <option value="-1"><?php _e('&mdash; No Change &mdash;'); ?></option> 
    12071207<?php endif; // $bulk ?> 
    12081208                                <?php if ( $can_publish ) : // Contributors only get "Unpublished" and "Pending Review" ?> 
    12091209                                        <option value="publish"><?php _e( 'Published' ); ?></option> 
     
    12241224                        <label class="alignright"> 
    12251225                                <span class="title"><?php _e( 'Sticky' ); ?></span> 
    12261226                                <select name="sticky"> 
    1227                                         <option value="-1"><?php _e( '- No Change -' ); ?></option> 
     1227                                        <option value="-1"><?php _e( '&mdash; No Change &mdash;' ); ?></option> 
    12281228                                        <option value="sticky"><?php _e( 'Sticky' ); ?></option> 
    12291229                                        <option value="unsticky"><?php _e( 'Not Sticky' ); ?></option> 
    12301230                                </select> 
     
    19631963                                $r .= "<td $attributes>$user_object->first_name $user_object->last_name</td>"; 
    19641964                                break; 
    19651965                        case 'email': 
    1966                                 $r .= "<td $attributes><a href='mailto:$email' title='" . sprintf( __('e-mail: %s' ), $email ) . "'>$email</a></td>"; 
     1966                                $r .= "<td $attributes><a href='mailto:$email' title='" . sprintf( __('E-mail: %s' ), $email ) . "'>$email</a></td>"; 
    19671967                                break; 
    19681968                        case 'role': 
    19691969                                $r .= "<td $attributes>$role_name</td>"; 
     
    21452145                        case 'comment': 
    21462146                                echo "<td $attributes>"; 
    21472147                                echo '<div id="submitted-on">'; 
    2148                                 printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url, get_comment_date( __('Y/m/d') ), get_comment_date( __( 'g:ia' ) ) ); 
     2148                                /* translators: 2: comment date, 3: comment time */ 
     2149                                printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url, 
     2150                                        /* translators: comment date format. See http://php.net/date */ get_comment_date( __('Y/m/d') ), 
     2151                                        /* translators: comment time format. See http://php.net/date */ get_comment_date( get_option( 'time_format' ) ) ); 
    21492152 
    21502153                                if ( $comment->comment_parent ) { 
    21512154                                        $parent = get_comment( $comment->comment_parent ); 
    21522155                                        $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); 
    21532156                                        $name = apply_filters( 'get_comment_author', $parent->comment_author ); // there's no API function for this 
    2154                                         printf( __( ' | In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name ); 
     2157                                        printf( ' | '.__( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name ); 
    21552158                                } 
    21562159 
    21572160                                echo '</div>'; 
     
    25432546        if ( $keys ) 
    25442547                natcasesort($keys); 
    25452548?> 
    2546 <p><strong><?php _e( 'Add new custom field:' ) ?></strong></p> 
     2549<p><strong><?php _e( 'Add New Custom Field:' ) ?></strong></p> 
    25472550<table id="newmeta"> 
    25482551<thead> 
    25492552<tr> 
     
    25572560<td id="newmetaleft" class="left"> 
    25582561<?php if ( $keys ) { ?> 
    25592562<select id="metakeyselect" name="metakeyselect" tabindex="7"> 
    2560 <option value="#NONE#"><?php _e( '- Select -' ); ?></option> 
     2563<option value="#NONE#"><?php _e( '&mdash; Select &mdash;' ); ?></option> 
    25612564<?php 
    25622565 
    25632566        foreach ( $keys as $key ) { 
  • wp-admin/includes/media.php

     
    819819function image_size_input_fields( $post, $check = '' ) { 
    820820 
    821821                // get a list of the actual pixel dimensions of each possible intermediate version of this image 
    822                 $size_names = array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full size')); 
     822                $size_names = array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full Size')); 
    823823 
    824824                if ( empty($check) ) 
    825825                        $check = get_user_setting('imgsize', 'medium'); 
     
    848848                        $html .= "<label for='{$css_id}'>$label</label>"; 
    849849                        // only show the dimensions if that choice is available 
    850850                        if ( $enabled ) 
    851                                 $html .= " <label for='{$css_id}' class='help'>" . sprintf( __("(%d&nbsp;&times;&nbsp;%d)"), $downsize[1], $downsize[2] ). "</label>"; 
     851                                $html .= " <label for='{$css_id}' class='help'>" . sprintf( "(%d&nbsp;&times;&nbsp;%d)", $downsize[1], $downsize[2] ). "</label>"; 
    852852 
    853853                        $html .= '</div>'; 
    854854 
     
    912912 
    913913                $form_fields['image_alt'] = array( 
    914914                        'value' => $alt, 
    915                         'label' => __('Alternate text'), 
     915                        'label' => __('Alternate Text'), 
    916916                        'helps' => __('Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;') 
    917917                ); 
    918918 
     
    12001200        $image_edit_button = ''; 
    12011201        if ( gd_edit_image_support( $post->post_mime_type ) ) { 
    12021202                $nonce = wp_create_nonce( "image_editor-$post->ID" ); 
    1203                 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit image' ) . "' /> <img src='images/wpspin_light.gif' class='imgedit-wait-spin' alt='' />"; 
     1203                $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <img src='images/wpspin_light.gif' class='imgedit-wait-spin' alt='' />"; 
    12041204        } 
    12051205 
    12061206        $attachment_url = get_permalink( $attachment_id ); 
     
    17721772        </th> 
    17731773        <td class="field"> 
    17741774                <select id="columns" name="columns"> 
    1775                         <option value="2"><?php _e('2'); ?></option> 
    1776                         <option value="3" selected="selected"><?php _e('3'); ?></option> 
    1777                         <option value="4"><?php _e('4'); ?></option> 
    1778                         <option value="5"><?php _e('5'); ?></option> 
    1779                         <option value="6"><?php _e('6'); ?></option> 
    1780                         <option value="7"><?php _e('7'); ?></option> 
    1781                         <option value="8"><?php _e('8'); ?></option> 
    1782                         <option value="9"><?php _e('9'); ?></option> 
     1775                        <option value="2">2</option> 
     1776                        <option value="3" selected="selected">3</option> 
     1777                        <option value="4">4</option> 
     1778                        <option value="5">5</option> 
     1779                        <option value="6">6</option> 
     1780                        <option value="7">7</option> 
     1781                        <option value="8">8</option> 
     1782                        <option value="9">9</option> 
    17831783                </select> 
    17841784        </td> 
    17851785        </tr> 
  • wp-admin/update.php

     
    156156                $submenu_file = 'theme-install.php'; 
    157157                require_once('admin-header.php'); 
    158158 
    159                 $title = sprintf( __('Installing theme: %s'), $api->name . ' ' . $api->version ); 
     159                $title = sprintf( __('Installing Theme: %s'), $api->name . ' ' . $api->version ); 
    160160                $nonce = 'install-theme_' . $theme; 
    161161                $url = 'update.php?action=install-theme&theme=' . $theme; 
    162162                $type = 'web'; //Install theme type, From Web or an Upload. 
  • wp-admin/comment.php

     
    132132</tr> 
    133133</table> 
    134134 
    135 <p><?php _e('Are you sure you want to do that?'); ?></p> 
     135<p><?php _e('Are you sure you want to do this?'); ?></p> 
    136136 
    137137<form action='comment.php' method='get'> 
    138138 
  • wp-admin/user-new.php

     
    208208        </tr> 
    209209<?php if ( apply_filters('show_password_fields', true) ) : ?> 
    210210        <tr class="form-field form-required"> 
    211                 <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php _e('(twice, required)'); ?></span></label></th> 
     211                <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(twice, required)'); ?></span></label></th> 
    212212                <td><input name="pass1" type="password" id="pass1" autocomplete="off" /> 
    213213                <br /> 
    214214                <input name="pass2" type="password" id="pass2" autocomplete="off" /> 
  • wp-admin/import/livejournal.php

     
    490490                update_option( 'ljapi_maxid',      $maxid ); 
    491491                update_option( 'ljapi_highest_id', $highest_id ); 
    492492 
    493                 echo '<p>' . __( ' Comment metadata downloaded successfully, proceeding with comment bodies...' ) . '</p>'; 
     493                echo '<p>' . __( 'Comment metadata downloaded successfully, proceeding with comment bodies...' ) . '</p>'; 
    494494 
    495495                return true; 
    496496        } 
  • wp-admin/import/mt.php

     
    5959                global $wpdb; 
    6060                $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID"); 
    6161?><select name="userselect[<?php echo $n; ?>]"> 
    62         <option value="#NONE#"><?php _e('- Select -') ?></option> 
     62        <option value="#NONE#"><?php _e('&mdash; Select &mdash;') ?></option> 
    6363        <?php 
    6464 
    6565 
     
    269269                         // Add tags or keywords 
    270270                        if ( 1 < strlen($post->post_keywords) ) { 
    271271                                // Keywords exist. 
    272                                 printf(__('<br />Adding tags <i>%s</i>...'), stripslashes($post->post_keywords)); 
     272                                printf('<br />'.__('Adding tags <em>%s</em>...'), stripslashes($post->post_keywords)); 
    273273                                wp_add_post_tags($post_id, $post->post_keywords); 
    274274                        } 
    275275                } 
  • wp-admin/import/blogger.php

     
    659659                        $this->save_vars(); 
    660660                } 
    661661 
    662                 $directions = __('All posts were imported with the current user as author. Use this form to move each Blogger user&#8217;s posts to a different WordPress user. You may <a href="users.php">add users</a> and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the &#8220;Restart&#8221; function below.'); 
     662                $directions = sprintf( __('All posts were imported with the current user as author. Use this form to move each Blogger user&#8217;s posts to a different WordPress user. You may <a href="%s">add users</a> and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the &#8220;Restart&#8221; function below.'), 'users.php' ); 
    663663                $heading = __('Author mapping'); 
    664664                $blogtitle = "{$blog['title']} ({$blog['host']})"; 
    665665                $mapthis = __('Blogger username'); 
  • wp-admin/import/greymatter.php

     
    4242<ul> 
    4343<li><?php _e('Parse gm-counter.cgi, gm-banlist.cgi, gm-cplog.cgi (you can make a CP log hack if you really feel like it, but I question the need of a CP log).') ?></li> 
    4444<li><?php _e('Import gm-templates.') ?></li> 
    45 <li><?php _e("Doesn't keep entries on top.")?></li> 
     45<li><?php _e("Doesn&#8217;t keep entries on top.")?></li> 
    4646</ul> 
    4747<p>&nbsp;</p> 
    4848 
  • wp-admin/import/rss.php

     
    139139 
    140140                                if (0 != count($categories)) 
    141141                                        wp_create_categories($categories, $post_id); 
    142                                 _e('Done !'); 
     142                                _e('Done!'); 
    143143                        } 
    144144                        echo '</li>'; 
    145145                } 
  • wp-admin/edit-form-advanced.php

     
    2727        __('Custom field updated.'), 
    2828        __('Custom field deleted.'), 
    2929        __('Post updated.'), 
     30        /* translators: %s: date and time of the revision */ 
    3031        isset($_GET['revision']) ? sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 
    3132        sprintf( __('Post published. <a href="%s">View post</a>'), get_permalink($post_ID) ), 
    3233        __('Post saved.'), 
    3334        sprintf( __('Post submitted. <a target="_blank" href="%s">Preview post</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ), 
    34         // translators: Publish box date format, see http://php.net/date - Same as in meta-boxes.php 
    35         sprintf( __('Post scheduled for: <b>%1$s</b>. <a target="_blank" href="%2$s">Preview post</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), 
     35        sprintf( __('Post scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview post</a>'), 
     36                // translators: Publish box date format, see http://php.net/date 
     37                date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), 
    3638        sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) 
    3739); 
    3840$messages['page'] = array( 
     
    4446        isset($_GET['revision']) ? sprintf( __('Page restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 
    4547        sprintf( __('Page published. <a href="%s">View page</a>'), get_permalink($post_ID) ), 
    4648        sprintf( __('Page submitted. <a target="_blank" href="%s">Preview page</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ), 
    47         // translators: Publish box date format, see http://php.net/date - Same as in meta-boxes.php 
    48         sprintf( __('Page scheduled for: <b>%1$s</b>. <a target="_blank" href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), 
     49        sprintf( __('Page scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), 
    4950        sprintf( __('Page draft updated. <a target="_blank" href="%s">Preview page</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) 
    5051); 
    5152 
     
    7576        if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) { 
    7677                foreach ( _wp_post_revision_fields() as $autosave_field => $_autosave_field ) { 
    7778                        if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) { 
    78                                 $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below.  <a href="%s">View the autosave</a>.' ), get_edit_post_link( $autosave->ID ) ); 
     79                                $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below.  <a href="%s">View the autosave</a>' ), get_edit_post_link( $autosave->ID ) ); 
    7980                                break; 
    8081                        } 
    8182                } 
  • wp-admin/menu.php

     
    6565$menu[15] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top', 'menu-links', 'div' ); 
    6666        $submenu['link-manager.php'][5] = array( __('Edit'), 'manage_links', 'link-manager.php' ); 
    6767        /* translators: add new links */ 
    68         $submenu['link-manager.php'][10] = array( _x('Add New', 'links'), 'manage_links', 'link-add.php' ); 
     68        $submenu['link-manager.php'][10] = array( _x('Add New', 'link'), 'manage_links', 'link-add.php' ); 
    6969        $submenu['link-manager.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-link-categories.php' ); 
    7070 
    7171$menu[20] = array( __('Pages'), 'edit_pages', 'edit.php?post_type=page', '', 'menu-top', 'menu-pages', 'div' ); 
     
    104104$menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top', 'menu-appearance', 'div' ); 
    105105        $submenu['themes.php'][5]  = array(__('Themes'), 'switch_themes', 'themes.php'); 
    106106        if ( !is_multisite() ) 
    107                 $submenu['themes.php'][10] = array(__('Editor'), 'edit_themes', 'theme-editor.php'); 
     107                $submenu['themes.php'][10] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php'); 
    108108        $submenu['themes.php'][15] = array(__('Add New Themes'), 'install_themes', 'theme-install.php'); 
    109109 
    110110$update_plugins = get_site_transient( 'update_plugins' ); 
     
    119119                /* translators: add new plugin */ 
    120120                $submenu['plugins.php'][10] = array(_x('Add New', 'plugin'), 'install_plugins', 'plugin-install.php'); 
    121121                if ( !is_multisite() ) 
    122                         $submenu['plugins.php'][15] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' ); 
     122                        $submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' ); 
    123123} 
    124124 
    125125if ( current_user_can('edit_users') ) 
     
    146146                $submenu['tools.php'][20] = array( __('Upgrade'), 'install_plugins',  'update-core.php'); 
    147147 
    148148$menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top', 'menu-settings', 'div' ); 
    149         $submenu['options-general.php'][10] = array(__('General'), 'manage_options', 'options-general.php'); 
     149        $submenu['options-general.php'][10] = array(_x('General', 'settings screen'), 'manage_options', 'options-general.php'); 
    150150        $submenu['options-general.php'][15] = array(__('Writing'), 'manage_options', 'options-writing.php'); 
    151151        $submenu['options-general.php'][20] = array(__('Reading'), 'manage_options', 'options-reading.php'); 
    152152        $submenu['options-general.php'][25] = array(__('Discussion'), 'manage_options', 'options-discussion.php'); 
  • wp-admin/options-discussion.php

     
    158158<table class="form-table"> 
    159159<tr valign="top"> 
    160160<th scope="row"><?php _e('Avatar Display') ?></th> 
    161 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar display') ?></span></legend> 
     161<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display') ?></span></legend> 
    162162<?php 
    163163        $yesorno = array(0 => __("Don&#8217;t show Avatars"), 1 => __('Show Avatars')); 
    164164        foreach ( $yesorno as $key => $value) { 
     
    173173<td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating') ?></span></legend> 
    174174 
    175175<?php 
    176 $ratings = array( 'G' => __('G &#8212; Suitable for all audiences'), 'PG' => __('PG &#8212; Possibly offensive, usually for audiences 13 and above'), 'R' => __('R &#8212; Intended for adult audiences above 17'), 'X' => __('X &#8212; Even more mature than above')); 
     176$ratings = array( 
     177        /* translators: Content suitability rating: http://bit.ly/89QxZA */ 
     178        'G' => __('G &#8212; Suitable for all audiences'), 
     179        /* translators: Content suitability rating: http://bit.ly/89QxZA */ 
     180        'PG' => __('PG &#8212; Possibly offensive, usually for audiences 13 and above'), 
     181        /* translators: Content suitability rating: http://bit.ly/89QxZA */ 
     182        'R' => __('R &#8212; Intended for adult audiences above 17'), 
     183        /* translators: Content suitability rating: http://bit.ly/89QxZA */ 
     184        'X' => __('X &#8212; Even more mature than above') 
     185); 
    177186foreach ($ratings as $key => $rating) : 
    178187        $selected = (get_option('avatar_rating') == $key) ? 'checked="checked"' : ''; 
    179188        echo "\n\t<label><input type='radio' name='avatar_rating' value='" . esc_attr($key) . "' $selected/> $rating</label><br />"; 
  • wp-admin/plugins.php

     
    183183                                        <ul class="ul-disc"> 
    184184                                                <?php 
    185185                                                foreach ( $plugin_info as $plugin ) 
    186                                                         echo '<li>', sprintf(__('<strong>%s</strong> by <em>%s</em>'), $plugin['Name'], $plugin['Author']), '</li>'; 
     186                                                        /* translators: 1: plugin name, 2: plugin author */ 
     187                                                        echo '<li>', sprintf(__('<strong>%1$s</strong> by <em>%2$s</em>'), $plugin['Name'], $plugin['Author']), '</li>'; 
    187188                                                ?> 
    188189                                        </ul> 
    189190                                <p><?php _e('Are you sure you wish to delete these files?') ?></p> 
  • wp-admin/edit.php

     
    171171 
    172172<?php 
    173173if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?> 
    174 <div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit post'); ?></a></p></div> 
     174<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div> 
    175175<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']); 
    176176endif; ?> 
    177177 
  • wp-admin/options.php

     
    6565        } 
    6666 
    6767        if ( !isset( $whitelist_options[ $option_page ] ) ) 
    68                 wp_die( __( 'Error! Options page not found.' ) ); 
     68                wp_die( __( 'Error: options page not found.' ) ); 
    6969 
    7070        if ( 'options' == $option_page ) { 
    7171                $options = explode(',', stripslashes( $_POST[ 'page_options' ] )); 
  • wp-admin/press-this.php

     
    531531        </div> 
    532532        <div class="posting"> 
    533533                <?php if ( isset($posted) && intval($posted) ) { $post_ID = intval($posted); ?> 
    534                 <div id="message" class="updated"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a onclick="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $post_ID ); ?>" onclick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit post'); ?></a> | <a href="#" onclick="window.close();"><?php _e('Close Window'); ?></a></p></div> 
     534                <div id="message" class="updated"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a onclick="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $post_ID ); ?>" onclick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit Post'); ?></a> | <a href="#" onclick="window.close();"><?php _e('Close Window'); ?></a></p></div> 
    535535                <?php } ?> 
    536536 
    537537                <div id="titlediv"> 
  • wp-admin/user-edit.php

     
    232232<?php endif; //!IS_PROFILE_PAGE ?> 
    233233 
    234234<tr> 
    235         <th><label for="first_name"><?php _e('First name') ?></label></th> 
     235        <th><label for="first_name"><?php _e('First Name') ?></label></th> 
    236236        <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr($profileuser->first_name) ?>" class="regular-text" /></td> 
    237237</tr> 
    238238 
    239239<tr> 
    240         <th><label for="last_name"><?php _e('Last name') ?></label></th> 
     240        <th><label for="last_name"><?php _e('Last Name') ?></label></th> 
    241241        <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr($profileuser->last_name) ?>" class="regular-text" /></td> 
    242242</tr> 
    243243 
  • wp-admin/options-reading.php

     
    4141        </label> 
    4242        </p> 
    4343<ul> 
    44         <li><?php printf("<label for='page_on_front'>" . __('Front page: %s') . "</label>", wp_dropdown_pages( array( 'name' => 'page_on_front', 'echo' => 0, 'show_option_none' => __('- Select -'), 'selected' => get_option('page_on_front')  ) ) ); ?></li> 
    45         <li><?php printf("<label for='page_for_posts'>". __('Posts page: %s') . "</label>", wp_dropdown_pages( array( 'name' => 'page_for_posts','echo' => 0, 'show_option_none' => __('- Select -'), 'selected' => get_option('page_for_posts') ) ) ); ?></li> 
     44        <li><?php printf("<label for='page_on_front'>" . __('Front page: %s') . "</label>", wp_dropdown_pages( array( 'name' => 'page_on_front', 'echo' => 0, 'show_option_none' => __('&mdash; Select &mdash;'), 'selected' => get_option('page_on_front')  ) ) ); ?></li> 
     45        <li><?php printf("<label for='page_for_posts'>". __('Posts page: %s') . "</label>", wp_dropdown_pages( array( 'name' => 'page_for_posts','echo' => 0, 'show_option_none' => __('&mdash; Select &mdash;'), 'selected' => get_option('page_for_posts') ) ) ); ?></li> 
    4646</ul> 
    4747<?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?> 
    4848<div id="front-page-warning" class="updated"> 
  • wp-admin/link-manager.php

     
    7272 
    7373<div class="wrap nosubsub"> 
    7474<?php screen_icon(); ?> 
    75 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php 
     75<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php esc_html_x('Add New', 'link'); ?></a> <?php 
    7676if ( isset($_GET['s']) && $_GET['s'] ) 
    7777        printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( stripslashes($_GET['s']) ) ); ?> 
    7878</h2> 
  • wp-admin/widgets.php

     
    287287                        } 
    288288                        $selected = ''; 
    289289                        echo "\t\t<select name='{$sbname}_position'>\n"; 
    290                         echo "\t\t<option value=''>" . __('-- select --') . "</option>\n"; 
     290                        echo "\t\t<option value=''>" . __('&mdash; Select &mdash;') . "</option>\n"; 
    291291                        for ( $i = 1; $i <= $j; $i++ ) { 
    292292                                if ( in_array($widget_id, $sidebars_widgets[$sbname], true) ) 
    293293                                        $selected = selected( $i, $key + 1, false ); 
  • wp-admin/options-permalink.php

     
    218218 
    219219<table class="form-table"> 
    220220        <tr> 
    221                 <th><label for="category_base"><?php _e('Category base'); ?></label></th> 
     221                <th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></th> 
    222222                <td><?php if ( is_multisite() && !is_subdomain_install() && $current_site->domain.$current_site->path == $current_blog->domain.$current_blog->path ) { echo "/blog"; $category_base = str_replace( "/blog", "", $category_base ); }?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td> 
    223223        </tr> 
    224224        <tr> 
  • wp-admin/maint/repair.php

     
    1919<?php 
    2020 
    2121if ( !defined('WP_ALLOW_REPAIR') ) { 
    22         _e("<p>To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file.  Once this line is added to your config, reload this page.</p><code>define('WP_ALLOW_REPAIR', true);</code>"); 
     22        echo '<p>'.__('To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file.  Once this line is added to your config, reload this page.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>"; 
    2323} elseif ( isset($_GET['repair']) ) { 
    2424        $problems = array(); 
    2525        check_admin_referer('repair_db'); 
     
    6666        } 
    6767 
    6868        if ( !empty($problems) ) { 
    69                 printf(__('<p>Some database problems could not be repaired. Please copy-and-paste the following list of errors to the <a href="%s">WordPress support forums</a> to get additional assistance.</p>'), 'http://wordpress.org/support/forum/3'); 
     69                printf('<p>'.__('Some database problems could not be repaired. Please copy-and-paste the following list of errors to the <a href="%s">WordPress support forums</a> to get additional assistance.').'</p>', 'http://wordpress.org/support/forum/3'); 
    7070                $problem_output = array(); 
    7171                foreach ( $problems as $table => $problem ) 
    7272                        $problem_output[] = "$table: $problem"; 
    7373                echo '<textarea name="errors" id="errors" rows="20" cols="60">' . format_to_edit(implode("\n", $problem_output)) . '</textarea>'; 
    7474        } else { 
    75                 _e("<p>Repairs complete.  Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.</p><code>define('WP_ALLOW_REPAIR', true);</code>"); 
     75                echo '<p>'.__('Repairs complete.  Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>"; 
    7676        } 
    7777} else { 
    7878        if ( isset($_GET['referrer']) && 'is_blog_installed' == $_GET['referrer'] ) 
  • wp-admin/themes.php

     
    126126                else if ( empty($update['package']) ) 
    127127                        printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s Details</a> <em>automatic upgrade unavailable for this theme</em>.') . '</strong></p>', $theme_name, $details_url, $update['new_version']); 
    128128                else 
    129                         printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s Details</a> or <a href="%4$s" %5$s >upgrade automatically</a>.') . '</strong></p>', $theme_name, $details_url, $update['new_version'], $update_url, $update_onclick ); 
     129                        printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s Details</a> or <a href="%4$s" %5$s>upgrade automatically</a>.') . '</strong></p>', $theme_name, $details_url, $update['new_version'], $update_url, $update_onclick ); 
    130130        } 
    131131} 
    132132