WordPress.org

Make WordPress Core

Ticket #7189: press-this.php.patch

File press-this.php.patch, 1.4 KB (added by Txanny, 6 years ago)

Gettext patch for press-this.php

  • wp-admin/press-this.php

     
    432432                                break; 
    433433                        case 'photo' : 
    434434                                set_menu('photo'); 
    435                                 set_title('Post'); 
     435                                set_title('<?php _e('Post') ?>'); 
    436436                                <?php if($selection) { ?> 
    437437                                        set_editor("<?php echo $selection; ?>"); 
    438438                                <?php } ?> 
     
    518518                        <p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /></p> 
    519519                        <div id="tagchecklist"></div> 
    520520                </div> 
    521                 <label for="post_status" id="post_status"><input type="radio" name="post_status" value="publish" checked="checked" id="published" />Published <input type="radio" name="post_status" value="draft" id="unpubplished" /> Unpublished</label> 
     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="unpubplished" /> <?php _e('Unpublished'); ?></label> 
    522522                <p class="submit">          
    523523                        <input type="submit" value="<?php _e('Publish') ?>" onclick="document.getElementById('photo_saving').style.display = '';"/> 
    524524                        <img src="images/loading-publish.gif" alt="" id="photo_saving" style="display:none;"/>