Update l10n for message format

This commit is contained in:
Emmanuel Bigeon 2016-06-09 19:19:35 -04:00
parent 3ac978bdc1
commit 2dbdf55694
3 changed files with 5 additions and 4 deletions

View File

@ -77,7 +77,7 @@ public class SocketConsoleApplicationTest {
String fromServer; String fromServer;
int i = 0; int i = 0;
String[] cmds = {"help", "test", "close"}; String[] cmds = {"help", "toto", "test", "close"};
while ((fromServer = in.readLine()) != null) { while ((fromServer = in.readLine()) != null) {
System.out.println("Server: \n" + ENCODER.decode(fromServer)); System.out.println("Server: \n" + ENCODER.decode(fromServer));
if (fromServer.equals("Bye.")) { if (fromServer.equals("Bye.")) {

View File

@ -1,2 +1,2 @@
CommandProvider.unrecognized=Unrecognized command '{0}' CommandProvider.unrecognized=Unrecognized command "{0}"
ConsoleApplication.cmd.failed=The command '{0}' failed due to : ConsoleApplication.cmd.failed=The command "{0}" failed due to :

View File

@ -76,7 +76,7 @@ public class ConsoleApplicationTest {
final PipedInputStream snk = new PipedInputStream(); final PipedInputStream snk = new PipedInputStream();
PrintStream out = new PrintStream(new PipedOutputStream(snk)); PrintStream out = new PrintStream(new PipedOutputStream(snk));
final ConsoleTestApplication app = new ConsoleTestApplication( final ConsoleTestApplication app = new ConsoleTestApplication(
new SystemConsoleManager(out, in)); new SystemConsoleManager(System.out, in));
Thread th = new Thread(new Runnable() { Thread th = new Thread(new Runnable() {
@Override @Override
@ -93,6 +93,7 @@ public class ConsoleApplicationTest {
public void run() { public void run() {
try (PrintWriter writer = new PrintWriter(src, true)) { try (PrintWriter writer = new PrintWriter(src, true)) {
writer.println("test"); writer.println("test");
writer.println("toto");
writer.println("long"); writer.println("long");
writer.println("exit"); writer.println("exit");
} }