{"action":"created","comment":{"url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/comments/245482366","pull_request_review_id":189601921,"id":245482366,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTQ4MjM2Ng==","diff_hunk":"@@ -0,0 +1,47 @@\n+# Adding a language\n+\n+Thank you for considering adding an additional translation to Video Hub App!\n+\n+It's a 2 minute process when using the script (created by @cal2195) and [Google Doc Translate](https://translate.google.com/toolkit/docupload). Or if you are translating individual strings you can use [Google Translate](https://translate.google.com/).\n+\n+## Steps\n+\n+1. In your terminal enter this directory: `cd src/app/i18n`\n+2. Run the translate command: `./translate.sh German ge` substituting the language and the two-letter abbreviation\n+ - please use the first two letters from this list: https://github.com/electron/electron/blob/master/docs/api/locales.md\n+3. The instructions in the script will inform you:\n+> copy to_translate.txt contents into Google Translate, and paste the translations into a file called translated.txt\n+4. Once done, press the `Enter` key in your terminal and you're done!\n+5. Open a PR (Pull Request) with the changes.\n+\n+## Integrating the language into the app\n+\n+You're welcome to open a Pull Request as is and I'll implement the language into the app. Alternatively, you can edit just a few more files and you'll be ready! It's rather eays -- just follow the patterns!\n+\n+1. The newly generated file will need a change: `export const English = {` -> to the appropriate language name","path":"src/app/i18n/README.md","position":21,"original_position":21,"commit_id":"0ca3cd6b942d522587c34ead8a3e2f6d33e046e6","original_commit_id":"0ca3cd6b942d522587c34ead8a3e2f6d33e046e6","user":{"login":"whyboris","id":17264277,"node_id":"MDQ6VXNlcjE3MjY0Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/17264277?v=4","gravatar_id":"","url":"https://api.github.com/users/whyboris","html_url":"https://github.com/whyboris","followers_url":"https://api.github.com/users/whyboris/followers","following_url":"https://api.github.com/users/whyboris/following{/other_user}","gists_url":"https://api.github.com/users/whyboris/gists{/gist_id}","starred_url":"https://api.github.com/users/whyboris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyboris/subscriptions","organizations_url":"https://api.github.com/users/whyboris/orgs","repos_url":"https://api.github.com/users/whyboris/repos","events_url":"https://api.github.com/users/whyboris/events{/privacy}","received_events_url":"https://api.github.com/users/whyboris/received_events","type":"User","site_admin":false},"body":"ps - I also removed all the `tslint` rules from within the file -- and I'm keeping only one rule at the top of the file. Might make the script simpler (if you're editing it).","created_at":"2019-01-05T16:49:09Z","updated_at":"2019-01-05T16:49:09Z","html_url":"https://github.com/whyboris/Video-Hub-App/pull/82#discussion_r245482366","pull_request_url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/comments/245482366"},"html":{"href":"https://github.com/whyboris/Video-Hub-App/pull/82#discussion_r245482366"},"pull_request":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82"}},"in_reply_to_id":245482256},"pull_request":{"url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82","id":242448710,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyNDQ4NzEw","html_url":"https://github.com/whyboris/Video-Hub-App/pull/82","diff_url":"https://github.com/whyboris/Video-Hub-App/pull/82.diff","patch_url":"https://github.com/whyboris/Video-Hub-App/pull/82.patch","issue_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/82","number":82,"state":"open","locked":false,"title":"Instructions for adding a language","user":{"login":"whyboris","id":17264277,"node_id":"MDQ6VXNlcjE3MjY0Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/17264277?v=4","gravatar_id":"","url":"https://api.github.com/users/whyboris","html_url":"https://github.com/whyboris","followers_url":"https://api.github.com/users/whyboris/followers","following_url":"https://api.github.com/users/whyboris/following{/other_user}","gists_url":"https://api.github.com/users/whyboris/gists{/gist_id}","starred_url":"https://api.github.com/users/whyboris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyboris/subscriptions","organizations_url":"https://api.github.com/users/whyboris/orgs","repos_url":"https://api.github.com/users/whyboris/repos","events_url":"https://api.github.com/users/whyboris/events{/privacy}","received_events_url":"https://api.github.com/users/whyboris/received_events","type":"User","site_admin":false},"body":"And integrating French into the app 👍  Thanks @cal2195 for the script and for the French translation!","created_at":"2019-01-05T16:40:30Z","updated_at":"2019-01-05T16:49:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c18b06078853f2eb0c51439215a236088a7fbba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1164996800,"node_id":"MDU6TGFiZWwxMTY0OTk2ODAw","url":"https://api.github.com/repos/whyboris/Video-Hub-App/labels/%E2%9C%8F%EF%B8%8F%20ready%20for%20review","name":"✏️ ready for review","color":"f9d0c4","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82/commits","review_comments_url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82/comments","review_comment_url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/82/comments","statuses_url":"https://api.github.com/repos/whyboris/Video-Hub-App/statuses/0ca3cd6b942d522587c34ead8a3e2f6d33e046e6","head":{"label":"whyboris:french","ref":"french","sha":"0ca3cd6b942d522587c34ead8a3e2f6d33e046e6","user":{"login":"whyboris","id":17264277,"node_id":"MDQ6VXNlcjE3MjY0Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/17264277?v=4","gravatar_id":"","url":"https://api.github.com/users/whyboris","html_url":"https://github.com/whyboris","followers_url":"https://api.github.com/users/whyboris/followers","following_url":"https://api.github.com/users/whyboris/following{/other_user}","gists_url":"https://api.github.com/users/whyboris/gists{/gist_id}","starred_url":"https://api.github.com/users/whyboris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyboris/subscriptions","organizations_url":"https://api.github.com/users/whyboris/orgs","repos_url":"https://api.github.com/users/whyboris/repos","events_url":"https://api.github.com/users/whyboris/events{/privacy}","received_events_url":"https://api.github.com/users/whyboris/received_events","type":"User","site_admin":false},"repo":{"id":160095555,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAwOTU1NTU=","name":"Video-Hub-App","full_name":"whyboris/Video-Hub-App","private":false,"owner":{"login":"whyboris","id":17264277,"node_id":"MDQ6VXNlcjE3MjY0Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/17264277?v=4","gravatar_id":"","url":"https://api.github.com/users/whyboris","html_url":"https://github.com/whyboris","followers_url":"https://api.github.com/users/whyboris/followers","following_url":"https://api.github.com/users/whyboris/following{/other_user}","gists_url":"https://api.github.com/users/whyboris/gists{/gist_id}","starred_url":"https://api.github.com/users/whyboris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyboris/subscriptions","organizations_url":"https://api.github.com/users/whyboris/orgs","repos_url":"https://api.github.com/users/whyboris/repos","events_url":"https://api.github.com/users/whyboris/events{/privacy}","received_events_url":"https://api.github.com/users/whyboris/received_events","type":"User","site_admin":false},"html_url":"https://github.com/whyboris/Video-Hub-App","description":"Official repository for Video Hub App - https://videohubapp.com","fork":false,"url":"https://api.github.com/repos/whyboris/Video-Hub-App","forks_url":"https://api.github.com/repos/whyboris/Video-Hub-App/forks","keys_url":"https://api.github.com/repos/whyboris/Video-Hub-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whyboris/Video-Hub-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whyboris/Video-Hub-App/teams","hooks_url":"https://api.github.com/repos/whyboris/Video-Hub-App/hooks","issue_events_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/events{/number}","events_url":"https://api.github.com/repos/whyboris/Video-Hub-App/events","assignees_url":"https://api.github.com/repos/whyboris/Video-Hub-App/assignees{/user}","branches_url":"https://api.github.com/repos/whyboris/Video-Hub-App/branches{/branch}","tags_url":"https://api.github.com/repos/whyboris/Video-Hub-App/tags","blobs_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whyboris/Video-Hub-App/statuses/{sha}","languages_url":"https://api.github.com/repos/whyboris/Video-Hub-App/languages","stargazers_url":"https://api.github.com/repos/whyboris/Video-Hub-App/stargazers","contributors_url":"https://api.github.com/repos/whyboris/Video-Hub-App/contributors","subscribers_url":"https://api.github.com/repos/whyboris/Video-Hub-App/subscribers","subscription_url":"https://api.github.com/repos/whyboris/Video-Hub-App/subscription","commits_url":"https://api.github.com/repos/whyboris/Video-Hub-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/whyboris/Video-Hub-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/whyboris/Video-Hub-App/contents/{+path}","compare_url":"https://api.github.com/repos/whyboris/Video-Hub-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whyboris/Video-Hub-App/merges","archive_url":"https://api.github.com/repos/whyboris/Video-Hub-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whyboris/Video-Hub-App/downloads","issues_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues{/number}","pulls_url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls{/number}","milestones_url":"https://api.github.com/repos/whyboris/Video-Hub-App/milestones{/number}","notifications_url":"https://api.github.com/repos/whyboris/Video-Hub-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whyboris/Video-Hub-App/labels{/name}","releases_url":"https://api.github.com/repos/whyboris/Video-Hub-App/releases{/id}","deployments_url":"https://api.github.com/repos/whyboris/Video-Hub-App/deployments","created_at":"2018-12-02T21:12:52Z","updated_at":"2019-01-05T16:46:18Z","pushed_at":"2019-01-05T16:46:16Z","git_url":"git://github.com/whyboris/Video-Hub-App.git","ssh_url":"git@github.com:whyboris/Video-Hub-App.git","clone_url":"https://github.com/whyboris/Video-Hub-App.git","svn_url":"https://github.com/whyboris/Video-Hub-App","homepage":null,"size":1396,"stargazers_count":41,"watchers_count":41,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":24,"watchers":41,"default_branch":"master"}},"base":{"label":"whyboris:master","ref":"master","sha":"5530674b65e2191feacf2c1800e7038eb70c6fcd","user":{"login":"whyboris","id":17264277,"node_id":"MDQ6VXNlcjE3MjY0Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/17264277?v=4","gravatar_id":"","url":"https://api.github.com/users/whyboris","html_url":"https://github.com/whyboris","followers_url":"https://api.github.com/users/whyboris/followers","following_url":"https://api.github.com/users/whyboris/following{/other_user}","gists_url":"https://api.github.com/users/whyboris/gists{/gist_id}","starred_url":"https://api.github.com/users/whyboris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyboris/subscriptions","organizations_url":"https://api.github.com/users/whyboris/orgs","repos_url":"https://api.github.com/users/whyboris/repos","events_url":"https://api.github.com/users/whyboris/events{/privacy}","received_events_url":"https://api.github.com/users/whyboris/received_events","type":"User","site_admin":false},"repo":{"id":160095555,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAwOTU1NTU=","name":"Video-Hub-App","full_name":"whyboris/Video-Hub-App","private":false,"owner":{"login":"whyboris","id":17264277,"node_id":"MDQ6VXNlcjE3MjY0Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/17264277?v=4","gravatar_id":"","url":"https://api.github.com/users/whyboris","html_url":"https://github.com/whyboris","followers_url":"https://api.github.com/users/whyboris/followers","following_url":"https://api.github.com/users/whyboris/following{/other_user}","gists_url":"https://api.github.com/users/whyboris/gists{/gist_id}","starred_url":"https://api.github.com/users/whyboris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyboris/subscriptions","organizations_url":"https://api.github.com/users/whyboris/orgs","repos_url":"https://api.github.com/users/whyboris/repos","events_url":"https://api.github.com/users/whyboris/events{/privacy}","received_events_url":"https://api.github.com/users/whyboris/received_events","type":"User","site_admin":false},"html_url":"https://github.com/whyboris/Video-Hub-App","description":"Official repository for Video Hub App - https://videohubapp.com","fork":false,"url":"https://api.github.com/repos/whyboris/Video-Hub-App","forks_url":"https://api.github.com/repos/whyboris/Video-Hub-App/forks","keys_url":"https://api.github.com/repos/whyboris/Video-Hub-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whyboris/Video-Hub-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whyboris/Video-Hub-App/teams","hooks_url":"https://api.github.com/repos/whyboris/Video-Hub-App/hooks","issue_events_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/events{/number}","events_url":"https://api.github.com/repos/whyboris/Video-Hub-App/events","assignees_url":"https://api.github.com/repos/whyboris/Video-Hub-App/assignees{/user}","branches_url":"https://api.github.com/repos/whyboris/Video-Hub-App/branches{/branch}","tags_url":"https://api.github.com/repos/whyboris/Video-Hub-App/tags","blobs_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whyboris/Video-Hub-App/statuses/{sha}","languages_url":"https://api.github.com/repos/whyboris/Video-Hub-App/languages","stargazers_url":"https://api.github.com/repos/whyboris/Video-Hub-App/stargazers","contributors_url":"https://api.github.com/repos/whyboris/Video-Hub-App/contributors","subscribers_url":"https://api.github.com/repos/whyboris/Video-Hub-App/subscribers","subscription_url":"https://api.github.com/repos/whyboris/Video-Hub-App/subscription","commits_url":"https://api.github.com/repos/whyboris/Video-Hub-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/whyboris/Video-Hub-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/whyboris/Video-Hub-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/whyboris/Video-Hub-App/contents/{+path}","compare_url":"https://api.github.com/repos/whyboris/Video-Hub-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whyboris/Video-Hub-App/merges","archive_url":"https://api.github.com/repos/whyboris/Video-Hub-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whyboris/Video-Hub-App/downloads","issues_url":"https://api.github.com/repos/whyboris/Video-Hub-App/issues{/number}","pulls_url":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls{/number}","milestones_url":"https://api.github.com/repos/whyboris/Video-Hub-App/milestones{/number}","notifications_url":"https://api.github.com/repos/whyboris/Video-Hub-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whyboris/Video-Hub-App/labels{/name}","releases_url":"https://api.github.com/repos/whyboris/Video-Hub-App/releases{/id}","deployments_url":"https://api.github.com/repos/whyboris/Video-Hub-App/deployments","created_at":"2018-12-02T21:12:52Z","updated_at":"2019-01-05T16:46:18Z","pushed_at":"2019-01-05T16:46:16Z","git_url":"git://github.com/whyboris/Video-Hub-App.git","ssh_url":"git@github.com:whyboris/Video-Hub-App.git","clone_url":"https://github.com/whyboris/Video-Hub-App.git","svn_url":"https://github.com/whyboris/Video-Hub-App","homepage":null,"size":1396,"stargazers_count":41,"watchers_count":41,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":24,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82"},"html":{"href":"https://github.com/whyboris/Video-Hub-App/pull/82"},"issue":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/82"},"comments":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/whyboris/Video-Hub-App/statuses/0ca3cd6b942d522587c34ead8a3e2f6d33e046e6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"whyboris"}}