mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-09 05:04:46 +01:00
Added translation to options page title.
This commit is contained in:
parent
7bf1b2e595
commit
ba0f25badc
@ -51,6 +51,10 @@
|
||||
"message": "Einstellungen",
|
||||
"description": ""
|
||||
},
|
||||
"options_title": {
|
||||
"message": "CanvasBlocker Einstellungen",
|
||||
"description": ""
|
||||
},
|
||||
"optionsIntroduction": {
|
||||
"message": "Auf dieser Seite können Sie die CanvasBlocker-Einstellungen anpassen.",
|
||||
"description": ""
|
||||
|
@ -56,6 +56,10 @@
|
||||
"message": "Settings",
|
||||
"description": ""
|
||||
},
|
||||
"options_title": {
|
||||
"message": "CanvasBlocker settings",
|
||||
"description": ""
|
||||
},
|
||||
"optionsIntroduction": {
|
||||
"message": "On this page you can adjust the settings of CanvasBlocker.",
|
||||
"description": ""
|
||||
|
@ -107,6 +107,7 @@
|
||||
}).then(function(tabId){
|
||||
return browser.tabs.get(tabId);
|
||||
}).then(function(tab){
|
||||
document.querySelector("head title").textContent = browser.i18n.getMessage("options_title");
|
||||
let head = document.createElement("header");
|
||||
document.body.insertBefore(head, document.body.firstChild);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user