aboutsummaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-02-06 21:03:39 -0500
committerAjay <[email protected]>2022-02-06 21:03:39 -0500
commite4ba67999ccc137ffd51e3ee2eec6fad458814aa (patch)
tree31f9b78bd930886d62bb671189bf5ae3dc2dc4c6 /public
parent0b6ade4a1d9c547fdc475387e7a581fa8a3f5415 (diff)
downloadSponsorBlock-e4ba67999ccc137ffd51e3ee2eec6fad458814aa.tar.gz
SponsorBlock-e4ba67999ccc137ffd51e3ee2eec6fad458814aa.zip
Add segment hiding in popup
Diffstat (limited to 'public')
-rw-r--r--public/_locales/en/messages.json3
-rw-r--r--public/icons/not_visible.svg39
-rw-r--r--public/icons/visible.svg1
3 files changed, 43 insertions, 0 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json
index 147069f9..1f1c7a72 100644
--- a/public/_locales/en/messages.json
+++ b/public/_locales/en/messages.json
@@ -701,6 +701,9 @@
"hiddenDueToDuration": {
"message": "hidden: too short"
},
+ "manuallyHidden": {
+ "message": "manually hidden"
+ },
"channelDataNotFound": {
"description": "This error appears in an alert when they try to whitelist a channel and the extension is unable to determine what channel they are looking at.",
"message": "Channel ID is not loaded yet. If you are using an embedded video, try using the YouTube homepage instead. This could also be caused by changes in the YouTube layout, if you think so, make a comment here:"
diff --git a/public/icons/not_visible.svg b/public/icons/not_visible.svg
new file mode 100644
index 00000000..7101dad1
--- /dev/null
+++ b/public/icons/not_visible.svg
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ height="24px"
+ viewBox="0 0 24 24"
+ width="24px"
+ fill="#000000"
+ version="1.1"
+ id="svg6"
+ sodipodi:docname="not_visible.svg"
+ inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs10" />
+ <sodipodi:namedview
+ id="namedview8"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ showgrid="false"
+ inkscape:zoom="16.458334"
+ inkscape:cx="3.8582278"
+ inkscape:cy="9.1443037"
+ inkscape:window-width="1920"
+ inkscape:window-height="983"
+ inkscape:window-x="426"
+ inkscape:window-y="768"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg6" />
+ <path
+ d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"
+ id="path4"
+ style="fill:#ffffff" />
+</svg>
diff --git a/public/icons/visible.svg b/public/icons/visible.svg
new file mode 100644
index 00000000..1f1beccc
--- /dev/null
+++ b/public/icons/visible.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg> \ No newline at end of file