{%s}<\/p> reviews<\/span>","account_settings":"Account Settings","make_money":"Make Money","days_ago":"Days ago","view_more":"View More","amout":"Amout","free_insurance":"Free Insurance","fixed_shipping_fee_(see_notes):":"Fixed shipping fee (see notes):","not_enough_stock":"Not enough stock","reviews":"Reviews","order_amount_exceeds":"Order amount exceeds","my_inbox":"My Inbox","e-mail_address":"E-mail Address","sorry,_your_passwords_do_not_match,_please_try_again.":"Sorry, your passwords do not match, please try again.","sales":"Sales","unpaid":"Unpaid","check_out":"Check out","please_enter_your_email_address.":"Please enter your Email address.","manage_address":"Manage Address","declare_value(item_price)":"Declare Value(item price)","this_coupon_has_expired.":"This coupon has expired.","pre-sale_starts_in":"Pre-sale starts in","submitted_successfully":"Submitted successfully","low_to_high":"Low to High","min":"Min","december":"Dec.{%s}","height":"Height","ship":"Ship","creation_time":"Creation Time","the_password_you_entered_is_incorrect.":"The password you entered is incorrect.","please_select_a_product":"Please select a product","return":"Return","\u201c%s\u201d__quantity_must_be_%s_or_less.":"\u201c{%s}\u201d Quantity must be {%s} or less.","use_a_different_billing_address":"Use a different billing address","continue_to_payment":"Continue To Payment","coupons":"Coupons","develop_your_business_with_app_anywhere_anytime":"Develop your business with App anywhere anytime","download_now!":"Download Now!","flash_sale_ends_in":"Flash sale ends in","points_are_valid_for_six_months.":"Points are valid for six months.","only_%s_left":"Only {%s} left","coupon_savings":"Coupon savings","you_can_use_%s_points_to_offset_%s_when_you_make_a_purchase":"You can use {%s}<\/span> points to offset {%s}<\/span> when you make a purchase","all_favorites":"All Favorites","and_you_still_need_%s_to_meet_the_requirements.":"And you still need {%s} to meet the requirements.","%s_is_required.":"{%s} is required.","wednesday":"Wednesday","first_name":"first name","city":"City","the_maximum_size_for_artwork_is":"The maximum size for artwork is","shipped":"Shipped","welcome":"Welcome","already_have_an_account_?":"Already have an account ?","friday":"Friday","please_enter_a_valid_email.":"Please enter a valid email.","maximum_used_points_for_this_order":"Maximum used points for this order","sorry,_this_email_address_is_not_registeredwith_ouronine_store.":"Sorry, this Email Address is not registeredwith ouronine store.","bonus_points_can_be_used_to_pay_cash_for_purchases":"Bonus points can be used to pay cash for purchases","are_you_sure_you_want_to_logout?":"Are you sure you want to logout?","enter_your_email_address":"Enter your email address","copy_succeeded":"Copy succeeded","remark":"Remark","give_up_payment.":"Give up payment.","blog_category":"Blog category","denied":"Denied","tuesday":"Tuesday","sign_out":"Sign Out","awaiting_shipment":"Awaiting Shipment","total_qty":"Total Qty","get_it":"Get it","after_sales_processing_completed":"After sales processing completed","please_enter_the_%s":"Please enter the {%s}","return_to_fill_order":"Return to Fill Order","insurance":"Insurance","points_expiring_soon":"points expiring soon","your_account":"Your account","thank_you_for_your_order":"Thank you for your order","view_logistics":"View Logistics","copy_&_share_this_link_on_your_socmedia_channels.":"Copy & share this link on your socmedia channels.","forgot_your_password?":"Forgot your Password?","payment_processing":"Payment Processing","sign_in":"Sign In","payment_method":"Payment Method","if_one_of_your_friends_registers_from_your_link_and_shares_his\/her_link_with_friends,_for_each_purchase_made_by_his\/her_friends,_your_friend_will_earn_%s_commission,_and_you_an_extra_%s_commission.":"If one of your friends registers from your link and shares his\/her link with friends, for each purchase made by his\/her friends, your friend will earn {%s} commission, and you an extra {%s} commission.","deals_end_in":"Deals End In","view_promotion":"View promotion","complete_date":"Complete Date","verification_code":"Verification Code","this_item_can't_be_shipped_to_%s.":"This item can't be shipped to {%s}.","successfully":"successfully","and":"and","april":"Apr.{%s}","paypal_amount_name":"Paypal Amount Name","sorry,_the_minimum_order_total_quantity_is_%s.":"Sorry, the minimum order total quantity is {%s}.","after-sale_dispute":"After-sale Dispute","add_to_list":"ADD TO LIST","percentage_of_real_value_(%s)":"Percentage of real value ({%s})","no_more_news":"No more news","%s_in_stock":"{%s} in stock","sold_out":"SOLD OUT","blog":"Blog","sorry,this_country_is_not_within_the_scope_of_delivery":"Sorry,This country is not within the scope of delivery.","tags":"TAGS","please_enter_your_review.":"Please enter your review.","fixed_shipping_fee_(%s)":"Fixed shipping fee ({%s})","must_not_exceed_current_balance":"Must not exceed current balance","my_points":"My Points","country":"Country","please_enter...":"Please enter...","you_may_like":"You May Like","out-of-stock":"out-of-stock","a-z":"A-Z","roster":"Roster","content":"content","your_shipping_address":"Your shipping Address","go_home":"Go Home","awaiting_shipping":"Awaiting Shipping","are_you_sure_to_cancel_collection?":"Are you sure to cancel collection?","my_order":"My order","order_no.":"Order NO.","item_number":"Item NO.","new":"New","sorry,_\u201c%s\u201d_the_minimum_order_quantity_is_%s.":"Sorry, \u201c{%s}\u201d the minimum order quantity is {%s}.","passwords_do_not_match.":"Passwords do not match.","get_%s_off_on_orders_over_amount_of_%s":"GET {%s}% OFF ON ORDERS OVER amount of {%s}","your_current_balance":"YOUR CURRENT BALANCE","by_%s":"By {%s}","state_\/_province_\/_region":"State \/ Province \/ Region","write_your_review":"Write your review","each_order_can_use_points_to_deduct_up_to_%s_of_the_order_amount":"Each order can use points to deduct up to {%s}<\/span> of the order amount","copy":"copy","new_password":"New Password","successful_comment.":"Successful comment.","was_this_review_helpful?":"Was this review helpful?","be_the_first_to_know_about_our_latest_products.":"Be the first to know about our latest products.","your_position":"Your position","after_sales_processing":"After sales processing","complete":"Complete","no_matching_content":"No matching content","existing_password":"Existing Password","please_enter_the":"Please enter the","action":"Action","edit_roster":"Edit Roster","quantity_must_be_%s_or_less.":"Quantity must be {%s} or less.","paypal_email_address":"Paypal Email Address","or":"OR","negative_review":"Negative review","stay_up_to_date_with_news_and_promotions_by_signing_up_for_our_weekly_newsletter.":"Stay up to date with news and promotions by signing up for our weekly newsletter.","the_total_price_of_the_product_is_%s,_and_this_delivery_method_is_limited_to_use_with_in_%s~%s.":"The total price of the product is {%s}, and this delivery method is limited to use with in {%s}~{%s}.","commission":"Commission","create_my_account":"Create my Account","clear_all":"Clear All","return_requests":"return requests","no_file_chosen":"No file chosen","delete":"Delete","your_submission_has_been_received._Thanks_for_your_time":"Your submission has been received. Thanks for your time","my_coupons":"My Coupons","submit_your_request_or_use_live_chat.":"submit your request or use live chat.","repetition":"repetition","starts_in_%s_days_%s":"Starts in {%s} days {%s}","paypal_dispute":"PayPal Dispute","the_warranty_period_has_expired.":"The warranty period has expired.","tel.":"Tel.","product":"Product","please_search_state_or_province":"Please search state or province","order_error.":"Order error.","freight_tax":"Freight Tax","reset_your_password":"Reset Your Password","this_product_has_applied_for_the_arrival_notice!":"This product has applied for the arrival notice!","to_%s_via":"to {%s} via","buy_%s_items_now":"BUY {%s} ITEMS NOW","get_more_coupons":"Get more coupons","shipping_address":"Shipping Address","cart":"Cart","join_us_to_promote_this_product_via_your_exclusive_link!":"Join us<\/a> to promote this product via your exclusive link!","points_are_valid_for_two_years.":"Points are valid for two years.","may":"May.{%s}","add_a_new_address":"Add a new address","no_comments_yet._comment_now":"No comments yet. Comment now<\/a>","only_supports_jpg,_jpeg,_png,_webp,_xls,_xlsx,_doc,_docx,_zip_formats,_and_the_size_of_a_single_file_does_not_exceed_2m":"Only supports jpg, jpeg, png, webp, xls, xlsx, doc, docx, zip formats, and the size of a single file does not exceed 2M","account_name":"Account Name","default_reason":"Default reason","3d":"3D","shopping_list":"SHOPPING LIST","shipment_shipped":"Shipment Shipped","wholesale_products":"Wholesale Products","feature_products":"Feature Products","continue_shopping":"Continue shopping","product_is_no_longer_availabie.":"Product is no longer availabie.","approved":"Approved","not_registered_yet?":"Not registered yet?","flash_sales":"Flash Sales","no_data":"No Data","pre-sale_ends_in":"Pre-sale ends in","customer_information":"Customer Information","dear":"Dear","withdraw":"Withdraw","on_arrival,_the_goods_were_damaged.":"On arrival, the goods were damaged.","sum":"SUM","other_information":"Other Information","please_enter_the_name":"Please enter the name","no_shipping_methods_prompt":"There is no common delivery method for the above products .","change_account":"Change account","we_respect_your_prilvacy_and_dan't_share_your_email_with_anybody.":"we respect your prilvacy and dan't share your email with anybody.","contact_information":"Contact Information","apply_for_being_a_distributor":"Apply for being a distributor","coupon_code":"Coupon Code","best_sellers":"Best Sellers","added_to_favorites":"ADDED TO FAVORITES","points_redemption":"Points redemption","notify_me_when_available":"Notify me when available","do_you_want_to_start_making_money?":"Do you want to start making money?","please_enter_the_coupon_code":"Please enter the coupon code","use_mobile_wechat_to_scan_and_pay":"Use mobile WeChat to scan and pay","please_search_country":"Please search country","hurry_up!_group_purchase_ends_in_%s_days_%s":"Hurry up! Group purchase ends in {%s} days {%s}","secondary_distributor":"SECONDARY DISTRIBUTOR","coupon_does_not_exist.":"Coupon does not exist.","view_the_full_product_details":"View the full product details","coupon_%s_has_been_successfully_claimed":"Coupon {%s} has been successfully claimed","please_enter_the_company":"Please enter the company","thank_you_for_your_application._we_will_review_it_and_get_back_to_you_asap.":"Thank you for your application. We will review it and get back to you ASAP.","reason":"Reason","home":"Home","points_are_valid_for_%s_days.":"Points are valid for {%s} <\/span> days.","same_as_shipping_address":"Same as shipping address","fill_order":"Fill Order","optional":"Optional","are_you_sure_you_want_to_confirm_completion?":"Are you sure you want to confirm completion?","wholesale":"Wholesale","page":"Page","create_roster":"Create Roster","use_your_account_from":"Use Your Account from","upload":"Upload","product_detail":"Product detail","email":"Email","calculating":"Calculating","october":"Oct.{%s}","unit_price_(%s)":"Unit price ({%s})","enter_your_email":"Enter your email","available":"Available","favorite_products_have_not_added":"Favorite products have not added<\/a>","view_cart_&_checkout":"View cart & Checkout","vr":"VR","upload_proof_of_payment":"Upload Proof Of Payment","service_charge":"Service charge","maximum_points_for_this_order":"Maximum points for this order","add&delete":"Add&Delete","submit_failed.":"Submit failed.","exceeded_the_maximum_number_of_post-sales_requests.":"Exceeded the maximum number of post-sales requests.","day":"day","sorry,_for_the_following_reason,_your_application_to_be_a_distributor_is_refused._you_can_reapply_after_modifying_your_information.":"Sorry, for the following reason, your application to be a distributor is refused. You can reapply after modifying your information.","saturday":"Saturday","password_does_not_match":"Password does not match","my_distributor":"MY DISTRIBUTOR","different_shipping_methods_prompt":"The order contains products with different shipping methods. Please select theshipping methods for each product on the right side.","change_your_password":"Change your password","the_minimum_order_quantity_is_%s.":"The minimum order quantity is {%s}.","received_successfuly":"Received Successfuly","write_a_review":"Write a Review","please_enter_your_shipping_address":"Please enter your shipping address","the_item_can't_be_shipped_to_%s.":"The item can't be shipped to {%s}.","real_value_of_goods":"Real value of goods","product_category":"PRODUCT CATEGORY","product_name":"Product Name","the_total_quantity_must_be_%s_or_less.":"The total quantity must be {%s} or less.","unit_price_(for_example_4usd\/per_piece):":"Unit price (for example 4UsD\/per piece):","average_rating":"Average rating","product_added_to_cart":"Product added to cart","account":"Account","registration_successful.":"Registration successful.","shipping_method":"Shipping Method","checking":"Checking","group_purchase":"Group Purchase","no_more_coupons":"No more coupons","contact":"Contact","the_maximum_number_of_purchases_%s":"The maximum number of purchases {%s}","expires_on":"Expires on","other,_please_provide_details.":"Other, please provide details.","prime":"Prime","there_is_a_problem_with_the_goods.":"There is a problem with the goods.","november":"Nov.{%s}","march":"Mar.{%s}","waybill_number":"Waybill Number","create_account":"Create Account","your_shopping_cart_is_empty":"Your shopping cart is empty","the_content_is_empty_and_cannot_be_sent":"The content is empty and cannot be sent","minutes_ago":"Minutes ago","return_to_cart":"Return to cart","please_enter_the_amout.":"Please enter the amout.","january":"Jan.{%s}","password":"Password","send":"SEND","please_enter_a_keyword":"Please enter a keyword","no_thanks":"No Thanks","hurry_up!_group_purchase_ends_in":"Hurry up! Group purchase ends in","waybill_no.":"Waybill No.","choose_file":"Choose File","september":"Sep.{%s}","more_categories":"More Categories","image_size":"Image size","popular":"Popular","limited_purchase_starts_after":"Limited purchase starts after","order_details":"Order Details","august":"Aug.{%s}","please_enter_the_paypal_email_address.":"Please enter the paypal email address.","add_your_image(s)":"Add your image(s)","all":"All","price":"Price","order_status":"Order Status","buy_now":"BUY NOW","selection_spec":"Selection Spec","filter":"Filter","my_account":"My Account","password_is_required.":"Password is required."}; function __(name = '', vars = []){ var textValue = name; name = name.toLowerCase(); name = name.replace(/\s+/g, '_'); if (langData[name]) { textValue = langData[name]; if($.isNumeric(vars)){ vars = [vars]; } if (!$.isArray(vars)) { vars = [vars]; // vars = $.map(vars.split(','), function(value) { // return value.trim(); // 使用trim()移除可能的空白字符 // }); } if (vars.length > 0) { // 使用replace方法,第二个参数是一个函数 textValue = textValue.replace(/{%s}/g, function(match, p1, offset, s) { // match 是匹配到的占位符 // p1 是匹配到的占位符的索引(在这个情况下没用到) // offset 是匹配到的占位符在原字符串中的位置(在这个情况下也没用到) // s 是原字符串(同样在这个情况下没用到) // 从替换数组中取出对应的替换文本 var index = vars.shift(); // shift方法移除数组的第一个元素并返回它 // 返回替换文本 return index; }); } } // console.log(textValue) return textValue; }