diff --git a/SparkleShare/SparkleAbout.cs b/SparkleShare/SparkleAbout.cs index c8ba3224..7bdad222 100755 --- a/SparkleShare/SparkleAbout.cs +++ b/SparkleShare/SparkleAbout.cs @@ -16,18 +16,21 @@ using System; + using Gtk; +using Mono.Unix; namespace SparkleShare { public class SparkleAbout : Window { public SparkleAboutController Controller = new SparkleAboutController (); + private Label updates; // Short alias for the translations - public static string _(string s) + public static string _ (string s) { return Catalog.GetString (s); } @@ -77,7 +80,7 @@ namespace SparkleShare { Controller.NewVersionEvent += delegate (string new_version) { Application.Invoke (delegate { this.updates.Markup = String.Format ("{0}", - String.Format (_("A newer version ({0}) is available!"), new_version)); + String.Format ("A newer version ({0}) is available!", new_version)); this.updates.ShowAll (); }); @@ -86,7 +89,7 @@ namespace SparkleShare { Controller.VersionUpToDateEvent += delegate { Application.Invoke (delegate { this.updates.Markup = String.Format ("{0}", - _("You are running the latest version.")); + "You are running the latest version."); this.updates.ShowAll (); }); @@ -95,7 +98,7 @@ namespace SparkleShare { Controller.CheckingForNewVersionEvent += delegate { Application.Invoke (delegate { this.updates.Markup = String.Format ("{0}", - _("Checking for updates...")); + "Checking for updates..."); this.updates.ShowAll (); }); @@ -115,7 +118,7 @@ namespace SparkleShare { this.updates = new Label () { Markup = "" + - _("Checking for updates...") + + "Checking for updates..." + "", Xalign = 0, Xpad = 300