Git commits in Moodle 3.8.1 by Frédéric Massart

commit f130c810f903d078b4cc1b8f2961248ebf8e3e8d
Author: Frédéric Massart <fred@branchup.tech>
Date:   Tue, 03 Dec 2019 13:03:43 +0800
Tag:    v3.8.1

MDL-67434 javascript: Use static get_string after recycling promise