mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Adding language item for temporary rooms.
This commit is contained in:
parent
3248b14097
commit
6351a72fd0
@ -30,7 +30,7 @@ public function __construct(\wcf\system\chat\command\CommandHandler $commandHand
|
|||||||
$returnValues = $this->objectAction->getReturnValues();
|
$returnValues = $this->objectAction->getReturnValues();
|
||||||
$chatRoomEditor = new \wcf\data\chat\room\ChatRoomEditor($returnValues['returnValues']);
|
$chatRoomEditor = new \wcf\data\chat\room\ChatRoomEditor($returnValues['returnValues']);
|
||||||
$roomID = $returnValues['returnValues']->roomID;
|
$roomID = $returnValues['returnValues']->roomID;
|
||||||
$this->roomName = WCF::getLanguage()->getDynamicVariable('wcf.chat.room.titleTemp', array('$roomID' => $roomID));
|
$this->roomName = WCF::getLanguage()->getDynamicVariable('wcf.chat.room.titleTemp', array('roomID' => $roomID));
|
||||||
|
|
||||||
// set accurate title
|
// set accurate title
|
||||||
$chatRoomEditor->update(array(
|
$chatRoomEditor->update(array(
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
<category name="wcf.chat.room">
|
<category name="wcf.chat.room">
|
||||||
<item name="wcf.chat.room.title1"><![CDATA[Hauptchat]]></item>
|
<item name="wcf.chat.room.title1"><![CDATA[Hauptchat]]></item>
|
||||||
<item name="wcf.chat.room.topic1"><![CDATA[Vielen Dank, dass Sie sich für Tims Chat entschieden haben. Bitte besuchen Sie das ACP um diesen Text anzupassen.]]></item>
|
<item name="wcf.chat.room.topic1"><![CDATA[Vielen Dank, dass Sie sich für Tims Chat entschieden haben. Bitte besuchen Sie das ACP um diesen Text anzupassen.]]></item>
|
||||||
|
<item name="wcf.chat.room.titleTemp"><![CDATA[Raum_{$roomID}]]></item>
|
||||||
</category>
|
</category>
|
||||||
|
|
||||||
<category name="wcf.header">
|
<category name="wcf.header">
|
||||||
|
Loading…
Reference in New Issue
Block a user