Added language support to setUsername. Fixed error messages not appearing. Reset error messages properly.

Resolves https://github.com/ajayyy/SponsorBlock/issues/111
This commit is contained in:
Ajay Ramachandran
2019-08-19 20:17:32 -04:00
parent 279e49a143
commit b1393a563f
4 changed files with 28 additions and 11 deletions

View File

@@ -268,7 +268,7 @@ class SkipNotice {
}
afterDownvote() {
this.addVoteButtonInfo(chrome.i18n.getMessage("Voted"));
this.addVoteButtonInfo(chrome.i18n.getMessage("voted"));
this.addNoticeInfoMessage(chrome.i18n.getMessage("hitGoBack"));
//remove this sponsor from the sponsors looked up