Login
Click Me

Languages

You can place any of the following parameters into your config/languages/yourlanguage.js file to overwrite default values.

To activate this new language file, change "Language" field under "Option" in the admin backend for the "BlastChat Config" extension. If you require more sophisticated approach (like multiple languages, etc.) you will need to activate and adjust "bc_getLanguageFile" method in the config/api.blastchat.php file

You can overwrite default definitions by placing following into your yourlanguage.js file:

bcDataConfig.language.floodWarning = "slow down";
bcDataConfig.language.floodAutoKickBanReason = "Flood detected, you have been kicked and banned from the room";
bcDataConfig.language.floodAutoKickBanDurationReason = "Flood detected, you have been kicked from room and banned for [s] minutes";
bcDataConfig.language.messageMaxLinesWarning = "too many lines";
bcDataConfig.language.buttonEmoticonsLabel = "Emoticons";
bcDataConfig.language.buttonEmoticonsTooltip = "Emoticons";
bcDataConfig.language.buttonSoundsLabel = "Sounds";
bcDataConfig.language.buttonSoundsTooltip = "Sounds";
bcDataConfig.language.buttonFontLabel = "Font";
bcDataConfig.language.buttonFontTooltip = "Set your text font style";
bcDataConfig.language.buttonFontColorTooltip = "Set text font color";
bcDataConfig.language.buttonFontColorPickerLabel = "Color";
bcDataConfig.language.buttonFontColorPickerTooltip = "Select color";
bcDataConfig.language.buttonFontSizeTooltip = "Set text font size (number between 9 and 36 or empty fo default)";
bcDataConfig.language.buttonFontBoldLabel = "Bold";
bcDataConfig.language.buttonFontBoldTooltip = "Set text font style to Bold";
bcDataConfig.language.buttonFontItalicLabel = "Italic";
bcDataConfig.language.buttonFontItalicTooltip = "Set text font style to Italic";
bcDataConfig.language.buttonFontUnderlineLabel = "Underline";
bcDataConfig.language.buttonFontUnderlineTooltip = "Set text font style to Underline";
bcDataConfig.language.buttonColorsLabel = "Colors";
bcDataConfig.language.buttonColorsTooltip = "Set text color";
bcDataConfig.language.buttonSettingsLabel = "Settings";
bcDataConfig.language.buttonSettingsTooltip = "Settings";
bcDataConfig.language.buttonClearLabel = "Clear";
bcDataConfig.language.buttonClearTooltip = "Clear messages";
bcDataConfig.language.buttonRoomSoundOnLabel = "Sound ON";
bcDataConfig.language.buttonRoomSoundOnTooltip = "Turn sound ON";
bcDataConfig.language.buttonRoomSoundOffLabel = "Sound OFF";
bcDataConfig.language.buttonRoomSoundOffTooltip = "Turn sound OFF";
bcDataConfig.language.buttonHistoryLabel = "History";
bcDataConfig.language.buttonHistoryTooltip = "Load extra history";
bcDataConfig.language.buttonSendLabel = "Send";
bcDataConfig.language.buttonSendTooltip = "Send message";
bcDataConfig.language.buttonDeleteLabel = "Delete";
bcDataConfig.language.buttonDeleteTooltip = "Delete message";
bcDataConfig.language.buttonDetachLabel = "Pop-out";
bcDataConfig.language.buttonDetachTooltip = "Pop-out";
bcDataConfig.language.buttonCloseLabel = "Close";
bcDataConfig.language.buttonCloseTooltip = "Close";
bcDataConfig.language.buttonMinimizeLabel = "Minimize";
bcDataConfig.language.buttonMinimizeTooltip = "Minimize";
bcDataConfig.language.buttonHomeLabel = "Home";
bcDataConfig.language.buttonHomeTooltip = "Navigate to Home";

bcDataConfig.language.buttonImageLinkTooltip = "ImageLink";
bcDataConfig.language.buttonWebLinkLabel = "WebLink";
bcDataConfig.language.buttonWebLinkTooltip = "WebLink";

bcDataConfig.language.buttonMessagesLabel = "Messages";
bcDataConfig.language.buttonMessagesTooltip = "Messages";
bcDataConfig.language.buttonRoomsLabel = "Rooms";
bcDataConfig.language.buttonRoomsTooltip = "Available rooms";
bcDataConfig.language.buttonRoomUsersTooltip = "Users in the room";
bcDataConfig.language.buttonRoomFriendsTooltip = "Friends in the room";
bcDataConfig.language.buttonRoomMembersTooltip = "Members in the room";
bcDataConfig.language.buttonRoomGuestsTooltip = "Guests in the room";
bcDataConfig.language.buttonExitLabel = "Exit";
bcDataConfig.language.buttonExitTooltip = "Exit";
bcDataConfig.language.buttonUsersLabel = "Users";
bcDataConfig.language.buttonUsersTooltip = "Online users";
bcDataConfig.language.buttonFriendsLabel = "Friends";
bcDataConfig.language.buttonFriendsTooltip = "Online friends";
bcDataConfig.language.buttonMembersLabel = "Members";
bcDataConfig.language.buttonMembersTooltip = "Online members";
bcDataConfig.language.buttonGuestsLabel = "Guests";
bcDataConfig.language.buttonGuestsTooltip = "Online guests";

