Update l10n for message format
This commit is contained in:
parent
3ac978bdc1
commit
2dbdf55694
@ -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.")) {
|
||||||
|
@ -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 :
|
||||||
|
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user