Changeset 8211
- Timestamp:
- 06/28/2008 04:27:21 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r8181 r8211 88 88 <p><?php _e('After you install and enable Gears most of WordPress’ images, scripts, and CSS files will be stored locally on your computer. This speeds up page load time.'); ?></p> 89 89 <p><strong><?php _e('Don’t install on a public or shared computer.'); ?></strong></p> <div class="submit"><button onclick="window.location = 'http://gears.google.com/?action=install&return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button> 90 <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"> Cancel</button></div>90 <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div> 91 91 </div> 92 92 … … 97 97 <p><strong><?php _e('However if this is a public or shared computer, Gears should not be enabled.'); ?></strong></p> 98 98 <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button> 99 <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"> Cancel</button></div>99 <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div> 100 100 </div> 101 101 -
trunk/wp-admin/index.php
r8198 r8211 92 92 } 93 93 94 $total_comments = sprintf( __ ( '%1$s total'), number_format_i18n($num_comm['total_comments']) );95 $approved_comments = sprintf( __ ( '%1$s approved'), number_format_i18n($num_comm['approved']) );96 $spam_comments = sprintf( __ ( '%1$s spam'), number_format_i18n($num_comm['spam']) );97 $moderated_comments = sprintf( __ ( '%1$s awaiting moderation'), number_format_i18n($num_comm['awaiting_moderation']) );94 $total_comments = sprintf( __ngettext( '%1$s total', '%1$s total', $num_comm['total_comments'] ), number_format_i18n($num_comm['total_comments']) ); 95 $approved_comments = sprintf( __ngettext( '%1$s approved', '%1$s approved', $num_comm['approved'] ), number_format_i18n($num_comm['approved']) ); 96 $spam_comments = sprintf( __ngettext( '%1$s spam', '%1$s spam', $num_comm['spam'] ), number_format_i18n($num_comm['spam']) ); 97 $moderated_comments = sprintf( __ngettext( '%1$s awaiting moderation', '%1$s awaiting moderation', $num_comm['awaiting_moderation'] ), number_format_i18n($num_comm['awaiting_moderation']) ); 98 98 99 99 if( current_user_can( 'moderate_comments' ) ) { … … 103 103 } 104 104 105 $comm_text = sprintf( __ ( 'You have %1$s comments, %2$s, %3$s and %4$s.'), $total_comments, $approved_comments, $spam_comments, $moderated_comments );105 $comm_text = sprintf( __ngettext( 'You have %1$s comment, %2$s, %3$s and %4$s.', 'You have %1$s comments, %2$s, %3$s and %4$s.', $num_comm['total_comments'] ), $total_comments, $approved_comments, $spam_comments, $moderated_comments ); 106 106 107 107 $post_type_text = implode(', ', $post_type_texts); -
trunk/wp-admin/press-this.php
r8200 r8211 91 91 <body class="press-this"> 92 92 93 <div id="message" class="updated fade"><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="post.php?action=edit&post=<?php echo $post_ID; ?>" onclick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit post'); ?></a> | <a href="#" onclick="window.close();"> Close Window</a></p></div>93 <div id="message" class="updated fade"><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="post.php?action=edit&post=<?php echo $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> 94 94 95 95 <div id="footer"> … … 138 138 139 139 <p><input type="hidden" name="this_photo" value="<?php echo $image; ?>" id="this_photo" /> 140 <a href="#" class="select"><img src="<?php echo $image; ?>" width="475" alt=" Click to insert." title="Click to insert." /></a></p>141 142 <p id="options"><a href="#" class="select"> Insert Image</a> | <a href="#" class="cancel">Cancel</a></p>140 <a href="#" class="select"><img src="<?php echo $image; ?>" width="475" alt="<?php echo attribute_escape(__('Click to insert.')); ?>" title="<?php echo attribute_escape(__('Click to insert.')); ?>" /></a></p> 141 142 <p id="options"><a href="#" class="select"><?php _e('Insert Image'); ?></a> | <a href="#" class="cancel"><?php _e('Cancel'); ?></a></p> 143 143 <?php die; 144 144 } … … 165 165 </div> 166 166 167 <p id="options"><a href="#" class="select"> Insert Image</a> | <a href="#" class="cancel">Cancel</a></p>167 <p id="options"><a href="#" class="select"><?php _e('Insert Image'); ?></a> | <a href="#" class="cancel"><?php _e('Cancel'); ?></a></p> 168 168 <?php die; 169 169 } … … 438 438 <?php } ?> 439 439 jQuery('#extra_fields').show(); 440 jQuery('#extra_fields').before('<h2 id="waiting"><img src="images/loading.gif" alt="" /> Loading...</h2>');440 jQuery('#extra_fields').before('<h2 id="waiting"><img src="images/loading.gif" alt="" /><?php echo js_escape( __( 'Loading...' ) ); ?></h2>'); 441 441 jQuery('#extra_fields').load('<?php echo clean_url($_SERVER['PHP_SELF']).'/?ajax=photo&u='.attribute_escape($url); ?>'); 442 442 jQuery.ajax({ … … 519 519 <div id="tagchecklist"></div> 520 520 </div> 521 <label for="post_status" id="post_status"><input type="radio" name="post_status" value="publish" checked="checked" id="published" /><?php _e('Published'); ?> <input type="radio" name="post_status" value="draft" id="unpublished" /> <?php _e('Unpublished'); ?></label> 521 <div id="post_status"> 522 <input type="radio" name="post_status" value="publish" checked="checked" id="published" /> <label for="published"><?php _e('Published'); ?></label> 523 <input type="radio" name="post_status" value="draft" id="unpublished" /> <label for="unpublished"><?php _e('Unpublished'); ?></label> 524 </div> 522 525 <p class="submit"> 523 526 <input type="submit" value="<?php _e('Publish') ?>" onclick="document.getElementById('photo_saving').style.display = '';"/> -
trunk/wp-settings.php
r8209 r8211 98 98 99 99 if ( version_compare( '4.3', phpversion(), '>' ) ) { 100 die( /*WP_I18N_OLD_PHP*/'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.3.'/*/WP_I18N_OLD_PHP*/);100 die( sprintf( /*WP_I18N_OLD_PHP*/'Your server is running PHP version %s but WordPress requires at least 4.3.'/*/WP_I18N_OLD_PHP*/, php_version() ) ); 101 101 } 102 102
Note: See TracChangeset
for help on using the changeset viewer.