diff options
author | Ajay <[email protected]> | 2022-05-31 02:55:32 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2022-05-31 02:55:32 -0400 |
commit | fd75a33e507b1da283b2b52cc026bb17475a4ea2 (patch) | |
tree | 312bfe3f5a48e64ab83c286c49fa5338e8d39f96 | |
parent | 1409c563e2dab13ea2f57718251a40f8e1bf7850 (diff) | |
download | SponsorBlock-fd75a33e507b1da283b2b52cc026bb17475a4ea2.tar.gz SponsorBlock-fd75a33e507b1da283b2b52cc026bb17475a4ea2.zip |
Use full details instead of learn more
-rw-r--r-- | public/_locales/en/messages.json | 5 | ||||
-rw-r--r-- | src/components/SubmissionNoticeComponent.tsx | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index d1d8fe03..22710212 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -945,7 +945,10 @@ "LearnMore": { "message": "Learn More" }, - "CopyDownvoteButtonInfo": { + "FullDetails": { + "message": "Full Details" + }, + "CopyDownvoteButtonInfo": { "message": "Downvotes and creates a local copy for you to resubmit" }, "OpenCategoryWikiPage": { diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx index 64146822..65d50025 100644 --- a/src/components/SubmissionNoticeComponent.tsx +++ b/src/components/SubmissionNoticeComponent.tsx @@ -206,7 +206,7 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S title: chrome.i18n.getMessage(`category_${category}`), textBoxes: getGuidelineInfo(category), buttons: [{ - name: chrome.i18n.getMessage("learnMore"), + name: chrome.i18n.getMessage("FullDetails"), listener: () => window.open(CompileConfig.wikiLinks[category]) }, { |