fix edited class EditorState
fix edited battleship.properties with the right Key to fix an exception fix edited battleship_de.properties with the right Key to fix an exception
This commit is contained in:
@@ -238,7 +238,7 @@ public void loadMap(File file) throws IOException {
|
||||
if (!dto.fits(logic.getDetails()))
|
||||
throw new IOException(lookup("map.doesnt.fit"));
|
||||
if(!validMap(dto)){
|
||||
throw new IOException(lookup("map is invalid"));
|
||||
throw new IOException(lookup("map.is.invalid"));
|
||||
}
|
||||
ownMap().clear();
|
||||
dto.getShips().forEach(ownMap()::add);
|
||||
|
||||
@@ -37,4 +37,5 @@ label.connecting=Connecting...
|
||||
dialog.error=Error
|
||||
dialog.question=Question
|
||||
port.must.be.integer=Port must be an integer number
|
||||
map.doesnt.fit=The map doesn't fit to this game
|
||||
map.doesnt.fit=The map doesn't fit to this game
|
||||
map.is.invalid=The Map is invalid
|
||||
@@ -38,3 +38,4 @@ dialog.error=Fehler
|
||||
dialog.question=Frage
|
||||
port.must.be.integer=Der Port muss eine ganze Zahl sein
|
||||
map.doesnt.fit=Diese Karte passt nicht zu diesem Spiel
|
||||
map.is.invalid=Diese Karte ist invalide
|
||||
Reference in New Issue
Block a user