Plugin Directory

Changeset 2600081

Timestamp:
09/16/2021 04:36:05 PM (3 years ago)
Author:
jompha
Message:

Textdomain Fixed

Location:
ultimate-coupon-for-woocommerce/trunk
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • ultimate-coupon-for-woocommerce/trunk/UCFW.php

    r2599318 r2600081  
    1414     * @var string
    1515     */
    16     public $version = '1.0.1';
     16    public $version = '1.0.';
    1717
    1818    /**
     
    5353        add_action( 'activated_plugin', array($this, 'activationRedirect') );
    5454
    55         add_filter( 'plugin_action_links_' . plugin_basename(__DIR__) . '/ultimate-coupons-for-woocommerce-free.php', array( $this, 'settingLink' ) );
     55        add_filter( 'plugin_action_links_' . plugin_basename(__DIR__) . '/ultimate-coupone.php', array( $this, 'settingLink' ) );
    5656        add_filter( 'plugin_row_meta', array( $this, 'helpLinks' ), 10, 2);
    5757    }
     
    173173    public function localization_setup()
    174174    {
    175         load_plugin_textdomain( 'ultimate-coupons-for-woocommerce-free', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
     175        load_plugin_textdomain( 'ultimate-coupone', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    176176    }
    177177
     
    268268                <img class="ucfw-logo" src="' . UCFW_RESOURCES . '/images/UCFW-Logo.png">
    269269                <div class="ucfw-admin-notice-content">
    270                 <h2>' . esc_html__( 'Required dependency.', 'ultimate-coupons-for-woocommerce-free' ) .'</h2>
    271                 <p>' . esc_html__( 'Please ensure you have the WooCommerce plugin installed and activated.', 'ultimate-coupons-for-woocommerce-free' ) . '</p>
     270                <h2>' . esc_html__( 'Required dependency.', 'ultimate-coupone' ) .'</h2>
     271                <p>' . esc_html__( 'Please ensure you have the WooCommerce plugin installed and activated.', 'ultimate-coupone' ) . '</p>
    272272                </div>
    273273            </div>';
     
    281281    public function activationRedirect( $plugin )
    282282    {
    283         if ( plugin_basename(__DIR__) . '/ultimate-coupons-for-woocommerce-free.php' == $plugin && class_exists('woocommerce') )
     283        if ( plugin_basename(__DIR__) . '/ultimate-coupone.php' == $plugin && class_exists('woocommerce') )
    284284            exit( wp_redirect( admin_url( '/admin.php?page=crb_carbon_fields_container_get_started.php' ) ) );
    285285    }
     
    291291    public function settingLink( $links )
    292292    {
    293         $settingLink = sprintf( "<a href='%s'>%s</a>", esc_url( admin_url( '/admin.php?page=crb_carbon_fields_container_ucfw_global_settings.php' ) ), esc_html__( 'Settings', 'ultimate-coupons-for-woocommerce-free' ) );
     293        $settingLink = sprintf( "<a href='%s'>%s</a>", esc_url( admin_url( '/admin.php?page=crb_carbon_fields_container_ucfw_global_settings.php' ) ), esc_html__( 'Settings', 'ultimate-coupone' ) );
    294294
    295295        if ( !class_exists('UCFWP') )
    296             $premiumLink = sprintf( "<a class='ucfw_get_premium' target='_blank' href='%s'>%s</a>", esc_url( '//jompha.com/ultimate-coupons-for-woocommerce' ), esc_html__( 'Get Premium', 'ultimate-coupons-for-woocommerce-free' ) );
     296            $premiumLink = sprintf( "<a class='ucfw_get_premium' target='_blank' href='%s'>%s</a>", esc_url( '//jompha.com/ultimate-coupons-for-woocommerce' ), esc_html__( 'Get Premium', 'ultimate-coupone' ) );
    297297        else
    298             $premiumLink = sprintf( "<a class='ucfw_get_premium' target='_blank' href='%s'>%s</a>", esc_url( '//support.jompha.com' ), esc_html__( 'Get Support', 'ultimate-coupons-for-woocommerce-free' ) );
     298            $premiumLink = sprintf( "<a class='ucfw_get_premium' target='_blank' href='%s'>%s</a>", esc_url( '//support.jompha.com' ), esc_html__( 'Get Support', 'ultimate-coupone' ) );
    299299
    300300        $links[] = $settingLink;
     
    310310    public function helpLinks( $links, $plugin )
    311311    {
    312         if ( plugin_basename(__DIR__) . '/ultimate-coupons-for-woocommerce-free.php' != $plugin )
     312        if ( plugin_basename(__DIR__) . '/ultimate-coupone.php' != $plugin )
    313313            return $links;
    314314       
    315         $docsLink    = sprintf( "<a href='%s'>%s</a>", esc_url( '//docs.jompha.com/ultimate-coupons-for-woocommerce' ), esc_html__( 'Docs', 'ultimate-coupons-for-woocommerce-free' ) );
    316         $supportLink = sprintf( "<a href='%s'>%s</a>", esc_url( '//forum.jompha.com' ), esc_html__( 'Community support', 'ultimate-coupons-for-woocommerce-free' ) );
     315        $docsLink    = sprintf( "<a href='%s'>%s</a>", esc_url( '//docs.jompha.com/ultimate-coupons-for-woocommerce' ), esc_html__( 'Docs', 'ultimate-coupone' ) );
     316        $supportLink = sprintf( "<a href='%s'>%s</a>", esc_url( '//forum.jompha.com' ), esc_html__( 'Community support', 'ultimate-coupone' ) );
    317317       
    318318        $links[] = $docsLink;
  • ultimate-coupon-for-woocommerce/trunk/classes/API.class.php

    r2599318 r2600081  
    4646                'args' => array(
    4747                    'id' => array(
    48                         'description' => esc_html__( 'Unique identifier for product search', 'ultimate-coupons-for-woocommerce-free' ),
     48                        'description' => esc_html__( 'Unique identifier for product search', 'ultimate-coupone' ),
    4949                        'type'        => 'string',
    5050                    ),
     
    6565                'args' => array(
    6666                    'id' => array(
    67                         'description' => esc_html__( 'Unique identifier for product search', 'ultimate-coupons-for-woocommerce-free' ),
     67                        'description' => esc_html__( 'Unique identifier for product search', 'ultimate-coupone' ),
    6868                        'type'        => 'string',
    6969                    ),
     
    8484                'args' => array(
    8585                    'id' => array(
    86                         'description' => esc_html__( 'Unique identifier of the coupon', 'ultimate-coupons-for-woocommerce-free' ),
     86                        'description' => esc_html__( 'Unique identifier of the coupon', 'ultimate-coupone' ),
    8787                        'type'        => 'number',
    8888                    ),
     
    103103                'args' => array(
    104104                    'id' => array(
    105                         'description' => esc_html__( 'Unique identifier of the coupon', 'ultimate-coupons-for-woocommerce-free' ),
     105                        'description' => esc_html__( 'Unique identifier of the coupon', 'ultimate-coupone' ),
    106106                        'type'        => 'number',
    107107                    ),
  • ultimate-coupon-for-woocommerce/trunk/classes/Admin/Conditions.class.php

    r2599318 r2600081  
    9999       
    100100        $compare = array(
    101             'eq' => esc_html__( 'EXACTLY', 'ultimate-coupons-for-woocommerce-free' ),
    102             'nt' => esc_html__( 'ANYTHING BUT', 'ultimate-coupons-for-woocommerce-free' ),
    103             'mt' => esc_html__( 'MORE THAN', 'ultimate-coupons-for-woocommerce-free' ),
    104             'lt' => esc_html__( 'LESS THAN', 'ultimate-coupons-for-woocommerce-free' )
     101            'eq' => esc_html__( 'EXACTLY', 'ultimate-coupone' ),
     102            'nt' => esc_html__( 'ANYTHING BUT', 'ultimate-coupone' ),
     103            'mt' => esc_html__( 'MORE THAN', 'ultimate-coupone' ),
     104            'lt' => esc_html__( 'LESS THAN', 'ultimate-coupone' )
    105105        );
    106         $userRoles = array_merge( array( 'guest' => esc_html__( 'Guest', 'ultimate-coupons-for-woocommerce-free' ) ), $wp_roles->get_names() );
     106        $userRoles = array_merge( array( 'guest' => esc_html__( 'Guest', 'ultimate-coupone' ) ), $wp_roles->get_names() );
    107107
    108108        $this->configurations = array(
    109109            'product_category' => array(
    110110                'id'     => 'product-category',
    111                 'name'   => esc_html__( 'Product Categories in Cart', 'ultimate-coupons-for-woocommerce-free' ),
     111                'name'   => esc_html__( 'Product Categories in Cart', 'ultimate-coupone' ),
    112112                'inputs' => array(
    113113                    array(
     
    115115                        'options'     => array(),
    116116                        'search'      => 'product-categories',
    117                         'placeholder' => esc_html__( 'Search for categories by name', 'ultimate-coupons-for-woocommerce-free' ),
     117                        'placeholder' => esc_html__( 'Search for categories by name', 'ultimate-coupone' ),
    118118                        'multiple'    => true,
    119119                        'id'          => 'categories'
     
    127127                        'tag'         => 'input',
    128128                        'type'        => 'number',
    129                         'placeholder' => esc_html__( 'Number of products of this category', 'ultimate-coupons-for-woocommerce-free' ),
     129                        'placeholder' => esc_html__( 'Number of products of this category', 'ultimate-coupone' ),
    130130                        'id'          => 'value'
    131131                    )
     
    134134            'allowed_users' => array(
    135135                'id'     => 'allowed-users',
    136                 'name'   => esc_html__( 'Allowed Users', 'ultimate-coupons-for-woocommerce-free' ),
     136                'name'   => esc_html__( 'Allowed Users', 'ultimate-coupone' ),
    137137                'inputs' => array(
    138138                    array(
     
    140140                        'options'     => $userRoles,
    141141                        'type'        => 'user-roles',
    142                         'placeholder' => esc_html__( 'Choose roles:', 'ultimate-coupons-for-woocommerce-free' ),
     142                        'placeholder' => esc_html__( 'Choose roles:', 'ultimate-coupone' ),
    143143                        'multiple'    => true
    144144                    )
     
    147147            'disallowed_users' => array(
    148148                'id'     => 'disallowed-users',
    149                 'name'   => esc_html__( 'Disallowed Users', 'ultimate-coupons-for-woocommerce-free' ),
     149                'name'   => esc_html__( 'Disallowed Users', 'ultimate-coupone' ),
    150150                'inputs' => array(
    151151                    array(
     
    153153                        'options'     => $userRoles,
    154154                        'type'        => 'user-roles',
    155                         'placeholder' => esc_html__( 'Choose roles:', 'ultimate-coupons-for-woocommerce-free' ),
     155                        'placeholder' => esc_html__( 'Choose roles:', 'ultimate-coupone' ),
    156156                        'multiple'    => true
    157157                    )
     
    160160            'logged_status' => array(
    161161                'id'     => 'logged-status',
    162                 'name'   => esc_html__( 'User Logged Status', 'ultimate-coupons-for-woocommerce-free' ),
     162                'name'   => esc_html__( 'User Logged Status', 'ultimate-coupone' ),
    163163                'inputs' => array(
    164164                    array(
    165165                        'tag'     => 'select',
    166166                        'options' => array(
    167                             'yes' => esc_html__( 'Logged In', 'ultimate-coupons-for-woocommerce-free' ),
    168                             'no'  => esc_html__( 'Guest', 'ultimate-coupons-for-woocommerce-free' )
     167                            'yes' => esc_html__( 'Logged In', 'ultimate-coupone' ),
     168                            'no'  => esc_html__( 'Guest', 'ultimate-coupone' )
    169169                        ),
    170                         'placeholder' => esc_html__( 'Choose logged status:', 'ultimate-coupons-for-woocommerce-free' )
     170                        'placeholder' => esc_html__( 'Choose logged status:', 'ultimate-coupone' )
    171171                    )
    172172                )
     
    174174            'first_purchase' => array(
    175175                'id'     => 'first-purchase',
    176                 'name'   => esc_html__( 'User First Purchase Only', 'ultimate-coupons-for-woocommerce-free' ),
     176                'name'   => esc_html__( 'User First Purchase Only', 'ultimate-coupone' ),
    177177                'inputs' => array(
    178178                    array(
    179179                        'tag'     => 'select',
    180180                        'options' => array(
    181                             'yes' => esc_html__( 'Yes', 'ultimate-coupons-for-woocommerce-free' ),
    182                             'no'  => esc_html__( 'No', 'ultimate-coupons-for-woocommerce-free' )
     181                            'yes' => esc_html__( 'Yes', 'ultimate-coupone' ),
     182                            'no'  => esc_html__( 'No', 'ultimate-coupone' )
    183183                        ),
    184                         'placeholder' => esc_html__( 'Yes or No', 'ultimate-coupons-for-woocommerce-free' )
     184                        'placeholder' => esc_html__( 'Yes or No', 'ultimate-coupone' )
    185185                    )
    186186                )
     
    188188            'cart_quantity' => array(
    189189                'id'     => 'cart-quantity',
    190                 'name'   => esc_html__( 'Cart Quantity', 'ultimate-coupons-for-woocommerce-free' ),
     190                'name'   => esc_html__( 'Cart Quantity', 'ultimate-coupone' ),
    191191                'inputs' => array(
    192192                    array(
     
    199199                        'type'        => 'number',
    200200                        'id'          => 'value',
    201                         'placeholder' => esc_html__( 'Number of products in cart', 'ultimate-coupons-for-woocommerce-free' )
     201                        'placeholder' => esc_html__( 'Number of products in cart', 'ultimate-coupone' )
    202202                    )
    203203                )
     
    205205            'cart_subtotal' => array(
    206206                'id'     => 'cart-subtotal',
    207                 'name'   => esc_html__( 'Cart Subtotal', 'ultimate-coupons-for-woocommerce-free' ),
    208                 'label'  => esc_html__( 'Cart Subtotal', 'ultimate-coupons-for-woocommerce-free' ) . ' (' . get_woocommerce_currency_symbol() . ')',
     207                'name'   => esc_html__( 'Cart Subtotal', 'ultimate-coupone' ),
     208                'label'  => esc_html__( 'Cart Subtotal', 'ultimate-coupone' ) . ' (' . get_woocommerce_currency_symbol() . ')',
    209209                'inputs' => array(
    210210                    array(
     
    217217                        'type'        => 'number',
    218218                        'id'          => 'value',
    219                         'placeholder' => get_woocommerce_currency_symbol() . ' ' . esc_html__( 'amount in cart', 'ultimate-coupons-for-woocommerce-free' )
     219                        'placeholder' => get_woocommerce_currency_symbol() . ' ' . esc_html__( 'amount in cart', 'ultimate-coupone' )
    220220                    )
    221221                )
     
    223223            'product_quantity' => array(
    224224                'id'            => 'product-quantity',
    225                 'name'          => esc_html__( 'Product Quantity in Cart', 'ultimate-coupons-for-woocommerce-free' ),
     225                'name'          => esc_html__( 'Product Quantity in Cart', 'ultimate-coupone' ),
    226226                'premiumholder' => true
    227227            ),
    228228            'order_count' => array(
    229229                'id'            => 'order-count',
    230                 'name'          => esc_html__( 'User Order Count', 'ultimate-coupons-for-woocommerce-free' ),
     230                'name'          => esc_html__( 'User Order Count', 'ultimate-coupone' ),
    231231                'premiumholder' => true
    232232            ),
    233233            'total_spent' => array(
    234234                'id'            => 'total-spent',
    235                 'name'          => esc_html__( 'User Total Spent', 'ultimate-coupons-for-woocommerce-free' ),
     235                'name'          => esc_html__( 'User Total Spent', 'ultimate-coupone' ),
    236236                'premiumholder' => true
    237237            ),
    238238            'hours_after_registration' => array(
    239239                'id'            => 'hours-after-registration',
    240                 'name'          => esc_html__( 'Hours After User Registration', 'ultimate-coupons-for-woocommerce-free' ),
     240                'name'          => esc_html__( 'Hours After User Registration', 'ultimate-coupone' ),
    241241                'premiumholder' => true
    242242            ),
    243243            'hours_after_last_order' => array(
    244244                'id'            => 'hours-after-last-order',
    245                 'name'          => esc_html__( 'Hours After User Last Order', 'ultimate-coupons-for-woocommerce-free' ),
     245                'name'          => esc_html__( 'Hours After User Last Order', 'ultimate-coupone' ),
    246246                'premiumholder' => true
    247247            ),
    248248            'has_ordered_before' => array(
    249249                'id'            => 'has-ordered-before',
    250                 'name'          => esc_html__( 'Has User Ordered Before', 'ultimate-coupons-for-woocommerce-free' ),
     250                'name'          => esc_html__( 'Has User Ordered Before', 'ultimate-coupone' ),
    251251                'premiumholder' => true
    252252            ),
    253253            'shipping_methods' => array(
    254254                'id'            => 'shipping-methods',
    255                 'name'          => esc_html__( 'Shipping Methods', 'ultimate-coupons-for-woocommerce-free' ),
     255                'name'          => esc_html__( 'Shipping Methods', 'ultimate-coupone' ),
    256256                'premiumholder' => true
    257257            ),
    258258            'payment_methods' => array(
    259259                'id'            => 'payment-methods',
    260                 'name'          => esc_html__( 'Payment Methods', 'ultimate-coupons-for-woocommerce-free' ),
     260                'name'          => esc_html__( 'Payment Methods', 'ultimate-coupone' ),
    261261                'premiumholder' => true
    262262            ),
    263263            'custom_user_meta' => array(
    264264                'id'            => 'custom-user-meta',
    265                 'name'          => esc_html__( 'Custom User Meta', 'ultimate-coupons-for-woocommerce-free' ),
     265                'name'          => esc_html__( 'Custom User Meta', 'ultimate-coupone' ),
    266266                'premiumholder' => true
    267267            ),
    268268            'custom_product_meta' => array(
    269269                'id'            => 'custom-product-meta',
    270                 'name'          => esc_html__( 'Custom Product Meta', 'ultimate-coupons-for-woocommerce-free' ),
     270                'name'          => esc_html__( 'Custom Product Meta', 'ultimate-coupone' ),
    271271                'premiumholder' => true
    272272            )
  • ultimate-coupon-for-woocommerce/trunk/classes/Admin/Deals.class.php

    r2599318 r2600081  
    106106            {
    107107                $itemTypes[] = array(
    108                     'text'     => esc_html( $item['name'] ) . ' (' . esc_html__( 'PREMIUM', 'ultimate-coupons-for-woocommerce-free' ) . ')',
     108                    'text'     => esc_html( $item['name'] ) . ' (' . esc_html__( 'PREMIUM', 'ultimate-coupone' ) . ')',
    109109                    'value'    => 'premium',
    110110                    'selected' => false
     
    161161            {
    162162                $targetMatches[] = array(
    163                     'text'     => esc_html( $match['name'] ) . ' (' . esc_html__( 'PREMIUM', 'ultimate-coupons-for-woocommerce-free' ) . ')',
     163                    'text'     => esc_html( $match['name'] ) . ' (' . esc_html__( 'PREMIUM', 'ultimate-coupone' ) . ')',
    164164                    'value'    => 'premium',
    165165                    'selected' => false
     
    203203            {
    204204                $applyTypes[] = array(
    205                     'text'     => esc_html( $apply['name'] ) . ' (' . esc_html__( 'PREMIUM', 'ultimate-coupons-for-woocommerce-free' ) . ')',
     205                    'text'     => esc_html( $apply['name'] ) . ' (' . esc_html__( 'PREMIUM', 'ultimate-coupone' ) . ')',
    206206                    'value'    => 'premium',
    207207                    'selected' => false
     
    244244        $this->itemTypes = apply_filters( 'ucfw_deals_item_types', array(
    245245            'products' => array(
    246                 'name'          => esc_html__( 'Products', 'ultimate-coupons-for-woocommerce-free' ),
     246                'name'          => esc_html__( 'Products', 'ultimate-coupone' ),
    247247                'premiumholder' => false
    248248            )
     
    254254        $this->targetMatches = apply_filters( 'ucfw_deals_target_matches', array(
    255255            'all' => array(
    256                 'name'          => esc_html__( 'Match All', 'ultimate-coupons-for-woocommerce-free' ),
     256                'name'          => esc_html__( 'Match All', 'ultimate-coupone' ),
    257257                'premiumholder' => false
    258258            ),
    259259            'any' => array(
    260                 'name'          => esc_html__( 'Match Any', 'ultimate-coupons-for-woocommerce-free' ),
     260                'name'          => esc_html__( 'Match Any', 'ultimate-coupone' ),
    261261                'premiumholder' => true
    262262            )
     
    268268        $this->applyTypes = apply_filters( 'ucfw_deals_apply_types', array(
    269269            'all' => array(
    270                 'name'          => esc_html__( 'Apply All', 'ultimate-coupons-for-woocommerce-free' ),
     270                'name'          => esc_html__( 'Apply All', 'ultimate-coupone' ),
    271271                'premiumholder' => false
    272272            ),
    273273            'cheapest' => array(
    274                 'name'          => esc_html__( 'Apply Cheapest', 'ultimate-coupons-for-woocommerce-free' ),
     274                'name'          => esc_html__( 'Apply Cheapest', 'ultimate-coupone' ),
    275275                'premiumholder' => true
    276276            ),
    277277            'random' => array(
    278                 'name'          => esc_html__( 'Apply Random', 'ultimate-coupons-for-woocommerce-free' ),
     278                'name'          => esc_html__( 'Apply Random', 'ultimate-coupone' ),
    279279                'premiumholder' => true
    280280            )
  • ultimate-coupon-for-woocommerce/trunk/classes/Admin/Fields.class.php

    r2599318 r2600081  
    4040    public function buyPremium()
    4141    {
    42         return '<a class="ucfw-buy-premium" href="javascript:void(0);">' . esc_html__( 'Buy Premium', 'ultimate-coupons-for-woocommerce-free' ) . '</a>';
     42        return '<a class="ucfw-buy-premium" href="javascript:void(0);">' . esc_html__( 'Buy Premium', 'ultimate-coupone' ) . '</a>';
    4343    }
    4444
     
    5050    public function premiumPlaceholder()
    5151    {
    52         return esc_html__( 'Premium Feature', 'ultimate-coupons-for-woocommerce-free' );
     52        return esc_html__( 'Premium Feature', 'ultimate-coupone' );
    5353    }
    5454
     
    7171        }
    7272
    73         $this->singleFields = Container::make( 'post_meta', esc_html__( 'Ultimate Coupon Settings', 'ultimate-coupons-for-woocommerce-free' ) );
     73        $this->singleFields = Container::make( 'post_meta', esc_html__( 'Ultimate Coupon Settings', 'ultimate-coupone' ) );
    7474        $this->singleFields->where( 'post_type', '=', 'shop_coupon' );
    7575
     
    7777         * Deals
    7878         */
    79         $this->singleFields->add_tab( esc_html__( 'Deals', 'ultimate-coupons-for-woocommerce-free' ), array(
     79        $this->singleFields->add_tab( esc_html__( 'Deals', 'ultimate-coupone' ), array(
    8080
    8181            Field::make( 'html', 'ucfw_deals_html')
     
    8787                        <div class="ucfw-deals-enabled-container">
    8888                                <input type="checkbox" value="yes" name="_ucfw_deals[0][enabled]" id="ucfw-deals-0-enabled-checkbox">
    89                                 <label for="ucfw-deals-0-enabled-checkbox">' . esc_html__( 'Enable Deals', 'ultimate-coupons-for-woocommerce-free' ) . '</label>
    90                                 <p class="description">' . esc_html__( 'Check this box to turn on all deals settings for this coupon.', 'ultimate-coupons-for-woocommerce-free' ) . '</p>
     89                                <label for="ucfw-deals-0-enabled-checkbox">' . esc_html__( 'Enable Deals', 'ultimate-coupone' ) . '</label>
     90                                <p class="description">' . esc_html__( 'Check this box to turn on all deals settings for this coupon.', 'ultimate-coupone' ) . '</p>
    9191                        </div>
    9292                        <div class="ui divider"></div>
    9393                        <div class="ucfw-deals-allow-repeated-use-container">
    9494                                <input type="checkbox" value="yes" name="_ucfw_deals[0][allow_repeated_use]" id="ucfw-deals-0-allow-repeated-use-checkbox">
    95                                 <label for="ucfw-deals-0-allow-repeated-use-checkbox">' . esc_html__( 'Allow Repeated Use', 'ultimate-coupons-for-woocommerce-free' ) . '</label>
    96                                 <p class="description">' . esc_html__( 'Check if you want users to be able to avail these deals not just once but every time the coupon is used.', 'ultimate-coupons-for-woocommerce-free' ) . '</p>
     95                                <label for="ucfw-deals-0-allow-repeated-use-checkbox">' . esc_html__( 'Allow Repeated Use', 'ultimate-coupone' ) . '</label>
     96                                <p class="description">' . esc_html__( 'Check if you want users to be able to avail these deals not just once but every time the coupon is used.', 'ultimate-coupone' ) . '</p>
    9797                        </div>
    9898                        <div class="ui divider"></div>
    9999                        <div class="ucfw-deals-target-container">
    100                             <h4 class="ui header">' . esc_html__( 'Target Items', 'ultimate-coupons-for-woocommerce-free' ) . '</h4>
     100                            <h4 class="ui header">' . esc_html__( 'Target Items', 'ultimate-coupone' ) . '</h4>
    101101                            <div class="ucfw-deals-target-type">
    102102                                <select id="ucfw-deals-target-item-types" class="ucfw-deals-item-types ui dropdown" name="_ucfw_deals[0][target][item_type]" data-section="target" data-item-type="products"></select>
     
    106106                            <div class="ucfw-deals-types-description">
    107107                                <ul>
    108                                     <li>' . esc_html__( 'Match All – If all target', 'ultimate-coupons-for-woocommerce-free' ) . '<span class="ucfw-deals-target-items-type ucfw-text-lowercase">' . esc_html__( 'products', 'ultimate-coupons-for-woocommerce-free' ) . '</span>' . esc_html__( ' with specified quantity exist in cart, trigger the deal.', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    109                                     <li>' . esc_html__( 'Match Any – If any of the target', 'ultimate-coupons-for-woocommerce-free' ) . ' <span class="ucfw-deals-target-items-type ucfw-text-lowercase">' . esc_html__( 'products', 'ultimate-coupons-for-woocommerce-free' ) . '</span> ' . esc_html__( 'match with specified quantity exist in cart, trigger the deal.', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
     108                                    <li>' . esc_html__( 'Match All – If all target', 'ultimate-coupone' ) . '</li>
     109                                    <li>' . esc_html__( 'Match Any – If any of the target', 'ultimate-coupone' ) . '</li>
    110110                                </ul>
    111111                            </div>
     
    115115                                    <thead>
    116116                                        <tr>
    117                                             <th class="ucfw-deals-target-item-type">' . esc_html__( 'Product', 'ultimate-coupons-for-woocommerce-free' ) . '</th>
    118                                             <th>' . esc_html__( 'Quantity', 'ultimate-coupons-for-woocommerce-free' ) . '</th>
    119                                             <th>' . esc_html__( 'Action', 'ultimate-coupons-for-woocommerce-free' ) . '</th>
     117                                            <th class="ucfw-deals-target-item-type">' . esc_html__( 'Product', 'ultimate-coupone' ) . '</th>
     118                                            <th>' . esc_html__( 'Quantity', 'ultimate-coupone' ) . '</th>
     119                                            <th>' . esc_html__( 'Action', 'ultimate-coupone' ) . '</th>
    120120                                        </tr>
    121121                                    </thead>
     
    126126                                        <i class="add icon"></i>
    127127                                    </div>
    128                                     <a class="ui basic teal left pointing label">' . esc_html__( 'Add', 'ultimate-coupons-for-woocommerce-free' ) . '&nbsp;<span class="ucfw-deals-target-item-type">' . esc_html__( 'Product', 'ultimate-coupons-for-woocommerce-free' ) . '</span></a>
     128                                    <a class="ui basic teal left pointing label">' . esc_html__( 'Add', 'ultimate-coupone' ) . '</span></a>
    129129                                </div>
    130130                            </div>
     
    132132                        <div class="ui divider"></div>
    133133                        <div class="ucfw-deals-apply-container">
    134                             <h4 class="ui header">' . esc_html__( 'Apply Items', 'ultimate-coupons-for-woocommerce-free' ) . '</h4>
     134                            <h4 class="ui header">' . esc_html__( 'Apply Items', 'ultimate-coupone' ) . '</h4>
    135135                            <div class="ucfw-deals-apply-type">
    136136                                <select id="ucfw-deals-apply-item-types" class="ucfw-deals-item-types ui dropdown" name="_ucfw_deals[0][apply][item_type]" data-section="apply" data-item-type="products"></select>
     
    140140                            <div class="ucfw-deals-types-description">
    141141                                <ul>
    142                                     <li>' . esc_html__( 'Apply All – Apply all of the', 'ultimate-coupons-for-woocommerce-free' ) . '<span class="ucfw-deals-target-item-type ucfw-text-lowercase">'. esc_html__('product', 'ultimate-coupons-for-woocommerce-free') .'</span>' . esc_html__( 'items in the list with specified quantity if deal is triggered.', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    143                                     <li>' . esc_html__( 'Apply Cheapest – Apply only the cheapest ', 'ultimate-coupons-for-woocommerce-free' ) . '<span class="ucfw-deals-target-item-type ucfw-text-lowercase">' . esc_html__( 'products', 'ultimate-coupons-for-woocommerce-free' ) . '</span>' . esc_html__( ' item from the list with specified quantity if deal is triggered.', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    144                                     <li>' . esc_html__( 'Apply Random – Apply a random ', 'ultimate-coupons-for-woocommerce-free' ) . '<span class="ucfw-deals-target-item-type ucfw-text-lowercase">' . esc_html__( 'products', 'ultimate-coupons-for-woocommerce-free' ) . '</span> ' . esc_html__( 'item from the list with specified quantity if deal is triggered.', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
     142                                    <li>' . esc_html__( 'Apply All – Apply all of the', 'ultimate-coupone' ) . '</li>
     143                                    <li>' . esc_html__( 'Apply Cheapest – Apply only the cheapest ', 'ultimate-coupone' ) . '</li>
     144                                    <li>' . esc_html__( 'Apply Random – Apply a random ', 'ultimate-coupone' ) . '</li>
    145145                                </ul>
    146146                            </div>
     
    150150                                    <thead>
    151151                                        <tr>
    152                                             <th class="ucfw-deals-apply-item-type">' . esc_html__( 'Product', 'ultimate-coupons-for-woocommerce-free' ) . '</th>
    153                                             <th>' . esc_html__( 'Quantity', 'ultimate-coupons-for-woocommerce-free' ) . '</th>
    154                                             <th>' . esc_html__( 'Discount', 'ultimate-coupons-for-woocommerce-free' ) . '</th>
    155                                             <th>' . esc_html__( 'Action', 'ultimate-coupons-for-woocommerce-free' ) . '</th>
     152                                            <th class="ucfw-deals-apply-item-type">' . esc_html__( 'Product', 'ultimate-coupone' ) . '</th>
     153                                            <th>' . esc_html__( 'Quantity', 'ultimate-coupone' ) . '</th>
     154                                            <th>' . esc_html__( 'Discount', 'ultimate-coupone' ) . '</th>
     155                                            <th>' . esc_html__( 'Action', 'ultimate-coupone' ) . '</th>
    156156                                        </tr>
    157157                                    </thead>
     
    162162                                        <i class="add icon"></i>
    163163                                    </div>
    164                                     <a class="ui basic teal left pointing label">' . esc_html__( 'Add', 'ultimate-coupons-for-woocommerce-free' ) . '&nbsp;<span class="ucfw-deals-apply-item-type">' . esc_html__( 'Product', 'ultimate-coupons-for-woocommerce-free' ) . '</span></a>
     164                                    <a class="ui basic teal left pointing label">' . esc_html__( 'Add', 'ultimate-coupone' ) . '</span></a>
    165165                                </div>
    166                                 <button id="ucfw-btn-save-deals" class="blue ui button">' . esc_html__( 'Save', 'ultimate-coupons-for-woocommerce-free' ) . '</button>
     166                                <button id="ucfw-btn-save-deals" class="blue ui button">' . esc_html__( 'Save', 'ultimate-coupone' ) . '</button>
    167167                            </div>
    168168                        </div>
     
    174174         * Conditions
    175175         */
    176         $this->singleFields->add_tab( esc_html__( 'Conditions', 'ultimate-coupons-for-woocommerce-free' ), array(
     176        $this->singleFields->add_tab( esc_html__( 'Conditions', 'ultimate-coupone' ), array(
    177177
    178178            Field::make( 'html', 'ucfw_conditions_html' )
     
    180180                <div id="ucfw-conditions-enabled-container">
    181181                    <input type="checkbox" value="yes" name="_ucfw_conditions_enabled" id="ucfw-conditions-enabled-checkbox">
    182                     <label for="ucfw-conditions-enabled-checkbox">' . esc_html__( 'Enable Conditions', 'ultimate-coupons-for-woocommerce-free' ) . '</label>
    183                     <p class="description">' . esc_html__( 'Check this box to turn on all conditions settings for this coupon.', 'ultimate-coupons-for-woocommerce-free' ) . '</p>
     182                    <label for="ucfw-conditions-enabled-checkbox">' . esc_html__( 'Enable Conditions', 'ultimate-coupone' ) . '</label>
     183                    <p class="description">' . esc_html__( 'Check this box to turn on all conditions settings for this coupon.', 'ultimate-coupone' ) . '</p>
    184184                </div>
    185185                <div class="ui divider"></div>
     
    193193                                <i class="add icon"></i>
    194194                            </div>
    195                             <a class="ui basic teal left pointing label">' . esc_html__( 'Add Group', 'ultimate-coupons-for-woocommerce-free' ) . '</a>
    196                         </div>
    197                         <button id="ucfw-btn-save-conditions" class="blue ui button">' . esc_html__( 'Save', 'ultimate-coupons-for-woocommerce-free' ) . '</button>
     195                            <a class="ui basic teal left pointing label">' . esc_html__( 'Add Group', 'ultimate-coupone' ) . '</a>
     196                        </div>
     197                        <button id="ucfw-btn-save-conditions" class="blue ui button">' . esc_html__( 'Save', 'ultimate-coupone' ) . '</button>
    198198                    </div>
    199199                </div>
     
    205205         * Scheduling
    206206         */
    207         $this->singleFields->add_tab( esc_html__( 'Schedule', 'ultimate-coupons-for-woocommerce-free' ), apply_filters( 'ucfw_fields_schedule', array(
    208 
    209             Field::make( 'checkbox', 'ucfw_schedule_enabled', esc_html__( 'Enable Schedule', 'ultimate-coupons-for-woocommerce-free' ) )
     207        $this->singleFields->add_tab( esc_html__( 'Schedule', 'ultimate-coupone' ), apply_filters( 'ucfw_fields_schedule', array(
     208
     209            Field::make( 'checkbox', 'ucfw_schedule_enabled', esc_html__( 'Enable Schedule', 'ultimate-coupone' ) )
    210210                ->set_option_value( 'yes' )
    211                 ->set_help_text( esc_html__( 'Check this box to turn on all schedule settings for this coupon.', 'ultimate-coupons-for-woocommerce-free' ) ),
    212 
    213             Field::make( 'date_time', 'ucfw_schedule_start_date', esc_html__( 'Starts From', 'ultimate-coupons-for-woocommerce-free' ) )
     211                ->set_help_text( esc_html__( 'Check this box to turn on all schedule settings for this coupon.', 'ultimate-coupone' ) ),
     212
     213            Field::make( 'date_time', 'ucfw_schedule_start_date', esc_html__( 'Starts From', 'ultimate-coupone' ) )
    214214                ->set_width( 50 )
    215                 ->set_help_text( esc_html__( 'The starting date and time from which the coupon can be applicable.', 'ultimate-coupons-for-woocommerce-free' ) ),
    216 
    217             Field::make( 'date_time', 'ucfw_schedule_expire_date', esc_html__( 'Expires On', 'ultimate-coupons-for-woocommerce-free' ) )
     215                ->set_help_text( esc_html__( 'The starting date and time from which the coupon can be applicable.', 'ultimate-coupone' ) ),
     216
     217            Field::make( 'date_time', 'ucfw_schedule_expire_date', esc_html__( 'Expires On', 'ultimate-coupone' ) )
    218218                ->set_width( 50 )
    219                 ->set_help_text( esc_html__( 'The expire date and time after which the coupon can no longer be used.', 'ultimate-coupons-for-woocommerce-free' ) ),
    220 
    221             Field::make( 'text', 'ucfw_schedule_active_from', esc_html__( 'Daily Active Hours (Start)', 'ultimate-coupons-for-woocommerce-free' ) )
     219                ->set_help_text( esc_html__( 'The expire date and time after which the coupon can no longer be used.', 'ultimate-coupone' ) ),
     220
     221            Field::make( 'text', 'ucfw_schedule_active_from', esc_html__( 'Daily Active Hours (Start)', 'ultimate-coupone' ) )
    222222                ->set_width( 50 )
    223223                ->set_attribute( 'readOnly', true )
    224224                ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    225                 ->set_help_text( esc_html__( 'The starting time from when the couple can be applied each day', 'ultimate-coupons-for-woocommerce-free' ) ),
    226 
    227             Field::make( 'text', 'ucfw_schedule_active_till', esc_html__( 'Daily Active Hours (End)', 'ultimate-coupons-for-woocommerce-free' ) )
     225                ->set_help_text( esc_html__( 'The starting time from when the couple can be applied each day', 'ultimate-coupone' ) ),
     226
     227            Field::make( 'text', 'ucfw_schedule_active_till', esc_html__( 'Daily Active Hours (End)', 'ultimate-coupone' ) )
    228228                ->set_width( 50 )
    229229                ->set_attribute( 'readOnly', true )
    230230                ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    231                 ->set_help_text( esc_html__( 'The ending time after when the couple cannot be applied for the day', 'ultimate-coupons-for-woocommerce-free' ) ),
    232 
    233             Field::make( 'text', 'ucfw_schedule_inactive_days', esc_html__( 'Inactive Days', 'ultimate-coupons-for-woocommerce-free' ) )
     231                ->set_help_text( esc_html__( 'The ending time after when the couple cannot be applied for the day', 'ultimate-coupone' ) ),
     232
     233            Field::make( 'text', 'ucfw_schedule_inactive_days', esc_html__( 'Inactive Days', 'ultimate-coupone' ) )
    234234                ->set_width( 50 )
    235235                ->set_attribute( 'readOnly', true )
    236236                ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    237                 ->set_help_text( esc_html__( 'Days in a week when the coupon cannot be applied.', 'ultimate-coupons-for-woocommerce-free' ) ),
     237                ->set_help_text( esc_html__( 'Days in a week when the coupon cannot be applied.', 'ultimate-coupone' ) ),
    238238
    239239            Field::make( 'html', 'ucfw_schedule_buy_premium')
     
    245245         * Share via url
    246246         */
    247         $this->singleFields->add_tab( esc_html__( 'URL', 'ultimate-coupons-for-woocommerce-free' ), apply_filters( 'ucfw_fields_url', array(
    248 
    249             Field::make( 'checkbox', 'ucfw_url_enabled', esc_html__( 'Enable URL', 'ultimate-coupons-for-woocommerce-free' ) )
     247        $this->singleFields->add_tab( esc_html__( 'URL', 'ultimate-coupone' ), apply_filters( 'ucfw_fields_url', array(
     248
     249            Field::make( 'checkbox', 'ucfw_url_enabled', esc_html__( 'Enable URL', 'ultimate-coupone' ) )
    250250                ->set_option_value( 'yes' )
    251                 ->set_help_text( esc_html__('Check this box to turn on all URL settings for this coupon.', 'ultimate-coupons-for-woocommerce-free' ) ),
    252 
    253             Field::make( 'html', 'ucfw_url_link', esc_html__( 'Link', 'ultimate-coupons-for-woocommerce-free' ) )
     251                ->set_help_text( esc_html__('Check this box to turn on all URL settings for this coupon.', 'ultimate-coupone' ) ),
     252
     253            Field::make( 'html', 'ucfw_url_link', esc_html__( 'Link', 'ultimate-coupone' ) )
    254254                ->set_html('
    255                     <label><strong>' . esc_html__( 'Link', 'ultimate-coupons-for-woocommerce-free' ) .'</strong></label>
     255                    <label><strong>' . esc_html__( 'Link', 'ultimate-coupone' ) .'</strong></label>
    256256                    <input type="text" class="cf-text__input" value="' . esc_url( $referralLink ) . '" readonly>
    257257                ')
    258                 ->set_help_text( esc_html__('Use this link to directly shop with this coupon.', 'ultimate-coupons-for-woocommerce-free' ) ),
    259 
    260             Field::make( 'text', 'ucfw_url_custom_code', esc_html__( 'Custom Code', 'ultimate-coupons-for-woocommerce-free' ) )
     258                ->set_help_text( esc_html__('Use this link to directly shop with this coupon.', 'ultimate-coupone' ) ),
     259
     260            Field::make( 'text', 'ucfw_url_custom_code', esc_html__( 'Custom Code', 'ultimate-coupone' ) )
    261261                ->set_attribute( 'readOnly', true )
    262262                ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    263                 ->set_help_text( esc_html__('Use this link to directly shop with this coupon.', 'ultimate-coupons-for-woocommerce-free' ) ),
     263                ->set_help_text( esc_html__('Use this link to directly shop with this coupon.', 'ultimate-coupone' ) ),
    264264           
    265265            Field::make( 'html', 'ucfw_url_buy_premium' )
     
    271271         * User restrictions
    272272         */
    273         $this->singleFields->add_tab( esc_html__( 'Restrictions', 'ultimate-coupons-for-woocommerce-free' ), apply_filters( 'ucfw_fields_restrictions', array(
    274 
    275             Field::make( 'checkbox', 'ucfw_restriction_enabled', esc_html__( 'Enable Restriction', 'ultimate-coupons-for-woocommerce-free' ) )
     273        $this->singleFields->add_tab( esc_html__( 'Restrictions', 'ultimate-coupone' ), apply_filters( 'ucfw_fields_restrictions', array(
     274
     275            Field::make( 'checkbox', 'ucfw_restriction_enabled', esc_html__( 'Enable Restriction', 'ultimate-coupone' ) )
    276276                ->set_option_value( 'yes' )
    277                 ->set_help_text( esc_html__('Check this box to turn on all restriction settings for this coupon.', 'ultimate-coupons-for-woocommerce-free' ) ),
    278 
    279             Field::make( 'select', 'ucfw_restriction_user_allow_type', esc_html__( 'Allow/Disallow', 'ultimate-coupons-for-woocommerce-free' ) )
     277                ->set_help_text( esc_html__('Check this box to turn on all restriction settings for this coupon.', 'ultimate-coupone' ) ),
     278
     279            Field::make( 'select', 'ucfw_restriction_user_allow_type', esc_html__( 'Allow/Disallow', 'ultimate-coupone' ) )
    280280                ->set_width( 50 )
    281281                ->add_options( array(
    282                     'allowed'  => esc_html__( 'Allow User', 'ultimate-coupons-for-woocommerce-free' ),
    283                     'disallow' => esc_html__( 'Disallow User', 'ultimate-coupons-for-woocommerce-free' ),
     282                    'allowed'  => esc_html__( 'Allow User', 'ultimate-coupone' ),
     283                    'disallow' => esc_html__( 'Disallow User', 'ultimate-coupone' ),
    284284                ) ),
    285285
    286             Field::make( 'multiselect', 'ucfw_restriction_user_roles', esc_html__( 'User Roles', 'ultimate-coupons-for-woocommerce-free' ) )
     286            Field::make( 'multiselect', 'ucfw_restriction_user_roles', esc_html__( 'User Roles', 'ultimate-coupone' ) )
    287287                ->set_width( 50 )
    288288                ->add_options( $this->helper->getUserRoles( true ) ),
    289289
    290             Field::make( 'text', 'ucfw_restriction_shipping', esc_html__( 'Shipping Method Restriction', 'ultimate-coupons-for-woocommerce-free' ) )
     290            Field::make( 'text', 'ucfw_restriction_shipping', esc_html__( 'Shipping Method Restriction', 'ultimate-coupone' ) )
    291291                ->set_attribute( 'readOnly', true )
    292292                ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    293                 ->set_help_text( esc_html__( 'Shipping methods that cannot be used with this coupon.', 'ultimate-coupons-for-woocommerce-free' ) ),
    294            
    295             Field::make( 'text', 'ucfw_restriction_payment', esc_html__( 'Payment Method Restriction', 'ultimate-coupons-for-woocommerce-free' ) )
     293                ->set_help_text( esc_html__( 'Shipping methods that cannot be used with this coupon.', 'ultimate-coupone' ) ),
     294           
     295            Field::make( 'text', 'ucfw_restriction_payment', esc_html__( 'Payment Method Restriction', 'ultimate-coupone' ) )
    296296                ->set_attribute('readOnly', true )
    297297                ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    298                 ->set_help_text( esc_html__( 'Payment methods that cannot be used with this coupon.', 'ultimate-coupons-for-woocommerce-free' ) ),
     298                ->set_help_text( esc_html__( 'Payment methods that cannot be used with this coupon.', 'ultimate-coupone' ) ),
    299299           
    300300            Field::make( 'html', 'ucfw_restriction_buy_premium' )
     
    311311    public function globalFields()
    312312    {   
    313         $this->globalFields = Container::make( 'theme_options', 'ucfw_global_settings', esc_html__( 'UCFW Settings', 'ultimate-coupons-for-woocommerce-free' ) );
     313        $this->globalFields = Container::make( 'theme_options', 'ucfw_global_settings', esc_html__( 'UCFW Settings', 'ultimate-coupone' ) );
    314314        $this->globalFields->set_page_menu_position( 58 );
    315315        $this->globalFields->set_icon( UCFW_RESOURCES . '/images/ucfw-icon.png' );
     
    318318         * Get started
    319319         */
    320         Container::make( 'theme_options', esc_html__( 'Get Started', 'ultimate-coupons-for-woocommerce-free' ) )
     320        Container::make( 'theme_options', esc_html__( 'Get Started', 'ultimate-coupone' ) )
    321321            ->set_page_parent( $this->globalFields )
    322322            ->set_page_menu_position( 1 )
     
    327327                        <div class="ucfw-admin-card-section">
    328328                            <img class="ucfw-logo" src="' . UCFW_RESOURCES . '/images/UCFW-Logo.png">
    329                             <h3>' . esc_html__( 'An e-commerce discount and marketing plugin for WooCommerce. Powered by Jompha.', 'ultimate-coupons-for-woocommerce-free' ) . '</h3>
     329                            <h3>' . esc_html__( 'An e-commerce discount and marketing plugin for WooCommerce. Powered by Jompha.', 'ultimate-coupone' ) . '</h3>
    330330                        </div>
    331331                    </div>
     
    333333                        <div class="ucfw-admin-card-section">
    334334                            <ul class="ucfw-useful-links">
    335                                 <li><span class="dashicons dashicons-align-right"></span> <a target="_blank" href="//docs.jompha.com/ultimate-coupons-for-woocommerce">' . esc_html__( 'Docs', 'ultimate-coupons-for-woocommerce-free' ) . '</a></li>
    336                                 <li><span class="dashicons dashicons-groups"></span> <a target="_blank" href="//forum.jompha.com">' . esc_html__( 'Community', 'ultimate-coupons-for-woocommerce-free' ) . '</a></li>
    337                                 <li><span class="dashicons dashicons-video-alt3"></span> <a target="_blank" href="//www.youtube.com/channel/UCuQ4vwfvcVHQNci8YPZObNw">' . esc_html__( 'Video Tutorials', 'ultimate-coupons-for-woocommerce-free' ) . '</a></li>
    338                                 <li><span class="dashicons dashicons-format-chat"></span> <a target="_blank" href="//support.jompha.com">' . esc_html__( 'Premium Support', 'ultimate-coupons-for-woocommerce-free' ) . '</a></li>
     335                                <li><span class="dashicons dashicons-align-right"></span> <a target="_blank" href="//docs.jompha.com/ultimate-coupons-for-woocommerce">' . esc_html__( 'Docs', 'ultimate-coupone' ) . '</a></li>
     336                                <li><span class="dashicons dashicons-groups"></span> <a target="_blank" href="//forum.jompha.com">' . esc_html__( 'Community', 'ultimate-coupone' ) . '</a></li>
     337                                <li><span class="dashicons dashicons-video-alt3"></span> <a target="_blank" href="//www.youtube.com/channel/UCuQ4vwfvcVHQNci8YPZObNw">' . esc_html__( 'Video Tutorials', 'ultimate-coupone' ) . '</a></li>
     338                                <li><span class="dashicons dashicons-format-chat"></span> <a target="_blank" href="//support.jompha.com">' . esc_html__( 'Premium Support', 'ultimate-coupone' ) . '</a></li>
    339339                            </ul>
    340                             <iframe width="100%" height="500" src="//www.youtube.com/embed/videoseries?list=PLTPbwDUoP5WQQ4bowW9T0voOpFC6VaI5O" title="'. esc_html__( 'Introduction video', 'ultimate-coupons-for-woocommerce-free' ) .'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
     340                            <iframe width="100%" height="500" src="//www.youtube.com/embed/videoseries?list=PLTPbwDUoP5WQQ4bowW9T0voOpFC6VaI5O" title="'. esc_html__( 'Introduction video', 'ultimate-coupone' ) .'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    341341
    342342                        </div>
     
    346346                            <div class="ucfw-pricing-container">
    347347                                <div class="ucfw-pricing-plan">
    348                                     <div class="ucfw-pricing-title">' . esc_html__( 'Individuals', 'ultimate-coupons-for-woocommerce-free' ) . '</div>
     348                                    <div class="ucfw-pricing-title">' . esc_html__( 'Individuals', 'ultimate-coupone' ) . '</div>
    349349                                    <ul class="ucfw-pricing-features">
    350                                         <li>' . esc_html__( '1 Site License', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    351                                         <li>' . esc_html__( '1 Year Updates', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    352                                         <li>' . esc_html__( 'Priority Support', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
     350                                        <li>' . esc_html__( '1 Site License', 'ultimate-coupone' ) . '</li>
     351                                        <li>' . esc_html__( '1 Year Updates', 'ultimate-coupone' ) . '</li>
     352                                        <li>' . esc_html__( 'Priority Support', 'ultimate-coupone' ) . '</li>
    353353                                    </ul>
    354                                     <div class="ucfw-pricing-price"><span> ' . esc_html__( '$100', 'ultimate-coupons-for-woocommerce-free' ) . '</span>' . esc_html__( '$49', 'ultimate-coupons-for-woocommerce-free' ) . '</div>
     354                                    <div class="ucfw-pricing-price"><span> ' . esc_html__( '$100', 'ultimate-coupone' ) . '</div>
    355355                                </div>
    356356                                <div class="ucfw-pricing-plan">
    357                                     <div class="ucfw-pricing-title">' . esc_html__( 'Freelancers', 'ultimate-coupons-for-woocommerce-free' ) . '</div>
     357                                    <div class="ucfw-pricing-title">' . esc_html__( 'Freelancers', 'ultimate-coupone' ) . '</div>
    358358                                    <ul class="ucfw-pricing-features">
    359                                         <li>' . esc_html__( '5 Site License', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    360                                         <li>' . esc_html__( '1 Year Updates', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    361                                         <li>' . esc_html__( 'Priority Support', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
     359                                        <li>' . esc_html__( '5 Site License', 'ultimate-coupone' ) . '</li>
     360                                        <li>' . esc_html__( '1 Year Updates', 'ultimate-coupone' ) . '</li>
     361                                        <li>' . esc_html__( 'Priority Support', 'ultimate-coupone' ) . '</li>
    362362                                    </ul>
    363                                     <div class="ucfw-pricing-price"><span>' . esc_html__( '$300', 'ultimate-coupons-for-woocommerce-free' ) . '</span>' . esc_html__( '$149', 'ultimate-coupons-for-woocommerce-free' ) . '</div>
     363                                    <div class="ucfw-pricing-price"><span>' . esc_html__( '$300', 'ultimate-coupone' ) . '</div>
    364364                                </div>
    365365                                <div class="ucfw-pricing-plan">
    366                                     <div class="ucfw-pricing-title">' . esc_html__( 'Agency', 'ultimate-coupons-for-woocommerce-free' ) . '</div>
     366                                    <div class="ucfw-pricing-title">' . esc_html__( 'Agency', 'ultimate-coupone' ) . '</div>
    367367                                    <ul class="ucfw-pricing-features">
    368                                         <li>' . esc_html__( '12 Site License', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    369                                         <li>' . esc_html__( '1 Year Updates', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
    370                                         <li>' . esc_html__( 'Priority Support', 'ultimate-coupons-for-woocommerce-free' ) . '</li>
     368                                        <li>' . esc_html__( '12 Site License', 'ultimate-coupone' ) . '</li>
     369                                        <li>' . esc_html__( '1 Year Updates', 'ultimate-coupone' ) . '</li>
     370                                        <li>' . esc_html__( 'Priority Support', 'ultimate-coupone' ) . '</li>
    371371                                    </ul>
    372                                     <div class="ucfw-pricing-price"><span>' . esc_html__( '$600', 'ultimate-coupons-for-woocommerce-free' ) . '</span>' . esc_html__( '$299', 'ultimate-coupons-for-woocommerce-free' ) . '</div>
     372                                    <div class="ucfw-pricing-price"><span>' . esc_html__( '$600', 'ultimate-coupone' ) . '</div>
    373373                                </div>
    374374                            </div>
    375375                            <div class="ucfw-buttom">
    376                                 <a target="_blank" href="//jompha.com/ultimate-coupons-for-woocommerce/">' . esc_html__( 'Get Premium', 'ultimate-coupons-for-woocommerce-free' ) . '</a>
     376                                <a target="_blank" href="//jompha.com/ultimate-coupons-for-woocommerce/">' . esc_html__( 'Get Premium', 'ultimate-coupone' ) . '</a>
    377377                            </div>
    378378                            <img class="ucfw-pricing-moneyback" src="' . UCFW_RESOURCES . '/images/14days-moneyback-guarantee.png">
     
    385385         * General
    386386         */
    387         $this->globalFields->add_tab( esc_html__( 'General', 'ultimate-coupons-for-woocommerce-free' ), apply_filters( 'ucfw_global_general', array(
    388 
    389             Field::make( 'text', 'ucfw_global_settings_cprefix', esc_html__( 'Coupon Prefix', 'ultimate-coupons-for-woocommerce-free' ) ),
    390            
    391             Field::make( 'text', 'ucfw_global_settings_csuffix', esc_html__( 'Coupon Suffix', 'ultimate-coupons-for-woocommerce-free' ) ),
    392 
    393             Field::make( 'text', 'ucfw_global_settings_clength', esc_html__( 'Coupon Length', 'ultimate-coupons-for-woocommerce-free' ) ),
    394 
    395             Field::make( 'separator', 'ucfw_global_deals_intro', esc_html__( 'Deals', 'ultimate-coupons-for-woocommerce-free' ) ),
    396 
    397             Field::make( 'text', 'ucfw_deals_apply_item_background_color', esc_html__( 'Cart Apply Item Background Color', 'ultimate-coupons-for-woocommerce-free' ) )
     387        $this->globalFields->add_tab( esc_html__( 'General', 'ultimate-coupone' ), apply_filters( 'ucfw_global_general', array(
     388
     389            Field::make( 'text', 'ucfw_global_settings_cprefix', esc_html__( 'Coupon Prefix', 'ultimate-coupone' ) ),
     390           
     391            Field::make( 'text', 'ucfw_global_settings_csuffix', esc_html__( 'Coupon Suffix', 'ultimate-coupone' ) ),
     392
     393            Field::make( 'text', 'ucfw_global_settings_clength', esc_html__( 'Coupon Length', 'ultimate-coupone' ) ),
     394
     395            Field::make( 'separator', 'ucfw_global_deals_intro', esc_html__( 'Deals', 'ultimate-coupone' ) ),
     396
     397            Field::make( 'text', 'ucfw_deals_apply_item_background_color', esc_html__( 'Cart Apply Item Background Color', 'ultimate-coupone' ) )
    398398                ->set_attribute( 'readOnly', true )
    399399                ->set_attribute( 'placeholder', $this->premiumPlaceholder() ),
    400400
    401             Field::make( 'text', 'ucfw_deals_apply_item_border_color', esc_html__( 'Cart Apply Item Border Color', 'ultimate-coupons-for-woocommerce-free' ) )
     401            Field::make( 'text', 'ucfw_deals_apply_item_border_color', esc_html__( 'Cart Apply Item Border Color', 'ultimate-coupone' ) )
    402402                ->set_attribute( 'readOnly', true )
    403403                ->set_attribute( 'placeholder', $this->premiumPlaceholder() ),
    404404           
    405             Field::make( 'text', 'ucfw_deals_apply_item_border_width', esc_html__( 'Cart Apply Item Border Width', 'ultimate-coupons-for-woocommerce-free' ) )
     405            Field::make( 'text', 'ucfw_deals_apply_item_border_width', esc_html__( 'Cart Apply Item Border Width', 'ultimate-coupone' ) )
    406406                ->set_attribute( 'readOnly', true )
    407407                ->set_attribute( 'placeholder', $this->premiumPlaceholder() ),
     
    415415         * Templates
    416416         */
    417         $this->globalFields->add_tab( esc_html__( 'Templates', 'ultimate-coupons-for-woocommerce-free' ), apply_filters( 'ucfw_global_templates', array(
    418 
    419             Field::make( 'checkbox', 'ucfw_template_enabled', esc_html__( 'Enable Templates', 'ultimate-coupons-for-woocommerce-free' ) )
     417        $this->globalFields->add_tab( esc_html__( 'Templates', 'ultimate-coupone' ), apply_filters( 'ucfw_global_templates', array(
     418
     419            Field::make( 'checkbox', 'ucfw_template_enabled', esc_html__( 'Enable Templates', 'ultimate-coupone' ) )
    420420            ->set_option_value( 'yes' )
    421             ->set_help_text( esc_html__( 'Enable templates for Coupons (Popup / Header / Footer)', 'ultimate-coupons-for-woocommerce-free' ) ),
    422 
    423             Field::make( 'select', 'ucfw_template_coupons', esc_html__( 'Select Coupons', 'ultimate-coupons-for-woocommerce-free' ) )
    424             ->add_options( array_merge( array( '' => esc_html__( 'Select', 'ultimate-coupons-for-woocommerce-free' ) ), $this->helper->getAllCoupons() ) )
     421            ->set_help_text( esc_html__( 'Enable templates for Coupons (Popup / Header / Footer)', 'ultimate-coupone' ) ),
     422
     423            Field::make( 'select', 'ucfw_template_coupons', esc_html__( 'Select Coupons', 'ultimate-coupone' ) )
     424            ->add_options( array_merge( array( '' => esc_html__( 'Select', 'ultimate-coupone' ) ), $this->helper->getAllCoupons() ) )
    425425            ->set_width( 50 ),
    426426
    427427            //Premium placeholder
    428             Field::make( 'text', 'ucfw_template_restricted_user_roles', esc_html__( 'Restricted Roles', 'ultimate-coupons-for-woocommerce-free' ) )
     428            Field::make( 'text', 'ucfw_template_restricted_user_roles', esc_html__( 'Restricted Roles', 'ultimate-coupone' ) )
    429429                ->set_attribute( 'readOnly', true )
    430430                ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    431                 ->set_help_text( esc_html__( 'Select restricted user roles.', 'ultimate-coupons-for-woocommerce-free' ) )
     431                ->set_help_text( esc_html__( 'Select restricted user roles.', 'ultimate-coupone' ) )
    432432                ->set_width( 50 ),
    433433           
    434             Field::make( 'select', 'ucfw_template_type', esc_html__( 'Display Type', 'ultimate-coupons-for-woocommerce-free' ) )
     434            Field::make( 'select', 'ucfw_template_type', esc_html__( 'Display Type', 'ultimate-coupone' ) )
    435435            ->add_options( array(
    436                 'popup'       => esc_html__( 'Popup', 'ultimate-coupons-for-woocommerce-free' ),
    437                 'header-free' => esc_html__( 'Header (Premium)', 'ultimate-coupons-for-woocommerce-free' ),
    438                 'footer-free' => esc_html__( 'Footer (Premium)', 'ultimate-coupons-for-woocommerce-free' ),
     436                'popup'       => esc_html__( 'Popup', 'ultimate-coupone' ),
     437                'header-free' => esc_html__( 'Header (Premium)', 'ultimate-coupone' ),
     438                'footer-free' => esc_html__( 'Footer (Premium)', 'ultimate-coupone' ),
    439439            ) )
    440440            ->set_width( 50 ),
    441441           
    442             Field::make( 'text', 'ucfw_template_title', esc_html__( 'Title', 'ultimate-coupons-for-woocommerce-free' ) )
     442            Field::make( 'text', 'ucfw_template_title', esc_html__( 'Title', 'ultimate-coupone' ) )
    443443            ->set_width( 50 ),
    444444
    445             Field::make( 'image', 'ucfw_template_image', esc_html__( 'Photo', 'ultimate-coupons-for-woocommerce-free' ) )
     445            Field::make( 'image', 'ucfw_template_image', esc_html__( 'Photo', 'ultimate-coupone' ) )
    446446            ->set_value_type( 'url' )
    447447            ->set_width( 50 ),
    448448
    449             Field::make( 'textarea', 'ucfw_template_description', esc_html__( 'Short Description', 'ultimate-coupons-for-woocommerce-free' ) )
     449            Field::make( 'textarea', 'ucfw_template_description', esc_html__( 'Short Description', 'ultimate-coupone' ) )
    450450            ->set_width( 50 ),
    451451           
     
    471471         * Wheel game
    472472         */
    473         $this->globalFields->add_tab( esc_html__( 'Wheel', 'ultimate-coupons-for-woocommerce-free' ), apply_filters( 'ucfw_global_wheel', array(
    474 
    475             Field::make( 'html', 'ucfw_wheel_options', esc_html__( 'Wheel Options', 'ultimate-coupons-for-woocommerce-free' ) )
     473        $this->globalFields->add_tab( esc_html__( 'Wheel', 'ultimate-coupone' ), apply_filters( 'ucfw_global_wheel', array(
     474
     475            Field::make( 'html', 'ucfw_wheel_options', esc_html__( 'Wheel Options', 'ultimate-coupone' ) )
    476476            ->set_html(
    477477                sprintf(
    478                     '<h1>' . esc_html__( 'Wheel', 'ultimate-coupons-for-woocommerce-free' ) . '</h1>
     478                    '<h1>' . esc_html__( 'Wheel', 'ultimate-coupone' ) . '</h1>
    479479                    <img src="%s">',
    480480                    UCFW_RESOURCES . '/images/wheel_banner.png'
     
    483483
    484484            //Premium placeholder
    485             Field::make( 'text', 'ucfw_wheel_shortcode', esc_html__( 'Shortcode', 'ultimate-coupons-for-woocommerce-free' ) )
     485            Field::make( 'text', 'ucfw_wheel_shortcode', esc_html__( 'Shortcode', 'ultimate-coupone' ) )
    486486                ->set_attribute( 'readOnly', true )
    487487                ->set_attribute( 'placeholder', $this->premiumPlaceholder() ),
    488488
    489             Field::make( 'text', 'ucfw_wheel_tries_limit', esc_html__( 'Limit', 'ultimate-coupons-for-woocommerce-free' ) )
     489            Field::make( 'text', 'ucfw_wheel_tries_limit', esc_html__( 'Limit', 'ultimate-coupone' ) )
    490490                ->set_attribute( 'readOnly', true )
    491491                ->set_attribute( 'placeholder', $this->premiumPlaceholder() ),
    492492
    493             Field::make( 'complex', 'ucfw_wheel_slots', esc_html__( 'Slots', 'ultimate-coupons-for-woocommerce-free' ) )
     493            Field::make( 'complex', 'ucfw_wheel_slots', esc_html__( 'Slots', 'ultimate-coupone' ) )
    494494                ->setup_labels( array(
    495                     'plural_name' => esc_html__( 'Slots', 'ultimate-coupons-for-woocommerce-free' ),
    496                     'singular_name' => esc_html__( 'Slot', 'ultimate-coupons-for-woocommerce-free' ),
     495                    'plural_name' => esc_html__( 'Slots', 'ultimate-coupone' ),
     496                    'singular_name' => esc_html__( 'Slot', 'ultimate-coupone' ),
    497497                ) )
    498498                ->set_max( 1 )
    499499                ->add_fields( array(
    500500
    501                     Field::make( 'text', 'ucfw_slot_text', esc_html__( 'Text', 'ultimate-coupons-for-woocommerce-free' ) )
     501                    Field::make( 'text', 'ucfw_slot_text', esc_html__( 'Text', 'ultimate-coupone' ) )
    502502                        ->set_attribute( 'readOnly', true )
    503503                        ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    504504                        ->set_width( 50 ),
    505505
    506                     Field::make( 'text', 'ucfw_slot_coupon', esc_html__( 'Coupon', 'ultimate-coupons-for-woocommerce-free' ) )
     506                    Field::make( 'text', 'ucfw_slot_coupon', esc_html__( 'Coupon', 'ultimate-coupone' ) )
    507507                        ->set_attribute( 'readOnly', true )
    508508                        ->set_attribute( 'placeholder', $this->premiumPlaceholder() )
    509509                        ->set_width( 50 ),
    510510
    511                     Field::make( 'text', 'ucfw_slot_message', esc_html__( 'Message', 'ultimate-coupons-for-woocommerce-free' ) )
     511                    Field::make( 'text', 'ucfw_slot_message', esc_html__( 'Message', 'ultimate-coupone' ) )
    512512                        ->set_attribute( 'readOnly', true )
    513513                        ->set_attribute( 'placeholder', $this->premiumPlaceholder() ),
     
    523523         * Bulk generation
    524524         */
    525         $this->globalFields->add_tab( esc_html__( 'Bulk', 'ultimate-coupons-for-woocommerce-free' ), apply_filters( 'ucfw_global_generate_bulk', array(
     525        $this->globalFields->add_tab( esc_html__( 'Bulk', 'ultimate-coupone' ), apply_filters( 'ucfw_global_generate_bulk', array(
    526526           
    527527            //Premium placeholder
     
    548548        add_submenu_page(
    549549            'crb_carbon_fields_container_ucfw_global_settings.php',
    550             esc_html__( 'UCFW Settings', 'ultimate-coupons-for-woocommerce-free' ),
    551             esc_html__( 'Settings', 'ultimate-coupons-for-woocommerce-free' ),
     550            esc_html__( 'UCFW Settings', 'ultimate-coupone' ),
     551            esc_html__( 'Settings', 'ultimate-coupone' ),
    552552            'manage_options',
    553553            'crb_carbon_fields_container_ucfw_global_settings.php'
     
    556556        add_submenu_page(
    557557            'crb_carbon_fields_container_ucfw_global_settings.php',
    558             esc_html__( 'Coupons', 'ultimate-coupons-for-woocommerce-free' ),
    559             esc_html__( 'Coupons', 'ultimate-coupons-for-woocommerce-free' ),
     558            esc_html__( 'Coupons', 'ultimate-coupone' ),
     559            esc_html__( 'Coupons', 'ultimate-coupone' ),
    560560            'manage_options',
    561561            '/edit.php?post_type=shop_coupon'
     
    567567                'crb_carbon_fields_container_ucfw_global_settings.php',
    568568                '',
    569                 '<span class="dashicons dashicons-superhero-alt"></span>' . esc_html__( 'Get Premium', 'ultimate-coupons-for-woocommerce-free' ),
     569                '<span class="dashicons dashicons-superhero-alt"></span>' . esc_html__( 'Get Premium', 'ultimate-coupone' ),
    570570                'manage_options',
    571571                'https://jompha.com/ultimate-coupons-for-woocommerce',
     
    612612        woocommerce_wp_text_input( array(
    613613            'id'                => 'ucfw_max_discount',
    614             'label'             => esc_html__( 'Maximum Discount', 'ultimate-coupons-for-woocommerce-free' ),
    615             'placeholder'       => esc_html__( 'Unlimited discount (Powered by Ultimate Coupons for WooCommerce)', 'ultimate-coupons-for-woocommerce-free' ),
    616             'description'       => esc_html__( 'Maximum discount amount this coupon can provide.', 'ultimate-coupons-for-woocommerce-free' ),
     614            'label'             => esc_html__( 'Maximum Discount', 'ultimate-coupone' ),
     615            'placeholder'       => esc_html__( 'Unlimited discount (Powered by Ultimate Coupons for WooCommerce)', 'ultimate-coupone' ),
     616            'description'       => esc_html__( 'Maximum discount amount this coupon can provide.', 'ultimate-coupone' ),
    617617            'type'              => 'number',
    618618            'desc_tip'          => true,
  • ultimate-coupon-for-woocommerce/trunk/classes/Admin/Initialize.class.php

    r2599318 r2600081  
    8989                        <div class="ucfw-pricing-container">
    9090                            <div class="ucfw-pricing-plan">
    91                             <div class="ucfw-pricing-title"><?php echo esc_html__( 'Individuals', 'ultimate-coupons-for-woocommerce-free' ); ?></div>
     91                            <div class="ucfw-pricing-title"><?php echo esc_html__( 'Individuals', 'ultimate-coupone' ); ?></div>
    9292                            <ul class="ucfw-pricing-features">
    93                                 <li><?php echo esc_html__( 'Regular Updates', 'ultimate-coupons-for-woocommerce-free' ); ?></li>
    94                                 <li><?php echo esc_html__( 'Priority Support', 'ultimate-coupons-for-woocommerce-free' ); ?></li>
     93                                <li><?php echo esc_html__( 'Regular Updates', 'ultimate-coupone' ); ?></li>
     94                                <li><?php echo esc_html__( 'Priority Support', 'ultimate-coupone' ); ?></li>
    9595                            </ul>
    9696                                <div class="ucfw-pricing-price">
    97                                     <span><?php echo esc_html__( '$100', 'ultimate-coupons-for-woocommerce-free' ); ?></span>
    98                                     <?php echo esc_html__( '$49', 'ultimate-coupons-for-woocommerce-free' ); ?>
     97                                    <span><?php echo esc_html__( '$100', 'ultimate-coupone' ); ?></span>
     98                                    <?php echo esc_html__( '$49', 'ultimate-coupone' ); ?>
    9999                                </div>
    100100                            </div>
     
    107107                                <br><br>
    108108                                <h3>
    109                                     <strong><?php echo esc_html__( 'Unlock all premium features at a discounted price!', 'ultimate-coupons-for-woocommerce-free' ); ?></strong>
     109                                    <strong><?php echo esc_html__( 'Unlock all premium features at a discounted price!', 'ultimate-coupone' ); ?></strong>
    110110                                </h3>
    111111                                <a target="_blank" href="//jompha.com/ultimate-coupons-for-woocommerce" class="ui positive labeled icon button">
    112                                     <?php echo esc_html__( 'Get Premium', 'ultimate-coupons-for-woocommerce-free' ); ?><i class="checkmark icon"></i>
     112                                    <?php echo esc_html__( 'Get Premium', 'ultimate-coupone' ); ?><i class="checkmark icon"></i>
    113113                                </a>
    114114                            </div>
  • ultimate-coupon-for-woocommerce/trunk/classes/Front/Conditions.class.php

    r2599318 r2600081  
    5656            {
    5757                WC()->cart->remove_coupon( $code );
    58                 wc_add_notice( esc_html__('Cart conditions no longer match for this coupon. It has been removed.', 'ultimate-coupons-for-woocommerce-free'), 'error' );
     58                wc_add_notice( esc_html__('Cart conditions no longer match for this coupon. It has been removed.', 'ultimate-coupone'), 'error' );
    5959            }
    6060        }
     
    116116        if ( !$groupResult )
    117117        {
    118             throw new \Exception( esc_html__( 'Cart conditions do not match for this coupon!', 'ultimate-coupons-for-woocommerce-free' ) );
     118            throw new \Exception( esc_html__( 'Cart conditions do not match for this coupon!', 'ultimate-coupone' ) );
    119119            return false;
    120120        }
  • ultimate-coupon-for-woocommerce/trunk/classes/Front/Deals.class.php

    r2599318 r2600081  
    267267        if ( 'yes' !== $allow && $isUsed )
    268268        {
    269             wc_add_notice( esc_html__( 'You\'ve already got the deals.', 'ultimate-coupons-for-woocommerce-free' ), 'error' );
     269            wc_add_notice( esc_html__( 'You\'ve already got the deals.', 'ultimate-coupone' ), 'error' );
    270270            return;
    271271        }
     
    330330
    331331            WC()->session->set( 'ucfw_cart_coupon_applied_' . $this->couponCode, 'yes' );
    332             wc_add_notice( esc_html__( 'Congratulations! You got a new deal.', 'ultimate-coupons-for-woocommerce-free' ), 'success' );
     332            wc_add_notice( esc_html__( 'Congratulations! You got a new deal.', 'ultimate-coupone' ), 'success' );
    333333        }
    334334    }
  • ultimate-coupon-for-woocommerce/trunk/classes/Front/Restrictions.class.php

    r2599318 r2600081  
    4545        if ( !empty($restrictionRoles) && ( ( 'allowed' === $restrictionType && empty($intersect)) || ( 'allowed' !== $restrictionType && !empty($intersect) ) ) )
    4646        {
    47             throw new \Exception( esc_html__( 'Sorry, you are not eligible to use this coupon.', 'ultimate-coupons-for-woocommerce-free' ) );
     47            throw new \Exception( esc_html__( 'Sorry, you are not eligible to use this coupon.', 'ultimate-coupone' ) );
    4848            return false;
    4949        }
  • ultimate-coupon-for-woocommerce/trunk/classes/Front/Schedule.class.php

    r2599318 r2600081  
    4747            {
    4848                throw new \Exception(
    49                     sprintf( esc_html__( 'Sorry, this coupon will be available after %s.', 'ultimate-coupons-for-woocommerce-free' ), date('l d F h:i A, Y', $unix ) )
     49                    sprintf( esc_html__( 'Sorry, this coupon will be available after %s.', 'ultimate-coupone' ), date('l d F h:i A, Y', $unix ) )
    5050                );
    5151                return false;
     
    6262            {
    6363                throw new \Exception(
    64                     sprintf( esc_html__( 'Sorry, this coupon expired on %s.', 'ultimate-coupons-for-woocommerce-free' ), date('l d F h:i A, Y', $unix ) )
     64                    sprintf( esc_html__( 'Sorry, this coupon expired on %s.', 'ultimate-coupone' ), date('l d F h:i A, Y', $unix ) )
    6565                );
    6666                return false;
  • ultimate-coupon-for-woocommerce/trunk/classes/Front/Templates.class.php

    r2599318 r2600081  
    5959
    6060                <?php if ($this->popupImage) { ?>
    61                     <img src="<?php echo esc_url( $this->popupImage ); ?>" alt="<?php echo esc_html__( 'Avatar', 'ultimate-coupons-for-woocommerce-free' ); ?>" style="width: 100%;">
     61                    <img src="<?php echo esc_url( $this->popupImage ); ?>" alt="<?php echo esc_html__( 'Avatar', 'ultimate-coupone' ); ?>" style="width: 100%;">
    6262                <?php } ?>
    6363
     
    6969                <div class="ucfw-popup-container ucfw-ct-footer">
    7070                    <p>
    71                         <?php echo esc_html__( 'Use Promo Code:', 'ultimate-coupons-for-woocommerce-free' ); ?> <span class="code"><?php echo esc_html( $this->couponCode ); ?></span>
     71                        <?php echo esc_html__( 'Use Promo Code:', 'ultimate-coupone' ); ?> <span class="code"><?php echo esc_html( $this->couponCode ); ?></span>
    7272                    </p>
    7373                   
    7474                    <?php if ( isset($expiryDate) ) { ?>
    7575                    <p class="ucfw-expire">
    76                         <?php echo esc_html__( 'Expires:', 'ultimate-coupons-for-woocommerce-free' ); ?> <?php echo esc_html( $expiry_date ); ?>
     76                        <?php echo esc_html__( 'Expires:', 'ultimate-coupone' ); ?> <?php echo esc_html( $expiry_date ); ?>
    7777                    </p>
    7878                    <?php } ?>
  • ultimate-coupon-for-woocommerce/trunk/classes/Helper.class.php

    r2599318 r2600081  
    5656
    5757        if ( $guest )
    58             $roles['guest'] = esc_html__( 'Guest', 'ultimate-coupons-for-woocommerce-free' );
     58            $roles['guest'] = esc_html__( 'Guest', 'ultimate-coupone' );
    5959
    6060        return $roles;
  • ultimate-coupon-for-woocommerce/trunk/readme.txt

    r2599318 r2600081  
    55Requires at least: 4.0
    66Tested up to: 5.8
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.
    88Requires PHP: 5.4
    99License: GPLv3 or later
     
    198198== Installation ==
    199199
    200 1. Upload the plugin files to the `/wp-content/plugins/ultimate-coupons-for-woocommerce-free` directory, or install the plugin through the WordPress plugins screen directly.
     2001. Upload the plugin files to the `/wp-content/plugins/ultimate-coupone` directory, or install the plugin through the WordPress plugins screen directly.
    2012011. Activate the plugin through the 'Plugins' screen in WordPress
    2022021. Use the "UCFW Settings" menu to configure the plugin.
  • ultimate-coupon-for-woocommerce/trunk/render/Admin/js/conditions.js.php

    r2599318 r2600081  
    3838            <select class="ui fluid search normal dropdown">`;
    3939
    40         html += '<option value=""><?php echo esc_html__( 'Add condition', 'ultimate-coupons-for-woocommerce-free' ); ?></option>';
     40        html += '<option value=""><?php echo esc_html__( 'Add condition', 'ultimate-coupone' ); ?></option>';
    4141        for (var key in conditionalConfigurations)
    4242        {
     
    4444
    4545            if (conditionalConfigurations[key].hasOwnProperty("premiumholder") && conditionalConfigurations[key].premiumholder == true)
    46                 name   += " (<?php echo esc_html__( 'Premium', 'ultimate-coupons-for-woocommerce-free' ); ?>)";
     46                name   += " (<?php echo esc_html__( 'Premium', 'ultimate-coupone' ); ?>)";
    4747
    4848            html += '<option value="' + key + '">' + name + '</option>';
     
    5252        </div>
    5353        <span class="ucfw-remove-group" data-group-id="` + i + `" data-remove-group="yes">
    54             <span class="dashicons dashicons-no-alt"></span> <?php echo esc_html__( 'Remove', 'ultimate-coupons-for-woocommerce-free' ); ?>
     54            <span class="dashicons dashicons-no-alt"></span> <?php echo esc_html__( 'Remove', 'ultimate-coupone' ); ?>
    5555        </span>
    5656    </div>`;
     
    105105
    106106        html += `</div>
    107         <span class="remove" data-condition-id="` + condid + `" data-group-id="` + groupid + `" data-remove-condition="yes"><?php echo esc_html__( 'Remove', 'ultimate-coupons-for-woocommerce-free' ); ?></span>
     107        <span class="remove" data-condition-id="` + condid + `" data-group-id="` + groupid + `" data-remove-condition="yes"><?php echo esc_html__( 'Remove', 'ultimate-coupone' ); ?></span>
    108108    </div>`;
    109109
     
    250250    var html = `<div id="ucfw-logic-` + groupid + `" class="ucfw-logics">
    251251        <input type="hidden" name="_ucfw_groups[` + groupid + `][logic]" value="` + logic + `" data-group-id="` + groupid + `">
    252         <a class="` + andClass + `" data-logic="and"><?php echo esc_html__( 'And', 'ultimate-coupons-for-woocommerce-free' ); ?></a><a class="` + orClass + `" data-logic="or"><?php echo esc_html__( 'Or', 'ultimate-coupons-for-woocommerce-free' ); ?></a>
     252        <a class="` + andClass + `" data-logic="and"><?php echo esc_html__( 'And', 'ultimate-coupone' ); ?></a>
    253253    </div>`;
    254254    return html;
     
    265265    var html = `<div id="ucfw-group-` + groupid + `-logic-` + condid + `" class="ucfw-logics">
    266266        <input type="hidden" name="_ucfw_groups[` + groupid + `][conditions][` + condid + `][logic]" value="` + logic + `" data-group-id="` + groupid + `" data-condition-id="` + condid + `">
    267         <a class="` + andClass + `" data-logic="and"><?php echo esc_html__( 'And', 'ultimate-coupons-for-woocommerce-free' ); ?></a><a class="` + orClass + `" data-logic="or"><?php echo esc_html__( 'Or', 'ultimate-coupons-for-woocommerce-free' ); ?></a>
     267        <a class="` + andClass + `" data-logic="and"><?php echo esc_html__( 'And', 'ultimate-coupone' ); ?></a>
    268268    </div>`;
    269269    return html;
     
    348348        beforeSend: function()
    349349        {
    350             jQuery("#ucfw-btn-save-conditions").attr("disabled", true).text("<?php echo esc_html__( 'Saving...', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     350            jQuery("#ucfw-btn-save-conditions").attr("disabled", true).text("<?php echo esc_html__( 'Saving...', 'ultimate-coupone' ); ?>");
    351351        },
    352352        success: function(result)
    353353        {
    354             jQuery("#ucfw-btn-save-conditions").attr("disabled", false).removeClass("blue").addClass("positive").text("<?php echo esc_html__( 'Saved!', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     354            jQuery("#ucfw-btn-save-conditions").attr("disabled", false).removeClass("blue").addClass("positive").text("<?php echo esc_html__( 'Saved!', 'ultimate-coupone' ); ?>");
    355355
    356356            setTimeout(function()
    357357            {
    358                 jQuery("#ucfw-btn-save-conditions").removeClass("positive").addClass("blue").text("<?php echo esc_html__( 'Save Again', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     358                jQuery("#ucfw-btn-save-conditions").removeClass("positive").addClass("blue").text("<?php echo esc_html__( 'Save Again', 'ultimate-coupone' ); ?>");
    359359            }, 1500);
    360360        },
    361361        error: function(result)
    362362        {
    363             jQuery("#ucfw-btn-save-conditions").attr("disabled", false).removeClass("positive blue").addClass("negative").text("<?php echo esc_html__( 'Failed to save', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     363            jQuery("#ucfw-btn-save-conditions").attr("disabled", false).removeClass("positive blue").addClass("negative").text("<?php echo esc_html__( 'Failed to save', 'ultimate-coupone' ); ?>");
    364364
    365365            setTimeout(function()
    366366            {
    367                 jQuery("#ucfw-btn-save-conditions").removeClass("negative positive").addClass("blue").text("<?php echo esc_html__( 'Try Again', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     367                jQuery("#ucfw-btn-save-conditions").removeClass("negative positive").addClass("blue").text("<?php echo esc_html__( 'Try Again', 'ultimate-coupone' ); ?>");
    368368            }, 1500);
    369369        }
  • ultimate-coupon-for-woocommerce/trunk/render/Admin/js/deals.js.php

    r2599318 r2600081  
    22"use strict";
    33
    4 function ucfw_deals_add_target_item(itemId = '', itemName = '<?php echo esc_html__( 'Search...', 'ultimate-coupons-for-woocommerce-free' ); ?>', itemQuantity = 1)
     4function ucfw_deals_add_target_item(itemId = '', itemName = '<?php echo esc_html__( 'Search...', 'ultimate-coupone' ); ?>', itemQuantity = 1)
    55{
    66    var i = jQuery(".ucfw-deals-ts-group").length;
     
    1717        <td class="ucfw-deals-quantity">
    1818            <div class="ui fluid input">
    19                 <input type="number" placeholder="<?php echo esc_html__( 'Quantity', 'ultimate-coupons-for-woocommerce-free' ); ?>" name="_ucfw_deals[0][target][items][` + i + `][quantity][value]" value="` + itemQuantity + `">
     19                <input type="number" placeholder="<?php echo esc_html__( 'Quantity', 'ultimate-coupone' ); ?>" name="_ucfw_deals[0][target][items][` + i + `][quantity][value]" value="` + itemQuantity + `">
    2020            </div>
    2121        </td>
    2222        <td class="ucfw-deals-action">
    2323            <div class="ui mini buttons">
    24                 <button class="ui red button" data-target-group-id="` + i + `" data-remove-group="yes"><?php echo esc_html__( 'Remove', 'ultimate-coupons-for-woocommerce-free' ); ?></button>
     24                <button class="ui red button" data-target-group-id="` + i + `" data-remove-group="yes"><?php echo esc_html__( 'Remove', 'ultimate-coupone' ); ?></button>
    2525            </div>
    2626        </td>
     
    4545}
    4646
    47 function ucfw_deals_add_apply_item(itemId = '', itemName = '<?php echo esc_html__( 'Search...', 'ultimate-coupons-for-woocommerce-free' ); ?>', itemQuantity = 1, discountType = 'override', discountValue = 0)
     47function ucfw_deals_add_apply_item(itemId = '', itemName = '<?php echo esc_html__( 'Search...', 'ultimate-coupone' ); ?>', itemQuantity = 1, discountType = 'override', discountValue = 0)
    4848{
    4949    var i = jQuery(".ucfw-deals-as-group").length;
     
    5353   
    5454    var discountTypes = {
    55         override: "<?php echo esc_html__( 'Override Price', 'ultimate-coupons-for-woocommerce-free' ) . ' (' . get_woocommerce_currency_symbol() . ')'; ?>",
    56         percent: "<?php echo esc_html__( 'Percentage', 'ultimate-coupons-for-woocommerce-free' ) . ' (%)'; ?>",
    57         fixed: "<?php echo esc_html__( 'Fixed Discount', 'ultimate-coupons-for-woocommerce-free' ) . ' (-' . get_woocommerce_currency_symbol() . ')'; ?>"
     55        override: "<?php echo esc_html__( 'Override Price', 'ultimate-coupone' ) . ' (' . get_woocommerce_currency_symbol() . ')'; ?>",
     56        percent: "<?php echo esc_html__( 'Percentage', 'ultimate-coupone' ) . ' (%)'; ?>",
     57        fixed: "<?php echo esc_html__( 'Fixed Discount', 'ultimate-coupone' ) . ' (-' . get_woocommerce_currency_symbol() . ')'; ?>"
    5858    };
    5959
     
    8181        <td class="ucfw-deals-quantity">
    8282            <div class="ui fluid input">
    83                 <input type="number" placeholder="<?php echo esc_html__( 'Quantity', 'ultimate-coupons-for-woocommerce-free' ); ?>" name="_ucfw_deals[0][apply][items][` + i + `][quantity][value]" value="` + itemQuantity + `">
     83                <input type="number" placeholder="<?php echo esc_html__( 'Quantity', 'ultimate-coupone' ); ?>" name="_ucfw_deals[0][apply][items][` + i + `][quantity][value]" value="` + itemQuantity + `">
    8484            </div>
    8585        </td>
     
    9292                    <div class="menu">` + discountTypeHtml + `</div>
    9393                </div>
    94                 <input type="number" placeholder="<?php echo esc_html__( 'Amount', 'ultimate-coupons-for-woocommerce-free' ); ?>" name="_ucfw_deals[0][apply][items][` + i + `][discount][value]" value="` + discountValue + `">
     94                <input type="number" placeholder="<?php echo esc_html__( 'Amount', 'ultimate-coupone' ); ?>" name="_ucfw_deals[0][apply][items][` + i + `][discount][value]" value="` + discountValue + `">
    9595            </div>
    9696        </td>
    9797        <td class="ucfw-deals-action">
    9898            <div class="ui mini buttons">
    99                 <button class="ui red button" data-apply-group-id="` + i + `" data-remove-group="yes"><?php echo esc_html__( 'Remove', 'ultimate-coupons-for-woocommerce-free' ); ?></button>
     99                <button class="ui red button" data-apply-group-id="` + i + `" data-remove-group="yes"><?php echo esc_html__( 'Remove', 'ultimate-coupone' ); ?></button>
    100100            </div>
    101101        </td>
     
    131131            if ( _ucfw_deals_target_item_types[i].value === 'categories' )
    132132            {
    133                 jQuery(".ucfw-deals-target-item-type").text('<?php echo esc_html__( 'Category', 'ultimate-coupons-for-woocommerce-free' ); ?>');
    134                 jQuery(".ucfw-deals-target-items-type").text('<?php echo esc_html__( 'Categories', 'ultimate-coupons-for-woocommerce-free' ); ?>');
     133                jQuery(".ucfw-deals-target-item-type").text('<?php echo esc_html__( 'Category', 'ultimate-coupone' ); ?>');
     134                jQuery(".ucfw-deals-target-items-type").text('<?php echo esc_html__( 'Categories', 'ultimate-coupone' ); ?>');
    135135            }
    136136        }
     
    148148            if (_ucfw_deals_apply_item_types[i].value === 'categories')
    149149            {
    150                 jQuery(".ucfw-deals-apply-item-type").text('<?php echo esc_html__( 'Category', 'ultimate-coupons-for-woocommerce-free' ); ?>');
    151                 jQuery(".ucfw-deals-apply-items-type").text('<?php echo esc_html__( 'Categories', 'ultimate-coupons-for-woocommerce-free' ); ?>');
     150                jQuery(".ucfw-deals-apply-item-type").text('<?php echo esc_html__( 'Category', 'ultimate-coupone' ); ?>');
     151                jQuery(".ucfw-deals-apply-items-type").text('<?php echo esc_html__( 'Categories', 'ultimate-coupone' ); ?>');
    152152            }
    153153        }
     
    214214            {
    215215                _ucfw_select.attr("data-item-type", "categories");
    216                 jQuery(".ucfw-deals-" + _ucfw_section + "-item-type").text('<?php echo esc_html__( 'Category', 'ultimate-coupons-for-woocommerce-free' ); ?>');
    217                 jQuery(".ucfw-deals-" + _ucfw_section + "-items-type").text('<?php echo esc_html__( 'Categories', 'ultimate-coupons-for-woocommerce-free' ); ?>');
     216                jQuery(".ucfw-deals-" + _ucfw_section + "-item-type").text('<?php echo esc_html__( 'Category', 'ultimate-coupone' ); ?>');
     217                jQuery(".ucfw-deals-" + _ucfw_section + "-items-type").text('<?php echo esc_html__( 'Categories', 'ultimate-coupone' ); ?>');
    218218            }
    219219            else
    220220            {
    221221                _ucfw_select.attr("data-item-type", "products");
    222                 jQuery(".ucfw-deals-" + _ucfw_section + "-item-type").text('<?php echo esc_html__( 'Product', 'ultimate-coupons-for-woocommerce-free' ); ?>');
    223                 jQuery(".ucfw-deals-" + _ucfw_section + "-items-type").text('<?php echo esc_html__( 'Products', 'ultimate-coupons-for-woocommerce-free' ); ?>');
     222                jQuery(".ucfw-deals-" + _ucfw_section + "-item-type").text('<?php echo esc_html__( 'Product', 'ultimate-coupone' ); ?>');
     223                jQuery(".ucfw-deals-" + _ucfw_section + "-items-type").text('<?php echo esc_html__( 'Products', 'ultimate-coupone' ); ?>');
    224224            }
    225225
     
    269269            beforeSend: function()
    270270            {
    271                 jQuery("#ucfw-btn-save-deals").attr("disabled", true).text("<?php echo esc_html__( 'Saving...', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     271                jQuery("#ucfw-btn-save-deals").attr("disabled", true).text("<?php echo esc_html__( 'Saving...', 'ultimate-coupone' ); ?>");
    272272            },
    273273            success: function(result)
    274274            {
    275                 jQuery("#ucfw-btn-save-deals").attr("disabled", false).removeClass("blue").addClass("positive").text("<?php echo esc_html__( 'Saved!', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     275                jQuery("#ucfw-btn-save-deals").attr("disabled", false).removeClass("blue").addClass("positive").text("<?php echo esc_html__( 'Saved!', 'ultimate-coupone' ); ?>");
    276276
    277277                setTimeout(function()
    278278                {
    279                     jQuery("#ucfw-btn-save-deals").removeClass("positive").addClass("blue").text("<?php echo esc_html__( 'Save Again', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     279                    jQuery("#ucfw-btn-save-deals").removeClass("positive").addClass("blue").text("<?php echo esc_html__( 'Save Again', 'ultimate-coupone' ); ?>");
    280280                }, 1500);
    281281            },
    282282            error: function(result)
    283283            {
    284                 jQuery("#ucfw-btn-save-deals").attr("disabled", false).removeClass("positive blue").addClass("negative").text("<?php echo esc_html__( 'Failed to save', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     284                jQuery("#ucfw-btn-save-deals").attr("disabled", false).removeClass("positive blue").addClass("negative").text("<?php echo esc_html__( 'Failed to save', 'ultimate-coupone' ); ?>");
    285285
    286286                setTimeout(function()
    287287                {
    288                     jQuery("#ucfw-btn-save-deals").removeClass("negative positive").addClass("blue").text("<?php echo esc_html__( 'Try Again', 'ultimate-coupons-for-woocommerce-free' ); ?>");
     288                    jQuery("#ucfw-btn-save-deals").removeClass("negative positive").addClass("blue").text("<?php echo esc_html__( 'Try Again', 'ultimate-coupone' ); ?>");
    289289                }, 1500);
    290290            }
Note: See TracChangeset for help on using the changeset viewer.