{"action":"closed","issue":{"url":"https://api.github.com/repos/rmariuzzo/Lang.js/issues/5","repository_url":"https://api.github.com/repos/rmariuzzo/Lang.js","labels_url":"https://api.github.com/repos/rmariuzzo/Lang.js/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rmariuzzo/Lang.js/issues/5/comments","events_url":"https://api.github.com/repos/rmariuzzo/Lang.js/issues/5/events","html_url":"https://github.com/rmariuzzo/Lang.js/issues/5","id":102568743,"number":5,"title":"Implement `get` method","user":{"login":"rmariuzzo","id":439839,"avatar_url":"https://avatars.githubusercontent.com/u/439839?v=3","gravatar_id":"","url":"https://api.github.com/users/rmariuzzo","html_url":"https://github.com/rmariuzzo","followers_url":"https://api.github.com/users/rmariuzzo/followers","following_url":"https://api.github.com/users/rmariuzzo/following{/other_user}","gists_url":"https://api.github.com/users/rmariuzzo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmariuzzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmariuzzo/subscriptions","organizations_url":"https://api.github.com/users/rmariuzzo/orgs","repos_url":"https://api.github.com/users/rmariuzzo/repos","events_url":"https://api.github.com/users/rmariuzzo/events{/privacy}","received_events_url":"https://api.github.com/users/rmariuzzo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rmariuzzo/Lang.js/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/rmariuzzo/Lang.js/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rmariuzzo/Lang.js/milestones/1","html_url":"https://github.com/rmariuzzo/Lang.js/milestones/v1.1.0","labels_url":"https://api.github.com/repos/rmariuzzo/Lang.js/milestones/1/labels","id":1267592,"number":1,"title":"v1.1.0","description":"This milestone will match the Laravel's Translator API in version 5.1: http://laravel.com/api/5.1/Illuminate/Translation/Translator.html\r\n\r\nWe want to implement all methods listed in `Illuminate/Translation/Translator`.","creator":{"login":"rmariuzzo","id":439839,"avatar_url":"https://avatars.githubusercontent.com/u/439839?v=3","gravatar_id":"","url":"https://api.github.com/users/rmariuzzo","html_url":"https://github.com/rmariuzzo","followers_url":"https://api.github.com/users/rmariuzzo/followers","following_url":"https://api.github.com/users/rmariuzzo/following{/other_user}","gists_url":"https://api.github.com/users/rmariuzzo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmariuzzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmariuzzo/subscriptions","organizations_url":"https://api.github.com/users/rmariuzzo/orgs","repos_url":"https://api.github.com/users/rmariuzzo/repos","events_url":"https://api.github.com/users/rmariuzzo/events{/privacy}","received_events_url":"https://api.github.com/users/rmariuzzo/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":19,"state":"open","created_at":"2015-08-22T19:49:15Z","updated_at":"2016-07-29T23:48:39Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-22T21:39:27Z","updated_at":"2016-07-29T23:48:39Z","closed_at":"2016-07-29T23:48:39Z","body":"## Summary\r\n\r\nAs a user, I would like to have a `get` method that implement [`Illuminate/Translation/Translator#get`](http://laravel.com/api/5.1/Illuminate/Translation/Translator.html#method_get) method.\r\n\r\n## Description\r\n\r\nThe method should accept 3 arguments: `key`, `replacements` and `locale`. \r\n\r\n - **`key`** — a string indicating the translation key.\r\n - **`replace`** — an object of replacements values. Example: `{ key1: 'value1', key2: 'value2' }`.\r\n - **`locale`** — a string indicating the locale to use. This should be optional, when not set, use `getLocale()`. \r\n\r\nThe method will return a localised string for the given key if found, otherwise the given `key`.\r\n\r\n## Tests\r\n\r\nThe `test/spec/lang_get_spec.js` should fully cover all cases of `get` method."}}
{"actor":{"display_login":"rmariuzzo"}}