From 37972c42bff20ddd72a206f8e738cd60014e0e55 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 12 Jun 2010 18:03:15 +0100 Subject: [PATCH] make more strings transletable --- SparkleShare/SparkleRepo.cs | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/SparkleShare/SparkleRepo.cs b/SparkleShare/SparkleRepo.cs index bc6137bc..d10e1860 100644 --- a/SparkleShare/SparkleRepo.cs +++ b/SparkleShare/SparkleRepo.cs @@ -286,11 +286,16 @@ namespace SparkleShare { Process.WaitForExit (); Process.Start (); - ShowEventBubble ("A mid-air collision happened!\n" + - "SparkleShare made a copy of your file.", - SparkleHelpers.GetIcon - ("folder-sparkleshare", 48), - true); + string ConflictTitle = "A mid-air collision happened!\n"; + string ConflictSubtext = + @"Don't worry, SparkleShare made\n + a copies of the conflicting files."; + + SparkleBubble ConflictBubble = + new SparkleBubble(_(ConflictTitle), _(ConflictSubtext)); + + ConflictBubble.Show (); + } } @@ -459,8 +464,8 @@ namespace SparkleShare { } // Shows a notification with text and image - public void ShowEventBubble (string Title, - Gdk.Pixbuf Avatar, + public void ShowEventBubble (string Title, + Gdk.Pixbuf Avatar, bool ShowButtons) { SparkleBubble StuffChangedBubble = new SparkleBubble (Title, "");