User:Monchoman45/ChatHacks.js/i18n.js

/* * i18n for User:Monchoman45/ChatHacks.js * Please suggest new translations or corrections to translations on my talk page (User talk:Monchoman45). */

switch(wgUserLanguage) { case 'en': default: var i18n = { 'activity': 'Activity - $1 chat', 'afk': 'AFK', 'away': 'You are now away.', 'back': 'You are no longer away.', 'clear': 'Clear', 'cleared': 'Window cleared.', 'commands': 'Commands: $1', 'coppa': '- You must be 13 or older to legally have an account on Wikia.', 'demodded': '$1 was demodded.', 'emote': 'Emote', 'erruser': '$1 error: User must be specified', 'errroom': '$1 error: Room id must be specified', 'example': 'Example', 'exampleuser': 'ExampleUser', 'help': 'Help - /$1: $2', 'help-afk': 'Toggles your away status.\n$1: /afk ', 'help-me': 'Emote yourself. Similar to IRC\'s /me.\n$1: /me likes chat hacks ', 'help-nc': 'Link your message to uncyclopedia:Nobody cares.\n$1: /nc This is totally important ', 'help-clear': 'Clears the currently open chat window.\n$1: /clear ', 'help-room': 'Invokes a private room.\nNames must be separated by a pipe (|).\n$1: /room $2 ', 'help-mod': 'Gives the specified user chat mod status.\n$1: /mod $2 ', 'help-block': 'Blocks the specified user from private chatting you.\n$1: /block $2 ', 'help-unblock': 'Unblocks the specified user from private chatting you.\n$1: /unblock $2 ', 'help-kickban': 'Kickbans the specified user.\n$1: /kickban $2 ', 'help-join': 'Joins the chat room with the specified id.\n$1: /join 10 ', 'help-part': 'Leaves the current chat room.\nAn id can also be specified for leaving a particular chat room.\n$1: /part ', 'help-id': 'Returns the room id of the room you\'re in.\n$1: /id ', 'help-help': 'Displays information about other commands.\n$1: /help ', 'id': 'id', 'init': 'Chat hacks initialized.\nTo report errors or bugs, or to suggest features or translations, leave a message at w:c:User talk:Monchoman45</a>.', 'nobodycares': 'Nobody cares', 'nohelp': 'No help data found for /$1', 'notbanned': '$1 is not banned.', 'notmod': '$1 is not a mod.', 'pingphrases': 'Ping phrases', 'pingphrasestooltip': 'If a user says one of these phrases (case insensitive), you will be pinged', 'subcoms': 'Subcommands', 'subdirs': 'Subdirectories', 'unbanned': '$1 was unbanned.', 'uncyc': 'uncyclopedia:Nobody cares' }		break; }

//Add a 'go afk' button and a 'clear chat' button $('#Write').append('' + i18n['afk'] + '</a>' + i18n['clear'] + '</a>'); $('#ChatHeader .wordmark').append(' ' + i18n['pingphrases'] + ' <span title="' + i18n['pingphrasestooltip'] + '">(?) <textarea id="pings" style="display:none;">' + ((readCookie('pingphrases')) ? readCookie('pingphrases').split('\\n').join('\n') : wgUserName) + ' '); //Add an interface for adding pings document.getElementById('pingspan').onmouseover = function(event) {document.getElementById('pings').style.display = 'block';} document.getElementById('pingspan').onmouseout = function(event) {document.getElementById('pings').style.display = 'none'; createCookie('pingphrases', document.getElementById('pings').value.split('\n').join('\\n'), 99999);} mainRoom.inlineAlert(i18n['init']);