mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix language items
This commit is contained in:
parent
99da19966d
commit
e3f6731c74
@ -157,23 +157,23 @@ public function save() {
|
|||||||
$receiver = $command->getReceiver();
|
$receiver = $command->getReceiver();
|
||||||
}
|
}
|
||||||
catch (\chat\system\command\NotFoundException $e) {
|
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;
|
$type = data\message\Message::TYPE_ERROR;
|
||||||
$receiver = WCF::getUser()->userID;
|
$receiver = WCF::getUser()->userID;
|
||||||
}
|
}
|
||||||
catch (\chat\system\command\UserNotFoundException $e) {
|
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;
|
$type = data\message\Message::TYPE_ERROR;
|
||||||
$receiver = WCF::getUser()->userID;
|
$receiver = WCF::getUser()->userID;
|
||||||
$this->enableHTML = 1;
|
$this->enableHTML = 1;
|
||||||
}
|
}
|
||||||
catch (\wcf\system\exception\PermissionDeniedException $e) {
|
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;
|
$type = data\message\Message::TYPE_ERROR;
|
||||||
$receiver = WCF::getUser()->userID;
|
$receiver = WCF::getUser()->userID;
|
||||||
}
|
}
|
||||||
catch (\Exception $e) {
|
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;
|
$type = data\message\Message::TYPE_ERROR;
|
||||||
$receiver = WCF::getUser()->userID;
|
$receiver = WCF::getUser()->userID;
|
||||||
}
|
}
|
||||||
|
@ -114,6 +114,8 @@ Hinweis: Setzen Sie diese Einstellung nur, wenn Sie wissen, was sie bewirkt. Die
|
|||||||
<item name="chat.message.5.ban"><![CDATA[hat {@$link} bis {@$until|plainTime} gebannt.]]></item>
|
<item name="chat.message.5.ban"><![CDATA[hat {@$link} bis {@$until|plainTime} gebannt.]]></item>
|
||||||
<item name="chat.message.5.gmute"><![CDATA[hat {@$link} bis {@$until|plainTime} global geknebelt.]]></item>
|
<item name="chat.message.5.gmute"><![CDATA[hat {@$link} bis {@$until|plainTime} global geknebelt.]]></item>
|
||||||
<item name="chat.message.5.gban"><![CDATA[hat {@$link} bis {@$until|plainTime} global gebannt.]]></item>
|
<item name="chat.message.5.gban"><![CDATA[hat {@$link} bis {@$until|plainTime} global gebannt.]]></item>
|
||||||
|
|
||||||
|
<item name="chat.message.color.success"><![CDATA[Die Farbe wurde erfolgreich geändert.]]></item>
|
||||||
</category>
|
</category>
|
||||||
|
|
||||||
<!-- I18N Values -->
|
<!-- I18N Values -->
|
||||||
|
Loading…
Reference in New Issue
Block a user