Make WordPress Core


Ignore:
Timestamp:
11/17/2013 03:20:38 AM (13 years ago)
Author:
SergeyBiryukov
Message:

PHPDoc and i18n fixes for dashboard widgets.

props dimadin for initial patch.
see #25824.

File:
1 edited

Legend:

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

    r26231 r26241  
    100100    $error_msg = false;
    101101    if ( ! wp_verify_nonce( $nonce, 'add-post' ) )
    102         $error_msg = 'Unable to submit this form, please refresh and try again.';
     102        $error_msg = __( 'Unable to submit this form, please refresh and try again.' );
    103103
    104104    if ( ! current_user_can( 'edit_posts' ) )
    105         $error_msg = "Oops, you don't have access to add new drafts.";
     105        $error_msg = __( 'Oops, you don’t have access to add new drafts.' );
    106106
    107107    if ( $error_msg )
Note: See TracChangeset for help on using the changeset viewer.