Twenty Fifteen: updating customizer label text for more clarity.

Props iamtakashi, fixes #30545.


Built from https://develop.svn.wordpress.org/trunk@30741


git-svn-id: http://core.svn.wordpress.org/trunk@30731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ian Stewart 2014-12-04 22:57:22 +00:00
parent f5efcf295b
commit a83fdf7b17
3 changed files with 17 additions and 25 deletions

View File

@ -49,7 +49,7 @@ function twentyfifteen_customize_register( $wp_customize ) {
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_textcolor', array( $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_textcolor', array(
'label' => esc_html__( 'Header and Sidebar Text Color', 'twentyfifteen' ), 'label' => esc_html__( 'Header and Sidebar Text Color', 'twentyfifteen' ),
'description' => esc_html__( 'Only applied to the sidebar on wider screens. On small screens the sidebar will become the header.', 'twentyfifteen' ), 'description' => esc_html__( 'Applied to the header on small screens and the sidebar on wide screens.', 'twentyfifteen' ),
'section' => 'colors', 'section' => 'colors',
) ) ); ) ) );
@ -65,12 +65,12 @@ function twentyfifteen_customize_register( $wp_customize ) {
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'header_background_color', array( $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'header_background_color', array(
'label' => esc_html__( 'Header and Sidebar Background Color', 'twentyfifteen' ), 'label' => esc_html__( 'Header and Sidebar Background Color', 'twentyfifteen' ),
'description' => esc_html__( 'Only applied to the sidebar on wider screens. On small screens the sidebar will become the header.', 'twentyfifteen' ), 'description' => esc_html__( 'Applied to the header on small screens and the sidebar on wide screens.', 'twentyfifteen' ),
'section' => 'colors', 'section' => 'colors',
) ) ); ) ) );
// Add an additional description to the header image section. // Add an additional description to the header image section.
$wp_customize->get_section( 'header_image' )->description = esc_html__( 'Only applied to the sidebar on wide screens. On small screens it will be applied to the header.', 'twentyfifteen' ); $wp_customize->get_section( 'header_image' )->description = esc_html__( 'Applied to the header on small screens and the sidebar on wide screens.', 'twentyfifteen' );
} }
add_action( 'customize_register', 'twentyfifteen_customize_register', 11 ); add_action( 'customize_register', 'twentyfifteen_customize_register', 11 );

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Twenty Fifteen 1.0\n" "Project-Id-Version: Twenty Fifteen 1.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyfifteen\n" "Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyfifteen\n"
"POT-Creation-Date: 2014-11-25 16:39:33+00:00\n" "POT-Creation-Date: 2014-12-04 12:59:53+00:00\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -20,15 +20,15 @@ msgstr ""
msgid "It looks like nothing was found at this location. Maybe try a search?" msgid "It looks like nothing was found at this location. Maybe try a search?"
msgstr "" msgstr ""
#: archive.php:50 index.php:46 search.php:38 #: archive.php:49 index.php:46 search.php:38
msgid "Previous page" msgid "Previous page"
msgstr "" msgstr ""
#: archive.php:51 index.php:47 search.php:39 #: archive.php:50 index.php:47 search.php:39
msgid "Next page" msgid "Next page"
msgstr "" msgstr ""
#: archive.php:52 content-link.php:40 content-page.php:29 content.php:42 #: archive.php:51 content-link.php:40 content-page.php:29 content.php:42
#: image.php:63 index.php:48 search.php:40 #: image.php:63 index.php:48 search.php:40
msgid "Page" msgid "Page"
msgstr "" msgstr ""
@ -53,7 +53,7 @@ msgid "Comments are closed."
msgstr "" msgstr ""
#. translators: %s: Name of current post #. translators: %s: Name of current post
#: content-link.php:31 content.php:33 inc/template-tags.php:235 #: content-link.php:31 content.php:33 inc/template-tags.php:237
msgid "Continue reading %s" msgid "Continue reading %s"
msgstr "" msgstr ""
@ -178,43 +178,35 @@ msgstr ""
msgid "Header and Sidebar Text Color" msgid "Header and Sidebar Text Color"
msgstr "" msgstr ""
#: inc/customizer.php:52 inc/customizer.php:68 #: inc/customizer.php:52 inc/customizer.php:68 inc/customizer.php:73
msgid "" msgid "Applied to the header on small screens and the sidebar on wide screens."
"Only applied to the sidebar on wider screens. On small screens the sidebar "
"will become the header."
msgstr "" msgstr ""
#: inc/customizer.php:67 #: inc/customizer.php:67
msgid "Header and Sidebar Background Color" msgid "Header and Sidebar Background Color"
msgstr "" msgstr ""
#: inc/customizer.php:73 #: inc/customizer.php:97
msgid ""
"Only applied to the sidebar on wide screens. On small screens it will be "
"applied to the header."
msgstr ""
#: inc/customizer.php:96
msgid "Default" msgid "Default"
msgstr "" msgstr ""
#: inc/customizer.php:107 #: inc/customizer.php:108
msgid "Dark" msgid "Dark"
msgstr "" msgstr ""
#: inc/customizer.php:118 #: inc/customizer.php:119
msgid "Yellow" msgid "Yellow"
msgstr "" msgstr ""
#: inc/customizer.php:129 #: inc/customizer.php:130
msgid "Pink" msgid "Pink"
msgstr "" msgstr ""
#: inc/customizer.php:140 #: inc/customizer.php:141
msgid "Purple" msgid "Purple"
msgstr "" msgstr ""
#: inc/customizer.php:151 #: inc/customizer.php:152
msgid "Blue" msgid "Blue"
msgstr "" msgstr ""

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.1-beta2-30740'; $wp_version = '4.1-beta2-30741';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.