From 339e0b41f781092c4c2106b2fd533de200ddd2b7 Mon Sep 17 00:00:00 2001 From: Alexander Eckart Date: Mon, 20 May 2013 21:01:46 +0200 Subject: [PATCH] fixed playlist texts --- Output/Languages/English.xml | 1 + Output/Themes/Ambient/Screens/ScreenSong.xml | 2 +- VocaluxeLib/Menu/CPlaylist.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Output/Languages/English.xml b/Output/Languages/English.xml index 50888f4f..91959371 100644 --- a/Output/Languages/English.xml +++ b/Output/Languages/English.xml @@ -130,6 +130,7 @@ All Songs (%v Songs) (%v Song) + %a - %t Pause Stop singing Continue diff --git a/Output/Themes/Ambient/Screens/ScreenSong.xml b/Output/Themes/Ambient/Screens/ScreenSong.xml index 194f7518..b23661d3 100644 --- a/Output/Themes/Ambient/Screens/ScreenSong.xml +++ b/Output/Themes/Ambient/Screens/ScreenSong.xml @@ -1844,7 +1844,7 @@ Outline - + TR_SCREENSONG_ARTIST_TITLE diff --git a/VocaluxeLib/Menu/CPlaylist.cs b/VocaluxeLib/Menu/CPlaylist.cs index cdb49cbd..33af9c65 100644 --- a/VocaluxeLib/Menu/CPlaylist.cs +++ b/VocaluxeLib/Menu/CPlaylist.cs @@ -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++)