/* Cluster pages - shared helpers Used by Cluster Settings (cluster.html), Cluster Info (clusterinfo.html) and Cluster Jobs (jobs.html). Everything lives on the CL object: CL.init(callback) load ../locale/cluster.json, translate the static page, then call callback (also called when the locale cannot be loaded) CL.t(key, fallback) a UI string in the viewer's language CL.tr(message) a message that came back from the server, translated when the locale knows it CL.state(name) a node / job / copy state label Server messages are matched two ways. "msg/" entries translate a fixed message. "msgp/