1
0
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:
Tim Düsterhus 2012-04-15 20:17:44 +02:00
parent 3248b14097
commit 6351a72fd0
2 changed files with 2 additions and 1 deletions

View File

@ -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(

View File

@ -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">