<?php

global $SUB_FOLDER, $HTTP_ROOT_PATH;

define("NETCAT_MODULE_NETSHOP", "Netshop 2.0");
define("NETCAT_MODULE_NETSHOP_TITLE", "Netshop");
define("NETCAT_MODULE_NETSHOP_DESCRIPTION", "Netshop.");

define("NETCAT_MODULE_NETSHOP_ERROR_NO_SETTINGS", "No settings");

define("NETCAT_MODULE_NETSHOP_UPGRADE", "This function is available in superior editions of the system. <a href='http://netcat.ru/products/upgrade/' target='_blank'>Upgrade</a>");

// Настройки магазина
define("NETCAT_MODULE_NETSHOP_SHOP_NAME", 'Shop name');
define("NETCAT_MODULE_NETSHOP_COMPANY_NAME", 'Company name');
define("NETCAT_MODULE_NETSHOP_ADDRESS", 'Address');
define("NETCAT_MODULE_NETSHOP_CITY", 'City');
define("NETCAT_MODULE_NETSHOP_PHONE", 'Phone');
define("NETCAT_MODULE_NETSHOP_DEFAULT_CURRENCY_ID", 'Default currency i d');
define("NETCAT_MODULE_NETSHOP_MAIL_FROM", 'Mail from');
define("NETCAT_MODULE_NETSHOP_MANAGER_EMAIL", 'Manager email');
define("NETCAT_MODULE_NETSHOP_EXTERNAL_CURRENCY", 'External currency');
define("NETCAT_MODULE_NETSHOP_CURRENCY_CONVERSION_PERCENT", 'Currency conversion percent');
define("NETCAT_MODULE_NETSHOP_INN", 'INN');
define("NETCAT_MODULE_NETSHOP_BANK_NAME", 'Bank name');
define("NETCAT_MODULE_NETSHOP_BANK_ACCOUNT", 'Bank account');
define("NETCAT_MODULE_NETSHOP_CORRESPONDENT_ACCOUNT", 'Correspondent account');
define("NETCAT_MODULE_NETSHOP_KPP", 'KPP');
define("NETCAT_MODULE_NETSHOP_BIK", 'BIK');
define("NETCAT_MODULE_NETSHOP_VAT", 'VAT');
define("NETCAT_MODULE_NETSHOP_WEBMONEY_PURSE", 'Webmoney purse');
define("NETCAT_MODULE_NETSHOP_WEBMONEY_SECRET_KEY", 'Webmoney secret key');
define("NETCAT_MODULE_NETSHOP_PAY_CASH_SETTINGS", 'Pay cash settings');
define("NETCAT_MODULE_NETSHOP_ASSIST_SHOP_ID", 'Assist shop id');
define("NETCAT_MODULE_NETSHOP_PAYMENT_SUCCESS_PAGE", 'Payment success page');
define("NETCAT_MODULE_NETSHOP_ASSIST_SECRET_WORD", 'Assist secret word');
define("NETCAT_MODULE_NETSHOP_PAYMENT_FAILED_PAGE", 'Payment failed page');
define("NETCAT_MODULE_NETSHOP_ROBOKASSA_LOGIN", 'Robokassa login');
define("NETCAT_MODULE_NETSHOP_ROBOKASSA_PASS1", 'Robokassa pass1');
define("NETCAT_MODULE_NETSHOP_ROBOKASSA_PASS2", 'Robokassa pass2');
define("NETCAT_MODULE_NETSHOP_INC_CURR_LABEL", 'Inc curr label');
define("NETCAT_MODULE_NETSHOP_PAYPAL_BIZ_MAIL", 'Paypal biz mail');
define("NETCAT_MODULE_NETSHOP_QIWI_FROM", 'Qiwi from');
define("NETCAT_MODULE_NETSHOP_QIWI_PWD", 'Qiwi password');
define("NETCAT_MODULE_NETSHOP_MAIL_SHOP_ID", 'Mail shop id');
define("NETCAT_MODULE_NETSHOP_MAIL_SECRET_KEY", 'Mail secret key');
define("NETCAT_MODULE_NETSHOP_MAIL_HASH", 'Mail hash');


define("NETCAT_MODULE_NETSHOP_SHOP", "Shop");
define("NETCAT_MODULE_NETSHOP_ITEM", "Goods");
define("NETCAT_MODULE_NETSHOP_DISCOUNT", "Discount");
define("NETCAT_MODULE_NETSHOP_DISCOUNTS", "Discounts");
define("NETCAT_MODULE_NETSHOP_CART_DISCOUNT", "Order discount");
define("NETCAT_MODULE_NETSHOP_SURCHARGE", "Surcharge");
define("NETCAT_MODULE_NETSHOP_COST", "COST");
define("NETCAT_MODULE_NETSHOP_ITEM_COST", "SUBTOTALS");
define("NETCAT_MODULE_NETSHOP_QTY", "Quantity");
define("NETCAT_MODULE_NETSHOP_ITEM_FULL_NAME", "Full item name (manufacturer, variant name)");
define("NETCAT_MODULE_NETSHOP_ITEM_PRICE", "Price");
define("NETCAT_MODULE_NETSHOP_SUM", "Totals");
define("NETCAT_MODULE_NETSHOP_ITEM_DELETE", "Remove");
define("NETCAT_MODULE_NETSHOP_SETTINGS", "Settings");

define("NETCAT_MODULE_NETSHOP_APPLIED_DISCOUNTS", "Discounts applied to this item:");

define("NETCAT_MODULE_NETSHOP_PRICE_WITH_DISCOUNT", "Item price with&nbsp;discount");
define("NETCAT_MODULE_NETSHOP_PRICE_WITHOUT_DISCOUNT", "Item price without&nbsp;discount");
define("NETCAT_MODULE_NETSHOP_PRICE_WITH_DISCOUNT_SHORT", "Price with&nbsp;discount");
define("NETCAT_MODULE_NETSHOP_PRICE_WITHOUT_DISCOUNT_SHORT", "Price without&nbsp;discount");


define("NETCAT_MODULE_NETSHOP_CURRENCIES", "Currencies");

define("NETCAT_MODULE_NETSHOP_DELIVERY", "Delivery");
define("NETCAT_MODULE_NETSHOP_PAYMENT", "Payment");

define("NETCAT_MODULE_NETSHOP_REFRESH", "Refresh cart");
define("NETCAT_MODULE_NETSHOP_PRICE_TYPE", "Price type");
define("NETCAT_MODULE_NETSHOP_ITEM_FORMS", "item, items, items");

define("NETCAT_MODULE_NETSHOP_FILL_REQUIRED", "Please fill all fields marked with asterik (*)");


define("NETCAT_MODULE_NETSHOP_NEXT", "Next");
define("NETCAT_MODULE_NETSHOP_BACK", "Previous");
define("NETCAT_MODULE_NETSHOP_MORE", "details");
define("NETCAT_MODULE_NETSHOP_INSTALL", "Install");


// Статистика
define("NETCAT_MODULE_NETSHOP_STATISTICS", "Statistics");
define("NETCAT_MODULE_NETSHOP_DATA_NOT_AVAILABLE", "Data not available");

define("NETCAT_MODULE_NETSHOP_SALES",     "Orders");
define("NETCAT_MODULE_NETSHOP_ORDERS",    "Orders");
define("NETCAT_MODULE_NETSHOP_GOODS",     "Goods");
define("NETCAT_MODULE_NETSHOP_CUSTOMERS", "Customers");

define("NECTAT_MODULE_NETSHOP_SALES_AMOUNT",                 "Sales amount");
define("NECTAT_MODULE_NETSHOP_TOTAL_ORDERS",                 "Total orders");
define("NECTAT_MODULE_NETSHOP_COMPLETED_ORDERS",             "Completed orders");
define("NECTAT_MODULE_NETSHOP_PURCHASED_GOODS",              "Purchased goods");
define("NECTAT_MODULE_NETSHOP_SUCCESSFUL_ORDERS_PERCENTAGE", "Percentage of successful orders");

define("NETCAT_MODULE_NETSHOP_OVER_PERIOD", "Over a period…");
define("NETCAT_MODULE_NETSHOP_7_DAYS", "7 days");
define("NETCAT_MODULE_NETSHOP_30_DAYS", "30 days");

define("NETCAT_MODULE_NETSHOP_GROUP_BY", "Group by");
define("NETCAT_MODULE_NETSHOP_BY_DAYS", "By days");
define("NETCAT_MODULE_NETSHOP_BY_WEEKS", "By weeks");
define("NETCAT_MODULE_NETSHOP_BY_MONTHS", "By months");

define("NETCAT_MODULE_NETSHOP_GOODS_BY_QTY",          "By quantity");
define("NETCAT_MODULE_NETSHOP_GOODS_BY_SALES_AMOUNT", "By sales amount");

define("NETCAT_MODULE_NETSHOP_TODAY", "Today");
define("NETCAT_MODULE_NETSHOP_YESTERDAY", "Yesterday");
define("NETCAT_MODULE_NETSHOP_AVG_FOR_7_DAYS", "On average 7 days");

define("NETCAT_MODULE_NETSHOP_WEEK", "week");
define("NETCAT_MODULE_NETSHOP_LAST_WEEK", "Last week");
define("NETCAT_MODULE_NETSHOP_MONTH", "Month");
define("NETCAT_MODULE_NETSHOP_LAST_MONTH", "Last month");


define("NETCAT_MODULE_NETSHOP_1C_INTEGRATION", "1C integration");
define("NETCAT_MODULE_NETSHOP_1C_INTEGRATION_IMPORT", "Import source");


//Forms
define("NETCAT_MODULE_NETSHOP_SAVE",          "Save");
define("NETCAT_MODULE_NETSHOP_ADMIN_SAVE_OK", "Save complete");
define("NETCAT_MODULE_NETSHOP_FORMS",         "Forms");
define("NETCAT_MODULE_NETSHOP_FORMS_TYPE",    "Form types");

define("NETCAT_MODULE_NETSHOP_CASHMEMO",                 "cashmemo");
define("NETCAT_MODULE_NETSHOP_CASHMEMO_COMPANY",         "company");
define("NETCAT_MODULE_NETSHOP_CASHMEMO_ADDRESS",         "address");
define("NETCAT_MODULE_NETSHOP_CASHMEMO_SELLER",          "seller");
define("NETCAT_MODULE_NETSHOP_CASHMEMO_SELLER_POSITION", "POSITION");

define("NETCAT_MODULE_NETSHOP_TORG12", "TORG-12");
define("NETCAT_MODULE_NETSHOP_TORG12_UNIT",                 "Структурное подразделение");
define("NETCAT_MODULE_NETSHOP_TORG12_CONSIGNEE",            "Грузополучатель");
define("NETCAT_MODULE_NETSHOP_TORG12_SUPPLIER",             "Поставщик");
define("NETCAT_MODULE_NETSHOP_TORG12_PAYER",                "Плательщик");
define("NETCAT_MODULE_NETSHOP_TORG12_CONTRACT",             "Основание");
define("NETCAT_MODULE_NETSHOP_TORG12_OKDP",                 "ОКДП");
define("NETCAT_MODULE_NETSHOP_TORG12_TRANS_NUMBER",         "Транс. накл. номер");
define("NETCAT_MODULE_NETSHOP_TORG12_TRANS_DATE",           "Транс. накл. дата");
define("NETCAT_MODULE_NETSHOP_TORG12_OPERATION_TYPE",       "Вид операции");
define("NETCAT_MODULE_NETSHOP_TORG12_NDS",                  "НДС (%)");
define("NETCAT_MODULE_NETSHOP_TORG12_RESOLVED_BY_POSITION", "Разрешил (должность)");
define("NETCAT_MODULE_NETSHOP_TORG12_RESOLVED_BY_SURNAME",  "Разрешил (расшифровка подписи)");
define("NETCAT_MODULE_NETSHOP_TORG12_ACCOUNTANT_SURNAME",   "Бухгалтер (расшифровка подписи)");
define("NETCAT_MODULE_NETSHOP_TORG12_RELEASED_BY_POSITION", "Отпустил (должность)");
define("NETCAT_MODULE_NETSHOP_TORG12_RELEASED_BY_SURNAME",  "Отпустил (расшифровка подписи)");

