Optimize the looping on open editors in the translate page

Change-Id: Id53f7ebe47969f952aa3f3a7dac78121ef723ddf