setup: include the correct folder name string in the success header message. Fixes #549
This commit is contained in:
parent
9fc61e30b5
commit
bbd245ac3c
|
@ -1,4 +1,5 @@
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
|
config \
|
||||||
AppDelegate.cs \
|
AppDelegate.cs \
|
||||||
Growl.framework \
|
Growl.framework \
|
||||||
Growl.plist \
|
Growl.plist \
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue