{"action":"created","issue":{"url":"https://api.github.com/repos/TypeRocket/typerocket/issues/124","repository_url":"https://api.github.com/repos/TypeRocket/typerocket","labels_url":"https://api.github.com/repos/TypeRocket/typerocket/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/TypeRocket/typerocket/issues/124/comments","events_url":"https://api.github.com/repos/TypeRocket/typerocket/issues/124/events","html_url":"https://github.com/TypeRocket/typerocket/issues/124","id":344893096,"node_id":"MDU6SXNzdWUzNDQ4OTMwOTY=","number":124,"title":"Page builder buttons translations","user":{"login":"clemorphy","id":1913472,"node_id":"MDQ6VXNlcjE5MTM0NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1913472?v=4","gravatar_id":"","url":"https://api.github.com/users/clemorphy","html_url":"https://github.com/clemorphy","followers_url":"https://api.github.com/users/clemorphy/followers","following_url":"https://api.github.com/users/clemorphy/following{/other_user}","gists_url":"https://api.github.com/users/clemorphy/gists{/gist_id}","starred_url":"https://api.github.com/users/clemorphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemorphy/subscriptions","organizations_url":"https://api.github.com/users/clemorphy/orgs","repos_url":"https://api.github.com/users/clemorphy/repos","events_url":"https://api.github.com/users/clemorphy/events{/privacy}","received_events_url":"https://api.github.com/users/clemorphy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-26T15:27:13Z","updated_at":"2018-07-27T20:19:03Z","closed_at":"2018-07-27T20:19:03Z","author_association":"NONE","body":"Hi\r\n\r\nIs there a clean way to modify and / or translate the buttons in the admin interface of the builder.\r\nEx : the \"Add new\" button, and in the repeater fields, the \"Add new\", \"Flip\", \"Contract\", \"Expand\", \"Clear all\" buttons.\r\n\r\nThanx"},"comment":{"url":"https://api.github.com/repos/TypeRocket/typerocket/issues/comments/408528308","html_url":"https://github.com/TypeRocket/typerocket/issues/124#issuecomment-408528308","issue_url":"https://api.github.com/repos/TypeRocket/typerocket/issues/124","id":408528308,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODUyODMwOA==","user":{"login":"kevindees","id":348368,"node_id":"MDQ6VXNlcjM0ODM2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/348368?v=4","gravatar_id":"","url":"https://api.github.com/users/kevindees","html_url":"https://github.com/kevindees","followers_url":"https://api.github.com/users/kevindees/followers","following_url":"https://api.github.com/users/kevindees/following{/other_user}","gists_url":"https://api.github.com/users/kevindees/gists{/gist_id}","starred_url":"https://api.github.com/users/kevindees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevindees/subscriptions","organizations_url":"https://api.github.com/users/kevindees/orgs","repos_url":"https://api.github.com/users/kevindees/repos","events_url":"https://api.github.com/users/kevindees/events{/privacy}","received_events_url":"https://api.github.com/users/kevindees/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T20:19:03Z","updated_at":"2018-07-27T20:19:03Z","author_association":"CONTRIBUTOR","body":"Yes,\r\n\r\nYou do this using the fields method `setControls()` and pass in an array with the corresponding data. In v4 beta there are more options than with v3. I recommend using v4 beta.\r\n\r\nhttps://github.com/TypeRocket/typerocket/releases/tag/v4.0.0-beta1\r\n\r\nIn v4 beta you have these options:\r\n\r\n```php\r\n$form->repeater('Name')->setControls([\r\n\t    'contract' => 'Contract',\r\n\t    'expand' => 'Expand',\r\n\t    'flip' => 'Flip',\r\n\t    'clear' => 'Clear All',\r\n\t    'add' => 'Add',\r\n]);\r\n```\r\n\r\nThanks,\r\nKevin"}}
{"actor":{"display_login":"kevindees"}}