{"action":"created","comment":{"url":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/comments/24141472","id":24141472,"diff_hunk":"@@ -560,13 +560,12 @@ def produce_outputs(src_po_files, dest_path, lang_code):\n                 # Make sure we only concatenate .po files of the same version that we need.\n                 versioned_po_filename = os.path.join(\"versioned\", \"%s-django\") % (version,)\n                 kalite_po_filename = os.path.join(\"KA Lite UI\", \"kalite-%s.po\") % (lang_code,)\n+                src_po = polib.pofile(src_file)\n+                build_po.merge(src_po)\n+                #logging if the files is in the version\n                 if versioned_po_filename in src_file or kalite_po_filename in src_file:","path":"centralserver/i18n/management/commands/update_language_packs.py","position":7,"original_position":7,"commit_id":"6ac576d1e9e0f23fa8f8da058836aa474973ae75","original_commit_id":"6ac576d1e9e0f23fa8f8da058836aa474973ae75","user":{"login":"aronasorman","id":191955,"avatar_url":"https://avatars.githubusercontent.com/u/191955?v=3","gravatar_id":"","url":"https://api.github.com/users/aronasorman","html_url":"https://github.com/aronasorman","followers_url":"https://api.github.com/users/aronasorman/followers","following_url":"https://api.github.com/users/aronasorman/following{/other_user}","gists_url":"https://api.github.com/users/aronasorman/gists{/gist_id}","starred_url":"https://api.github.com/users/aronasorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronasorman/subscriptions","organizations_url":"https://api.github.com/users/aronasorman/orgs","repos_url":"https://api.github.com/users/aronasorman/repos","events_url":"https://api.github.com/users/aronasorman/events{/privacy}","received_events_url":"https://api.github.com/users/aronasorman/received_events","type":"User","site_admin":false},"body":"Maybe just remove this `if` statement altogether?","created_at":"2015-02-05T03:39:16Z","updated_at":"2015-02-05T03:39:16Z","html_url":"https://github.com/fle-internal/ka-lite-central/pull/226#discussion_r24141472","pull_request_url":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226","_links":{"self":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/comments/24141472"},"html":{"href":"https://github.com/fle-internal/ka-lite-central/pull/226#discussion_r24141472"},"pull_request":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226"}}},"pull_request":{"url":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226","id":28696120,"html_url":"https://github.com/fle-internal/ka-lite-central/pull/226","diff_url":"https://github.com/fle-internal/ka-lite-central/pull/226.diff","patch_url":"https://github.com/fle-internal/ka-lite-central/pull/226.patch","issue_url":"https://api.github.com/repos/fle-internal/ka-lite-central/issues/226","number":226,"state":"open","locked":false,"title":"Include the .po files form Khan Academy's Crowdin during .mo generation.","user":{"login":"arceduardvincent","id":4099119,"avatar_url":"https://avatars.githubusercontent.com/u/4099119?v=3","gravatar_id":"","url":"https://api.github.com/users/arceduardvincent","html_url":"https://github.com/arceduardvincent","followers_url":"https://api.github.com/users/arceduardvincent/followers","following_url":"https://api.github.com/users/arceduardvincent/following{/other_user}","gists_url":"https://api.github.com/users/arceduardvincent/gists{/gist_id}","starred_url":"https://api.github.com/users/arceduardvincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arceduardvincent/subscriptions","organizations_url":"https://api.github.com/users/arceduardvincent/orgs","repos_url":"https://api.github.com/users/arceduardvincent/repos","events_url":"https://api.github.com/users/arceduardvincent/events{/privacy}","received_events_url":"https://api.github.com/users/arceduardvincent/received_events","type":"User","site_admin":false},"body":"Hi @aronasorman and @cpauya \r\nThis fix the issue #225 \r\n\r\nI include the `.po` files during the generation of `.mo` files and NOT exclude them based on SHORTVERSION.","created_at":"2015-02-05T03:13:02Z","updated_at":"2015-02-05T03:39:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07f195e1935fc9d379c615c9571923146b75772e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226/commits","review_comments_url":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226/comments","review_comment_url":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/comments/{number}","comments_url":"https://api.github.com/repos/fle-internal/ka-lite-central/issues/226/comments","statuses_url":"https://api.github.com/repos/fle-internal/ka-lite-central/statuses/6ac576d1e9e0f23fa8f8da058836aa474973ae75","head":{"label":"mrpau:feature/225-Include_the_po_files_from_khan_academy_crowdin_account_during_update_language_packs","ref":"feature/225-Include_the_po_files_from_khan_academy_crowdin_account_during_update_language_packs","sha":"6ac576d1e9e0f23fa8f8da058836aa474973ae75","user":{"login":"mrpau","id":8663898,"avatar_url":"https://avatars.githubusercontent.com/u/8663898?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpau","html_url":"https://github.com/mrpau","followers_url":"https://api.github.com/users/mrpau/followers","following_url":"https://api.github.com/users/mrpau/following{/other_user}","gists_url":"https://api.github.com/users/mrpau/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpau/subscriptions","organizations_url":"https://api.github.com/users/mrpau/orgs","repos_url":"https://api.github.com/users/mrpau/repos","events_url":"https://api.github.com/users/mrpau/events{/privacy}","received_events_url":"https://api.github.com/users/mrpau/received_events","type":"Organization","site_admin":false},"repo":{"id":24733765,"name":"ka-lite-central","full_name":"mrpau/ka-lite-central","owner":{"login":"mrpau","id":8663898,"avatar_url":"https://avatars.githubusercontent.com/u/8663898?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpau","html_url":"https://github.com/mrpau","followers_url":"https://api.github.com/users/mrpau/followers","following_url":"https://api.github.com/users/mrpau/following{/other_user}","gists_url":"https://api.github.com/users/mrpau/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpau/subscriptions","organizations_url":"https://api.github.com/users/mrpau/orgs","repos_url":"https://api.github.com/users/mrpau/repos","events_url":"https://api.github.com/users/mrpau/events{/privacy}","received_events_url":"https://api.github.com/users/mrpau/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mrpau/ka-lite-central","description":"KA Lite central server code (wraps the ka-lite repository and adds features)","fork":true,"url":"https://api.github.com/repos/mrpau/ka-lite-central","forks_url":"https://api.github.com/repos/mrpau/ka-lite-central/forks","keys_url":"https://api.github.com/repos/mrpau/ka-lite-central/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrpau/ka-lite-central/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrpau/ka-lite-central/teams","hooks_url":"https://api.github.com/repos/mrpau/ka-lite-central/hooks","issue_events_url":"https://api.github.com/repos/mrpau/ka-lite-central/issues/events{/number}","events_url":"https://api.github.com/repos/mrpau/ka-lite-central/events","assignees_url":"https://api.github.com/repos/mrpau/ka-lite-central/assignees{/user}","branches_url":"https://api.github.com/repos/mrpau/ka-lite-central/branches{/branch}","tags_url":"https://api.github.com/repos/mrpau/ka-lite-central/tags","blobs_url":"https://api.github.com/repos/mrpau/ka-lite-central/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrpau/ka-lite-central/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrpau/ka-lite-central/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrpau/ka-lite-central/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrpau/ka-lite-central/statuses/{sha}","languages_url":"https://api.github.com/repos/mrpau/ka-lite-central/languages","stargazers_url":"https://api.github.com/repos/mrpau/ka-lite-central/stargazers","contributors_url":"https://api.github.com/repos/mrpau/ka-lite-central/contributors","subscribers_url":"https://api.github.com/repos/mrpau/ka-lite-central/subscribers","subscription_url":"https://api.github.com/repos/mrpau/ka-lite-central/subscription","commits_url":"https://api.github.com/repos/mrpau/ka-lite-central/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrpau/ka-lite-central/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrpau/ka-lite-central/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrpau/ka-lite-central/issues/comments/{number}","contents_url":"https://api.github.com/repos/mrpau/ka-lite-central/contents/{+path}","compare_url":"https://api.github.com/repos/mrpau/ka-lite-central/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrpau/ka-lite-central/merges","archive_url":"https://api.github.com/repos/mrpau/ka-lite-central/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrpau/ka-lite-central/downloads","issues_url":"https://api.github.com/repos/mrpau/ka-lite-central/issues{/number}","pulls_url":"https://api.github.com/repos/mrpau/ka-lite-central/pulls{/number}","milestones_url":"https://api.github.com/repos/mrpau/ka-lite-central/milestones{/number}","notifications_url":"https://api.github.com/repos/mrpau/ka-lite-central/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrpau/ka-lite-central/labels{/name}","releases_url":"https://api.github.com/repos/mrpau/ka-lite-central/releases{/id}","created_at":"2014-10-02T19:43:11Z","updated_at":"2015-02-04T10:03:54Z","pushed_at":"2015-02-05T03:07:48Z","git_url":"git://github.com/mrpau/ka-lite-central.git","ssh_url":"git@github.com:mrpau/ka-lite-central.git","clone_url":"https://github.com/mrpau/ka-lite-central.git","svn_url":"https://github.com/mrpau/ka-lite-central","homepage":"https://kalite.learningequality.org/","size":79361,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fle-internal:master","ref":"master","sha":"02cb2ab00a51c343fc22a317d55e60d7d01ea641","user":{"login":"fle-internal","id":6564452,"avatar_url":"https://avatars.githubusercontent.com/u/6564452?v=3","gravatar_id":"","url":"https://api.github.com/users/fle-internal","html_url":"https://github.com/fle-internal","followers_url":"https://api.github.com/users/fle-internal/followers","following_url":"https://api.github.com/users/fle-internal/following{/other_user}","gists_url":"https://api.github.com/users/fle-internal/gists{/gist_id}","starred_url":"https://api.github.com/users/fle-internal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fle-internal/subscriptions","organizations_url":"https://api.github.com/users/fle-internal/orgs","repos_url":"https://api.github.com/users/fle-internal/repos","events_url":"https://api.github.com/users/fle-internal/events{/privacy}","received_events_url":"https://api.github.com/users/fle-internal/received_events","type":"Organization","site_admin":false},"repo":{"id":16919131,"name":"ka-lite-central","full_name":"fle-internal/ka-lite-central","owner":{"login":"fle-internal","id":6564452,"avatar_url":"https://avatars.githubusercontent.com/u/6564452?v=3","gravatar_id":"","url":"https://api.github.com/users/fle-internal","html_url":"https://github.com/fle-internal","followers_url":"https://api.github.com/users/fle-internal/followers","following_url":"https://api.github.com/users/fle-internal/following{/other_user}","gists_url":"https://api.github.com/users/fle-internal/gists{/gist_id}","starred_url":"https://api.github.com/users/fle-internal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fle-internal/subscriptions","organizations_url":"https://api.github.com/users/fle-internal/orgs","repos_url":"https://api.github.com/users/fle-internal/repos","events_url":"https://api.github.com/users/fle-internal/events{/privacy}","received_events_url":"https://api.github.com/users/fle-internal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fle-internal/ka-lite-central","description":"KA Lite central server code (wraps the ka-lite repository and adds features)","fork":false,"url":"https://api.github.com/repos/fle-internal/ka-lite-central","forks_url":"https://api.github.com/repos/fle-internal/ka-lite-central/forks","keys_url":"https://api.github.com/repos/fle-internal/ka-lite-central/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fle-internal/ka-lite-central/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fle-internal/ka-lite-central/teams","hooks_url":"https://api.github.com/repos/fle-internal/ka-lite-central/hooks","issue_events_url":"https://api.github.com/repos/fle-internal/ka-lite-central/issues/events{/number}","events_url":"https://api.github.com/repos/fle-internal/ka-lite-central/events","assignees_url":"https://api.github.com/repos/fle-internal/ka-lite-central/assignees{/user}","branches_url":"https://api.github.com/repos/fle-internal/ka-lite-central/branches{/branch}","tags_url":"https://api.github.com/repos/fle-internal/ka-lite-central/tags","blobs_url":"https://api.github.com/repos/fle-internal/ka-lite-central/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fle-internal/ka-lite-central/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fle-internal/ka-lite-central/git/refs{/sha}","trees_url":"https://api.github.com/repos/fle-internal/ka-lite-central/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fle-internal/ka-lite-central/statuses/{sha}","languages_url":"https://api.github.com/repos/fle-internal/ka-lite-central/languages","stargazers_url":"https://api.github.com/repos/fle-internal/ka-lite-central/stargazers","contributors_url":"https://api.github.com/repos/fle-internal/ka-lite-central/contributors","subscribers_url":"https://api.github.com/repos/fle-internal/ka-lite-central/subscribers","subscription_url":"https://api.github.com/repos/fle-internal/ka-lite-central/subscription","commits_url":"https://api.github.com/repos/fle-internal/ka-lite-central/commits{/sha}","git_commits_url":"https://api.github.com/repos/fle-internal/ka-lite-central/git/commits{/sha}","comments_url":"https://api.github.com/repos/fle-internal/ka-lite-central/comments{/number}","issue_comment_url":"https://api.github.com/repos/fle-internal/ka-lite-central/issues/comments/{number}","contents_url":"https://api.github.com/repos/fle-internal/ka-lite-central/contents/{+path}","compare_url":"https://api.github.com/repos/fle-internal/ka-lite-central/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fle-internal/ka-lite-central/merges","archive_url":"https://api.github.com/repos/fle-internal/ka-lite-central/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fle-internal/ka-lite-central/downloads","issues_url":"https://api.github.com/repos/fle-internal/ka-lite-central/issues{/number}","pulls_url":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls{/number}","milestones_url":"https://api.github.com/repos/fle-internal/ka-lite-central/milestones{/number}","notifications_url":"https://api.github.com/repos/fle-internal/ka-lite-central/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fle-internal/ka-lite-central/labels{/name}","releases_url":"https://api.github.com/repos/fle-internal/ka-lite-central/releases{/id}","created_at":"2014-02-17T16:35:53Z","updated_at":"2015-02-02T18:19:43Z","pushed_at":"2015-02-02T23:55:55Z","git_url":"git://github.com/fle-internal/ka-lite-central.git","ssh_url":"git@github.com:fle-internal/ka-lite-central.git","clone_url":"https://github.com/fle-internal/ka-lite-central.git","svn_url":"https://github.com/fle-internal/ka-lite-central","homepage":"https://kalite.learningequality.org/","size":80800,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":36,"forks":19,"open_issues":36,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226"},"html":{"href":"https://github.com/fle-internal/ka-lite-central/pull/226"},"issue":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/issues/226"},"comments":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/fle-internal/ka-lite-central/statuses/6ac576d1e9e0f23fa8f8da058836aa474973ae75"}}}}