Standardise case of some strings closes #8125

This commit is contained in:
Claudio Sanches 2015-05-27 12:53:04 -03:00
parent 989dd5d88e
commit 5c2b14d89f
4 changed files with 13 additions and 13 deletions

View File

@ -32,14 +32,14 @@ if ( ! defined( 'ABSPATH' ) ) {
<label>
<span class="title"><?php _e( 'Price', 'woocommerce' ); ?></span>
<span class="input-text-wrap">
<input type="text" name="_regular_price" class="text regular_price" placeholder="<?php _e( 'Regular price', 'woocommerce' ); ?>" value="">
<input type="text" name="_regular_price" class="text regular_price" placeholder="<?php _e( 'Regular Price', 'woocommerce' ); ?>" value="">
</span>
</label>
<br class="clear" />
<label>
<span class="title"><?php _e( 'Sale', 'woocommerce' ); ?></span>
<span class="input-text-wrap">
<input type="text" name="_sale_price" class="text sale_price" placeholder="<?php _e( 'Sale price', 'woocommerce' ); ?>" value="">
<input type="text" name="_sale_price" class="text sale_price" placeholder="<?php _e( 'Sale Price', 'woocommerce' ); ?>" value="">
</span>
</label>
<br class="clear" />

View File

@ -412,12 +412,12 @@ class WC_Post_types {
*/
public static function register_post_status() {
register_post_status( 'wc-pending', array(
'label' => _x( 'Pending payment', 'Order status', 'woocommerce' ),
'label' => _x( 'Pending Payment', 'Order status', 'woocommerce' ),
'public' => false,
'exclude_from_search' => false,
'show_in_admin_all_list' => true,
'show_in_admin_status_list' => true,
'label_count' => _n_noop( 'Pending payment <span class="count">(%s)</span>', 'Pending payment <span class="count">(%s)</span>', 'woocommerce' )
'label_count' => _n_noop( 'Pending Payment <span class="count">(%s)</span>', 'Pending Payment <span class="count">(%s)</span>', 'woocommerce' )
) );
register_post_status( 'wc-processing', array(
'label' => _x( 'Processing', 'Order status', 'woocommerce' ),
@ -428,12 +428,12 @@ class WC_Post_types {
'label_count' => _n_noop( 'Processing <span class="count">(%s)</span>', 'Processing <span class="count">(%s)</span>', 'woocommerce' )
) );
register_post_status( 'wc-on-hold', array(
'label' => _x( 'On hold', 'Order status', 'woocommerce' ),
'label' => _x( 'On Hold', 'Order status', 'woocommerce' ),
'public' => false,
'exclude_from_search' => false,
'show_in_admin_all_list' => true,
'show_in_admin_status_list' => true,
'label_count' => _n_noop( 'On hold <span class="count">(%s)</span>', 'On hold <span class="count">(%s)</span>', 'woocommerce' )
'label_count' => _n_noop( 'On Hold <span class="count">(%s)</span>', 'On Hold <span class="count">(%s)</span>', 'woocommerce' )
) );
register_post_status( 'wc-completed', array(
'label' => _x( 'Completed', 'Order status', 'woocommerce' ),

View File

@ -148,35 +148,35 @@ class WC_Email_Customer_Invoice extends WC_Email {
function init_form_fields() {
$this->form_fields = array(
'subject' => array(
'title' => __( 'Email subject', 'woocommerce' ),
'title' => __( 'Email Subject', 'woocommerce' ),
'type' => 'text',
'description' => sprintf( __( 'Defaults to <code>%s</code>', 'woocommerce' ), $this->subject ),
'placeholder' => '',
'default' => ''
),
'heading' => array(
'title' => __( 'Email heading', 'woocommerce' ),
'title' => __( 'Email Heading', 'woocommerce' ),
'type' => 'text',
'description' => sprintf( __( 'Defaults to <code>%s</code>', 'woocommerce' ), $this->heading ),
'placeholder' => '',
'default' => ''
),
'subject_paid' => array(
'title' => __( 'Email subject (paid)', 'woocommerce' ),
'title' => __( 'Email Subject (paid)', 'woocommerce' ),
'type' => 'text',
'description' => sprintf( __( 'Defaults to <code>%s</code>', 'woocommerce' ), $this->subject_paid ),
'placeholder' => '',
'default' => ''
),
'heading_paid' => array(
'title' => __( 'Email heading (paid)', 'woocommerce' ),
'title' => __( 'Email Heading (paid)', 'woocommerce' ),
'type' => 'text',
'description' => sprintf( __( 'Defaults to <code>%s</code>', 'woocommerce' ), $this->heading_paid ),
'placeholder' => '',
'default' => ''
),
'email_type' => array(
'title' => __( 'Email type', 'woocommerce' ),
'title' => __( 'Email Type', 'woocommerce' ),
'type' => 'select',
'description' => __( 'Choose which format of email to send.', 'woocommerce' ),
'default' => 'html',

View File

@ -479,14 +479,14 @@ class WC_Email extends WC_Settings_API {
'default' => 'yes'
),
'subject' => array(
'title' => __( 'Email subject', 'woocommerce' ),
'title' => __( 'Email Subject', 'woocommerce' ),
'type' => 'text',
'description' => sprintf( __( 'Defaults to <code>%s</code>', 'woocommerce' ), $this->subject ),
'placeholder' => '',
'default' => ''
),
'heading' => array(
'title' => __( 'Email heading', 'woocommerce' ),
'title' => __( 'Email Heading', 'woocommerce' ),
'type' => 'text',
'description' => sprintf( __( 'Defaults to <code>%s</code>', 'woocommerce' ), $this->heading ),
'placeholder' => '',