Added translation for user remove command #23
This commit is contained in:
parent
d197a6e158
commit
71899346b2
@ -189,6 +189,10 @@
|
|||||||
"general_error": "Bei der Ausführung dieses Befehls kam es zu einen Fehler :("
|
"general_error": "Bei der Ausführung dieses Befehls kam es zu einen Fehler :("
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"remove": {
|
||||||
|
"xp": "Die {} von {} wurden entfernt",
|
||||||
|
"ontime": "Die {} von {} wurden entfernt"
|
||||||
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"atr_not_found": "Das Attribut {} konnte nicht gefunden werden :("
|
"atr_not_found": "Das Attribut {} konnte nicht gefunden werden :("
|
||||||
}
|
}
|
||||||
|
@ -243,14 +243,12 @@ class UserGroup(DiscordCommandABC):
|
|||||||
return
|
return
|
||||||
|
|
||||||
case other:
|
case other:
|
||||||
# ToDo: Move atr_not_found
|
|
||||||
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform('modules.base.user.error.atr_not_found').format(atr))
|
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform('modules.base.user.error.atr_not_found').format(atr))
|
||||||
return
|
return
|
||||||
|
|
||||||
# ToDo: Add text for it
|
|
||||||
await self._message_service.send_interaction_msg(
|
await self._message_service.send_interaction_msg(
|
||||||
ctx.interaction,
|
ctx.interaction,
|
||||||
self._t.transform(f'modules.base.user.remove.{atr}').format(member.mention, value)
|
self._t.transform(f'modules.base.user.remove.{atr}').format(value, member.mention)
|
||||||
)
|
)
|
||||||
|
|
||||||
@remove.autocomplete('atr')
|
@remove.autocomplete('atr')
|
||||||
|
Loading…
Reference in New Issue
Block a user