mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
parent
9f242004c9
commit
970de1c093
@ -500,5 +500,22 @@
|
|||||||
"exportSettings_label": {
|
"exportSettings_label": {
|
||||||
"message": "Anzeigen",
|
"message": "Anzeigen",
|
||||||
"description": ""
|
"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": {
|
"exportSettings_label": {
|
||||||
"message": "Show",
|
"message": "Show",
|
||||||
"description": ""
|
"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(){
|
exportSettings: function(){
|
||||||
logging.verbose("open settings export");
|
logging.verbose("open settings export");
|
||||||
window.open("export.html", "_blank");
|
window.open("export.html", "_blank");
|
||||||
|
},
|
||||||
|
resetSettings: function(){
|
||||||
|
if (window.confirm(browser.i18n.getMessage("resetSettings_confirm"))){
|
||||||
|
browser.storage.local.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -263,6 +263,12 @@
|
|||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"displayAdvancedSettings": [true]
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "resetSettings",
|
||||||
|
"displayDependencies": {
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user