Change some terminology: Sync Folder -> Add Project
This commit is contained in:
parent
62b0bc2524
commit
c69e71989e
|
@ -295,7 +295,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
case PageType.Syncing: {
|
case PageType.Syncing: {
|
||||||
|
|
||||||
Header = "Syncing folder ‘" + Controller.SyncingFolder + "’…";
|
Header = "Adding project ‘" + Controller.SyncingFolder + "’…";
|
||||||
Description = "This may take a while.\n" +
|
Description = "This may take a while.\n" +
|
||||||
"Are you sure it’s not coffee o'clock?";
|
"Are you sure it’s not coffee o'clock?";
|
||||||
|
|
||||||
|
@ -357,8 +357,8 @@ namespace SparkleShare {
|
||||||
|
|
||||||
case PageType.Finished: {
|
case PageType.Finished: {
|
||||||
|
|
||||||
Header = "Folder synced succesfully!";
|
Header = "Project succesfully added!";
|
||||||
Description = "Now you can access the synced files from " +
|
Description = "Now you can access the files from " +
|
||||||
"‘" + Controller.SyncingFolder + "’ in " +
|
"‘" + Controller.SyncingFolder + "’ in " +
|
||||||
"your SparkleShare folder.";
|
"your SparkleShare folder.";
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,11 @@ namespace SparkleShare {
|
||||||
StatusItem = NSStatusBar.SystemStatusBar.CreateStatusItem (28);
|
StatusItem = NSStatusBar.SystemStatusBar.CreateStatusItem (28);
|
||||||
StatusItem.HighlightMode = true;
|
StatusItem.HighlightMode = true;
|
||||||
|
|
||||||
|
if (Controller.Folders.Length == 0)
|
||||||
|
StateText = _("Welcome to SparkleShare!");
|
||||||
|
else
|
||||||
StateText = _("Up to date") + " (" + Controller.FolderSize + ")";
|
StateText = _("Up to date") + " (" + Controller.FolderSize + ")";
|
||||||
|
|
||||||
CreateMenu ();
|
CreateMenu ();
|
||||||
|
|
||||||
Menu.Delegate = new SparkleStatusIconMenuDelegate ();
|
Menu.Delegate = new SparkleStatusIconMenuDelegate ();
|
||||||
|
@ -79,7 +83,7 @@ namespace SparkleShare {
|
||||||
case IconState.Idle:
|
case IconState.Idle:
|
||||||
|
|
||||||
Animation.Stop ();
|
Animation.Stop ();
|
||||||
|
Console.WriteLine (Controller.Folders.Length);
|
||||||
if (Controller.Folders.Length == 0)
|
if (Controller.Folders.Length == 0)
|
||||||
StateText = _("Welcome to SparkleShare!");
|
StateText = _("Welcome to SparkleShare!");
|
||||||
else
|
else
|
||||||
|
@ -179,7 +183,7 @@ namespace SparkleShare {
|
||||||
FolderMenuItems = new NSMenuItem [1];
|
FolderMenuItems = new NSMenuItem [1];
|
||||||
|
|
||||||
FolderMenuItems [0] = new NSMenuItem () {
|
FolderMenuItems [0] = new NSMenuItem () {
|
||||||
Title = "No Remote Folders Yet"
|
Title = "No projects yet"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
case PageType.Add: {
|
case PageType.Add: {
|
||||||
|
|
||||||
Header = _("Where is your remote folder?");
|
Header = _("Where is your project?");
|
||||||
|
|
||||||
Table = new Table (6, 2, false) {
|
Table = new Table (6, 2, false) {
|
||||||
RowSpacing = 0
|
RowSpacing = 0
|
||||||
|
@ -255,7 +255,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
|
|
||||||
// Sync button
|
// Sync button
|
||||||
SyncButton = new Button (_("Sync"));
|
SyncButton = new Button (_("Add"));
|
||||||
|
|
||||||
SyncButton.Clicked += delegate {
|
SyncButton.Clicked += delegate {
|
||||||
string server = ServerEntry.Text;
|
string server = ServerEntry.Text;
|
||||||
|
@ -283,7 +283,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
case PageType.Syncing: {
|
case PageType.Syncing: {
|
||||||
|
|
||||||
Header = String.Format (_("Syncing folder ‘{0}’…"), Controller.SyncingFolder);
|
Header = String.Format (_("Adding project ‘{0}’…"), Controller.SyncingFolder);
|
||||||
Description = _("This may take a while." + Environment.NewLine) +
|
Description = _("This may take a while." + Environment.NewLine) +
|
||||||
_("Are you sure it’s not coffee o'clock?");
|
_("Are you sure it’s not coffee o'clock?");
|
||||||
|
|
||||||
|
@ -395,8 +395,8 @@ namespace SparkleShare {
|
||||||
SparkleUI.Bubbles.Controller.ShowBubble (title, subtext, null);
|
SparkleUI.Bubbles.Controller.ShowBubble (title, subtext, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
Header = _("Folder synced successfully!");
|
Header = _("Project successfully added!");
|
||||||
Description = _("Access the synced 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
|
||||||
Button open_folder_button = new Button (_("Open Folder"));
|
Button open_folder_button = new Button (_("Open Folder"));
|
||||||
|
|
|
@ -71,6 +71,9 @@ namespace SparkleShare {
|
||||||
this.status_icon.Pixbuf = AnimationFrames [0];
|
this.status_icon.Pixbuf = AnimationFrames [0];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (Controller.Folders.Length == 0)
|
||||||
|
StateText = _("Welcome to SparkleShare!");
|
||||||
|
else
|
||||||
StateText = _("Up to date") + " (" + Controller.FolderSize + ")";
|
StateText = _("Up to date") + " (" + Controller.FolderSize + ")";
|
||||||
|
|
||||||
CreateMenu ();
|
CreateMenu ();
|
||||||
|
@ -222,7 +225,7 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
MenuItem no_folders_item = new MenuItem (_("No Remote Folders Yet")) {
|
MenuItem no_folders_item = new MenuItem (_("No projects yet")) {
|
||||||
Sensitive = false
|
Sensitive = false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -232,7 +235,7 @@ namespace SparkleShare {
|
||||||
Menu.Add (new SeparatorMenuItem ());
|
Menu.Add (new SeparatorMenuItem ());
|
||||||
|
|
||||||
// Opens the wizard to add a new remote folder
|
// Opens the wizard to add a new remote folder
|
||||||
MenuItem sync_item = new MenuItem (_("Add Remote Folder…"));
|
MenuItem sync_item = new MenuItem (_("Add Project…"));
|
||||||
|
|
||||||
if (Program.Controller.FirstRun)
|
if (Program.Controller.FirstRun)
|
||||||
sync_item.Sensitive = false;
|
sync_item.Sensitive = false;
|
||||||
|
|
Loading…
Reference in a new issue