define("NETCAT_MODULE_NETSHOP_DELIVERY_TYPE_DONT_USE", "Don't use");
define("NETCAT_MODULE_NETSHOP_DELIVERY_TYPE_FIELD_MAPPING", "Field mapping for &ldquo;%s&rdquo;");
define("NETCAT_MODULE_NETSHOP_DELIVERY_TYPE_FIELD_MAPPING_SHOP", "Shop settings");
define("NETCAT_MODULE_NETSHOP_DELIVERY_TYPE_FIELD_MAPPING_ORDER", "Order properties");
define("NETCAT_MODULE_NETSHOP_DELIVERY_EMS", "EMS");
define("NETCAT_MODULE_NETSHOP_DELIVERY_RUSSIANPOST", "Russian post");
define("NETCAT_MODULE_NETSHOP_EMS_RUSSIA", "EMS Russia");
define("NETCAT_MODULE_NETSHOP_EMS_INTERNATIONAL", "EMS international");
define("NETCAT_MODULE_NETSHOP_RUSSIANPOST_PACKAGE", "Russian post form 116");
define("NETCAT_MODULE_NETSHOP_RUSSIANPOST_CASH_ON_DELIVERY", "Russian post form 113");

//Filter
define("NETCAT_MODULE_NETSHOP_FILTER_SHOW",  "Apply filter");
define("NETCAT_MODULE_NETSHOP_FILTER_RESET", "Reset");
define("NETCAT_MODULE_NETSHOP_FILTER_FROM",  "from");
define("NETCAT_MODULE_NETSHOP_FILTER_TO",    "to");

define("NETCAT_MODULE_NETSHOP_EXPORT_COMMERCEML", "Export to 1C");

define("NETCAT_MODULE_NETSHOP_IMPORT_COMMERCEML", "CommerceML data import");
define("NETCAT_MODULE_NETSHOP_IMPORT_COMMERCEML_NOT_WELL_FORMED", "Error loading XML file");
define("NETCAT_MODULE_NETSHOP_IMPORT_COMMERCEML_SCHEME_VER", "Scheme version");
define("NETCAT_MODULE_NETSHOP_IMPORT_COMMERCEML_SCHEME_VER_0", "auto");
define("NETCAT_MODULE_NETSHOP_IMPORT_COMMERCEML_SCHEME_VER_1", "1C version 7.7");
define("NETCAT_MODULE_NETSHOP_IMPORT_COMMERCEML_SCHEME_VER_2", "1C version 8.1");
define("NETCAT_MODULE_NETSHOP_IMPORT_SUBMIT", "  Import  ");
define("NETCAT_MODULE_NETSHOP_IMPORT_SOURCE_NAME", "Source");
define("NETCAT_MODULE_NETSHOP_IMPORT_SOURCE_NEW", "New source (enter source name)");
define("NETCAT_MODULE_NETSHOP_IMPORT_SOURCE_WRONG", "Wrong data source");
define("NETCAT_MODULE_NETSHOP_IMPORT_FILE", "File");
define("NETCAT_MODULE_NETSHOP_IMPORT_ACTION_NONEXISTANT", "What to do with items not in source");
define("NETCAT_MODULE_NETSHOP_IMPORT_ACTION_NONEXISTANT_DISABLE", "disable");
define("NETCAT_MODULE_NETSHOP_IMPORT_ACTION_NONEXISTANT_DELETE", "delete");
define("NETCAT_MODULE_NETSHOP_IMPORT_ACTION_NONEXISTANT_IGNORE", "leave as is");
define("NETCAT_MODULE_NETSHOP_IMPORT_AUTO_ADD_SECTIONS", "Add sections on autoimport with this component:");
define("NETCAT_MODULE_NETSHOP_IMPORT_AUTO_ADD_SECTIONS_DONT_ADD", "Don't add");
define("NETCAT_MODULE_NETSHOP_IMPORT_AUTO_ADD_GOODS", "add goods without a prompt");
define("NETCAT_MODULE_NETSHOP_IMPORT_AUTO_MOVE_SECTIONS", "Synchronize tree changes");
define("NETCAT_MODULE_NETSHOP_IMPORT_DELETE_TMP_FILES", "Delete temporary files after import");
define("NETCAT_MODULE_NETSHOP_IMPORT_AUTO_RENAME_SUBDIVISIONS", "Rename subdivision if 1C group was renamed");
define("NETCAT_MODULE_NETSHOP_IMPORT_AUTO_CHANGE_SUBDIVISION_LINKS", "Change links on renamed subdivisions");

define("NETCAT_MODULE_NETSHOP_IMPORT_MAP_SECTION", "Source sections to site mapping");
define("NETCAT_MODULE_NETSHOP_IMPORT_MAP_PRICE", "Price types to content template fields mapping");
define("NETCAT_MODULE_NETSHOP_IMPORT_MAP_STORES", "Store quantity to component fields mapping");
define("NETCAT_MODULE_NETSHOP_IMPORT_MAP_CHARACTERISTICS", "Item variant characteristics mapping");
define("NETCAT_MODULE_NETSHOP_IMPORT_REMAIN_IN_STORE", "Remain in store");
define("NETCAT_MODULE_NETSHOP_IMPORT_CREATE_SECTION", "Create new section");
define("NETCAT_MODULE_NETSHOP_IMPORT_CREATE_SECTION_PARENT", "Parent section");
define("NETCAT_MODULE_NETSHOP_IMPORT_TEMPLATE", "Content template");

define("NETCAT_MODULE_NETSHOP_IMPORT_SOURCE_TITLE", "Import data source");
define("NETCAT_MODULE_NETSHOP_IMPORT_FILE_UPLOAD_TITLE", "Upload importing file");
define("NETCAT_MODULE_NETSHOP_IMPORT_FILE_FTP_PATH", "File name in ".$SUB_FOLDER.$HTTP_ROOT_PATH."tmp/ directory");
define("NETCAT_MODULE_NETSHOP_IMPORT_ROOT_SUBDIVISION", "For successfull import FILL netshop root subdivision ID:");

define("NETCAT_MODULE_NETSHOP_IMPORT_XML_FILE", "File parsing");
define("NETCAT_MODULE_NETSHOP_IMPORT_CATALOGUE_STRUCTURE", "Catalogue structure import");
define("NETCAT_MODULE_NETSHOP_IMPORT_OFFERS", "Import offers data");
define("NETCAT_MODULE_NETSHOP_IMPORT_ORDERS", "Import orders");
define("NETCAT_MODULE_NETSHOP_IMPORT_ORDERS_ID_MAP", "You have to map \"Ид\" field for orders import");
define("NETCAT_MODULE_NETSHOP_IMPORT_COMMODITIES_IN_CATALOGUE", "Commodities import");
define("NETCAT_MODULE_NETSHOP_IMPORT_FIELDS_AND_TAGS_COMPLIANCE", "Fields and tags compliance:");

define("NETCAT_MODULE_NETSHOP_IMPORT_IGNORE_SECTION", "Skip section");

define("NETCAT_MODULE_NETSHOP_IMPORT_DONE", "Import source processed.");

define("NETCAT_MODULE_NETSHOP_IMPORT_CACHE_CLEARED_PARTIAL", "Temporary files partly removed!");

define("NETCAT_MODULE_NETSHOP_PHP4_DOMXML_REQUIRED", "Cannot import XML data, because DOMXML library is not installed. Please contact your hosting provider to install this library.");

