From e3f6731c74c6f2b80fa032f10efdb076c96d5aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 2 Feb 2013 23:32:41 +0100 Subject: [PATCH] Fix language items --- file/lib/form/ChatForm.class.php | 8 ++++---- language/de.xml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) 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 + +