diff --git a/file/lib/form/ChatForm.class.php b/file/lib/form/ChatForm.class.php index 634462b..a3b77a5 100644 --- a/file/lib/form/ChatForm.class.php +++ b/file/lib/form/ChatForm.class.php @@ -157,23 +157,23 @@ public function save() { $receiver = $command->getReceiver(); } catch (\chat\system\command\NotFoundException $e) { - $this->message = WCF::getLanguage()->get('wcf.chat.error.notFound'); + $this->message = WCF::getLanguage()->get('chat.error.notFound'); $type = data\message\Message::TYPE_ERROR; $receiver = WCF::getUser()->userID; } catch (\chat\system\command\UserNotFoundException $e) { - $this->message = WCF::getLanguage()->getDynamicVariable('wcf.chat.error.userNotFound', array('username' => $e->getUsername())); + $this->message = WCF::getLanguage()->getDynamicVariable('chat.error.userNotFound', array('username' => $e->getUsername())); $type = data\message\Message::TYPE_ERROR; $receiver = WCF::getUser()->userID; $this->enableHTML = 1; } catch (\wcf\system\exception\PermissionDeniedException $e) { - $this->message = WCF::getLanguage()->get('wcf.chat.error.permissionDenied'); + $this->message = WCF::getLanguage()->get('chat.error.permissionDenied'); $type = data\message\Message::TYPE_ERROR; $receiver = WCF::getUser()->userID; } catch (\Exception $e) { - $this->message = WCF::getLanguage()->get('wcf.chat.error.exception'); + $this->message = WCF::getLanguage()->get('chat.error.exception'); $type = data\message\Message::TYPE_ERROR; $receiver = WCF::getUser()->userID; } diff --git a/language/de.xml b/language/de.xml index 3245a99..63a5258 100644 --- a/language/de.xml +++ b/language/de.xml @@ -114,6 +114,8 @@ Hinweis: Setzen Sie diese Einstellung nur, wenn Sie wissen, was sie bewirkt. Die + +