2016-04-08 14:49:50 -04:00
|
|
|
(function() {
|
|
|
|
I18n.messageFormat = function(key, options) {
|
|
|
|
var fn = I18n._compiledMFs[key];
|
|
|
|
if (fn) {
|
|
|
|
try {
|
|
|
|
return fn(options);
|
2020-05-07 10:37:02 -04:00
|
|
|
} catch (err) {
|
2016-04-08 14:49:50 -04:00
|
|
|
return err.message;
|
|
|
|
}
|
|
|
|
} else {
|
2020-05-07 10:37:02 -04:00
|
|
|
return "Missing Key: " + key;
|
2016-04-08 14:49:50 -04:00
|
|
|
}
|
|
|
|
};
|
|
|
|
})();
|