aboutsummaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-09-16 22:41:39 -0400
committerAjay <[email protected]>2022-09-16 22:41:39 -0400
commit4804c7f43974087e42d61913222d5ef9711b087d (patch)
treeeee0ab2c9b0479388732f35c4584b3df2eeab084 /public
parent47f685bcdda19a14957a388ca6c27832173128da (diff)
downloadSponsorBlock-4804c7f43974087e42d61913222d5ef9711b087d.tar.gz
SponsorBlock-4804c7f43974087e42d61913222d5ef9711b087d.zip
Add option to show categories you don't have permission to submit
Diffstat (limited to 'public')
-rw-r--r--public/_locales/en/messages.json6
-rw-r--r--public/options/options.html14
2 files changed, 20 insertions, 0 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json
index 3984695f..8863c703 100644
--- a/public/_locales/en/messages.json
+++ b/public/_locales/en/messages.json
@@ -246,6 +246,12 @@
"whatRefetchWhenNotFound": {
"message": "If the video is new, and there are no segments found, it will keep refetching every few minutes while you watch."
},
+ "enableShowCategoryWithoutPermission": {
+ "message": "Show categories in submission menu even without submission permission"
+ },
+ "whatShowCategoryWithoutPermission": {
+ "message": "Some categories require permission to submit due to minimum reputation requirements"
+ },
"showNotice": {
"message": "Show Notice Again"
},
diff --git a/public/options/options.html b/public/options/options.html
index 31a60cb1..91112941 100644
--- a/public/options/options.html
+++ b/public/options/options.html
@@ -141,6 +141,20 @@
<div class="small-description">__MSG_whatRefetchWhenNotFound__</div>
</div>
+ <div data-type="toggle" data-sync="showCategoryWithoutPermission">
+ <div class="switch-container">
+ <label class="switch">
+ <input id="showCategoryWithoutPermission" type="checkbox" checked>
+ <span class="slider round"></span>
+ </label>
+ <label class="switch-label" for="showCategoryWithoutPermission">
+ __MSG_enableShowCategoryWithoutPermission__
+ </label>
+ </div>
+
+ <div class="small-description">__MSG_whatShowCategoryWithoutPermission__</div>
+ </div>
+
</div>
<div id="interface" class="option-group hidden">