Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 2e01dd3

Browse files
author
CodeDoctorDE
committed
change format parameter
1 parent 9bcef63 commit 2e01dd3

40 files changed

+94
-94
lines changed

src/main/java/com/github/codedoctorde/linwood/config/MainConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public class MainConfig {
2020
add(new ActivityConfig(Activity.ActivityType.LISTENING, "CodeDoctor"));
2121
add(new ActivityConfig(Activity.ActivityType.WATCHING, "github/CodeDoctorDE"));
2222
add(new ActivityConfig(Activity.ActivityType.DEFAULT, "games with players :D"));
23-
add(new ActivityConfig(Activity.ActivityType.DEFAULT, "{0}"));
24-
add(new ActivityConfig(Activity.ActivityType.WATCHING, "on {1} servers"));
25-
add(new ActivityConfig(Activity.ActivityType.DEFAULT, "with {1} players"));
23+
add(new ActivityConfig(Activity.ActivityType.DEFAULT, "%s"));
24+
add(new ActivityConfig(Activity.ActivityType.WATCHING, "on %2$s servers"));
25+
add(new ActivityConfig(Activity.ActivityType.DEFAULT, "with %2$s players"));
2626
}};
2727
private String supportURL = "https://discord.gg/97zFtYN";
2828

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Syntax=Falsche Benutzung. Bitte nutze: \n{0}
1+
Syntax=Falsche Benutzung. Bitte nutze: \n%s
22
Error=Ein unerwarteter Fehler ist passiert! Sollte es noch einmal passieren, kontaktiere bitte den Entwickler
33
NoPermission=:no_entry_sign: Keine Rechte!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Syntax=Wrong usage. Please use: \n{0}
1+
Syntax=Wrong usage. Please use: \n%s
22
Error=An error has occurred! Please contact the developer if it happens multiple times!
33
NoPermission=:no_entry_sign: No permission!
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
OnlineTitle=:green_circle: Status von {1} geändert!
2-
OnlineBody=:smile: {0} ist nun online!
3-
OfflineTitle=:black_circle: Status von {1} geändert!
4-
OfflineBody=:smile: {0} ist nun offline!
1+
OnlineTitle=:green_circle: Status von %2$s geändert!
2+
OnlineBody=:smile: %s ist nun online!
3+
OfflineTitle=:black_circle: Status von %2$s geändert!
4+
OfflineBody=:smile: %s ist nun offline!
55
NoSupport=Sorry, kein Supporter ist online :sleeping_accommodation:
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
OnlineTitle=:green_circle: Status changed from {1}!
2-
OnlineBody=:smile: {0} is online now!
3-
OfflineTitle=:black_circle: Status changed from {1}!
4-
OfflineBody=:smile: {0} is offline now!
1+
OnlineTitle=:green_circle: Status changed from %2$s!
2+
OnlineBody=:smile: %s is online now!
3+
OfflineTitle=:black_circle: Status changed from %2$s!
4+
OfflineBody=:smile: %s is offline now!
55
NoSupport=Sorry, no supporter is online :sleeping_accommodation:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Syntax=clear <Nachrichten 1-100>
22
Description=Leere den derzeitigen Chat
3-
Success=Erfolgreich {0} Nachrichten geleert!
3+
Success=Erfolgreich %s Nachrichten geleert!
44
Invalid=Das Argument muss eine Zahl sein!
55
Between=Das Argument muss zwischen 1 und 100 sein!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Syntax=clear <Messages 1-100>
22
Description=Clear the current chat
3-
Success=Successfully {0} messages cleared!
3+
Success=Successfully %s messages cleared!
44
Invalid=The argument should be a number!
55
Between=The argument should be between 1 and 100!
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title=Linwood {0}
2-
Body.regexp=Hallo {1}! Ich möchte mich gerne vorstellen! Ich bin Linwood, geboren am 12.05.2020 und programmiert von CodeDoctor. Du darfst mich mit `{2}` ansprechen :D Rufe die Hilfe mit `{2} help` auf! Derzeit online: {3} Tag(e), {4} Stunde(n), {5} Minute(n), {6} Sekunde(n) und {7} Millisekunden! Wenn du Fragen hast, kannst du uns [dort]({8}) besuchen!
1+
title=Linwood %s
2+
Body.regexp=Hallo %2$s! Ich möchte mich gerne vorstellen! Ich bin Linwood, geboren am 12.05.2020 und programmiert von CodeDoctor. Du darfst mich mit `%3$s` ansprechen :D Rufe die Hilfe mit `%3$s help` auf! Derzeit online: %4$s Tag(e), %5$s Stunde(n), %6$s Minute(n), %7$s Sekunde(n) und %8$s Millisekunden! Wenn du Fragen hast, kannst du uns [dort](%9$s) besuchen!
33
Syntax=info
44
Description=Genereller Botinformationsbefehl
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title=Linwood {0}
2-
Body.regexp=Hi {1}! I want to introduce me! I''m Linwood, born on 05/12/2020 and programmed by CodeDoctor. You can address me with `{2}` :D Get the help with `{2} help`! Current uptime: {3} day(s), {4} hour(s), {5} minute(s), {6} second(s) and {7} milliseconds! If you have questions, you can ask [here]({8})!
1+
title=Linwood %s
2+
Body.regexp=Hi %2$s! I want to introduce me! I''m Linwood, born on 05/12/2020 and programmed by CodeDoctor. You can address me with `%3$s` :D Get the help with `%3$s help`! Current uptime: %4$s day(s), %5$s hour(s), %6$s minute(s), %7$s second(s) and %8$s milliseconds! If you have questions, you can ask [here](%9$s)!
33
Syntax=info
44
Description=General bot information command
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Output={0} wurde gewürfelt!
1+
Output=%s wurde gewürfelt!
22
Syntax=fun dice
33
Description=Sende eine zufällige Würfelzahl

0 commit comments

Comments
 (0)