define("NETCAT_MODULE_NETSHOP_IMPORT_1C_LINK", "To export this source to site from &#039;1C&#039; in batch mode:
<ol>
<li>In 1C, open <b>Service - Data exchange in CommerceML format - Unloading of commercial proposal packet
</b></li>
<li>Check item <b>Send to the site</b> and press ellipsis (<b>...</b>)
<li>In dialog window press <b>New line</b> and enter site name.
<br>Put the following string to the <b>Address</b> field:
<br><b style='background:#DFDFDF'>%s</b>
<br>Leave fields <b>Username</b> and <b>Password</b> blank.
</ol>
<b>NB:</b> all new 1C sections won't be added to site until you upload XML file
using this interface. Please read module documentation for details.");

define("NETCAT_MODULE_NETSHOP_IMPORT_1C8_LINK", "To export this source to site from &#039;1C8&#039; in batch mode:
<ol>
<li>Into the 1С8 open menu <b>Сервис</b> - <b>Data exchange with WEB-site</b> - <b>Data exchange settings with WEB-site</b>;</li>
<li>Check item <b>Create new exchange settings with WEB-site</b> and press <b>Далее</b>;</li>
<li>In dialog window:
<br>Put the following string to the <b>site address</b> field:
<br><b style='background:#DFDFDF'>%s</b>
<br>Fields <b>User</b> and <b>Password</b> set as (SECRET_NAME и SECRET_KEY).</li>
</ol>
<b>Note:</b> Subdivisions recreated in 1С8 will not be added on site untill you download the file manually using this interface. For detailed information see module documentation.");

define("NETCAT_MODULE_NETSHOP_DISCOUNT_EDIT", "Discount edit");
define("NETCAT_MODULE_NETSHOP_DISCOUNT_MANUAL", "Discount amount was set manually by the manager");
define("NETCAT_MODULE_NETSHOP_APPLIES_TO_GOODS", "to goods");
define("NETCAT_MODULE_NETSHOP_APPLIES_TO_CART", "to the cart in whole");

define("NETCAT_MODULE_NETSHOP_DISCOUNT_SELECT_FIELD", "select a field...");

define("NETCAT_MODULE_NETSHOP_CUSTOMER", "Customer");
define("NETCAT_MODULE_NETSHOP_ORDER_EDIT", "Order №%s of %%Y-%%m-%%d.");
define("NETCAT_MODULE_NETSHOP_SHOW_ORDER_STATUS", "Show only orders with the status");
define("NETCAT_MODULE_NETSHOP_ORDER_NEW", "new");
define("NETCAT_MODULE_NETSHOP_ORDER_ANY", "any");
define("NETCAT_MODULE_NETSHOP_ORDER_SEARCH", "Search by order number, customer name, phone number or e-mail address");
define("NETCAT_MODULE_NETSHOP_ORDER_NO_INFOBLOCK", "There are no ‘Order’ infoblocks on the selected site");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_FILTER", "Delivery method:");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_ALL", "All");
define("NETCAT_MODULE_NETSHOP_DATE_FILTER", "Date");
define("NETCAT_MODULE_NETSHOP_DATE_FILTER_FROM", "from");
define("NETCAT_MODULE_NETSHOP_DATE_FILTER_TO", "to");
define("NETCAT_MODULE_NETSHOP_PRICE_FILTER", "Sum");
define("NETCAT_MODULE_NETSHOP_PRICE_FILTER_FROM", "from");
define("NETCAT_MODULE_NETSHOP_PRICE_FILTER_TO", "to");

define("NETCAT_MODULE_NETSHOP_EQUALS", "equals");
define("NETCAT_MODULE_NETSHOP_MULTIPLY", "multiply");
define("NETCAT_MODULE_NETSHOP_ADD", "add");
define("NETCAT_MODULE_NETSHOP_SUBSTRACT", "substract");

define("NETCAT_MODULE_NETSHOP_OR", "or");


define("NETCAT_MODULE_NETSHOP_ITEM_MINIMAL_PRICE_REACHED", "Minimal price was reached when applying discounts to this item (%s)");
define("NETCAT_MODULE_NETSHOP_CART_MINIMAL_PRICE_REACHED", "Minimal price was reached when applying discounts to the cart (%s)");


define("NETCAT_MODULE_NETSHOP_SHOP_SETTINGS", "Netshop settings");
define("NETCAT_MODULE_NETSHOP_DEPARTMENT_SETTINGS", "Netshop section settings");
define("NETCAT_MODULE_NETSHOP_CURRENCY_SETTINGS", "Currency rates");

// Эти настройки по умолчанию (применяются, если не указаны соотв. настройки валют)
define("NETCAT_MODULE_NETSHOP_CURRENCY_FORMAT", "# %s"); // # - знак валюты
define("NETCAT_MODULE_NETSHOP_CURRENCY_DECIMALS", 2); // количество знаков после запятой
define("NETCAT_MODULE_NETSHOP_CURRENCY_DEC_POINT", "."); // разделитель целой и дробной части числа
define("NETCAT_MODULE_NETSHOP_CURRENCY_THOUSAND_SEP", ","); // разделитель групп разрядов (оставьте пустым!)
// скрипт получения курсов валют:
define("NETCAT_MODULE_NETSHOP_CURRENCY_VAR_NOT_SET", "%s is not set");
define("NETCAT_MODULE_NETSHOP_CURRENCY_NOTHING_TO_FETCH", "All currency rates where set manually");
define("NETCAT_MODULE_NETSHOP_CURRENCY_FETCH_NOTFOUND", "Error while trying to get currency rate sources");
define("NETCAT_MODULE_NETSHOP_CURRENCY_FETCH_PARSING_ERROR", "Error while trying to parse currency rate sources");
define("NETCAT_MODULE_NETSHOP_CURRENCY_FETCH_OK", "Currency rates fetched: %s");

define("NETCAT_MODULE_NETSHOP_ERROR_CART_EMPTY", "Cannot make an order because the cart is empty");

define("NETCAT_MODULE_NETSHOP_EMAIL_TO_MANAGER_HEADER", "Order from %s");


define("NETCAT_MODULE_NETSHOP_PAYMENT_NO_SETTINGS", "No settings for %s");
define("NETCAT_MODULE_NETSHOP_PAYMENT_NO_CURRENCY", "The shop currency isn't specified");
// №, название магазина
define("NETCAT_MODULE_NETSHOP_PAYMENT_DESCRIPTION", "Order No. %s payment (%s)");
define("NETCAT_MODULE_NETSHOP_PAYMENT_SUBMIT", "Make a payment");

// название платежной системы, сумма, дата, номер транзакции, id покупателя
define("NETCAT_MODULE_NETSHOP_PAYMENT_LOG", "Payed via %s: %s %s (transcation ID: %s, user ID: %s)");
define("NETCAT_MODULE_NETSHOP_PAYED_ON", "Payed on %Y-%m-%d");
define("NETCAT_MODULE_NETSHOP_PAYMENT_DOCUMENT", "document No. ");


define("NETCAT_MODULE_NETSHOP_CART_EMPTY", "Your cart is empty");
define("NETCAT_MODULE_NETSHOP_CART_CONTENTS", "<a href='%s'>In the cart</a>: %s, <b>%s</b>");
define("NETCAT_MODULE_NETSHOP_CART_CHECKOUT", "Checkout");

define("NETCAT_MODULE_NETSHOP_NO_RIGTHS", "You have no rights to access this information");

define("NETCAT_MODULE_NETSHOP_SOURCES", "Sources");
define("NETCAT_MODULE_NETSHOP_SOURCES_NOT_EXISTS_SOURCE", "Source not exists");
define("NETCAT_MODULE_NETSHOP_SOURCES_SOURCES_NOT_SELECTED", "Sources not selected");
define("NETCAT_MODULE_NETSHOP_SOURCES_SOURCES_DELETED", "Sources deleted");
define("NETCAT_MODULE_NETSHOP_SOURCES_SOURCES_DELETE_ERROR", "Sources delete error");
define("NETCAT_MODULE_NETSHOP_SOURCES_SOURCE_SAVED", "Source saved");
define("NETCAT_MODULE_NETSHOP_SOURCES_SOURCE_NOT_SAVED", "Source not saved - some errors");
define("NETCAT_MODULE_NETSHOP_SOURCES_MAPPING_SAVED", "Mapping saved");
define("NETCAT_MODULE_NETSHOP_SOURCES_MAPPING_NOT_SAVED", "Mapping not saved - some errors");
define("NETCAT_MODULE_NETSHOP_SOURCES_NOT_EXISTS_STORE", "Store not exists");
define("NETCAT_MODULE_NETSHOP_SOURCES_SOURCE_NAME", "Source name");
define("NETCAT_MODULE_NETSHOP_SOURCES_CATALOGUE_ID", "Catalogue ID");
define("NETCAT_MODULE_NETSHOP_SOURCES_GOODS_IMPORTED", "Goods imported");
define("NETCAT_MODULE_NETSHOP_SOURCES_STORES_IMPORTED", "Stores imported");
define("NETCAT_MODULE_NETSHOP_SOURCES_LAST_SYNC", "Last sync");
define("NETCAT_MODULE_NETSHOP_SOURCES_EDIT_MAPPING", "Edit<br>mapping");
define("NETCAT_MODULE_NETSHOP_SOURCES_EDIT", "Edit");
define("NETCAT_MODULE_NETSHOP_SOURCES_FIELD_NOT_SELECTED", "Не выбрано");
define("NETCAT_MODULE_NETSHOP_SOURCES_DELETE_SOURCE", "Delete source");
define("NETCAT_MODULE_NETSHOP_SOURCES_NO_SOURCES", "No sources");
define("NETCAT_MODULE_NETSHOP_SOURCES_NO_SOURCES_MESSAGE", 'This page displays the created sources of data exchange with 1C.<br>To create a new source, go to: ');
define("NETCAT_MODULE_NETSHOP_SOURCES_DELETE_SELECTED", "Delete selected");
define("NETCAT_MODULE_NETSHOP_SOURCES_SAVE", "Save");
define("NETCAT_MODULE_NETSHOP_SOURCES_REALLY_WANT_TO_DELETE_SOURCES", "Are you really want to delete this sources?");
define("NETCAT_MODULE_NETSHOP_SOURCES_BACK", "Back");
define("NETCAT_MODULE_NETSHOP_SOURCES_CANCEL", "Cancel");
define("NETCAT_MODULE_NETSHOP_SOURCES_DELETE_CONFIRM", "Confirm");
define("NETCAT_MODULE_NETSHOP_SOURCES_SOURCE", "Source");
define("NETCAT_MODULE_NETSHOP_SOURCES_SETTINGS", "Settings");
define("NETCAT_MODULE_NETSHOP_SOURCES_MANUAL_SYNC", "Manual sync links");
define("NETCAT_MODULE_NETSHOP_SOURCES_OWNER", "Owner");
define("NETCAT_MODULE_NETSHOP_SOURCES_ID", "Identity");
define("NETCAT_MODULE_NETSHOP_SOURCES_NAME", "Name");
define("NETCAT_MODULE_NETSHOP_SOURCES_OFFICIAL_NAME", "Official name");
define("NETCAT_MODULE_NETSHOP_SOURCES_ADDRESS", "Address");
define("NETCAT_MODULE_NETSHOP_SOURCES_INN", "ИНН");
define("NETCAT_MODULE_NETSHOP_SOURCES_KPP", "КПП");
define("NETCAT_MODULE_NETSHOP_SOURCES_INFORMATION_NOT_AVAILABLE", "Information not available");
define("NETCAT_MODULE_NETSHOP_SOURCES_INFORMATION", "Information");
define("NETCAT_MODULE_NETSHOP_SOURCES_IMPORTED_STORES", "Imported stores");
define("NETCAT_MODULE_NETSHOP_SOURCES_STORE_NAME", "Store name");
define("NETCAT_MODULE_NETSHOP_SOURCES_1C_ID", "1C ID");
define("NETCAT_MODULE_NETSHOP_SOURCES_REMAIN_GOODS", "Goods remain");
define("NETCAT_MODULE_NETSHOP_SOURCES_VIEW_GOODS", "View goods");
define("NETCAT_MODULE_NETSHOP_SOURCES_STORES_NOT_IMPORTED", "Stores not imported");
define("NETCAT_MODULE_NETSHOP_SOURCES_GO_BACK", "Go back");
define("NETCAT_MODULE_NETSHOP_SOURCES_STORE_REMAIN", "Store remains");
define("NETCAT_MODULE_NETSHOP_SOURCES_ITEM", "Item");
define("NETCAT_MODULE_NETSHOP_SOURCES_REMAIN", "Remain");
define("NETCAT_MODULE_NETSHOP_SOURCES_EXPORT_CATALOGUE", "Export catalogue to CommerceML2 file");
define("NETCAT_MODULE_NETSHOP_SOURCES_EXPORT_OFFERS", "Export offers to CommerceML2 file");
define("NETCAT_MODULE_NETSHOP_SOURCES_EXPORT_ORDERS", "Export orders to CommerceML2 file");

define("NETCAT_MODULE_NETSHOP_SETUP", "Module setup");
define("NETCAT_MODULE_NETSHOP_SETUP_ON_SITE", "Which site you want to install module to?");
define("NETCAT_MODULE_NETSHOP_SETUP_EVERYWHERE", "Module is installed on all sites in the system.");
define("NETCAT_MODULE_NETSHOP_SETUP_SHOP_SETTINGS_REDIRECT", "After you click &quot;OK&quot; the system will redirect you to the settings of the Netshop on the selected site. Please fill all required fields and press the &quot;Add&quot; button, otherwise the module won't work on that site.");

define("NETCAT_MODULE_NETSHOP_PREV_ORDERS_SUM", "Previous orders sum");
define("NETCAT_MODULE_NETSHOP_NOT_REGISTERED_USER", "Unregistered user");

define("NETCAT_MODULE_NETSHOP_NETSHOP", "Netshop");
define("NETCAT_MODULE_NETSHOP_GOODS_CATALOGUE", "Goods catalogue");
define("NETCAT_MODULE_NETSHOP_CART", "Cart");
define("NETCAT_MODULE_NETSHOP_MAKE_ORDER", 'Make an order');
define("NETCAT_MODULE_NETSHOP_EURO", "Euro");
define("NETCAT_MODULE_NETSHOP_EUROCENT", "eurocent, eurocents, eurocents");
define("NETCAT_MODULE_NETSHOP_USD", "dollar, dollars, dollars");
define("NETCAT_MODULE_NETSHOP_CENT", "cent, cents, cents");
define("NETCAT_MODULE_NETSHOP_RUR", "rouble, roubles, roubles");
define("NETCAT_MODULE_NETSHOP_COPECK", "copeck, copecks, copecks");
define("NETCAT_MODULE_NETSHOP_CB_RATES", 'Official currency rates');
define("NETCAT_MODULE_NETSHOP_PRICE_GROUPS", 'Price types for user groups');
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHODS", 'Delivery methods');
define("NETCAT_MODULE_NETSHOP_BY_COURIER", "By courier");
define("NETCAT_MODULE_NETSHOP_PAYMENT_METHODS", 'Payment methods');
define("NETCAT_MODULE_NETSHOP_CREDIT_CARD", "Credit card");
define("NETCAT_MODULE_NETSHOP_CREDIT_CARD_DESCRIPTION", "VISA, MasterCard, EuroCard, JCB, DCL (via ASSIST.RU payment system)");
define("NETCAT_MODULE_NETSHOP_YANDEX_MONEY", "Yandex.Money");
define("NETCAT_MODULE_NETSHOP_RBK_MONEY", "RBK Money");
define("NETCAT_MODULE_NETSHOP_WEBMONEY", "Webmoney");
define("NETCAT_MODULE_NETSHOP_CASHLESS", "Bank transfer");
define("NETCAT_MODULE_NETSHOP_SBERBANK", "Via Sberbank");
define("NETCAT_MODULE_NETSHOP_CASH", "In cash");
define("NETCAT_MODULE_NETSHOP_EMAIL_TEMPLATES", 'Mail templates');
define("NETCAT_MODULE_NETSHOP_ORDER_EMAIL_HEADER", "Your order in %SHOP_SHOPNAME%");
define("NETCAT_MODULE_NETSHOP_STORES", "Stores");
define("NETCAT_MODULE_NETSHOP_MAIN_STORE", "Main store");

define("NETCAT_MODULE_NETSHOP_UNITS", "Units");
define("NETCAT_MODULE_NETSHOP_PCS", "pcs");
define("NETCAT_MODULE_NETSHOP_ORDER_STATUS", "Order status");
define("NETCAT_MODULE_NETSHOP_ACCEPTED", "accepted");
define("NETCAT_MODULE_NETSHOP_REJECTED", "declined");
define("NETCAT_MODULE_NETSHOP_PAYED", "payed");
define("NETCAT_MODULE_NETSHOP_DONE", "finished");

define("NETCAT_MODULE_NETSHOP_FULL_NAME", "Full Name");


define("NETCAT_MODULE_NETSHOP_ORDER_EMAIL_BODY", "Hello %CUSTOMER_CONTACTNAME%,

Thank you for placing your order.

%CART_CONTENTS%
%CART_DISCOUNTS%
%CART_DELIVERY%%CART_PAYMENT%

TOTALS: %CART_COUNT% to the sum of %CART_SUM%

Our managers will contact you shortly to specify some order details.


Yours sincerely,                    Phone: %SHOP_PHONE%
%SHOP_SHOPNAME%");



define("NETCAT_MODULE_NETSHOP_NO_PREV_ORDERS_STATUS_ID", "PREV_ORDERS_SUM_STATUS option is not set in the NetShop module settings. For details, please refer to module documentation.");

define("NETCAT_MODULE_NETSHOP_MONTHS_GENITIVE", '/January/February/March/April/May/June/July/August/September/October/November/December');

define("NETCAT_MODULE_NETSHOP_1C_ID", "Ид");
define("NETCAT_MODULE_NETSHOP_1C_CLASSIFICATOR_ID", "ИдКлассификатора");
define("NETCAT_MODULE_NETSHOP_1C_NAME", "Наименование");
define("NETCAT_MODULE_NETSHOP_1C_PRICE", "Цена");
define("NETCAT_MODULE_NETSHOP_1C_PRICES", "Цены");
define("NETCAT_MODULE_NETSHOP_1C_PRICE_TYPE", "ТипЦены");
define("NETCAT_MODULE_NETSHOP_1C_PRICES_TYPE", "ТипыЦен");
define("NETCAT_MODULE_NETSHOP_1C_STORES", "Склады");
define("NETCAT_MODULE_NETSHOP_1C_STORE", "Склад");
define("NETCAT_MODULE_NETSHOP_1C_STORE_ID", "СкладИД");
define("NETCAT_MODULE_NETSHOP_1C_STORE_QTY", "КоличествоОстаток");
define("NETCAT_MODULE_NETSHOP_1C_STORE_REMAIN", "ОстаткиПоСкладам");
define("NETCAT_MODULE_NETSHOP_1C_REMAIN", "Остаток");
define("NETCAT_MODULE_NETSHOP_1C_PRICE_TYPE_ID", "ИдТипаЦены");
define("NETCAT_MODULE_NETSHOP_1C_PRICE_UNIT", "ЦенаЗаЕдиницу");
define("NETCAT_MODULE_NETSHOP_1C_CURRENCY", "Валюта");
define("NETCAT_MODULE_NETSHOP_1C_CURRENCY_DEFAULT", "руб");
define("NETCAT_MODULE_NETSHOP_1C_GROUP", "Группа");
define("NETCAT_MODULE_NETSHOP_1C_GROUPS", "Группы");
define("NETCAT_MODULE_NETSHOP_1C_PRODUCT_CHARS", "ХарактеристикиТовара");
define("NETCAT_MODULE_NETSHOP_1C_PRODUCT_CHAR", "ХарактеристикаТовара");
define("NETCAT_MODULE_NETSHOP_1C_VALUE", "Значение");
define("NETCAT_MODULE_NETSHOP_1C_REC_VALUES", "ЗначенияРеквизитов");
define("NETCAT_MODULE_NETSHOP_1C_REC_VALUE", "ЗначениеРеквизита");
define("NETCAT_MODULE_NETSHOP_1C_PROPERTIES_VALUES", "ЗначенияСвойств");
define("NETCAT_MODULE_NETSHOP_1C_PROPERTIES_VALUE", "ЗначенияСвойства");
define("NETCAT_MODULE_NETSHOP_1C_TAX", "СтавкаНалога");
define("NETCAT_MODULE_NETSHOP_1C_TAXES", "СтавкиНалогов");
define("NETCAT_MODULE_NETSHOP_1C_RATE", "Ставка");
define("NETCAT_MODULE_NETSHOP_1C_BASE_UNIT", "БазоваяЕдиница");
define("NETCAT_MODULE_NETSHOP_1C_IMG", "Картинка");
define("NETCAT_MODULE_NETSHOP_1C_QTY", "Количество");
define("NETCAT_MODULE_NETSHOP_1C_OFFICIAL_NAME", "ОфициальноеНаименование");
define("NETCAT_MODULE_NETSHOP_1C_ADDRESS", "ЮридическийАдрес");
define("NETCAT_MODULE_NETSHOP_1C_ADDRESS_VIEW", "Представление");
define("NETCAT_MODULE_NETSHOP_1C_INN", "ИНН");
define("NETCAT_MODULE_NETSHOP_1C_KPP", "КПП");

define("NETCAT_MODULE_NETSHOP_RESPONSE_STAT_MESSAGE", "Order status in the system");
define("NETCAT_MODULE_NETSHOP_RESPONSE_COMMENT", "User comment");
define("NETCAT_MODULE_NETSHOP_ORDERS_NUMBER", "Order #");
define("NETCAT_MODULE_NETSHOP_TRANSACTION_NUMBER", "Transaction number in the system");
define("NETCAT_MODULE_NETSHOP_TELEPHONE_NUMBER", "Enter the number of your QIWI e-wallet");
define("NETCAT_MODULE_NETSHOP_NO_PAYMENT_SYSTEM", "Payment system is not found");

define("NETCAT_MODULE_NETSHOP_ERROR_ASSIST", "Enter identificator in ASSIST");
define("NETCAT_MODULE_NETSHOP_ERROR_PAYPAL_MAIL", "Fill &#034;Paypal Log-in Email&#034; field and choose the shop currency");
define("NETCAT_MODULE_NETSHOP_ERROR_PAYPAL_RATES", "You should get the currency rates");
define("NETCAT_MODULE_NETSHOP_ERROR_QIWI", "Enter the shop number and QIWI password");
define("NETCAT_MODULE_NETSHOP_ERROR_MAIL", "Enter the shop number, the shop key, and cryptographic hash of the key for Money@mail.ru");
define("NETCAT_MODULE_NETSHOP_ERROR_ROBOKASSA", "Enter Log-in, password #1 and password #2 for Robokassa");
define("NETCAT_MODULE_NETSHOP_ERROR_WEBMONEY", "Enter seller's e-wallet number and secret key for Webmoney");
define("NETCAT_MODULE_NETSHOP_ERROR_YANDEX", "Choose settings in Yandex.Money");
define("NETCAT_MODULE_NETSHOP_ERROR_PAYMASTER", "Enter shop identificator and secret word for Paymaster");

define("NETCAT_MODULE_NETSHOP_SBERBANK_PRINT_BILL", "Распечатать квитанцию");
define("NETCAT_MODULE_NETSHOP_SBERBANK_NOTICE", "ИЗВЕЩЕНИЕ");
define("NETCAT_MODULE_NETSHOP_SBERBANK_CASHIER", "Кассир");
define("NETCAT_MODULE_NETSHOP_SBERBANK_PAYMENT_RECEIVER", "Получатель платежа");
define("NETCAT_MODULE_NETSHOP_SBERBANK_INN", "ИНН");
define("NETCAT_MODULE_NETSHOP_SBERBANK_RS", "Р/c");
define("NETCAT_MODULE_NETSHOP_SBERBANK_KS", "Корр.сч.");
define("NETCAT_MODULE_NETSHOP_SBERBANK_KPP", "КПП");
define("NETCAT_MODULE_NETSHOP_SBERBANK_BIK", "БИК");
define("NETCAT_MODULE_NETSHOP_SBERBANK_NAME_ADDR", "фамилия, и. о., адрес");
define("NETCAT_MODULE_NETSHOP_SBERBANK_PAYMENT_TYPE", "Вид платежа");
define("NETCAT_MODULE_NETSHOP_SBERBANK_DATE", "Дата");
define("NETCAT_MODULE_NETSHOP_SBERBANK_AMOUNT", "Сумма");
define("NETCAT_MODULE_NETSHOP_SBERBANK_PAYER", "Плательщик");
define("NETCAT_MODULE_NETSHOP_SBERBANK_RECEIPT", "КВИТАНЦИЯ");

define("NETCAT_MODULE_NETSHOP_BANK_PRINT_BILL", "Распечатать счет");
define("NETCAT_MODULE_NETSHOP_BANK_ADDRESS", "Адрес");
define("NETCAT_MODULE_NETSHOP_BANK_PHONE", "тел.");
define("NETCAT_MODULE_NETSHOP_BANK_EXAMPLE", "Образец заполнения платежного поручения");
define("NETCAT_MODULE_NETSHOP_BANK_INN", "ИНН");
define("NETCAT_MODULE_NETSHOP_BANK_KPP", "КПП");
define("NETCAT_MODULE_NETSHOP_BANK_BILL", "Сч.");
define("NETCAT_MODULE_NETSHOP_BANK_RECEIVER", "Получатель");
define("NETCAT_MODULE_NETSHOP_BANK_RECEIVER_BANK", "Банк получателя");
define("NETCAT_MODULE_NETSHOP_BANK_BIK", "БИК");
define("NETCAT_MODULE_NETSHOP_BANK_BILL_FULL", "СЧЕТ");
define("NETCAT_MODULE_NETSHOP_BANK_BILL_SUFFIX", "/И");
define("NETCAT_MODULE_NETSHOP_BANK_FROM", "от");
define("NETCAT_MODULE_NETSHOP_BANK_YEAR", "г.");
define("NETCAT_MODULE_NETSHOP_BANK_CUSTOMER", "Заказчик");
define("NETCAT_MODULE_NETSHOP_BANK_PAYER", "Плательщик");
define("NETCAT_MODULE_NETSHOP_BANK_GOODS_TITLE", "Наименование<br>товара");
define("NETCAT_MODULE_NETSHOP_BANK_UNIT", "Единица<br>измерения");
define("NETCAT_MODULE_NETSHOP_BANK_AMOUNT", "Количество");
define("NETCAT_MODULE_NETSHOP_BANK_PRICE", "Цена");
define("NETCAT_MODULE_NETSHOP_BANK_SUM", "Сумма");
define("NETCAT_MODULE_NETSHOP_BANK_SHIPPING", "Доставка");
define("NETCAT_MODULE_NETSHOP_BANK_TOTAL", "Итого");
define("NETCAT_MODULE_NETSHOP_BANK_VAT_INCLUDED", "В том числе НДС");
define("NETCAT_MODULE_NETSHOP_BANK_VAT_NOT_INCLUDED", "НДС не предусмотрен");
define("NETCAT_MODULE_NETSHOP_BANK_TOTAL_SUM", "Всего к оплате");
define("NETCAT_MODULE_NETSHOP_BANK_TOTAL_TITLES", "Всего наименований");
define("NETCAT_MODULE_NETSHOP_BANK_WITH_SUM", "на сумму");
define("NETCAT_MODULE_NETSHOP_BANK_TIP", "Оплата в рублях по курсу ЦБ РФ на день выставления счета");

define("NETCAT_MODULE_NETSHOP_CHECKOUT_ORDER_DATA_SECTION", "Contact data and delivery address");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_CUSTOMER_DATA_SECTION", "Contact data");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_CUSTOMER_ADDRESS_SECTION", "Delivery address");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_ITEMS_SECTION", "Ordered items");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_METHOD_SECTION", "Delivery method");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_PAYMENT_METHOD_SECTION", "Payment method");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_AND_PAYMENT_METHOD_SECTION", "Delivery and payment methods");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_NO_AVAILABLE_DELIVERY_METHODS",
"Unable to find suitable delivery method for your order. Our manager will contact you to work out the best possible delivery method.");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_ESTIMATE_ERROR", "Unable to estimate delivery price and time");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_ESTIMATE_ERROR_NO_RESPONSE", "no response from the server");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_ESTIMATE_PRICE", "Price: ");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_ESTIMATE_PRICE_UNKNOWN", "unknown");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_ESTIMATE_DATE", "Estimated delivery date: ");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_ESTIMATE_DATES", "Estimated delivery dates: ");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_ESTIMATE_LOADING", " (loading data) ");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_NO_AVAILABLE_PAYMENT_METHODS",
"Unable to find suitable payment method for your order. Our manager will contact you to work out the payment method.");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_PAYMENT_EXTRA_CHARGE", "Extra charge: ");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_CONFIRMATION_SECTION", "Order confirmation");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_PLEASE_REVIEW_ORDER", "Please review your order.");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_TOTALS_SECTION", "Totals");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_CART_TOTALS", "Price of the goods: ");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_ORDER_TOTALS", "Grand total: ");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_BUTTON", "Checkout");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_PREV_PAGE_BUTTON", "Back");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_NEXT_PAGE_BUTTON", "Continue");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_CHANGE_BUTTON", "Change");

