tenfourfox/toolkit/components/extensions/ext-i18n.js
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

12 lines
239 B
JavaScript

"use strict";
extensions.registerAPI((extension, context) => {
return {
i18n: {
getMessage: function(messageName, substitutions) {
return extension.localizeMessage(messageName, substitutions);
},
},
};
});