Merge pull request #565 from jjoeris/master
Complete Formal Translation for german, and several bugfixes of not translatable strings
This commit is contained in:
commit
2370a8d957
|
@ -795,7 +795,7 @@ $woocommerce_settings['tax'] = apply_filters('woocommerce_tax_settings', array(
|
||||||
'id' => 'woocommerce_tax_classes',
|
'id' => 'woocommerce_tax_classes',
|
||||||
'css' => 'width:100%; height: 75px;',
|
'css' => 'width:100%; height: 75px;',
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'std' => "Reduced Rate\nZero Rate"
|
'std' => sprintf( __( 'Reduced Rate%sZero Rate', 'woocommerce' ), PHP_EOL )
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -15,7 +15,7 @@ class WC_BACS extends WC_Payment_Gateway {
|
||||||
$this->id = 'bacs';
|
$this->id = 'bacs';
|
||||||
$this->icon = apply_filters('woocommerce_bacs_icon', '');
|
$this->icon = apply_filters('woocommerce_bacs_icon', '');
|
||||||
$this->has_fields = false;
|
$this->has_fields = false;
|
||||||
|
$this->method_title = __( 'Bacs', 'woocommerce' );
|
||||||
// Load the form fields.
|
// Load the form fields.
|
||||||
$this->init_form_fields();
|
$this->init_form_fields();
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@ class WC_Cheque extends WC_Payment_Gateway {
|
||||||
$this->id = 'cheque';
|
$this->id = 'cheque';
|
||||||
$this->icon = apply_filters('woocommerce_cheque_icon', '');
|
$this->icon = apply_filters('woocommerce_cheque_icon', '');
|
||||||
$this->has_fields = false;
|
$this->has_fields = false;
|
||||||
|
$this->method_title = __( 'Cheque', 'woocommerce' );
|
||||||
|
|
||||||
// Load the form fields.
|
// Load the form fields.
|
||||||
$this->init_form_fields();
|
$this->init_form_fields();
|
||||||
|
@ -56,7 +57,7 @@ class WC_Cheque extends WC_Payment_Gateway {
|
||||||
'title' => __( 'Customer Message', 'woocommerce' ),
|
'title' => __( 'Customer Message', 'woocommerce' ),
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'description' => __( 'Let the customer know the payee and where they should be sending the cheque to and that their order won\'t be shipping until you receive it.', 'woocommerce' ),
|
'description' => __( 'Let the customer know the payee and where they should be sending the cheque to and that their order won\'t be shipping until you receive it.', 'woocommerce' ),
|
||||||
'default' => 'Please send your cheque to Store Name, Store Street, Store Town, Store State / County, Store Postcode.'
|
'default' => __( 'Please send your cheque to Store Name, Store Street, Store Town, Store State / County, Store Postcode.', 'woocommerce' )
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ class WC_Paypal extends WC_Payment_Gateway {
|
||||||
$this->has_fields = false;
|
$this->has_fields = false;
|
||||||
$this->liveurl = 'https://www.paypal.com/webscr';
|
$this->liveurl = 'https://www.paypal.com/webscr';
|
||||||
$this->testurl = 'https://www.sandbox.paypal.com/webscr';
|
$this->testurl = 'https://www.sandbox.paypal.com/webscr';
|
||||||
|
$this->method_title = __( 'Paypal', 'woocommerce' );
|
||||||
|
|
||||||
|
|
||||||
// Load the form fields.
|
// Load the form fields.
|
||||||
$this->init_form_fields();
|
$this->init_form_fields();
|
||||||
|
|
|
@ -14,7 +14,7 @@ class WC_Local_Delivery extends WC_Shipping_Method {
|
||||||
|
|
||||||
function __construct() {
|
function __construct() {
|
||||||
$this->id = 'local-delivery';
|
$this->id = 'local-delivery';
|
||||||
$this->method_title = __('Local Delivery', 'woothemes');
|
$this->method_title = __('Local Delivery', 'woocommerce');
|
||||||
|
|
||||||
// Load the form fields.
|
// Load the form fields.
|
||||||
$this->init_form_fields();
|
$this->init_form_fields();
|
||||||
|
|
|
@ -14,7 +14,7 @@ class WC_Local_Pickup extends WC_Shipping_Method {
|
||||||
|
|
||||||
function __construct() {
|
function __construct() {
|
||||||
$this->id = 'local-pickup';
|
$this->id = 'local-pickup';
|
||||||
$this->method_title = __('Local Pickup', 'woothemes');
|
$this->method_title = __('Local Pickup', 'woocommerce');
|
||||||
|
|
||||||
// Load the form fields.
|
// Load the form fields.
|
||||||
$this->init_form_fields();
|
$this->init_form_fields();
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue