From f5463f98ba6f7df083ca2039dfcd4f2572bcbd8d Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Fri, 23 Nov 2012 10:08:50 +0000 Subject: [PATCH] repo: fix typo --- SparkleLib/Git/SparkleRepoGit.cs | 4 ++-- SparkleLib/SparkleRepoBase.cs | 2 +- SparkleShare/SparkleStatusIconController.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index dba5d292..e427bc1e 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -670,9 +670,9 @@ namespace SparkleLib.Git { Error = ErrorStatus.AuthenticationFailed; } else if (line.StartsWith ("error: Disk space exceeded")) { - Error = ErrorStatus.DiskSpaceExcedeed; + Error = ErrorStatus.DiskSpaceExceeded; - } else if (line.EndsWithWith ("does not appear to be a git repository")) { + } else if (line.EndsWith ("does not appear to be a git repository")) { Error = ErrorStatus.NotFound; } diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index bb6a2187..39c70dff 100755 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -37,7 +37,7 @@ namespace SparkleLib { HostUnreachable, HostIdentityChanged, AuthenticationFailed, - DiskSpaceExcedeed, + DiskSpaceExceeded, LockedFiles, NotFound } diff --git a/SparkleShare/SparkleStatusIconController.cs b/SparkleShare/SparkleStatusIconController.cs index f594d4dc..e208cc0d 100755 --- a/SparkleShare/SparkleStatusIconController.cs +++ b/SparkleShare/SparkleStatusIconController.cs @@ -270,14 +270,14 @@ namespace SparkleShare { } else if (repo.Error == ErrorStatus.AuthenticationFailed) { FolderErrors [i] = "Authentication failed"; - } else if (repo.Error == ErrorStatus.DiskSpaceExcedeed) { + } else if (repo.Error == ErrorStatus.DiskSpaceExceeded) { FolderErrors [i] = "Host is out of disk space"; } else if (repo.Error == ErrorStatus.LockedFiles) { FolderErrors [i] = "Some local files are locked or in use"; } else if (repo.Error == ErrorStatus.NotFound) { - FolderErrors [i] = "No such project found"; + FolderErrors [i] = "Project doesn't exist on host"; } else { FolderErrors [i] = "";