Add new text to translations

This commit is contained in:
1hitsong 2022-12-30 22:45:58 -05:00
parent fb090d6575
commit cbf49f43f4
2 changed files with 30 additions and 6 deletions

View File

@ -373,9 +373,9 @@ end sub
'
'Set Selected Artist Song Count
sub SetSongCount(totalCount)
appendText = " Songs"
appendText = " " + tr("Songs")
if totalCount = 1
appendText = " Song"
appendText = " " + tr("Song")
end if
m.selectedArtistSongCount.text = totalCount.tostr() + appendText
@ -383,9 +383,9 @@ end sub
'
'Set Selected Artist Album Count
sub SetAlbumCount(totalCount)
appendText = " Albums"
appendText = " " + tr("Albums")
if totalCount = 1
appendText = " Album"
appendText = " " + tr("Album")
end if
m.selectedArtistAlbumCount.text = totalCount.tostr() + appendText

View File

@ -494,7 +494,7 @@
<translation>Playback</translation>
<extracomment>Title for Playback section in user setting screen.</extracomment>
</message>
<message>
<source>Codec Support</source>
<translation>Codec Support</translation>
@ -515,7 +515,7 @@
<translation>Support Direct Play of MPEG-2 content (e.g., Live TV). This will prevent transcoding of MPEG-2 content, but uses significantly more bandwidth.</translation>
<extracomment>Settings Menu - Description for option</extracomment>
</message>
<message>
<message>
<source>MPEG-4</source>
<translation>MPEG-4</translation>
<extracomment>Name of codec used in settings menu</extracomment>
@ -973,5 +973,29 @@
<source>Resumable</source>
<translation>Resumable</translation>
</message>
<message>
<source>Artists (Presentation)</source>
<translation>Artists (Presentation)</translation>
</message>
<message>
<source>Artists (Grid)</source>
<translation>Artists (Grid)</translation>
</message>
<message>
<source>Song</source>
<translation>Song</translation>
</message>
<message>
<source>Songs</source>
<translation>Songs</translation>
</message>
<message>
<source>Album</source>
<translation>Album</translation>
</message>
<message>
<source>Albums</source>
<translation>Albums</translation>
</message>
</context>
</TS>