mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-22 02:00:40 +00:00
Adding language-items for away-message.
This commit is contained in:
parent
bafc678eb4
commit
ab42584965
@ -56,6 +56,12 @@ class ChatMessage extends \wcf\data\DatabaseObject {
|
|||||||
case self::TYPE_BACK:
|
case self::TYPE_BACK:
|
||||||
$message = WCF::getLanguage()->get('wcf.chat.message.'.$this->type);
|
$message = WCF::getLanguage()->get('wcf.chat.message.'.$this->type);
|
||||||
break;
|
break;
|
||||||
|
case self::TYPE_AWAY:
|
||||||
|
WCF::getTPL()->assign(array(
|
||||||
|
'message' => $message
|
||||||
|
));
|
||||||
|
$message = WCF::getLanguage()->getDynamicVariable('wcf.chat.message.'.$this->type);
|
||||||
|
break;
|
||||||
case self::TYPE_NORMAL:
|
case self::TYPE_NORMAL:
|
||||||
case self::TYPE_ME:
|
case self::TYPE_ME:
|
||||||
case self::TYPE_WHISPER:
|
case self::TYPE_WHISPER:
|
||||||
|
@ -71,6 +71,8 @@
|
|||||||
<item name="wcf.chat.message.1"><![CDATA[hat den Chat betreten.]]></item>
|
<item name="wcf.chat.message.1"><![CDATA[hat den Chat betreten.]]></item>
|
||||||
<!-- 2 = TYPE_LEAVE -->
|
<!-- 2 = TYPE_LEAVE -->
|
||||||
<item name="wcf.chat.message.2"><![CDATA[hat den Chat verlassen.]]></item>
|
<item name="wcf.chat.message.2"><![CDATA[hat den Chat verlassen.]]></item>
|
||||||
|
<!-- 3 = TYPE_AWAY -->
|
||||||
|
<item name="wcf.chat.message.3"><![CDATA[ist jetzt abwesend{if $message}: {$message}{else}.{/if}]]></item>
|
||||||
<!-- 4 = TYPE_BACK -->
|
<!-- 4 = TYPE_BACK -->
|
||||||
<item name="wcf.chat.message.4"><![CDATA[ist jetzt wieder da.]]></item>
|
<item name="wcf.chat.message.4"><![CDATA[ist jetzt wieder da.]]></item>
|
||||||
</category>
|
</category>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user