mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-30 23:38:47 +01:00
parent
9f242004c9
commit
970de1c093
@ -500,5 +500,22 @@
|
||||
"exportSettings_label": {
|
||||
"message": "Anzeigen",
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"resetSettings_title": {
|
||||
"message": "Einstellungen zurücksetzen",
|
||||
"description": ""
|
||||
},
|
||||
"resetSettings_description": {
|
||||
"message": "",
|
||||
"description": ""
|
||||
},
|
||||
"resetSettings_label": {
|
||||
"message": "Zurücksetzen",
|
||||
"description": ""
|
||||
},
|
||||
"resetSettings_confirm": {
|
||||
"message": "Sind Sie sicher, dass Sie alle Einstellungen zurücksetzen wollen?",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
|
@ -504,5 +504,22 @@
|
||||
"exportSettings_label": {
|
||||
"message": "Show",
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"resetSettings_title": {
|
||||
"message": "Reset settings",
|
||||
"description": ""
|
||||
},
|
||||
"resetSettings_description": {
|
||||
"message": "",
|
||||
"description": ""
|
||||
},
|
||||
"resetSettings_label": {
|
||||
"message": "Reset",
|
||||
"description": ""
|
||||
},
|
||||
"resetSettings_confirm": {
|
||||
"message": "Are you sure you want to reset all settings?",
|
||||
"description": ""
|
||||
}
|
||||
}
|
@ -26,6 +26,11 @@
|
||||
exportSettings: function(){
|
||||
logging.verbose("open settings export");
|
||||
window.open("export.html", "_blank");
|
||||
},
|
||||
resetSettings: function(){
|
||||
if (window.confirm(browser.i18n.getMessage("resetSettings_confirm"))){
|
||||
browser.storage.local.clear();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -263,6 +263,12 @@
|
||||
"displayDependencies": {
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "resetSettings",
|
||||
"displayDependencies": {
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user