{"action":"created","comment":{"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/comments/30803944","id":30803944,"diff_hunk":"@@ -18,7 +18,7 @@ xgettext \\\n     --from-code=utf-8 \\\n     --keyword=__ --keyword=_pgettext:1c,2 --keyword=_ngettext:1,2 \\\n     --copyright-holder=\"phpMyAdmin devel team\" \\\n-    `find . -name '*.php' -not -path './test/*' -not -path './po/*' -not -path './release/*' | sort`\n+    `find . -name '*.php' -o -name '*.phtml' -not -path './test/*' -not -path './po/*' -not -path './release/*' | sort`","path":"scripts/update-po","position":5,"original_position":5,"commit_id":"b47dd0fe6509b2cba7407c5798a20dd086b1f163","original_commit_id":"b47dd0fe6509b2cba7407c5798a20dd086b1f163","user":{"login":"zixtor","id":1512276,"avatar_url":"https://avatars.githubusercontent.com/u/1512276?v=3","gravatar_id":"","url":"https://api.github.com/users/zixtor","html_url":"https://github.com/zixtor","followers_url":"https://api.github.com/users/zixtor/followers","following_url":"https://api.github.com/users/zixtor/following{/other_user}","gists_url":"https://api.github.com/users/zixtor/gists{/gist_id}","starred_url":"https://api.github.com/users/zixtor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zixtor/subscriptions","organizations_url":"https://api.github.com/users/zixtor/orgs","repos_url":"https://api.github.com/users/zixtor/repos","events_url":"https://api.github.com/users/zixtor/events{/privacy}","received_events_url":"https://api.github.com/users/zixtor/received_events","type":"User","site_admin":false},"body":"@gzzhanghao One more thing, this find now seems to be resulting in ./test/* files as well, using regex seems ok to me:-\r\nfind -regex '.*\\.\\(php\\|phtml\\)' -not -path './test/*' -not -path './po/*' -not -path './release/*' | sort | wc -l","created_at":"2015-05-21T13:57:33Z","updated_at":"2015-05-21T13:57:33Z","html_url":"https://github.com/phpmyadmin/phpmyadmin/pull/1671#discussion_r30803944","pull_request_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671","_links":{"self":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/comments/30803944"},"html":{"href":"https://github.com/phpmyadmin/phpmyadmin/pull/1671#discussion_r30803944"},"pull_request":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671"}}},"pull_request":{"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671","id":35155946,"html_url":"https://github.com/phpmyadmin/phpmyadmin/pull/1671","diff_url":"https://github.com/phpmyadmin/phpmyadmin/pull/1671.diff","patch_url":"https://github.com/phpmyadmin/phpmyadmin/pull/1671.patch","issue_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/1671","number":1671,"state":"open","locked":false,"title":"Updates on PMA\\Template class","user":{"login":"gzzhanghao","id":5051221,"avatar_url":"https://avatars.githubusercontent.com/u/5051221?v=3","gravatar_id":"","url":"https://api.github.com/users/gzzhanghao","html_url":"https://github.com/gzzhanghao","followers_url":"https://api.github.com/users/gzzhanghao/followers","following_url":"https://api.github.com/users/gzzhanghao/following{/other_user}","gists_url":"https://api.github.com/users/gzzhanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/gzzhanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzzhanghao/subscriptions","organizations_url":"https://api.github.com/users/gzzhanghao/orgs","repos_url":"https://api.github.com/users/gzzhanghao/repos","events_url":"https://api.github.com/users/gzzhanghao/events{/privacy}","received_events_url":"https://api.github.com/users/gzzhanghao/received_events","type":"User","site_admin":false},"body":"Updates on Template class.\r\n- Add `trim` method to Template class. Now the usage is changed to: \r\n`Template::get($template_script_name)->render($data, [$trim = true]);`\r\nThe `$trim` parameter in the render function indicate whether it should eliminate white spaces between HTML tags and its values. This feature is set to ON by default; You can disable it by simply passing `false`.\r\n- `trim` is also provided as a static method.\r\n- Update tests for the Template class.\r\n- Add templates for db_designer.lib.php.\r\n- Change extensions of templates to \".pthml\".","created_at":"2015-05-11T18:40:03Z","updated_at":"2015-05-21T13:57:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8506112dbce83c9d39bb6925ed34b20c6afd920c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671/commits","review_comments_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671/comments","review_comment_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/1671/comments","statuses_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/statuses/b47dd0fe6509b2cba7407c5798a20dd086b1f163","head":{"label":"gzzhanghao:template","ref":"template","sha":"b47dd0fe6509b2cba7407c5798a20dd086b1f163","user":{"login":"gzzhanghao","id":5051221,"avatar_url":"https://avatars.githubusercontent.com/u/5051221?v=3","gravatar_id":"","url":"https://api.github.com/users/gzzhanghao","html_url":"https://github.com/gzzhanghao","followers_url":"https://api.github.com/users/gzzhanghao/followers","following_url":"https://api.github.com/users/gzzhanghao/following{/other_user}","gists_url":"https://api.github.com/users/gzzhanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/gzzhanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzzhanghao/subscriptions","organizations_url":"https://api.github.com/users/gzzhanghao/orgs","repos_url":"https://api.github.com/users/gzzhanghao/repos","events_url":"https://api.github.com/users/gzzhanghao/events{/privacy}","received_events_url":"https://api.github.com/users/gzzhanghao/received_events","type":"User","site_admin":false},"repo":{"id":30227902,"name":"phpmyadmin","full_name":"gzzhanghao/phpmyadmin","owner":{"login":"gzzhanghao","id":5051221,"avatar_url":"https://avatars.githubusercontent.com/u/5051221?v=3","gravatar_id":"","url":"https://api.github.com/users/gzzhanghao","html_url":"https://github.com/gzzhanghao","followers_url":"https://api.github.com/users/gzzhanghao/followers","following_url":"https://api.github.com/users/gzzhanghao/following{/other_user}","gists_url":"https://api.github.com/users/gzzhanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/gzzhanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzzhanghao/subscriptions","organizations_url":"https://api.github.com/users/gzzhanghao/orgs","repos_url":"https://api.github.com/users/gzzhanghao/repos","events_url":"https://api.github.com/users/gzzhanghao/events{/privacy}","received_events_url":"https://api.github.com/users/gzzhanghao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gzzhanghao/phpmyadmin","description":"phpMyAdmin itself","fork":true,"url":"https://api.github.com/repos/gzzhanghao/phpmyadmin","forks_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/forks","keys_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/teams","hooks_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/hooks","issue_events_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/issues/events{/number}","events_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/events","assignees_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/assignees{/user}","branches_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/branches{/branch}","tags_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/tags","blobs_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/statuses/{sha}","languages_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/languages","stargazers_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/stargazers","contributors_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/contributors","subscribers_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/subscribers","subscription_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/subscription","commits_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/contents/{+path}","compare_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/merges","archive_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/downloads","issues_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/issues{/number}","pulls_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/pulls{/number}","milestones_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/milestones{/number}","notifications_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/labels{/name}","releases_url":"https://api.github.com/repos/gzzhanghao/phpmyadmin/releases{/id}","created_at":"2015-02-03T06:03:34Z","updated_at":"2015-04-12T17:43:52Z","pushed_at":"2015-05-21T09:39:25Z","git_url":"git://github.com/gzzhanghao/phpmyadmin.git","ssh_url":"git@github.com:gzzhanghao/phpmyadmin.git","clone_url":"https://github.com/gzzhanghao/phpmyadmin.git","svn_url":"https://github.com/gzzhanghao/phpmyadmin","homepage":"http://www.phpmyadmin.net/","size":573525,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"phpmyadmin:master","ref":"master","sha":"9c42b7796d3d4880e1d9ebf32f58dea4d9d70c00","user":{"login":"phpmyadmin","id":1351977,"avatar_url":"https://avatars.githubusercontent.com/u/1351977?v=3","gravatar_id":"","url":"https://api.github.com/users/phpmyadmin","html_url":"https://github.com/phpmyadmin","followers_url":"https://api.github.com/users/phpmyadmin/followers","following_url":"https://api.github.com/users/phpmyadmin/following{/other_user}","gists_url":"https://api.github.com/users/phpmyadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/phpmyadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpmyadmin/subscriptions","organizations_url":"https://api.github.com/users/phpmyadmin/orgs","repos_url":"https://api.github.com/users/phpmyadmin/repos","events_url":"https://api.github.com/users/phpmyadmin/events{/privacy}","received_events_url":"https://api.github.com/users/phpmyadmin/received_events","type":"Organization","site_admin":false},"repo":{"id":3217621,"name":"phpmyadmin","full_name":"phpmyadmin/phpmyadmin","owner":{"login":"phpmyadmin","id":1351977,"avatar_url":"https://avatars.githubusercontent.com/u/1351977?v=3","gravatar_id":"","url":"https://api.github.com/users/phpmyadmin","html_url":"https://github.com/phpmyadmin","followers_url":"https://api.github.com/users/phpmyadmin/followers","following_url":"https://api.github.com/users/phpmyadmin/following{/other_user}","gists_url":"https://api.github.com/users/phpmyadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/phpmyadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpmyadmin/subscriptions","organizations_url":"https://api.github.com/users/phpmyadmin/orgs","repos_url":"https://api.github.com/users/phpmyadmin/repos","events_url":"https://api.github.com/users/phpmyadmin/events{/privacy}","received_events_url":"https://api.github.com/users/phpmyadmin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpmyadmin/phpmyadmin","description":"phpMyAdmin itself","fork":false,"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin","forks_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/forks","keys_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/teams","hooks_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/hooks","issue_events_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/events{/number}","events_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/events","assignees_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/assignees{/user}","branches_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/branches{/branch}","tags_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/tags","blobs_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/statuses/{sha}","languages_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/languages","stargazers_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/stargazers","contributors_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/contributors","subscribers_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/subscribers","subscription_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/subscription","commits_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/contents/{+path}","compare_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/merges","archive_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/downloads","issues_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues{/number}","pulls_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls{/number}","milestones_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/milestones{/number}","notifications_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/labels{/name}","releases_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/releases{/id}","created_at":"2012-01-19T13:21:52Z","updated_at":"2015-05-21T02:45:27Z","pushed_at":"2015-05-21T13:37:31Z","git_url":"git://github.com/phpmyadmin/phpmyadmin.git","ssh_url":"git@github.com:phpmyadmin/phpmyadmin.git","clone_url":"https://github.com/phpmyadmin/phpmyadmin.git","svn_url":"https://github.com/phpmyadmin/phpmyadmin","homepage":"http://www.phpmyadmin.net/","size":711344,"stargazers_count":1207,"watchers_count":1207,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":712,"mirror_url":null,"open_issues_count":4,"forks":712,"open_issues":4,"watchers":1207,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671"},"html":{"href":"https://github.com/phpmyadmin/phpmyadmin/pull/1671"},"issue":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/1671"},"comments":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/1671/comments"},"review_comments":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671/comments"},"review_comment":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/1671/commits"},"statuses":{"href":"https://api.github.com/repos/phpmyadmin/phpmyadmin/statuses/b47dd0fe6509b2cba7407c5798a20dd086b1f163"}}}}