Changeset 12789
- Timestamp:
- 01/21/2010 09:37:43 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r12736 r12789 29 29 die('-1'); 30 30 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() ); 32 32 $x = new WP_Ajax_Response( array( 33 33 'what' => 'autosave', … … 920 920 /* translators: draft saved date format, see http://php.net/date */ 921 921 $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 ) ); 923 923 924 924 $supplemental = array(); -
trunk/wp-admin/comment.php
r12402 r12789 133 133 </table> 134 134 135 <p><?php _e('Are you sure you want to do th at?'); ?></p>135 <p><?php _e('Are you sure you want to do this?'); ?></p> 136 136 137 137 <form action='comment.php' method='get'> -
trunk/wp-admin/edit-comments.php
r12715 r12789 178 178 //, number_format_i18n($num_comments->spam) ), "<span class='spam-comment-count'>" . number_format_i18n($num_comments->spam) . "</span>") 179 179 $stati = array( 180 'all' => _n _noop('All', 'All'), // singular not used180 'all' => _nx_noop('All', 'All', 'comments'), // singular not used 181 181 '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>'), 182 182 'approved' => _n_noop('Approved', 'Approved'), // singular not used -
trunk/wp-admin/edit-form-advanced.php
r12751 r12789 28 28 __('Custom field deleted.'), 29 29 __('Post updated.'), 30 /* translators: %s: date and time of the revision */ 30 31 isset($_GET['revision']) ? sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 31 32 sprintf( __('Post published. <a href="%s">View post</a>'), get_permalink($post_ID) ), 32 33 __('Post saved.'), 33 34 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) ), 36 38 sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) 37 39 ); … … 45 47 sprintf( __('Page published. <a href="%s">View page</a>'), get_permalink($post_ID) ), 46 48 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) ), 49 50 sprintf( __('Page draft updated. <a target="_blank" href="%s">Preview page</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) 50 51 ); … … 76 77 foreach ( _wp_post_revision_fields() as $autosave_field => $_autosave_field ) { 77 78 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 ) ); 79 80 break; 80 81 } -
trunk/wp-admin/edit.php
r12783 r12789 172 172 <?php 173 173 if ( 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> 175 175 <?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']); 176 176 endif; ?> -
trunk/wp-admin/import/blogger.php
r12752 r12789 660 660 } 661 661 662 $directions = __('All posts were imported with the current user as author. Use this form to move each Blogger user’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 “Restart” function below.');662 $directions = sprintf( __('All posts were imported with the current user as author. Use this form to move each Blogger user’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 “Restart” function below.'), 'users.php' ); 663 663 $heading = __('Author mapping'); 664 664 $blogtitle = "{$blog['title']} ({$blog['host']})"; -
trunk/wp-admin/import/greymatter.php
r12513 r12789 43 43 <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> 44 44 <li><?php _e('Import gm-templates.') ?></li> 45 <li><?php _e("Doesn 't keep entries on top.")?></li>45 <li><?php _e("Doesn’t keep entries on top.")?></li> 46 46 </ul> 47 47 <p> </p> -
trunk/wp-admin/import/livejournal.php
r12533 r12789 491 491 update_option( 'ljapi_highest_id', $highest_id ); 492 492 493 echo '<p>' . __( ' 493 echo '<p>' . __( 'Comment metadata downloaded successfully, proceeding with comment bodies...' ) . '</p>'; 494 494 495 495 return true; -
trunk/wp-admin/import/mt.php
r12513 r12789 60 60 $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID"); 61 61 ?><select name="userselect[<?php echo $n; ?>]"> 62 <option value="#NONE#"><?php _e(' - Select -') ?></option>62 <option value="#NONE#"><?php _e('— Select —') ?></option> 63 63 <?php 64 64 … … 270 270 if ( 1 < strlen($post->post_keywords) ) { 271 271 // 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)); 273 273 wp_add_post_tags($post_id, $post->post_keywords); 274 274 } -
trunk/wp-admin/import/rss.php
r12104 r12789 140 140 if (0 != count($categories)) 141 141 wp_create_categories($categories, $post_id); 142 _e('Done 142 _e('Done!'); 143 143 } 144 144 echo '</li>'; -
trunk/wp-admin/includes/class-wp-upgrader.php
r12752 r12789 44 44 $this->strings['bad_request'] = __('Invalid Data provided.'); 45 45 $this->strings['fs_unavailable'] = __('Could not access filesystem.'); 46 $this->strings['fs_error'] = __('Filesystem error ');46 $this->strings['fs_error'] = __('Filesystem error.'); 47 47 $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress Root directory.'); 48 48 $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress Content directory (wp-content).'); … … 55 55 $this->strings['folder_exists'] = __('Destination folder already exists.'); 56 56 $this->strings['mkdir_failed'] = __('Could not create directory.'); 57 $this->strings['bad_package'] = __('Incompatible Archive ');57 $this->strings['bad_package'] = __('Incompatible Archive.'); 58 58 59 59 $this->strings['maintenance_start'] = __('Enabling Maintenance mode…'); … … 469 469 foreach ( $plugins as $plugin ) { 470 470 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…') . '</h4>', $i, $all ); 472 472 $i++; 473 473 -
trunk/wp-admin/includes/dashboard.php
r12783 r12789 583 583 584 584 <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> 586 589 587 590 <?php -
trunk/wp-admin/includes/file.php
r12752 r12789 453 453 //WARNING: The file is not automatically deleted, The script must unlink() the file. 454 454 if ( ! $url ) 455 return new WP_Error('http_no_url', __('Invalid URL Provided '));455 return new WP_Error('http_no_url', __('Invalid URL Provided.')); 456 456 457 457 $tmpfname = wp_tempnam($url); 458 458 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.')); 460 460 461 461 $handle = @fopen($tmpfname, 'wb'); 462 462 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.')); 464 464 465 465 $response = wp_remote_get($url, array('timeout' => 300)); … … 513 513 // Is the archive valid? 514 514 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)); 516 516 517 517 if ( 0 == count($archive_files) ) 518 return new WP_Error('empty_archive', __('Empty archive '));518 return new WP_Error('empty_archive', __('Empty archive.')); 519 519 520 520 $path = explode('/', untrailingslashit($to)); … … 525 525 $tmppath = implode('/', array_slice($path, 0, $i) ); 526 526 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); 528 528 } 529 529 break; //Exit main for loop … … 543 543 $tmppath = $to . implode('/', array_slice($path, 0, $i) ); 544 544 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); 546 546 } 547 547 break; //Exit main for loop … … 552 552 if ( ! $file['folder'] ) { 553 553 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']); 555 555 } 556 556 } … … 582 582 $wp_filesystem->chmod($to . $filename, 0644); 583 583 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); 585 585 } 586 586 $wp_filesystem->chmod($to . $filename, FS_CHMOD_FILE); … … 588 588 if ( !$wp_filesystem->is_dir($to . $filename) ) { 589 589 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); 591 591 } 592 592 $result = copy_dir($from . $filename, $to . $filename); -
trunk/wp-admin/includes/image-edit.php
r12733 r12789 100 100 101 101 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.'); 103 103 104 104 ?></p> … … 119 119 <div class="imgedit-help"> 120 120 <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> 122 122 <ul> 123 123 <li><?php _e('Arrow: move by 10px'); ?></li> -
trunk/wp-admin/includes/media.php
r12733 r12789 820 820 821 821 // 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')); 823 823 824 824 if ( empty($check) ) … … 849 849 // only show the dimensions if that choice is available 850 850 if ( $enabled ) 851 $html .= " <label for='{$css_id}' class='help'>" . sprintf( __("(%d × %d)"), $downsize[1], $downsize[2] ). "</label>";851 $html .= " <label for='{$css_id}' class='help'>" . sprintf( "(%d × %d)", $downsize[1], $downsize[2] ). "</label>"; 852 852 853 853 $html .= '</div>'; … … 913 913 $form_fields['image_alt'] = array( 914 914 'value' => $alt, 915 'label' => __('Alternate text'),915 'label' => __('Alternate Text'), 916 916 'helps' => __('Alt text for the image, e.g. “The Mona Lisa”') 917 917 ); … … 1201 1201 if ( gd_edit_image_support( $post->post_mime_type ) ) { 1202 1202 $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='' />"; 1204 1204 } 1205 1205 … … 1773 1773 <td class="field"> 1774 1774 <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> 1783 1783 </select> 1784 1784 </td> -
trunk/wp-admin/includes/meta-boxes.php
r12680 r12789 379 379 <p class="meta-options"> 380 380 <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 ManagingComments')); ?></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> 382 382 </p> 383 383 <?php … … 617 617 <p><label for="link_target_blank" class="selectit"> 618 618 <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> — new window or tab.'); ?></label></p> 620 620 <p><label for="link_target_top" class="selectit"> 621 621 <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> — current window or tab, with no frames.'); ?></label></p> 623 623 <p><label for="link_target_none" class="selectit"> 624 624 <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> — same window or tab.'); ?></label></p> 626 626 </fieldset> 627 627 <p><?php _e('Choose the target frame for your link.'); ?></p> -
trunk/wp-admin/includes/plugin-install.php
r12752 r12789 216 216 ?> 217 217 <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> 219 219 <form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>"> 220 220 <?php wp_nonce_field( 'plugin-upload') ?> … … 504 504 </p> 505 505 <?php endif; ?> 506 <h2 class="mainheader"><?php _e('FYI') ?></h2>506 <h2 class="mainheader"><?php /* translators: For Your Information */ _e('FYI') ?></h2> 507 507 <ul> 508 508 <?php if ( ! empty($api->version) ) : ?> -
trunk/wp-admin/includes/plugin.php
r12752 r12789 437 437 438 438 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); 440 440 441 441 //Get the base plugin folder … … 465 465 466 466 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)) ); 468 468 469 469 // Force refresh of plugin update information -
trunk/wp-admin/includes/template.php
r12783 r12789 1064 1064 $users_opt = array('include' => $authors, 'name' => 'post_author', 'class'=> 'authors', 'multi' => 1, 'echo' => 0); 1065 1065 if ( $bulk ) 1066 $users_opt['show_option_none'] = __(' - No Change -');1066 $users_opt['show_option_none'] = __('— No Change —'); 1067 1067 $authors_dropdown = '<label>'; 1068 1068 $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; … … 1125 1125 $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'); 1126 1126 if ( $bulk ) 1127 $dropdown_args['show_option_no_change'] = __(' - No Change -');1127 $dropdown_args['show_option_no_change'] = __('— No Change —'); 1128 1128 $dropdown_args = apply_filters('quick_edit_dropdown_pages_args', $dropdown_args); 1129 1129 wp_dropdown_pages($dropdown_args); … … 1144 1144 <select name="page_template"> 1145 1145 <?php if ( $bulk ) : ?> 1146 <option value="-1"><?php _e(' - No Change -'); ?></option>1146 <option value="-1"><?php _e('— No Change —'); ?></option> 1147 1147 <?php endif; // $bulk ?> 1148 1148 <option value="default"><?php _e( 'Default Template' ); ?></option> … … 1166 1166 <span class="title"><?php _e( 'Comments' ); ?></span> 1167 1167 <select name="comment_status"> 1168 <option value=""><?php _e(' - No Change -'); ?></option>1168 <option value=""><?php _e('— No Change —'); ?></option> 1169 1169 <option value="open"><?php _e('Allow'); ?></option> 1170 1170 <option value="closed"><?php _e('Do not allow'); ?></option> … … 1175 1175 <span class="title"><?php _e( 'Pings' ); ?></span> 1176 1176 <select name="ping_status"> 1177 <option value=""><?php _e(' - No Change -'); ?></option>1177 <option value=""><?php _e('— No Change —'); ?></option> 1178 1178 <option value="open"><?php _e('Allow'); ?></option> 1179 1179 <option value="closed"><?php _e('Do not allow'); ?></option> … … 1204 1204 <select name="_status"> 1205 1205 <?php if ( $bulk ) : ?> 1206 <option value="-1"><?php _e(' - No Change -'); ?></option>1206 <option value="-1"><?php _e('— No Change —'); ?></option> 1207 1207 <?php endif; // $bulk ?> 1208 1208 <?php if ( $can_publish ) : // Contributors only get "Unpublished" and "Pending Review" ?> … … 1225 1225 <span class="title"><?php _e( 'Sticky' ); ?></span> 1226 1226 <select name="sticky"> 1227 <option value="-1"><?php _e( ' - No Change -' ); ?></option>1227 <option value="-1"><?php _e( '— No Change —' ); ?></option> 1228 1228 <option value="sticky"><?php _e( 'Sticky' ); ?></option> 1229 1229 <option value="unsticky"><?php _e( 'Not Sticky' ); ?></option> … … 1965 1965 break; 1966 1966 case 'email': 1967 $r .= "<td $attributes><a href='mailto:$email' title='" . sprintf( __(' e-mail: %s' ), $email ) . "'>$email</a></td>";1967 $r .= "<td $attributes><a href='mailto:$email' title='" . sprintf( __('E-mail: %s' ), $email ) . "'>$email</a></td>"; 1968 1968 break; 1969 1969 case 'role': … … 2147 2147 echo "<td $attributes>"; 2148 2148 echo '<div id="submitted-on">'; 2149 printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url, get_comment_date( __('Y/m/d') ), get_comment_date( __( 'g:ia' ) ) ); 2149 /* translators: 2: comment date, 3: comment time */ 2150 printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url, 2151 /* translators: comment date format. See http://php.net/date */ get_comment_date( __('Y/m/d') ), 2152 /* translators: comment time format. See http://php.net/date */ get_comment_date( get_option( 'time_format' ) ) ); 2150 2153 2151 2154 if ( $comment->comment_parent ) { … … 2153 2156 $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); 2154 2157 $name = apply_filters( 'get_comment_author', $parent->comment_author ); // there's no API function for this 2155 printf( __( ' |In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name );2158 printf( ' | '.__( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name ); 2156 2159 } 2157 2160 … … 2545 2548 natcasesort($keys); 2546 2549 ?> 2547 <p><strong><?php _e( 'Add new custom field:' ) ?></strong></p>2550 <p><strong><?php _e( 'Add New Custom Field:' ) ?></strong></p> 2548 2551 <table id="newmeta"> 2549 2552 <thead> … … 2559 2562 <?php if ( $keys ) { ?> 2560 2563 <select id="metakeyselect" name="metakeyselect" tabindex="7"> 2561 <option value="#NONE#"><?php _e( ' - Select -' ); ?></option>2564 <option value="#NONE#"><?php _e( '— Select —' ); ?></option> 2562 2565 <?php 2563 2566 -
trunk/wp-admin/includes/theme.php
r12755 r12789 80 80 81 81 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); 83 83 84 84 //Get the base plugin folder … … 95 95 96 96 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) ); 98 98 99 99 // Force refresh of theme update information -
trunk/wp-admin/link-manager.php
r12546 r12789 73 73 <div class="wrap nosubsub"> 74 74 <?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> <?php75 <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 76 76 if ( isset($_GET['s']) && $_GET['s'] ) 77 77 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( stripslashes($_GET['s']) ) ); ?> -
trunk/wp-admin/maint/repair.php
r12788 r12789 20 20 21 21 if ( !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>"; 23 23 } elseif ( isset($_GET['repair']) ) { 24 24 $problems = array(); … … 67 67 68 68 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'); 70 70 $problem_output = array(); 71 71 foreach ( $problems as $table => $problem ) … … 73 73 echo '<textarea name="errors" id="errors" rows="20" cols="60">' . format_to_edit(implode("\n", $problem_output)) . '</textarea>'; 74 74 } 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>"; 76 76 } 77 77 } else { -
trunk/wp-admin/menu.php
r12786 r12789 66 66 $submenu['link-manager.php'][5] = array( __('Edit'), 'manage_links', 'link-manager.php' ); 67 67 /* translators: add new links */ 68 $submenu['link-manager.php'][10] = array( _x('Add New', 'link s'), 'manage_links', 'link-add.php' );68 $submenu['link-manager.php'][10] = array( _x('Add New', 'link'), 'manage_links', 'link-add.php' ); 69 69 $submenu['link-manager.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-link-categories.php' ); 70 70 … … 105 105 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 106 106 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'); 108 108 $submenu['themes.php'][15] = array(__('Add New Themes'), 'install_themes', 'theme-install.php'); 109 109 … … 120 120 $submenu['plugins.php'][10] = array(_x('Add New', 'plugin'), 'install_plugins', 'plugin-install.php'); 121 121 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' ); 123 123 } 124 124 … … 147 147 148 148 $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'); 150 150 $submenu['options-general.php'][15] = array(__('Writing'), 'manage_options', 'options-writing.php'); 151 151 $submenu['options-general.php'][20] = array(__('Reading'), 'manage_options', 'options-reading.php'); -
trunk/wp-admin/options-discussion.php
r12712 r12789 159 159 <tr valign="top"> 160 160 <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> 162 162 <?php 163 163 $yesorno = array(0 => __("Don’t show Avatars"), 1 => __('Show Avatars')); … … 174 174 175 175 <?php 176 $ratings = array( 'G' => __('G — Suitable for all audiences'), 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), 'R' => __('R — Intended for adult audiences above 17'), 'X' => __('X — Even more mature than above')); 176 $ratings = array( 177 /* translators: Content suitability rating: http://bit.ly/89QxZA */ 178 'G' => __('G — Suitable for all audiences'), 179 /* translators: Content suitability rating: http://bit.ly/89QxZA */ 180 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), 181 /* translators: Content suitability rating: http://bit.ly/89QxZA */ 182 'R' => __('R — Intended for adult audiences above 17'), 183 /* translators: Content suitability rating: http://bit.ly/89QxZA */ 184 'X' => __('X — Even more mature than above') 185 ); 177 186 foreach ($ratings as $key => $rating) : 178 187 $selected = (get_option('avatar_rating') == $key) ? 'checked="checked"' : ''; -
trunk/wp-admin/options-permalink.php
r12758 r12789 219 219 <table class="form-table"> 220 220 <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> 222 222 <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> 223 223 </tr> -
trunk/wp-admin/options-reading.php
r12657 r12789 42 42 </p> 43 43 <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' => __('— 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> 46 46 </ul> 47 47 <?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?> -
trunk/wp-admin/options.php
r12753 r12789 66 66 67 67 if ( !isset( $whitelist_options[ $option_page ] ) ) 68 wp_die( __( 'Error ! Options page not found.' ) );68 wp_die( __( 'Error: options page not found.' ) ); 69 69 70 70 if ( 'options' == $option_page ) { -
trunk/wp-admin/plugins.php
r12753 r12789 184 184 <?php 185 185 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>'; 187 188 ?> 188 189 </ul> -
trunk/wp-admin/press-this.php
r12752 r12789 532 532 <div class="posting"> 533 533 <?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> 535 535 <?php } ?> 536 536 -
trunk/wp-admin/themes.php
r12755 r12789 127 127 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']); 128 128 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 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 ); 130 130 } 131 131 } -
trunk/wp-admin/update.php
r12752 r12789 157 157 require_once('admin-header.php'); 158 158 159 $title = sprintf( __('Installing theme: %s'), $api->name . ' ' . $api->version );159 $title = sprintf( __('Installing Theme: %s'), $api->name . ' ' . $api->version ); 160 160 $nonce = 'install-theme_' . $theme; 161 161 $url = 'update.php?action=install-theme&theme=' . $theme; -
trunk/wp-admin/user-edit.php
r12752 r12789 233 233 234 234 <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> 236 236 <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr($profileuser->first_name) ?>" class="regular-text" /></td> 237 237 </tr> 238 238 239 239 <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> 241 241 <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr($profileuser->last_name) ?>" class="regular-text" /></td> 242 242 </tr> -
trunk/wp-admin/user-new.php
r12778 r12789 209 209 <?php if ( apply_filters('show_password_fields', true) ) : ?> 210 210 <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> 212 212 <td><input name="pass1" type="password" id="pass1" autocomplete="off" /> 213 213 <br /> -
trunk/wp-admin/widgets.php
r12728 r12789 288 288 $selected = ''; 289 289 echo "\t\t<select name='{$sbname}_position'>\n"; 290 echo "\t\t<option value=''>" . __(' -- select --') . "</option>\n";290 echo "\t\t<option value=''>" . __('— Select —') . "</option>\n"; 291 291 for ( $i = 1; $i <= $j; $i++ ) { 292 292 if ( in_array($widget_id, $sidebars_widgets[$sbname], true) ) -
trunk/wp-includes/comment-template.php
r12680 r12789 963 963 964 964 if ( post_password_required() ) { 965 echo __('Enter your password to view comments ');965 echo __('Enter your password to view comments.'); 966 966 return; 967 967 } … … 1283 1283 <?php endif; ?> 1284 1284 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)'),' ','') ?></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)'),' ','' ); 1289 ?> 1290 </div> 1286 1291 1287 1292 <?php comment_text() ?> -
trunk/wp-includes/default-widgets.php
r12733 r12789 407 407 <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> 408 408 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); ?> /> <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); ?> /> <label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs'); ?></label></p> 410 410 <?php 411 411 } -
trunk/wp-includes/feed-atom-comments.php
r12598 r12789 17 17 <title type="text"><?php 18 18 if ( is_singular() ) 19 printf(ent2ncr(__('Comments on :%s')), get_the_title_rss());19 printf(ent2ncr(__('Comments on %s')), get_the_title_rss()); 20 20 elseif ( is_search() ) 21 21 printf(ent2ncr(__('Comments for %1$s searching on %2$s')), get_bloginfo_rss( 'name' ), esc_attr(get_search_query())); -
trunk/wp-includes/formatting.php
r12733 r12789 1771 1771 $mins = 1; 1772 1772 } 1773 /* translators: min=minute */ 1773 1774 $since = sprintf(_n('%s min', '%s mins', $mins), $mins); 1774 1775 } else if (($diff <= 86400) && ($diff > 3600)) { -
trunk/wp-includes/functions.php
r12741 r12789 1642 1642 $hook = 'do_feed_' . $feed; 1643 1643 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)); 1645 1645 wp_die($message); 1646 1646 } -
trunk/wp-includes/js/tinymce/langs/wp-langs.php
r11245 r12789 40 40 }, 41 41 contextmenu:{ 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') ) . '"42 align:"' . mce_escape( /* translators: alignment */ __('Alignment') ) . '", 43 left:"' . mce_escape( /* translators: alignment */ __('Left') ) . '", 44 center:"' . mce_escape( /* translators: alignment */ __('Center') ) . '", 45 right:"' . mce_escape( /* translators: alignment */ __('Right') ) . '", 46 full:"' . mce_escape( /* translators: alignment */ __('Full') ) . '" 47 47 }, 48 48 insertdatetime:{ 49 date_fmt:"' . mce_escape( __('%Y-%m-%d') ) . '",50 time_fmt:"' . mce_escape( __('%H:%M:%S') ) . '",49 date_fmt:"' . mce_escape( /* translators: year, month, date */ __('%Y-%m-%d') ) . '", 50 time_fmt:"' . mce_escape( /* translators: hours, minutes, seconds */ __('%H:%M:%S') ) . '", 51 51 insertdate_desc:"' . mce_escape( __('Insert date') ) . '", 52 52 inserttime_desc:"' . mce_escape( __('Insert time') ) . '", … … 176 176 }, 177 177 pagebreak:{ 178 desc:"' . mce_escape( __('Insert page break.') ) . '"178 desc:"' . mce_escape( __('Insert Page Break') ) . '" 179 179 }}}); 180 180 … … 203 203 underline_desc:"' . mce_escape( __('Underline') ) . '", 204 204 striketrough_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)",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)", 209 209 bullist_desc:"' . mce_escape( __('Unordered list') ) . ' (Alt+Shift+U)", 210 210 numlist_desc:"' . mce_escape( __('Ordered list') ) . ' (Alt+Shift+O)", … … 337 337 starttime:"' . mce_escape( __('Start time') ) . '", 338 338 endtime:"' . mce_escape( __('End time') ) . '", 339 href:"' . mce_escape( __(' Href') ) . '",339 href:"' . mce_escape( __('href') ) . '", 340 340 qtsrcchokespeed:"' . mce_escape( __('Choke speed') ) . '", 341 341 target:"' . mce_escape( __('Target') ) . '", … … 405 405 tinyMCE.addI18n("' . $language . '.wordpress",{ 406 406 wp_adv_desc:"' . mce_escape( __('Show/Hide Kitchen Sink') ) . ' (Alt+Shift+Z)", 407 wp_more_desc:"' . mce_escape( __('Insert More tag') ) . ' (Alt+Shift+T)",407 wp_more_desc:"' . mce_escape( __('Insert More Tag') ) . ' (Alt+Shift+T)", 408 408 wp_page_desc:"' . mce_escape( __('Insert Page break') ) . ' (Alt+Shift+P)", 409 409 wp_help_desc:"' . mce_escape( __('Help') ) . ' (Alt+Shift+H)", -
trunk/wp-includes/js/tinymce/wp-mce-help.php
r11182 r12789 211 211 if ( ! tinymce.isWebKit ) 212 212 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('Head er1') ?></td></tr>"+214 "<tr><th>2</th><td><?php _e('Head er 2') ?></td><th>3</th><td><?php _e('Header3') ?></td></tr>"+215 "<tr><th>4</th><td><?php _e('Head er 4') ?></td><th>5</th><td><?php _e('Header5') ?></td></tr>"+216 "<tr><th>6</th><td><?php _e('Head er6') ?></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>") 217 217 </script> 218 218 </table> -
trunk/wp-includes/link-template.php
r12783 r12789 608 608 $link = __('Edit This'); 609 609 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>'; 611 611 echo $before . apply_filters( 'edit_tag_link', $link, $tag->term_id ) . $after; 612 612 } … … 713 713 $link = __('Edit This'); 714 714 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>'; 716 716 echo $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after; 717 717 } … … 842 842 $link = __('Edit This'); 843 843 844 $link = '<a href="' . get_edit_bookmark_link( $link ) . '" title="' . __( 'Edit link' ) . '">' . $link . '</a>';844 $link = '<a href="' . get_edit_bookmark_link( $link ) . '" title="' . __( 'Edit Link' ) . '">' . $link . '</a>'; 845 845 echo $before . apply_filters( 'edit_bookmark_link', $link, $bookmark->link_id ) . $after; 846 846 } -
trunk/wp-includes/locale.php
r10774 r12789 106 106 function init() { 107 107 // 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'); 115 115 116 116 // The first letter of each day. The _%day%_initial suffix is a hack to make 117 117 // 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'); 125 125 126 126 foreach ($this->weekday_initial as $weekday_ => $weekday_initial_) { … … 128 128 } 129 129 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'); 138 138 139 139 // 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'); 152 152 153 153 // Abbreviations for each month. Uses the same hack as above to get around the 154 154 // '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'); 167 167 168 168 foreach ($this->month_abbrev as $month_ => $month_abbrev_) {
Note: See TracChangeset
for help on using the changeset viewer.