define("NETCAT_MODULE_NETSHOP_CHECKOUT_DELIVERY_INCORRECT_METHOD", "Error: the delivery method you selected is not available for your order");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_SELECTED_DELIVERY_METHOD", "Delivery method: ");

define("NETCAT_MODULE_NETSHOP_CHECKOUT_PAYMENT_INCORRECT_METHOD", "Error: the payment method you selected is not available for your order");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_SELECTED_PAYMENT_METHOD", "Payment method: ");

define("NETCAT_MODULE_NETSHOP_CHECKOUT_BOOLEAN_FIELD_YES", "yes");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_BOOLEAN_FIELD_NO", "no");

define("NETCAT_MODULE_NETSHOP_CHECKOUT_INCORRECT_DELIVERY_METHOD", "Specified delivery method is not available.");
define("NETCAT_MODULE_NETSHOP_CHECKOUT_INCORRECT_PAYMENT_METHOD", "Specified payment method is not available.");

define("NETCAT_MODULE_NETSHOP_ITEM_CANNOT_BE_ORDERED", "Item &ldquo;%s&rdquo; is not available for order at this time.");
define("NETCAT_MODULE_NETSHOP_ITEM_QTY_CHANGED", "Item &ldquo;%s&rdquo; in your cart is not available in the quantity you originally requested. Your shopping cart was updated to reflect the amount that is currently available.");

