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 = \
config \
AppDelegate.cs \
Growl.framework \
Growl.plist \

View file

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

View file

@ -441,13 +441,14 @@ namespace SparkleShare {
UrgencyHint = true;
if (!HasToplevelFocus) {
string title = String.Format (_("{0} has been successfully added"), Controller.SyncingFolder);
string title = _("Project successfully added!");
string subtext = "";
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.");
// A button that opens the synced folder