
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
// This file contains all the translations string which will used in JS

$rtwmer_options = get_option("rtwmer_page_setting");
if (isset($rtwmer_options['rtwmer_page_setting_dashboard'])) {
    $rtwmer_dashboard_url = $rtwmer_options['rtwmer_page_setting_dashboard'];
    $rtwmer_dashboard_url = get_permalink($rtwmer_dashboard_url);
}else{
    $rtwmer_dashboard_url = "";
}
$rtwmer_mercado_default_loader = apply_filters("rtwmer_mercado_default_loader",RTWMER_PUBLIC_IMAGES_URL."rtwmer_loader.gif");

$rtwmer_genral_option = get_option("rtwmer_general_setting");
$rtwmer_show_customer_details = 	(isset($rtwmer_genral_option["rtwmer_hide_cust_info_form_order"]))
			?	(int) $rtwmer_genral_option["rtwmer_hide_cust_info_form_order"]	:	0;

$rtwmer_mercado_lite = array(
    "rtwmer_select_img"                                 => esc_html__("Select a image to upload", "mercado"),
    "rtwmer_use_this_img"                               => esc_html__("Use this image", "mercado"),
    "rtwmer_all"                                        => esc_html__("All", "mercado"),
    "rtwmer_complete"                                   => esc_html__("Completed", "mercado"),
    "rtwmer_online"                                     => esc_html__("Online", "mercado"),
    "rtwmer_pending"                                    => esc_html__("Pending", "mercado"),
    "rtwmer_trash"                                      => esc_html__("Trash", "mercado"),
    "rtwmer_processing"                                 => esc_html__("Processing", "mercado"),
    "rtwmer_on_hold"                                    => esc_html__("On-hold", "mercado"),
    "rtwmer_pending"                                    => esc_html__('Pending', "mercado"),
    "rtwmer_cancelled"                                  => esc_html__("Cancelled", "mercado"),
    "rtwmer_refunded"                                   => esc_html__("Refunded", "mercado"),
    "rtwmer_failed"                                     => esc_html__("Failed", "mercado"),
    "rtwmer_withdraw_req"                               => esc_html__("Withdraw Request", "mercado"),
    "rtwmer_approved_req"                               => esc_html__("Approved Requests", "mercado"),
    "rtwmer_cancelled_req"                              => esc_html__("Cancelled Requests", "mercado"),
    "rtwmer_success"                                    => esc_html__("Successful", "mercado"),
    "rtwmer_unsuccessfull"                              => esc_html__("Unsuccessfull", "mercado"),
    "rtwmer_prod_deleted"                               => esc_html__("Products have been deleted", "mercado"),
    "rtwmer_select_file"                                => esc_html__("Select a file to upload", "mercado"),
    "rtwmer_use_file"                                   => esc_html__("Use this file", "mercado"),
    "rtwmer_delete"                                     => esc_html__("Delete", "mercado"),
    "rtwmer_sku_exist"                                  => esc_html__("Sku already exists", "mercado"),
    "rtwmer_enter_prod_name"                            => esc_html__("Please enter product name", "mercado"),
    "rtwmer_reg_should_great"                           => esc_html__("Sale Price should be less than regular price", "mercado"),
    "rtwmer_trash_warning"                              => esc_html__("Are you sure you want to trash it?", "mercado"),
    "rtwmer_trash_success"                              => esc_html__("Trashed successfully", "mercado"),
    "rtwmer_delete_success"                             => esc_html__("Deleted successfully", "mercado"),
    "rtwmer_restore_success"                            => esc_html__("Restore successfully", "mercado"),
    "rtwmer_sent_successfull"                           => esc_html__("Sent Successfully", "mercado"),
    "rtwmer_try_again"                                  => esc_html__("Try Again!!", "mercado"),
    "rtwmer_total_sales"                                => esc_html__("Total Sales", "mercado"),
    "rtwmer_total_order"                                => esc_html__('Total Order', "mercado"),
    "rtwmer_total_sales_this_month"                     => esc_html__('Total sales this months', "mercado"),
    "rtwmer_select_state"                               => esc_html__("Select a state", "mercado"),
    "rtwmer_for_reg_customer"                           => esc_html__("Filter for registered customer", "mercado"),
    "rtwmer_total_order"                                => esc_html__("Total Completed Orders","mercado"),
    "rtwmer_order"                                      => esc_html__("Orders","mercado"),
    "rtwmer_search"                                     => esc_html__("Search","mercado"),
    "rtwmer_select_payment"                             => esc_html__("Select a Payment Method","mercado"),
    "rtwmer_select_cat"                             => esc_html__("Select Category","mercado"),
    "rtwmer_change_banner"                             =>  esc_html__("Change Banner","mercado"),
    "rtwmer_upload_banner"                             =>  esc_html__("Upload Banner","mercado"),
    "rtwmer_change_profile"                             =>  esc_html__("Change Profile","mercado"),
    "rtwmer_upload_profile"                             =>  esc_html__("Upload Profile","mercado"),
     "rtwmer_file_name"                             =>  esc_html__("Name","mercado"),
     "rtwmer_file_url"                             =>  esc_html__("URL","mercado"),
     "rtwmer_select_tag"                             =>  esc_html__("Select tags","mercado"),
     "rtwmer_remove"                                    =>  esc_html__("Remove","mercado"),
     "rtwmer_no_order_found"                            =>  esc_html__("No order found","mercado"),
     "rtwmer_no_prod_sales_found"                            =>  esc_html__("No Product is selled yet","mercado"),
     "rtwmer_loader_gif"                                => esc_url($rtwmer_mercado_default_loader),
     "rtwmer_dashboard_url"                             =>  $rtwmer_dashboard_url,
     'rtwmer_show_customer_details'                     =>   $rtwmer_show_customer_details,
);


return $rtwmer_mercado_lite; 
