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

Add object to WCF.Language

This commit is contained in:
Tim Düsterhus 2012-01-21 17:47:12 +01:00
parent 331bcf3049
commit bab193fe04

View File

@ -198,10 +198,12 @@
animations: {CHAT_ANIMATIONS}, animations: {CHAT_ANIMATIONS},
maxTextLength: {CHAT_LENGTH} maxTextLength: {CHAT_LENGTH}
} }
WCF.Language.add('wcf.chat.query', '{lang}wcf.chat.query{/lang}'); WCF.Language.addObject({
WCF.Language.add('wcf.chat.kick', '{lang}wcf.chat.kick{/lang}'); 'wcf.chat.query': '{lang}wcf.chat.query{/lang}'),
WCF.Language.add('wcf.chat.ban', '{lang}wcf.chat.ban{/lang}'); 'wcf.chat.kick': '{lang}wcf.chat.kick{/lang}'),
WCF.Language.add('wcf.chat.profile', '{lang}wcf.chat.profile{/lang}'); 'wcf.chat.ban': '{lang}wcf.chat.ban{/lang}'),
'wcf.chat.profile': '{lang}wcf.chat.profile{/lang}'
});
{event name='shouldInit'} {event name='shouldInit'}
// Boot the that // Boot the that
TimWolla.WCF.Chat.init(); TimWolla.WCF.Chat.init();