define("NETCAT_MODULE_NETSHOP_NO_PAYMENT_MODULE", "Integration with payment systems is disabled because there is no payment module in your edition of the system");
define("NETCAT_MODULE_NETSHOP_PAYMENT_METHOD_PAYMENT_SYSTEM", "Payment system");
define("NETCAT_MODULE_NETSHOP_PAYMENT_METHOD_NO_PAYMENT_SYSTEM_OPTION", "-- none --");
define("NETCAT_MODULE_NETSHOP_PAYMENT_METHOD_EXTRA_CHARGE_ABSOLUTE", "Extra charge (absolute amount)");
define("NETCAT_MODULE_NETSHOP_PAYMENT_METHOD_EXTRA_CHARGE_RELATIVE", "Extra charge (percentage from the order sum)");

define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD", "Delivery method");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE", "Delivery cost estimate service");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_NO_SERVICE_OPTION", "-- none --");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_EXTRA_CHARGE_ABSOLUTE", "Extra charge (absolute amount)");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_EXTRA_CHARGE_RELATIVE", "Extra charge (percentage from the order sum)");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_COST", "Cost");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_CALCULATED", "Calculated");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_MIN_DAYS", "Minimum days to deliver (is added to the estimate from external source, if any)");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_MAX_DAYS", "Maximum days to deliver (is added to the estimate from external source, if any)");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SHIPMENT_DAYS", "Days when the order can be shipped out");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SAME_DAY_SHIPMENT_TIME", "Latest time for the same-day shipping");

define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_FROM_CITY", "Sender city");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_TO_CITY", "Recipient city");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_TO_ZIP_CODE", "Recipient zip (postal) code");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_INCORRECT_ID", "incorrect delivery method was chosen");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_INCORRECT_METHOD_ID", "incorrect delivery method was chosen");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_INCORRECT_WEIGHT", "package weight is out of bounds");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_INCORRECT_RECIPIENT_ADDRESS", "unable to find recipient address");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_INCORRECT_SENDER_ADDRESS", "unable to find sender address");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_INCORRECT_REMOTE_SERVER_RESPONSE", "error in remote sender response");
define("NETCAT_MODULE_NETSHOP_DELIVERY_METHOD_SERVICE_NO_REMOTE_SERVER_RESPONSE", "no response from the remote server");

define("NETCAT_MODULE_NETSHOP_DELIVERY_FREE_OF_CHARGE", "free of charge");
define("NETCAT_MODULE_NETSHOP_DELIVERY_DISCOUNT_STRING", "(discount: %s)");


define("NETCAT_MODULE_NETSHOP_GENITIVE_DAY_FORMAT", "jS"); // English: "jS"  (format as specified for the date() function)
define("NETCAT_MODULE_NETSHOP_DATE_RANGE_FORMAT", '%2$s, %1$2 to %3$s %2$s'); // day 1, month1, day 2, month 2. English: '%2$s, %1$2 to %3$s %2$s'
define("NETCAT_MODULE_NETSHOP_DATE_RANGE_FORMAT_ONE_MONTH", '%3$s, %1$s – %3$s, %2$s'); // day 1, day 2, month. English: '%3$s, %1$s – %3$s, %2$s'
define("NETCAT_MODULE_NETSHOP_DAY_AND_MONTH_FORMAT", '%2$s, %1$s'); // day, month. English: '%2$s, %1$s'
define("NETCAT_MODULE_NETSHOP_DATE_TODAY", "today");
define("NETCAT_MODULE_NETSHOP_DATE_TOMORROW", "tomorrow");

// (Common)

define('NETCAT_MODULE_NETSHOP_DATETIME_FORMAT', 'd.m.Y H:i');
define('NETCAT_MODULE_NETSHOP_DATE_FORMAT', 'd.m.Y');

define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS", "Item variants");
define("NETCAT_MODULE_NETSHOP_ADD_ITEM_VARIANT", "Add one");
define("NETCAT_MODULE_NETSHOP_ADD_ITEM_VARIANTS", "Add multiple");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_ENABLE_ALL", "Enable all");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_DISABLE_ALL", "Disable all");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_EDIT_ALL", "Edit all");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_DELETE_ALL", "Delete all variants");
define("NETCAT_MODULE_NETSHOP_ITEM_PARENT", "Base item variant");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_PRIORITY", "Drag to change the order");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_PRICE_RANGE", "<span class='tpl-value'>%s</span>&nbsp;&ndash; <span class='tpl-value'>%s</span>");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_ADD_MULTIPLE_HEADER", "Adding multiple item variants for &ldquo;%2&rdquo;");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_ADD_MULTIPLE_DESCRIPTION",
    "Choose fields which make item variants different, and specify those fields values, separated by semicolon.<br>" .
    "If several fields are selected, all possible item variants will be created.<br>" .
    "If there is only one value for a field, this value will be set for all variants that will be created.<br>" .
    "Values for all other fields will be inherited from the base variant.<br>" .
    "In case the values for the &ldquo;Variant Name&rdquo; field are not explicitly set, names of the variants will be automatically generated from the base variant name and specified field values. Order of the values in the generated name is determined by the field order.<br>"
);
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_SELECT_PROPERTY", "Choose an item property");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_FILL_ARTICLE", "Fill the &ldquo;%s&rdquo; field");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_FILL_ARTICLE_COMMENT", "Value of the &ldquo;%s&rdquo; field will be generated from the main item &ldquo;%1\$s&rdquo; field value and a variant sequence number, delimited by hyphen");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_CREATE", "Create");
define("NETCAT_MODULE_NETSHOP_ITEM_VARIANTS_COUNT", "Number of item variants:");

define("NETCAT_MODULE_NETSHOP_LIST_ACTIONS_HEADER", "Actions");
define("NETCAT_MODULE_NETSHOP_ACTION_EDIT", "Edit");
define("NETCAT_MODULE_NETSHOP_ACTION_DELETE", "Delete");
define("NETCAT_MODULE_NETSHOP_LIST_PREVIOUS_PAGE", "Previous page");
define("NETCAT_MODULE_NETSHOP_LIST_NEXT_PAGE", "Next page");

define("NETCAT_MODULE_NETSHOP_NAME_FIELD", "Name");
define("NETCAT_MODULE_NETSHOP_DESCRIPTION_FIELD", "Description");
define("NETCAT_MODULE_NETSHOP_CONDITION_FIELD", "Conditions");
define("NETCAT_MODULE_NETSHOP_NAME_AND_CONDITIONS_HEADER", "Name, conditions");
define("NETCAT_MODULE_NETSHOP_UTM_FIELD", "UTM code");

define("NETCAT_MODULE_NETSHOP_BUTTON_ADD", "Add");
define("NETCAT_MODULE_NETSHOP_BUTTON_BACK", "Back");
define("NETCAT_MODULE_NETSHOP_BUTTON_SAVE", "Save");
define('NETCAT_MODULE_NETSHOP_BUTTON_APPLY_FILTER', 'Apply');
define('NETCAT_MODULE_NETSHOP_BUTTON_CLOSE_DIALOG', 'Close');
define("NETCAT_MODULE_NETSHOP_BUTTON_DELETE_SELECTED", "Delete selected");
define("NETCAT_MODULE_NETSHOP_BUTTON_DELETE", "Delete");

define("NETCAT_MODULE_NETSHOP_UNABLE_TO_SAVE_RECORD", "Error occurred while saving the record. <a href='javascript:history:back()'>Back to editing</a>");

// Settings
define("NETCAT_MODULE_NETSHOP_SHOP_SETTINGS_TAB", "Company");
define("NETCAT_MODULE_NETSHOP_EXTRA_SETTINGS_TAB", "Settings");
define("NETCAT_MODULE_NETSHOP_PRICE_RULES_TAB", 'Prices');

define("NETCAT_MODULE_NETSHOP_SETTINGS_NO_CURRENCIES_ON_SITE", "There are no currencies defined on the selected site.");
define("NETCAT_MODULE_NETSHOP_SETTINGS_NO_OFFICIAL_RATES_ON_SITE", "There are no official currency rates defined on the selected site.");
define("NETCAT_MODULE_NETSHOP_SETTINGS_NO_PRICE_RULES_ON_SITE", "There are no price rules defined on the selected site.");
define("NETCAT_MODULE_NETSHOP_SETTINGS_NO_PAYMENT_METHODS_ON_SITE", "There are no payment methods defined on the selected site.");
define("NETCAT_MODULE_NETSHOP_SETTINGS_NO_DELIVERY_METHODS_ON_SITE", "There are no delivery methods defined on the selected site");

define("NETCAT_MODULE_NETSHOP_CURRENCY", "Currency");
define("NETCAT_MODULE_NETSHOP_CURRENCY_SETTINGS_TAB", "Settings");
define("NETCAT_MODULE_NETSHOP_CURRENCY_RATE", "Rate to the base source currency");
define("NETCAT_MODULE_NETSHOP_CURRENCY_SHORT_NAME", 'Currency short name');
define("NETCAT_MODULE_NETSHOP_CURRENCY_FULL_NAME", 'Currency full name (single, multiple forms)');
define("NETCAT_MODULE_NETSHOP_CURRENCY_DECIMAL_PART_NAME", 'Name of the decimal fraction');
define("NETCAT_MODULE_NETSHOP_CURRENCY_FORMAT_RULE", 'Output format');
define("NETCAT_MODULE_NETSHOP_CURRENCY_DECIMAL_POINTS", 'Number of decimal digits');
define("NETCAT_MODULE_NETSHOP_CURRENCY_DECIMAL_SEPARATOR", 'Decimal point symbol');
define("NETCAT_MODULE_NETSHOP_CURRENCY_THOUSANDS_SEPARATOR", 'Thousands separator');
define("NETCAT_MODULE_NETSHOP_DAYS_TO_KEEP_CURRENCY_RATES", 'Days to keep official rates');
define("NETCAT_MODULE_NETSHOP_RULE", 'Rule');
define("NETCAT_MODULE_NETSHOP_PRICE_RULE_NAME", 'Rule name');
define("NETCAT_MODULE_NETSHOP_PRICE_RULE_PRICE_COLUMN", 'Price column');
define("NETCAT_MODULE_NETSHOP_PRICE_RULE_CONFIRM_DELETE", "Remove the rule &ldquo;%s&rdquo;?");
define("NETCAT_MODULE_NETSHOP_ORDERS_COMPONENT", "Orders component");
define("NETCAT_MODULE_NETSHOP_ORDERS_SUM_STATUS", "Statuses of the orders used to calculate purchases sum");
define("NETCAT_MODULE_NETSHOP_1C_EXPORT_ORDERS_STATUS", "Statuses of the orders to export to 1C");
define("NETCAT_MODULE_NETSHOP_PAID_ORDER_STATUS", "Order status after successful payment");

// _MAILER_

define("NETCAT_MODULE_NETSHOP_MAILER_ROOT", "Messages");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATES", "Message templates");
define("NETCAT_MODULE_NETSHOP_MAILER_CUSTOMER_MAIL", "Messages to customers");
define("NETCAT_MODULE_NETSHOP_MAILER_MANAGER_MAIL", "Messages to managers");
define("NETCAT_MODULE_NETSHOP_MAILER_MASTER_TEMPLATES", "Templates"); // Макеты дизайна писем
define("NETCAT_MODULE_NETSHOP_MAILER_NO_MASTER_TEMPLATES", "There are no message templates for the e-shop on the selected site.");
define("NETCAT_MODULE_NETSHOP_MAILER_CUSTOMER_ORDER", "New order"); // Шаблон письма клиенту при оформлении заказа
define("NETCAT_MODULE_NETSHOP_MAILER_CUSTOMER_ORDER_REGISTER", "New order and registration");
define("NETCAT_MODULE_NETSHOP_MAILER_ORDER_STATUS", "&ldquo;%s&rdquo; status");

define("NETCAT_MODULE_NETSHOP_MAILER_MASTER_TEMPLATE_HEADER_NAME", "Template name");
define("NETCAT_MODULE_NETSHOP_MAILER_MASTER_TEMPLATE_NAME", "Template name");
define("NETCAT_MODULE_NETSHOP_MAILER_MASTER_TEMPLATE_IS_USED", "Cannot delete this template because it is used in other message templates");
define("NETCAT_MODULE_NETSHOP_MAILER_MASTER_TEMPLATE_CONFIRM_DELETE", "Delete &ldquo;%s&rdquo;?");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_SUBJECT", "Message subject");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_BODY", "Message body");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_PARENT_TEMPLATE", "Parent template");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_NO_PARENT_TEMPLATE", "none");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_IS_ENABLED", "send a message when this order status is set");

