{"action":"created","issue":{"url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1352","labels_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1352/labels{/name}","comments_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1352/comments","events_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1352/events","html_url":"https://github.com/angular-translate/angular-translate/issues/1352","id":125671182,"number":1352,"title":"Issue with colon at the end of translation:","user":{"login":"alexrada","id":1150584,"avatar_url":"https://avatars.githubusercontent.com/u/1150584?v=3","gravatar_id":"","url":"https://api.github.com/users/alexrada","html_url":"https://github.com/alexrada","followers_url":"https://api.github.com/users/alexrada/followers","following_url":"https://api.github.com/users/alexrada/following{/other_user}","gists_url":"https://api.github.com/users/alexrada/gists{/gist_id}","starred_url":"https://api.github.com/users/alexrada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexrada/subscriptions","organizations_url":"https://api.github.com/users/alexrada/orgs","repos_url":"https://api.github.com/users/alexrada/repos","events_url":"https://api.github.com/users/alexrada/events{/privacy}","received_events_url":"https://api.github.com/users/alexrada/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-translate/angular-translate/labels/Needs%20analysis","name":"Needs analysis","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-08T18:56:55Z","updated_at":"2016-02-01T17:49:54Z","closed_at":null,"body":"I'm having this case:\r\n\r\n`<label for=\"regular1\" translate>Name:</label>`\r\n\r\nWhich throws the following error:\r\n`Cannot read property 'substr' of null`\r\n\r\nAnd the JSON file:\r\n`{\r\n\t\"Home\": \"Acasa\",\r\n\t\"Name:\": \"Nume\"}`\r\n\r\nUsing angular-translate with useStaticFilesLoader\r\nAlso some translations are not found in the JSON, I'm using nullEmpty"},"comment":{"url":"https://api.github.com/repos/angular-translate/angular-translate/issues/comments/178093184","html_url":"https://github.com/angular-translate/angular-translate/issues/1352#issuecomment-178093184","issue_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1352","id":178093184,"user":{"login":"alexrada","id":1150584,"avatar_url":"https://avatars.githubusercontent.com/u/1150584?v=3","gravatar_id":"","url":"https://api.github.com/users/alexrada","html_url":"https://github.com/alexrada","followers_url":"https://api.github.com/users/alexrada/followers","following_url":"https://api.github.com/users/alexrada/following{/other_user}","gists_url":"https://api.github.com/users/alexrada/gists{/gist_id}","starred_url":"https://api.github.com/users/alexrada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexrada/subscriptions","organizations_url":"https://api.github.com/users/alexrada/orgs","repos_url":"https://api.github.com/users/alexrada/repos","events_url":"https://api.github.com/users/alexrada/events{/privacy}","received_events_url":"https://api.github.com/users/alexrada/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T17:49:54Z","updated_at":"2016-02-01T17:49:54Z","body":"So I have this (angular bootstrap directives)\r\n\r\nuib-tooltip=\"{{'Email addresses to receive notifications'|translate}}\">\r\n\r\nIn language.json this is null\r\n\"Email addresses to receive notifications\": null\r\n\r\nAnd the error:\r\nhttps://docs.angularjs.org/error/$interpolate/interr?p0=%7B%7B%27Email%20addresses%20to%20receive%20notifications%27%7Ctranslate%7D%7D&p1=TypeError:%20Cannot%20read%20property%20%27substr%27%20of%20null\r\n"}}