Browse Source

Small changes

More multilingual strings
master
Sogomn 9 years ago
parent
commit
e3b80efc9f
  1. 3
      Ratty/res/language/lang.properties
  2. 3
      Ratty/res/language/lang_de.properties
  3. 3
      Ratty/res/language/lang_en.properties
  4. 6
      Ratty/src/de/sogomn/rat/builder/StubBuilder.java

3
Ratty/res/language/lang.properties

@ -4,6 +4,9 @@ debug.client=Client
server.port_message=Which port should the server be bind to?
builder.address_question=Which address should the client connect to?
builder.port_question=Which port?
action.popup=Open popup
action.screenshot=Take screensot
action.desktop=Toggle desktop stream

3
Ratty/res/language/lang_de.properties

@ -4,6 +4,9 @@ debug.client=Client
server.port_message=An welchen Port soll der Server gebunden werden?
builder.address_question=Mit welcher Adresse soll sich der Client verbinden?
builder.port_question=Welcher Port?
action.popup=Popup öffnen
action.screenshot=Screenshot machen
action.desktop=Desktopstream an/aus

3
Ratty/res/language/lang_en.properties

@ -4,6 +4,9 @@ debug.client=Client
server.port_message=Which port should the server be bind to?
builder.address_question=Which address should the client connect to?
builder.port_question=Which port?
action.popup=Open popup
action.screenshot=Take screensot
action.desktop=Toggle desktop stream

6
Ratty/src/de/sogomn/rat/builder/StubBuilder.java

@ -1,5 +1,7 @@
package de.sogomn.rat.builder;
import static de.sogomn.rat.Ratty.LANGUAGE;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
@ -25,8 +27,8 @@ import de.sogomn.rat.Ratty;
*/
public final class StubBuilder {
private static final String ADDRESS_MESSAGE = "Which address should the client connect to?";
private static final String PORT_MESSAGE = "Which port?";
private static final String ADDRESS_MESSAGE = LANGUAGE.getString("builder.address_question");
private static final String PORT_MESSAGE = LANGUAGE.getString("builder.port_question");
private static final String FILE_EXTENSION = ".jar";
private static final String FILE_NAME = "/connection_data.txt";

Loading…
Cancel
Save