Skip to content

Commit

Permalink
Merge pull request #2017 from michaelcresswell/livetv-channel-name
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Nov 8, 2024
2 parents 2429a57 + dae7677 commit 033428b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/data/ChannelData.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json
m.top.id = json.id
m.top.title = json.name
if isValid(json.number)
m.top.title = `${tr("CH")} ${json.number} ${json.name}`
else
m.top.title = json.name
end if
m.top.live = true
m.top.Type = "TvChannel"
setPoster()
Expand Down
5 changes: 5 additions & 0 deletions locale/en_US/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1371,5 +1371,10 @@
<translation>Special</translation>
<extracomment>Special episode of a TV Show</extracomment>
</message>
<message>
<source>CH</source>
<translation>CH</translation>
<extracomment>Abbreviation for Channel</extracomment>
</message>
</context>
</TS>

0 comments on commit 033428b

Please sign in to comment.