bcDataConfig.language.dicerollRoll = "rolls";
bcDataConfig.language.dicerollAttack = "attacks with";
bcDataConfig.language.dicerollDefend = "defends with";
bcDataConfig.language.dicerollErrorTooManySets = "Too many roll sets, max 5";
bcDataConfig.language.dicerollErrorTooManyDiceRoll = "Too many dice in a roll, max 10";
bcDataConfig.language.dicerollErrorTooManyCommands = "Too many chained commands, max 5";
bcDataConfig.language.dicerollErrorInvalidCommand = "Invalid command";

/* System errors */

bcDataConfig.language.errorDisabledCookies = "<div title='You must activate cookies for this website' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Cookies disabled</span></div>";

bcDataConfig.language.errorAccessDeniedMissingAuthenticationData = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - missing authentication data</span></div>";

bcDataConfig.language.errorAccessDeniedMissingWebsiteData = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - missing website data</span></div>";

bcDataConfig.language.errorAccessDeniedFailedAuthentication = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - failed authentication</span></div>";

bcDataConfig.language.errorAccessDeniedNoAccessPrivileges = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - no access privileges</span></div>";

bcDataConfig.language.errorAccessDeniedBanned = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - banned</span></div>";

bcDataConfig.language.errorAccessDeniedOldCode = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - old authentication data, reload page</span></div>";

bcDataConfig.language.errorAccessDeniedIncorrectKey = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - incorrect authentication key</span></div>";

bcDataConfig.language.errorAccessDeniedWebsiteMissmatch = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access denied - website URL mismatch</span></div>";

bcDataConfig.language.errorKickedFromSystem = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access revoked - kicked</span></div>";
 

/* System errors for Bar presentation */

bcDataConfig.language.errorAccessDeniedMissingAuthenticationDataBar = "<div title='Missing authentication data' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Access denied</span></div>";

bcDataConfig.language.errorAccessDeniedMissingWebsiteDataBar = "<div title='Missing website data' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Access denied</span></div>";

bcDataConfig.language.errorAccessDeniedFailedAuthenticationBar = "<div title='Failed authentication' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Access denied</span></div>";

bcDataConfig.language.errorAccessDeniedNoAccessPrivilegesBar = "<div title='No access privileges' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Access denied</span></div>";

bcDataConfig.language.errorAccessDeniedBannedBar = "<div title='No access privileges' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Banned</span></div>";

bcDataConfig.language.errorAccessDeniedOldCodeBar = "<div title='Old authentication data' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Reload page</span></div>";

bcDataConfig.language.errorAccessDeniedIncorrectKeyBar = "<div title='Incorrect authentication key' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Access denied</span></div>";

bcDataConfig.language.errorAccessDeniedWebsiteMissmatchBar = "<div title='Website URL mismatch' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIconBar bcIconWarningBar'></img><span>Access denied</span></div>";

bcDataConfig.language.errorKickedFromSystemBar = "<div title='You were kicked from the chat' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Kicked</span></div>";


/* Room errors */

bcDataConfig.language.errorSubscribeDeniedIncorrectSubscription = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Room acces denied</span></div>";

bcDataConfig.language.errorSubscribeDeniedWebsiteMismatch = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Room access denied - room belongs to different website</span></div>";

bcDataConfig.language.errorSubscribeDeniedFailedSubscription = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Room access denied - failed to subscribe</span></div>";

bcDataConfig.language.errorSubscribeDeniedBanned = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Room access denied - banned</span></div>";

bcDataConfig.language.errorPublishDeniedWebsiteMismatch = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Message denied - room belongs to different website</span></div>";

bcDataConfig.language.errorPublishDeniedIncorrectSubscription = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Message denied - invalid subscription</span></div>";

bcDataConfig.language.errorPublishDeniedFailedSubscription = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Message denied - invalid subscription</span></div>"

bcDataConfig.language.errorKickedFromRoom = "<div title='' style='text-align: center;'><img src='https://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/resources/blank.gif' class='bcIcon bcIconWarning'></img><span>Access revoked - kicked</span></div>";