1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00
Files
browser/src/services/i18nService.js

11 lines
264 B
JavaScript

function i18nService() {
return new Proxy({}, {
get: function (target, name) {
return chrome.i18n.getMessage(name);
},
set: function (target, name, value) {
throw 'set not allowed for i18n';
}
});
};