diff --git a/.eslintrc.js b/.eslintrc.js index 96035c76..622e66ad 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,6 +21,7 @@ module.exports = { }, plugins: ["react", "@typescript-eslint"], rules: { + '@typescript-eslint/no-unused-vars': 'error', // TODO: Remove warn rules when not needed anymore "no-self-assign": "off", "@typescript-eslint/no-empty-interface": "off", diff --git a/manifest/manifest.json b/manifest/manifest.json index 2bf69841..734d6a15 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_fullName__", "short_name": "SponsorBlock", - "version": "4.4.2", + "version": "4.4.3", "default_locale": "en", "description": "__MSG_Description__", "homepage_url": "https://sponsor.ajay.app", diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index c2782048..ef9f325d 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -101,7 +101,7 @@ "message": "It seems the server is down. Contact the dev immediately." }, "connectionError": { - "message": "A connection error has occured. Error code: " + "message": "A connection error has occurred. Error code: " }, "clearTimes": { "message": "Clear Segments" @@ -356,7 +356,7 @@ "message": "Show Time With Skips Removed" }, "showTimeWithSkipsDescription": { - "message": "This time appears in brackets next to the current time on below the seekbar. This shows the total video duration minus any segments. This includes segments marked as only \"Show In Seekbar\"." + "message": "This time appears in brackets next to the current time on below the Seek Bar. This shows the total video duration minus any segments. This includes segments marked as only \"Show In Seek Bar\"." }, "youHaveSkipped": { "message": "You've skipped " @@ -410,7 +410,7 @@ "message": "Supported Sites: " }, "optionsInfo": { - "message": "Enable Invidious support, disable autoskip, hide buttons and more." + "message": "Enable Invidious support, disable auto skip, hide buttons and more." }, "addInvidiousInstance": { "message": "Add 3rd-Party Client Instance" @@ -499,7 +499,7 @@ "incorrectlyFormattedOptions": { "message": "This JSON is not formatted correctly. Your options have not been changed." }, - "confirmNoticeTitle" : { + "confirmNoticeTitle": { "message": "Submit Segment" }, "submit": { @@ -947,5 +947,11 @@ }, "openOptionsPage": { "message": "Open options page" + }, + "resetToDefault": { + "message": "Reset settings to default" + }, + "confirmResetToDefault": { + "message": "Are you sure you want to reset all settings to their default values? This cannot be undone." } } diff --git a/public/_locales/sv/messages.json b/public/_locales/sv/messages.json index 37ab100e..0b8e4e06 100644 --- a/public/_locales/sv/messages.json +++ b/public/_locales/sv/messages.json @@ -186,7 +186,7 @@ "message": "Detta döljer knapparna på YouTube-spelaren som du kan skicka in segment med som ska hoppas över." }, "showSkipButton": { - "message": "Behåll knappen hoppa till markerat på spelaren" + "message": "Behåll knappen hoppa till höjdpunkt på spelaren" }, "showInfoButton": { "message": "Visa Infoknapp På YouTube-spelaren" @@ -613,7 +613,7 @@ "message": "Icke-musik" }, "category_poi_highlight": { - "message": "Markera" + "message": "Höjdpunkt" }, "category_poi_highlight_description": { "message": "Den del av videon som de flesta letar efter. Liknande kommentarer \"Video börjar på x\"." diff --git a/public/options/options.html b/public/options/options.html index 4f2bd730..e23be2ab 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -368,6 +368,12 @@ +
+
+ __MSG_resetToDefault__ +
+
+