User:Pixeli/ChatHacks.js/i18n.js

/* By Monchoman45, finnish translation by me */ switch(wgUserLanguage) { case 'fi': var i18n = { 'activity': 'Aktiivisuus - $1 chat', 'afk': 'AFK', 'away': 'Olet nyt AFK.', 'back': 'Et ole enää AFK.', 'clear': 'Tyhjennä', 'cleared': 'Ikkuna tyhjennetty.', 'commands': 'Komennot: $1', 'coppa': '- Sinun täytyy olla yli 13-vuotias jotta saat laillisesti omistaa Wikia-tunnuksen.', 'demodded': '$1 ei ole enää Chat-valvoja.', 'emote': 'Emote', 'erruser': '$1 virhe: Käyttäjä täytyy määritellä', 'errroom': '$1 virhe: Huone id täytyy olla määritetty', 'example': 'Esimerkki', 'exampleuser': 'EsimerkkiKäyttäjä', 'help': 'Ohje - /$1: $2', 'help-afk': 'Laittaa AFK-statuksen.\n$1: /afk ', 'help-me': 'Samantapainen kuin pikaviestipalveluiden /me.\n$1: /me pidän ChatHack:stä ', 'help-nc': 'Linkitä viestisi sivulle uncyclopedia:Nobody cares.\n$1: /nc Tämä on todella tärkeää ', 'help-clear': 'Tyhjentää chat-ikkunan.\n$1: /clear ', 'help-room': 'Invokes a private room.\nNames must be separated by a hashtag (#).\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': 'ChatHacks käynnistetty.\nIlmoittaaksesi virheitä tai bugeja, tai ehdottaaksesi toimintoja ja käännöksiä, jätä viesti w:c:User talk:Monchoman45</a>.', 'nobodycares': 'Nobody cares', 'nohelp': 'No help data found for /$1', 'notbanned': '$1 ei ole bannittu.', 'notmod': '$1 ei ole Chat-valvoja.', 'pingphrases': 'Ilmaisut', 'pingphrasestooltip': 'Jos käyttäjä sanoo jonkun näistä, kuulet piippauksen', 'subcoms': 'Subcommands', 'subdirs': 'Subdirectories', 'unbanned': '$1 was unbanned.', 'uncyc': 'w:c:uncyclopedia:Nobody cares' }

break; 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: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/afk\')">/afk ', 'help-me': 'Emote yourself. Similar to IRC\'s /me.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/me likes chat hacks\')">/me likes chat hacks ', 'help-nc': 'Link your message to uncyclopedia:Nobody cares</a>.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/nc This is totally important\')">/nc This is totally important ', 'help-clear': 'Clears the currently open chat window.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/clear\')">/clear ', 'help-room': 'Invokes a private room.\nNames must be separated by a hashtag (#).\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/room $2\')">/room $2 ', 'help-mod': 'Gives the specified user chat mod status.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/mod $2\')">/mod $2 ', 'help-block': 'Blocks the specified user from private chatting you.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/block $2\')">/block $2 ', 'help-unblock': 'Unblocks the specified user from private chatting you.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/unblock $2\')">/unblock $2 ', 'help-kickban': 'Kickbans the specified user.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/kickban $2\')">/kickban $2 ', 'help-join': 'Joins the chat room with the specified id.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/join 10\')">/join 10 ', 'help-part': 'Leaves the current chat room.\nAn id can also be specified for leaving a particular chat room.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/part\')">/part ', 'help-id': 'Returns the room id of the room you\'re in.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/id\')">/id ', 'help-help': 'Displays information about other commands.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/help\')">/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': 'w:c: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']);