add translators comments
This commit is contained in:
parent
6cc301e58c
commit
8ab8bef52e
|
@ -52,7 +52,12 @@
|
|||
// Text attributes should list terms pipe separated
|
||||
echo esc_attr( implode( ' ' . WC_DELIMITER . ' ', wp_get_post_terms( $thepostid, $taxonomy, array( 'fields' => 'names' ) ) ) );
|
||||
|
||||
?>" placeholder="<?php echo esc_attr( sprintf( __( '"%s" separate terms', 'woocommerce' ), WC_DELIMITER ) ); ?>" />
|
||||
?>" placeholder="<?php
|
||||
|
||||
/* translators: %s: WC_DELIMITER */
|
||||
echo esc_attr( sprintf( __( '"%s" separate terms', 'woocommerce' ), WC_DELIMITER ) );
|
||||
|
||||
?>" />
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -10,7 +10,13 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
|
||||
<div id="rates-pagination"></div>
|
||||
|
||||
<h3><?php printf( __( '"%s" tax rates', 'woocommerce' ), $current_class ? esc_html( $current_class ) : __( 'Standard', 'woocommerce' ) ); ?></h3>
|
||||
<h3><?php
|
||||
/* translators: %s: tax rate */
|
||||
printf(
|
||||
__( '"%s" tax rates', 'woocommerce' ),
|
||||
$current_class ? esc_html( $current_class ) : __( 'Standard', 'woocommerce' )
|
||||
);
|
||||
?></h3>
|
||||
|
||||
<table class="wc_tax_rates wc_input_table widefat">
|
||||
<thead>
|
||||
|
|
|
@ -426,7 +426,13 @@ class WC_Addons_Gateway_Simplify_Commerce extends WC_Gateway_Simplify_Commerce {
|
|||
try {
|
||||
$order_items = $order->get_items();
|
||||
$order_item = array_shift( $order_items );
|
||||
$pre_order_name = sprintf( __( '%1$s - Pre-order for "%2$s"', 'woocommerce' ), esc_html( get_bloginfo( 'name', 'display' ) ), $order_item['name'] ) . ' ' . sprintf( __( '(Order #%s)', 'woocommerce' ), $order->get_order_number() );
|
||||
/* translators: 1: site name 2: product name 3: order number */
|
||||
$pre_order_name = sprintf(
|
||||
__( '%1$s - Pre-order for "%2$s" (Order #%3$s)', 'woocommerce' ),
|
||||
esc_html( get_bloginfo( 'name', 'display' ) ),
|
||||
$order_item['name'],
|
||||
$order->get_order_number()
|
||||
);
|
||||
|
||||
$customer_id = get_post_meta( $order->get_id(), '_simplify_customer_id', true );
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ class WC_Payment_Token_CC extends WC_Payment_Token {
|
|||
* @return string
|
||||
*/
|
||||
public function get_display_name() {
|
||||
/* translators: 1: credit card type 2: last 4 digits 3: expiry month 4: expiry year */
|
||||
$display = sprintf(
|
||||
__( '%1$s ending in %2$s (expires %3$s/%4$s)', 'woocommerce' ),
|
||||
wc_get_credit_card_type_label( $this->get_card_type() ),
|
||||
|
|
|
@ -51,6 +51,7 @@ if ( ! empty( $shipping_classes ) ) {
|
|||
continue;
|
||||
}
|
||||
$settings[ 'class_cost_' . $shipping_class->term_id ] = array(
|
||||
/* translators: %s: shipping class name */
|
||||
'title' => sprintf( __( '"%s" shipping class cost', 'woocommerce' ), esc_html( $shipping_class->name ) ),
|
||||
'type' => 'text',
|
||||
'placeholder' => __( 'N/A', 'woocommerce' ),
|
||||
|
|
|
@ -78,6 +78,7 @@ if ( ! empty( $shipping_classes ) ) {
|
|||
continue;
|
||||
}
|
||||
$settings[ 'class_cost_' . $shipping_class->term_id ] = array(
|
||||
/* translators: %s: shipping class name */
|
||||
'title' => sprintf( __( '"%s" shipping class cost', 'woocommerce' ), esc_html( $shipping_class->name ) ),
|
||||
'type' => 'text',
|
||||
'placeholder' => __( 'N/A', 'woocommerce' ),
|
||||
|
|
Loading…
Reference in New Issue