setup: include the correct folder name string in the success header message. Fixes #549

This commit is contained in:
Hylke Bons 2012-01-23 17:30:26 +00:00
parent 9fc61e30b5
commit bbd245ac3c
3 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,5 @@
EXTRA_DIST = \ EXTRA_DIST = \
config \
AppDelegate.cs \ AppDelegate.cs \
Growl.framework \ Growl.framework \
Growl.plist \ Growl.plist \

View file

@ -462,10 +462,9 @@ namespace SparkleShare {
case PageType.Finished: { case PageType.Finished: {
Header = "Project succesfully added!"; Header = "Project " + Path.GetFileName (Controller.PreviousPath) +
Description = "Now you can access the files from " + " succesfully added!";
"" + Controller.SyncingFolder + " in " + Description = "Access the files from your SparkleShare folder.";
"your SparkleShare folder.";
if (warnings != null) { if (warnings != null) {
WarningImage = NSImage.ImageNamed ("NSCaution"); WarningImage = NSImage.ImageNamed ("NSCaution");

View file

@ -441,13 +441,14 @@ namespace SparkleShare {
UrgencyHint = true; UrgencyHint = true;
if (!HasToplevelFocus) { if (!HasToplevelFocus) {
string title = String.Format (_("{0} has been successfully added"), Controller.SyncingFolder); string title = _("Project successfully added!");
string subtext = ""; string subtext = "";
SparkleUI.Bubbles.Controller.ShowBubble (title, subtext, null); SparkleUI.Bubbles.Controller.ShowBubble (title, subtext, null);
} }
Header = _("Project successfully added!"); Header = _("Project " + Path.GetFileName (Controller.PreviousPath) +
" successfully added!");
Description = _("Access the files from your SparkleShare folder."); Description = _("Access the files from your SparkleShare folder.");
// A button that opens the synced folder // A button that opens the synced folder