1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Adding language-items to be used in GUI

… and actually use them!
This commit is contained in:
Tim Düsterhus 2011-12-04 23:00:17 +01:00
parent 86491edea1
commit ca2d596d31
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@
</category> </category>
<category name="wcf.chat"> <category name="wcf.chat">
<item name="wcf.chat.title"><![CDATA[Chat]]></item> <item name="wcf.chat.title"><![CDATA[Chat]]></item>
<item name="wcf.chat.protocol"><![CDATA[Protokoll]]></item>
<item name="wcf.chat.rooms"><![CDATA[Räume]]></item>
<item name="wcf.chat.copyright"><![CDATA[<a href="http://timwolla.wbbaddons.de">Chat entwickelt von TimWolla</a>]]></item> <item name="wcf.chat.copyright"><![CDATA[<a href="http://timwolla.wbbaddons.de">Chat entwickelt von TimWolla</a>]]></item>
</category> </category>
<category name="wcf.chat.message"> <category name="wcf.chat.message">

View File

@ -174,7 +174,7 @@
<nav class="tabMenu"> <nav class="tabMenu">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a title="{lang}wcf.chat.title{/lang}" href="{link controller="Chat"}{/link}">{lang}wcf.chat.title{/lang}</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a title="{lang}wcf.chat.title{/lang}" href="{link controller="Chat"}{/link}">{lang}wcf.chat.title{/lang}</a></li>
<li class="ui-state-default ui-corner-top ui-tabs-selected"><a title="Log" href="{link controller="Chat" isRaw="true"}Log{/link}">Protokoll</a></li> <li class="ui-state-default ui-corner-top ui-tabs-selected"><a title="Log" href="{link controller="Chat" isRaw="true"}Log{/link}">{lang}wcf.chat.protocol{/lang}</a></li>
</ul> </ul>
</nav> </nav>
<div id="chatbox" class="border tabMenuContent ui-tabs-panel ui-widget-content ui-corner-bottom"> <div id="chatbox" class="border tabMenuContent ui-tabs-panel ui-widget-content ui-corner-bottom">
@ -183,7 +183,7 @@
<div class="first column"> <div class="first column">
<div class="chatSidebar left"> <div class="chatSidebar left">
<div id="chatChannelList"> <div id="chatChannelList">
<h1 data-menu-item="timwolla.wcf.chat.channellist" class="menuHeader activeMenuItem">Channel</h1> <h1 data-menu-item="timwolla.wcf.chat.channellist" class="menuHeader activeMenuItem">{lang}wcf.chat.rooms{/lang}</h1>
<div class="sidebarMenuGroup"> <div class="sidebarMenuGroup">
<ul> <ul>
{foreach from=$rooms item='roomListRoom'} {foreach from=$rooms item='roomListRoom'}