[longomatch] Add tags in the Plays description
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch] Add tags in the Plays description
- Date: Mon, 28 Dec 2009 03:13:55 +0000 (UTC)
commit d75875ebd54e0d9c81ab4257ef8a5b5c1000573e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Dec 28 00:21:26 2009 +0100
Add tags in the Plays description
LongoMatch/Time/MediaTimeNode.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Time/MediaTimeNode.cs b/LongoMatch/Time/MediaTimeNode.cs
index 9af8b84..fbe641f 100644
--- a/LongoMatch/Time/MediaTimeNode.cs
+++ b/LongoMatch/Time/MediaTimeNode.cs
@@ -347,10 +347,15 @@ namespace LongoMatch.TimeNodes
public override string ToString ()
{
+ String[] tags = new String[tagsList.Count];
+ for (int i=0; i<tagsList.Count; i++)
+ tags[i] = tagsList[i].Text;
+
return "<b>"+Catalog.GetString("Name")+": </b>"+Name+"\n"+
"<b>"+Catalog.GetString("Team")+": </b>"+Team.ToString().ToLower()+"\n"+
"<b>"+Catalog.GetString("Start")+": </b>"+Start.ToMSecondsString()+"\n"+
- "<b>"+Catalog.GetString("Stop")+": </b>"+Stop.ToMSecondsString();
+ "<b>"+Catalog.GetString("Stop")+": </b>"+Stop.ToMSecondsString()+"\n"+
+ "<b>"+Catalog.GetString("Tags")+": </b>"+ String.Join(" ; ", tags);
}
#endregion
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]