Fixed language grammar in class Language.

This commit is contained in:
Leonardo Brandenberger 2021-10-15 08:33:47 +02:00
parent 66f0eba365
commit 0c5874af14
1 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ public class Language {
}
System.out.println(checkLanguage(
"Diese Sprache ist nicht zulässig",
"This Language is not valid",
"This language is not valid",
"Ngôn ngữ này không được phép"));
return false;
}
@ -65,7 +65,7 @@ public class Language {
public void outputGameStartedText() {
System.out.println(checkLanguage(
"Spiel hat gestartet. Möge der Bessere gewinnen!",
"Game has started. May the best win!",
"Game has started. May the better one win!",
"Trò chơi đã bắt đầu. Chúc cho chiến thắng tốt nhất!"
));
}
@ -78,7 +78,7 @@ public class Language {
public void outputMoveText(int move, int player) {
System.out.println(checkLanguage(
"Spiezug: " + move + ", Spieler " + player + " spielt.",
"Move: " + move + ", Player " + player + " plays.",
"Move: " + move + ", player " + player + " plays.",
"Di chuyển: " + move + ", Người " + player + " chơi."
));
}
@ -102,7 +102,7 @@ public class Language {
public void outputGameOverText(){
System.out.println(checkLanguage(
"Das Spiel ist zu ende!",
"The Game has finished!",
"The game has finished!",
"Trò chơi kết thúc rồi!"));
}
@ -113,7 +113,7 @@ public class Language {
public void outputTieText(){
System.out.println(checkLanguage(
"Wir haben keinen Gewinner. Es ist unentschieden",
"We have no Winner. It's a tie",
"We have no winner. It's a tie",
"Chúng tôi không có người chiến thắng."));
}
@ -136,7 +136,7 @@ public class Language {
public void outputWrongFieldSelected(){
System.out.println(checkLanguage(
"Dieses Feld ist nicht zulässig",
"This Field is not valid",
"This field is not valid",
"Trường này không được phép"));
}