Make WordPress Core

Changeset 19807


Ignore:
Timestamp:
02/01/2012 02:47:49 PM (12 years ago)
Author:
nacin
Message:

Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/screen.php

    r19702 r19807  
    812812                        echo '<label for="wp_welcome_panel-hide">';
    813813                        echo '<input type="checkbox" id="wp_welcome_panel-hide"' . checked( (bool) $welcome_checked, true, false ) . ' />';
    814                         echo __( 'Welcome' ) . "</label>\n";
     814                        echo _x( 'Welcome', 'Welcome panel' ) . "</label>\n";
    815815                    }
    816816                ?>
  • trunk/wp-admin/install.php

    r19794 r19807  
    168168      display_header();
    169169?>
    170 <h1><?php _e( 'Welcome' ); ?></h1>
     170<h1><?php _ex( 'Welcome', 'hello' ); ?></h1>
    171171<p><?php printf( __( 'Welcome to the famous five minute WordPress installation process! You may want to browse the <a href="%s">ReadMe documentation</a> at your leisure. Otherwise, just fill in the information below and you&#8217;ll be on your way to using the most extendable and powerful personal publishing platform in the world.' ), '../readme.html' ); ?></p>
    172172
Note: See TracChangeset for help on using the changeset viewer.