mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 12:06:31 +02:00
Moved i18n to extension module
This commit is contained in:
parent
d89bfe4cb0
commit
bab7d1496f
17 changed files with 101 additions and 85 deletions
|
@ -47,7 +47,7 @@
|
|||
actions.forEach(function(action, i){
|
||||
var button = document.createElement("button");
|
||||
button.className = action.name + " action";
|
||||
button.title = browser.i18n.getMessage(action.name);
|
||||
button.title = extension.getTranslation(action.name);
|
||||
if (action.isIcon || action.icon){
|
||||
button.classList.add("isIcon");
|
||||
var img = document.createElement("img");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue