diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs
index afb484e2..ac015148 100644
--- a/SparkleLib/Git/SparkleFetcherGit.cs
+++ b/SparkleLib/Git/SparkleFetcherGit.cs
@@ -105,7 +105,7 @@ namespace SparkleLib {
config = config.Replace ("fetch = +refs/heads/*:refs/remotes/origin/*",
"fetch = +refs/heads/*:refs/remotes/origin/*" + Environment.NewLine +
"\tfetch = +refs/notes/*:refs/notes/*");
-Console.WriteLine (">>>>>>>>>>>>>>>" + config);
+
// Add user info
string n = Environment.NewLine;
XmlDocument xml = new XmlDocument();
diff --git a/SparkleShare/Mac/SparkleShare.csproj b/SparkleShare/Mac/SparkleShare.csproj
index 8041e08f..f912ab3e 100644
--- a/SparkleShare/Mac/SparkleShare.csproj
+++ b/SparkleShare/Mac/SparkleShare.csproj
@@ -96,6 +96,81 @@
+
+ Translations\ar.po
+
+
+ Translations\bg.po
+
+
+ Translations\ca.po
+
+
+ Translations\cs_CZ.po
+
+
+ Translations\da.po
+
+
+ Translations\de.po
+
+
+ Translations\el.po
+
+
+ Translations\eo.po
+
+
+ Translations\es.po
+
+
+ Translations\fi.po
+
+
+ Translations\fr.po
+
+
+ Translations\he.po
+
+
+ Translations\hu.po
+
+
+ Translations\it.po
+
+
+ Translations\ja.po
+
+
+ Translations\nl.po
+
+
+ Translations\no_NO.po
+
+
+ Translations\pl.po
+
+
+ Translations\pt_BR.po
+
+
+ Translations\ru.po
+
+
+ Translations\sv.po
+
+
+ Translations\te.po
+
+
+ Translations\uk.po
+
+
+ Translations\zh_CN.po
+
+
+ Translations\zh_TW.po
+
@@ -170,12 +245,10 @@
Pixmaps\document-moved-12.png
-
- HTML\jquery.js
-
+
diff --git a/SparkleShare/Mac/SparkleUI.cs b/SparkleShare/Mac/SparkleUI.cs
index c2fc2026..00160581 100644
--- a/SparkleShare/Mac/SparkleUI.cs
+++ b/SparkleShare/Mac/SparkleUI.cs
@@ -21,6 +21,7 @@ using System.Drawing;
using System.IO;
using System.Timers;
+using Mono.Unix;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
@@ -71,6 +72,11 @@ namespace SparkleShare {
Dlfcn.dlopen (growl_path, 0);
NSApplication.Init ();
+ // Use translations
+ Catalog.Init ("sparkleshare",
+ Path.Combine (NSBundle.MainBundle.ResourcePath, "Translations"));
+
+
using (NSAutoreleasePool pool = new NSAutoreleasePool ()) {
// Needed for Growl
diff --git a/SparkleShare/SparkleShare.cs b/SparkleShare/SparkleShare.cs
index bb7ce5a4..0002e2d8 100644
--- a/SparkleShare/SparkleShare.cs
+++ b/SparkleShare/SparkleShare.cs
@@ -45,9 +45,6 @@ namespace SparkleShare {
public static void Main (string [] args)
{
- // Use translations
- Catalog.Init (Defines.GETTEXT_PACKAGE, Defines.LOCALE_DIR);
-
// Don't allow running as root on Linux or Mac
if ((SparkleBackend.Platform == PlatformID.Unix ||
SparkleBackend.Platform == PlatformID.MacOSX) &&
diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs
index 8123b7f4..60494f7b 100644
--- a/SparkleShare/SparkleUI.cs
+++ b/SparkleShare/SparkleUI.cs
@@ -49,6 +49,9 @@ namespace SparkleShare {
// Initialize the application
Application.Init ();
+ // Use translations
+ Catalog.Init (Defines.GETTEXT_PACKAGE, Defines.LOCALE_DIR);
+
// Create the statusicon
StatusIcon = new SparkleStatusIcon ();