cleanup obsolete code from old legend panel
added translations for QGIS.LayerOrderPanel