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

Commit 2315e82

Browse files
author
CodeDoctorDE
committed
fix translation
1 parent 3cd8fce commit 2315e82

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/main/java/com/github/codedoctorde/linwood/commands/settings/general/AddPrefixCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public boolean onCommand(Session session, Message message, GuildEntity entity, S
2727
var prefix = String.join(" ", args);
2828
entity.getPrefixes().add(prefix);
2929
entity.save(session);
30-
message.getChannel().sendMessage(MessageFormat.format(bundle.getString("Add"), prefix)).queue();
30+
message.getChannel().sendMessage(MessageFormat.format(bundle.getString("Success"), prefix)).queue();
3131
} catch (NullPointerException e) {
3232
message.getChannel().sendMessage(bundle.getString("NotValid")).queue();
3333
}

src/main/resources/locale/commands/settings/general/AddPrefix_de.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Add=:white_check_mark: Erfolgreich Prefix `{0}` hinzugefügt!
1+
Success=:white_check_mark: Erfolgreich Prefix `{0}` hinzugefügt!
22
Syntax=settings addprefix <Prefix...>
33
Description=Füge ein Prefix zum Bot hinzu
44
Permission=Server verwalten

src/main/resources/locale/commands/settings/general/AddPrefix_en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Add=:white_check_mark: Successfully add the prefix `{0}`!
1+
Success=:white_check_mark: Successfully add the prefix `{0}`!
22
Syntax=settings addprefix <Prefix...>
33
Description=Add a prefix of the bot
44
Permission=Manage server

src/main/resources/locale/commands/settings/general/RemovePrefix_de.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Remove=:white_check_mark: Erfolgreich Prefix `{0}` gelöscht!
1+
Success=:white_check_mark: Erfolgreich Prefix `{0}` gelöscht!
22
Syntax=settings remove <Prefix...>
33
Description=Lösche ein Prefix vom Bot
44
Permission=Server verwalten
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Remove=:white_check_mark: Successfully removed the prefix `{0}`!
21
Syntax=settings addprefix <Index>
2+
Success=:white_check_mark: Successfully removed the prefix `{0}`!
33
Description=Remove a prefix of the bot
44
Permission=Manage server
55
Invalid=This prefix does not exist!

0 commit comments

Comments
 (0)