24 lines
1.4 KiB
PHP
24 lines
1.4 KiB
PHP
<?php
|
|
|
|
$MESS ['STEP_NAME'] = 'Step 1';
|
|
$MESS ['MOD_NEXT_STEP'] = 'Next step';
|
|
$MESS ['ICRM_API_HOST'] = 'Address of RetailCRM:';
|
|
$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.';
|
|
//$MESS ['URL_NOT_FOUND'] = 'One or more sites have empty "server URL" field.';
|
|
$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).';
|
|
$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';
|
|
$MESS ['ERR_CMS_CURRENCY'] = 'Failed to get Bitrix site currency';
|
|
$MESS ['ERR_CRM_CURRENCY'] = 'Failed to get CRM store currency';
|