)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"7787328ee984fe7a8cfda3674f25e641c1ba845c","unresolved":false,"context_lines":[{"line_number":17,"context_line":"- alter the existing unit tests to make them more stringent in"},{"line_number":18,"context_line":"  checking some cases"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: Ice933f560d17af8b7f17f31981d3935c67019355"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3a50d1a3_a3b09c44","line":20,"updated":"2015-07-21 00:21:22.000000000","message":"link to bp as well: blueprint angular-translate-makemessages","commit_id":"8258a50f7cc93f034d739c8cfa1e4da2e3404e67"}],"horizon/test/tests/utils.py":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"bcb3a932dc9ad6c4ee02fec23640a29f86431dbb","unresolved":false,"context_lines":[{"line_number":705,"context_line":"                (2, u\u0027gettext\u0027, \u0027hello world1\u0027, []),"},{"line_number":706,"context_line":"                (3, u\u0027gettext\u0027, \u0027hello world2\u0027, []),"},{"line_number":707,"context_line":"                (4, u\u0027gettext\u0027, \u0027hello world3\u0027, []),"},{"line_number":708,"context_line":"                (4, u\u0027gettext\u0027, \u0027hello world4\u0027, []),"},{"line_number":709,"context_line":"            ],"},{"line_number":710,"context_line":"            messages)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a41bdd9_1ac38dee","line":708,"updated":"2015-07-15 03:48:29.000000000","message":"is the number here correct?","commit_id":"bb11e045ca7717bdbfd7054943f1df711fe93f84"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"cf61e71b6a96ed0d52ce9b624bacd59cb8d67d60","unresolved":false,"context_lines":[{"line_number":705,"context_line":"                (2, u\u0027gettext\u0027, \u0027hello world1\u0027, []),"},{"line_number":706,"context_line":"                (3, u\u0027gettext\u0027, \u0027hello world2\u0027, []),"},{"line_number":707,"context_line":"                (4, u\u0027gettext\u0027, \u0027hello world3\u0027, []),"},{"line_number":708,"context_line":"                (4, u\u0027gettext\u0027, \u0027hello world4\u0027, []),"},{"line_number":709,"context_line":"            ],"},{"line_number":710,"context_line":"            messages)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a41bdd9_e53deedd","line":708,"in_reply_to":"9a41bdd9_1ac38dee","updated":"2015-07-15 04:30:18.000000000","message":"The line number is the number from the start of the tag (a limitation of HTMLParser).","commit_id":"bb11e045ca7717bdbfd7054943f1df711fe93f84"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1e3a551d4957f37d828c3183432c9a723bc40490","unresolved":false,"context_lines":[{"line_number":691,"context_line":"        buf \u003d StringIO("},{"line_number":692,"context_line":"            \"\"\""},{"line_number":693,"context_line":"            \u003cimg alt\u003d\"{$ \u0027hello world1\u0027 | translate $}\"\u003e"},{"line_number":694,"context_line":"            \u003cimg alt\u003d\"{$\u0027hello world2\u0027|translate$}\"\u003e"},{"line_number":695,"context_line":"            \u003cimg alt\u003d\"something {$\u0027hello world3\u0027|translate$} something"},{"line_number":696,"context_line":"            {$\u0027hello world4\u0027|translate$}\"\u003e"},{"line_number":697,"context_line":"            \u003cimg alt\u003d\"{$expr()|translate$}\"\u003e"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_4378b88f","line":694,"updated":"2015-07-21 00:20:08.000000000","message":"need to test for chained filters","commit_id":"8258a50f7cc93f034d739c8cfa1e4da2e3404e67"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"096fc82a0b7ab0d42b3507a62d6d00f3db7c7e74","unresolved":false,"context_lines":[{"line_number":529,"context_line":"        messages \u003d list(extract_angular(buf, default_keys, [], {}))"},{"line_number":530,"context_line":"        self.assertEqual("},{"line_number":531,"context_line":"            ["},{"line_number":532,"context_line":"                (1, u\u0027gettext\u0027, \u0027hello %(func(name))1\u0027, []),"},{"line_number":533,"context_line":"                (2, u\u0027gettext\u0027, \u0027hello %(func(name))2\u0027, [])"},{"line_number":534,"context_line":"            ],"},{"line_number":535,"context_line":"            messages)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a50d1a3_7c016a37","line":532,"updated":"2015-07-22 15:34:41.000000000","message":"I\u0027d expect this test to fail once you rebase on the new patch that removes the interpolate customization.","commit_id":"e3dcf2525d7654d87180bbad6f8c5ebe483d557f"}],"horizon/utils/babel_extract_angular.py":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"bcb3a932dc9ad6c4ee02fec23640a29f86431dbb","unresolved":false,"context_lines":[{"line_number":31,"context_line":"class AngularGettextHTMLParser(html_parser.HTMLParser):"},{"line_number":32,"context_line":"    \"\"\"Parse HTML to find translate directives."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    Currently this parses for two forms of translation:"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    \u003ctranslate\u003econtent\u003c/translate\u003e"},{"line_number":37,"context_line":"        The content will be translated. Angular value templating will be"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a41bdd9_9a5d5d49","line":34,"updated":"2015-07-15 03:48:29.000000000","message":"three forms of translation?","commit_id":"bb11e045ca7717bdbfd7054943f1df711fe93f84"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"9a1d4988838e31d9b4d5ec9d047ff361db68aa9c","unresolved":false,"context_lines":[{"line_number":31,"context_line":"class AngularGettextHTMLParser(html_parser.HTMLParser):"},{"line_number":32,"context_line":"    \"\"\"Parse HTML to find translate directives."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    Currently this parses for two forms of translation:"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    \u003ctranslate\u003econtent\u003c/translate\u003e"},{"line_number":37,"context_line":"        The content will be translated. Angular value templating will be"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a41bdd9_3b719776","line":34,"in_reply_to":"9a41bdd9_051a527d","updated":"2015-07-15 14:45:28.000000000","message":"I\u0027d just change it to Currently this parses for the following forms of translation: \n\nThis way you won\u0027t hit that nitpick again.","commit_id":"bb11e045ca7717bdbfd7054943f1df711fe93f84"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"cf61e71b6a96ed0d52ce9b624bacd59cb8d67d60","unresolved":false,"context_lines":[{"line_number":31,"context_line":"class AngularGettextHTMLParser(html_parser.HTMLParser):"},{"line_number":32,"context_line":"    \"\"\"Parse HTML to find translate directives."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    Currently this parses for two forms of translation:"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    \u003ctranslate\u003econtent\u003c/translate\u003e"},{"line_number":37,"context_line":"        The content will be translated. Angular value templating will be"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a41bdd9_051a527d","line":34,"in_reply_to":"9a41bdd9_9a5d5d49","updated":"2015-07-15 04:30:18.000000000","message":"Heh, nice catch. Will fix :)","commit_id":"bb11e045ca7717bdbfd7054943f1df711fe93f84"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"9a1d4988838e31d9b4d5ec9d047ff361db68aa9c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    \u003cp translate\u003econtent\u003c/p\u003e"},{"line_number":41,"context_line":"        The content will be translated. As above."},{"line_number":42,"context_line":"    {$ \u0027content\u0027 | translate $}"},{"line_number":43,"context_line":"        The string will be translated, minus expression handling."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    Note: This will not cope with nested tags (which I don\u0027t think make any"},{"line_number":46,"context_line":"    sense)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a41bdd9_7b287f33","line":43,"updated":"2015-07-15 14:45:28.000000000","message":"An example of the minus expression handling part of the statement couldn\u0027t hurt... but I suppose people can always go to the tests for examples.  So no worries if you don\u0027t add it.","commit_id":"bb11e045ca7717bdbfd7054943f1df711fe93f84"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1e3a551d4957f37d828c3183432c9a723bc40490","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# regex to find filter translation expressions"},{"line_number":21,"context_line":"filter_regex \u003d re.compile("},{"line_number":22,"context_line":"    r\"\"\"{\\$\\s*[\u0027\"]([\\w\\.\\s]+)[\"\u0027]\\s*\\|\\s*translate\\s*\\$}\"\"\""},{"line_number":23,"context_line":")"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_481c5777","line":22,"updated":"2015-07-21 00:20:08.000000000","message":"doesn\u0027t play nice with other filters. for example: \u0027HELLO\u0027 | lowercase | translate","commit_id":"8258a50f7cc93f034d739c8cfa1e4da2e3404e67"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1e3a551d4957f37d828c3183432c9a723bc40490","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                        self.comments.append(value)"},{"line_number":77,"context_line":"        else:"},{"line_number":78,"context_line":"            for attr in attrs:"},{"line_number":79,"context_line":"                if not attr[1]:"},{"line_number":80,"context_line":"                    continue"},{"line_number":81,"context_line":"                for match in filter_regex.findall(attr[1]):"},{"line_number":82,"context_line":"                    if match:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_035b902f","line":79,"updated":"2015-07-21 00:20:08.000000000","message":"if statement can be combine into for loop?","commit_id":"8258a50f7cc93f034d739c8cfa1e4da2e3404e67"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"e7a5fd87753213ac8991cd2f04f857f97ed5c25d","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# regex to find filter translation expressions"},{"line_number":21,"context_line":"filter_regex \u003d re.compile("},{"line_number":22,"context_line":"    r\"\"\"{\\$\\s*[\u0027\"]([\\w\\.\\s]+)[\"\u0027]\\s*\\|\\s*translate\\s*\\$}\"\"\""},{"line_number":23,"context_line":")"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"3a50d1a3_2e57e526","line":22,"updated":"2015-07-23 16:02:07.000000000","message":"This will fail miserably on strings containing \"\u0027\" in them, like \"it\u0027s\". You probably want something more like:\n\n    ([\u0027]([^\u0027]|\\\\\u0027)*[\u0027]|[\"]([^\"]|\\\\\")*[\"])\n\nfor matching strings, and the strip the first and last character.","commit_id":"71d74257fd8163fe759aded6731fba6217c12506"}]}
