{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/2537","labels_url":"https://api.github.com/repos/moment/moment/issues/2537/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/2537/comments","events_url":"https://api.github.com/repos/moment/moment/issues/2537/events","html_url":"https://github.com/moment/moment/issues/2537","id":98976763,"number":2537,"title":"Minimized locale files are corrupted","user":{"login":"diomed","id":72777,"avatar_url":"https://avatars.githubusercontent.com/u/72777?v=3","gravatar_id":"","url":"https://api.github.com/users/diomed","html_url":"https://github.com/diomed","followers_url":"https://api.github.com/users/diomed/followers","following_url":"https://api.github.com/users/diomed/following{/other_user}","gists_url":"https://api.github.com/users/diomed/gists{/gist_id}","starred_url":"https://api.github.com/users/diomed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diomed/subscriptions","organizations_url":"https://api.github.com/users/diomed/orgs","repos_url":"https://api.github.com/users/diomed/repos","events_url":"https://api.github.com/users/diomed/events{/privacy}","received_events_url":"https://api.github.com/users/diomed/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-04T13:58:29Z","updated_at":"2015-08-12T21:46:06Z","closed_at":"2015-08-12T19:53:29Z","body":"`//! author : Bojan Marković : https://github.com/bmarkovic\r\nfunction s(a,b,c){var d=a+\" \";switch(c){case\"m\":return b?\"jedna minuta\":\"jedne minute\";case\"mm\":return d+=1===a?\"minuta\":2===a||3===a||4===a?\"minute\":\"minuta\";case\"h\":return b?\"jedan sat\":\"jednog sata\";case\"hh\":return d+=1===a?\"sat\":2===a||3===a||4===a?\"sata\":\"sati\";case\"dd\":return d+=1===a?\"dan\":\"dana\";case\"MM\":return d+=1===a?\"mjesec\":2===a||3===a||4===a?\"mjeseca\":\"mjeseci\";case\"yy\":return d+=1===a?\"godina\":2===a||3===a||4===a?\"godine\":\"godina\"}}function t(a,b,c,d){var e=a;switch(c){case\"s\":return d||b?\"néhány másodperc\":\"néhány másodperce\";case\"m\":return\"egy\"+(d||b?\" perc\":\" perce\");case\"mm\":return e+(d||b?\" perc\":\" perce\");case\"h\":return\"egy\"+(d||b?\" óra\":\" órája\");case\"hh\":return e+(d||b?\" óra\":\" órája\");case\"d\":return\"egy\"+(d||b?\" nap\":\" napja\");case\"dd\":return e+(d||b?\" nap\":\" napja\");case\"M\":return\"egy\"+(d||b?\" hónap\":\" hónapja\");case\"MM\":return e+(d||b?\" hónap\":\" hónapja\");case\"y\":return\"egy\"+(d||b?\" év\":\" éve\");case\"yy\":return e+(d||b?\" év\":\" éve\")}return\"\"}function u(a){return(a?\"\":\"[múlt] \")+\"[\"+Fa[this.day()]+\"] LT[-kor]\"}`\r\n\r\nyou better check this out, because after last croatian word : godina\r\n\r\neverything else is hungarian apparently.\r\n\r\n\r\nbosnian:\r\n\r\n`//! based on (hr) translation by Bojan Marković\r\nfunction k(a,b,c){var d=a+\" \";switch(c){case\"m\":return b?\"jedna minuta\":\"jedne minute\";case\"mm\":return d+=1===a?\"minuta\":2===a||3===a||4===a?\"minute\":\"minuta\";case\"h\":return b?\"jedan sat\":\"jednog sata\";case\"hh\":return d+=1===a?\"sat\":2===a||3===a||4===a?\"sata\":\"sati\";case\"dd\":return d+=1===a?\"dan\":\"dana\";case\"MM\":return d+=1===a?\"mjesec\":2===a||3===a||4===a?\"mjeseca\":\"mjeseci\";case\"yy\":return d+=1===a?\"godina\":2===a||3===a||4===a?\"godine\":\"godina\"}}function l(a){return a>1&&5>a&&1!==~~(a/10)}function m(a,b,c,d){var e=a+\" \";switch(c){case\"s\":return b||d?\"pár sekund\":\"pár sekundami\";case\"m\":return b?\"minuta\":d?\"minutu\":\"minutou\";case\"mm\":return b||d?e+(l(a)?\"minuty\":\"minut\"):e+\"minutami\";break;case\"h\":return b?\"hodina\":d?\"hodinu\":\"hodinou\";case\"hh\":return b||d?e+(l(a)?\"hodiny\":\"hodin\"):e+\"hodinami\";break;case\"d\":return b||d?\"den\":\"dnem\";case\"dd\":return b||d?e+(l(a)?\"dny\":\"dní\"):e+\"dny\";break;case\"M\":return b||d?\"měsíc\":\"měsícem\";case\"MM\":return b||d?e+(l(a)?\"měsíce\":\"měsíců\"):e+\"měsíci\";break;case\"y\":return b||d?\"rok\":\"rokem\";case\"yy\":return b||d?e+(l(a)?\"roky\":\"let\"):e+\"lety\"}}`\r\n\r\nsame goes here, minutou, minutami ... etc. that is not bosnian language, neither is anything after that."},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/130457900","html_url":"https://github.com/moment/moment/issues/2537#issuecomment-130457900","issue_url":"https://api.github.com/repos/moment/moment/issues/2537","id":130457900,"user":{"login":"mj1856","id":1396388,"avatar_url":"https://avatars.githubusercontent.com/u/1396388?v=3","gravatar_id":"","url":"https://api.github.com/users/mj1856","html_url":"https://github.com/mj1856","followers_url":"https://api.github.com/users/mj1856/followers","following_url":"https://api.github.com/users/mj1856/following{/other_user}","gists_url":"https://api.github.com/users/mj1856/gists{/gist_id}","starred_url":"https://api.github.com/users/mj1856/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mj1856/subscriptions","organizations_url":"https://api.github.com/users/mj1856/orgs","repos_url":"https://api.github.com/users/mj1856/repos","events_url":"https://api.github.com/users/mj1856/events{/privacy}","received_events_url":"https://api.github.com/users/mj1856/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T21:46:06Z","updated_at":"2015-08-12T21:46:06Z","body":"We actually could, since [the `preserveComments` option](https://www.npmjs.com/package/grunt-contrib-uglify#preservecomments) can take a function.\r\n\r\nOr we could just not use the `//!` syntax in the locale file headers."}}