Add different translation keys for the "me" message (#2805)

* Add different translation keys for the "me" message

* Add proper German "me" translation
This commit is contained in:
Xeyame 2020-03-31 06:10:46 +02:00 committed by GitHub
parent 2bbe6d6069
commit e2130df596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View File

@ -81,7 +81,7 @@ public class SimpleMessageRecipient implements IMessageRecipient {
sendMessage(tl("userAFK", recipient.getDisplayName()));
}
default:
sendMessage(tl("msgFormat", tl("me"), recipient.getDisplayName(), message));
sendMessage(tl("msgFormat", tl("meSender"), recipient.getDisplayName(), message));
// Better Social Spy
User senderUser = getUser(this);
@ -132,7 +132,7 @@ public class SimpleMessageRecipient implements IMessageRecipient {
}
}
// Display the formatted message to this recipient.
sendMessage(tl("msgFormat", sender.getDisplayName(), tl("me"), message));
sendMessage(tl("msgFormat", sender.getDisplayName(), tl("meRecipient"), message));
if (isLastMessageReplyRecipient) {
// If this recipient doesn't have a reply recipient, initiate by setting the first

View File

@ -284,7 +284,8 @@ maxHomes=\u00a74You cannot set more than\u00a7c {0} \u00a74homes.
maxMoney=\u00a74This transaction would exceed the balance limit for this account.
mayNotJail=\u00a74You may not jail that person\!
mayNotJailOffline=\u00a74You may not jail offline players.
me=me
meSender=me
meRecipient=me
minimumPayAmount=\u00a7cThe minimum amount you can pay is {0}.
minute=minute
minutes=minutes

View File

@ -272,7 +272,8 @@ maxHomes=§4Du kannst nicht mehr als§c {0} §4Heimaten setzen.
maxMoney=§4Diese Überweisung überschreitet das Limit des Empfängers.
mayNotJail=§4Du kannst diese Person nicht einsperren.
mayNotJailOffline=§4Du darfst abgemeldete Spieler nicht einsperren.
me=Du
meSender=ich
meRecipient=mich
minimumPayAmount=§c{0}§4 ist der Mindestbetrag, den du für eine überweisung aufbringen musst.
minute=Minute
minutes=Minuten