mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
11 lines
264 B
JavaScript
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';
|
|
}
|
|
});
|
|
};
|