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

@ -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>