«Please wait...» spinner text is untranslatable on admin pages (and my fix)

localization
bug

(Dmitry Fedyuk) #1

See the code:

The widget mage.loader calls the translator:

loaderText: $.mage.__('Please wait...'),

But the translator dictionary is not loaded yet at this poing and the translator call is useless.

Github Issue: 2003