{"action":"created","issue":{"url":"https://api.github.com/repos/jamesarosen/ember-i18n/issues/314","labels_url":"https://api.github.com/repos/jamesarosen/ember-i18n/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/jamesarosen/ember-i18n/issues/314/comments","events_url":"https://api.github.com/repos/jamesarosen/ember-i18n/issues/314/events","html_url":"https://github.com/jamesarosen/ember-i18n/issues/314","id":106380166,"number":314,"title":"Capitalization","user":{"login":"kgish","id":79195,"avatar_url":"https://avatars.githubusercontent.com/u/79195?v=3","gravatar_id":"","url":"https://api.github.com/users/kgish","html_url":"https://github.com/kgish","followers_url":"https://api.github.com/users/kgish/followers","following_url":"https://api.github.com/users/kgish/following{/other_user}","gists_url":"https://api.github.com/users/kgish/gists{/gist_id}","starred_url":"https://api.github.com/users/kgish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgish/subscriptions","organizations_url":"https://api.github.com/users/kgish/orgs","repos_url":"https://api.github.com/users/kgish/repos","events_url":"https://api.github.com/users/kgish/events{/privacy}","received_events_url":"https://api.github.com/users/kgish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-14T16:32:05Z","updated_at":"2015-09-14T16:48:09Z","closed_at":null,"body":"Is there an easy way to capitalize a given translation?"},"comment":{"url":"https://api.github.com/repos/jamesarosen/ember-i18n/issues/comments/140141554","html_url":"https://github.com/jamesarosen/ember-i18n/issues/314#issuecomment-140141554","issue_url":"https://api.github.com/repos/jamesarosen/ember-i18n/issues/314","id":140141554,"user":{"login":"jamesarosen","id":2406,"avatar_url":"https://avatars.githubusercontent.com/u/2406?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesarosen","html_url":"https://github.com/jamesarosen","followers_url":"https://api.github.com/users/jamesarosen/followers","following_url":"https://api.github.com/users/jamesarosen/following{/other_user}","gists_url":"https://api.github.com/users/jamesarosen/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesarosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesarosen/subscriptions","organizations_url":"https://api.github.com/users/jamesarosen/orgs","repos_url":"https://api.github.com/users/jamesarosen/repos","events_url":"https://api.github.com/users/jamesarosen/events{/privacy}","received_events_url":"https://api.github.com/users/jamesarosen/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T16:48:09Z","updated_at":"2015-09-14T16:48:09Z","body":"You'd need to write your own capitalize helper:\r\n```js\r\n// app/helpers/capitalize.js\r\nimport Ember from \"ember\";\r\nconst capitalize = Ember.String.capitalize;\r\n\r\nexport default Ember.Helper.helper(function([ string ]) {\r\n  return capitalize(string);\r\n});\r\n```\r\nand then use it like so:\r\n```hbs\r\n{{capitalize (t \"my.string\")}}\r\n```"}}