CleanCode Language.java
This commit is contained in:
parent
d88c41fa6c
commit
4a909be784
|
@ -16,9 +16,9 @@ public class Language {
|
|||
private String outputLanguage = "de";
|
||||
|
||||
//Gibt mögliche Sprachen vor.
|
||||
private final String germanShortCut = "de";
|
||||
private final String englishShortCut = "en";
|
||||
private final String vietnameseShortCut = "vn";
|
||||
private String germanShortCut = "de";
|
||||
private String englishShortCut = "en";
|
||||
private String vietnameseShortCut = "vn";
|
||||
|
||||
public Language(String outputLanguage) {
|
||||
if(checkForValidLanguage(outputLanguage)) {
|
||||
|
@ -64,7 +64,7 @@ public class Language {
|
|||
*/
|
||||
public void outputGameStartedText() {
|
||||
System.out.println(checkLanguage(
|
||||
"Spiel hat gestartet. Mögen der Bessere gewinnen!",
|
||||
"Spiel hat gestartet. Möge der Bessere gewinnen!",
|
||||
"Game has started. May the best win!",
|
||||
"Trò chơi đã bắt đầu. Chúc cho chiến thắng tốt nhất!"
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue