{"action":"opened","issue":{"url":"https://api.github.com/repos/johnitvn/yii2-ajaxcrud/issues/47","labels_url":"https://api.github.com/repos/johnitvn/yii2-ajaxcrud/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/johnitvn/yii2-ajaxcrud/issues/47/comments","events_url":"https://api.github.com/repos/johnitvn/yii2-ajaxcrud/issues/47/events","html_url":"https://github.com/johnitvn/yii2-ajaxcrud/issues/47","id":130636717,"number":47,"title":"No i18n support for button","user":{"login":"wancer","id":2901179,"avatar_url":"https://avatars.githubusercontent.com/u/2901179?v=3","gravatar_id":"","url":"https://api.github.com/users/wancer","html_url":"https://github.com/wancer","followers_url":"https://api.github.com/users/wancer/followers","following_url":"https://api.github.com/users/wancer/following{/other_user}","gists_url":"https://api.github.com/users/wancer/gists{/gist_id}","starred_url":"https://api.github.com/users/wancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wancer/subscriptions","organizations_url":"https://api.github.com/users/wancer/orgs","repos_url":"https://api.github.com/users/wancer/repos","events_url":"https://api.github.com/users/wancer/events{/privacy}","received_events_url":"https://api.github.com/users/wancer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-02T10:12:40Z","updated_at":"2016-02-02T10:12:40Z","closed_at":null,"body":"class BulkButtonWidget extends Widget{\r\n...\r\n\t\t$content = '<div class=\"pull-left\">'.\r\n                   '<span class=\"glyphicon glyphicon-arrow-right\"></span>&nbsp;&nbsp;With selected&nbsp;&nbsp;'.\r\n                   $this->buttons.\r\n                   '</div>';\r\n....\r\n\r\nmust be something like this:\r\n\t$content = sprintf('%s%s&nbsp;&nbsp;%s:&nbsp;%s%s',\r\n\t\t\t'<div class=\"pull-left\">',\r\n\t\t\t'<span class=\"glyphicon glyphicon-arrow-right\"></span>',\r\n\t\t\t\\Yii::t('yii2crud', 'With selected'),\r\n\t\t\t$this->buttons,\r\n\t\t\t'</div>');"}}