Update
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
?>
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_ACTION_REGISTRATION"] = "Connect";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_TITLE"] = "SMS Assistant service is now ready!";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_CONFIRMATION"] = "Are you sure you want to reset settings?";
|
||||
@@ -16,8 +16,8 @@ $MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_DEMO_UNP"] = "Taxpayer ID";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_1"] = "Send messages directly from lead, deal, client or quote.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_2"] = "Configure rules to send SMS messages to a client or employee at a specified time or when a specified task is completed.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_3"] = "Bulk send SMS messages from a list of clients, deals, leads or other CRM entities.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle free SMS messaging";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_TITLE"] = "Explore possibilities of SMS marketing";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_FRIENDLY_NAME"] = "Account name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_PASSWORD"] = "Password";
|
||||
@@ -35,4 +35,3 @@ $MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_TITLE_ADMIN"] = "Configure SM
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE"] = "SMS notifications";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE_2"] = "This service is brought to you by SMS Assistant";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE_3"] = "Service provided by \"SMS Assitant\" (Belarus)";
|
||||
?>
|
||||
@@ -12,8 +12,8 @@ $MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_FOOTER_2_REGISTRATION_TEXT"] =
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_1"] = "Send messages directly from a lead, deal, contact or quote.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_2"] = "Create rules to send SMS messages to a customer or employee at a specified time or when a specified task is completed.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_3"] = "Bulk send SMS messages from a list of contacts, deals, leads or other CRM entities.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle free SMS messaging";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_TITLE"] = "Explore possibilities of SMS marketing";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_REGISTRATION"] = "You have to create an account to use the service:";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_SUBJECT"] = "Sender ID's";
|
||||
|
||||
@@ -1,50 +1,49 @@
|
||||
<?
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_FOOTER_2_ADMIN"] = "You are only a few steps away from test driving the SMS notification service. You can test up to five texts per day.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TEST_DESCRIPTION_ADMIN"] = "Test the SMS notification service. You can send up to five free texts per day. Type a message below and click Send. The message will be sent to the specified number.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE"] = "SMS notifications are simple!";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE_2"] = "Provided by SMS.RU";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_TITLE"] = "Explore possibilities of SMS marketing";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle free SMS messaging";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_1"] = "Send messages directly from lead, deal, client or quote.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_2"] = "Configure rules to send SMS messages to a client or employee at a specified time or when a specified task is completed.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_3"] = "Bulk send SMS messages from a list of clients, deals, leads or other CRM entities.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_FOOTER_1"] = "Try it now for free! Service provided by SMS.RU";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_FOOTER_2"] = "You are only a few steps away from testing Bitrix24 SMS notifications. You have 5 free messages per day. Enable SMS messaging and try it now.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_TITLE"] = "Register with SMS.RU";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_DESCRIPTION"] = "You will get a confirmation code to the specified phone number. This number will be used to create a user account and send SMS messages.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_DESCRIPTION_2"] = "If you are already registered with SMS.RU, simply provide your data here and you will be connected automatically.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_PHONE"] = "Phone";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_LASTNAME"] = "Last name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_FIRSTNAME"] = "First name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_EMAIL"] = "Email";
|
||||
<?php
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_ACTION_REGISTRATION"] = "Register";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_TITLE"] = "Enter code you received in SMS message";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_DESCRIPTION"] = "Send request again if you don't receive the code.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_CONFIRMCODE"] = "SMS code";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ENTER_CONFIRMCODE"] = "enter code";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_RENEW_TITLE"] = "send new request in 30 seconds";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_RENEW_ACTION"] = "request new code";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_SUBMIT"] = "Confirm";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_OPTIONS"] = "Reset settings";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_CONFIRMATION"] = "Are you sure you want to reset settings?";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TEST_TITLE"] = "Test SMS sending";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TEST_DESCRIPTION"] = "Test SMS sending in Bitrix24. You have 5 free messages per day. Type your message below and click Send. The SMS message will be sent to the number specified above.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_ACTION_SEND"] = "Send";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_CHAR_COUNTER"] = "#VALUE# characters of #TOTAL#";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_TEST_LIMIT"] = "test SMS remaining";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_TITLE"] = "Complete SMS.RU configuration and start using SMS messaging";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_DESCRIPTION"] = "To complete test phase and start using SMS messaging:";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_RULE_1"] = "open #A1#your sms.ru account#A2# and top up you balance";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_RULE_2"] = "register sender (the name that will be visible to your clients and employees when they receive your messages)";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_RULE_3"] = "click \"Complete test phase\"";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_DISABLE_DEMO"] = "Complete Test Phase";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_TITLE"] = "Complete SMS.RU configuration and start using SMS messaging";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_CONFIRMATION"] = "Are you sure you want to reset settings?";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_OPTIONS"] = "Reset settings";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_DESCRIPTION"] = "Send request again if you don't receive the code.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_RENEW_ACTION"] = "request new code";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_RENEW_TITLE"] = "send new request in 30 seconds";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CONFIRMATION_TITLE"] = "Enter code you received in SMS message";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_DEMO_IS_DISABLED"] = "Test phase has been completed. You can now enjoy the fully functional SMS messaging service. #A1#Open your sms.ru account#A2#";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_ERROR"] = "Required fields are incorrect";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_DISABLE_DEMO"] = "Complete Test Phase";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_FOOTER_1"] = "Try it now for free! Service provided by SMS.RU";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_FOOTER_2"] = "You are only a few steps away from testing Bitrix24 SMS notifications. You have 5 free messages per day. Enable SMS messaging and try it now.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_FOOTER_2_ADMIN"] = "You are only a few steps away from test driving the SMS notification service. You can test up to five texts per day.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_1"] = "Send messages directly from lead, deal, client or quote.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_2"] = "Configure rules to send SMS messages to a client or employee at a specified time or when a specified task is completed.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_3"] = "Bulk send SMS messages from a list of clients, deals, leads or other CRM entities.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_TITLE"] = "Explore possibilities of SMS marketing";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_IS_CONFIRMED"] = "Your registration with SMS.RU has been confirmed! You can send test SMS now!";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_CHAR_COUNTER"] = "#VALUE# characters of #TOTAL#";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_CONFIRMCODE"] = "SMS code";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_EMAIL"] = "Email";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ENTER_CONFIRMCODE"] = "enter code";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_FIRSTNAME"] = "First name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_LASTNAME"] = "Last name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_PHONE"] = "Phone";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_TEST_LIMIT"] = "test SMS remaining";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_DESCRIPTION"] = "You will get a confirmation code to the specified phone number. This number will be used to create a user account and send SMS messages.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_DESCRIPTION_2"] = "If you are already registered with SMS.RU, simply provide your data here and you will be connected automatically.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_ERROR"] = "Required fields are incorrect";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_INFO"] = "You registration information on SMS.RU";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_NAME"] = "Full name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_TITLE"] = "Register with SMS.RU";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_1"] = "Easy connectivity";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_2"] = "Instant delivery";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_3"] = "Pay only for delivered messages";
|
||||
?>
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_SUBMIT"] = "Confirm";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TEST_DESCRIPTION"] = "Test SMS sending in Bitrix24. You have 5 free messages per day. Type your message below and click Send. The SMS message will be sent to the number specified above.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TEST_DESCRIPTION_ADMIN"] = "Test the SMS notification service. You can send up to five free texts per day. Type a message below and click Send. The message will be sent to the specified number.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TEST_TITLE"] = "Test SMS sending";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE"] = "SMS notifications are simple!";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE_2"] = "Provided by SMS.RU";
|
||||
|
||||
@@ -1,29 +1,28 @@
|
||||
<?
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_TITLE_ADMIN"] = "Set up your twilio.com account to use SMS notifications";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE"] = "Simple and robust SMS notification";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE_2"] = "Powered by TWILIO.COM";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_TITLE"] = "Explore possibilities of SMS marketing";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle free SMS messaging";
|
||||
<?php
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_ACTION_REGISTRATION"] = "Connect";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_TITLE"] = "Twilio.com service is now ready!";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_CONFIRMATION"] = "Are you sure you want to reset settings?";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_OPTIONS"] = "Reset settings";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_DEMO_IS_DISABLED"] = "Open your #A1#twilio.com#A2# profile.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_1"] = "Send messages directly from lead, deal, client or quote.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_2"] = "Configure rules to send SMS messages to a client or employee at a specified time or when a specified task is completed.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_3"] = "Bulk send SMS messages from a list of clients, deals, leads or other CRM entities.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_TITLE"] = "Configure twilio.com parameters and start using SMS notification with Bitrix24";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_LIST_DESCRIPTION_ADMIN"] = "Bitrix24 provides easy and hassle-free SMS messaging.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_FEATURES_TITLE"] = "Explore possibilities of SMS marketing";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_FRIENDLY_NAME"] = "Account name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_SID"] = "SID";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_TOKEN"] = "Token";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_ERROR"] = "Required fields are incorrect";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_INFO"] = "You registration information on twilio.com";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_1"] = "Easy connectivity";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_2"] = "Instant delivery";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_3"] = "Pay only for delivered messages";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_1"] = "Log in or create a new account with #A1#twilio.com#A2#";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_2"] = "Register and configure an SMS sender phone number";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_3"] = "Copy the Token and SID on your #A1#twilio.com#A2# profile page";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_4"] = "Paste the Token and SID in the field below";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_SID"] = "SID";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_TOKEN"] = "Token";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_ACTION_REGISTRATION"] = "Connect";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_INFO"] = "You registration information on twilio.com";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_LABEL_ACCOUNT_FRIENDLY_NAME"] = "Account name";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_OPTIONS"] = "Reset settings";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CLEAR_CONFIRMATION"] = "Are you sure you want to reset settings?";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_CABINET_TITLE"] = "Twilio.com service is now ready!";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_DEMO_IS_DISABLED"] = "Open your #A1#twilio.com#A2# profile.";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_REGISTRATION_ERROR"] = "Required fields are incorrect";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_1"] = "Easy connectivity";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_2"] = "Instant delivery";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RING_3"] = "Pay only for delivered messages";
|
||||
?>
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_TITLE"] = "Configure twilio.com parameters and start using SMS notification with Bitrix24";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_RULES_LIST_TITLE_ADMIN"] = "Set up your twilio.com account to use SMS notifications";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE"] = "Simple and robust SMS notification";
|
||||
$MESS["MESSAGESERVICE_CONFIG_SENDER_SMS_TITLE_2"] = "Powered by TWILIO.COM";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$arModuleVersion = [
|
||||
'VERSION' => '25.0.0',
|
||||
'VERSION_DATE' => '2025-04-21 16:00:00',
|
||||
'VERSION' => '25.100.0',
|
||||
'VERSION_DATE' => '2025-06-06 19:00:00',
|
||||
];
|
||||
|
||||
@@ -9,12 +9,11 @@ use Bitrix\Main\Service\MicroService\BaseSender;
|
||||
class ApiClient extends BaseSender
|
||||
{
|
||||
protected const SERVICE_ENDPOINT_OPTION = 'service_endpoint';
|
||||
protected const DEFAULT_ENDPOINT = 'https://unc.bitrix24.tech';
|
||||
protected const ENDPOINTS = [
|
||||
'ru' => 'https://unc.bitrix24.tech',
|
||||
'en' => 'https://unc-eu.bitrix.info',
|
||||
];
|
||||
protected const RU_REGIONS = ['ru', 'by', 'kz', 'uz'];
|
||||
protected const RU_REGIONS = ['ru', 'kz', 'by', 'uz', 'am', 'az', 'ge', 'kg'];
|
||||
|
||||
protected $customEndpoint;
|
||||
|
||||
@@ -69,4 +68,14 @@ class ApiClient extends BaseSender
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
public function getFileProxyUrl(string $url): Result
|
||||
{
|
||||
return $this->performRequest(
|
||||
'notificationservice.File.create',
|
||||
[
|
||||
'url' => $url,
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@ use Bitrix\MessageService\Providers\Constants\InternalOption;
|
||||
|
||||
class Sender extends Providers\Edna\Sender
|
||||
{
|
||||
protected const RU_REGIONS = ['ru'];
|
||||
|
||||
public const AVAILABLE_CONTENT_TYPES = [
|
||||
'image/jpeg' => 5 * 1024 * 1024,
|
||||
'image/png' => 5 * 1024 * 1024,
|
||||
@@ -183,9 +185,9 @@ class Sender extends Providers\Edna\Sender
|
||||
private function getSimpleMessageContent(array $messageFields): array
|
||||
{
|
||||
$contentType = Constants::CONTENT_TYPE_TEXT;
|
||||
$messageBody = $messageFields['MESSAGE_BODY'];
|
||||
$messageBody = trim($messageFields['MESSAGE_BODY']);
|
||||
|
||||
if (Loader::includeModule('disk') && preg_match('/^http.+~.+$/', trim($messageBody)))
|
||||
if (!$this->isRuRegion() && Loader::includeModule('disk') && preg_match('/^http.+~.+$/', $messageBody))
|
||||
{
|
||||
$fileUri = \CBXShortUri::GetUri($messageBody);
|
||||
if ($fileUri)
|
||||
@@ -350,4 +352,11 @@ class Sender extends Providers\Edna\Sender
|
||||
$this->optionManager->getStreamTimeout()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
private function isRuRegion(): bool
|
||||
{
|
||||
$region = \Bitrix\Main\Application::getInstance()->getLicense()->getRegion() ?? 'en';
|
||||
|
||||
return in_array($region, static::RU_REGIONS, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user