Replace temporary error msg placeholders with the real ones