[banshee] Remove GetString around empty strings



commit 4fab9ec354f362ccc352337ff667a31078045337
Author: Claude Paroz <claude 2xlibre net>
Date:   Wed Jun 9 20:41:15 2010 +0200

    Remove GetString around empty strings
    
    Calling GetString around empty strings is not valid, and produce
    strange po files with source code references before the header.

 .../Banshee.InternetArchive/HomeSource.cs          |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/HomeSource.cs b/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/HomeSource.cs
index aecb87c..c439acf 100644
--- a/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/HomeSource.cs
+++ b/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/HomeSource.cs
@@ -119,13 +119,13 @@ namespace Banshee.InternetArchive
             pref_section = pref_page.Add (new Section ("mediatypes", Catalog.GetString ("Preferred Media Types"), 20));
 
             pref_section.Add (new SchemaPreference<string> (AudioTypes,
-                Catalog.GetString ("_Audio"), Catalog.GetString ("")));
+                Catalog.GetString ("_Audio"), ""));
 
             pref_section.Add (new SchemaPreference<string> (VideoTypes,
-                Catalog.GetString ("_Video"), Catalog.GetString ("")));
+                Catalog.GetString ("_Video"), ""));
 
             pref_section.Add (new SchemaPreference<string> (TextTypes,
-                Catalog.GetString ("_Text"), Catalog.GetString ("")));
+                Catalog.GetString ("_Text"), ""));
         }
 
         private void UninstallPreferences ()



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