[OpenStack-I18n] [Bug 1670638] [NEW] zanata_stat.py does not work with new Zanata (3.9.6)

Launchpad Bug Tracker 1670638 at bugs.launchpad.net
Tue Mar 7 10:50:59 UTC 2017


You have been subscribed to a public bug:

Zanata 3.9.6 changes the format of translation stats.

The new format is like:

    {                                                                                                                                                                                                     
        "username": "amotoki",                                                                                                                                                                            
        "contributions": [                                                                                                                                                                                
            {                                                                                                                                                                                             
                "locale": "ja",                                                                                                                                                                           
                "translation-stats": {                                                                                                                                                                    
                    "translated": 7360,                                                                                                                                                                   
                    "needReview": 0,                                                                                                                                                                      
                    "approved": 152,                                                                                                                                                                      
                    "rejected": 0                                                                                                                                                                         
                },                                                                                                                                                                                        
                "review-stats": {                                                                                                                                                                         
                    "approved": 220,                                                                                                                                                                      
                    "rejected": 0                                                                                                                                                                         
                }                                                                                                                                                                                         
            }                                                                                                                                                                                             
        ]                                                                                                                                                                                                 
    }                                                                                                                                                                                                     

Previously, the format was:

  {"amotoki":
    [
      {"ja":
          {"translated": 10,
            "approved": 0,
            "rejected": 0
           }
      }
    ]
  }

** Affects: openstack-i18n
     Importance: Undecided
     Assignee: Akihiro Motoki (amotoki)
         Status: New

-- 
zanata_stat.py does not work with new Zanata (3.9.6)
https://bugs.launchpad.net/bugs/1670638
You received this bug notification because you are a member of OpenStack I18n Core Team, which is subscribed to openstack i18n.



More information about the OpenStack-I18n mailing list