mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-04-11 05:28:12 +03:00
add reset settings option
This commit is contained in:
@@ -947,5 +947,14 @@
|
||||
},
|
||||
"openOptionsPage": {
|
||||
"message": "Open options page"
|
||||
},
|
||||
"resetToDefault": {
|
||||
"message": "Reset to default"
|
||||
},
|
||||
"confirmResetToDefault": {
|
||||
"message": "Are you sure you want to reset all settings to their default values? This cannot be undone."
|
||||
},
|
||||
"whatResetToDefault": {
|
||||
"message": "This resets all settings to their default values."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -368,6 +368,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-type="button-press" data-sync="resetToDefault" data-confirm-message="confirmResetToDefault">
|
||||
<div class="option-button trigger-button">
|
||||
__MSG_resetToDefault__
|
||||
</div>
|
||||
|
||||
<div class="small-description">__MSG_whatResetToDefault__</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="advanced" class="option-group hidden">
|
||||
|
||||
Reference in New Issue
Block a user