Skip to content

Commit

Permalink
Add localization for channel abbreviation string
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Cresswell committed Nov 6, 2024
1 parent 572cce8 commit dae7677
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/data/ChannelData.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sub setFields()
json = m.top.json
m.top.id = json.id
if isValid(json.number)
m.top.title = `CH ${json.number} ${json.name}`
m.top.title = `${tr("CH")} ${json.number} ${json.name}`
else
m.top.title = json.name
end if
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 dae7677

Please sign in to comment.