From 4a909be7840d61ac4180b17bdee836d62e7e22c9 Mon Sep 17 00:00:00 2001 From: Andrin Fassbind Date: Thu, 14 Oct 2021 14:38:05 +0200 Subject: [PATCH] CleanCode Language.java --- src/Language.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Language.java b/src/Language.java index 27ecaa1..5991a30 100644 --- a/src/Language.java +++ b/src/Language.java @@ -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!" ));