Browse Source

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>
tags/v0.11.1
Sasa Zivkov 13 years ago
parent
commit
990498b75d

+ 2
- 2
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java View File

@@ -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;
}


Loading…
Cancel
Save