diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2016-08-18 15:58:43 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2016-08-20 11:24:45 +0900 |
commit | 0a86b03eb413271d736ae44529811a3e162a8ee1 (patch) | |
tree | 3f5805776c409498bc5831997ce3f7c125657014 /org.eclipse.jgit.lfs/resources/org/eclipse/jgit | |
parent | 1bea0227e7481ae9a75f0b2824d99d7c5f53570a (diff) | |
download | jgit-0a86b03eb413271d736ae44529811a3e162a8ee1.tar.gz jgit-0a86b03eb413271d736ae44529811a3e162a8ee1.zip |
LfsRepository{NotFound,ReadOnly}: Externalize message strings
Instead of hard-coding the message strings, define them in a properties
file. This will allow them to be translated.
Change-Id: I77556881579e66b2c13d187759c7efdddfee87ae
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.lfs/resources/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties | 4 |
1 files changed, 3 insertions, 1 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 700e2d50d0..1c1bbed0e2 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 @@ -1,4 +1,6 @@ incorrectLONG_OBJECT_ID_LENGTH=Incorrect LONG_OBJECT_ID_LENGTH. invalidLongId=Invalid id: {0} invalidLongIdLength=Invalid id length {0}; should be {1} -requiredHashFunctionNotAvailable=Required hash function {0} not available.
\ No newline at end of file +requiredHashFunctionNotAvailable=Required hash function {0} not available. +repositoryNotFound=Repository {0} not found +repositoryReadOnly=Repository {0} is read-only
\ No newline at end of file |