Merge pull request #11 from faf/master

Improve localization
This commit is contained in:
Derek McDaniel 2017-02-27 14:29:14 -05:00 committed by GitHub
commit 1782bd508b
2 changed files with 18 additions and 20 deletions

View File

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

View File

@ -27,7 +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"
```