Added translation to all Components
This commit is contained in:
@@ -44,10 +44,10 @@ public class Score {
|
||||
callback.run();
|
||||
|
||||
new ChatMessage(Icon.STAR)
|
||||
.appendStatic("Ergebnisse:").indent(1)
|
||||
.appendTranslated("score#result").indent(1)
|
||||
.list(getMapFormatted())
|
||||
.indent(-1).newLine()
|
||||
.appendStatic("Vielen Dank für's Spielen!")
|
||||
.appendTranslated("score#thanks")
|
||||
.send(instance.getPlayers());
|
||||
|
||||
closed = true;
|
||||
@@ -59,7 +59,7 @@ public class Score {
|
||||
if(results.containsKey(p)) return;
|
||||
results.put(p, countResults()+1);
|
||||
|
||||
new TitleMessage(Duration.ofMillis(500), Duration.ofSeconds(1)).appendStatic(Component.text("Fertig", NamedTextColor.GREEN)).send(p);
|
||||
new TitleMessage(Duration.ofMillis(500), Duration.ofSeconds(1)).appendTranslated("score#finish").send(p);
|
||||
|
||||
checkGameEnd(null);
|
||||
}
|
||||
|
Reference in New Issue
Block a user