)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"890dd19edfab80e6a101b2b63b3e581b3c1e37c7","unresolved":false,"context_lines":[{"line_number":16,"context_line":"  when a translation is done. So this patch remove the process of"},{"line_number":17,"context_line":"  removing white spaces when extracting messages from html files,"},{"line_number":18,"context_line":"  even though it may be annoying for translators again.."},{"line_number":19,"context_line":"  If there is better way to address this issue, please teach me."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- remove li tag"},{"line_number":22,"context_line":"  Flow context is not allowed to write to inner phrasing content,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bacf61ea_7b7b9528","line":19,"updated":"2016-08-01 08:19:40.000000000","message":"From the i18n liaison perspective, bug 1592656 (trimming multi lines) is a minor issue compared to this bug (bug 1606837). If there is no workaround, you can revert the fix introducing the trimming.\n\nI think bug 1606837 comes from the fact that message extraction is done by babel but message translation is done by angular-gettext. The same logic is not used?\n\nIf you revert it, you should revert it in a patch and should apply the workaround below in another patch.","commit_id":"9be1f2ac764d02a6ff74a51b759832581abc2da2"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"adfb69d33f99a9b91e3a07c9ac70f278c0d6d174","unresolved":false,"context_lines":[{"line_number":16,"context_line":"  when a translation is done. So this patch remove the process of"},{"line_number":17,"context_line":"  removing white spaces when extracting messages from html files,"},{"line_number":18,"context_line":"  even though it may be annoying for translators again.."},{"line_number":19,"context_line":"  If there is better way to address this issue, please teach me."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- remove li tag"},{"line_number":22,"context_line":"  Flow context is not allowed to write to inner phrasing content,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bacf61ea_8628ade3","line":19,"in_reply_to":"bacf61ea_7b7b9528","updated":"2016-08-01 09:33:54.000000000","message":"As far as I see, the logic is different.\nPerhaps, angular-gettext uses the result of elem.html() as a the msgid.\nhttps://github.com/rubenv/angular-gettext/blob/master/dist/angular-gettext.js#L446","commit_id":"9be1f2ac764d02a6ff74a51b759832581abc2da2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"890dd19edfab80e6a101b2b63b3e581b3c1e37c7","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  even though it may be annoying for translators again.."},{"line_number":19,"context_line":"  If there is better way to address this issue, please teach me."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- remove li tag"},{"line_number":22,"context_line":"  Flow context is not allowed to write to inner phrasing content,"},{"line_number":23,"context_line":"  so this patch remove it. Actually, at the moment untranslation is"},{"line_number":24,"context_line":"  occurred by a incorrect value of .html()."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bacf61ea_dbd9e123","line":21,"range":{"start_line":21,"start_character":2,"end_line":21,"end_character":15},"updated":"2016-08-01 08:19:40.000000000","message":"This seems another problem. Is it related to bug 1561558?\n\nAnyway, It is better to be fixed in a separate patch.","commit_id":"9be1f2ac764d02a6ff74a51b759832581abc2da2"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"adfb69d33f99a9b91e3a07c9ac70f278c0d6d174","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  even though it may be annoying for translators again.."},{"line_number":19,"context_line":"  If there is better way to address this issue, please teach me."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- remove li tag"},{"line_number":22,"context_line":"  Flow context is not allowed to write to inner phrasing content,"},{"line_number":23,"context_line":"  so this patch remove it. Actually, at the moment untranslation is"},{"line_number":24,"context_line":"  occurred by a incorrect value of .html()."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bacf61ea_a6b4d134","line":21,"range":{"start_line":21,"start_character":2,"end_line":21,"end_character":15},"in_reply_to":"bacf61ea_dbd9e123","updated":"2016-08-01 09:33:54.000000000","message":"You seem right. I\u0027ll separate this patch and add related-bug to the commit message.","commit_id":"9be1f2ac764d02a6ff74a51b759832581abc2da2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"890dd19edfab80e6a101b2b63b3e581b3c1e37c7","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  so this patch remove it. Actually, at the moment untranslation is"},{"line_number":24,"context_line":"  occurred by a incorrect value of .html()."},{"line_number":25,"context_line":"    \u003cp\u003e\u003cli\u003eyyy\u003c/li\u003e\u003c/p\u003e -\u003e elem.html() // value is \u0027\u0027"},{"line_number":26,"context_line":"    \u003cp\u003e\u003cli\u003eyyy\u003c/li\u003exxx\u003c/p\u003e -\u003e elem.html() // value is \u0027xxx\u0027"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Change-Id: Ib7dea924b28e1aa4c2a05425363f85db1ef5192d"},{"line_number":29,"context_line":"Closes-Bug: #1606837"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bacf61ea_b5a87c78","line":26,"updated":"2016-08-01 08:19:40.000000000","message":"Regarding the second point, IMHO it is a bug of the extraction logic of angular-gettext(?).\n\nThe working around is temporarily okay but it should be documented.","commit_id":"9be1f2ac764d02a6ff74a51b759832581abc2da2"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"adfb69d33f99a9b91e3a07c9ac70f278c0d6d174","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  so this patch remove it. Actually, at the moment untranslation is"},{"line_number":24,"context_line":"  occurred by a incorrect value of .html()."},{"line_number":25,"context_line":"    \u003cp\u003e\u003cli\u003eyyy\u003c/li\u003e\u003c/p\u003e -\u003e elem.html() // value is \u0027\u0027"},{"line_number":26,"context_line":"    \u003cp\u003e\u003cli\u003eyyy\u003c/li\u003exxx\u003c/p\u003e -\u003e elem.html() // value is \u0027xxx\u0027"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Change-Id: Ib7dea924b28e1aa4c2a05425363f85db1ef5192d"},{"line_number":29,"context_line":"Closes-Bug: #1606837"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bacf61ea_e6d9a958","line":26,"in_reply_to":"bacf61ea_b5a87c78","updated":"2016-08-01 09:33:54.000000000","message":"No, generally it seems like a spec. I confirmed below.\n\ntest.html\n  \u003cp\u003e\u003cli\u003eyyy\u003c/li\u003exxx\u003c/p\u003e\n\nhtml rendered in browser\n  \u003cp\u003e\u003c/p\u003e\u003cli\u003eyyy\u003c/li\u003e\u003cp\u003e\u003c/p\u003e\n\nSo, it looks like natural that the result of element.html() is \u0027\u0027.","commit_id":"9be1f2ac764d02a6ff74a51b759832581abc2da2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1eef5b4f2a5ac875daca1dcfdd27c005e2b88e8a","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Fix the issue that strings written with multi line in a html file are not translated"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In https://bugs.launchpad.net/horizon/+bug/1592965,"},{"line_number":10,"context_line":"extracted messages are stored with trimming. Because of this change,"},{"line_number":11,"context_line":"some strings like written with multi line won\u0027t be translated."},{"line_number":12,"context_line":"This change cause the difference between the real strings in html"},{"line_number":13,"context_line":"and a key in pot, from the view point of extra spaces and break lines."},{"line_number":14,"context_line":"And it seems to be difficult to remove extra spaces and \u0027break lines\u0027"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"bacf61ea_c040c609","line":11,"range":{"start_line":10,"start_character":45,"end_line":11,"end_character":62},"updated":"2016-08-01 11:08:13.000000000","message":"-\u003e After this change, strings with multi lines cannot be translated.","commit_id":"44125168faf19e1ede747382d1c6bb824bf5ac66"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1eef5b4f2a5ac875daca1dcfdd27c005e2b88e8a","unresolved":false,"context_lines":[{"line_number":11,"context_line":"some strings like written with multi line won\u0027t be translated."},{"line_number":12,"context_line":"This change cause the difference between the real strings in html"},{"line_number":13,"context_line":"and a key in pot, from the view point of extra spaces and break lines."},{"line_number":14,"context_line":"And it seems to be difficult to remove extra spaces and \u0027break lines\u0027"},{"line_number":15,"context_line":"when a translation is done. So this patch remove the process of removing"},{"line_number":16,"context_line":"white spaces when extracting messages from html files, even though it may"},{"line_number":17,"context_line":"be annoying for translators again (The comment from the i18n perspective"},{"line_number":18,"context_line":"is Akihiro\u0027s comment in patch 3)."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"bacf61ea_4076963e","line":15,"range":{"start_line":14,"start_character":0,"end_line":15,"end_character":27},"updated":"2016-08-01 11:08:13.000000000","message":"I think it is better to describe why it is difficult (as we discussed in the comments in the previous patch set). For example,\n\n message extraction is done by babel (with horizon specific extractor),\n but translation message lookup is done by angular-gettext.\n As a result, a key used in translation lookup becomes different from\n a key generated by the message extraction.\n Keys in both steps should be same.\n So this patch reverts the corresponding commit to make translation\n work, even though .....","commit_id":"44125168faf19e1ede747382d1c6bb824bf5ac66"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1eef5b4f2a5ac875daca1dcfdd27c005e2b88e8a","unresolved":false,"context_lines":[{"line_number":14,"context_line":"And it seems to be difficult to remove extra spaces and \u0027break lines\u0027"},{"line_number":15,"context_line":"when a translation is done. So this patch remove the process of removing"},{"line_number":16,"context_line":"white spaces when extracting messages from html files, even though it may"},{"line_number":17,"context_line":"be annoying for translators again (The comment from the i18n perspective"},{"line_number":18,"context_line":"is Akihiro\u0027s comment in patch 3)."},{"line_number":19,"context_line":"If there is better way to address this issue, please teach me."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: Ib7dea924b28e1aa4c2a05425363f85db1ef5192d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"bacf61ea_60bc7abb","line":18,"range":{"start_line":17,"start_character":35,"end_line":18,"end_character":31},"updated":"2016-08-01 11:08:13.000000000","message":"-\u003e Regarding the comment from i18n perspective, see Akihiro\u0027s comment in patch set 3.","commit_id":"44125168faf19e1ede747382d1c6bb824bf5ac66"}],"openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.help.html":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1eef5b4f2a5ac875daca1dcfdd27c005e2b88e8a","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  \u003cp translate\u003e\u003cli\u003e\u003cb\u003eImage (with Create New Volume checked)\u003c/b\u003e: This options uses an image to boot the instance, and creates a new volume to persist instance data. You can specify volume size and whether to delete the volume on deletion of the instance.\u003c/li\u003e\u003c/p\u003e"},{"line_number":7,"context_line":"  \u003cp translate\u003e\u003cli\u003e\u003cb\u003eVolume\u003c/b\u003e: This option uses a volume that already exists. It does not create a new volume. You can choose to delete the volume on deletion of the instance. \u003cem\u003eNote: when selecting Volume, you can only launch one instance.\u003c/em\u003e\u003c/li\u003e\u003c/p\u003e"},{"line_number":8,"context_line":"  \u003cp translate\u003e\u003cli\u003e\u003cb\u003eVolume Snapshot\u003c/b\u003e: This option uses a volume snapshot to boot the instance, and creates a new volume to persist instance data. You can choose to delete the volume on deletion of the instance.\u003c/li\u003e\u003c/p\u003e"},{"line_number":9,"context_line":"\u003c/div\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"bacf61ea_20b44233","line":9,"updated":"2016-08-01 11:08:13.000000000","message":"unrelated","commit_id":"44125168faf19e1ede747382d1c6bb824bf5ac66"}]}
