From 8b2a67785953b51ec50d344c5acfa48cfe44a490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 19 Nov 2013 21:04:31 +0100 Subject: [PATCH] Give a nice message to InviteCommand --- file/lib/system/command/commands/InviteCommand.class.php | 2 +- language/de.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/file/lib/system/command/commands/InviteCommand.class.php b/file/lib/system/command/commands/InviteCommand.class.php index c0ef7e2..d19d434 100644 --- a/file/lib/system/command/commands/InviteCommand.class.php +++ b/file/lib/system/command/commands/InviteCommand.class.php @@ -64,6 +64,6 @@ public function getType() { * @see \chat\system\command\ICommand::getMessage() */ public function getMessage() { - return 'invite derp'; + return \wcf\system\WCF::getLanguage()->getDynamicVariable('chat.message.invite.success', array('user' => $this->user, 'room' => $this->room)); } } diff --git a/language/de.xml b/language/de.xml index 20039ca..d64ac67 100644 --- a/language/de.xml +++ b/language/de.xml @@ -204,6 +204,7 @@ Probieren Sie, den Chat neu zu laden