{"action":"closed","issue":{"url":"https://api.github.com/repos/monkeecreate/jquery.simpleWeather/issues/140","labels_url":"https://api.github.com/repos/monkeecreate/jquery.simpleWeather/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/monkeecreate/jquery.simpleWeather/issues/140/comments","events_url":"https://api.github.com/repos/monkeecreate/jquery.simpleWeather/issues/140/events","html_url":"https://github.com/monkeecreate/jquery.simpleWeather/issues/140","id":91352385,"number":140,"title":"Translate to Portuguese","user":{"login":"webpac","id":13069776,"avatar_url":"https://avatars.githubusercontent.com/u/13069776?v=3","gravatar_id":"","url":"https://api.github.com/users/webpac","html_url":"https://github.com/webpac","followers_url":"https://api.github.com/users/webpac/followers","following_url":"https://api.github.com/users/webpac/following{/other_user}","gists_url":"https://api.github.com/users/webpac/gists{/gist_id}","starred_url":"https://api.github.com/users/webpac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpac/subscriptions","organizations_url":"https://api.github.com/users/webpac/orgs","repos_url":"https://api.github.com/users/webpac/repos","events_url":"https://api.github.com/users/webpac/events{/privacy}","received_events_url":"https://api.github.com/users/webpac/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-26T20:20:37Z","updated_at":"2016-01-30T02:07:41Z","closed_at":"2016-01-30T02:07:41Z","body":"Translate 'weather.currently' to portuguese\r\n\r\nadd a variable:\r\nvar textMapping = {\"Partly Cloud\":\"Parc. Nublado\",\"Showers\":\"Chuva\",\"Partly Cloudy\":\"Parc. Nublado\",\"AM Showers\":\"Chuva de manhã\",\"PM Showers\":\"Chuva à noite\",\"PM Thunderstorms\":\"Temporal à noite\",\"Scattered Thunderstorms\":\"Trovoadas dispersas\",\"Light Rain with Thunder\":\"Chuva fina com trovão\",\"Thunderstorms\":\"Temporal\",\"Heavy Rain\":\"Chuva persistente\",\"Mostly Sunny\":\"Parc. ensolarado\",\"Light Rain\":\"Chuva fina\",\"Fog\":\"Neblina\",\"Fair\":\"Tempo bom\",\"Sunny\":\"Ensolarado\",\"AM Rain\":\"Chuva de manhã\",\"PM Rain\":\"Chuva à noite\",\"Mostly Cloudy\":\"Prev. Nublado\",\"Isolated Thunderstorms\":\"Temporal isolado\",\"Thundershowers\":\"Temporal\",\"Heavy Thunderstorms\":\"Temporal forte\",\"Clear\":\"Tempo bom\",\"Rain\":\"Chuva\",\"Cloudy\":\"Nublado\"}\r\n\r\nchange line 50\r\nweather.currently = result.item.condition.text;\r\n+\r\nweather.currently = textMapping[result.item.condition.text]"}}