define("NETCAT_MODULE_NETSHOP_MAILER_MESSAGE_PREVIEW", "Message preview");
define("NETCAT_MODULE_NETSHOP_MAILER_MESSAGE_PREVIEW_TO", "To:");
define("NETCAT_MODULE_NETSHOP_MAILER_MESSAGE_PREVIEW_SUBJECT", "Subject:");
define("NETCAT_MODULE_NETSHOP_MAILER_MESSAGE_PREVIEW_NO_SUBJECT", "NO SUBJECT");
define("NETCAT_MODULE_NETSHOP_MAILER_MESSAGE_PREVIEW_SEND_PROMPT", "Specify an e-mail address to send a copy of this message.\n(Multiple comma-delimited addresses can be specified.)");
define("NETCAT_MODULE_NETSHOP_MAILER_MESSAGE_PREVIEW_SENT", "Message sent");

define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_INSERT_CHILD_TEMPLATE", "Child template");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_INSERT_VARIABLES", "Insert a variable...");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_SITE_VARIABLES", "Site");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_SHOP_VARIABLES", "Shop settings");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_USER_VARIABLES", "User");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_VARIABLES", "Order");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_CART_VARIABLES", "Cart");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_COUPON_VARIABLES", "Coupon");

define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ITEM_URL", "Item page link");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ITEM_PRICE_AS_DEFINED", "Base price (as defined in the Price field)");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ITEM_NON_FORMATTED_VALUE", " (not formatted)");

define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_DATE", "Order date");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_ITEM_PRICE", "Items total without order discount");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_CART_PRICE", "Items total with order discount");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_CART_PRICE_WITHOUT_DISCOUNT", "Items total without discounts");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_CART_ITEMS_DISCOUNT", "Item discount sum");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_ORDER_DISCOUNT", "Order discounts sum (contents, delivery)");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_CART_DISCOUNT", "Order contents discount sum");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_DELIVERY_DISCOUNT", "Delivery discount sum");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_PRICE", "Total order sum");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_TOTAL_DISCOUNT", "Total order discount");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_DELIVERY_METHOD_NAME", "Delivery method name");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_DELIVERY_DATES", "Estimated delivery dates");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_DELIVERY_PRICE", "Delivery cost");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_PAYMENT_METHOD_NAME", "Payment method name");
define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_PAYMENT_CHARGE", "Payment-related extra charge");

define("NETCAT_MODULE_NETSHOP_MAILER_TEMPLATE_ORDER_ID", "Order ID");

define("NETCAT_MODULE_NETSHOP_MAILER_RULES", "Additional manager addresses");
define("NETCAT_MODULE_NETSHOP_MAILER_RULE_ADDRESS", "E-mail address");
define("NETCAT_MODULE_NETSHOP_MAILER_NO_RULES_ON_SITE", "There are no e-mail address selection rules on this site.");
define("NETCAT_MODULE_NETSHOP_MAILER_RULES_CONFIRM_DELETE", "Delete «%s»?");

// _CONDITION_

// Фрагменты для составления текстового описания условий
define('NETCAT_MODULE_NETSHOP_OP_EQ', '%s');
define('NETCAT_MODULE_NETSHOP_OP_EQ_IS', 'is %s');
define('NETCAT_MODULE_NETSHOP_OP_NE', 'not %s');
define('NETCAT_MODULE_NETSHOP_OP_GT', 'greater than %s');
define('NETCAT_MODULE_NETSHOP_OP_GE', 'not less than %s');
define('NETCAT_MODULE_NETSHOP_OP_LT', 'less than %s');
define('NETCAT_MODULE_NETSHOP_OP_LE', 'not greater than %s');
define('NETCAT_MODULE_NETSHOP_OP_GT_DATE', 'later than %s');
define('NETCAT_MODULE_NETSHOP_OP_GE_DATE', 'not later than %s');
define('NETCAT_MODULE_NETSHOP_OP_LT_DATE', 'earlier than %s');
define('NETCAT_MODULE_NETSHOP_OP_LE_DATE', 'not earlier than %s');
define('NETCAT_MODULE_NETSHOP_OP_CONTAINS', 'contains &ldquo;%s&rdquo;');
define('NETCAT_MODULE_NETSHOP_OP_NOTCONTAINS', 'does not contain &ldquo;%s&rdquo;');
define('NETCAT_MODULE_NETSHOP_OP_BEGINS', 'begins with &ldquo;%s&rdquo;');

define('NETCAT_MODULE_NETSHOP_COND_QUOTED_VALUE', '&ldquo;%s&rdquo;');
define('NETCAT_MODULE_NETSHOP_COND_OR', ', or '); // spaces are important
define('NETCAT_MODULE_NETSHOP_COND_AND', '; ');
define('NETCAT_MODULE_NETSHOP_COND_OR_SAME', ', ');
define('NETCAT_MODULE_NETSHOP_COND_AND_SAME', ' and ');
define('NETCAT_MODULE_NETSHOP_COND_DUMMY', '(condition type not available in this edition of the module)');
define('NETCAT_MODULE_NETSHOP_COND_CART_COUNT', 'number of items in the order is');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEM', 'order contains');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMCOMPONENT', 'order contains');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMCOMPONENT_FROM', 'from the component');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMPARENTSUB', 'order contains');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMPARENTSUB_FROM', 'from the section');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMPARENTSUB_FROM_DESCENDANTS', 'and its’ descendants');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMSUB', 'order contains');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMSUB_FROM', 'from the section');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMPROPERTY', 'order contains');
define('NETCAT_MODULE_NETSHOP_COND_CART_ITEMPROPERTY_WITH', ' with ');
define('NETCAT_MODULE_NETSHOP_COND_CART_PROPERTYMAX', 'maximum value of &ldquo;%s&rdquo; in the order is');
define('NETCAT_MODULE_NETSHOP_COND_CART_PROPERTYMIN', 'minimum value of &ldquo;%s&rdquo; in the order is');
define('NETCAT_MODULE_NETSHOP_COND_CART_PROPERTYSUM', 'sum of &ldquo;%s&rdquo; (with quantity taken into account) in the order is');
define('NETCAT_MODULE_NETSHOP_COND_CART_TOTALPRICE', 'total item cost is');
define('NETCAT_MODULE_NETSHOP_COND_CART_SUM', 'total item cost (excluding item discounts) is');
define('NETCAT_MODULE_NETSHOP_COND_ITEM', 'the item is');
define('NETCAT_MODULE_NETSHOP_COND_ITEM_COMPONENT', 'items of type ');
define('NETCAT_MODULE_NETSHOP_COND_ITEM_PARENTSUB', 'items from the section');
define('NETCAT_MODULE_NETSHOP_COND_ITEM_PARENTSUB_NE', 'item is not from the section');
define('NETCAT_MODULE_NETSHOP_COND_ITEM_PARENTSUB_DESCENDANTS', 'and its’ descendants');
define('NETCAT_MODULE_NETSHOP_COND_ITEM_PROPERTY', 'items with');
define('NETCAT_MODULE_NETSHOP_COND_ORDER_DELIVERYMETHOD', 'delivery method is');
define('NETCAT_MODULE_NETSHOP_COND_ORDER_PAYMENTMETHOD', 'payment method is');
define('NETCAT_MODULE_NETSHOP_COND_ORDER_PROPERTY', 'orders with');
define('NETCAT_MODULE_NETSHOP_COND_ORDER_STATUS', 'order status is');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_COMPONENT', 'previous orders contain items of type');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_COUNT', 'number of previous orders is');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_ITEM', 'previous orders contain');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_ITEM_UNITS', 'pcs.');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUM', 'previous orders totals');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUMDATES', 'previous orders totals');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUMPERIOD', 'previous orders totals');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUMPERIOD_DAY', 'day days days');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUMPERIOD_WEEK', 'week weeks weeks');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUMPERIOD_MONTH', 'month months months');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUMPERIOD_YEAR', 'year years years');
define('NETCAT_MODULE_NETSHOP_COND_ORDERS_SUMPERIOD_FOR', 'for');
define('NETCAT_MODULE_NETSHOP_COND_USER', 'user is');
define('NETCAT_MODULE_NETSHOP_COND_USER_CREATED', 'user registration date is');
define('NETCAT_MODULE_NETSHOP_COND_USER_GROUP', 'user group is');
define('NETCAT_MODULE_NETSHOP_COND_USER_PROPERTY', 'for users whose');
define('NETCAT_MODULE_NETSHOP_COND_DATE_FROM', 'from');
define('NETCAT_MODULE_NETSHOP_COND_DATE_TO', 'to');
define('NETCAT_MODULE_NETSHOP_COND_TIME_INTERVAL', '%s ? %s');
define('NETCAT_MODULE_NETSHOP_COND_BOOLEAN_TRUE', 'true');
define('NETCAT_MODULE_NETSHOP_COND_BOOLEAN_FALSE', 'false');
define('NETCAT_MODULE_NETSHOP_COND_DAYOFWEEK_ON_LIST', 'on Monday/on Tuesday/on Wednesday/on Thursday/on Friday/on Saturday/on Sunday');
define('NETCAT_MODULE_NETSHOP_COND_DAYOFWEEK_EXCEPT_LIST', 'except Monday/except Tuesday/except Wednesday/except Thursday/except Friday/except Saturday/except Sunday');
define('NETCAT_MODULE_NETSHOP_COND', 'Conditions: ');

define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_COMPONENT', '[NONEXISTENT COMPONENT]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_FIELD', '[ERROR IN CONDITION: NONEXISTENT FIELD]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_VALUE', '[NONEXISTENT VALUE]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_SUB', '[NONEXISTENT FOLDER]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_ITEM', '[NONEXISTENT ITEM]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_USER_GROUP', '[NONEXISTENT USER GROUP]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_USER', '[NONEXISTENT USER]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_DELIVERY_METHOD', '[NONEXISTENT DELIVERY METHOD]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_PAYMENT_METHOD', '[NONEXISTENT PAYMENT METHOD]');
define('NETCAT_MODULE_NETSHOP_COND_NONEXISTENT_STATUS', '[NONEXISTENT ORDER STATUS]');

// Строки, используемые в «простом» редакторе условий
define('NETCAT_MODULE_NETSHOP_SIMPLE_CONDITION_NOTICE', 'Filtering with conditions is not available in the this edition of the module.');
define('NETCAT_MODULE_NETSHOP_SIMPLE_CONDITION_CART_TOTALPRICE_FROM', 'Order sum: from');
define('NETCAT_MODULE_NETSHOP_SIMPLE_CONDITION_CART_TOTALPRICE_TO', 'to');

// Строки, используемые в редакторе условий
define('NETCAT_MODULE_NETSHOP_CONDITION_AND', 'and');
define('NETCAT_MODULE_NETSHOP_CONDITION_OR', 'or');
define('NETCAT_MODULE_NETSHOP_CONDITION_AND_DESCRIPTION', 'All conditions are met:');
define('NETCAT_MODULE_NETSHOP_CONDITION_OR_DESCRIPTION', 'Any of the conditions is met:');
define('NETCAT_MODULE_NETSHOP_CONDITION_REMOVE_GROUP', 'Remove condition group');
define('NETCAT_MODULE_NETSHOP_CONDITION_REMOVE_CONDITION', 'Remove condition');
define('NETCAT_MODULE_NETSHOP_CONDITION_REMOVE_ALL_CONFIRMATION', 'Remove all conditions?');
define('NETCAT_MODULE_NETSHOP_CONDITION_REMOVE_GROUP_CONFIRMATION', 'Remove the condition group?');
define('NETCAT_MODULE_NETSHOP_CONDITION_REMOVE_CONDITION_CONFIRMATION', 'Remove &ldquo;%s&rdquo;?');
define('NETCAT_MODULE_NETSHOP_CONDITION_ADD', 'Add...');
define('NETCAT_MODULE_NETSHOP_CONDITION_ADD_GROUP', 'Add condition group');

define('NETCAT_MODULE_NETSHOP_CONDITION_EQUALS', 'equals');
define('NETCAT_MODULE_NETSHOP_CONDITION_NOT_EQUALS', 'not equals');
define('NETCAT_MODULE_NETSHOP_CONDITION_LESS_THAN', 'less than');
define('NETCAT_MODULE_NETSHOP_CONDITION_LESS_OR_EQUALS', 'not greater than');
define('NETCAT_MODULE_NETSHOP_CONDITION_GREATER_THAN', 'greater than');
define('NETCAT_MODULE_NETSHOP_CONDITION_GREATER_OR_EQUALS', 'not less than');
define('NETCAT_MODULE_NETSHOP_CONDITION_CONTAINS', 'contains');
define('NETCAT_MODULE_NETSHOP_CONDITION_NOT_CONTAINS', 'does not contain');
define('NETCAT_MODULE_NETSHOP_CONDITION_BEGINS_WITH', 'begins with');
define('NETCAT_MODULE_NETSHOP_CONDITION_TRUE', 'yes');
define('NETCAT_MODULE_NETSHOP_CONDITION_FALSE', 'no');

