Skip to content

Commit

Permalink
tweak strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Manos Psychogyiopoulos committed Oct 4, 2016
1 parent 1193b9c commit a896169
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions woocommerce-product-bundles-min-max-items.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Domain Path: /languages/
*
* Requires at least: 4.1
* Tested up to: 4.5
* Tested up to: 4.6
*
* Copyright: © 2009-2015 Manos Psychogyiopoulos.
* License: GNU General Public License v3.0
Expand Down Expand Up @@ -102,7 +102,7 @@ public static function localize_plugin() {
* PB version check notice.
*/
public static function pb_admin_notice() {
echo '<div class="error"><p>' . sprintf( __( '<strong>WooCommerce Product Bundles &ndash; Min/Max Items</strong> requires Product Bundles <strong>v%s</strong> or higher.', 'woocommerce-product-bundles' ), self::$req_pb_version ) . '</p></div>';
echo '<div class="error"><p>' . sprintf( __( '<strong>WooCommerce Product Bundles &ndash; Min/Max Items</strong> requires Product Bundles <strong>v%s</strong> or higher.', 'woocommerce-product-bundles-min-max-items' ), self::$req_pb_version ) . '</p></div>';
}

/**
Expand All @@ -111,8 +111,8 @@ public static function pb_admin_notice() {
public static function min_max_count_admin_option() {

?><div class="options_group"><?php
woocommerce_wp_text_input( array( 'id' => '_wcpb_min_qty_limit', 'type' => 'number', 'label' => __( 'Min Items', 'woocommerce' ), 'desc_tip' => 'false', 'description' => __( 'Minimum allowed quantity of items in the bundle.', 'woocommerce-product-bundles-min-max-items' ) ) );
woocommerce_wp_text_input( array( 'id' => '_wcpb_max_qty_limit', 'type' => 'number', 'label' => __( 'Max Items', 'woocommerce' ), 'desc_tip' => 'false', 'description' => __( 'Maximum allowed quantity of items in the bundle.', 'woocommerce-product-bundles-min-max-items' ) ) );
woocommerce_wp_text_input( array( 'id' => '_wcpb_min_qty_limit', 'type' => 'number', 'label' => __( 'Items >=', 'woocommerce-product-bundles-min-max-items' ), 'desc_tip' => 'false', 'description' => __( 'Minimum allowed quantity of items in the bundle.', 'woocommerce-product-bundles-min-max-items' ) ) );
woocommerce_wp_text_input( array( 'id' => '_wcpb_max_qty_limit', 'type' => 'number', 'label' => __( 'Items <=', 'woocommerce-product-bundles-min-max-items' ), 'desc_tip' => 'false', 'description' => __( 'Maximum allowed quantity of items in the bundle.', 'woocommerce-product-bundles-min-max-items' ) ) );
?></div><?php
}

Expand Down

0 comments on commit a896169

Please sign in to comment.