1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-02 23:20:08 +00:00

Update language variables

This commit is contained in:
Maximilian Mader 2014-02-27 18:55:53 +01:00
parent dc2e75cf72
commit 168e1a9d28
13 changed files with 94 additions and 90 deletions

View File

@ -3,7 +3,7 @@
<thead> <thead>
<tr> <tr>
<th>{lang}wcf.global.objectID{/lang}</th> <th>{lang}wcf.global.objectID{/lang}</th>
<th>{lang}chat.general.time{/lang}</th> <th>{lang}chat.global.time{/lang}</th>
<th colspan="2">{lang}wcf.user.username{/lang}</th> <th colspan="2">{lang}wcf.user.username{/lang}</th>
<th>{lang}chat.acp.log.message{/lang}</th> <th>{lang}chat.acp.log.message{/lang}</th>
</tr> </tr>

View File

@ -66,7 +66,7 @@
</dl> </dl>
<dl> <dl>
<dt><label for="roomID">{lang}chat.general.room{/lang}</label></dt> <dt><label for="roomID">{lang}chat.global.room{/lang}</label></dt>
<dd> <dd>
<select id="roomID" name="roomID"> <select id="roomID" name="roomID">
<option value="-1"{if $roomID == -1} selected="selected"{/if}></option> <option value="-1"{if $roomID == -1} selected="selected"{/if}></option>
@ -120,10 +120,10 @@
<tr> <tr>
<th class="columnID{if $sortField == 'suspensionID'} active {@$sortOrder}{/if}" colspan="2"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=suspensionID&sortOrder={if $sortField == 'suspensionID' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}wcf.global.objectID{/lang}</a></th> <th class="columnID{if $sortField == 'suspensionID'} active {@$sortOrder}{/if}" colspan="2"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=suspensionID&sortOrder={if $sortField == 'suspensionID' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}wcf.global.objectID{/lang}</a></th>
<th class="columnUsername{if $sortField == 'username'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=username&sortOrder={if $sortField == 'username' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}wcf.user.username{/lang}</a></th> <th class="columnUsername{if $sortField == 'username'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=username&sortOrder={if $sortField == 'username' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}wcf.user.username{/lang}</a></th>
<th class="columnRoomID{if $sortField == 'roomID'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=roomID&sortOrder={if $sortField == 'roomID' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.general.room{/lang}</a></th> <th class="columnRoomID{if $sortField == 'roomID'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=roomID&sortOrder={if $sortField == 'roomID' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.global.room{/lang}</a></th>
<th class="columnSuspensionType{if $sortField == 'type'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=type&sortOrder={if $sortField == 'type' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.acp.suspension.type{/lang}</a></th> <th class="columnSuspensionType{if $sortField == 'type'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=type&sortOrder={if $sortField == 'type' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.acp.suspension.type{/lang}</a></th>
<th class="columnTime{if $sortField == 'time'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=time&sortOrder={if $sortField == 'time' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.general.time{/lang}</a></th> <th class="columnTime{if $sortField == 'time'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=time&sortOrder={if $sortField == 'time' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.global.time{/lang}</a></th>
<th class="columnExpires{if $sortField == 'expires'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=expires&sortOrder={if $sortField == 'expires' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.general.expires{/lang}</a></th> <th class="columnExpires{if $sortField == 'expires'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=expires&sortOrder={if $sortField == 'expires' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.global.expires{/lang}</a></th>
<th class="columnIssuer{if $sortField == 'issuer'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=issuer&sortOrder={if $sortField == 'issuer' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.acp.suspension.issuer{/lang}</a></th> <th class="columnIssuer{if $sortField == 'issuer'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=issuer&sortOrder={if $sortField == 'issuer' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.acp.suspension.issuer{/lang}</a></th>
<th class="columnMessage{if $sortField == 'reason'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=reason&sortOrder={if $sortField == 'reason' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.acp.suspension.reason{/lang}</a></th> <th class="columnMessage{if $sortField == 'reason'} active {@$sortOrder}{/if}"><a href="{link application='chat' controller='ChatSuspensionList'}pageNo={@$pageNo}&sortField=reason&sortOrder={if $sortField == 'reason' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{@$additionalParameters}{/link}">{lang}chat.acp.suspension.reason{/lang}</a></th>

View File

@ -27,7 +27,7 @@
<legend>{lang}wcf.global.filter{/lang}</legend> <legend>{lang}wcf.global.filter{/lang}</legend>
<dl> <dl>
<dt><label for="id">{lang}chat.general.room{/lang}</label></dt> <dt><label for="id">{lang}chat.global.room{/lang}</label></dt>
<dd> <dd>
<select id="id" name="id"> <select id="id" name="id">
{foreach from=$rooms item='roomBit'} {foreach from=$rooms item='roomBit'}
@ -38,7 +38,7 @@
</dl> </dl>
<dl{if $errorField == 'date'} class="formError"{/if}> <dl{if $errorField == 'date'} class="formError"{/if}>
<dt><label for="date">{lang}chat.general.time{/lang}</label></dt> <dt><label for="date">{lang}chat.global.time{/lang}</label></dt>
<dd> <dd>
<input id="date" type="date" name="date" min="{TIME_NOW-CHAT_LOG_ARCHIVETIME*60|date:'Y-m-d'}" max="{TIME_NOW|date:'Y-m-d'}" value="{$date|date:'Y-m-d'}" /> <input id="date" type="date" name="date" min="{TIME_NOW-CHAT_LOG_ARCHIVETIME*60|date:'Y-m-d'}" max="{TIME_NOW|date:'Y-m-d'}" value="{$date|date:'Y-m-d'}" />
{if $errorField == 'date'} {if $errorField == 'date'}

View File

@ -41,7 +41,7 @@ public function execute() {
'roomID' => $room->roomID, 'roomID' => $room->roomID,
'time' => TIME_NOW, 'time' => TIME_NOW,
'type' => \chat\data\message\Message::TYPE_INFORMATION, 'type' => \chat\data\message\Message::TYPE_INFORMATION,
'message' => \wcf\system\WCF::getLanguage()->get('chat.general.information.chatUpdate') 'message' => \wcf\system\WCF::getLanguage()->get('chat.global.information.chatUpdate')
) )
)); ));
$messageAction->executeAction(); $messageAction->executeAction();

View File

@ -730,7 +730,7 @@ Send out notifications for the given `message`. The number of unread messages wi
document.title = v.titleTemplate.fetch $.extend {}, currentRoom, document.title = v.titleTemplate.fetch $.extend {}, currentRoom,
newMessageCount: ++newMessageCount newMessageCount: ++newMessageCount
title = WCF.Language.get 'chat.general.notify.title' title = WCF.Language.get 'chat.global.notify.title'
content = "#{message.username}#{message.separator} #{message.message}" content = "#{message.username}#{message.separator} #{message.message}"
if window.Notification?.permission is 'granted' if window.Notification?.permission is 'granted'
@ -865,7 +865,7 @@ Open private channel
if userID isnt 0 if userID isnt 0
$('#timsChatTopic').removeClass 'empty' $('#timsChatTopic').removeClass 'empty'
$('#timsChatTopic > .topic').html WCF.Language.get 'chat.general.privateChannelTopic', {username: userList.allTime[userID].username} $('#timsChatTopic > .topic').html WCF.Language.get 'chat.global.privateChannelTopic', {username: userList.allTime[userID].username}
$('#timsChatMessageTabMenu').removeClass 'singleTab' $('#timsChatMessageTabMenu').removeClass 'singleTab'
unless $.wcfIsset "timsChatMessageTabMenuAnchor#{userID}" unless $.wcfIsset "timsChatMessageTabMenuAnchor#{userID}"

View File

@ -120,7 +120,7 @@ public function getFormattedMessage($type = 'text/html') {
*/ */
public function getUsername($colored = false) { public function getUsername($colored = false) {
$username = $this->username; $username = $this->username;
if ($this->type == self::TYPE_INFORMATION) return WCF::getLanguage()->get('chat.general.information'); if ($this->type == self::TYPE_INFORMATION) return WCF::getLanguage()->get('chat.global.information');
if ($colored) { if ($colored) {
$username = \chat\util\ChatUtil::gradient($username, $this->color1, $this->color2); $username = \chat\util\ChatUtil::gradient($username, $this->color1, $this->color2);

View File

@ -39,7 +39,7 @@ public function __construct(\chat\system\command\CommandHandler $commandHandler)
// Room // Room
$room = \chat\data\room\RoomCache::getInstance()->getRoom($this->user->chatRoomID); $room = \chat\data\room\RoomCache::getInstance()->getRoom($this->user->chatRoomID);
if ($room !== null && $room->canEnter()) { if ($room !== null && $room->canEnter()) {
$this->lines[WCF::getLanguage()->get('chat.general.room')] = $room->getTitle(); $this->lines[WCF::getLanguage()->get('chat.global.room')] = $room->getTitle();
} }
// Suspensions // Suspensions
@ -50,7 +50,7 @@ public function __construct(\chat\system\command\CommandHandler $commandHandler)
if (!$typeSuspension->isVisible()) continue; if (!$typeSuspension->isVisible()) continue;
$dateTime = DateUtil::getDateTimeByTimestamp($typeSuspension->expires); $dateTime = DateUtil::getDateTimeByTimestamp($typeSuspension->expires);
$name = WCF::getLanguage()->getDynamicVariable('chat.general.information.suspension', array( $name = WCF::getLanguage()->getDynamicVariable('chat.global.information.suspension', array(
'suspension' => $typeSuspension, 'suspension' => $typeSuspension,
'room' => \chat\data\room\RoomCache::getInstance()->getRoom($typeSuspension->roomID) 'room' => \chat\data\room\RoomCache::getInstance()->getRoom($typeSuspension->roomID)
)); ));

View File

@ -7,7 +7,6 @@
<item name="chat.acp.room.title"><![CDATA[Titel]]></item> <item name="chat.acp.room.title"><![CDATA[Titel]]></item>
<item name="chat.acp.room.topic"><![CDATA[Thema]]></item> <item name="chat.acp.room.topic"><![CDATA[Thema]]></item>
<item name="chat.acp.room.noneItems"><![CDATA[Es wurden noch keine Chaträume angelegt.]]></item>
<item name="chat.acp.room.delete.sure"><![CDATA[Wollen Sie den Raum „{$chatRoom}“ wirklich löschen?]]></item> <item name="chat.acp.room.delete.sure"><![CDATA[Wollen Sie den Raum „{$chatRoom}“ wirklich löschen?]]></item>
</category> </category>
@ -101,6 +100,8 @@
<item name="wcf.acp.option.chat_max_length"><![CDATA[Maximale Nachrichtenlänge]]></item> <item name="wcf.acp.option.chat_max_length"><![CDATA[Maximale Nachrichtenlänge]]></item>
<item name="wcf.acp.option.chat_command_aliases"><![CDATA[Befehls-Aliase]]></item> <item name="wcf.acp.option.chat_command_aliases"><![CDATA[Befehls-Aliase]]></item>
<item name="wcf.acp.option.chat_command_aliases.description"><![CDATA[Geben Sie zeilenweise eine Kombination aus Alias und Zielbefehl an. Alias und Zielbefehl werden durch einen Doppelpunkt voneinander getrennt.]]></item> <item name="wcf.acp.option.chat_command_aliases.description"><![CDATA[Geben Sie zeilenweise eine Kombination aus Alias und Zielbefehl an. Alias und Zielbefehl werden durch einen Doppelpunkt voneinander getrennt.]]></item>
<item name="wcf.acp.option.chat_force_room_select"><![CDATA[Raumauswahl anzeigen]]></item>
<item name="wcf.acp.option.chat_force_room_select.description"><![CDATA[Zeigt eine Auswahl der verfügbaren Räume an, anstatt den ersten verfügbaren Raum zu betreten.]]></item>
<item name="wcf.acp.option.category.chat.log"><![CDATA[Protokoll]]></item> <item name="wcf.acp.option.category.chat.log"><![CDATA[Protokoll]]></item>
<item name="wcf.acp.option.chat_log_archivetime"><![CDATA[Speicherzeit]]></item> <item name="wcf.acp.option.chat_log_archivetime"><![CDATA[Speicherzeit]]></item>
@ -135,46 +136,49 @@ Probieren Sie, den Chat neu zu laden<!-- , bei Risiken und Nebenwirkungen fragen
<item name="chat.error.whisper.ignoresYou"><![CDATA[„{$user}“ hat Sie blockiert.]]></item> <item name="chat.error.whisper.ignoresYou"><![CDATA[„{$user}“ hat Sie blockiert.]]></item>
</category> </category>
<category name="chat.general"> <category name="chat.global">
<item name="chat.general.expires"><![CDATA[Ablaufzeitpunkt]]></item> <item name="chat.global.expires"><![CDATA[Ablaufzeitpunkt]]></item>
<item name="chat.general.time"><![CDATA[Datum]]></item> <item name="chat.global.time"><![CDATA[Datum]]></item>
<item name="chat.general.title"><![CDATA[{lang}chat.header.menu.chat{/lang}]]></item>
<item name="chat.general.protocol"><![CDATA[Protokoll]]></item>
<item name="chat.general.room"><![CDATA[Chatraum]]></item> <item name="chat.global.title"><![CDATA[{lang}chat.header.menu.chat{/lang}]]></item>
<item name="chat.general.rooms"><![CDATA[Chaträume]]></item> <item name="chat.global.protocol"><![CDATA[Protokoll]]></item>
<item name="chat.general.users"><![CDATA[Nutzer]]></item>
<item name="chat.general.copyright"><![CDATA[<a href="http://tims.bastelstu.be"><strong>Tims Chat</strong>{if SHOW_VERSION_NUMBER} {PACKAGE_VERSION}{/if}, entwickelt in <strong>Tims Bastelstube</strong></a>]]></item> <item name="chat.global.room"><![CDATA[Chatraum]]></item>
<item name="chat.general.copyright.leader"><![CDATA[Projektleiter]]></item> <item name="chat.global.rooms"><![CDATA[Chaträume]]></item>
<item name="chat.general.copyright.developer"><![CDATA[Entwickler]]></item> <item name="chat.global.users"><![CDATA[Nutzer]]></item>
<item name="chat.general.copyright.graphics"><![CDATA[Grafisches]]></item>
<item name="chat.general.copyright.translation"><![CDATA[Übersetzung]]></item>
<item name="chat.general.copyright.thanks"><![CDATA[Weiteren Dank an]]></item>
<item name="chat.general.submit.default"><![CDATA[Zum Senden Enter drücken]]></item> <item name="chat.global.copyright"><![CDATA[<a href="http://tims.bastelstu.be"{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}><strong>Tims Chat</strong>{if SHOW_VERSION_NUMBER} {PACKAGE_VERSION}{/if}, entwickelt in <strong>Tims Bastelstube</strong></a>]]></item>
<item name="chat.general.scroll"><![CDATA[Scrollen]]></item> <item name="chat.global.copyright.leader"><![CDATA[Projektleiter]]></item>
<item name="chat.general.notify"><![CDATA[Benachrichtigen]]></item> <item name="chat.global.copyright.developer"><![CDATA[Entwickler]]></item>
<item name="chat.general.notify.title"><![CDATA[Neue Nachrichten]]></item> <item name="chat.global.copyright.graphics"><![CDATA[Grafisches]]></item>
<item name="chat.general.smilies"><![CDATA[Smilies]]></item> <item name="chat.global.copyright.translation"><![CDATA[Übersetzung]]></item>
<item name="chat.general.clear"><![CDATA[Chat leeren]]></item> <item name="chat.global.copyright.thanks"><![CDATA[Weiteren Dank an]]></item>
<item name="chat.general.mark"><![CDATA[Markieren]]></item>
<item name="chat.general.fullscreen"><![CDATA[Vollbild]]></item>
<item name="chat.general.forceRefresh"><![CDATA[Räume neu laden]]></item>
<item name="chat.general.query"><![CDATA[Privates Gespräch]]></item> <item name="chat.global.submit.default"><![CDATA[Zum Senden Enter drücken]]></item>
<item name="chat.general.kick"><![CDATA[Kicken]]></item> <item name="chat.global.scroll"><![CDATA[Scrollen]]></item>
<item name="chat.general.ban"><![CDATA[Bannen]]></item> <item name="chat.global.notify"><![CDATA[Benachrichtigen]]></item>
<item name="chat.general.profile"><![CDATA[Profil]]></item> <item name="chat.global.notify.title"><![CDATA[Neue Nachrichten]]></item>
<item name="chat.global.smilies"><![CDATA[Smilies]]></item>
<item name="chat.global.clear"><![CDATA[Chat leeren]]></item>
<item name="chat.global.mark"><![CDATA[Markieren]]></item>
<item name="chat.global.fullscreen"><![CDATA[Vollbild]]></item>
<item name="chat.global.forceRefresh"><![CDATA[Räume neu laden]]></item>
<item name="chat.general.information"><![CDATA[Information]]></item> <item name="chat.global.query"><![CDATA[Privates Gespräch]]></item>
<item name="chat.general.information.chatUpdate"><![CDATA[Der Chat wurde aktualisiert. Bitte laden Sie die Seite neu, da es sonst zu Fehlern kommen kann.]]></item> <item name="chat.global.kick"><![CDATA[Kicken]]></item>
<item name="chat.general.information.suspension"><![CDATA[{lang}chat.suspension.{$suspension->type}{/lang} ({if $room}{$room}{else}{lang}chat.room.global{/lang}{/if})]]></item> <item name="chat.global.ban"><![CDATA[Bannen]]></item>
<item name="chat.global.profile"><![CDATA[Profil]]></item>
<item name="chat.general.privateChannelTopic"><![CDATA[{literal}Sie befinden sich in einem privaten Kanal mit „{$username}“, um diesen zu schließen, klicken Sie einfach auf das Kreuz rechts.{/literal}]]></item> <item name="chat.global.message"><![CDATA[Nachricht]]></item>
<item name="chat.general.closePrivateChannel"><![CDATA[Privaten Kanal schließen]]></item> <item name="chat.global.whisper"><![CDATA[anflüstern]]></item>
<item name="chat.general.closeTopic"><![CDATA[Thema ausblenden]]></item>
<item name="chat.global.information"><![CDATA[Information]]></item>
<item name="chat.global.information.chatUpdate"><![CDATA[Der Chat wurde aktualisiert. Bitte laden Sie die Seite neu, da es sonst zu Fehlern kommen kann.]]></item>
<item name="chat.global.information.suspension"><![CDATA[{lang}chat.suspension.{$suspension->type}{/lang} ({if $room}{$room}{else}{lang}chat.room.global{/lang}{/if})]]></item>
<item name="chat.global.privateChannelTopic"><![CDATA[{literal}Sie befinden sich in einem privaten Kanal mit „{$username}“, um diesen zu schließen.{/literal}]]></item>
<item name="chat.global.closePrivateChannel"><![CDATA[Privaten Kanal schließen]]></item>
<item name="chat.global.closeTopic"><![CDATA[Thema ausblenden]]></item>
</category> </category>
<category name="chat.header"> <category name="chat.header">
@ -211,7 +215,7 @@ Probieren Sie, den Chat neu zu laden<!-- , bei Risiken und Nebenwirkungen fragen
<category name="chat.suspension"> <category name="chat.suspension">
<item name="chat.suspension.mute"><![CDATA[Knebel]]></item> <item name="chat.suspension.mute"><![CDATA[Knebel]]></item>
<item name="chat.suspension.ban"><![CDATA[Bann]]></item> <item name="chat.suspension.ban"><![CDATA[Bann]]></item>
<item name="chat.suspension.exists"><![CDATA[Es existiert bereits eine längere Sanktion der gleichen Art.]]></item> <item name="chat.suspension.exists"><![CDATA[Es existiert bereits eine länger andauernde Sanktion der gleichen Art.]]></item>
<item name="chat.suspension.notExists"><![CDATA[Es existiert keine Sanktion dieser Art.]]></item> <item name="chat.suspension.notExists"><![CDATA[Es existiert keine Sanktion dieser Art.]]></item>
</category> </category>

View File

@ -1,9 +1,9 @@
{if $__chat->isActiveApplication()} {if $__chat->isActiveApplication()}
{if $templateName != '__copyright'}<address id="timsChatCopyright" class="copyright marginTop">{lang}chat.general.copyright{/lang}</address> {if $templateName != '__copyright'}<address id="timsChatCopyright" class="copyright marginTop">{lang}chat.global.copyright{/lang}</address>
{elseif $templateName == '__copyright'} {elseif $templateName == '__copyright'}
<div style="background-image: url('data:image/png;base64,{$background}');"> <div style="background-image: url('data:image/png;base64,{$background}');">
<dl> <dl>
<dt>{lang}chat.general.copyright.leader{/lang}</dt> <dt>{lang}chat.global.copyright.leader{/lang}</dt>
<dd> <dd>
<ul> <ul>
<li><a href="http://tims.bastelstu.be/" class="externalURL" {if EXTERNAL_LINK_TARGET_BLANK}target="_blank"{/if}>Tim D&uuml;sterhus</a></li> <li><a href="http://tims.bastelstu.be/" class="externalURL" {if EXTERNAL_LINK_TARGET_BLANK}target="_blank"{/if}>Tim D&uuml;sterhus</a></li>
@ -11,7 +11,7 @@
</dd> </dd>
</dl> </dl>
<dl> <dl>
<dt>{lang}chat.general.copyright.developer{/lang}</dt> <dt>{lang}chat.global.copyright.developer{/lang}</dt>
<dd> <dd>
<ul> <ul>
<li><a href="http://tims.bastelstu.be/" class="externalURL" {if EXTERNAL_LINK_TARGET_BLANK}target="_blank"{/if}>Tim D&uuml;sterhus</a></li> <li><a href="http://tims.bastelstu.be/" class="externalURL" {if EXTERNAL_LINK_TARGET_BLANK}target="_blank"{/if}>Tim D&uuml;sterhus</a></li>
@ -20,19 +20,19 @@
</dd> </dd>
</dl> </dl>
{*<dl> {*<dl>
<dt>{lang}chat.general.copyright.graphics{/lang}</dt> <dt>{lang}chat.global.copyright.graphics{/lang}</dt>
<dd> <dd>
</dd> </dd>
</dl> </dl>
<dl> <dl>
<dt>{lang}chat.general.copyright.translation{/lang}</dt> <dt>{lang}chat.global.copyright.translation{/lang}</dt>
<dd> <dd>
</dd> </dd>
</dl>*} </dl>*}
<dl> <dl>
<dt>{lang}chat.general.copyright.thanks{/lang}</dt> <dt>{lang}chat.global.copyright.thanks{/lang}</dt>
<dd> <dd>
<ul> <ul>
<li><a href="http://www.wbbaddons.de/user/2020-noone/" class="externalURL" {if EXTERNAL_LINK_TARGET_BLANK}target="_blank"{/if}>-noone-</a></li> <li><a href="http://www.wbbaddons.de/user/2020-noone/" class="externalURL" {if EXTERNAL_LINK_TARGET_BLANK}target="_blank"{/if}>-noone-</a></li>

View File

@ -1,7 +1,7 @@
{include file='documentHeader'} {include file='documentHeader'}
<head> <head>
<title>{$room} - {lang}chat.general.title{/lang} - {PAGE_TITLE|language}</title> <title>{$room} - {lang}chat.global.title{/lang} - {PAGE_TITLE|language}</title>
{include file='headInclude' sandbox=false} {include file='headInclude' sandbox=false}
{include file='javascriptInclude' application='chat'} {include file='javascriptInclude' application='chat'}
@ -10,14 +10,14 @@
(function ($, window) { (function ($, window) {
$(function(){ $(function(){
WCF.Language.addObject({ WCF.Language.addObject({
'chat.general.ban': '{lang}chat.general.ban{/lang}', 'chat.global.ban': '{lang}chat.global.ban{/lang}',
'chat.general.closePrivateChannel': '{lang}chat.general.closePrivateChannel{/lang}', 'chat.global.closePrivateChannel': '{lang}chat.global.closePrivateChannel{/lang}',
'chat.general.closeTopic': '{lang}chat.general.closeTopic{/lang}', 'chat.global.closeTopic': '{lang}chat.global.closeTopic{/lang}',
'chat.general.notify.title': '{lang}chat.general.notify.title{/lang}', 'chat.global.notify.title': '{lang}chat.global.notify.title{/lang}',
'chat.general.privateChannelTopic': '{lang}chat.general.privateChannelTopic{/lang}', 'chat.global.privateChannelTopic': '{lang}chat.global.privateChannelTopic{/lang}',
'chat.general.profile': '{lang}chat.general.profile{/lang}', 'chat.global.profile': '{lang}chat.global.profile{/lang}',
'chat.general.query': '{lang}chat.general.query{/lang}', 'chat.global.query': '{lang}chat.global.query{/lang}',
'chat.general.whisper': '{lang}chat.general.whisper{/lang}', 'chat.global.whisper': '{lang}chat.global.whisper{/lang}',
'chat.error.duplicateTab': '{lang}chat.error.duplicateTab{/lang}', 'chat.error.duplicateTab': '{lang}chat.error.duplicateTab{/lang}',
'chat.error.join': '{lang}chat.error.join{/lang}', 'chat.error.join': '{lang}chat.error.join{/lang}',
'chat.error.onMessageLoad': '{@"chat.error.onMessageLoad"|language|encodeJS}', 'chat.error.onMessageLoad': '{@"chat.error.onMessageLoad"|language|encodeJS}',
@ -61,7 +61,7 @@
be.bastelstu.Chat.init( be.bastelstu.Chat.init(
{$roomID}, {$roomID},
config, config,
new WCF.Template('{literal}{if $newMessageCount}({#$newMessageCount}) {/if}{$title} - {/literal}{"chat.general.title"|language|encodeJS} - {PAGE_TITLE|language|encodeJS}'), new WCF.Template('{literal}{if $newMessageCount}({#$newMessageCount}) {/if}{$title} - {/literal}{"chat.global.title"|language|encodeJS} - {PAGE_TITLE|language|encodeJS}'),
new WCF.Template('{@$messageTemplate|encodeJS}'), new WCF.Template('{@$messageTemplate|encodeJS}'),
new WCF.Template('{@$userTemplate|encodeJS}'), new WCF.Template('{@$userTemplate|encodeJS}'),
new WCF.Template('{@$userMenuTemplate|encodeJS}') new WCF.Template('{@$userMenuTemplate|encodeJS}')
@ -88,7 +88,7 @@
<div class="clearfix"> <div class="clearfix">
<div id="timsChatTopic" class="container containerPadding marginTop{if $room->topic|language === ''} empty{/if}"> <div id="timsChatTopic" class="container containerPadding marginTop{if $room->topic|language === ''} empty{/if}">
<span id="timsChatTopicCloser" class="icon icon16 icon-remove jsTooltip" title="{lang}chat.general.closeTopic{/lang}"></span> <span id="timsChatTopicCloser" class="icon icon16 icon-remove jsTooltip" title="{lang}chat.global.closeTopic{/lang}"></span>
<span class="topic">{$room->topic|language}</span> <span class="topic">{$room->topic|language}</span>
</div> </div>
@ -108,7 +108,7 @@
</nav> </nav>
<div id="timsChatMessageContainer0" class="tabMenuContent timsChatMessageContainer container containerPadding active" data-user-id="0"> <div id="timsChatMessageContainer0" class="tabMenuContent timsChatMessageContainer container containerPadding active" data-user-id="0">
<p class="error noJsOnly" style="display: none;">{lang}chat.general.noJs{/lang}</p> <p class="error noJsOnly" style="display: none;">{lang}chat.global.noJs{/lang}</p>
<ul></ul> <ul></ul>
</div> </div>
</div> </div>
@ -117,10 +117,10 @@
<fieldset> <fieldset>
<dl class="wide" id="timsChatInputContainer"> <dl class="wide" id="timsChatInputContainer">
<dt> <dt>
{lang}chat.general.message{/lang} {lang}chat.global.message{/lang}
</dt> </dt>
<dd> <dd>
<input id="timsChatInput" accesskey="w" type="text" class="inputText long" name="text" autocomplete="off" maxlength="{@CHAT_MAX_LENGTH}" disabled="disabled" placeholder="{lang}chat.general.submit.default{/lang}" /> <input id="timsChatInput" accesskey="w" type="text" class="inputText long" name="text" autocomplete="off" maxlength="{@CHAT_MAX_LENGTH}" disabled="disabled" placeholder="{lang}chat.global.submit.default{/lang}" />
<small class="innerError" style="display: none;">Lorem ipsum dolor sit amet.</small> <small class="innerError" style="display: none;">Lorem ipsum dolor sit amet.</small>
</dd> </dd>
</dl> </dl>
@ -135,35 +135,35 @@
<div id="timsChatOptions" class="marginTop"> <div id="timsChatOptions" class="marginTop">
<span id="timsChatSmileyPopupButton" class="button smallButtons"> <span id="timsChatSmileyPopupButton" class="button smallButtons">
<span class="icon icon16 icon-smile"></span> <span class="icon icon16 icon-smile"></span>
<span>{lang}chat.general.smilies{/lang}</span> <span>{lang}chat.global.smilies{/lang}</span>
</span> </span>
<nav class="jsMobileNavigation buttonGroupNavigation"> <nav class="jsMobileNavigation buttonGroupNavigation">
<ul class="buttonGroup"> <ul class="buttonGroup">
<li> <li>
<a id="timsChatAutoscroll" accesskey="d" class="button active timsChatToggle jsTooltip" title="{lang}chat.general.scroll{/lang}" data-status="1"> <a id="timsChatAutoscroll" accesskey="d" class="button active timsChatToggle jsTooltip" title="{lang}chat.global.scroll{/lang}" data-status="1">
<span class="icon icon16 icon-arrow-down"></span> <span class="icon icon16 icon-arrow-down"></span>
<span class="invisible">{lang}chat.general.scroll{/lang}</span> <span class="invisible">{lang}chat.global.scroll{/lang}</span>
</a> </a>
</li> </li>
<li> <li>
<a id="timsChatFullscreen" accesskey="f" class="button timsChatToggle jsTooltip" title="{lang}chat.general.fullscreen{/lang}" data-status="0"> <a id="timsChatFullscreen" accesskey="f" class="button timsChatToggle jsTooltip" title="{lang}chat.global.fullscreen{/lang}" data-status="0">
<span class="icon icon16 icon-fullscreen"></span> <span class="icon icon16 icon-fullscreen"></span>
<span class="invisible">{lang}chat.general.fullscreen{/lang}</span> <span class="invisible">{lang}chat.global.fullscreen{/lang}</span>
</a> </a>
</li> </li>
<li> <li>
<a id="timsChatNotify" accesskey="n" class="button timsChatToggle jsTooltip" title="{lang}chat.general.notify{/lang}" data-status="0"> <a id="timsChatNotify" accesskey="n" class="button timsChatToggle jsTooltip" title="{lang}chat.global.notify{/lang}" data-status="0">
<span class="icon icon16 icon-bell-alt"></span> <span class="icon icon16 icon-bell-alt"></span>
<span class="invisible">{lang}chat.general.notify{/lang}</span> <span class="invisible">{lang}chat.global.notify{/lang}</span>
</a> </a>
</li> </li>
{if MODULE_SMILEY && $smileyCategories|count} {if MODULE_SMILEY && $smileyCategories|count}
<li> <li>
<a id="timsChatSmilies" accesskey="e" class="button{if ENABLE_SMILIES_DEFAULT_VALUE} active{/if} timsChatToggle jsTooltip" title="{lang}chat.general.smilies{/lang}" data-status="{@ENABLE_SMILIES_DEFAULT_VALUE}"> <a id="timsChatSmilies" accesskey="e" class="button{if ENABLE_SMILIES_DEFAULT_VALUE} active{/if} timsChatToggle jsTooltip" title="{lang}chat.global.smilies{/lang}" data-status="{@ENABLE_SMILIES_DEFAULT_VALUE}">
<span class="icon icon16 icon-smile"></span> <span class="icon icon16 icon-smile"></span>
<span class="invisible">{lang}chat.general.smilies{/lang}</span> <span class="invisible">{lang}chat.global.smilies{/lang}</span>
</a> </a>
</li> </li>
{/if} {/if}
@ -183,15 +183,15 @@
{/if} {/if}
<li> <li>
<a id="timsChatClear" class="button jsTooltip" title="{lang}chat.general.clear{/lang}"> <a id="timsChatClear" class="button jsTooltip" title="{lang}chat.global.clear{/lang}">
<span class="icon icon16 icon-remove"></span> <span class="icon icon16 icon-remove"></span>
<span class="invisible">{lang}chat.general.clear{/lang}</span> <span class="invisible">{lang}chat.global.clear{/lang}</span>
</a> </a>
</li> </li>
<li> <li>
<a id="timsChatMark" class="button timsChatToggle jsTooltip" title="{lang}chat.general.mark{/lang}" data-status="0"> <a id="timsChatMark" class="button timsChatToggle jsTooltip" title="{lang}chat.global.mark{/lang}" data-status="0">
<span class="icon icon16 icon-check"></span> <span class="icon icon16 icon-check"></span>
<span class="invisible">{lang}chat.general.mark{/lang}</span> <span class="invisible">{lang}chat.global.mark{/lang}</span>
</a> </a>
</li> </li>
</ul> </ul>

View File

@ -28,7 +28,7 @@
{@$message.formattedUsername} {@$message.formattedUsername}
{if $message.type == $messageTypes.WHISPER} {if $message.type == $messageTypes.WHISPER}
<span class="icon icon16 icon-double-angle-right jsTooltip" title="{/literal}{lang}chat.general.whisper{/lang}{literal}" onclick="be.bastelstu.Chat.insertText('/whisper {if $message.receiver == WCF.User.userID}{$message.username.replace("\\", "\\\\").replace("'", "\\'")}{else}{$message.additionalData.receiverUsername.replace("\\", "\\\\").replace("'", "\\'")}{/if}, ', { append: false });"></span> <span class="icon icon16 icon-double-angle-right jsTooltip" title="{/literal}{lang}chat.global.whisper{/lang}{literal}" onclick="be.bastelstu.Chat.insertText('/whisper {if $message.receiver == WCF.User.userID}{$message.username.replace("\\", "\\\\").replace("'", "\\'")}{else}{$message.additionalData.receiverUsername.replace("\\", "\\\\").replace("'", "\\'")}{/if}, ', { append: false });"></span>
<span class="reciever">{$message.additionalData.receiverUsername}</span> <span class="reciever">{$message.additionalData.receiverUsername}</span>
{/if} {/if}
</span> </span>

View File

@ -1,5 +1,5 @@
<fieldset id="timsChatUserListContainer"> <fieldset id="timsChatUserListContainer">
<legend>{lang}chat.general.users{/lang}</legend> <legend>{lang}chat.global.users{/lang}</legend>
<div id="timsChatUserList"> <div id="timsChatUserList">
<ul class="sidebarNestedCategoryList"> <ul class="sidebarNestedCategoryList">
@ -7,13 +7,13 @@
</div> </div>
</fieldset> </fieldset>
<fieldset id="timsChatRoomListContainer"> <fieldset id="timsChatRoomListContainer">
<legend>{lang}chat.general.rooms{/lang}</legend> <legend>{lang}chat.global.rooms{/lang}</legend>
<div id="timsChatRoomList"> <div id="timsChatRoomList">
<ul class="sidebarNestedCategoryList"> <ul class="sidebarNestedCategoryList">
</ul> </ul>
</div> </div>
<div class="marginTop"> <div class="marginTop">
<a id="timsChatRoomListReloadButton" class="button small jsOnly">{lang}chat.general.forceRefresh{/lang}</a> <a id="timsChatRoomListReloadButton" class="button small jsOnly">{lang}chat.global.forceRefresh{/lang}</a>
</div> </div>
</fieldset> </fieldset>

View File

@ -1,8 +1,8 @@
{literal} {literal}
<ul data-user-id="{$userID}"> <ul data-user-id="{$userID}">
<li><a class="jsTimsChatUserMenuWhisper">{lang}chat.general.whisper{/lang}</a></li> <li><a class="jsTimsChatUserMenuWhisper">{lang}chat.global.whisper{/lang}</a></li>
<li><a class="jsTimsChatUserMenuQuery">{lang}chat.general.query{/lang}</a></li> <li><a class="jsTimsChatUserMenuQuery">{lang}chat.global.query{/lang}</a></li>
<li><a class="jsTimsChatUserMenuBan">{lang}chat.general.ban{/lang}</a></li> <li><a class="jsTimsChatUserMenuBan">{lang}chat.global.ban{/lang}</a></li>
<li><a href="{$link}" class="userLink" data-user-id="{$userID}">{lang}chat.general.profile{/lang}</a></li> <li><a href="{$link}" class="userLink" data-user-id="{$userID}">{lang}chat.global.profile{/lang}</a></li>
</ul> </ul>
{/literal} {/literal}