diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2022-03-03 10:46:33 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2022-03-03 10:47:46 +0100 |
commit | 877c79dc69125c2997bcf08f9b31ac66d1cb6341 (patch) | |
tree | 5c6c28797a8855c36d2d2337eb6b7fedf92813f3 | |
parent | 5ac27a55b0ef30f8e5cbf693584f5e68f6109927 (diff) | |
download | jgit-877c79dc69125c2997bcf08f9b31ac66d1cb6341.tar.gz jgit-877c79dc69125c2997bcf08f9b31ac66d1cb6341.zip |
Fix typos of some keys in LfsText
Change-Id: I86dee0b68e627e26cbd29976162bc7b953ebf276
4 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties b/org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties index fd0b98a72d..642b83db44 100644 --- a/org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties +++ b/org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties @@ -7,7 +7,7 @@ invalidLongId=Invalid id: {0} invalidLongIdLength=Invalid id length {0}; should be {1} lfsFailedToGetRepository=failed to get repository {0} lfsNoDownloadUrl="Need to download object from LFS server but couldn't determine LFS server URL" -lfsUnathorized=Not authorized to perform operation {0} on repository {1} +lfsUnauthorized=Not authorized to perform operation {0} on repository {1} lfsUnavailable=LFS is not available for repository {0} missingLocalObject="Local Object {0} is missing" protocolError=LFS Protocol Error {0}: {1} @@ -16,4 +16,4 @@ repositoryReadOnly=Repository {0} is read-only requiredHashFunctionNotAvailable=Required hash function {0} not available. serverFailure=When trying to open a connection to {0} the server responded with an error code. rc={1} userConfigInvalid="User config file {0} invalid {1}" -wrongAmoutOfDataReceived=While downloading data from the content server {0} {1} bytes have been received while {2} have been expected
\ No newline at end of file +wrongAmountOfDataReceived=While downloading data from the content server {0} {1} bytes have been received while {2} have been expected
\ No newline at end of file diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java index 3411887567..c26a1bfbb3 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java @@ -205,7 +205,7 @@ public class SmudgeFilter extends FilterCommand { long bytesCopied = Files.copy(contentIn, path); if (bytesCopied != o.size) { throw new IOException(MessageFormat.format( - LfsText.get().wrongAmoutOfDataReceived, + LfsText.get().wrongAmountOfDataReceived, contentServerConn.getURL(), Long.valueOf(bytesCopied), Long.valueOf(o.size))); diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/LfsUnauthorized.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/LfsUnauthorized.java index 36889db8a6..0dc6aeab29 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/LfsUnauthorized.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/LfsUnauthorized.java @@ -31,7 +31,7 @@ public class LfsUnauthorized extends LfsException { * the repository name. */ public LfsUnauthorized(String operation, String name) { - super(MessageFormat.format(LfsText.get().lfsUnathorized, operation, + super(MessageFormat.format(LfsText.get().lfsUnauthorized, operation, name)); } } diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsText.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsText.java index 469f80baf0..06234c1d90 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsText.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsText.java @@ -36,7 +36,7 @@ public class LfsText extends TranslationBundle { /***/ public String invalidLongIdLength; /***/ public String lfsFailedToGetRepository; /***/ public String lfsNoDownloadUrl; - /***/ public String lfsUnathorized; + /***/ public String lfsUnauthorized; /***/ public String lfsUnavailable; /***/ public String missingLocalObject; /***/ public String protocolError; @@ -45,5 +45,5 @@ public class LfsText extends TranslationBundle { /***/ public String requiredHashFunctionNotAvailable; /***/ public String serverFailure; /***/ public String userConfigInvalid; - /***/ public String wrongAmoutOfDataReceived; + /***/ public String wrongAmountOfDataReceived; } |