Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-12-02 04:31:01 +00:00
parent ba2c5fd001
commit 15ceab2647
5 changed files with 13 additions and 13 deletions

View File

@ -86,7 +86,7 @@ class Custom_Background {
'content' =>
'<p>' . __( 'You can customize the look of your site without touching any of your theme&#8217;s code by using a custom background. Your background can be an image or a color.' ) . '</p>' .
'<p>' . __( 'To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' .
'<p>' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '</p>' .
'<p>' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Background Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '</p>' .
'<p>' . __( 'Don&#8217;t forget to click on the Save Changes button when you are finished.' ) . '</p>'
) );

View File

@ -28,7 +28,7 @@ else
add_screen_option('layout_columns', array('max' => 4, 'default' => 2) );
$help = '<p>' . __( 'Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the top bar.' ) . '</p>';
$help = '<p>' . __( 'Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the upper corner.' ) . '</p>';
get_current_screen()->add_help_tab( array(
'id' => 'overview',

View File

@ -67,7 +67,7 @@ if ( ! is_multisite() ) {
}
$options_help .= '<p>' . __('UTC means Coordinated Universal Time.') . '</p>' .
'<p>' . __('Remember to click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>';
'<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>';
get_current_screen()->add_help_tab( array(
'id' => 'overview',

View File

@ -20,7 +20,7 @@ get_current_screen()->add_help_tab( array(
'title' => __('Overview'),
'content' => '<p>' . __('Permalinks are the permanent URLs to your individual pages and blog posts, as well as your category and tag archives. A permalink is the web address used to link to your content. The URL to each post should be permanent, and never change &#8212; hence the name permalink.') . '</p>' .
'<p>' . __('This screen allows you to choose your default permalink structure. You can choose from common settings or create custom URL structures.') . '</p>' .
'<p>' . __('When making changes, you must click the Save Changes button at the bottom of the screen for the new settings to take effect.') . '</p>',
'<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>',
) );
get_current_screen()->add_help_tab( array(

View File

@ -48,15 +48,15 @@ function twentyeleven_theme_options_init() {
);
// Register our settings field group
add_settings_section(
add_settings_section(
'general', // Unique identifier for the settings section
'', // Section title (we don't want one)
'__return_false', // Section callback (we don't want anything)
'__return_false', // Section callback (we don't want anything)
'theme_options' // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page()
);
// Register our individual settings fields
add_settings_field(
add_settings_field(
'color_scheme', // Unique identifier for the field for this section
__( 'Color Scheme', 'twentyeleven' ), // Setting field label
'twentyeleven_settings_field_color_scheme', // Function that renders the settings field
@ -64,8 +64,8 @@ function twentyeleven_theme_options_init() {
'general' // Settings section. Same as the first argument in the add_settings_section() above
);
add_settings_field( 'link_color', __( 'Link Color', 'twentyeleven' ), 'twentyeleven_settings_field_link_color', 'theme_options', 'general' );
add_settings_field( 'layout', __( 'Layout', 'twentyeleven' ), 'twentyeleven_settings_field_layout', 'theme_options', 'general' );
add_settings_field( 'link_color', __( 'Link Color', 'twentyeleven' ), 'twentyeleven_settings_field_link_color', 'theme_options', 'general' );
add_settings_field( 'layout', __( 'Default Layout', 'twentyeleven' ), 'twentyeleven_settings_field_layout', 'theme_options', 'general' );
}
add_action( 'admin_init', 'twentyeleven_theme_options_init' );
@ -118,7 +118,7 @@ function twentyeleven_theme_options_help() {
get_current_screen()->add_help_tab( array(
'title' => __( 'Overview', 'twentyeleven' ),
'id' => 'theme-options-help',
'content' =>
'content' =>
'<p>' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '</p>' .
'<ol>' .
'<li>' . __( '<strong>Color Scheme</strong>: You can choose a color palette of "Light" (light background with dark text) or "Dark" (dark background with light text) for your site.', 'twentyeleven' ) . '</li>' .
@ -237,7 +237,7 @@ function twentyeleven_get_theme_options() {
/**
* Renders the Color Scheme setting field.
*
*
* @since Twenty Eleven 1.3
*/
function twentyeleven_settings_field_color_scheme() {
@ -261,7 +261,7 @@ function twentyeleven_settings_field_color_scheme() {
/**
* Renders the Link Color setting field.
*
*
* @since Twenty Eleven 1.3
*/
function twentyeleven_settings_field_link_color() {
@ -278,7 +278,7 @@ function twentyeleven_settings_field_link_color() {
/**
* Renders the Layout setting field.
*
*
* @since Twenty Eleven 1.3
*/
function twentyeleven_settings_field_layout() {