define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_CONDITION_TYPE', 'select a condition type');
define('NETCAT_MODULE_NETSHOP_CONDITION_SEARCH_NO_RESULTS', 'Not found: ');

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_GOODS', 'Item properties'); // 'Свойства товара'

define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_COMPONENT', 'Component');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_COMPONENT', 'choose a component');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ITEM', 'Item');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_ITEM', 'choose an item');
define('NETCAT_MODULE_NETSHOP_CONDITION_NONEXISTENT_ITEM', '(Item does not exist)');
define('NETCAT_MODULE_NETSHOP_CONDITION_ITEM_WITHOUT_NAME', 'Item without a name');
define('NETCAT_MODULE_NETSHOP_CONDITION_ITEM_SELECTION', 'Item Selection');
define('NETCAT_MODULE_NETSHOP_CONDITION_DIALOG_CANCEL_BUTTON', 'Cancel');
define('NETCAT_MODULE_NETSHOP_CONDITION_DIALOG_SELECT_BUTTON', 'Select');
define('NETCAT_MODULE_NETSHOP_CONDITION_SUBDIVISION_HAS_LIST_NO_COMPONENTS_OR_OBJECTS', 'There are no components or no items in the selected site section.');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_SUBDIVISION', 'Site section');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_SUBDIVISION_DESCENDANTS', 'Site section and its’ descendants');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_SUBDIVISION', 'choose a site section');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ITEM_FIELD', 'Item property');
define('NETCAT_MODULE_NETSHOP_CONDITION_COMMON_FIELDS', 'All components');
define('NETCAT_MODULE_NETSHOP_CONDITION_FIELD_BELONGS_TO_ALL_COMPONENTS', 'all components');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_ITEM_FIELD', 'select an item property');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_VALUE', '...'); // sic

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_USER', 'User properties'); // 'Свойства пользователя'

define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_USER', 'User');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_USER_GROUP', 'User group');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_USER_CREATED', 'User registration date');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_USER_FIELD', 'User property');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_USER', 'choose a user');
define('NETCAT_MODULE_NETSHOP_CONDITION_NONEXISTENT_USER', 'User does not exist');
define('NETCAT_MODULE_NETSHOP_CONDITION_USER_SELECTION', 'User Selection');
define('NETCAT_MODULE_NETSHOP_CONDITION_USER_LIST_NO_RESULTS', 'There are no users in the selected user group');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_USER_GROUP', 'choose an user group');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_USER_PROPERTY', 'choose an user property');

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_CART', 'Cart (ordered items)');

define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_SUM_WITH_ITEM_DISCOUNTS', 'Total item cost (including item discounts)');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_SUM', 'Total item cost (without item discounts)');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_POSITION_COUNT', 'Number of items');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_POSITION_COUNT', 'Number of distinct items in the cart');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_ITEM_COMPONENT', 'Number of items of the component');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_ITEM_SUBDIVISION', 'Number of items from the site section');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_ITEM_SUBDIVISION_DESCENDANTS', 'Number of items from the site section and its descendants');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_ITEM_COUNT', 'Number of specific item');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_ITEM_FIELD', 'Number of items with a specific property');

define('NETCAT_MODULE_NETSHOP_CONDITION_CART_CONTAINS', 'Cart contains');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_PIECES_OF_COMPONENT', 'pcs. of items of ');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_PIECES_OF_ITEMS_FROM_SUBDIVISION', 'pcs. of items from ');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_PIECES_OF_ITEMS_FROM_SUBDIVISION_DESCENDANTS', 'pcs. of items from a section and sub-sections');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_PIECES_OF', 'pcs. of ');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_ITEM_FIELD', 'pcs. of items which ');

define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_FIELD_SUM', 'Cart items field sum (with quantity taken into account)');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_FIELD_SUM', 'Sum over the cart items field (with quantity taken into account)');

define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_FIELD_MIN', 'Cart items field minimum');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_FIELD_MIN', 'Minimum value from the cart items field');

define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_CART_FIELD_MAX', 'Cart items field maximum');
define('NETCAT_MODULE_NETSHOP_CONDITION_CART_FIELD_MAX', 'Maximum value from the cart items field');

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_ORDER', 'Current order');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_FIELD', 'Order property');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_ORDER_PROPERTY', 'choose an order property');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_DELIVERY_METHOD', 'Delivery method');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_DELIVERY_METHOD', 'choose a delivery method');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_PAYMENT_METHOD', 'Payment method');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_PAYMENT_METHOD', 'choose a payment method');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_STATUS', 'Order status');
define('NETCAT_MODULE_NETSHOP_CONDITION_SELECT_ORDER_STATUS', 'choose a status');

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_ORDERS', 'Previous purchases');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_SUM_ALL_TIME', 'All-time order sum');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_SUM_PERIOD', 'Order sum over the period');
define('NETCAT_MODULE_NETSHOP_CONDITION_ORDER_SUM_FOR_LAST', 'Order sum in the last');
define('NETCAT_MODULE_NETSHOP_CONDITION_LAST_X_DAYS', 'days');
define('NETCAT_MODULE_NETSHOP_CONDITION_LAST_X_WEEKS', 'weeks');
define('NETCAT_MODULE_NETSHOP_CONDITION_LAST_X_MONTHS', 'months');
define('NETCAT_MODULE_NETSHOP_CONDITION_LAST_X_YEARS', 'years');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_SUM_DATES', 'Order sum for the date period');
define('NETCAT_MODULE_NETSHOP_CONDITION_ORDER_SUM_DATE_FROM', 'Order sum from');
define('NETCAT_MODULE_NETSHOP_CONDITION_ORDER_SUM_DATE_TO', 'to');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDER_COUNT', 'Number of orders');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDERS_CONTAIN_ITEM', 'Orders contain an item');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_ORDERS_CONTAIN_COMPONENT', 'Orders contain an item from the component');

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_DATETIME', 'Date and time');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_DATE_INTERVAL', 'Date');
define('NETCAT_MODULE_NETSHOP_CONDITION_DATE_FROM', 'Date: from');
define('NETCAT_MODULE_NETSHOP_CONDITION_DATE_TO', 'to');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_DAY_OF_WEEK', 'Day of week');
define('NETCAT_MODULE_NETSHOP_CONDITION_DAY_OF_WEEK', 'Day of week:');
define('NETCAT_MODULE_NETSHOP_CONDITION_MONDAY', 'Monday');
define('NETCAT_MODULE_NETSHOP_CONDITION_TUESDAY', 'Tuesday');
define('NETCAT_MODULE_NETSHOP_CONDITION_WEDNESDAY', 'Wednesday');
define('NETCAT_MODULE_NETSHOP_CONDITION_THURSDAY', 'Thursday');
define('NETCAT_MODULE_NETSHOP_CONDITION_FRIDAY', 'Friday');
define('NETCAT_MODULE_NETSHOP_CONDITION_SATURDAY', 'Saturday');
define('NETCAT_MODULE_NETSHOP_CONDITION_SUNDAY', 'Sunday');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_TIME_INTERVAL', 'Time');
define('NETCAT_MODULE_NETSHOP_CONDITION_TIME_FROM', 'Time: from');
define('NETCAT_MODULE_NETSHOP_CONDITION_TIME_TO', 'till');

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_VALUEOF', 'Variable value');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_COOKIE_VALUE', 'Cookie value');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_SESSION_VALUE', 'Session variable value');

define('NETCAT_MODULE_NETSHOP_CONDITION_GROUP_EXTENSION', 'Extensions');
define('NETCAT_MODULE_NETSHOP_CONDITION_TYPE_USER_FUNCTION', 'Function return value');
define('NETCAT_MODULE_NETSHOP_CONDITION_FUNCTION_CALL', 'Function');
define('NETCAT_MODULE_NETSHOP_CONDITION_FUNCTION_RETURNS_TRUE', 'returns &ldquo;true&rdquo;');
define('NETCAT_MODULE_NETSHOP_CONDITION_VALUE_REQUIRED', 'Please specify a value or delete the &ldquo;%s&rdquo; condtion');

// _PROMOTION_

define("NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNTS", "Discounts");

define("NETCAT_MODULE_NETSHOP_PROMOTION_ITEM_DISCOUNTS", "Item discounts");
define("NETCAT_MODULE_NETSHOP_PROMOTION_NO_ITEM_DISCOUNTS", "There are no item discounts on the selected site");

define("NETCAT_MODULE_NETSHOP_PROMOTION_CART_DISCOUNTS", "Cart discounts");
define("NETCAT_MODULE_NETSHOP_PROMOTION_NO_CART_DISCOUNTS", "There are no cart contents discounts on the selected site");

define("NETCAT_MODULE_NETSHOP_PROMOTION_DELIVERY_DISCOUNTS", "Delivery discounts");
define("NETCAT_MODULE_NETSHOP_PROMOTION_NO_DELIVERY_DISCOUNTS", "There are no delivery discounts on the selected site");

define("NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_AMOUNT", "Amount");
define("NETCAT_MODULE_NETSHOP_PROMOTION_LIST_EDIT_HEADER", "Edit");
define("NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_COUPONS", "Coupons");
define("NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_IS_CUMULATIVE_SHORT", "cumulative");
define("NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_REQUIRES_ITEM_ACTIVATION_SHORT", "user-activated");
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_CONFIRM_DELETE', 'Delete discount &ldquo;%s&rdquo;?');

define("NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_VALUE", "Discount value");
define("NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_IS_CUMULATIVE", "Summed up with other discounts");
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_CONDITIONS', 'Discount conditions');
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_REQUIRES_COUPON_CODE', 'Coupon is required to activate the discount');
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_CREATE_COUPONS_AFTER_SAVING', 'Create coupons after saving the discount');
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_NUMBER_OF_COUPONS', 'Number of coupons: %s (active: %s)');
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_GENERATE_COUPONS', 'Add coupons');
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_REQUIRES_ITEM_ACTIVATION', 'Use as an &ldquo;Instant Offer&rdquo; only');
define('NETCAT_MODULE_NETSHOP_PROMOTION_DISCOUNT_IS_ENABLED', 'Discount is active');

define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPONS_FOR_DISCOUNT_ITEM_HEADER', '“%s” item discount coupons'); // "DISCOUNT_ITEM": sic (depends on discount class name)
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPONS_FOR_DISCOUNT_CART_HEADER', '“%s” cart contents discount coupons'); // "DISCOUNT_CART": sic (depends on discount class name)
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPONS_FOR_DISCOUNT_DELIVERY_HEADER', '“%s” delivery discount coupons'); // "DISCOUNT_DELIVERY": sic (depends on discount class name)
define('NETCAT_MODULE_NETSHOP_PROMOTION_NO_COUPONS', 'No coupons.');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_CODE', 'Coupon code');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_NUMBER_OF_USAGES', 'Number of usages');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_NUMBER_OF_USAGES_OUT_OF', 'out of');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_VALID_TILL', 'Valid till');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_VALID_INDEFINITELY', 'indefinitely');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATE_COUPONS_BUTTON', 'Add coupons');
define('NETCAT_MODULE_NETSHOP_PROMOTION_BACK_TO_DISCOUNT_LIST', 'To the discount list');
define('NETCAT_MODULE_NETSHOP_PROMOTION_BACK_TO_DEAL_LIST', 'To the deal list');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_CSV_LINK', 'CSV export');


define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_SEND_CODES_TO_USERS', 'Send codes to users via e-mail');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_USERS_SELECTION', 'User Selection');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_NUMBER_OF_USERS_SELECTED', 'Number of users selected: ');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_SHOW_SELECTED_USERS', 'Open selected users list');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_NO_USERS', 'No users that match specified conditions');
define('NETCAT_MODULE_NETSHOP_PROMOTION_NUMBER_OF_COUPONS_TO_GENERATE', 'Number of coupons:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE', 'Coupon code:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE_PREFIX', 'Coupon code prefix:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE_SYMBOLS', 'Symbols used in the generated part of the code:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE_SYMBOLS_DEFAULT_VALUE', 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE_LENGTH', 'Length of the generated part:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE_VALID_TILL', 'Valid:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE_VALID_INDEFINITELY', 'indefinitely');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_CODE_VALID_TILL_DATE', 'until date');
define('NETCAT_MODULE_NETSHOP_PROMOTION_GENERATED_COUPON_MAX_USAGES', 'Maximum number of usage of each coupon:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_USER_EMAIL_FIELD', 'User property containing e-mail address:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_PREVIEW_EMAIL', 'Preview message');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_WITH_THIS_CODE_ALREADY_EXISTS', 'Coupon with this code already exists!');
define('NETCAT_MODULE_NETSHOP_PROMOTION_CREATE_COUPONS', 'Create');
define('NETCAT_MODULE_NETSHOP_PROMOTION_CANNOT_CREATE_COUPON', 'Cannot create a coupon: the specified code is incorrect or already exists');
define('NETCAT_MODULE_NETSHOP_PROMOTION_CANNOT_GENERATE_COUPONS', 'Cannot create required number of coupons with the specified settings.' .
    '<ul><li>Increase the length of generated part of coupon codes.</li>'.
    '<li>Add additional symbols that can be used in the generated part of the code.</li>' .
    '<li>Choose another coupon code prefix.</li>' .
    '</ul>');
