diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 0ba715fe..3e7a3acf 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -19,7 +19,7 @@ "channelWhitelisted": { "message": "Channel Whitelisted!" }, - "Segment": { + "Segment": { "message": "segment" }, "Segments": { @@ -711,6 +711,10 @@ "help": { "message": "Help" }, + "GotIt": { + "message": "Got it", + "description": "Used as the button to dismiss a tooltip" + }, "experiementOptOut": { "message": "Opt-out of all future experiments", "description": "This is used in a popup about a new experiment to get a list of unlisted videos to back up since all unlisted videos uploaded before 2017 will be set to private." @@ -724,5 +728,74 @@ "voteRejectedWarning": { "message": "Vote rejected due to a warning. Click to open a chat to resolve it, or come back later when you have time.", "description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser." + }, + "Donate": { + "message": "Donate" + }, + "hideDonationLink": { + "message": "Hide Donation Link" + }, + "helpPageThanksForInstalling": { + "message": "Thanks for installing SponsorBlock." + }, + "helpPageReviewOptions": { + "message": "Please review the options below" + }, + "helpPageFeatureDisclaimer": { + "message": "Many features are disabled by default. If you want to skip intros, outros, use Invidious, etc., enable them below. You can also hide/show UI elements." + }, + "helpPageHowSkippingWorks": { + "message": "How skipping works" + }, + "helpPageHowSkippingWorks1": { + "message": "Video segments will automatically be skipped if they are found in the database. You can open the popup by clicking the extension icon to get a preview of what they are." + }, + "helpPageHowSkippingWorks2": { + "message": "Whenever you skip a segment, you will get notice. If the timing seems wrong vote down by clicking downvote! You can also vote in the popup." + }, + "Submitting": { + "message": "Submitting" + }, + "helpPageSubmitting1": { + "message": "Submitting can either be done in the popup by hitting the \"Segment Starts Now\" button or in the video player with the buttons on the player." + }, + "helpPageSubmitting2": { + "message": "Clicking the play button indicated the start of a segment and clicking the stop icon indicates the end. You can prepare multiple sponsors before hitting submit. Clicking the upload button will submit. Clicking the garbage can will delete." + }, + "Editing": { + "message": "Editing" + }, + "helpPageEditing1": { + "message": "If you messed up, you can edit or delete your segments after clicking the up arrow button." + }, + "helpPageTooSlow": { + "message": "This is too slow" + }, + "helpPageTooSlow1": { + "message": "There are hotkeys if you want to use them. Press the semicolon key to indicate the start/end of a sponsor segment and click the apostrophe to submit. These can be changed in the options. If you don't use QWERTY, you should probably change the keybinding." + }, + "helpPageCopyOfDatabase": { + "message": "Can I get a copy of the Database? What happens if you disappear?" + }, + "helpPageCopyOfDatabase1": { + "message": "The database is public and available at" + }, + "helpPageCopyOfDatabase2": { + "message": "The source code is freely available. So, even if something happens to me, your submissions are not lost." + }, + "helpPageNews": { + "message": "News and how it is made" + }, + "helpPageSourceCode": { + "message": "Where can I get the source code?" + }, + "Credits": { + "message": "Credits" + }, + "highlightNewFeature": { + "message": "New! Get to the point of the video with one click with the new highlight category" + }, + "LearnMore": { + "message": "Learn More" } } diff --git a/public/content.css b/public/content.css index 54e6cb85..b2e4b1e5 100644 --- a/public/content.css +++ b/public/content.css @@ -518,4 +518,25 @@ input::-webkit-inner-spin-button { bottom: 0px; display: block; margin: auto; +} + +.sponsorBlockTooltip { + position: absolute; + background-color: rgba(28, 28, 28, 0.7); + border-radius: 5px; + padding: 10px; + max-width: 300px; + white-space: normal; + line-height: 1.5em; +} + +.sponsorBlockTooltip::after { + content: " "; + position: absolute; + top: 100%; + left: 15%; + margin-left: -15px; + border-width: 15px; + border-style: solid; + border-color: rgba(28, 28, 28, 0.7) transparent transparent transparent; } \ No newline at end of file diff --git a/public/help/images/popup.png b/public/help/images/popup.png new file mode 100644 index 00000000..683ad183 Binary files /dev/null and b/public/help/images/popup.png differ diff --git a/public/help/images/voting on notice.gif b/public/help/images/voting on notice.gif new file mode 100644 index 00000000..f7190201 Binary files /dev/null and b/public/help/images/voting on notice.gif differ diff --git a/public/help/index_en.html b/public/help/index.html similarity index 66% rename from public/help/index_en.html rename to public/help/index.html index d6d8d762..31673ee8 100644 --- a/public/help/index_en.html +++ b/public/help/index.html @@ -5,6 +5,9 @@ + + +
@@ -14,90 +17,92 @@ SponsorBlock -Created By Ajay Ramachandran ![]()
+
+ Created By Ajay Ramachandran
+ (Donate)
+
- Thanks for installing SponsorBlock. By using this extension, you agree to the Privacy Policy and Terms of Use. + __MSG_helpPageThanksForInstalling__ By using this extension, you agree to the Privacy Policy and Terms of Use.
Come contribute, make some suggestions and help out on Discord or on Matrix.
-Please review the options below
+__MSG_helpPageReviewOptions__
- Many features are disabled by default. If you want to skip intros, outros, use Invidious, etc., enable them below. - You can also hide/show UI elements. + __MSG_helpPageFeatureDisclaimer__
-
-
+
- Video segments will automatically be skipped if they are found in the database. You can open the popup by clicking the extension icon to get a preview of what they are.
+ __MSG_helpPageHowSkippingWorks1__
- Whenever you skip a segment, you will get notice. If the timing seems wrong vote down by clicking downvote! You can also vote in the popup.
+ __MSG_helpPageHowSkippingWorks2__


- Submitting can either be done in the popup by hitting the "Segment Starts Now" button or in the video player with the buttons on the player.
+ __MSG_helpPageSubmitting1__
- Clicking the play button indicated the start of a segment and clicking the stop icon indicates the end. You can prepare multiple sponsors before hitting submit. Clicking the upload button will submit. Clicking the garbage can will delete.
+ __MSG_helpPageSubmitting2__
-
+
- If you messed up, you can edit or delete your segments in the popup or in the info menu (by hitting the info icon).
+ __MSG_helpPageEditing1__
- There are hotkeys if you want to use them. Press the semicolon key to indicate the start/end of a sponsor segment and click the apostrophe to submit. - These can be changed in the options. If you don't use QWERTY, you should probably change the keybinding. + __MSG_helpPageTooSlow1__
-- The database is public and available at https://sponsor.ajay.app/database. The source code is freely available. So, even if something happens to me, your submissions are not lost. + __MSG_helpPageCopyOfDatabase1__ https://sponsor.ajay.app/database. __MSG_helpPageCopyOfDatabase2__
-See https://sponsor.ajay.app/news.
-Thanks to all SponsorBlock contributors, diff --git a/public/help/styles.css b/public/help/styles.css index a7b8b9fd..2e392c2e 100644 --- a/public/help/styles.css +++ b/public/help/styles.css @@ -183,4 +183,8 @@ h1,h2,h3,h4,h5,h6 { svg { text-decoration: none; +} + +#sbDonate { + font-size: 10px; } \ No newline at end of file diff --git a/public/options/options.css b/public/options/options.css index e6dd3a01..708139ab 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -364,4 +364,8 @@ svg { background: none; border: none; +} + +#sbDonate { + font-size: 10px; } \ No newline at end of file diff --git a/public/options/options.html b/public/options/options.html index 90a2e51f..540b5122 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -19,7 +19,12 @@
__MSG_createdBy__ Ajay Ramachandran ![]()
+
+ __MSG_createdBy__
+ Ajay Ramachandran
+ (__MSG_Donate__)
+