Improve localization

This commit is contained in:
Fedor A. Fetisov 2017-02-25 15:00:26 +03:00
parent 5304dad8e6
commit 4991051320
2 changed files with 1 additions and 3 deletions

View File

@ -55,7 +55,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
$client = new Client($this->config['slack_url'], $settings);
$client->send($this->config['message']);
$client->send(getlocal('You have a new user waiting for a response. Username: {0}', array($args['thread']->userName)));
return true;
}

View File

@ -27,8 +27,6 @@ Provides Slack notifications when initiate a chat
username: "Username you will post as"
channel: "Channel to post in"
slack_url: "Webhook URL from Setup Instructions in Slack"
message: "You have a new visitor!"
```