Twenty Twelve: standardize label used for Web Fonts option. Props jkudish, fixes #21487.

git-svn-id: http://core.svn.wordpress.org/trunk@21448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
lancewillett
2012-08-05 23:58:12 +00:00
parent fba5363fce
commit bbd8dfb103

View File

@@ -142,7 +142,7 @@ class Twenty_Twelve_Options {
?>
<label for="enable-fonts">
<input type="checkbox" name="<?php echo $this->option_key; ?>[enable_fonts]" id="enable-fonts" <?php checked( $options['enable_fonts'] ); ?> />
<?php _e( 'Yes, I&#8217;d like to enable the gorgeous, open-source <em>Open Sans</em> typeface.', 'twentytwelve' ); ?>
<?php _e( 'Enable the Open Sans typeface.', 'twentytwelve' ); ?>
</label>
<?php
}
@@ -225,7 +225,7 @@ class Twenty_Twelve_Options {
) );
$wp_customize->add_control( $this->option_key . '_enable_fonts', array(
'label' => __( 'Enable Web Fonts', 'twentytwelve' ),
'label' => __( 'Enable the Open Sans typeface.', 'twentytwelve' ),
'section' => $this->option_key . '_enable_fonts',
'settings' => $this->option_key . '[enable_fonts]',
'type' => 'checkbox',