)]}'
{"horizon/utils/lazy_encoder.py":[{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"6e38c4964df3560d33a25a1d60bbfd211642195d","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class LazyTranslationEncoder(DjangoJSONEncoder):"},{"line_number":21,"context_line":"    \"\"\"Json encoder that resolves lazy objects like translations\"\"\""},{"line_number":22,"context_line":"    def default(self, obj):"},{"line_number":23,"context_line":"        if isinstance(obj, Promise):"},{"line_number":24,"context_line":"            return force_text(obj)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_f9974c38","line":21,"updated":"2016-01-16 18:07:49.000000000","message":"JSON should be all caps","commit_id":"11a3cce9a1a44530e99fabd31a058ba6aa8ca32f"}],"openstack_dashboard/dashboards/project/network_topology/views.py":[{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"6d09603b14514a5329690aa75bd0c8968a91db3f","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"# Translations for the status of ports,nets,subnets,routers,servers"},{"line_number":67,"context_line":"trans \u003d {"},{"line_number":68,"context_line":"    \"SHUTOFF\": _(\"SHUTOFF\"),"},{"line_number":69,"context_line":"    \"BUILD\": _(\"BUILD\"),"},{"line_number":70,"context_line":"    \"ACTIVE\": _(\"ACTIVE\"),"}],"source_content_type":"text/x-python","patch_set":2,"id":"da6ed579_3a1bc482","line":67,"updated":"2016-01-15 14:17:54.000000000","message":"Don\u0027t redefine status translations here. These should all already exist on the respective page. For example:\n\nrouter ports:\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/routers/ports/tables.py#L93\n\nnetwork ports:\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/ports/tables.py#L54\n\nnetworks:\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/tables.py#L149\n\nservers:\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/tables.py#L1001","commit_id":"b9fd33bfceb8465a7d21d0b3e07dc02c2e3df2d4"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"a6cb7f5fa80cde17c6d3c744eb5bfbd9db1f6770","unresolved":false,"context_lines":[{"line_number":72,"context_line":"# turn translation tuples into dict for easy access"},{"line_number":73,"context_line":"display_choices \u003d dict(instance_choices)"},{"line_number":74,"context_line":"display_choices.update(dict(network_choices))"},{"line_number":75,"context_line":"display_choices.update(dict(network_display_choices))"},{"line_number":76,"context_line":"# and turn all the keys into Uppercase for simple access"},{"line_number":77,"context_line":"display_choices \u003d {k.upper(): v for k, v in display_choices.iteritems()}"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_eff1d56b","line":75,"updated":"2016-01-15 20:28:08.000000000","message":"It\u0027s always been my understanding that we needed to maintain separate translations for single words because based on the context they might translate differently based on what the word in being used to describe. \n\nFor the tables we have separate translations for the router states vs the network states. We\u0027ve intentionally included context to make them distinct in usage even though they have the same ids (UP, DOWN, etc).\n\nMy point is I don\u0027t think you should slam together lists for different objects into a single dict. Theoretically there could be different translations for UP for networks, ports, routers, etc.\n\nCan you keep different lists for states of\n1) instances\n2) networks + their ports\n3) routers + their ports\n\nthis will ensure an exact match to what\u0027s in the tables.","commit_id":"11a3cce9a1a44530e99fabd31a058ba6aa8ca32f"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"a6cb7f5fa80cde17c6d3c744eb5bfbd9db1f6770","unresolved":false,"context_lines":[{"line_number":74,"context_line":"display_choices.update(dict(network_choices))"},{"line_number":75,"context_line":"display_choices.update(dict(network_display_choices))"},{"line_number":76,"context_line":"# and turn all the keys into Uppercase for simple access"},{"line_number":77,"context_line":"display_choices \u003d {k.upper(): v for k, v in display_choices.iteritems()}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"class NTAddInterfaceView(p_views.AddInterfaceView):"}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_2f5e0d13","line":77,"updated":"2016-01-15 20:28:08.000000000","message":"You\u0027ll need to use six.iteritems for compatibility here","commit_id":"11a3cce9a1a44530e99fabd31a058ba6aa8ca32f"}]}
