2020-11-23 17:54:39 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$MESS ['STEP_NAME'] = 'Step 1';
|
|
|
|
$MESS ['MOD_NEXT_STEP'] = 'Next step';
|
2020-12-15 12:39:38 +03:00
|
|
|
$MESS ['ICRM_API_HOST'] = 'Address of RetailCRM:';
|
2020-11-23 17:54:39 +03:00
|
|
|
$MESS ['ICRM_API_KEY'] = 'API key:';
|
|
|
|
$MESS ['ICRM_SITES'] = 'Active sites:';
|
|
|
|
$MESS ['ERR_404'] = 'CRM address may be incorrect.';
|
|
|
|
$MESS ['ERR_6'] = 'CRM address may be incorrect.';
|
|
|
|
$MESS ['ERR_403'] = 'Wrong apiKey.';
|
|
|
|
$MESS ['ERR_0'] = 'Server connection timeout error.';
|
|
|
|
$MESS ['ERR_FIELDS_API_HOST'] = 'Fields are filled incorrectly.';
|
|
|
|
$MESS ['ERR_METHOD_NOT_FOUND'] = 'Check availability of API methods for current key.';
|
2024-01-15 12:27:40 +03:00
|
|
|
$MESS ['ERR_EMPTY_SITES_LIST'] = 'At least 1 store must be matched';
|
|
|
|
$MESS ['ERR_GET_SITE_CRM'] = 'Failed to retrieve CRM store';
|
2020-12-15 12:39:38 +03:00
|
|
|
$MESS ['INFO_1'] = 'Enter the address of RetailCRM instance (for example, https://demo.retailcrm.ru) and API key.';
|
|
|
|
$MESS ['INFO_2'] = 'API key can be generated when the store is registered in RetailCRM (Administration > Integration).';
|
|
|
|
$MESS ['INFO_3'] = 'Store code in 1C-Bitrix must correspond with the store code in RetailCRM (Administration > Stores).';
|
2023-08-30 14:11:04 +03:00
|
|
|
$MESS ['ERR_COUNT_SITES'] = 'The API Key you entered relates to more than one store.
|
|
|
|
Change the access settings for the API key, it should work with only one store in CRM';
|
|
|
|
$MESS ['ERR_CURRENCY_SITES'] = 'The currency of the site differs from the currency of the store in CRM.
|
|
|
|
For the integration to work correctly, the currencies in CRM and CMS must match';
|
2023-12-12 16:51:15 +03:00
|
|
|
$MESS ['ERR_CMS_CURRENCY'] = 'Failed to get Bitrix site currency';
|
|
|
|
$MESS ['ERR_CRM_CURRENCY'] = 'Failed to get CRM store currency';
|