fixed playlist texts

This commit is contained in:
Alexander Eckart committed 2013-05-20 21:01:46 +02:00
1 parent 1aeb84ffa2
commit 339e0b41f7
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -130,6 +130,7 @@
<string name="TR_SCREENSONG_ALLSONGS">All Songs</string>
<string name="TR_SCREENSONG_NUMSONGS">(%v Songs)</string>
<string name="TR_SCREENSONG_NUMSONG">(%v Song)</string>
<string name="TR_SCREENSONG_ARTIST_TITLE">%a - %t</string>
<string name="TR_SCREENSING_PAUSE">Pause</string>
<string name="TR_SCREENSING_BUTTON_CANCEL">Stop singing</string>
<string name="TR_SCREENSING_BUTTON_CONTINUE">Continue</string>
+1 -1
View File
@@ -1844,7 +1844,7 @@
<!--<Font>: Text font name-->
<Font>Outline</Font>
<!--<Text>: Nothing or translation tag-->
<Text />
<Text>TR_SCREENSONG_ARTIST_TITLE</Text>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
+1 -1
View File
@@ -1219,7 +1219,7 @@ namespace VocaluxeLib.Menu
CPlaylistElementContent pec = _PlaylistElementContents[Offset + i];
CSong song = CBase.Songs.GetSongByID(pec.SongID);
_PlaylistElements[i].Cover.Texture = song.CoverTextureSmall;
string t1 = _Theme.Text1.Text.Replace("%a", song.Artist).Replace("%t", song.Title);
string t1 = CBase.Language.Translate(_Theme.Text1.Text).Replace("%a", song.Artist).Replace("%t", song.Title);
_PlaylistElements[i].Text1.Text = /*(Offset + i + 1) + ") " + */ t1; //TODO: Add text field for the number
_PlaylistElements[i].SelectSlide.Clear();
for (int g = 0; g < pec.Modes.Length; g++)