define('NETCAT_MODULE_NETSHOP_PROMOTION_CANNOT_SEND_COUPONS', 'Cannot send coupon codes to the users. ' .
    'Please check whether the message settings are correct: message subject and body, user property containing the e-mail address.');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_CODE_MAX_USAGES', 'Maximum number of usages:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_IS_ENABLED', 'Coupon is active');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_GENERATION_TITLE', 'Generating Coupons');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_GENERATION_PLEASE_WAIT', 'Do not close this window until the process is finished.');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_GENERATION_STEP_1', 'Generating coupons');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_GENERATION_STEP_2', 'Creating messages');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_GENERATION_STEP_FINISHED', '– &nbsp;finished.');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_GENERATION_ERROR_CAPTION', 'Error while creating coupons:');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_GENERATION_DIALOG_CLOSE', 'Close');

define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_CODE_IS_INVALID', 'Coupon &ldquo;%s&rdquo; not found');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_IS_EXPIRED', 'Coupon &ldquo;%s&rdquo; is expired');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_IS_NOT_VALID_ON_THIS_SITE', 'Coupon &ldquo;%s&rdquo; is not valid on this site');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_IS_USED_UP', 'Coupon &ldquo;%s&rdquo; was already used');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_IS_REMOVED_FROM_SESSION', 'Coupon &ldquo;%s&rdquo; is removed');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_ONLY_ONE_OF_ITS_KIND_IS_ALLOWED', 'Coupon &ldquo;%s&rdquo; was not added because another coupon of this type is already activated');
define('NETCAT_MODULE_NETSHOP_PROMOTION_COUPON_CANNOT_BE_APPLIED_TO_ANY_ITEM', 'Coupon &ldquo;%s&rdquo; does not apply to any items in your cart');
define('NETCAT_MODULE_NETSHOP_PROMOTION_REGISTERED_COUPON_CODE_IS_APPLIED_TO_CART', 'Coupon &ldquo;%s&rdquo; is applied to your cart');
define('NETCAT_MODULE_NETSHOP_PROMOTION_REGISTERED_COUPON_CODE_WILL_BE_APPLIED_TO_CART', 'Coupon &ldquo;%s&rdquo; will be applied to your cart and all items on the site');

define('NETCAT_MODULE_NETSHOP_1C_SECRET_NAME', '1С Secret Name');
define('NETCAT_MODULE_NETSHOP_1C_SECRET_KEY', '1С Secret Key');
define('NETCAT_MODULE_NETSHOP_SECRET_KEY', 'Secret key for currency rates retrieval script');

define('NETCAT_MODULE_NETSHOP_IGNORE_STOCK_UNITS_VALUE', 'Ignore &ldquo;Stock Units&rdquo; field value when putting items to the cart');
define('NETCAT_MODULE_NETSHOP_STOCK_RESERVE_STATUS', 'Order statuses transition to which triggers the subtraction of goods quantity from the &ldquo;Stock Units&rdquo; value');
define('NETCAT_MODULE_NETSHOP_STOCK_RETURN_STATUS', 'Order statuses transition to which triggers the restocking of the goods (to the &ldquo;Stock Units&rdquo; value)');
define('NETCAT_MODULE_NETSHOP_STOCK_RESERVE_FIELD', 'Goods were reserved');
define('NETCAT_MODULE_NETSHOP_STOCK_RETURN_FIELD', 'Goods were returned');

define("NETCAT_MODULE_NETSHOP_MARKETS", "Markets");
define("NETCAT_MODULE_NETSHOP_YANDEX_MARKET", "Yandex.Market");
define("NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLES", "Bundles");
define("NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLE_ADD", "Add Bundles");
define("NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLE_EDIT", "Edit Bundle");
define("NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLES_NAME", "Bundle name");
define("NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLES_UPDATED", "Changed");
define('NETCAT_MODULE_NETSHOP_YANDEX_CONFIRM_DELETE', 'Delete bundle «%s»?');

define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLE_ID', 'ID');
define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLE_TYPE', 'Bundle type');
define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLE_TYPE_SIMPLE', 'Simplified');
define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLE_TYPE_FULL', 'Custom items (extended)');
define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLES_EDIT_FIELDS', 'Edit compliances');
define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_BUNDLES_EXPORT_URL', 'URL for export');

define("NETCAT_MODULE_NETSHOP_GOOGLE_MERCHANT", "Google Merchant");
define("NETCAT_MODULE_NETSHOP_MARKET_YANDEX_NO_BUNDLES", "No bundles found");
define("NETCAT_MODULE_NETSHOP_MARKET_GOOGLE_NO_BUNDLES", "No bundles found");

define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_MULTI_NAME', 'Name');
define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_MULTI_UNITS', 'Units');
define('NETCAT_MODULE_NETSHOP_YANDEX_MARKET_MULTI_FIELD', 'Field');

define('NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLE_TYPE_SIMPLE', 'Basic');

define("NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLES", "Bundles");
define("NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLE_ADD", "Add Bundles");
define("NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLE_EDIT", "Edit Bundle");
define("NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLES_NAME", "Bundle name");
define("NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLES_UPDATED", "Changed");
define('NETCAT_MODULE_NETSHOP_GOOGLE_CONFIRM_DELETE', 'Delete bundle «%s»?');
define('NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLE_ID', 'ID');
define('NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLE_TYPE', 'Bundle type');
define('NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLE_TYPE_SIMPLE', 'Simplified');
define('NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLES_EDIT_FIELDS', 'Edit compliances');
define('NETCAT_MODULE_NETSHOP_GOOGLE_MARKET_BUNDLES_EXPORT_URL', 'URL for export');

define("NETCAT_MODULE_NETSHOP_MAILRU", "Товары@Mail.Ru");
define("NETCAT_MODULE_NETSHOP_MAIL_BUNDLE_TYPE_SIMPLE", "Basic");
define("NETCAT_MODULE_NETSHOP_MARKET_MAIL_NO_BUNDLES", "No bundles found");
define("NETCAT_MODULE_NETSHOP_MAIL_BUNDLES", "Bundles");
define("NETCAT_MODULE_NETSHOP_MAIL_BUNDLE_ADD", "Add Bundles");
define("NETCAT_MODULE_NETSHOP_MAIL_BUNDLE_EDIT", "Edit Bundle");
define("NETCAT_MODULE_NETSHOP_MAIL_BUNDLES_NAME", "Bundle name");
define("NETCAT_MODULE_NETSHOP_MAIL_BUNDLES_UPDATED", "Changed");
define('NETCAT_MODULE_NETSHOP_MAIL_CONFIRM_DELETE', 'Delete bundle «%s»?');
define('NETCAT_MODULE_NETSHOP_MAIL_BUNDLE_ID', 'ID');
define('NETCAT_MODULE_NETSHOP_MAIL_BUNDLE_TYPE', 'Bundle type');
define('NETCAT_MODULE_NETSHOP_MAIL_BUNDLE_TYPE_SIMPLE', 'Simplified');
define('NETCAT_MODULE_NETSHOP_MAIL_BUNDLES_EDIT_FIELDS', 'Edit compliances');
define('NETCAT_MODULE_NETSHOP_MAIL_BUNDLES_EXPORT_URL', 'URL for export');

define('NETCAT_MODULE_NETSHOP_MAIL_MULTI_NAME', 'Name');
define('NETCAT_MODULE_NETSHOP_MAIL_MULTI_UNITS', 'Units');
define('NETCAT_MODULE_NETSHOP_MAIL_MULTI_FIELD', 'Field');

define('NETCAT_MODULE_NETSHOP_CONFIRM_STATUS_CHANGE', 'Confirm status change');

define('NETCAT_MODULE_NETSHOP_NO_ORDERS', 'You have no orders');

// define('NETCAT_MODULE_NETSHOP_CATALOGUE_AND_GOODS', 'Catalogue and goods');

if (!function_exists("nc_netshop_word_form")) {
    /**
     * В зависимости от количества $n возвращает форму слова
     * ($f1 — один, $f2 — более одного)
     *
     * @param $n
     * @param string $f1
     * @param string $f2
     * @return string
     */
    function nc_netshop_word_form($n, $f1, $f2) {
        return $n == 1 ? $f1 : $f2;
    }


    /**
     * Сумма прописью
     *
     * @param int|float $num  Сумма
     * @param array|string|bool $currency_name
     *      Массив в формами названия валюты (1 рубль, 2 рубля, 5 рублей);
     *      последний элемент массива — указание на грамматический род валюты (M, F).
     *      Названия могут быть переданы в виде строки, где указанные элементы
     *      разделены запятой.
     *      Если false, название валюты, а также дробная часть не добавляются
     *      (выводится только сумма прописью).
     *      Если true, в качестве названия валюты используется «рубль».
     * @param array|string|bool $decimal_part
     *      Массив в формами названия дробной части валюты (1 копейка, 2 копейки, 5 копеек);
     *      последний элемент массива — указание на род (M, F).
     *      Названия могут быть переданы в виде строки, где указанные элементы
     *      разделены запятой.
     *      Если false, дробная часть суммы не добавляется.
     *      Если true, в качестве названия дробной части используется «копейка».
     * @return string
     */
    function nc_netshop_amount_in_full($num, $currency_name = true, $decimal_part = true) {
        $nul = 'zero';
        $ones = array('', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine');
        $teens = array('ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen');
        $tens = array(2 => 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety');
        $hundreds = array('', 'one hundred', 'two hundred', 'three hundred', 'four hundred', 'five hundred', 'six hundred', 'seven hundred', 'eight hundred', 'nine hundred');

        // названия валют
        $defaults = array(
            "decimal_part" => array('copeck', 'copecks'),
            "currency_name" => array('rouble', 'roubles')
        );

        // если currency_name и decimal_part являются массивом или строкой, взять
        // названия валюты и её дробной части из этих параметров
        foreach (array('currency_name', 'decimal_part') as $param) {
            if (is_string($$param) && strlen($$param)) {
                $$param = preg_split("/\s*,\s*/u", $$param);
            }
            if (!is_array($$param)) { $$param = $defaults[$param]; }
        }

        // все единицы измерения
        $units = array(
            $decimal_part,
            $currency_name,
            array('thousand', 'thousand'),
            array('million', 'million'),
            array('billion', 'billion'),
        );


        list($rub, $kop) = explode('.', sprintf("%015.2f", floatval($num)));
        $out = array();
        if (intval($rub) > 0) {
            foreach (str_split($rub, 3) as $order => $value) { // by 3 symbols
                if (!intval($value)) { continue; }
                if ($out && $value > 99) { $out[] = ","; }

                $unit_key = sizeof($units) - $order - 1; // unit key
                list($i1, $i2, $i3) = array_map('intval', str_split($value, 1));

                // mega-logic
                $out[] = $hundreds[$i1]; # 1xx-9xx
                // if ($i1 && ($i2 || $i3)) { $out[] = "and"; } // British

                if ($i2 > 1) {  // 20-99
                    $out[] = $tens[$i2];
                    if ($i3) { $out[] = '-' . $ones[$i3]; }
                }
                else { // 10-19 | 1-9
                    $out[] = $i2 > 0 ? $teens[$i3] : $ones[$i3];
                }

                // units without rub & kop
                if ($unit_key > 1) {
                    $out[] = nc_netshop_word_form($value, $units[$unit_key][0], $units[$unit_key][1]);
                }
            } //foreach
        }
        else {
            $out[] = $nul;
        }

        if ($currency_name) {
            $out[] = nc_netshop_word_form(intval($rub), $units[1][0], $units[1][1]); // rub
            if ($decimal_part) {
                $out[] = $kop . ' ' . nc_netshop_word_form($kop, $units[0][0], $units[0][1]); // kop
            }
        }

        $result = trim(preg_replace('/ {2,}/', ' ', join(' ', $out)));
        $result = preg_replace('/ ([,-])/', '$1', $result);

        return $result;
    }

}