Add missing textdomain to twentyeleven contextual help. Props pavelevap. see #17744
git-svn-id: http://svn.automattic.com/wordpress/trunk@18235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
856c2742ca
commit
a5dc19aa31
|
@ -92,16 +92,16 @@ function twentyeleven_theme_options_add_page() {
|
||||||
if ( ! $theme_page )
|
if ( ! $theme_page )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$help = '<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:' ) . '</p>' .
|
$help = '<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>' .
|
'<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.' ) . '</li>' .
|
'<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>' .
|
||||||
'<li>' . __( '<strong>Link Color</strong>: You can choose the color used for text links on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the "Select a Color" button to pick from a color wheel.' ) . '</li>' .
|
'<li>' . __( '<strong>Link Color</strong>: You can choose the color used for text links on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the "Select a Color" button to pick from a color wheel.', 'twentyeleven' ) . '</li>' .
|
||||||
'<li>' . __( '<strong>Default Layout</strong>: You can choose if you want your site’s default layout to have a sidebar on the left, the right, or not at all.' ) . '</li>' .
|
'<li>' . __( '<strong>Default Layout</strong>: You can choose if you want your site’s default layout to have a sidebar on the left, the right, or not at all.', 'twentyeleven' ) . '</li>' .
|
||||||
'</ol>' .
|
'</ol>' .
|
||||||
'<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.' ) . '</p>' .
|
'<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>' .
|
||||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
'<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' .
|
||||||
'<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>' ) . '</p>' .
|
'<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .
|
||||||
'<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>';
|
'<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>';
|
||||||
|
|
||||||
add_contextual_help( $theme_page, $help );
|
add_contextual_help( $theme_page, $help );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue