[longomatch] Make sure to use the software name from Constants.



commit 85289a01c96ec33744f7bea8ac98f7c4584980e0
Author: Julien Moutte <julien fluendo com>
Date:   Thu Mar 19 15:01:33 2015 +0100

    Make sure to use the software name from Constants.
    
    Using hardcoded LongoMatch prohibits customisation of app name.

 LongoMatch.Plugins/SystemDashboards.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Plugins/SystemDashboards.cs b/LongoMatch.Plugins/SystemDashboards.cs
index 356e640..9de2e45 100644
--- a/LongoMatch.Plugins/SystemDashboards.cs
+++ b/LongoMatch.Plugins/SystemDashboards.cs
@@ -16,6 +16,7 @@
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 //
 using System;
+using LongoMatch.Core.Common;
 using LongoMatch.Addins.ExtensionPoints;
 using LongoMatch.Core.Store.Templates;
 using System.Collections.Generic;
@@ -29,13 +30,13 @@ namespace LongoMatch.Plugins
        {
                public string Name {
                        get {
-                               return Catalog.GetString ("LongoMatch default dashboard");
+                               return String.Format ("{0} {1}", Constants.SOFTWARE_NAME, Catalog.GetString 
("default dashboard"));
                        }
                }
 
                public string Description {
                        get {
-                               return Catalog.GetString ("LongoMatch default dashboard");
+                               return String.Format ("{0} {1}", Constants.SOFTWARE_NAME, Catalog.GetString 
("default dashboard"));
                        }
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]