diff options
author | Ajay <[email protected]> | 2023-09-24 19:01:41 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2023-09-24 19:01:41 -0400 |
commit | 3eb853154ffb50cb9156ae9bb91c9f5420b1aa25 (patch) | |
tree | 3383f7d4a75dd5e0883da7930c9eef88d1342b8c | |
parent | ee3ce8aa4624ed7f3d8a1f27332a3fe97685c825 (diff) | |
download | SponsorBlock-3eb853154ffb50cb9156ae9bb91c9f5420b1aa25.tar.gz SponsorBlock-3eb853154ffb50cb9156ae9bb91c9f5420b1aa25.zip |
Remove unnecessary translation string
m--------- | public/_locales | 0 | ||||
-rw-r--r-- | public/options/options.html | 2 | ||||
-rw-r--r-- | src/options.ts | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/public/_locales b/public/_locales -Subproject f85b7b926e33a41a47c91a5ae1d5e1415fc1ef6 +Subproject f0c6515881c65a0f5bee9317d1ac22717985776 diff --git a/public/options/options.html b/public/options/options.html index e99ad571..8f1f6b47 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -415,7 +415,7 @@ </div> <div data-type="keybind-change" data-sync="skipToHighlightKeybind"> - <label class="optionLabel">__MSG_setSkipToHighlightShortcut__:</label> + <label class="optionLabel">__MSG_skip_to_category__:</label> <div class="inline"></div> </div> diff --git a/src/options.ts b/src/options.ts index 8f89ecde..965c9840 100644 --- a/src/options.ts +++ b/src/options.ts @@ -85,6 +85,9 @@ async function init() { }); } + const skipToHighlightKeybind = document.querySelector(`[data-sync="skipToHighlightKeybind"] .optionLabel`) as HTMLElement; + skipToHighlightKeybind.innerText = `${chrome.i18n.getMessage("skip_to_category").replace("{0}", chrome.i18n.getMessage("category_poi_highlight")).replace("?", "")}:`; + // Set all of the toggle options to the correct option const optionsContainer = document.getElementById("options"); const optionsElements = optionsContainer.querySelectorAll("*"); |