diff options
| author | Sasa Zivkov | 2011-01-26 17:20:13 +0000 |
|---|---|---|
| committer | Chris Aniszczyk | 2011-01-26 17:33:52 +0000 |
| commit | 990498b75d3d3955b629a48e5f39dd09bc7a3116 (patch) | |
| tree | 5070224e6f660742968d698ef3883487993c1fad | |
| parent | c4c8d80fd3a32cace67e7e42650aae7c46dcc622 (diff) | |
| download | jgit-990498b75d3d3955b629a48e5f39dd09bc7a3116.tar.gz jgit-990498b75d3d3955b629a48e5f39dd09bc7a3116.tar.xz jgit-990498b75d3d3955b629a48e5f39dd09bc7a3116.zip | |
Fixed NLS in JGit command line interface
There was one place where the parameter substitution wasn't done which caused
text fragments like "{0}" to appear in JGits output.
Bug: 325025
Change-Id: I89b881a8b5ef39f609437546310463ed4f6e1fb5
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
| -rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java index 6624d49a26..5d31637cc4 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java @@ -77,8 +77,8 @@ abstract class AbstractFetchCommand extends TextBuiltin { final String dst = abbreviateRef(u.getLocalName(), true); if (!shownURI) { - out.format(CLIText.get().fromURI, r.getURI()); - out.println(); + out.println(MessageFormat.format(CLIText.get().fromURI, + r.getURI())); shownURI = true; } |
