{"action":"closed","number":88,"pull_request":{"url":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/88","id":2045598,"html_url":"https://github.com/rmm5t/jquery-timeago/pull/88","diff_url":"https://github.com/rmm5t/jquery-timeago/pull/88.diff","patch_url":"https://github.com/rmm5t/jquery-timeago/pull/88.patch","issue_url":"https://api.github.com/repos/rmm5t/jquery-timeago/issues/88","number":88,"state":"closed","locked":false,"title":"introduced options.lang + automagic mapping for multiple language support..","user":{"login":"eFrane","id":237165,"avatar_url":"https://avatars.githubusercontent.com/u/237165?v=3","gravatar_id":"","url":"https://api.github.com/users/eFrane","html_url":"https://github.com/eFrane","followers_url":"https://api.github.com/users/eFrane/followers","following_url":"https://api.github.com/users/eFrane/following{/other_user}","gists_url":"https://api.github.com/users/eFrane/gists{/gist_id}","starred_url":"https://api.github.com/users/eFrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eFrane/subscriptions","organizations_url":"https://api.github.com/users/eFrane/orgs","repos_url":"https://api.github.com/users/eFrane/repos","events_url":"https://api.github.com/users/eFrane/events{/privacy}","received_events_url":"https://api.github.com/users/eFrane/received_events","type":"User","site_admin":false},"body":"I found myself in a situation where I needed to use multiple localization within a single page load. The solution I came up with does, despite involving a simple change in every localization file, work quite simple.\n\nI am not sure though if I put the language detection code at the correct location. (It currently is at https://github.com/eFrane/jquery-timeago/blob/options.lang/jquery.timeago.js#L131)","created_at":"2012-08-13T19:58:02Z","updated_at":"2016-01-06T16:54:00Z","closed_at":"2016-01-06T16:54:00Z","merged_at":null,"merge_commit_sha":"3b505f9e4ccbb9ad2aa68989e13581c1a4785385","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/88/commits","review_comments_url":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/88/comments","review_comment_url":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rmm5t/jquery-timeago/issues/88/comments","statuses_url":"https://api.github.com/repos/rmm5t/jquery-timeago/statuses/213ff0568abf28bec4d564086051d0f88d27e97b","head":{"label":"eFrane:options.lang","ref":"options.lang","sha":"213ff0568abf28bec4d564086051d0f88d27e97b","user":{"login":"eFrane","id":237165,"avatar_url":"https://avatars.githubusercontent.com/u/237165?v=3","gravatar_id":"","url":"https://api.github.com/users/eFrane","html_url":"https://github.com/eFrane","followers_url":"https://api.github.com/users/eFrane/followers","following_url":"https://api.github.com/users/eFrane/following{/other_user}","gists_url":"https://api.github.com/users/eFrane/gists{/gist_id}","starred_url":"https://api.github.com/users/eFrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eFrane/subscriptions","organizations_url":"https://api.github.com/users/eFrane/orgs","repos_url":"https://api.github.com/users/eFrane/repos","events_url":"https://api.github.com/users/eFrane/events{/privacy}","received_events_url":"https://api.github.com/users/eFrane/received_events","type":"User","site_admin":false},"repo":{"id":1991339,"name":"jquery-timeago","full_name":"eFrane/jquery-timeago","owner":{"login":"eFrane","id":237165,"avatar_url":"https://avatars.githubusercontent.com/u/237165?v=3","gravatar_id":"","url":"https://api.github.com/users/eFrane","html_url":"https://github.com/eFrane","followers_url":"https://api.github.com/users/eFrane/followers","following_url":"https://api.github.com/users/eFrane/following{/other_user}","gists_url":"https://api.github.com/users/eFrane/gists{/gist_id}","starred_url":"https://api.github.com/users/eFrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eFrane/subscriptions","organizations_url":"https://api.github.com/users/eFrane/orgs","repos_url":"https://api.github.com/users/eFrane/repos","events_url":"https://api.github.com/users/eFrane/events{/privacy}","received_events_url":"https://api.github.com/users/eFrane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eFrane/jquery-timeago","description":"Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. \"4 minutes ago\").","fork":true,"url":"https://api.github.com/repos/eFrane/jquery-timeago","forks_url":"https://api.github.com/repos/eFrane/jquery-timeago/forks","keys_url":"https://api.github.com/repos/eFrane/jquery-timeago/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eFrane/jquery-timeago/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eFrane/jquery-timeago/teams","hooks_url":"https://api.github.com/repos/eFrane/jquery-timeago/hooks","issue_events_url":"https://api.github.com/repos/eFrane/jquery-timeago/issues/events{/number}","events_url":"https://api.github.com/repos/eFrane/jquery-timeago/events","assignees_url":"https://api.github.com/repos/eFrane/jquery-timeago/assignees{/user}","branches_url":"https://api.github.com/repos/eFrane/jquery-timeago/branches{/branch}","tags_url":"https://api.github.com/repos/eFrane/jquery-timeago/tags","blobs_url":"https://api.github.com/repos/eFrane/jquery-timeago/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eFrane/jquery-timeago/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eFrane/jquery-timeago/git/refs{/sha}","trees_url":"https://api.github.com/repos/eFrane/jquery-timeago/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eFrane/jquery-timeago/statuses/{sha}","languages_url":"https://api.github.com/repos/eFrane/jquery-timeago/languages","stargazers_url":"https://api.github.com/repos/eFrane/jquery-timeago/stargazers","contributors_url":"https://api.github.com/repos/eFrane/jquery-timeago/contributors","subscribers_url":"https://api.github.com/repos/eFrane/jquery-timeago/subscribers","subscription_url":"https://api.github.com/repos/eFrane/jquery-timeago/subscription","commits_url":"https://api.github.com/repos/eFrane/jquery-timeago/commits{/sha}","git_commits_url":"https://api.github.com/repos/eFrane/jquery-timeago/git/commits{/sha}","comments_url":"https://api.github.com/repos/eFrane/jquery-timeago/comments{/number}","issue_comment_url":"https://api.github.com/repos/eFrane/jquery-timeago/issues/comments{/number}","contents_url":"https://api.github.com/repos/eFrane/jquery-timeago/contents/{+path}","compare_url":"https://api.github.com/repos/eFrane/jquery-timeago/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eFrane/jquery-timeago/merges","archive_url":"https://api.github.com/repos/eFrane/jquery-timeago/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eFrane/jquery-timeago/downloads","issues_url":"https://api.github.com/repos/eFrane/jquery-timeago/issues{/number}","pulls_url":"https://api.github.com/repos/eFrane/jquery-timeago/pulls{/number}","milestones_url":"https://api.github.com/repos/eFrane/jquery-timeago/milestones{/number}","notifications_url":"https://api.github.com/repos/eFrane/jquery-timeago/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eFrane/jquery-timeago/labels{/name}","releases_url":"https://api.github.com/repos/eFrane/jquery-timeago/releases{/id}","created_at":"2011-07-03T15:00:30Z","updated_at":"2013-06-26T08:39:11Z","pushed_at":"2012-08-13T19:14:24Z","git_url":"git://github.com/eFrane/jquery-timeago.git","ssh_url":"git@github.com:eFrane/jquery-timeago.git","clone_url":"https://github.com/eFrane/jquery-timeago.git","svn_url":"https://github.com/eFrane/jquery-timeago","homepage":"http://timeago.yarp.com","size":253,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"rmm5t:master","ref":"master","sha":"ae21bd17b0aa0fbf156759b27c7b78bb818131aa","user":{"login":"rmm5t","id":740,"avatar_url":"https://avatars.githubusercontent.com/u/740?v=3","gravatar_id":"","url":"https://api.github.com/users/rmm5t","html_url":"https://github.com/rmm5t","followers_url":"https://api.github.com/users/rmm5t/followers","following_url":"https://api.github.com/users/rmm5t/following{/other_user}","gists_url":"https://api.github.com/users/rmm5t/gists{/gist_id}","starred_url":"https://api.github.com/users/rmm5t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmm5t/subscriptions","organizations_url":"https://api.github.com/users/rmm5t/orgs","repos_url":"https://api.github.com/users/rmm5t/repos","events_url":"https://api.github.com/users/rmm5t/events{/privacy}","received_events_url":"https://api.github.com/users/rmm5t/received_events","type":"User","site_admin":false},"repo":{"id":35219,"name":"jquery-timeago","full_name":"rmm5t/jquery-timeago","owner":{"login":"rmm5t","id":740,"avatar_url":"https://avatars.githubusercontent.com/u/740?v=3","gravatar_id":"","url":"https://api.github.com/users/rmm5t","html_url":"https://github.com/rmm5t","followers_url":"https://api.github.com/users/rmm5t/followers","following_url":"https://api.github.com/users/rmm5t/following{/other_user}","gists_url":"https://api.github.com/users/rmm5t/gists{/gist_id}","starred_url":"https://api.github.com/users/rmm5t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmm5t/subscriptions","organizations_url":"https://api.github.com/users/rmm5t/orgs","repos_url":"https://api.github.com/users/rmm5t/repos","events_url":"https://api.github.com/users/rmm5t/events{/privacy}","received_events_url":"https://api.github.com/users/rmm5t/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmm5t/jquery-timeago","description":"Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. \"4 minutes ago\").","fork":false,"url":"https://api.github.com/repos/rmm5t/jquery-timeago","forks_url":"https://api.github.com/repos/rmm5t/jquery-timeago/forks","keys_url":"https://api.github.com/repos/rmm5t/jquery-timeago/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmm5t/jquery-timeago/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmm5t/jquery-timeago/teams","hooks_url":"https://api.github.com/repos/rmm5t/jquery-timeago/hooks","issue_events_url":"https://api.github.com/repos/rmm5t/jquery-timeago/issues/events{/number}","events_url":"https://api.github.com/repos/rmm5t/jquery-timeago/events","assignees_url":"https://api.github.com/repos/rmm5t/jquery-timeago/assignees{/user}","branches_url":"https://api.github.com/repos/rmm5t/jquery-timeago/branches{/branch}","tags_url":"https://api.github.com/repos/rmm5t/jquery-timeago/tags","blobs_url":"https://api.github.com/repos/rmm5t/jquery-timeago/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmm5t/jquery-timeago/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmm5t/jquery-timeago/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmm5t/jquery-timeago/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmm5t/jquery-timeago/statuses/{sha}","languages_url":"https://api.github.com/repos/rmm5t/jquery-timeago/languages","stargazers_url":"https://api.github.com/repos/rmm5t/jquery-timeago/stargazers","contributors_url":"https://api.github.com/repos/rmm5t/jquery-timeago/contributors","subscribers_url":"https://api.github.com/repos/rmm5t/jquery-timeago/subscribers","subscription_url":"https://api.github.com/repos/rmm5t/jquery-timeago/subscription","commits_url":"https://api.github.com/repos/rmm5t/jquery-timeago/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmm5t/jquery-timeago/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmm5t/jquery-timeago/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmm5t/jquery-timeago/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmm5t/jquery-timeago/contents/{+path}","compare_url":"https://api.github.com/repos/rmm5t/jquery-timeago/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmm5t/jquery-timeago/merges","archive_url":"https://api.github.com/repos/rmm5t/jquery-timeago/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmm5t/jquery-timeago/downloads","issues_url":"https://api.github.com/repos/rmm5t/jquery-timeago/issues{/number}","pulls_url":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls{/number}","milestones_url":"https://api.github.com/repos/rmm5t/jquery-timeago/milestones{/number}","notifications_url":"https://api.github.com/repos/rmm5t/jquery-timeago/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmm5t/jquery-timeago/labels{/name}","releases_url":"https://api.github.com/repos/rmm5t/jquery-timeago/releases{/id}","created_at":"2008-07-18T15:29:49Z","updated_at":"2016-01-06T05:12:37Z","pushed_at":"2016-01-03T16:43:50Z","git_url":"git://github.com/rmm5t/jquery-timeago.git","ssh_url":"git@github.com:rmm5t/jquery-timeago.git","clone_url":"https://github.com/rmm5t/jquery-timeago.git","svn_url":"https://github.com/rmm5t/jquery-timeago","homepage":"http://timeago.yarp.com","size":529,"stargazers_count":3200,"watchers_count":3200,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":569,"mirror_url":null,"open_issues_count":44,"forks":569,"open_issues":44,"watchers":3200,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/88"},"html":{"href":"https://github.com/rmm5t/jquery-timeago/pull/88"},"issue":{"href":"https://api.github.com/repos/rmm5t/jquery-timeago/issues/88"},"comments":{"href":"https://api.github.com/repos/rmm5t/jquery-timeago/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rmm5t/jquery-timeago/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/rmm5t/jquery-timeago/statuses/213ff0568abf28bec4d564086051d0f88d27e97b"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":6,"changed_files":3}}