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>
stable-0.11
Sasa Zivkov 14 years ago committed by Chris Aniszczyk
parent
commit
990498b75d
  1. 4
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java

4
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); final String dst = abbreviateRef(u.getLocalName(), true);
if (!shownURI) { if (!shownURI) {
out.format(CLIText.get().fromURI, r.getURI()); out.println(MessageFormat.format(CLIText.get().fromURI,
out.println(); r.getURI()));
shownURI = true; shownURI = true;
} }

Loading…
Cancel
Save