mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Merge pull request #1715 from Blueberryy/master
Add notice time to translation file
This commit is contained in:
commit
68a6286af6
2 changed files with 5 additions and 1 deletions
|
@ -1235,5 +1235,9 @@
|
|||
},
|
||||
"allowScrollingToEdit": {
|
||||
"message": "Allow Scrolling To Edit Times"
|
||||
},
|
||||
"NoticeTimeAfterSkip": {
|
||||
"message": "{seconds}s",
|
||||
"description": "This is used on the popup to show how much time left. It will look like \"5s\". The word {seconds} will be replaced, so keep it here. Translations should only change the \"s\""
|
||||
}
|
||||
}
|
||||
|
|
|
@ -195,7 +195,7 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
|
|||
id={"skipNoticeTimerText" + this.idSuffix}
|
||||
key="skipNoticeTimerText"
|
||||
className={this.state.countdownMode !== CountdownMode.Timer ? "hidden" : ""} >
|
||||
{this.state.countdownTime + "s"}
|
||||
{chrome.i18n.getMessage("NoticeTimeAfterSkip").replace("{seconds}", this.state.countdownTime.toString())}
|
||||
</span>
|
||||
),(
|
||||
<img
|
||||
|
|
Loading…
Reference in a new issue