{"action":"opened","number":1536,"pull_request":{"url":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/1536","id":137554131,"html_url":"https://github.com/moderntribe/the-events-calendar/pull/1536","diff_url":"https://github.com/moderntribe/the-events-calendar/pull/1536.diff","patch_url":"https://github.com/moderntribe/the-events-calendar/pull/1536.patch","issue_url":"https://api.github.com/repos/moderntribe/the-events-calendar/issues/1536","number":1536,"state":"open","locked":false,"title":"i18n: Avoid using HTML tags in translation strings","user":{"login":"ramiy","id":576623,"avatar_url":"https://avatars0.githubusercontent.com/u/576623?v=4","gravatar_id":"","url":"https://api.github.com/users/ramiy","html_url":"https://github.com/ramiy","followers_url":"https://api.github.com/users/ramiy/followers","following_url":"https://api.github.com/users/ramiy/following{/other_user}","gists_url":"https://api.github.com/users/ramiy/gists{/gist_id}","starred_url":"https://api.github.com/users/ramiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramiy/subscriptions","organizations_url":"https://api.github.com/users/ramiy/orgs","repos_url":"https://api.github.com/users/ramiy/repos","events_url":"https://api.github.com/users/ramiy/events{/privacy}","received_events_url":"https://api.github.com/users/ramiy/received_events","type":"User","site_admin":false},"body":"The current translation string:\r\n\r\n* `You cannot edit the slug for your events page as you do not have pretty permalinks enabled. The current URL for your events page is <a href=\"%1$s\">%2$s</a>. In order to edit the slug here, <a href=\"%3$soptions-permalink.php\">enable pretty permalinks</a>.`\r\n\r\nWe can:\r\n\r\n1. replace `<a href=\"%1$s\">%2$s</a>` with a simple `%1$s` moving the HTML tags outside the translation string.\r\n2. replacing `<a href=\"%3$soptions-permalink.php\">` with a simple `<a href=\"%3$\">`, moving `options-permalink.php` outside the translation string.\r\n\r\nThe new translation string:\r\n\r\n* `You cannot edit the slug for your events page as you do not have pretty permalinks enabled. The current URL for your events page is %1$s. In order to edit the slug here, <a href=\"%2$s\">enable pretty permalinks</a>.`","created_at":"2017-08-24T21:19:36Z","updated_at":"2017-08-24T21:19:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/1536/commits","review_comments_url":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/1536/comments","review_comment_url":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moderntribe/the-events-calendar/issues/1536/comments","statuses_url":"https://api.github.com/repos/moderntribe/the-events-calendar/statuses/2330d3a363d39438c6cd2c90f8762b1c6a9e195f","head":{"label":"ramiy:patch-3","ref":"patch-3","sha":"2330d3a363d39438c6cd2c90f8762b1c6a9e195f","user":{"login":"ramiy","id":576623,"avatar_url":"https://avatars0.githubusercontent.com/u/576623?v=4","gravatar_id":"","url":"https://api.github.com/users/ramiy","html_url":"https://github.com/ramiy","followers_url":"https://api.github.com/users/ramiy/followers","following_url":"https://api.github.com/users/ramiy/following{/other_user}","gists_url":"https://api.github.com/users/ramiy/gists{/gist_id}","starred_url":"https://api.github.com/users/ramiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramiy/subscriptions","organizations_url":"https://api.github.com/users/ramiy/orgs","repos_url":"https://api.github.com/users/ramiy/repos","events_url":"https://api.github.com/users/ramiy/events{/privacy}","received_events_url":"https://api.github.com/users/ramiy/received_events","type":"User","site_admin":false},"repo":{"id":72657661,"name":"the-events-calendar","full_name":"ramiy/the-events-calendar","owner":{"login":"ramiy","id":576623,"avatar_url":"https://avatars0.githubusercontent.com/u/576623?v=4","gravatar_id":"","url":"https://api.github.com/users/ramiy","html_url":"https://github.com/ramiy","followers_url":"https://api.github.com/users/ramiy/followers","following_url":"https://api.github.com/users/ramiy/following{/other_user}","gists_url":"https://api.github.com/users/ramiy/gists{/gist_id}","starred_url":"https://api.github.com/users/ramiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramiy/subscriptions","organizations_url":"https://api.github.com/users/ramiy/orgs","repos_url":"https://api.github.com/users/ramiy/repos","events_url":"https://api.github.com/users/ramiy/events{/privacy}","received_events_url":"https://api.github.com/users/ramiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ramiy/the-events-calendar","description":"The Events Calendar WordPress plugin by Modern Tribe","fork":true,"url":"https://api.github.com/repos/ramiy/the-events-calendar","forks_url":"https://api.github.com/repos/ramiy/the-events-calendar/forks","keys_url":"https://api.github.com/repos/ramiy/the-events-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramiy/the-events-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramiy/the-events-calendar/teams","hooks_url":"https://api.github.com/repos/ramiy/the-events-calendar/hooks","issue_events_url":"https://api.github.com/repos/ramiy/the-events-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/ramiy/the-events-calendar/events","assignees_url":"https://api.github.com/repos/ramiy/the-events-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/ramiy/the-events-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/ramiy/the-events-calendar/tags","blobs_url":"https://api.github.com/repos/ramiy/the-events-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramiy/the-events-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramiy/the-events-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramiy/the-events-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramiy/the-events-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/ramiy/the-events-calendar/languages","stargazers_url":"https://api.github.com/repos/ramiy/the-events-calendar/stargazers","contributors_url":"https://api.github.com/repos/ramiy/the-events-calendar/contributors","subscribers_url":"https://api.github.com/repos/ramiy/the-events-calendar/subscribers","subscription_url":"https://api.github.com/repos/ramiy/the-events-calendar/subscription","commits_url":"https://api.github.com/repos/ramiy/the-events-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramiy/the-events-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramiy/the-events-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramiy/the-events-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/ramiy/the-events-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/ramiy/the-events-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramiy/the-events-calendar/merges","archive_url":"https://api.github.com/repos/ramiy/the-events-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramiy/the-events-calendar/downloads","issues_url":"https://api.github.com/repos/ramiy/the-events-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/ramiy/the-events-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/ramiy/the-events-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/ramiy/the-events-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramiy/the-events-calendar/labels{/name}","releases_url":"https://api.github.com/repos/ramiy/the-events-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/ramiy/the-events-calendar/deployments","created_at":"2016-11-02T16:10:54Z","updated_at":"2016-11-02T16:10:58Z","pushed_at":"2017-08-24T21:19:22Z","git_url":"git://github.com/ramiy/the-events-calendar.git","ssh_url":"git@github.com:ramiy/the-events-calendar.git","clone_url":"https://github.com/ramiy/the-events-calendar.git","svn_url":"https://github.com/ramiy/the-events-calendar","homepage":null,"size":57730,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"moderntribe:master","ref":"master","sha":"7a680016c25e53fc723f5be952ed37c2bb3be6c7","user":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars1.githubusercontent.com/u/2279551?v=4","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"repo":{"id":16366134,"name":"the-events-calendar","full_name":"moderntribe/the-events-calendar","owner":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars1.githubusercontent.com/u/2279551?v=4","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moderntribe/the-events-calendar","description":"The Events Calendar WordPress plugin by Modern Tribe","fork":false,"url":"https://api.github.com/repos/moderntribe/the-events-calendar","forks_url":"https://api.github.com/repos/moderntribe/the-events-calendar/forks","keys_url":"https://api.github.com/repos/moderntribe/the-events-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moderntribe/the-events-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moderntribe/the-events-calendar/teams","hooks_url":"https://api.github.com/repos/moderntribe/the-events-calendar/hooks","issue_events_url":"https://api.github.com/repos/moderntribe/the-events-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/moderntribe/the-events-calendar/events","assignees_url":"https://api.github.com/repos/moderntribe/the-events-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/moderntribe/the-events-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/moderntribe/the-events-calendar/tags","blobs_url":"https://api.github.com/repos/moderntribe/the-events-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moderntribe/the-events-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moderntribe/the-events-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/moderntribe/the-events-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moderntribe/the-events-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/moderntribe/the-events-calendar/languages","stargazers_url":"https://api.github.com/repos/moderntribe/the-events-calendar/stargazers","contributors_url":"https://api.github.com/repos/moderntribe/the-events-calendar/contributors","subscribers_url":"https://api.github.com/repos/moderntribe/the-events-calendar/subscribers","subscription_url":"https://api.github.com/repos/moderntribe/the-events-calendar/subscription","commits_url":"https://api.github.com/repos/moderntribe/the-events-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/moderntribe/the-events-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/moderntribe/the-events-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/moderntribe/the-events-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/moderntribe/the-events-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/moderntribe/the-events-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moderntribe/the-events-calendar/merges","archive_url":"https://api.github.com/repos/moderntribe/the-events-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moderntribe/the-events-calendar/downloads","issues_url":"https://api.github.com/repos/moderntribe/the-events-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/moderntribe/the-events-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/moderntribe/the-events-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moderntribe/the-events-calendar/labels{/name}","releases_url":"https://api.github.com/repos/moderntribe/the-events-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/moderntribe/the-events-calendar/deployments","created_at":"2014-01-30T02:17:01Z","updated_at":"2017-07-26T07:30:08Z","pushed_at":"2017-08-24T21:08:19Z","git_url":"git://github.com/moderntribe/the-events-calendar.git","ssh_url":"git@github.com:moderntribe/the-events-calendar.git","clone_url":"https://github.com/moderntribe/the-events-calendar.git","svn_url":"https://github.com/moderntribe/the-events-calendar","homepage":null,"size":69838,"stargazers_count":134,"watchers_count":134,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"open_issues_count":8,"forks":122,"open_issues":8,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/1536"},"html":{"href":"https://github.com/moderntribe/the-events-calendar/pull/1536"},"issue":{"href":"https://api.github.com/repos/moderntribe/the-events-calendar/issues/1536"},"comments":{"href":"https://api.github.com/repos/moderntribe/the-events-calendar/issues/1536/comments"},"review_comments":{"href":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/1536/comments"},"review_comment":{"href":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moderntribe/the-events-calendar/pulls/1536/commits"},"statuses":{"href":"https://api.github.com/repos/moderntribe/the-events-calendar/statuses/2330d3a363d39438c6cd2c90f8762b1c6a9e195f"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":9,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ramiy"}}