Mercurial > wow > emfor1
changeset 23:099a20159243 v4.2d FIN
Merge 4th try
| author | EmFor |
|---|---|
| date | Sun, 14 Aug 2011 17:27:33 +0200 |
| parents | 68032715bc3c (current diff) 1aeab8164ef5 (diff) |
| children | 85bba836578e |
| files | .hgtags CensusPlus.wuuver |
| diffstat | 16 files changed, 1924 insertions(+), 1786 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sun Aug 14 15:23:41 2011 +0000 +++ b/.hgignore Sun Aug 14 17:27:33 2011 +0200 @@ -1,1 +1,4 @@ -glob:nppBackup/* +syntax: glob +nppBackup/* +*.wuuver +Changelog-*.txt
--- a/.pkgmeta Sun Aug 14 15:23:41 2011 +0000 +++ b/.pkgmeta Sun Aug 14 17:27:33 2011 +0200 @@ -1,5 +1,14 @@ package-as: CensusPlus -ignore: - - .pkgmeta - - .docmeta +enable-nolib-creation: no + +externals: + libs/LibStub: + url: svn://svn.wowace.com/wow/libstub/mainline/trunk + tag: latest + libs/CallbackHandler-1.0: + url: svn://svn.wowace.com/wow/callbackhandler/mainline/trunk/CallbackHandler-1.0 + tag: latest + libs/LibWho: + url: svn://svn.wowace.com/wow/wholib/mainline/trunk + tag: latest
--- a/CensusButton.lua Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusButton.lua Sun Aug 14 17:27:33 2011 +0200 @@ -1,23 +1,23 @@ ---[[ - CensusPlus for World of Warcraft(tm). - - Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com - - License: - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program(see GLP.txt); if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -]] +--[[ + CensusPlus for World of Warcraft(tm). + + Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com + + License: + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program(see GLP.txt); if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]] local init = false; @@ -46,7 +46,7 @@ end end -function CensusButton_UpdatePosition() +function CensusButton_UpdatePosition() CensusButtonFrame:SetPoint( "TOPLEFT", "Minimap", @@ -62,11 +62,11 @@ end end -function CensusPlusButton_OnClick( arg1, arg2 ) +function CensusPlusButton_OnClick( arg1 ) if ( arg1 == "LeftButton" ) then CensusButton_OnClick(); else - ToggleDropDownMenu( 1, nil, CP_ButtonDropDown, "CensusButtonFrame", 20, 20 ); + ToggleDropDownMenu( 1, nil, CP_ButtonDropDown, "CensusButtonFrame", 20, 20 ); end end @@ -75,24 +75,24 @@ local info; - if (g_IsCensusPlusInProgress == true) then - if( g_CensusPlusManuallyPaused == true ) then + if (g_IsCensusPlusInProgress == true) then + if( g_CensusPlusManuallyPaused == true ) then info = { text = CENSUSPlus_UNPAUSE; func = CensusPlus_Take_OnClick; }; - else + else info = { text = CENSUSPlus_PAUSE; func = CensusPlus_Take_OnClick; }; - end - else + end + else info = { text = CENSUSPlus_TAKE; func = CensusPlus_Take_OnClick; }; - end + end UIDropDownMenu_AddButton(info, 1); info = { @@ -103,13 +103,25 @@ info = { text = CENSUSPlus_CANCEL; - func = CensusPlus_CloseDropDown; + func = CensusPlus_CloseDropDown; }; UIDropDownMenu_AddButton(info, 1); end - - -function CensusPlus_CloseDropDown() - CloseDropDownMenus(); + + +function CensusPlus_CloseDropDown() + CloseDropDownMenus(); +end +function CensusPlus_Button_OnMouseDown( self, arg1 ) + if ( ( ( not CensusButtonFrame.isLocked ) or ( CensusButtonFrame.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then + CensusButtonFrame:StartMoving(); + CensusButtonFrame.isMoving = true; + end +end +function CensusPlus_Button_OnClick( self, arg1, arg2 ) + if( not CensusButtonFrame.isMoving ) then + CensusPlusButton_OnClick(arg1, arg2); + PlaySound("igMainMenuOptionCheckBoxOn"); + end end \ No newline at end of file
--- a/CensusButton.xml Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusButton.xml Sun Aug 14 17:27:33 2011 +0200 @@ -44,29 +44,18 @@ <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> <Scripts> <OnLoad> - this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); + self:RegisterForClicks("LeftButtonUp", "RightButtonUp"); </OnLoad> - <OnClick> - if( not CensusButtonFrame.isMoving ) then - CensusPlusButton_OnClick(arg1, arg2); - PlaySound("igMainMenuOptionCheckBoxOn"); - end - </OnClick> - <OnMouseUp> + <OnClick function="CensusPlus_Button_OnClick" /> + <OnMouseUp> if ( CensusButtonFrame.isMoving ) then CensusButtonFrame:StopMovingOrSizing(); CensusButtonFrame.isMoving = false; end </OnMouseUp> - <OnMouseDown> - if ( ( ( not CensusButtonFrame.isLocked ) or ( CensusButtonFrame.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then - CensusButtonFrame:StartMoving(); - CensusButtonFrame.isMoving = true; - end - </OnMouseDown> + <OnMouseDown function="CensusPlus_Button_OnMouseDown" /> <OnEnter> GameTooltip_SetDefaultAnchor(GameTooltip, UIParent); -<!-- CENSUS_BUTTON_TOOLTIP="test"; --> GameTooltip:SetText(CENSUS_BUTTON_TOOLTIP); </OnEnter> <OnLeave> @@ -77,15 +66,15 @@ </Frames> <Scripts> <OnLoad> - this:RegisterEvent("VARIABLES_LOADED"); + self:RegisterEvent("VARIABLES_LOADED"); </OnLoad> <OnEvent> CensusButton_Init(); </OnEvent> <OnHide> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnHide> </Scripts>
--- a/CensusPlayerList.lua Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusPlayerList.lua Sun Aug 14 17:27:33 2011 +0200 @@ -1,296 +1,302 @@ ---[[ - CensusPlus for World of Warcraft(tm). - - Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com - - License: - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program(see GLP.txt); if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -]] - - ------------------------------------------------------------------------------------- --- --- CensusPlus --- A WoW UI customization by Cooper Sellers --- --- ------------------------------------------------------------------------------------- - -local g_PlayerList = {}; -local g_PlayerLookupTable = {}; -local CensusPlus_NumPlayerButtons = 20; -local g_MaxNumListed = 1000; - -function CensusPlus_ShowPlayerList() - CP_PlayerListWindow:Show(); -end - -function CensusPlus_PlayerListOnShow() - - debugprofilestart(); - - local guildKey = nil; - local raceKey = nil; - local classKey = nil; - local levelKey = nil; - - - -- - -- Clear our character list - -- - CensusPlus_ClearPlayerList(); - - -- - -- Get realm and faction - -- - local realmName = g_CensusPlusLocale .. GetCVar("realmName"); - if( realmName == nil ) then - return; - end - - local factionGroup = UnitFactionGroup("player"); - if( factionGroup == nil ) then - return; - end - - - -- - -- Has the user made any selections? - -- - if (g_GuildSelected ~= nil ) then - guildKey = g_GuildSelected; - end - if (g_RaceSelected > 0) then - local thisFactionRaces = CensusPlus_GetFactionRaces(factionGroup); - raceKey = thisFactionRaces[g_RaceSelected]; - end - if (g_ClassSelected > 0) then - local thisFactionClasses = CensusPlus_GetFactionClasses(factionGroup); - classKey = thisFactionClasses[g_ClassSelected]; - end - if (g_LevelSelected > 0 or g_LevelSelected < 0) then - levelKey = g_LevelSelected; - end - - debugprofilestart(); - - CensusPlus_ForAllCharacters( realmName, factionGroup, raceKey, classKey, guildKey, levelKey, CensusPlus_AddPlayerToList); - - if( CensusPlus_EnableProfiling ) then - CensusPlus_Msg( "PROFILE: Time to do calcs 1 " .. debugprofilestop() / 1000000000 ); - debugprofilestart(); - end - - - -- - -- Build our list - -- - CensusPlus_UpdatePlayerListButtons(); - - local totalCharactersText = format(CENSUSPlus_TOTALCHAR, table.getn( g_PlayerList ) ); - if( table.getn( g_PlayerList ) == g_MaxNumListed ) then - totalCharactersText = totalCharactersText .. " -- " .. CENSUSPlus_MAXXED; - end - - CensusPlayerListCount:SetText(totalCharactersText); - -end - ----------------------------------------------------------------------------------- --- --- Predicate function which can be used to compare two characters for sorting --- ---------------------------------------------------------------------------------- -local function CharacterPredicate(lhs, rhs) - -- - -- nil references are always less than - -- - if (lhs == nil) then - if (rhs == nil) then - return false; - else - return true; - end - elseif (rhs == nil) then - return false; - end - -- - -- Sort by name - -- - if (lhs.m_name < rhs.m_name) then - return true; - elseif (rhs.m_name < lhs.m_name) then - return false; - end - - -- - -- Sort by level - -- - if (lhs.m_level < rhs.m_level) then - return true; - elseif (rhs.m_level < lhs.m_level) then - return false; - end - - -- - -- identical - -- - return false; -end - -local function CensusPlus_UpdatePlayerLookup( index, entry ) - -- - -- Have to update our table - -- - g_PlayerLookupTable[entry.m_name] = index; -end - - - ----------------------------------------------------------------------------------- --- --- Update the Player button contents --- ---------------------------------------------------------------------------------- -function CensusPlus_UpdatePlayerListButtons() - -- - -- Sort the list - -- - local size = table.getn(g_PlayerList); - if (size) then - table.sort(g_PlayerList, CharacterPredicate); - - table.foreach(g_PlayerList, CensusPlus_UpdatePlayerLookup ); - - end - - -- - -- Determine where the scroll bar is - -- - local offset = FauxScrollFrame_GetOffset( CensusPlusPlayerListScrollFrame ); - -- - -- Walk through all the rows in the frame - -- - local i = 1; - while( i <= CensusPlus_NumPlayerButtons ) do - -- - -- Get the index to the ad displayed in this row - -- - local iPlayer = i + offset; - -- - -- Get the button on this row - -- - local button = getglobal("CensusPlusPlayerButton"..i); - -- - -- Is there a valid Player on this row? - -- - if (iPlayer <= size) then - local player = g_PlayerList[iPlayer]; - -- - -- Update the button text - -- - button:Show(); - local textField = "CensusPlusPlayerButton"..i.."Name"; - if ( player.m_name == nil or player.m_name == "") then - getglobal(textField):SetText( "None" ); - else - getglobal(textField):SetText( player.m_name ); - end - - local textField = "CensusPlusPlayerButton"..i.."Level"; - if ( player.m_level == nil or player.m_level == "") then - getglobal(textField):SetText( "n/a" ); - else - getglobal(textField):SetText( player.m_level ); - end - - local textField = "CensusPlusPlayerButton"..i.."Class"; - if ( player.m_guild == nil or player.m_guild == "") then - getglobal(textField):SetText( "Unguilded" ); - else - getglobal(textField):SetText( player.m_guild ); - end - - local textField = "CensusPlusPlayerButton"..i.."Seen"; - if ( player.m_seen == nil or player.m_seen == "") then - getglobal(textField):SetText( "UNK" ); - else - getglobal(textField):SetText( player.m_seen ); - end - else - -- - -- Hide the button - -- - button:Hide(); - end - -- - -- Next row - -- - i = i + 1; - end - -- - -- Update the scroll bar - -- - FauxScrollFrame_Update(CensusPlusPlayerListScrollFrame, size, CensusPlus_NumPlayerButtons, CensusPlus_GUILDBUTTONSIZEY); -end - ----------------------------------------------------------------------------------- --- --- Find a characters in the g_PlayerList array by name --- ---------------------------------------------------------------------------------- -function CensusPlus_PlayerButton_OnClick() - local id = this:GetID(); - local offset = FauxScrollFrame_GetOffset( CensusPlusPlayerListScrollFrame ); - local newSelection = id + offset; - - local player = g_PlayerList[newSelection]; - FriendsFrame_ShowDropdown(player.m_name, 1); -end - ----------------------------------------------------------------------------------- --- --- Clear all the characters --- ---------------------------------------------------------------------------------- -function CensusPlus_ClearPlayerList() - g_PlayerList = nil; - g_PlayerList = {}; - - g_PlayerLookupTable = nil; - g_PlayerLookupTable = {}; -end - ----------------------------------------------------------------------------------- --- --- Add a character to the list --- ---------------------------------------------------------------------------------- -function CensusPlus_AddPlayerToList( name, level, guild, raceName, className, lastseen ) - local size = table.getn( g_PlayerList ); - - if( size >= g_MaxNumListed ) then - return; - end - - local index = g_PlayerLookupTable[name]; - if (index == nil) then - local size = table.getn( g_PlayerList ); - index = size + 1; - g_PlayerList[index] = { m_name = name, m_level = level, m_guild = guild, m_seen = lastseen }; - g_PlayerLookupTable[name] = index; - end -end - +--[[ + CensusPlus for World of Warcraft(tm). + + Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com + + License: + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program(see GLP.txt); if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]] + + +------------------------------------------------------------------------------------ +-- +-- CensusPlus +-- A WoW UI customization by Cooper Sellers +-- +-- +------------------------------------------------------------------------------------ + +local g_PlayerList = {}; +local g_PlayerLookupTable = {}; +local CensusPlus_NumPlayerButtons = 20; +local g_MaxNumListed = 1000; + +function CensusPlus_ShowPlayerList() + CP_PlayerListWindow:Show(); +end + +function CensusPlus_PlayerListOnShow() + + debugprofilestart(); + + local guildKey = nil; + local raceKey = nil; + local classKey = nil; + local levelKey = nil; + + + -- + -- Clear our character list + -- + CensusPlus_ClearPlayerList(); + + -- + -- Get realm and faction + -- + local realmName = g_CensusPlusLocale .. GetCVar("realmName"); + if( realmName == nil ) then + return; + end + + local factionGroup = UnitFactionGroup("player"); + if( factionGroup == nil ) then + return; + end + + + -- + -- Has the user made any selections? + -- + if (g_GuildSelected ~= nil ) then + guildKey = g_GuildSelected; + end + if (g_RaceSelected > 0) then + local thisFactionRaces = CensusPlus_GetFactionRaces(factionGroup); + raceKey = thisFactionRaces[g_RaceSelected]; + end + if (g_ClassSelected > 0) then + local thisFactionClasses = CensusPlus_GetFactionClasses(factionGroup); + classKey = thisFactionClasses[g_ClassSelected]; + end + if (g_LevelSelected > 0 or g_LevelSelected < 0) then + levelKey = g_LevelSelected; + end + + debugprofilestart(); + + CensusPlus_ForAllCharacters( realmName, factionGroup, raceKey, classKey, guildKey, levelKey, CensusPlus_AddPlayerToList); + + if( CensusPlus_EnableProfiling ) then + CensusPlus_Msg( "PROFILE: Time to do calcs 1 " .. debugprofilestop() / 1000000000 ); + debugprofilestart(); + end + + + -- + -- Build our list + -- + CensusPlus_UpdatePlayerListButtons(); + + local totalCharactersText = format(CENSUSPlus_TOTALCHAR, table.getn( g_PlayerList ) ); + if( table.getn( g_PlayerList ) == g_MaxNumListed ) then + totalCharactersText = totalCharactersText .. " -- " .. CENSUSPlus_MAXXED; + end + + CensusPlayerListCount:SetText(totalCharactersText); + +end + +---------------------------------------------------------------------------------- +-- +-- Predicate function which can be used to compare two characters for sorting +-- +--------------------------------------------------------------------------------- +local function CharacterPredicate(lhs, rhs) + -- + -- nil references are always less than + -- + if (lhs == nil) then + if (rhs == nil) then + return false; + else + return true; + end + elseif (rhs == nil) then + return false; + end + -- + -- Sort by name + -- + if (lhs.m_name < rhs.m_name) then + return true; + elseif (rhs.m_name < lhs.m_name) then + return false; + end + + -- + -- Sort by level + -- + if (lhs.m_level < rhs.m_level) then + return true; + elseif (rhs.m_level < lhs.m_level) then + return false; + end + + -- + -- identical + -- + return false; +end + +local function CensusPlus_UpdatePlayerLookup( index, entry ) + -- + -- Have to update our table + -- + g_PlayerLookupTable[entry.m_name] = index; +end + + + +---------------------------------------------------------------------------------- +-- +-- Update the Player button contents +-- +--------------------------------------------------------------------------------- +function CensusPlus_UpdatePlayerListButtons() + -- + -- Sort the list + -- + local size = table.getn(g_PlayerList); + if (size) then + table.sort(g_PlayerList, CharacterPredicate); + + table.foreach(g_PlayerList, CensusPlus_UpdatePlayerLookup ); + + end + + -- + -- Determine where the scroll bar is + -- + local offset = FauxScrollFrame_GetOffset( CensusPlusPlayerListScrollFrame ); + -- + -- Walk through all the rows in the frame + -- + local i = 1; + while( i <= CensusPlus_NumPlayerButtons ) do + -- + -- Get the index to the ad displayed in this row + -- + local iPlayer = i + offset; + -- + -- Get the button on this row + -- + local button = getglobal("CensusPlusPlayerButton"..i); + -- + -- Is there a valid Player on this row? + -- + if (iPlayer <= size) then + local player = g_PlayerList[iPlayer]; + -- + -- Update the button text + -- + button:Show(); + local textField = "CensusPlusPlayerButton"..i.."Name"; + if ( player.m_name == nil or player.m_name == "") then + getglobal(textField):SetText( "None" ); + else + getglobal(textField):SetText( player.m_name ); + end + + local textField = "CensusPlusPlayerButton"..i.."Level"; + if ( player.m_level == nil or player.m_level == "") then + getglobal(textField):SetText( "n/a" ); + else + getglobal(textField):SetText( player.m_level ); + end + + local textField = "CensusPlusPlayerButton"..i.."Class"; + if ( player.m_guild == nil or player.m_guild == "") then + getglobal(textField):SetText( "Unguilded" ); + else + getglobal(textField):SetText( player.m_guild ); + end + + local textField = "CensusPlusPlayerButton"..i.."Seen"; + if ( player.m_seen == nil or player.m_seen == "") then + getglobal(textField):SetText( "UNK" ); + else + getglobal(textField):SetText( player.m_seen ); + end + else + -- + -- Hide the button + -- + button:Hide(); + end + -- + -- Next row + -- + i = i + 1; + end + -- + -- Update the scroll bar + -- + FauxScrollFrame_Update(CensusPlusPlayerListScrollFrame, size, CensusPlus_NumPlayerButtons, CensusPlus_GUILDBUTTONSIZEY); +end + +---------------------------------------------------------------------------------- +-- +-- Find a characters in the g_PlayerList array by name +-- +--------------------------------------------------------------------------------- +function CensusPlus_PlayerButton_OnClick() + local id = this:GetID(); + local offset = FauxScrollFrame_GetOffset( CensusPlusPlayerListScrollFrame ); + local newSelection = id + offset; + + local player = g_PlayerList[newSelection]; + FriendsFrame_ShowDropdown(player.m_name, 1); +end + +---------------------------------------------------------------------------------- +-- +-- Clear all the characters +-- +--------------------------------------------------------------------------------- +function CensusPlus_ClearPlayerList() + g_PlayerList = nil; + g_PlayerList = {}; + + g_PlayerLookupTable = nil; + g_PlayerLookupTable = {}; +end + +---------------------------------------------------------------------------------- +-- +-- Add a character to the list +-- +--------------------------------------------------------------------------------- +function CensusPlus_AddPlayerToList( name, level, guild, raceName, className, lastseen ) + local size = table.getn( g_PlayerList ); + + if( size >= g_MaxNumListed ) then + return; + end + + local index = g_PlayerLookupTable[name]; + if (index == nil) then + local size = table.getn( g_PlayerList ); + index = size + 1; + g_PlayerList[index] = { m_name = name, m_level = level, m_guild = guild, m_seen = lastseen }; + g_PlayerLookupTable[name] = index; + end +end + +function CensusPlus_List_OnMouseDown( self, arg1 ) + if ( ( ( not self.isLocked ) or ( self.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then + self:StartMoving(); + self.isMoving = true; + end +end
--- a/CensusPlayerList.xml Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusPlayerList.xml Sun Aug 14 17:27:33 2011 +0200 @@ -70,7 +70,7 @@ </HighlightTexture> <Scripts> <OnLoad> - this:RegisterForClicks( "RightButtonUp"); + self:RegisterForClicks( "RightButtonUp"); </OnLoad> <OnClick> CensusPlus_PlayerButton_OnClick(); @@ -354,21 +354,16 @@ CensusPlus_PlayerListOnShow(); </OnShow> <OnMouseUp> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnMouseUp> - <OnMouseDown> - if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then - this:StartMoving(); - this.isMoving = true; - end - </OnMouseDown> + <OnMouseDown function="CensusPlus_List_OnMouseDown" /> <OnHide> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnHide> </Scripts>
--- a/CensusPlus.lua Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusPlus.lua Sun Aug 14 17:27:33 2011 +0200 @@ -33,7 +33,7 @@ -- EURO vs US localization problem workaround for common server names -- --------------------------------------------------------------------------------- -local g_InterfaceVersion = 30000; +local g_InterfaceVersion = 40000; g_CensusPlusLocale = "N/A"; -- Must read either US or EU g_CensusPlusTZOffset = -999; local g_LocaleSet = false; @@ -41,24 +41,27 @@ ---------------------------------------------------------------------------------- +--rm +-- guild to search (Extra button 'Take guild') +--local CensusPlus_MYGUILD = "The Last Journey"; +--local CensusPlus_MYGUILD = "Worgengrauen"; +CensusPlus_MYGUILD = "Flieht Ihr Narren"; +--------------------------------------------------------------------------------- -- -- Constants ---rm -local CensusPlus_MYGUILD = "The Last Journey"; -- Special guild to search ---------------------------------------------------------------------------------- -local CensusPlus_VERSION = "4.2.2"; -- version +local CensusPlus_VERSION = "5.0.2"; -- version local CensusPlus_MAXBARHEIGHT = 128; -- Length of blue bars -local CensusPlus_NUMGUILDBUTTONS = 10; -- How many guild buttons are on the UI? -local MAX_CHARACTER_LEVEL = 80; -- Maximum level a PC can attain +local CensusPlus_NUMGUILDBUTTONS = 10; -- How many guild buttons are on the UI? +local MAX_CHARACTER_LEVEL = 85; -- Maximum level a PC can attain --rm local MAX_LEVEL_DISPLAY = 255; -- Maximum level a PC can attain -local MAX_WHO_RESULTS = 45; -- Maximum number of who results the server will return +local MAX_WHO_RESULTS = 49; -- Maximum number of who results the server will return CensusPlus_GUILDBUTTONSIZEY = 16; -local CensusPlus_UPDATEDELAY = 5; -- Delay time between /who messages +local CensusPlus_UPDATEDELAY = 5; -- Delay time between /who messages local CP_MAX_TIMES = 50; -local g_ServerPrefix = ""; -- US VERSION!! ---local g_ServerPrefix = "EU-"; -- EU VERSION!! +local g_ServerPrefix = ""; -- formerly only US VERSION +--local g_ServerPrefix = "EU-"; -- EU VERSION automatically local wholib ---------------------------------------------------------------------------------- @@ -203,6 +206,9 @@ g_RaceClassList[CENSUSPlus_UNDEAD] = 27; g_RaceClassList[CENSUSPlus_DRAENEI] = 28; g_RaceClassList[CENSUSPlus_BLOODELF] = 29; +g_RaceClassList[CENSUSPlus_WORGEN] = 32; +g_RaceClassList[CENSUSPlus_GOBLIN] = 31; + g_TimeDatabase[CENSUSPlus_DRUID] = 0; g_TimeDatabase[CENSUSPlus_HUNTER] = 0; @@ -229,12 +235,14 @@ g_FactionCheck[CENSUSPlus_TROLL] = CENSUSPlus_HORDE; g_FactionCheck[CENSUSPlus_UNDEAD] = CENSUSPlus_HORDE; g_FactionCheck[CENSUSPlus_BLOODELF] = CENSUSPlus_HORDE; +g_FactionCheck[CENSUSPlus_GOBLIN] = CENSUSPlus_HORDE; g_FactionCheck[CENSUSPlus_DWARF] = CENSUSPlus_ALLIANCE; g_FactionCheck[CENSUSPlus_GNOME] = CENSUSPlus_ALLIANCE; g_FactionCheck[CENSUSPlus_HUMAN] = CENSUSPlus_ALLIANCE; g_FactionCheck[CENSUSPlus_NIGHTELF] = CENSUSPlus_ALLIANCE; g_FactionCheck[CENSUSPlus_DRAENEI] = CENSUSPlus_ALLIANCE; +g_FactionCheck[CENSUSPlus_WORGEN] = CENSUSPlus_ALLIANCE; local g_ReturnedZero = false; do @@ -244,7 +252,7 @@ and there is no real harm in removing the handler entirely, that's what's happening. If and when Blizzard decides to fix it, this should be removed. Thanks to ckknight of wowace for this ]] - GuildControlPopupFrame:SetScript("OnEvent", nil) +-- GuildControlPopupFrame:SetScript("OnEvent", nil) end @@ -420,9 +428,9 @@ function CensusPlus_GetFactionRaces(faction) local ret = {}; if (faction == CENSUSPlus_HORDE) then - ret = {CENSUSPlus_ORC, CENSUSPlus_TAUREN, CENSUSPlus_TROLL, CENSUSPlus_UNDEAD, CENSUSPlus_BLOODELF}; + ret = {CENSUSPlus_ORC, CENSUSPlus_TAUREN, CENSUSPlus_TROLL, CENSUSPlus_UNDEAD, CENSUSPlus_BLOODELF, CENSUSPlus_GOBLIN}; elseif (faction == CENSUSPlus_ALLIANCE) then - ret = {CENSUSPlus_DWARF, CENSUSPlus_GNOME, CENSUSPlus_HUMAN, CENSUSPlus_NIGHTELF, CENSUSPlus_DRAENEI}; + ret = {CENSUSPlus_DWARF, CENSUSPlus_GNOME, CENSUSPlus_HUMAN, CENSUSPlus_NIGHTELF, CENSUSPlus_DRAENEI, CENSUSPlus_WORGEN}; end return ret; end @@ -450,25 +458,29 @@ local function GetRaceClasses(race) local ret = {}; if (race == CENSUSPlus_ORC) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_SHAMAN, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_MAGE, CENSUSPlus_SHAMAN, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_TAUREN) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_SHAMAN, CENSUSPlus_DRUID, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_PALADIN, CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_SHAMAN, CENSUSPlus_PRIEST, CENSUSPlus_DRUID, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_TROLL) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_SHAMAN, CENSUSPlus_MAGE, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_SHAMAN, CENSUSPlus_MAGE, CENSUSPlus_DRUID, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_UNDEAD) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_MAGE, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_MAGE, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_DWARF) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_PALADIN, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_PALADIN, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_MAGE, CENSUSPlus_PRIEST, CENSUSPlus_SHAMAN, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_GNOME) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_ROGUE, CENSUSPlus_MAGE, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_ROGUE, CENSUSPlus_MAGE, CENSUSPlus_PRIEST, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_HUMAN) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_PALADIN, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_MAGE, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_PALADIN, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_MAGE, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_NIGHTELF) then - ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_DRUID, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_HUNTER, CENSUSPlus_MAGE, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_DRUID, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_BLOODELF) then - ret = {CENSUSPlus_PALADIN, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_MAGE, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; + ret = {CENSUSPlus_WARRIOR, CENSUSPlus_PALADIN, CENSUSPlus_HUNTER, CENSUSPlus_ROGUE, CENSUSPlus_PRIEST, CENSUSPlus_MAGE, CENSUSPlus_WARLOCK, CENSUSPlus_DEATHKNIGHT}; elseif (race == CENSUSPlus_DRAENEI) then ret = {CENSUSPlus_WARRIOR, CENSUSPlus_PALADIN, CENSUSPlus_HUNTER, CENSUSPlus_PRIEST, CENSUSPlus_SHAMAN, CENSUSPlus_MAGE, CENSUSPlus_DEATHKNIGHT}; + elseif (race == CENSUSPlus_WORGEN) then + ret = {CENSUSPlus_DEATHKNIGHT, CENSUSPlus_DRUID, CENSUSPlus_HUNTER, CENSUSPlus_MAGE, CENSUSPlus_PRIEST, CENSUSPlus_ROGUE, CENSUSPlus_WARLOCK, CENSUSPlus_WARRIOR}; + elseif (race == CENSUSPlus_GOBLIN) then + ret = {CENSUSPlus_DEATHKNIGHT, CENSUSPlus_HUNTER, CENSUSPlus_MAGE, CENSUSPlus_PRIEST, CENSUSPlus_ROGUE, CENSUSPlus_SHAMAN, CENSUSPlus_WARLOCK, CENSUSPlus_WARRIOR}; end return ret; end @@ -489,8 +501,8 @@ -- ----------------------------------------------------------------------------------- local function GetNameLetters() +-- return { "a", "b", "c", "d", "e", "f", "g", "i", "o", "p", "r", "s", "t", "u", "y" }; --rm --- return { "a", "b", "c", "d", "e", "f", "g", "i", "o", "p", "r", "s", "t", "u", "y" }; -- return { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "\195\134", "\195\164", "\195\182", "\195\188", "\195\152" }; return { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "\195\134", "\195\164", "\195\182", "\195\188", "\195\152", "\195\184" }; end @@ -565,7 +577,7 @@ -- Called once on load -- ----------------------------------------------------------------------------------- -function CensusPlus_OnLoad() +function CensusPlus_OnLoad( this ) -- -- Update the version number -- @@ -642,10 +654,9 @@ -- local updateFrame = CreateFrame("Frame"); updateFrame:SetScript("OnUpdate", CensusPlus_OnUpdate); - CensusPlusTakeGuildButton:SetText( CENSUSPlus_TAKEGUILD.." \""..CensusPlus_MYGUILD.."\"" ); end -function CensusPlus_FriendsFrame_OnEvent(...) +function CensusPlus_FriendsFrame_OnEvent(self, event, ...) -- CensusPlus_Msg( "CP_FF_OE Message =>" .. event ); @@ -697,7 +708,7 @@ end - CP_Pre_OnEvent(...); + CP_Pre_OnEvent(self, event, ...); end @@ -1180,7 +1191,7 @@ -- Display a tooltip for the take button -- ----------------------------------------------------------------------------------- -function CensusPlus_Take_OnEnter() +function CensusPlus_Take_OnEnter( this ) if (g_IsCensusPlusInProgress) then if (g_CensusPlusManuallyPaused) then GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); @@ -1202,7 +1213,7 @@ ----------------------------------------------------------------------------------- -- Display a tooltip for the take guild button ----------------------------------------------------------------------------------- -function CensusPlus_TakeGuild_OnEnter() +function CensusPlus_TakeGuild_OnEnter( this ) if (g_IsCensusPlusInProgress) then if (g_CensusPlusManuallyPaused) then GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); @@ -1506,7 +1517,9 @@ end end + CensusPlusTakeButton:SetText( CENSUSPlus_PAUSE ); + end ----------------------------------------------------------------------------------- @@ -2821,6 +2834,9 @@ return; end + --rm + CensusPlusTakeGuildButton:SetText( CENSUSPlus_TAKEGUILD.." \""..CensusPlus_MYGUILD.."\"" ); + CensusPlusFactionName:SetText(format(CENSUSPlus_FACTION, factionGroup)); if( CensusPlus_Database["Info"]["Locale"] ~= nil ) then @@ -2944,6 +2960,7 @@ for i = 1, numRaces, 1 do local race = thisFactionRaces[i]; local buttonName = "CensusPlusRaceBar"..i; + local button = getglobal(buttonName); local thisCount = g_RaceCount[i]; if ((thisCount ~= nil) and (thisCount > 0) and (maxCount > 0)) then @@ -2955,6 +2972,8 @@ button:Hide(); end local normalTextureName="Interface\\AddOns\\CensusPlus\\Skin\\CensusPlus_"..g_RaceClassList[race]; + + local legendName = "CensusPlusRaceLegend"..i; local legend = getglobal(legendName); legend:SetNormalTexture(normalTextureName); @@ -3084,7 +3103,6 @@ CensusPlus_PlayerListOnShow(); end - debugprofilestop(); end @@ -3130,7 +3148,7 @@ -- Race legend clicked -- --------------------------------------------------------------------------------- -function CensusPlus_OnClickRace() +function CensusPlus_OnClickRace( this ) local id = this:GetID(); if (id == g_RaceSelected) then g_RaceSelected = 0; @@ -3145,7 +3163,7 @@ -- Class legend clicked -- --------------------------------------------------------------------------------- -function CensusPlus_OnClickClass() +function CensusPlus_OnClickClass( this ) local id = this:GetID(); if (id == g_ClassSelected) then g_ClassSelected = 0; @@ -3161,8 +3179,8 @@ -- Level bar loaded -- --------------------------------------------------------------------------------- -function CensusPlus_OnLoadLevel() - this:RegisterForClicks("LeftButtonUp","RightButtonUp"); +function CensusPlus_OnLoadLevel( self ) + self:RegisterForClicks("LeftButtonUp","RightButtonUp"); end ---------------------------------------------------------------------------------- @@ -3170,7 +3188,7 @@ -- Level bar clicked -- --------------------------------------------------------------------------------- -function CensusPlus_OnClickLevel(button) +function CensusPlus_OnClickLevel(this, button) local id = this:GetID(); if (((button == "LeftButton") and (id == g_LevelSelected)) or ((button == "RightButton") and (id + g_LevelSelected == 0))) then g_LevelSelected = 0; @@ -3187,7 +3205,7 @@ -- Race tooltip -- --------------------------------------------------------------------------------- -function CensusPlus_OnEnterRace() +function CensusPlus_OnEnterRace( this ) local factionGroup = UnitFactionGroup("player"); local thisFactionRaces = CensusPlus_GetFactionRaces(factionGroup); local id = this:GetID(); @@ -3206,15 +3224,15 @@ -- Class tooltip -- --------------------------------------------------------------------------------- -function CensusPlus_OnEnterClass() +function CensusPlus_OnEnterClass( self ) local factionGroup = UnitFactionGroup("player"); local thisFactionClasses = CensusPlus_GetFactionClasses(factionGroup); - local id = this:GetID(); + local id = self:GetID(); local className = thisFactionClasses[id]; local count = g_ClassCount[id]; if (count ~= nil) then local percent = floor((count / g_TotalCount) * 100); - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(className.."\n"..count.."\n"..percent.."%", 1.0, 1.0, 1.0); GameTooltip:Show(); end @@ -3225,11 +3243,11 @@ -- Level tooltip -- --------------------------------------------------------------------------------- -function CensusPlus_OnEnterLevel() +function CensusPlus_OnEnterLevel( this ) local id = this:GetID(); local count = g_LevelCount[id]; if (count ~= nil) then - local percent = floor(count * 100 / g_TotalCount); + local percent = floor((count / g_TotalCount) * 100); GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); GameTooltip:SetText("Level "..id.."\n"..count.."\n"..percent.."%", 1.0, 1.0, 1.0); GameTooltip:Show(); @@ -3241,7 +3259,7 @@ -- Clicked a guild button -- --------------------------------------------------------------------------------- -function CensusPlus_GuildButton_OnClick() +function CensusPlus_GuildButton_OnClick( this ) local id = this:GetID(); local offset = FauxScrollFrame_GetOffset(CensusPlusGuildScrollFrame); local newSelection = id + offset; @@ -3940,7 +3958,7 @@ name = gsub(name, "([^%s]*)%s+([^%s]*)%s+([^%s]*)", "%3"); name = gsub(name, "([^%s]*)%s+([^%s]*)", "%2"); if ( IsShiftKeyDown() ) then - if ( not ChatFrameEditBox:IsVisible() ) then + if ( not ChatFrame1EditBox:IsVisible() ) then -- -- This is the part we need to snag -- @@ -4008,3 +4026,28 @@ SendWho( msg ); end end +function CensusPlus_Options_OnMouseUp(self,...) + CensusPlus_Msg('Mouse up'); + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; + end +end +function CensusPlus_Options_OnMouseDown(self,arg1,arg2,arg3,...) + if ( ( ( not self.isLocked ) or ( self.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then + self:StartMoving(); + self.isMoving = true; + end +end +function CensusPlus_Mini_OnMouseDown( self, arg1 ) + if ( ( ( not self.isLocked ) or ( self.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then + self:StartMoving(); + self.isMoving = true; + end +end +function CensusPlus_Census_OnMouseDown( self, arg1 ) + if ( ( ( not self.isLocked ) or ( self.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then + self:StartMoving(); + self.isMoving = true; + end +end \ No newline at end of file
--- a/CensusPlus.toc Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusPlus.toc Sun Aug 14 17:27:33 2011 +0200 @@ -1,14 +1,21 @@ -## Interface: 30300 -## Version: 4.2.2 +## Interface: 40200 +## Version: 5.0.2 ## Title: CensusPlus EmSpeçial ## Notes: Collects and displays census information. This AddOn is licenced under the GNU GPL, see GPL.txt for details. ## Original Author: Ian Pieragostini ## Modified By: Cooper Sellers - www.warcraftrealms.com -## Modified By: Em based on CensusPlus-30300-4.2.2.zip +## Modified By: sylvanaar +## Modified By: Em based on CensusPlus-30300-4.2.2.zip , rebase on CensusPlus-40000-5.0.2.zip ## SavedVariables: CensusPlus_Database,CensusPlus_BGInfo,CensusPlus_Unhandled ## SavedVariablesPerCharacter: CensusPlus_DoThisCharacter,CensusPlus_PerCharInfo ## X-Website: http://www.warcraftrealms.com +#@no-lib-strip@ +libs\LibStub\LibStub.lua +libs\CallbackHandler-1.0\CallbackHandler-1.0.xml +libs\LibWho-2.0\LibWho-2.0.lua +#@end-no-lib-strip@ + CensusPlus.xml CensusButton.xml CensusPlayerList.xml
--- a/CensusPlus.wuuver Sun Aug 14 15:23:41 2011 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -20100204 \ No newline at end of file
--- a/CensusPlus.xml Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusPlus.xml Sun Aug 14 17:27:33 2011 +0200 @@ -29,22 +29,14 @@ </Button> <Button name="CensusPlusRaceLegendTemplate" virtual="true" inherits="CensusPlusLegendTemplate"> <Scripts> - <OnEnter> - CensusPlus_OnEnterRace(); - </OnEnter> - <OnClick> - CensusPlus_OnClickRace(); - </OnClick> + <OnEnter function="CensusPlus_OnEnterRace" /> + <OnClick function="CensusPlus_OnClickRace" /> </Scripts> </Button> <Button name="CensusPlusClassLegendTemplate" virtual="true" inherits="CensusPlusLegendTemplate"> <Scripts> - <OnEnter> - CensusPlus_OnEnterClass(); - </OnEnter> - <OnClick> - CensusPlus_OnClickClass(); - </OnClick> + <OnEnter function="CensusPlus_OnEnterClass" /> + <OnClick function="CensusPlus_OnClickClass" /> </Scripts> </Button> <Button name="CensusPlusBarTemplate" virtual="true"> @@ -60,49 +52,35 @@ </Button> <Button name="CensusPlusRaceBarTemplate" virtual="true" inherits="CensusPlusBarTemplate"> <Scripts> - <OnEnter> - CensusPlus_OnEnterRace(); - </OnEnter> + <OnEnter function="CensusPlus_OnEnterRace" /> </Scripts> </Button> <Button name="CensusPlusClassBarTemplate" virtual="true" inherits="CensusPlusBarTemplate"> <Scripts> - <OnEnter> - CensusPlus_OnEnterClass(); - </OnEnter> + <OnEnter function="CensusPlus_OnEnterClass" /> </Scripts> </Button> <Button name="CensusPlusLevelBarTemplate" virtual="true"> <Size> - <AbsDimension x="7" y="128" /> + <AbsDimension x="6" y="128" /> </Size> <NormalTexture file="Interface\AddOns\CensusPlus\Skin\CensusPlus_LevelBar" /> <Scripts> - <OnClick> - CensusPlus_OnClickLevel(arg1); - </OnClick> - <OnLoad> - CensusPlus_OnLoadLevel(); - </OnLoad> + <OnClick function="CensusPlus_OnClickLevel" /> + <OnLoad function="CensusPlus_OnLoadLevel"/> <OnLeave> GameTooltip:Hide(); </OnLeave> - <OnEnter> - CensusPlus_OnEnterLevel(); - </OnEnter> + <OnEnter function="CensusPlus_OnEnterLevel" /> </Scripts> </Button> <Button name="CensusPlusLevelBarEmptyTemplate" virtual="true"> <Size> - <AbsDimension x="7" y="128" /> + <AbsDimension x="6" y="128" /> </Size> <Scripts> - <OnClick> - CensusPlus_OnClickLevel(arg1); - </OnClick> - <OnLoad> - CensusPlus_OnLoadLevel(); - </OnLoad> + <OnClick function="CensusPlus_OnClickLevel" /> + <OnLoad function="CensusPlus_OnLoadLevel"/> </Scripts> </Button> <Button name="CensusPlusGuildButtonTemplate" virtual="true"> @@ -138,9 +116,7 @@ </Anchors> </HighlightTexture> <Scripts> - <OnClick> - CensusPlus_GuildButton_OnClick(); - </OnClick> + <OnClick function="CensusPlus_GuildButton_OnClick" /> </Scripts> </Button> <Frame name="MiniCensusPlus" parent="UIParent" hidden="true" enableMouse="true" movable="true" @@ -168,11 +144,9 @@ </Anchor> </Anchors> <Scripts> - <OnClick> - CensusPlus_OnClickMaximize(); - </OnClick> + <OnClick function="CensusPlus_OnClickMaximize" /> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_MAXIMIZE, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -193,21 +167,16 @@ </Frames> <Scripts> <OnMouseUp> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnMouseUp> - <OnMouseDown> - if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then - this:StartMoving(); - this.isMoving = true; - end - </OnMouseDown> + <OnMouseDown function="CensusPlus_Mini_OnMouseDown" /> <OnHide> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnHide> </Scripts> @@ -229,7 +198,7 @@ <Layer level="BACKGROUND"> <Texture file="Interface\AddOns\CensusPlus\Skin\CensusPlus_Window_Left"> <Size> - <AbsDimension x="592" y="512" /> + <AbsDimension x="700" y="512" /> </Size> <Anchors> <Anchor point="TOPLEFT"> @@ -381,7 +350,7 @@ <Scripts> <OnClick> PlaySound("igMainMenuOptionCheckBoxOn"); - CensusPlus_ToggleOptions(); + CensusPlus_ToggleOptions(arg1); </OnClick> </Scripts> </Button> @@ -406,11 +375,9 @@ </Anchor> </Anchors> <Scripts> - <OnClick> - CensusPlus_OnClickMinimize(); - </OnClick> + <OnClick function="CensusPlus_OnClickMinimize" /> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_MINIMIZE, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -431,12 +398,8 @@ </Anchor> </Anchors> <Scripts> - <OnClick> - CensusPlus_Take_OnClick(); - </OnClick> - <OnEnter> - CensusPlus_Take_OnEnter(); - </OnEnter> + <OnClick function="CensusPlus_Take_OnClick" /> + <OnEnter function="CensusPlus_Take_OnEnter" /> <OnLeave> GameTooltip:Hide(); </OnLeave> @@ -458,7 +421,7 @@ CensusPlus_StopCensus( ); </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_STOPCENSUS, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -483,7 +446,7 @@ CensusPlus_PruneData(30); </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_PRUNECENSUS, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -508,7 +471,7 @@ CensusPlus_Purge(); </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_PURGEDATABASE, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -529,12 +492,8 @@ </Anchor> </Anchors> <Scripts> - <OnClick> - CensusPlus_TakeGuild_OnClick(); - </OnClick> - <OnEnter> - CensusPlus_TakeGuild_OnEnter(); - </OnEnter> + <OnClick function="CensusPlus_TakeGuild_OnClick" /> + <OnEnter function="CensusPlus_TakeGuild_OnEnter" /> <OnLeave> GameTooltip:Hide(); </OnLeave> @@ -759,11 +718,29 @@ </Anchor> </Anchors> </Button> - <Button name="CensusPlusClassLegend1" inherits="CensusPlusClassLegendTemplate" id="1"> + <Button name="CensusPlusRaceLegend6" inherits="CensusPlusRaceLegendTemplate" id="6"> <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusRaceLegend5" relativePoint="RIGHT"> <Offset> - <AbsDimension x="49" y="0" /> + <AbsDimension x="8" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusRaceBar6" inherits="CensusPlusRaceBarTemplate" id="6"> + <Anchors> + <Anchor point="BOTTOM" relativeTo="CensusPlusRaceLegend6" relativePoint="TOP"> + <Offset> + <AbsDimension x="0" y="8" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusClassLegend1" inherits="CensusPlusClassLegendTemplate" id="1"> + <Anchors> + <Anchor point="LEFT" relativeTo="CensusPlusRaceLegend6" relativePoint="RIGHT"> + <Offset> + <AbsDimension x="59" y="0" /> </Offset> </Anchor> </Anchors> @@ -781,7 +758,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend1" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -799,7 +776,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend2" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -817,7 +794,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend3" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -835,7 +812,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend4" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -853,7 +830,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend5" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -871,7 +848,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend6" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -889,7 +866,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend7" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -907,7 +884,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend8" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -925,7 +902,7 @@ <Anchors> <Anchor point="LEFT" relativeTo="CensusPlusClassLegend9" relativePoint="RIGHT"> <Offset> - <AbsDimension x="8" y="0" /> + <AbsDimension x="7" y="0" /> </Offset> </Anchor> </Anchors> @@ -943,7 +920,7 @@ <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset> - <AbsDimension x="32" y="-450" /> + <AbsDimension x="36" y="-454" /> </Offset> </Anchor> </Anchors> @@ -1659,11 +1636,56 @@ </Anchor> </Anchors> </Button> + <Button name="CensusPlusLevelBar81" inherits="CensusPlusLevelBarTemplate" id="81"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBar80" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBar82" inherits="CensusPlusLevelBarTemplate" id="82"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBar81" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBar83" inherits="CensusPlusLevelBarTemplate" id="83"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBar82" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBar84" inherits="CensusPlusLevelBarTemplate" id="84"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBar83" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBar85" inherits="CensusPlusLevelBarTemplate" id="85"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBar84" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> <Button name="CensusPlusLevelBarEmpty1" inherits="CensusPlusLevelBarEmptyTemplate" id="1"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset> - <AbsDimension x="32" y="-450" /> + <AbsDimension x="36" y="-454" /> </Offset> </Anchor> </Anchors> @@ -2379,36 +2401,70 @@ </Anchor> </Anchors> </Button> + <Button name="CensusPlusLevelBarEmpty81" inherits="CensusPlusLevelBarEmptyTemplate" id="81"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBarEmpty80" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBarEmpty82" inherits="CensusPlusLevelBarEmptyTemplate" id="82"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBarEmpty81" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBarEmpty83" inherits="CensusPlusLevelBarEmptyTemplate" id="83"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBarEmpty82" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBarEmpty84" inherits="CensusPlusLevelBarEmptyTemplate" id="84"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBarEmpty83" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="CensusPlusLevelBarEmpty85" inherits="CensusPlusLevelBarEmptyTemplate" id="85"> + <Anchors> + <Anchor point="BOTTOMLEFT" relativeTo="CensusPlusLevelBarEmpty84" relativePoint="BOTTOMRIGHT"> + <Offset> + <AbsDimension x="4" y="0" /> + </Offset> + </Anchor> + </Anchors> + </Button> </Frames> <Scripts> - <OnLoad> - CensusPlus_OnLoad(); - </OnLoad> - <OnShow> - CensusPlus_OnShow(); - </OnShow> - <OnUpdate> - CensusPlus_OnUpdate(); - </OnUpdate> + <OnLoad function="CensusPlus_OnLoad"/> + <OnShow function="CensusPlus_OnShow" /> + <OnUpdate function="CensusPlus_OnUpdate" /> <OnEvent> CensusPlus_OnEvent(event,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); </OnEvent> <OnMouseUp> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnMouseUp> - <OnMouseDown> - if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then - this:StartMoving(); - this.isMoving = true; - end - </OnMouseDown> + <OnMouseDown function="CensusPlus_Census_OnMouseDown" /> <OnHide> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnHide> </Scripts> @@ -2466,7 +2522,7 @@ CensusPlus_SelectLocale("US"); </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPLUS_US_LOCALE, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -2491,7 +2547,7 @@ CensusPlus_SelectLocale("EU"); </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPLUS_EU_LOCALE, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -2578,10 +2634,10 @@ </Layers> <Scripts> <OnLoad> - this:SetFrameLevel(10); + self:SetFrameLevel(10); </OnLoad> <OnClick> - if ( this:GetChecked() ) then + if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOff"); CensusPlus_AutoCloseWho(1); else @@ -2625,10 +2681,10 @@ </Layers> <Scripts> <OnLoad> - this:SetFrameLevel(10); + self:SetFrameLevel(10); </OnLoad> <OnClick> - if ( this:GetChecked() ) then + if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOff"); CensusPlus_AutoStart(1); else @@ -2637,7 +2693,7 @@ end </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_AUTOSTART_TOOLTIP, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -2680,10 +2736,10 @@ </Layers> <Scripts> <OnLoad> - this:SetFrameLevel(10); + self:SetFrameLevel(10); </OnLoad> <OnClick> - if ( this:GetChecked() ) then + if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOff"); CensusPlus_Verbose(); else @@ -2692,7 +2748,7 @@ end </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_VERBOSE_TOOLTIP, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -2735,10 +2791,10 @@ </Layers> <Scripts> <OnLoad> - this:SetFrameLevel(10); + self:SetFrameLevel(10); </OnLoad> <OnClick> - if ( this:GetChecked() ) then + if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOff"); CensusPlus_SetAutoCensus(1); else @@ -2747,7 +2803,7 @@ end </OnClick> <OnEnter> - GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(CENSUSPlus_AUTOCENSUS_TOOLTIP, 1.0, 1.0, 1.0); GameTooltip:Show(); </OnEnter> @@ -2790,10 +2846,10 @@ </Layers> <Scripts> <OnLoad> - this:SetFrameLevel(10); + self:SetFrameLevel(10); </OnLoad> <OnClick> - if ( this:GetChecked() ) then + if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOff"); CensusPlus_Database["Info"]["CensusButtonShown"] = 1; CensusButtonFrame:Show(); @@ -2804,7 +2860,7 @@ end </OnClick> <OnLoad> - getglobal(this:GetName().."Text"):SetText(CENSUS_OPTIONS_BUTSHOW); + getglobal(self:GetName().."Text"):SetText(CENSUS_OPTIONS_BUTSHOW); </OnLoad> </Scripts> <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> @@ -2842,11 +2898,11 @@ </Layers> <Scripts> <OnLoad> - this:SetFrameLevel(10); - getglobal(this:GetName().."Text"):SetText(CENSUS_OPTIONS_SOUND_ON_COMPLETE); + self:SetFrameLevel(10); + getglobal(self:GetName().."Text"):SetText(CENSUS_OPTIONS_SOUND_ON_COMPLETE); </OnLoad> <OnClick> - if ( this:GetChecked() ) then + if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOff"); CensusPlus_PerCharInfo["PlayFinishSound"] = true; else @@ -2891,10 +2947,10 @@ </Layers> <Scripts> <OnLoad> - this:SetFrameLevel(10); + self:SetFrameLevel(10); </OnLoad> <OnClick> - if ( this:GetChecked() ) then + if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOff"); CensusPlus_Database["Info"]["UseLogBars"] = 1; CensusPlus_UpdateView(); @@ -2905,7 +2961,7 @@ end </OnClick> <OnLoad> - getglobal(this:GetName().."Text"):SetText(CENSUS_OPTIONS_LOG_BARS); + getglobal(self:GetName().."Text"):SetText(CENSUS_OPTIONS_LOG_BARS); </OnLoad> </Scripts> <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> @@ -2953,22 +3009,12 @@ <OnShow> CP_OptionsOnShow(); </OnShow> - <OnMouseUp> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; - end - </OnMouseUp> - <OnMouseDown> - if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then - this:StartMoving(); - this.isMoving = true; - end - </OnMouseDown> + <OnMouseUp function="CensusPlus_Options_OnMouseUp" /> + <OnMouseDown function="CensusPlus_Options_OnMouseDown" /> <OnHide> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnHide> </Scripts>
--- a/CensusPlusPVP.lua Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusPlusPVP.lua Sun Aug 14 17:27:33 2011 +0200 @@ -1,67 +1,67 @@ ---[[ - CensusPlus for World of Warcraft(tm). - - Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com - - License: - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program(see GLP.txt); if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -]] - - ------------------------------------------------------------------------------------- --- --- CensusPlus - PVP section --- A WoW UI customization by Cooper Sellers --- --- ------------------------------------------------------------------------------------- - -local damagedTable = { }; - ------------------------------------------------------------------------------------ --- --- CensusPlus_PVPDeath -- Someone dies --- ------------------------------------------------------------------------------------ +--[[ + CensusPlus for World of Warcraft(tm). + + Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com + + License: + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program(see GLP.txt); if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]] + + +------------------------------------------------------------------------------------ +-- +-- CensusPlus - PVP section +-- A WoW UI customization by Cooper Sellers +-- +-- +------------------------------------------------------------------------------------ + +local damagedTable = { }; + +----------------------------------------------------------------------------------- +-- +-- CensusPlus_PVPDeath -- Someone dies +-- +----------------------------------------------------------------------------------- function CensusPlus_PVPDeath( msg ) -- CensusPlus_Msg( "Msg = " .. msg ); --- local value = string.sub( msg, 0, index-1 ); -end - ------------------------------------------------------------------------------------ --- --- CensusPlus_PVPDamage -- Damage is done --- ------------------------------------------------------------------------------------ -function CensusPlus_PVPDamage( victim, dmg ) - local dealer = "player"; - local vict = "target"; - if( victim == "player" ) then - -- Hit us instead - end -end - - ------------------------------------------------------------------------------------ --- --- CensusPlus_ProcefssHonorInpsect -- Process honor inspect --- ------------------------------------------------------------------------------------ -function CensusPlus_ProcessHonorInpsect() +-- local value = string.sub( msg, 0, index-1 ); +end + +----------------------------------------------------------------------------------- +-- +-- CensusPlus_PVPDamage -- Damage is done +-- +----------------------------------------------------------------------------------- +function CensusPlus_PVPDamage( victim, dmg ) + local dealer = "player"; + local vict = "target"; + if( victim == "player" ) then + -- Hit us instead + end +end + + +----------------------------------------------------------------------------------- +-- +-- CensusPlus_ProcefssHonorInpsect -- Process honor inspect +-- +----------------------------------------------------------------------------------- +function CensusPlus_ProcessHonorInpsect() local todayHK, todayDK, yesterdayHK, yesterdayDK, thisweekHK, thisweekHonor, @@ -69,103 +69,103 @@ lifetimeHK, lifetimeDK, lifetimeHighestRank = GetInspectHonorData() if( g_CensusPlusLastTarget ~= nil ) then - g_CensusPlusLastTarget[4] = lifetimeHK; - g_CensusPlusLastTarget[5] = CensusPlus_DetermineServerDate() .. "&" .. lastweekHonor .. "&" .. lastweekStanding; - g_CensusPlusLastTarget[6] = lifetimeHighestRank; - - g_CensusPlusLastTarget[7] = CensusPlus_DetermineServerDate() .. ""; - end - + g_CensusPlusLastTarget[4] = lifetimeHK; + g_CensusPlusLastTarget[5] = CensusPlus_DetermineServerDate() .. "&" .. lastweekHonor .. "&" .. lastweekStanding; + g_CensusPlusLastTarget[6] = lifetimeHighestRank; + + g_CensusPlusLastTarget[7] = CensusPlus_DetermineServerDate() .. ""; + end + local unit = InspectFrame.unit; - --- ClearInspectPlayer(); - g_CensusPlusLastTargetName = nil; - g_CensusPlusLastTarget = nil; --- InspectFrame.unit = nil; -end - ------------------------------------------------------------------------------------ --- --- CensusPlus_ProcessMyHonor -- Process player honor --- ------------------------------------------------------------------------------------ -function CensusPlus_ProcessMyHonor() - -- - -- Get the portion of the database for this server - -- - local realmName = g_CensusPlusLocale .. GetCVar("realmName"); - local realmDatabase = CensusPlus_Database["Servers"][realmName]; - if (realmDatabase == nil) then - CensusPlus_Database["Servers"][realmName] = {}; - realmDatabase = CensusPlus_Database["Servers"][realmName]; - end - - -- - -- Get the portion of the database for this faction - -- - local factionGroup = UnitFactionGroup("player"); - local factionDatabase = realmDatabase[factionGroup]; - if (factionDatabase == nil) then - realmDatabase[factionGroup] = {}; - factionDatabase = realmDatabase[factionGroup]; - end - - -- - -- Get racial database - -- - local raceGroup = UnitRace("player"); - local raceDatabase = factionDatabase[raceGroup]; - if (raceDatabase == nil) then - factionDatabase[raceGroup] = {}; - raceDatabase = factionDatabase[raceGroup]; - end - - -- - -- Get class database - -- - local classGroup = UnitClass( "player" ); - local classDatabase = raceDatabase[classGroup]; - if (classDatabase == nil) then - raceDatabase[classGroup] = {}; - classDatabase = raceDatabase[classGroup]; - end - - -- - -- Get this player's entry - -- - local playerName = UnitName( "player" ); - local entry = classDatabase[playerName]; - if (entry == nil) then - classDatabase[playerName] = {}; - entry = classDatabase[playerName]; - end - - local honorableKills, dishonorableKills, highestRank = GetPVPLifetimeStats(); - local lwhk, lwdk, lwcontribution, lwrank = GetPVPLastWeekStats() - - -- - -- Update the information - -- - - entry[1] = UnitLevel("player"); - entry[2], rank, index = GetGuildInfo("player"); - entry[3] = CensusPlus_DetermineServerDate() .. ""; - entry[4] = honorableKills; - - - entry[5] = CensusPlus_DetermineServerDate() .. "&" .. lwcontribution .. "&" .. lwrank; --- entry[5] = dishonorableKills; - entry[6] = highestRank; - - entry[7] = CensusPlus_DetermineServerDate() .. ""; - - if( entry ~= nil ) then + +-- ClearInspectPlayer(); + g_CensusPlusLastTargetName = nil; + g_CensusPlusLastTarget = nil; +-- InspectFrame.unit = nil; +end + +----------------------------------------------------------------------------------- +-- +-- CensusPlus_ProcessMyHonor -- Process player honor +-- +----------------------------------------------------------------------------------- +function CensusPlus_ProcessMyHonor() + -- + -- Get the portion of the database for this server + -- + local realmName = g_CensusPlusLocale .. GetCVar("realmName"); + local realmDatabase = CensusPlus_Database["Servers"][realmName]; + if (realmDatabase == nil) then + CensusPlus_Database["Servers"][realmName] = {}; + realmDatabase = CensusPlus_Database["Servers"][realmName]; + end + + -- + -- Get the portion of the database for this faction + -- + local factionGroup = UnitFactionGroup("player"); + local factionDatabase = realmDatabase[factionGroup]; + if (factionDatabase == nil) then + realmDatabase[factionGroup] = {}; + factionDatabase = realmDatabase[factionGroup]; + end + + -- + -- Get racial database + -- + local raceGroup = UnitRace("player"); + local raceDatabase = factionDatabase[raceGroup]; + if (raceDatabase == nil) then + factionDatabase[raceGroup] = {}; + raceDatabase = factionDatabase[raceGroup]; + end + + -- + -- Get class database + -- + local classGroup = UnitClass( "player" ); + local classDatabase = raceDatabase[classGroup]; + if (classDatabase == nil) then + raceDatabase[classGroup] = {}; + classDatabase = raceDatabase[classGroup]; + end + + -- + -- Get this player's entry + -- + local playerName = UnitName( "player" ); + local entry = classDatabase[playerName]; + if (entry == nil) then + classDatabase[playerName] = {}; + entry = classDatabase[playerName]; + end + + local honorableKills, dishonorableKills, highestRank = GetPVPLifetimeStats(); + local lwhk, lwdk, lwcontribution, lwrank = GetPVPLastWeekStats() + + -- + -- Update the information + -- + + entry[1] = UnitLevel("player"); + entry[2], rank, index = GetGuildInfo("player"); + entry[3] = CensusPlus_DetermineServerDate() .. ""; + entry[4] = honorableKills; + + + entry[5] = CensusPlus_DetermineServerDate() .. "&" .. lwcontribution .. "&" .. lwrank; +-- entry[5] = dishonorableKills; + entry[6] = highestRank; + + entry[7] = CensusPlus_DetermineServerDate() .. ""; + + if( entry ~= nil ) then rankNumber = UnitPVPRank("player"); if( rankNumber ~= 0 ) then -- rankName= GetPVPRankInfo( rankNumber ) - entry[8] = rankNumber; -- slot 8 will be current rank + entry[8] = rankNumber; -- slot 8 will be current rank else - entry[8] = 0; -- slot 8 will be current rank + entry[8] = 0; -- slot 8 will be current rank end end -end +end
--- a/CensusPlusProfiler.lua Sun Aug 14 15:23:41 2011 +0000 +++ b/CensusPlusProfiler.lua Sun Aug 14 17:27:33 2011 +0200 @@ -1,23 +1,23 @@ ---[[ - CensusPlus for World of Warcraft(tm). - - Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com - - License: - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program(see GLP.txt); if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -]] +--[[ + CensusPlus for World of Warcraft(tm). + + Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com + + License: + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program(see GLP.txt); if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]] CensusPlus_DoThisCharacter = false; @@ -87,11 +87,11 @@ }; function CP_ProfileFrame_OnLoad() - - -- Shut it down for now - if( true ) then - return; - end + + -- Shut it down for now + if( true ) then + return; + end this:RegisterEvent("VARIABLES_LOADED"); if ( myCPProfile_ALLEVENTS ) then -- unused, but keep for testing this:RegisterEvent("PLAYER_GUILD_UPDATE"); @@ -123,7 +123,7 @@ ]]-- function CP_ProfileFrame_OnEvent(event, arg1, arg2) - + -- crapout if we're not ready to process, or if not enabled if ( ( event == "UNIT_INVENTORY_CHANGED" and arg1 ~= "player" ) or not myCPProfile_ENABLED or not UnitName("player") or UnitName("player") == UNKNOWNOBJECT or not GetCVar("realmName") or not CensusPlus_DoThisCharacter ) then return; @@ -352,57 +352,57 @@ spellName,subSpellName = GetSpellName(spellIndex,BOOKTYPE_SPELL); end --[[ - local speed, offhandSpeed = UnitAttackSpeed("player"); - local minDamage, maxDamage, minOffHandDamage, maxOffHandDamage, physicalBonusPos, physicalBonusNeg, percent = UnitDamage("player"); - local baseDamage = (minDamage + maxDamage) * 0.5; - local fullDamage = (baseDamage + physicalBonusPos + physicalBonusNeg) * percent; - local damagePerSecond = max( fullDamage, 1 ) / speed; - minDamage = max( floor( minDamage ), 1 ); - maxDamage = max( ceil( maxDamage ),1 ); - speed = string.format( "%.2f", speed ); - damagePerSecond = string.format( "%.1f", damagePerSecond ); - local damagerange = minDamage.." - "..maxDamage; - local output = INVTYPE_WEAPONMAINHAND .. "<br>" - .. ATTACK_SPEED_COLON .. speed .. "<br>" - .. DAMAGE_COLON .. damagerange .. "<br>" - .. DAMAGE_PER_SECOND .. damagePerSecond - if ( offhandSpeed ) then - local offhandBaseDamage = (minOffHandDamage + maxOffHandDamage) * 0.5; - local offhandFullDamage = (offhandBaseDamage + physicalBonusPos + physicalBonusNeg) * percent; - local offhandDamagePerSecond = (max(offhandFullDamage,1) / offhandSpeed); - minOffHandDamage=max(floor(minOffHandDamage),1); - maxOffHandDamage=max(ceil(maxOffHandDamage),1); - local damagerange = minOffHandDamage.." - "..maxOffHandDamage; - offhandDamagePerSecond = string.format( "%.1f", offhandDamagePerSecond ); - offhandSpeed=string.format("%.2f", offhandSpeed); - output = output .. INVTYPE_WEAPONOFFHAND .. "<br>" - .. ATTACK_SPEED_COLON .. offhandSpeed .. "<br>" - .. DAMAGE_COLON .. damagerange .. "<br>" - .. DAMAGE_PER_SECOND .. offhandDamagePerSecond; - end - CensusPlus_Profile[GetCVar("realmName")][UnitName("player")]["Melee Attack"]["DamageRangeTooltip"] = output; - - local speed, minDamage, maxDamage = UnitRangedDamage("player"); - minDamage = (minDamage / percent) - physicalBonusPos - physicalBonusNeg; - maxDamage = (maxDamage / percent) - physicalBonusPos - physicalBonusNeg; - local baseDamage = (minDamage + maxDamage) * 0.5; - local fullDamage = (baseDamage + physicalBonusPos + physicalBonusNeg) * percent; - local damagePerSecond = (max(fullDamage,1) / speed); - minDamage = max(floor(minDamage),1); - maxDamage = max(ceil(maxDamage),1); - speed=string.format("%.2f", speed); - damagePerSecond=string.format("%.1f", damagePerSecond); - local damagerange = max(floor(minDamage),1).." - "..max(ceil(maxDamage),1); - output = INVTYPE_RANGED .. "<br>" - .. ATTACK_SPEED_COLON .. speed .. "<br>" - .. DAMAGE_COLON .. damagerange .. "<br>" - .. DAMAGE_PER_SECOND .. damagePerSecond; - local base,pos,neg=UnitRangedAttack( "player" ); - if(base==0) then - CensusPlus_Profile[GetCVar("realmName")][UnitName("player")]["Ranged Attack"]["DamageRangeTooltip"] = ""; - else - CensusPlus_Profile[GetCVar("realmName")][UnitName("player")]["Ranged Attack"]["DamageRangeTooltip"] = output; - end + local speed, offhandSpeed = UnitAttackSpeed("player"); + local minDamage, maxDamage, minOffHandDamage, maxOffHandDamage, physicalBonusPos, physicalBonusNeg, percent = UnitDamage("player"); + local baseDamage = (minDamage + maxDamage) * 0.5; + local fullDamage = (baseDamage + physicalBonusPos + physicalBonusNeg) * percent; + local damagePerSecond = max( fullDamage, 1 ) / speed; + minDamage = max( floor( minDamage ), 1 ); + maxDamage = max( ceil( maxDamage ),1 ); + speed = string.format( "%.2f", speed ); + damagePerSecond = string.format( "%.1f", damagePerSecond ); + local damagerange = minDamage.." - "..maxDamage; + local output = INVTYPE_WEAPONMAINHAND .. "<br>" + .. ATTACK_SPEED_COLON .. speed .. "<br>" + .. DAMAGE_COLON .. damagerange .. "<br>" + .. DAMAGE_PER_SECOND .. damagePerSecond + if ( offhandSpeed ) then + local offhandBaseDamage = (minOffHandDamage + maxOffHandDamage) * 0.5; + local offhandFullDamage = (offhandBaseDamage + physicalBonusPos + physicalBonusNeg) * percent; + local offhandDamagePerSecond = (max(offhandFullDamage,1) / offhandSpeed); + minOffHandDamage=max(floor(minOffHandDamage),1); + maxOffHandDamage=max(ceil(maxOffHandDamage),1); + local damagerange = minOffHandDamage.." - "..maxOffHandDamage; + offhandDamagePerSecond = string.format( "%.1f", offhandDamagePerSecond ); + offhandSpeed=string.format("%.2f", offhandSpeed); + output = output .. INVTYPE_WEAPONOFFHAND .. "<br>" + .. ATTACK_SPEED_COLON .. offhandSpeed .. "<br>" + .. DAMAGE_COLON .. damagerange .. "<br>" + .. DAMAGE_PER_SECOND .. offhandDamagePerSecond; + end + CensusPlus_Profile[GetCVar("realmName")][UnitName("player")]["Melee Attack"]["DamageRangeTooltip"] = output; + + local speed, minDamage, maxDamage = UnitRangedDamage("player"); + minDamage = (minDamage / percent) - physicalBonusPos - physicalBonusNeg; + maxDamage = (maxDamage / percent) - physicalBonusPos - physicalBonusNeg; + local baseDamage = (minDamage + maxDamage) * 0.5; + local fullDamage = (baseDamage + physicalBonusPos + physicalBonusNeg) * percent; + local damagePerSecond = (max(fullDamage,1) / speed); + minDamage = max(floor(minDamage),1); + maxDamage = max(ceil(maxDamage),1); + speed=string.format("%.2f", speed); + damagePerSecond=string.format("%.1f", damagePerSecond); + local damagerange = max(floor(minDamage),1).." - "..max(ceil(maxDamage),1); + output = INVTYPE_RANGED .. "<br>" + .. ATTACK_SPEED_COLON .. speed .. "<br>" + .. DAMAGE_COLON .. damagerange .. "<br>" + .. DAMAGE_PER_SECOND .. damagePerSecond; + local base,pos,neg=UnitRangedAttack( "player" ); + if(base==0) then + CensusPlus_Profile[GetCVar("realmName")][UnitName("player")]["Ranged Attack"]["DamageRangeTooltip"] = ""; + else + CensusPlus_Profile[GetCVar("realmName")][UnitName("player")]["Ranged Attack"]["DamageRangeTooltip"] = output; + end ]]-- -- put in dps?
--- a/GPL.txt Sun Aug 14 15:23:41 2011 +0000 +++ b/GPL.txt Sun Aug 14 17:27:33 2011 +0200 @@ -1,340 +1,340 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License.
--- a/localization.lua Sun Aug 14 15:23:41 2011 +0000 +++ b/localization.lua Sun Aug 14 17:27:33 2011 +0200 @@ -1,675 +1,685 @@ ---[[ -CensusPlus for World of Warcraft(tm). - -Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com - -License: -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program(see GLP.txt); if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -]] -CENSUSPlusFemale = { }; - -CENSUSPlus_BUTTON_TEXT = "Census+"; -CENSUSPlus_BUTTON_SUBTEXT = "Realm Census"; -CENSUSPlus_BUTTON_TIP = "Click here to show or hide Census+."; -CENSUSPlus_HELP = " Use /censusplus to open and close the Census+ UI."; - -CENSUSPlus_MSG1 = " Loaded - type /censusplus or /census+ to open main window"; -CENSUSPlus_MSG2 = "Use /censusdate to set today's date in the format of MM-DD-YYYY, ie. 12-25-2004"; - -CENSUSPlus_UPLOAD = "Be sure to upload your CensusPlus data to www.WarcraftRealms.com!"; -CENSUSPlus_SETTINGDATE = "Setting date to => "; -CENSUSPlus_PAUSE = "Pause"; -CENSUSPlus_UNPAUSE = "Un-Pause"; -CENSUSPlus_STOP = "Stop"; -CENSUSPlus_PRUNE = "Prune"; - -CENSUSPlus_TAKECENSUS = "Take a census of players \ncurrently online on this server \nand in this faction"; -CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; -CENSUSPlus_PURGEDATABASE = "Purge the database of all data"; -CENSUSPlus_PAUSECENSUS = "Pause the current census"; -CENSUSPlus_UNPAUSECENSUS = "Un-Pause the current census"; -CENSUSPlus_STOPCENSUS = "Stop the currently active CensusPlus"; -CENSUSPlus_PRUNECENSUS = "Prune the database by removing characters not seen in 30 days."; - -CENSUSPlus_PRUNEINFO = "Pruned %d characters."; - -CENSUSPlus_PURGEMSG = "Purged character database."; -CENSUSPlus_ISINPROGRESS = "A CensusPlus is in progress, try again later"; -CENSUSPlus_TAKINGONLINE = "Taking census of characters online..."; -CENSUSPlus_PLZUPDATEDATE = "Please use /censusdate to set today's date for more more accurate data. Format /censusdate MM-DD-YYYY, example, /censusdate 12-25-2004"; -CENSUSPlus_NOCENSUS = "A Census is not currently in progress"; -CENSUSPlus_FINISHED = "Finished Taking data. Found %s new characters and saw %s. Took %s."; -CENSUSPlus_TOOMANY = "WARNING: Too many characters matching: %s"; -CENSUSPlus_WAITING = "Waiting to send who request..."; -CENSUSPlus_SENDING = "Sending /who %s"; -CENSUSPlus_PROCESSING = "Processing %s characters."; - -CENSUSPlus_REALMNAME = "Realm: %s"; -CENSUSPlus_REALMUNKNOWN = "Realm: Unknown"; -CENSUSPlus_FACTION = "Faction: %s"; -CENSUSPlus_FACTIONUNKNOWN = "Faction: Unknown"; -CENSUSPlus_LOCALE = "Locale : %s"; -CENSUSPlus_LOCALEUNKNOWN = "Locale : Unknown"; -CENSUSPlus_TOTALCHAR = "Total Characters: %d"; -CENSUSPlus_TOTALCHAR_0 = "Total Characters: 0"; -CENSUSPlus_TOTALCHARXP = "XP Factor: %d"; -CENSUSPlus_TOTALCHARXP_0 = "XP Factor: 0"; -CENSUSPlus_SCAN_PROGRESS = "Scan Progress: %d queries in the queue - %s"; -CENSUSPlus_SCAN_PROGRESS_0 = "No Scan In Progress"; -CENSUSPlus_AUTOCLOSEWHO = "Automatically Close Who"; -CENSUSPlus_SHOWMINI = "Show Mini On Start"; -CENSUSPlus_UNGUILDED = "(Unguilded)"; -CENSUSPlus_TAKE = "Take"; -CENSUSPlus_TAKEGUILD = "Take guild"; -CENSUSPlus_TAKINGGUILD = "Taking guild"; -CENSUSPlus_TOPGUILD = "Top Guilds By XP"; -CENSUSPlus_RACE = "Races"; -CENSUSPlus_CLASS = "Classes"; -CENSUSPlus_LEVEL = "Levels"; -CENSUSPlus_PURGE = "Purge"; -CENSUSPlus_MAXXED = "MAXXED!"; - -CENSUSPlus_MAXIMIZE = "Maximize the CensusPlus Window"; -CENSUSPlus_MINIMIZE = "Minimize the CensusPlus Window"; -CENSUSPlus_BUTTON_MINIMIZE = "Minimize"; - -CENSUSPlus_DRUID = "Druid"; -CENSUSPlus_HUNTER = "Hunter"; -CENSUSPlus_MAGE = "Mage"; -CENSUSPlus_PRIEST = "Priest"; -CENSUSPlus_ROGUE = "Rogue"; -CENSUSPlus_WARLOCK = "Warlock"; -CENSUSPlus_WARRIOR = "Warrior"; -CENSUSPlus_SHAMAN = "Shaman"; -CENSUSPlus_PALADIN = "Paladin"; -CENSUSPlus_DEATHKNIGHT = "Death Knight"; - -CENSUSPlus_DWARF = "Dwarf"; -CENSUSPlus_GNOME = "Gnome"; -CENSUSPlus_HUMAN = "Human"; -CENSUSPlus_NIGHTELF = "Night Elf"; -CENSUSPlus_ORC = "Orc"; -CENSUSPlus_TAUREN = "Tauren"; -CENSUSPlus_TROLL = "Troll"; -CENSUSPlus_UNDEAD = "Undead"; -CENSUSPlus_DRAENEI = "Draenei"; -CENSUSPlus_BLOODELF = "Blood Elf"; - -CENSUSPlus_WarsongGulch = "Warsong Gulch"; -CENSUSPlus_AlteracValley = "Alterac Valley"; -CENSUSPlus_ArathiBasin = "Arathi Basin"; -CENSUSPlus_EyeOfTheStorm = "Eye of the Storm"; - -CENSUSPLUS_US_LOCALE = "Select if you play on US Servers"; -CENSUSPLUS_EU_LOCALE = "Select if you play on EURO Servers"; -CENSUSPLUS_LOCALE_SELECT = "Select if you play on US or EURO servers"; - -CENSUSPlus_BUTTON_OPTIONS = "Options"; -CENSUSPlus_OPTIONS_HEADER = "Census+ Options"; -CENSUSPlus_ISINBG = "You are currently in a Battleground so a Census cannot be taken"; -CENSUS_OPTIONS_BUTPOS = "Button Position"; -CENSUS_OPTIONS_BUTSHOW = "Show Minimap Button"; -CENSUS_OPTIONS_AUTOCENSUS = "Auto-Census"; -CENSUS_OPTIONS_THISPROFILE = "Collect Profile for this Char"; -CENSUS_OPTIONS_AUTOSTART = "Auto-Start"; -CENSUS_OPTIONS_VERBOSE = "Verbose"; -CENSUS_OPTIONS_SOUND_ON_COMPLETE = "Play Sound When Done"; -CENSUS_OPTIONS_LOG_BARS = "Logarithmic Level Bars"; - -CENSUSPlus_AUTOSTART_TOOLTIP = "Enable Census+ to start automatically"; -CENSUSPlus_VERBOSE_TOOLTIP = "Deselect to stop the spam!"; -CENSUSPlus_AUTOCENSUS_TOOLTIP = "Enable Census+ to run automatically while playing"; -CENSUSPlus_THISPROFILE_TOOLTIP = "Collect profile data for this character to upload to WarcraftRealms.com"; - -CENSUSPlus_BUTTON_CHARACTERS = "Show Chars"; -CENSUSPlus_Characters = "Characters"; - -CENSUS_BUTTON_TOOLTIP = "Open CensusPlus"; - - ---|cff979797[11:19:12]|r|c00000000|r |cffd8d8d8[|r|Hplayer:Rollee:93|h|cffd8d83f1|r:|cfffff468Rollee|r|h|cffd8d8d8]|r: Level 1 Troll Rogue - Durotar ---|Hplayer:Rollee|h[Rollee]|h: Level 1 Troll Rogue - Durotar -CENSUS_SINGLE_MATCH_PATTERN = "(.+)%: (%a+) (%d+) (.+) %- (.+)"; - -CENSUS_LEVEL_NO_GUILD = "%[(.+)%: Level (%d+) (%a+) (%a+) %- (.+)"; -CENSUS_LEVEL_W_GUILD = "%[(.+)%: Level (%d+) (%a+) (%a+) %<(.+)%> %- (.+)"; -CENSUS_LEVEL_W_GUILD_2 = "%[(.+)%: Level (%d+) (%a+) (%a+) (%a+) %<(.+)%> %- (.+)"; -CENSUS_LEVEL_NO_GUILD_2 = "%[(.+)%: Level (%d+) (%a+) (%a+) (%a+) %- (.+)"; - -CENSUSPlus_CANCEL = "Cancel"; - -CENSUSPlus_OVERRIDE = "Census in progress, submitting override"; -CENSUSPlus_OVERRIDE_COMPLETE = "Override complete resuming census"; -CENSUSPlus_OVERRIDE_COMPLETE_BUT_PAUSED = "Override complete, but census has been paused"; - -CENSUSPlus_PURGE_LOCAL_CONFIRM = "Are you sure you wish to PURGE your local database?"; -CENSUSPlus_OVERRIDE_COMPLET_PAUSED = "Override complete but Census has been paused, Click to Continue"; - -CENSUSPlus_YES = "Yes"; -CENSUSPlus_NO = "No"; -CENSUSPlus_CONTINUE = "Continue"; - -if ( GetLocale() == "frFR" ) then --- Traduit par Juki <Unskilled> - -CENSUSPlus_BUTTON_TEXT = "Census+"; -CENSUSPlus_BUTTON_SUBTEXT = "Stats serveur"; -CENSUSPlus_BUTTON_TIP = "Cliquez ici pour montrer ou masquer Census+."; -CENSUSPlus_HELP = " Utilisez /censusplus pour ouvrir et fermer Census+."; - -CENSUSPlus_MSG1 = " Chargée - Tapez /censusplus ou /census+ pour ouvrir la fenêtre principale"; -CENSUSPlus_MSG2 = "Utilisez /censusdate pour configurer la date du jour dans le format MM-DD-YYYY, ie.12-25-2004"; - -CENSUSPlus_UPLOAD = ""; -CENSUSPlus_UPLOAD2 = ""; -CENSUSPlus_SETTINGDATE = "Mise à jour de la date => "; -CENSUSPlus_PAUSE = "Pause"; -CENSUSPlus_UNPAUSE = "Reprendre"; -CENSUSPlus_STOP = "Stop"; - -CENSUSPlus_TAKECENSUS = "Faire un recensement des joueurs \nactuellement en ligne sur ce serveur \net dans cette faction"; -CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; -CENSUSPlus_PURGEDATABASE = "Supprime la base de donnée concernant."; -CENSUSPlus_PAUSECENSUS = "Mettre en pause le recensement en cours"; -CENSUSPlus_STOPCENSUS = "Arrêter le recensement en cours" - -CENSUSPlus_PURGEMSG = "Base de donnée supprimée."; -CENSUSPlus_ISINPROGRESS = "Un recensement est en cours, veuillez patienter"; -CENSUSPlus_TAKINGONLINE = "Recensement des joueurs en cours ..."; -CENSUSPlus_PLZUPDATEDATE = "SVP utilisez /censusdate pour configurer la date du jour pour des données plus précises. Format /censusdate MM-DD-YYYY, exemple, /censusdate 12-25-2004"; -CENSUSPlus_NOCENSUS = "Aucun recensement en cours"; -CENSUSPlus_FINISHED = "Recensement terminé. %s nouveaux personnages et %s mis à jour."; -CENSUSPlus_TOOMANY = "ERREUR: Trop de joueurs correspondants à : %s"; -CENSUSPlus_WAITING = "En attente de lancement de requête /who ..."; -CENSUSPlus_SENDING = "Envoi de requête /who %s"; -CENSUSPlus_PROCESSING = "Analyse de %s personnages."; - -CENSUSPlus_REALMNAME = "Serveur : %s"; -CENSUSPlus_REALMUNKNOWN = "Serveur : Inconnu"; -CENSUSPlus_FACTION = "Faction : %s"; -CENSUSPlus_FACTIONUNKNOWN = "Faction : Inconnu"; -CENSUSPlus_TOTALCHAR = "Nombre de personnages : %d"; -CENSUSPlus_TOTALCHAR_0 = "Nombre de personnages : 0"; -CENSUSPlus_AUTOCLOSEWHO = "Fermeture auto du /Who"; -CENSUSPlus_SHOWMINI = "Montrer Mini au démarrage"; -CENSUSPlus_UNGUILDED = "(Sans Guilde)"; -CENSUSPlus_TAKE = "Recenser"; -CENSUSPlus_TAKEGUILD = "Take guild"; -CENSUSPlus_TAKINGGUILD = "Taking guild"; -CENSUSPlus_TOPGUILD = "Meilleures guildes par XP"; -CENSUSPlus_RACE = "Races"; -CENSUSPlus_CLASS = "Classes"; -CENSUSPlus_LEVEL = "Niveaux"; -CENSUSPlus_PURGE = "Mettre à Zero"; - -CENSUSPlus_MAXIMIZE = "Agrandir la fenêtre CensusPlus"; -CENSUSPlus_MINIMIZE = "Réduire la fenêtre CensusPlus"; -CENSUSPlus_BUTTON_MINIMIZE = "Réduire"; - -CENSUSPlus_HORDE = "Horde"; -CENSUSPlus_ALLIANCE = "Alliance"; - -CENSUSPlus_DRUID = "Druide"; -CENSUSPlusFemale["Druidesse"] = "Druide"; -CENSUSPlus_HUNTER = "Chasseur"; -CENSUSPlusFemale["Chasseresse"] = "Chasseur"; -CENSUSPlus_MAGE = "Mage"; -CENSUSPlus_PRIEST = "Prêtre"; -CENSUSPlusFemale["Prêtresse"] = "Prêtre"; -CENSUSPlus_ROGUE = "Voleur"; -CENSUSPlusFemale["Voleuse"] = "Voleur"; -CENSUSPlus_WARLOCK = "Démoniste"; -CENSUSPlus_WARRIOR = "Guerrier"; -CENSUSPlusFemale["Guerrière"] = "Guerrier"; -CENSUSPlus_SHAMAN = "Chaman"; -CENSUSPlusFemale["Chamane"] = "Chaman"; -CENSUSPlus_PALADIN = "Paladin"; -CENSUSPlus_DEATHKNIGHT = "Chevalier de la mort"; - - -CENSUSPlus_DWARF = "Nain"; -CENSUSPlusFemale["Naine"] = "Nain"; -CENSUSPlus_GNOME = "Gnome"; -CENSUSPlus_HUMAN = "Humain"; -CENSUSPlus_NIGHTELF = "Elfe de la nuit"; -CENSUSPlus_ORC = "Orc"; -CENSUSPlusFemale["Orque"] = "Orc"; -CENSUSPlus_TAUREN = "Tauren"; -CENSUSPlusFemale["Taurène"] = "Tauren"; -CENSUSPlus_TROLL = "Troll"; -CENSUSPlusFemale["Trollesse"] = "Troll"; -CENSUSPlus_UNDEAD = "Mort-vivant"; -CENSUSPlusFemale["Morte-vivante"] = "Mort-vivant"; -CENSUSPlus_DRAENEI = "Draeneï"; -CENSUSPlus_BLOODELF = "Elfe de sang"; - -CENSUSPlus_WarsongGulch = "Goulet des Warsong"; -CENSUSPlus_AlteracValley = "Vallée d'Alterac"; -CENSUSPlus_ArathiBasin = "Bassin d'Arathi"; -CENSUSPlus_EyeOfTheStorm = "Oeil du cyclone"; - -CENSUSPLUS_US_LOCALE = "Choisissez si vous jouez sur un serveur US"; -CENSUSPLUS_EU_LOCALE = "Choisissez si vous jouez sur un serveur EURO"; -CENSUSPLUS_LOCALE_SELECT = "Choisissez la localité de votre serveur"; - -CENSUS_LEVEL_NO_GUILD = "%[(.+)%: Niveau (%d+) (%a+) (%a+) %- (.+)"; -CENSUS_LEVEL_W_GUILD = "%[(.+)%: Niveau (%d+) (%a+) (%a+) %<(.+)%> %- (.+)"; -CENSUS_LEVEL_W_GUILD_2 = "%[(.+)%: Niveau (%d+) (%a+) (%a+) (%a+) %<(.+)%> %- (.+)"; -CENSUS_LEVEL_NO_GUILD_2 = "%[(.+)%: Niveau (%d+) (%a+) (%a+) (%a+) %- (.+)"; - - - - -elseif ( GetLocale() == "deDE" ) then --- Thanks to MadMax-X for this German translation -CENSUSPlus_BUTTON_TEXT = "Census+"; -CENSUSPlus_BUTTON_SUBTEXT = "Realm Census"; -CENSUSPlus_BUTTON_TIP = "Hier klicken um Census+ anzuzeigen oder zu verstecken."; -CENSUSPlus_HELP = " Benutze /censusplus um die Census+ Oberfläche zu öffnen."; - -CENSUSPlus_MSG1 = " Geladen - mit /censusplus or /census+ wird das Hauptfenster geöffnet"; -CENSUSPlus_MSG2 = "Mit /censusdate kann das aktuelle Datum im Format MM-DD-YYYY gesetzt werden, z.B. 12-25-2004"; - -CENSUSPlus_UPLOAD = "Lade deine CensusPlus Daten bei www.WarcraftRealms.com hoch!"; -CENSUSPlus_SETTINGDATE = "Datum wird gesetzt => "; -CENSUSPlus_PAUSE = "Pause"; -CENSUSPlus_UNPAUSE = "Weiter"; -CENSUSPlus_STOP = "Stop"; - -CENSUSPlus_TAKECENSUS = "Zähle alle aktiven \nSpieler deiner Fraktion \nauf diesem Server."; -CENSUSPlus_TAKEGUILDCENSUS = "Zähle alle aktiven \nSpieler der Gilde \nauf diesem Server."; -CENSUSPlus_PURGEDATABASE = "Lösche die Datenbank."; -CENSUSPlus_PAUSECENSUS = "Pausiere die laufende Zählung"; -CENSUSPlus_STOPCENSUS = "Stoppe die laufende Zählung"; - -CENSUSPlus_PURGEMSG = "Charakterdatenbank für Server %s und Fraktion %s gelöscht."; -CENSUSPlus_ISINPROGRESS = "Es läuft schon eine Zählung, versuch es später nochmal"; -CENSUSPlus_TAKINGONLINE = "Zählung der gerade aktiven Charaktere..."; -CENSUSPlus_PLZUPDATEDATE = "Bitte benutze /censusdate um das aktuelle Datum zu setzen, damit die Auswertung genauer wird. (Format: /censusdate MM-DD-YYYY, z.B. /censusdate 12-25-2004"; -CENSUSPlus_NOCENSUS = "Es läuft gerade keine Zählung"; -CENSUSPlus_FINISHED = "Zählung beendet. %s neue Charactere gefunden und %s aktualisiert."; -CENSUSPlus_TOOMANY = "FEHLER: Zu viele passende Charaktere: %s"; -CENSUSPlus_WAITING = "Warte, um /who zu senden..."; -CENSUSPlus_SENDING = "Sende /who %s"; -CENSUSPlus_PROCESSING = "Verarbeite %s Charaktere."; - -CENSUSPlus_REALMNAME = "Server: %s"; -CENSUSPlus_REALMUNKNOWN = "Server: Unbekannt"; -CENSUSPlus_FACTION = "Fraktion: %s"; -CENSUSPlus_FACTIONUNKNOWN = "Fraktion: Unbekannt"; -CENSUSPlus_TOTALCHAR = "Gesamte Charaktere: %d"; -CENSUSPlus_TOTALCHAR_0 = "Gesamte Charaktere: 0"; -CENSUSPlus_AUTOCLOSEWHO = "Schließe Who automatisch"; -CENSUSPlus_SHOWMINI = "Mini-Button beim Start anzeigen"; -CENSUSPlus_UNGUILDED = "(Gildenlos)"; -CENSUSPlus_TAKE = "Zählen"; -CENSUSPlus_TAKEGUILD = "Gilde zählen"; -CENSUSPlus_TAKINGGUILD = "Zähle Gilde"; -CENSUSPlus_TOPGUILD = "Top Gilden nach XP"; -CENSUSPlus_RACE = "Rassen"; -CENSUSPlus_CLASS = "Klassen"; -CENSUSPlus_LEVEL = "Level"; -CENSUSPlus_PURGE = "Löschen"; - -CENSUSPlus_MAXIMIZE = "Maximiere das CensusPlus Fenster"; -CENSUSPlus_MINIMIZE = "Minimiere das CensusPlus Fenster"; -CENSUSPlus_BUTTON_MINIMIZE = "Minimieren"; - -CENSUSPlus_HORDE = "Horde"; -CENSUSPlus_ALLIANCE = "Alliance"; - -CENSUSPlus_DRUID = "Druide"; -CENSUSPlusFemale["Druidin"] = "Druide"; -CENSUSPlus_HUNTER = "Jäger"; -CENSUSPlusFemale["Jägerin"] = "Jäger"; -CENSUSPlus_MAGE = "Magier"; -CENSUSPlusFemale["Magierin"] = "Magier"; -CENSUSPlus_PRIEST = "Priester"; -CENSUSPlusFemale["Priesterin"] = "Priester"; -CENSUSPlus_ROGUE = "Schurke"; -CENSUSPlusFemale["Schurkin"] = "Schurke"; -CENSUSPlus_WARLOCK = "Hexenmeister"; -CENSUSPlusFemale["Hexenmeisterin"] = "Hexenmeister"; -CENSUSPlus_WARRIOR = "Krieger"; -CENSUSPlusFemale["Kriegerin"] = "Krieger"; -CENSUSPlus_SHAMAN = "Schamane"; -CENSUSPlusFemale["Schamanin"] = "Schamane"; -CENSUSPlus_PALADIN = "Paladin"; -CENSUSPlus_DEATHKNIGHT = "Todesritter"; - -CENSUSPlus_DWARF = "Zwerg"; -CENSUSPlus_GNOME = "Gnom"; -CENSUSPlus_HUMAN = "Mensch"; -CENSUSPlus_NIGHTELF = "Nachtelf"; -CENSUSPlusFemale["Nachtelfe"] = "Nachtelf"; -CENSUSPlus_ORC = "Orc"; -CENSUSPlus_TAUREN = "Tauren"; -CENSUSPlus_TROLL = "Troll"; -CENSUSPlus_UNDEAD = "Untoter"; -CENSUSPlusFemale["Untote"] = "Untoter"; -CENSUSPlus_DRAENEI = "Draenei"; -CENSUSPlus_BLOODELF = "Blutelf"; -CENSUSPlusFemale["Blutelfe"] = "Blutelf"; - -CENSUSPlus_WarsongGulch = "Kriegshymnenschlucht"; -CENSUSPlus_AlteracValley = "Alteractal"; -CENSUSPlus_ArathiBasin = "Arathibecken"; -CENSUSPlus_EyeOfTheStorm = "Auge des Sturms"; - -CENSUSPLUS_US_LOCALE= "Auswählen, wenn du auf US-Servern spielst"; -CENSUSPLUS_EU_LOCALE= "Auswählen, wenn du auf EURO-Servern spielst"; -CENSUSPLUS_LOCALE_SELECT= "Wähle, ob du auf US oder EURO-Servern spielst"; - -CENSUSPlus_BUTTON_OPTIONS = "Optionen"; -CENSUSPlus_OPTIONS_HEADER = "Census+ Optionen"; -CENSUSPlus_ISINBG = "Du befindest dich momentan auf einem Schlachtfeld und daher kann Census+ keine Abfrage duchführen."; -CENSUS_OPTIONS_BUTPOS = "Button Position"; -CENSUS_OPTIONS_BUTSHOW = "Minimap-Button"; -CENSUS_OPTIONS_AUTOSTART = "Autom. Starten"; -CENSUS_OPTIONS_VERBOSE = "Verbose"; -CENSUS_OPTIONS_AUTOCENSUS = "Autom. Zählen"; -CENSUS_OPTIONS_THISPROFILE = "Profil nur diesen Charakter"; -CENSUS_OPTIONS_EXIT = "Schließen"; - -CENSUS_BUTTON_TOOLTIP = "CensusPlus öffnen"; - -CENSUS_LEVEL_NO_GUILD = "(.+): Stufe (%d+) (.+) (.+) - (.+)"; -CENSUS_LEVEL_W_GUILD = "(.+): Stufe (%d+) (.+) (.+) <(.+)> - (.+)"; - -elseif ( GetLocale() == "esES" ) then --- Thanks to NeKRoMaNT EU-Zul'jin < contacto@nekromant.com> for the Spanish Translation -CENSUSPlus_BUTTON_TEXT = "Census+"; -CENSUSPlus_BUTTON_SUBTEXT = "Estadísticas Servidor"; -CENSUSPlus_BUTTON_TIP = "Pulsa aquí para mostrar u ocultar Census+."; -CENSUSPlus_HELP = " Usa /censusplus para abrir y cerrar la interfaz Census+."; - -CENSUSPlus_MSG1 = " operativo - Escribe /censusplus o /census+ para abrir la ventana principal"; - -CENSUSPlus_UPLOAD = "¡Asegúrate de enviar tus datos a www.WarcraftRealms.com!"; -CENSUSPlus_PAUSE = "Pausa"; -CENSUSPlus_UNPAUSE = "Continuar"; -CENSUSPlus_STOP = "Detener"; -CENSUSPlus_PRUNE = "Resetear"; - -CENSUSPlus_TAKECENSUS = "Realizar un censo de jugadores \nconectados en este servidor \ny en esta facción"; -CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; -CENSUSPlus_PURGEDATABASE = "Purgar la base de datos."; -CENSUSPlus_PAUSECENSUS = "Pausar el censo actual"; -CENSUSPlus_UNPAUSECENSUS = "Continuar el censo actual"; -CENSUSPlus_STOPCENSUS = "Detener el censo actual"; -CENSUSPlus_PRUNECENSUS = "Optimiza la base de datos borrando personajes sin censar en los últimos 30 días"; - -CENSUSPlus_PURGEMSG = "Base de datos de personajes purgada."; -CENSUSPlus_ISINPROGRESS = "Censo en progreso, vuelve a intentarlo mas tarde"; -CENSUSPlus_TAKINGONLINE = "Realizando censo de personajes conectados..."; -CENSUSPlus_NOCENSUS = "No hay ningún censo activo"; -CENSUSPlus_FINISHED = "Se ha terminado de recoger datos. Encontrados %s nuevos personajes y %s actualizados. Duración %s."; -CENSUSPlus_TOOMANY = "AVISO: Demasiadas coincidencias: %s"; -CENSUSPlus_WAITING = "Esperando a enviar petición /quien..."; -CENSUSPlus_SENDING = "Enviando /quien %s"; -CENSUSPlus_PROCESSING = "Procesando %s personajes."; - -CENSUSPlus_REALMNAME = "Servidor: %s"; -CENSUSPlus_REALMUNKNOWN = "ServidorReino: Desconocido"; -CENSUSPlus_FACTION = "Facción: %s"; -CENSUSPlus_FACTIONUNKNOWN = "Facción: Desconocida"; -CENSUSPlus_LOCALE = "Región : %s"; -CENSUSPlus_LOCALEUNKNOWN = "Región : Desconocida"; -CENSUSPlus_TOTALCHAR = "Personajes Totales: %d"; -CENSUSPlus_TOTALCHAR_0 = "Personajes Totales: 0"; -CENSUSPlus_AUTOCLOSEWHO = "Cerrar Quien Automático"; -CENSUSPlus_SHOWMINI = "Minimizado al inicio"; -CENSUSPlus_UNGUILDED = "(Sin Hermandad)"; -CENSUSPlus_TAKE = "Comenzar"; -CENSUSPlus_TAKEGUILD = "Take guild"; -CENSUSPlus_TAKINGGUILD = "Taking guild"; -CENSUSPlus_TOPGUILD = "Clanes por Experiencia"; -CENSUSPlus_RACE = "Razas"; -CENSUSPlus_CLASS = "Clases"; -CENSUSPlus_LEVEL = "Niveles"; -CENSUSPlus_PURGE = "Purgar"; -CENSUSPlus_MAXXED = "MAXXED!"; - -CENSUSPlus_MAXIMIZE = "Maximizar la ventana de CensusPlus"; -CENSUSPlus_MINIMIZE = "Minimizar la ventana de CensusPlus"; -CENSUSPlus_BUTTON_MINIMIZE = "Minimizar"; - -CENSUSPlus_HORDE = "Horde"; -CENSUSPlus_ALLIANCE = "Alliance"; - -CENSUSPlus_DRUID = "Druida"; -CENSUSPlus_HUNTER = "Cazador"; -CENSUSPlus_MAGE = "Mago"; -CENSUSPlus_PRIEST = "Sacerdote"; -CENSUSPlus_ROGUE = "Pícaro"; -CENSUSPlus_WARLOCK = "Brujo"; -CENSUSPlus_WARRIOR = "Guerrero"; -CENSUSPlus_SHAMAN = "Chamán"; -CENSUSPlus_PALADIN = "Paladín"; -CENSUSPlus_DEATHKNIGHT = "Caballero de la Muerte"; - -CENSUSPlus_DWARF = "Enano"; -CENSUSPlus_GNOME = "Gnomo"; -CENSUSPlus_HUMAN = "Humano"; -CENSUSPlus_NIGHTELF = "Elfo de la noche"; -CENSUSPlus_ORC = "Orco"; -CENSUSPlus_TAUREN = "Tauren"; -CENSUSPlus_TROLL = "Trol"; -CENSUSPlus_UNDEAD = "No-muerto"; -CENSUSPlus_DRAENEI = "Draenei"; -CENSUSPlus_BLOODELF = "Elfo de sangre"; - -CENSUSPlus_DRUID = "Druida"; -CENSUSPlus_HUNTER = "Cazador"; -CENSUSPlusFemale["Cazadora"] = "Cazador"; -CENSUSPlus_MAGE = "Mago"; -CENSUSPlusFemale["Maga"] = "Mago"; -CENSUSPlus_PRIEST = "Sacerdote"; -CENSUSPlusFemale["Sacerdotisa"] = "Sacerdote"; -CENSUSPlus_ROGUE = "Pícaro"; -CENSUSPlusFemale["Pícara"] = "Pícaro"; -CENSUSPlus_WARLOCK = "Brujo"; -CENSUSPlusFemale["Bruja"] = "Brujo"; -CENSUSPlus_WARRIOR = "Guerrero"; -CENSUSPlusFemale["Guerrera"] = "Guerrero"; -CENSUSPlus_SHAMAN = "Chamán"; -CENSUSPlus_PALADIN = "Paladín"; - -CENSUSPlus_DWARF = "Enano"; -CENSUSPlusFemale["Enana"] = "Enano"; -CENSUSPlus_GNOME = "Gnomo"; -CENSUSPlusFemale["Gnoma"] = "Gnomo"; -CENSUSPlus_HUMAN = "Humano"; -CENSUSPlusFemale["Humana"] = "Humano"; -CENSUSPlus_NIGHTELF = "Elfo de la noche"; -CENSUSPlusFemale["Elfa de la noche"] = "Elfo de la noche"; -CENSUSPlus_ORC = "Orco"; -CENSUSPlus_TAUREN = "Tauren"; -CENSUSPlus_TROLL = "Trol"; -CENSUSPlus_UNDEAD = "No-muerto"; -CENSUSPlusFemale["No-muerta"] = "No-muerto"; -CENSUSPlus_DRAENEI = "Draenei"; -CENSUSPlus_BLOODELF = "Elfo de sangre"; -CENSUSPlusFemale["Elfa de sangre"] = "Elfo de sangre"; - - - -CENSUSPlus_WarsongGulch = "Garganta Grito de Guerra"; -CENSUSPlus_AlteracValley = "Valle de Alterac"; -CENSUSPlus_ArathiBasin = "Cuenca de Arathi"; -CENSUSPlus_EyeOfTheStorm = "Ojo de la Tormenta"; - -CENSUSPlus_BUTTON_OPTIONS = "Opciones"; -CENSUSPlus_OPTIONS_HEADER = "Opciones Census+"; -CENSUS_OPTIONS_BUTPOS = "Posición de botón"; -CENSUS_OPTIONS_BUTSHOW = "Mostrar botón"; - -CENSUSPlus_BUTTON_CHARACTERS = "Mostrar personajes"; -CENSUSPlus_Characters = "Personajes"; - -CENSUS_BUTTON_TOOLTIP = "Abrir CensusPlus"; - -CENSUS_LEVEL_NO_GUILD = "(.+): Nivel (%d+) (.+) (.+) - (.+)"; -CENSUS_LEVEL_W_GUILD = "(.+): Nivel (%d+) (.+) (.+) <(.+)> - (.+)"; - -CENSUSPlus_CANCEL = "Cancelar"; -elseif ( GetLocale() == "koKR" ) then --- This is Korean Locale, Translated by crezol -- - -CENSUSPlusFemale = { }; - -CENSUSPlus_BUTTON_TEXT = "센서스+"; -CENSUSPlus_BUTTON_SUBTEXT = "서버 센서스"; -CENSUSPlus_BUTTON_TIP = "센서스+ 를 보이거나 숨기려면 클릭하십시오."; -CENSUSPlus_HELP = " /censusplus 를 사용해 센서스+ UI 를 열거나 닫을 수 있습니다."; - -CENSUSPlus_MSG1 = "센서스+ 로드됨 - /censusplus 나 /census+ 를 입력해 메인 창을 띄울 수 있습니다."; -CENSUSPlus_MSG2 = "/censusdate 를 사용해 오늘의 날짜를 설정하세요.(형식: MM-DD-YYYY, 예. 12-25-2004)"; - -CENSUSPlus_UPLOAD = "www.WarcraftRealms.com 에서 센서스+ 업데이트를 확인하세요!"; -CENSUSPlus_SETTINGDATE = "날짜 변경 => "; -CENSUSPlus_PAUSE = "일시중지"; -CENSUSPlus_UNPAUSE = "계속"; -CENSUSPlus_STOP = "중지"; -CENSUSPlus_PRUNE = "간략화"; - -CENSUSPlus_TAKECENSUS = "현재 이 서버와 이 진영에 속한 \n플레이어를 센서스로 가져옵니다."; -CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; -CENSUSPlus_PURGEDATABASE = "모든 데이터를 소거합니다."; -CENSUSPlus_PAUSECENSUS = "현재 센서스를 일시중지 합니다."; -CENSUSPlus_UNPAUSECENSUS = "일시중지된 센서스를 계속 진행합니다."; -CENSUSPlus_STOPCENSUS = "활동중인 센서스+를 중지합니다."; -CENSUSPlus_PRUNECENSUS = "30일동안 검색되지 않은 플레이어를 \n데이터베이스에서 제거해 간략화 합니다."; - -CENSUSPlus_PRUNEINFO = "%d 케릭터 간략화됨."; - -CENSUSPlus_PURGEMSG = "케릭터 데이터베이스가 소거되었습니다."; -CENSUSPlus_ISINPROGRESS = "센서스+가 진행중입니다, 나중에 다시 시도하십시오."; -CENSUSPlus_TAKINGONLINE = "온라인 상태의 케릭터를 센서스로 가져오는 중입니다..."; -CENSUSPlus_PLZUPDATEDATE = "좀더 정확한 데이터를 얻기 위해 /censusdate 를 사용해 오늘 날짜를 수정하십시오. (형식 /censusdate MM-DD-YYYY, 예, /censusdate 12-25-2004)"; -CENSUSPlus_NOCENSUS = "센서스가 현재 진행중이 아닙니다."; -CENSUSPlus_FINISHED = "데이터 수집 완료. %s 의 새 케릭터가 검색되어 총 %s 케릭터를 확인했습니다. 소요 시간 :%s "; -CENSUSPlus_TOOMANY = "경고: 너무 많은 케릭터 일치: %s"; -CENSUSPlus_WAITING = "누구 명령어를 보내기 위해 기다리는 중..."; -CENSUSPlus_SENDING = "검색중 : /누구 "; -CENSUSPlus_PROCESSING = "%s 케릭터를 수집함."; - -CENSUSPlus_REALMNAME = "서버: %s"; -CENSUSPlus_REALMUNKNOWN = "서버: 알수없음"; -CENSUSPlus_FACTION = "진영: %s"; -CENSUSPlus_FACTIONUNKNOWN = "진영: 알수없음"; -CENSUSPlus_LOCALE = "Locale : %s"; -CENSUSPlus_LOCALEUNKNOWN = "Locale : 알수없음"; -CENSUSPlus_TOTALCHAR = "모든 케릭터: %d"; -CENSUSPlus_TOTALCHAR_0 = "모든 케릭터: 0"; -CENSUSPlus_TOTALCHARXP = "XP 지수: %d"; -CENSUSPlus_TOTALCHARXP_0 = "XP 지수: 0"; -CENSUSPlus_SCAN_PROGRESS = "검색 진행중: %d 개의 질의 대기중 - %s"; -CENSUSPlus_SCAN_PROGRESS_0 = "진행중인 검색이 없습니다."; -CENSUSPlus_AUTOCLOSEWHO = "누구 창 자동으로 닫기"; -CENSUSPlus_SHOWMINI = "시작시 최소화 보기"; -CENSUSPlus_UNGUILDED = "(길드없음)"; -CENSUSPlus_TAKE = "가져오기"; -CENSUSPlus_TAKEGUILD = "Take guild"; -CENSUSPlus_TAKINGGUILD = "Taking guild"; -CENSUSPlus_TOPGUILD = "XP 에 의한 길드 순위"; -CENSUSPlus_RACE = "종족"; -CENSUSPlus_CLASS = "직업"; -CENSUSPlus_LEVEL = "레벨"; -CENSUSPlus_PURGE = "소거"; -CENSUSPlus_MAXXED = "MAXXED!"; - -CENSUSPlus_MAXIMIZE = "센서스+ 창 최대화"; -CENSUSPlus_MINIMIZE = "센서스+ 창 최소화"; -CENSUSPlus_BUTTON_MINIMIZE = "최소화"; - -CENSUSPlus_DRUID = "드루이드"; -CENSUSPlus_HUNTER = "사냥꾼"; -CENSUSPlus_MAGE = "마법사"; -CENSUSPlus_PRIEST = "사제"; -CENSUSPlus_ROGUE = "도적"; -CENSUSPlus_WARLOCK = "흑마법사"; -CENSUSPlus_WARRIOR = "전사"; -CENSUSPlus_SHAMAN = "주술사"; -CENSUSPlus_PALADIN = "성기사"; -CENSUSPlus_DEATHKNIGHT = "죽음의 기사"; - -CENSUSPlus_DWARF = "드워프"; -CENSUSPlus_GNOME = "노움"; -CENSUSPlus_HUMAN = "인간"; -CENSUSPlus_NIGHTELF = "나이트 엘프"; -CENSUSPlus_ORC = "오크"; -CENSUSPlus_TAUREN = "타우렌"; -CENSUSPlus_TROLL = "트롤"; -CENSUSPlus_UNDEAD = "언데드"; -CENSUSPlus_DRAENEI = "드레나이"; -CENSUSPlus_BLOODELF = "블러드 엘프"; - -CENSUSPlus_WarsongGulch = "전쟁노래 협곡"; -CENSUSPlus_AlteracValley = "알터렉 계곡"; -CENSUSPlus_ArathiBasin = "아라시 분지"; -CENSUSPlus_EyeOfTheStorm = "폭풍의 눈"; - -CENSUSPLUS_US_LOCALE = "Select if you play on US Servers"; -CENSUSPLUS_EU_LOCALE = "Select if you play on EURO Servers"; -CENSUSPLUS_LOCALE_SELECT = "Select if you play on US or EURO servers"; - -CENSUSPlus_BUTTON_OPTIONS = "설정"; -CENSUSPlus_OPTIONS_HEADER = "센서스+ 설정"; -CENSUSPlus_ISINBG = "현재 전장에 있기 때문에 센서스가 작동하지 않습니다."; -CENSUS_OPTIONS_BUTPOS = "버튼 위치"; -CENSUS_OPTIONS_BUTSHOW = "미니맵 버튼 보이기"; -CENSUS_OPTIONS_AUTOCENSUS = "자동-센서스"; -CENSUS_OPTIONS_THISPROFILE = "이 케릭터를 위해 프로필 모으기"; -CENSUS_OPTIONS_AUTOSTART = "자동-시작"; -CENSUS_OPTIONS_VERBOSE = "모두 알림"; -CENSUS_OPTIONS_SOUND_ON_COMPLETE = "종료시 소리 재생"; -CENSUS_OPTIONS_LOG_BARS = "로그마틱 레벨 그래프"; - -CENSUSPlus_AUTOSTART_TOOLTIP = "자동으로 센서스+ 활성화"; -CENSUSPlus_VERBOSE_TOOLTIP = "스팸 메시지를 멈추려면 해제하세요!"; -CENSUSPlus_AUTOCENSUS_TOOLTIP = "플레이 시 자동으로 센서스+ 검색 시작"; -CENSUSPlus_THISPROFILE_TOOLTIP = "WarcraftRealms.com 에 업로드 하기 위해 이 케릭터의 프로필 데이터를 모읍니다."; - -CENSUSPlus_BUTTON_CHARACTERS = "케릭터 보기"; -CENSUSPlus_Characters = "케릭터"; - -CENSUS_BUTTON_TOOLTIP = "센서스+ 열기"; - - ---|cff979797[11:19:12]|r|c00000000|r |cffd8d8d8[|r|Hplayer:Rollee:93|h|cffd8d83f1|r:|cfffff468Rollee|r|h|cffd8d8d8]|r: Level 1 Troll Rogue - Durotar ---|Hplayer:Rollee|h[Rollee]|h: Level 1 Troll Rogue - Durotar -CENSUS_SINGLE_MATCH_PATTERN = "(.+)%: (%a+) (%d+) (.+) %- (.+)"; - -CENSUS_LEVEL_NO_GUILD = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) %- (.+)"; -CENSUS_LEVEL_W_GUILD = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) %<(.+)%> %- (.+)"; -CENSUS_LEVEL_W_GUILD_2 = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) (%a+) %<(.+)%> %- (.+)"; -CENSUS_LEVEL_NO_GUILD_2 = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) (%a+) %- (.+)"; - -CENSUSPlus_CANCEL = "취소"; - -CENSUSPlus_OVERRIDE = "센서스가 작업중입니다, 우선적으로 해당 명령을 수행합니다. 잠시만 기다려주세요."; -CENSUSPlus_OVERRIDE_COMPLETE = "우선 시행 완료, 센서스 검색을 재개합니다."; -CENSUSPlus_OVERRIDE_COMPLETE_BUT_PAUSED = "우선 시행 완료, 센서스 일시중지됨."; - -CENSUSPlus_PURGE_LOCAL_CONFIRM = "정말로 로컬 데이터베이스의 모든 자료를 소거하겠습니까?"; -CENSUSPlus_OVERRIDE_COMPLET_PAUSED = "우선 시행이 완료되었지만 센서스가 일시중지 되었습니다. 계속 버튼을 클릭하세요."; - -CENSUSPlus_YES = "예"; -CENSUSPlus_NO = "아니오"; -CENSUSPlus_CONTINUE = "계속"; - -end - +--[[ + CensusPlus for World of Warcraft(tm). + + Copyright 2005 - 2006 Cooper Sellers and WarcraftRealms.com + + License: + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program(see GLP.txt); if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]] +CENSUSPlusFemale = { }; + +CENSUSPlus_BUTTON_TEXT = "Census+"; +CENSUSPlus_BUTTON_SUBTEXT = "Realm Census"; +CENSUSPlus_BUTTON_TIP = "Click here to show or hide Census+."; +CENSUSPlus_HELP = " Use /censusplus to open and close the Census+ UI."; + +CENSUSPlus_MSG1 = " Loaded - type /censusplus or /census+ to open main window"; +CENSUSPlus_MSG2 = "Use /censusdate to set today's date in the format of MM-DD-YYYY, ie. 12-25-2004"; + +CENSUSPlus_UPLOAD = "Be sure to upload your CensusPlus data to www.WarcraftRealms.com!"; +CENSUSPlus_SETTINGDATE = "Setting date to => "; +CENSUSPlus_PAUSE = "Pause"; +CENSUSPlus_UNPAUSE = "Un-Pause"; +CENSUSPlus_STOP = "Stop"; +CENSUSPlus_PRUNE = "Prune"; + +CENSUSPlus_TAKECENSUS = "Take a census of players \ncurrently online on this server \nand in this faction"; +CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; +CENSUSPlus_PURGEDATABASE = "Purge the database of all data"; +CENSUSPlus_PAUSECENSUS = "Pause the current census"; +CENSUSPlus_UNPAUSECENSUS = "Un-Pause the current census"; +CENSUSPlus_STOPCENSUS = "Stop the currently active CensusPlus"; +CENSUSPlus_PRUNECENSUS = "Prune the database by removing characters not seen in 30 days."; + +CENSUSPlus_PRUNEINFO = "Pruned %d characters."; + +CENSUSPlus_PURGEMSG = "Purged character database."; +CENSUSPlus_ISINPROGRESS = "A CensusPlus is in progress, try again later"; +CENSUSPlus_TAKINGONLINE = "Taking census of characters online..."; +CENSUSPlus_PLZUPDATEDATE = "Please use /censusdate to set today's date for more more accurate data. Format /censusdate MM-DD-YYYY, example, /censusdate 12-25-2004"; +CENSUSPlus_NOCENSUS = "A Census is not currently in progress"; +CENSUSPlus_FINISHED = "Finished Taking data. Found %s new characters and saw %s. Took %s."; +CENSUSPlus_TOOMANY = "WARNING: Too many characters matching: %s"; +CENSUSPlus_WAITING = "Waiting to send who request..."; +CENSUSPlus_SENDING = "Sending /who %s"; +CENSUSPlus_PROCESSING = "Processing %s characters."; + +CENSUSPlus_REALMNAME = "Realm: %s"; +CENSUSPlus_REALMUNKNOWN = "Realm: Unknown"; +CENSUSPlus_FACTION = "Faction: %s"; +CENSUSPlus_FACTIONUNKNOWN = "Faction: Unknown"; +CENSUSPlus_LOCALE = "Locale : %s"; +CENSUSPlus_LOCALEUNKNOWN = "Locale : Unknown"; +CENSUSPlus_TOTALCHAR = "Total Characters: %d"; +CENSUSPlus_TOTALCHAR_0 = "Total Characters: 0"; +CENSUSPlus_TOTALCHARXP = "XP Factor: %d"; +CENSUSPlus_TOTALCHARXP_0 = "XP Factor: 0"; +CENSUSPlus_SCAN_PROGRESS = "Scan Progress: %d queries in the queue - %s"; +CENSUSPlus_SCAN_PROGRESS_0 = "No Scan In Progress"; +CENSUSPlus_AUTOCLOSEWHO = "Automatically Close Who"; +CENSUSPlus_SHOWMINI = "Show Mini On Start"; +CENSUSPlus_UNGUILDED = "(Unguilded)"; +CENSUSPlus_TAKE = "Take"; +CENSUSPlus_TAKEGUILD = "Take guild"; +CENSUSPlus_TAKINGGUILD = "Taking guild"; +CENSUSPlus_TOPGUILD = "Top Guilds By XP"; +CENSUSPlus_RACE = "Races"; +CENSUSPlus_CLASS = "Classes"; +CENSUSPlus_LEVEL = "Levels"; +CENSUSPlus_PURGE = "Purge"; +CENSUSPlus_MAXXED = "MAXXED!"; + +CENSUSPlus_MAXIMIZE = "Maximize the CensusPlus Window"; +CENSUSPlus_MINIMIZE = "Minimize the CensusPlus Window"; +CENSUSPlus_BUTTON_MINIMIZE = "Minimize"; + +CENSUSPlus_DRUID = "Druid"; +CENSUSPlus_HUNTER = "Hunter"; +CENSUSPlus_MAGE = "Mage"; +CENSUSPlus_PRIEST = "Priest"; +CENSUSPlus_ROGUE = "Rogue"; +CENSUSPlus_WARLOCK = "Warlock"; +CENSUSPlus_WARRIOR = "Warrior"; +CENSUSPlus_SHAMAN = "Shaman"; +CENSUSPlus_PALADIN = "Paladin"; +CENSUSPlus_DEATHKNIGHT = "Death Knight"; + +CENSUSPlus_DWARF = "Dwarf"; +CENSUSPlus_GNOME = "Gnome"; +CENSUSPlus_HUMAN = "Human"; +CENSUSPlus_NIGHTELF = "Night Elf"; +CENSUSPlus_ORC = "Orc"; +CENSUSPlus_TAUREN = "Tauren"; +CENSUSPlus_TROLL = "Troll"; +CENSUSPlus_UNDEAD = "Undead"; +CENSUSPlus_DRAENEI = "Draenei"; +CENSUSPlus_BLOODELF = "Blood Elf"; +CENSUSPlus_WORGEN = "Worgen"; +CENSUSPlus_GOBLIN = "Goblin"; + +CENSUSPlus_WarsongGulch = "Warsong Gulch"; +CENSUSPlus_AlteracValley = "Alterac Valley"; +CENSUSPlus_ArathiBasin = "Arathi Basin"; +CENSUSPlus_EyeOfTheStorm = "Eye of the Storm"; + +CENSUSPLUS_US_LOCALE = "Select if you play on US Servers"; +CENSUSPLUS_EU_LOCALE = "Select if you play on EURO Servers"; +CENSUSPLUS_LOCALE_SELECT = "Select if you play on US or EURO servers"; + +CENSUSPlus_BUTTON_OPTIONS = "Options"; +CENSUSPlus_OPTIONS_HEADER = "Census+ Options"; +CENSUSPlus_ISINBG = "You are currently in a Battleground so a Census cannot be taken"; +CENSUS_OPTIONS_BUTPOS = "Button Position"; +CENSUS_OPTIONS_BUTSHOW = "Show Minimap Button"; +CENSUS_OPTIONS_AUTOCENSUS = "Auto-Census"; +CENSUS_OPTIONS_THISPROFILE = "Collect Profile for this Char"; +CENSUS_OPTIONS_AUTOSTART = "Auto-Start"; +CENSUS_OPTIONS_VERBOSE = "Verbose"; +CENSUS_OPTIONS_SOUND_ON_COMPLETE = "Play Sound When Done"; +CENSUS_OPTIONS_LOG_BARS = "Logarithmic Level Bars"; + +CENSUSPlus_AUTOSTART_TOOLTIP = "Enable Census+ to start automatically"; +CENSUSPlus_VERBOSE_TOOLTIP = "Deselect to stop the spam!"; +CENSUSPlus_AUTOCENSUS_TOOLTIP = "Enable Census+ to run automatically while playing"; +CENSUSPlus_THISPROFILE_TOOLTIP = "Collect profile data for this character to upload to WarcraftRealms.com"; + +CENSUSPlus_BUTTON_CHARACTERS = "Show Chars"; +CENSUSPlus_Characters = "Characters"; + +CENSUS_BUTTON_TOOLTIP = "Open CensusPlus"; + + +--|cff979797[11:19:12]|r|c00000000|r |cffd8d8d8[|r|Hplayer:Rollee:93|h|cffd8d83f1|r:|cfffff468Rollee|r|h|cffd8d8d8]|r: Level 1 Troll Rogue - Durotar +--|Hplayer:Rollee|h[Rollee]|h: Level 1 Troll Rogue - Durotar +CENSUS_SINGLE_MATCH_PATTERN = "(.+)%: (%a+) (%d+) (.+) %- (.+)"; + +CENSUS_LEVEL_NO_GUILD = "%[(.+)%: Level (%d+) (%a+) (%a+) %- (.+)"; +CENSUS_LEVEL_W_GUILD = "%[(.+)%: Level (%d+) (%a+) (%a+) %<(.+)%> %- (.+)"; +CENSUS_LEVEL_W_GUILD_2 = "%[(.+)%: Level (%d+) (%a+) (%a+) (%a+) %<(.+)%> %- (.+)"; +CENSUS_LEVEL_NO_GUILD_2 = "%[(.+)%: Level (%d+) (%a+) (%a+) (%a+) %- (.+)"; + +CENSUSPlus_CANCEL = "Cancel"; + +CENSUSPlus_OVERRIDE = "Census in progress, submitting override"; +CENSUSPlus_OVERRIDE_COMPLETE = "Override complete resuming census"; +CENSUSPlus_OVERRIDE_COMPLETE_BUT_PAUSED = "Override complete, but census has been paused"; + +CENSUSPlus_PURGE_LOCAL_CONFIRM = "Are you sure you wish to PURGE your local database?"; +CENSUSPlus_OVERRIDE_COMPLET_PAUSED = "Override complete but Census has been paused, Click to Continue"; + +CENSUSPlus_YES = "Yes"; +CENSUSPlus_NO = "No"; +CENSUSPlus_CONTINUE = "Continue"; + +if ( GetLocale() == "frFR" ) then + -- Traduit par Juki <Unskilled> + + CENSUSPlus_BUTTON_TEXT = "Census+"; + CENSUSPlus_BUTTON_SUBTEXT = "Stats serveur"; + CENSUSPlus_BUTTON_TIP = "Cliquez ici pour montrer ou masquer Census+."; + CENSUSPlus_HELP = " Utilisez /censusplus pour ouvrir et fermer Census+."; + + CENSUSPlus_MSG1 = " Chargée - Tapez /censusplus ou /census+ pour ouvrir la fenêtre principale"; + CENSUSPlus_MSG2 = "Utilisez /censusdate pour configurer la date du jour dans le format MM-DD-YYYY, ie.12-25-2004"; + + CENSUSPlus_UPLOAD = ""; + CENSUSPlus_UPLOAD2 = ""; + CENSUSPlus_SETTINGDATE = "Mise à jour de la date => "; + CENSUSPlus_PAUSE = "Pause"; + CENSUSPlus_UNPAUSE = "Reprendre"; + CENSUSPlus_STOP = "Stop"; + + CENSUSPlus_TAKECENSUS = "Faire un recensement des joueurs \nactuellement en ligne sur ce serveur \net dans cette faction"; + CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; + CENSUSPlus_PURGEDATABASE = "Supprime la base de donnée concernant."; + CENSUSPlus_PAUSECENSUS = "Mettre en pause le recensement en cours"; + CENSUSPlus_STOPCENSUS = "Arrêter le recensement en cours" + + CENSUSPlus_PURGEMSG = "Base de donnée supprimée."; + CENSUSPlus_ISINPROGRESS = "Un recensement est en cours, veuillez patienter"; + CENSUSPlus_TAKINGONLINE = "Recensement des joueurs en cours ..."; + CENSUSPlus_PLZUPDATEDATE = "SVP utilisez /censusdate pour configurer la date du jour pour des données plus précises. Format /censusdate MM-DD-YYYY, exemple, /censusdate 12-25-2004"; + CENSUSPlus_NOCENSUS = "Aucun recensement en cours"; + CENSUSPlus_FINISHED = "Recensement terminé. %s nouveaux personnages et %s mis à jour."; + CENSUSPlus_TOOMANY = "ERREUR: Trop de joueurs correspondants à : %s"; + CENSUSPlus_WAITING = "En attente de lancement de requête /who ..."; + CENSUSPlus_SENDING = "Envoi de requête /who %s"; + CENSUSPlus_PROCESSING = "Analyse de %s personnages."; + + CENSUSPlus_REALMNAME = "Serveur : %s"; + CENSUSPlus_REALMUNKNOWN = "Serveur : Inconnu"; + CENSUSPlus_FACTION = "Faction : %s"; + CENSUSPlus_FACTIONUNKNOWN = "Faction : Inconnu"; + CENSUSPlus_TOTALCHAR = "Nombre de personnages : %d"; + CENSUSPlus_TOTALCHAR_0 = "Nombre de personnages : 0"; + CENSUSPlus_AUTOCLOSEWHO = "Fermeture auto du /Who"; + CENSUSPlus_SHOWMINI = "Montrer Mini au démarrage"; + CENSUSPlus_UNGUILDED = "(Sans Guilde)"; + CENSUSPlus_TAKE = "Recenser"; + CENSUSPlus_TAKEGUILD = "Take guild"; + CENSUSPlus_TAKINGGUILD = "Taking guild"; + CENSUSPlus_TOPGUILD = "Meilleures guildes par XP"; + CENSUSPlus_RACE = "Races"; + CENSUSPlus_CLASS = "Classes"; + CENSUSPlus_LEVEL = "Niveaux"; + CENSUSPlus_PURGE = "Mettre à Zero"; + + CENSUSPlus_MAXIMIZE = "Agrandir la fenêtre CensusPlus"; + CENSUSPlus_MINIMIZE = "Réduire la fenêtre CensusPlus"; + CENSUSPlus_BUTTON_MINIMIZE = "Réduire"; + + CENSUSPlus_HORDE = "Horde"; + CENSUSPlus_ALLIANCE = "Alliance"; + + CENSUSPlus_DRUID = "Druide"; + CENSUSPlusFemale["Druidesse"] = "Druide"; + CENSUSPlus_HUNTER = "Chasseur"; + CENSUSPlusFemale["Chasseresse"] = "Chasseur"; + CENSUSPlus_MAGE = "Mage"; + CENSUSPlus_PRIEST = "Prêtre"; + CENSUSPlusFemale["Prêtresse"] = "Prêtre"; + CENSUSPlus_ROGUE = "Voleur"; + CENSUSPlusFemale["Voleuse"] = "Voleur"; + CENSUSPlus_WARLOCK = "Démoniste"; + CENSUSPlus_WARRIOR = "Guerrier"; + CENSUSPlusFemale["Guerrière"] = "Guerrier"; + CENSUSPlus_SHAMAN = "Chaman"; + CENSUSPlusFemale["Chamane"] = "Chaman"; + CENSUSPlus_PALADIN = "Paladin"; + CENSUSPlus_DEATHKNIGHT = "Chevalier de la mort"; + + + CENSUSPlus_DWARF = "Nain"; + CENSUSPlusFemale["Naine"] = "Nain"; + CENSUSPlus_GNOME = "Gnome"; + CENSUSPlus_HUMAN = "Humain"; + CENSUSPlus_NIGHTELF = "Elfe de la nuit"; + CENSUSPlus_ORC = "Orc"; + CENSUSPlusFemale["Orque"] = "Orc"; + CENSUSPlus_TAUREN = "Tauren"; + CENSUSPlusFemale["Taurène"] = "Tauren"; + CENSUSPlus_TROLL = "Troll"; + CENSUSPlusFemale["Trollesse"] = "Troll"; + CENSUSPlus_UNDEAD = "Mort-vivant"; + CENSUSPlusFemale["Morte-vivante"] = "Mort-vivant"; + CENSUSPlus_DRAENEI = "Draeneï"; + CENSUSPlus_BLOODELF = "Elfe de sang"; + CENSUSPlus_WORGEN = "Worgen"; + CENSUSPlus_GOBLIN = "Goblin"; + + CENSUSPlus_WarsongGulch = "Goulet des Warsong"; + CENSUSPlus_AlteracValley = "Vallée d'Alterac"; + CENSUSPlus_ArathiBasin = "Bassin d'Arathi"; + CENSUSPlus_EyeOfTheStorm = "Oeil du cyclone"; + + CENSUSPLUS_US_LOCALE = "Choisissez si vous jouez sur un serveur US"; + CENSUSPLUS_EU_LOCALE = "Choisissez si vous jouez sur un serveur EURO"; + CENSUSPLUS_LOCALE_SELECT = "Choisissez la localité de votre serveur"; + + CENSUS_LEVEL_NO_GUILD = "%[(.+)%: Niveau (%d+) (%a+) (%a+) %- (.+)"; + CENSUS_LEVEL_W_GUILD = "%[(.+)%: Niveau (%d+) (%a+) (%a+) %<(.+)%> %- (.+)"; + CENSUS_LEVEL_W_GUILD_2 = "%[(.+)%: Niveau (%d+) (%a+) (%a+) (%a+) %<(.+)%> %- (.+)"; + CENSUS_LEVEL_NO_GUILD_2 = "%[(.+)%: Niveau (%d+) (%a+) (%a+) (%a+) %- (.+)"; + + +elseif ( GetLocale() == "deDE" ) then + -- Thanks to MadMax-X for this German translation + CENSUSPlus_BUTTON_TEXT = "Census+"; + CENSUSPlus_BUTTON_SUBTEXT = "Realm Census"; + CENSUSPlus_BUTTON_TIP = "Hier klicken um Census+ anzuzeigen oder zu verstecken."; + CENSUSPlus_HELP = " Benutze /censusplus um die Census+ Oberfläche zu öffnen."; + + CENSUSPlus_MSG1 = " Geladen - mit /censusplus or /census+ wird das Hauptfenster geöffnet"; + CENSUSPlus_MSG2 = "Mit /censusdate kann das aktuelle Datum im Format MM-DD-YYYY gesetzt werden, z.B. 12-25-2004"; + + CENSUSPlus_UPLOAD = "Lade deine CensusPlus Daten bei www.WarcraftRealms.com hoch!"; + CENSUSPlus_SETTINGDATE = "Datum wird gesetzt => "; + CENSUSPlus_PAUSE = "Pause"; + CENSUSPlus_UNPAUSE = "Weiter"; + CENSUSPlus_STOP = "Stop"; + + CENSUSPlus_TAKECENSUS = "Zähle alle aktiven \nSpieler deiner Fraktion \nauf diesem Server."; + CENSUSPlus_TAKEGUILDCENSUS = "Zähle alle aktiven \nSpieler der Gilde \nauf diesem Server."; + CENSUSPlus_PURGEDATABASE = "Lösche die Datenbank."; + CENSUSPlus_PAUSECENSUS = "Pausiere die laufende Zählung"; + CENSUSPlus_STOPCENSUS = "Stoppe die laufende Zählung"; + + CENSUSPlus_PURGEMSG = "Charakterdatenbank für Server %s und Fraktion %s gelöscht."; + CENSUSPlus_ISINPROGRESS = "Es läuft schon eine Zählung, versuch es später nochmal"; + CENSUSPlus_TAKINGONLINE = "Zählung der gerade aktiven Charaktere..."; + CENSUSPlus_PLZUPDATEDATE = "Bitte benutze /censusdate um das aktuelle Datum zu setzen, damit die Auswertung genauer wird. (Format: /censusdate MM-DD-YYYY, z.B. /censusdate 12-25-2004"; + CENSUSPlus_NOCENSUS = "Es läuft gerade keine Zählung"; + CENSUSPlus_FINISHED = "Zählung beendet. %s neue Charactere gefunden und %s aktualisiert."; + CENSUSPlus_TOOMANY = "FEHLER: Zu viele passende Charaktere: %s"; + CENSUSPlus_WAITING = "Warte, um /who zu senden..."; + CENSUSPlus_SENDING = "Sende /who %s"; + CENSUSPlus_PROCESSING = "Verarbeite %s Charaktere."; + + CENSUSPlus_REALMNAME = "Server: %s"; + CENSUSPlus_REALMUNKNOWN = "Server: Unbekannt"; + CENSUSPlus_FACTION = "Fraktion: %s"; + CENSUSPlus_FACTIONUNKNOWN = "Fraktion: Unbekannt"; + CENSUSPlus_TOTALCHAR = "Gesamte Charaktere: %d"; + CENSUSPlus_TOTALCHAR_0 = "Gesamte Charaktere: 0"; + CENSUSPlus_AUTOCLOSEWHO = "Schließe Who automatisch"; + CENSUSPlus_SHOWMINI = "Mini-Button beim Start anzeigen"; + CENSUSPlus_UNGUILDED = "(Gildenlos)"; + CENSUSPlus_TAKE = "Zählen"; + CENSUSPlus_TAKEGUILD = "Gilde zählen"; + CENSUSPlus_TAKINGGUILD = "Zähle Gilde"; + CENSUSPlus_TOPGUILD = "Top Gilden nach XP"; + CENSUSPlus_RACE = "Rassen"; + CENSUSPlus_CLASS = "Klassen"; + CENSUSPlus_LEVEL = "Level"; + CENSUSPlus_PURGE = "Löschen"; + + CENSUSPlus_MAXIMIZE = "Maximiere das CensusPlus Fenster"; + CENSUSPlus_MINIMIZE = "Minimiere das CensusPlus Fenster"; + CENSUSPlus_BUTTON_MINIMIZE = "Minimieren"; + + CENSUSPlus_HORDE = "Horde"; + CENSUSPlus_ALLIANCE = "Alliance"; + + CENSUSPlus_DRUID = "Druide"; + CENSUSPlusFemale["Druidin"] = "Druide"; + CENSUSPlus_HUNTER = "Jäger"; + CENSUSPlusFemale["Jägerin"] = "Jäger"; + CENSUSPlus_MAGE = "Magier"; + CENSUSPlusFemale["Magierin"] = "Magier"; + CENSUSPlus_PRIEST = "Priester"; + CENSUSPlusFemale["Priesterin"] = "Priester"; + CENSUSPlus_ROGUE = "Schurke"; + CENSUSPlusFemale["Schurkin"] = "Schurke"; + CENSUSPlus_WARLOCK = "Hexenmeister"; + CENSUSPlusFemale["Hexenmeisterin"] = "Hexenmeister"; + CENSUSPlus_WARRIOR = "Krieger"; + CENSUSPlusFemale["Kriegerin"] = "Krieger"; + CENSUSPlus_SHAMAN = "Schamane"; + CENSUSPlusFemale["Schamanin"] = "Schamane"; + CENSUSPlus_PALADIN = "Paladin"; + CENSUSPlus_DEATHKNIGHT = "Todesritter"; + + CENSUSPlus_DWARF = "Zwerg"; + CENSUSPlus_GNOME = "Gnom"; + CENSUSPlus_HUMAN = "Mensch"; + CENSUSPlus_NIGHTELF = "Nachtelf"; + CENSUSPlusFemale["Nachtelfe"] = "Nachtelf"; + CENSUSPlus_ORC = "Orc"; + CENSUSPlus_TAUREN = "Tauren"; + CENSUSPlus_TROLL = "Troll"; + CENSUSPlus_UNDEAD = "Untoter"; + CENSUSPlusFemale["Untote"] = "Untoter"; + CENSUSPlus_DRAENEI = "Draenei"; + CENSUSPlus_BLOODELF = "Blutelf"; + CENSUSPlusFemale["Blutelfe"] = "Blutelf"; + CENSUSPlus_WORGEN = "Worgen"; + CENSUSPlus_GOBLIN = "Goblin"; + + CENSUSPlus_WarsongGulch = "Kriegshymnenschlucht"; + CENSUSPlus_AlteracValley = "Alteractal"; + CENSUSPlus_ArathiBasin = "Arathibecken"; + CENSUSPlus_EyeOfTheStorm = "Auge des Sturms"; + + CENSUSPLUS_US_LOCALE= "Auswählen, wenn du auf US-Servern spielst"; + CENSUSPLUS_EU_LOCALE= "Auswählen, wenn du auf EURO-Servern spielst"; + CENSUSPLUS_LOCALE_SELECT= "Wähle, ob du auf US oder EURO-Servern spielst"; + + CENSUSPlus_BUTTON_OPTIONS = "Optionen"; + CENSUSPlus_OPTIONS_HEADER = "Census+ Optionen"; + CENSUSPlus_ISINBG = "Du befindest dich momentan auf einem Schlachtfeld und daher kann Census+ keine Abfrage duchführen."; + CENSUS_OPTIONS_BUTPOS = "Button Position"; + CENSUS_OPTIONS_BUTSHOW = "Minimap-Button"; + CENSUS_OPTIONS_AUTOSTART = "Autom. Starten"; + CENSUS_OPTIONS_VERBOSE = "Verbose"; + CENSUS_OPTIONS_AUTOCENSUS = "Autom. Zählen"; + CENSUS_OPTIONS_THISPROFILE = "Profil nur diesen Charakter"; + CENSUS_OPTIONS_EXIT = "Schließen"; + + CENSUS_BUTTON_TOOLTIP = "CensusPlus öffnen"; + + CENSUS_LEVEL_NO_GUILD = "(.+): Stufe (%d+) (.+) (.+) - (.+)"; + CENSUS_LEVEL_W_GUILD = "(.+): Stufe (%d+) (.+) (.+) <(.+)> - (.+)"; + +elseif ( GetLocale() == "esES" ) then + -- Thanks to NeKRoMaNT EU-Zul'jin < contacto@nekromant.com> for the Spanish Translation + CENSUSPlus_BUTTON_TEXT = "Census+"; + CENSUSPlus_BUTTON_SUBTEXT = "Estadísticas Servidor"; + CENSUSPlus_BUTTON_TIP = "Pulsa aquí para mostrar u ocultar Census+."; + CENSUSPlus_HELP = " Usa /censusplus para abrir y cerrar la interfaz Census+."; + + CENSUSPlus_MSG1 = " operativo - Escribe /censusplus o /census+ para abrir la ventana principal"; + + CENSUSPlus_UPLOAD = "¡Asegúrate de enviar tus datos a www.WarcraftRealms.com!"; + CENSUSPlus_PAUSE = "Pausa"; + CENSUSPlus_UNPAUSE = "Continuar"; + CENSUSPlus_STOP = "Detener"; + CENSUSPlus_PRUNE = "Resetear"; + + CENSUSPlus_TAKECENSUS = "Realizar un censo de jugadores \nconectados en este servidor \ny en esta facción"; + CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; + CENSUSPlus_PURGEDATABASE = "Purgar la base de datos."; + CENSUSPlus_PAUSECENSUS = "Pausar el censo actual"; + CENSUSPlus_UNPAUSECENSUS = "Continuar el censo actual"; + CENSUSPlus_STOPCENSUS = "Detener el censo actual"; + CENSUSPlus_PRUNECENSUS = "Optimiza la base de datos borrando personajes sin censar en los últimos 30 días"; + + CENSUSPlus_PURGEMSG = "Base de datos de personajes purgada."; + CENSUSPlus_ISINPROGRESS = "Censo en progreso, vuelve a intentarlo mas tarde"; + CENSUSPlus_TAKINGONLINE = "Realizando censo de personajes conectados..."; + CENSUSPlus_NOCENSUS = "No hay ningún censo activo"; + CENSUSPlus_FINISHED = "Se ha terminado de recoger datos. Encontrados %s nuevos personajes y %s actualizados. Duración %s."; + CENSUSPlus_TOOMANY = "AVISO: Demasiadas coincidencias: %s"; + CENSUSPlus_WAITING = "Esperando a enviar petición /quien..."; + CENSUSPlus_SENDING = "Enviando /quien %s"; + CENSUSPlus_PROCESSING = "Procesando %s personajes."; + + CENSUSPlus_REALMNAME = "Servidor: %s"; + CENSUSPlus_REALMUNKNOWN = "ServidorReino: Desconocido"; + CENSUSPlus_FACTION = "Facción: %s"; + CENSUSPlus_FACTIONUNKNOWN = "Facción: Desconocida"; + CENSUSPlus_LOCALE = "Región : %s"; + CENSUSPlus_LOCALEUNKNOWN = "Región : Desconocida"; + CENSUSPlus_TOTALCHAR = "Personajes Totales: %d"; + CENSUSPlus_TOTALCHAR_0 = "Personajes Totales: 0"; + CENSUSPlus_AUTOCLOSEWHO = "Cerrar Quien Automático"; + CENSUSPlus_SHOWMINI = "Minimizado al inicio"; + CENSUSPlus_UNGUILDED = "(Sin Hermandad)"; + CENSUSPlus_TAKE = "Comenzar"; + CENSUSPlus_TAKEGUILD = "Take guild"; + CENSUSPlus_TAKINGGUILD = "Taking guild"; + CENSUSPlus_TOPGUILD = "Clanes por Experiencia"; + CENSUSPlus_RACE = "Razas"; + CENSUSPlus_CLASS = "Clases"; + CENSUSPlus_LEVEL = "Niveles"; + CENSUSPlus_PURGE = "Purgar"; + CENSUSPlus_MAXXED = "MAXXED!"; + + CENSUSPlus_MAXIMIZE = "Maximizar la ventana de CensusPlus"; + CENSUSPlus_MINIMIZE = "Minimizar la ventana de CensusPlus"; + CENSUSPlus_BUTTON_MINIMIZE = "Minimizar"; + + CENSUSPlus_HORDE = "Horde"; + CENSUSPlus_ALLIANCE = "Alliance"; + + CENSUSPlus_DRUID = "Druida"; + CENSUSPlus_HUNTER = "Cazador"; + CENSUSPlus_MAGE = "Mago"; + CENSUSPlus_PRIEST = "Sacerdote"; + CENSUSPlus_ROGUE = "Pícaro"; + CENSUSPlus_WARLOCK = "Brujo"; + CENSUSPlus_WARRIOR = "Guerrero"; + CENSUSPlus_SHAMAN = "Chamán"; + CENSUSPlus_PALADIN = "Paladín"; + CENSUSPlus_DEATHKNIGHT = "Caballero de la Muerte"; + + CENSUSPlus_DWARF = "Enano"; + CENSUSPlus_GNOME = "Gnomo"; + CENSUSPlus_HUMAN = "Humano"; + CENSUSPlus_NIGHTELF = "Elfo de la noche"; + CENSUSPlus_ORC = "Orco"; + CENSUSPlus_TAUREN = "Tauren"; + CENSUSPlus_TROLL = "Trol"; + CENSUSPlus_UNDEAD = "No-muerto"; + CENSUSPlus_DRAENEI = "Draenei"; + CENSUSPlus_BLOODELF = "Elfo de sangre"; + CENSUSPlus_WORGEN = "Worgen"; + CENSUSPlus_GOBLIN = "Goblin"; + + CENSUSPlus_DRUID = "Druida"; + CENSUSPlus_HUNTER = "Cazador"; + CENSUSPlusFemale["Cazadora"] = "Cazador"; + CENSUSPlus_MAGE = "Mago"; + CENSUSPlusFemale["Maga"] = "Mago"; + CENSUSPlus_PRIEST = "Sacerdote"; + CENSUSPlusFemale["Sacerdotisa"] = "Sacerdote"; + CENSUSPlus_ROGUE = "Pícaro"; + CENSUSPlusFemale["Pícara"] = "Pícaro"; + CENSUSPlus_WARLOCK = "Brujo"; + CENSUSPlusFemale["Bruja"] = "Brujo"; + CENSUSPlus_WARRIOR = "Guerrero"; + CENSUSPlusFemale["Guerrera"] = "Guerrero"; + CENSUSPlus_SHAMAN = "Chamán"; + CENSUSPlus_PALADIN = "Paladín"; + + CENSUSPlus_DWARF = "Enano"; + CENSUSPlusFemale["Enana"] = "Enano"; + CENSUSPlus_GNOME = "Gnomo"; + CENSUSPlusFemale["Gnoma"] = "Gnomo"; + CENSUSPlus_HUMAN = "Humano"; + CENSUSPlusFemale["Humana"] = "Humano"; + CENSUSPlus_NIGHTELF = "Elfo de la noche"; + CENSUSPlusFemale["Elfa de la noche"] = "Elfo de la noche"; + CENSUSPlus_ORC = "Orco"; + CENSUSPlus_TAUREN = "Tauren"; + CENSUSPlus_TROLL = "Trol"; + CENSUSPlus_UNDEAD = "No-muerto"; + CENSUSPlusFemale["No-muerta"] = "No-muerto"; + CENSUSPlus_DRAENEI = "Draenei"; + CENSUSPlus_BLOODELF = "Elfo de sangre"; + CENSUSPlusFemale["Elfa de sangre"] = "Elfo de sangre"; + CENSUSPlus_WORGEN = "Worgen"; + CENSUSPlus_GOBLIN = "Goblin"; + + + + CENSUSPlus_WarsongGulch = "Garganta Grito de Guerra"; + CENSUSPlus_AlteracValley = "Valle de Alterac"; + CENSUSPlus_ArathiBasin = "Cuenca de Arathi"; + CENSUSPlus_EyeOfTheStorm = "Ojo de la Tormenta"; + + CENSUSPlus_BUTTON_OPTIONS = "Opciones"; + CENSUSPlus_OPTIONS_HEADER = "Opciones Census+"; + CENSUS_OPTIONS_BUTPOS = "Posición de botón"; + CENSUS_OPTIONS_BUTSHOW = "Mostrar botón"; + + CENSUSPlus_BUTTON_CHARACTERS = "Mostrar personajes"; + CENSUSPlus_Characters = "Personajes"; + + CENSUS_BUTTON_TOOLTIP = "Abrir CensusPlus"; + + CENSUS_LEVEL_NO_GUILD = "(.+): Nivel (%d+) (.+) (.+) - (.+)"; + CENSUS_LEVEL_W_GUILD = "(.+): Nivel (%d+) (.+) (.+) <(.+)> - (.+)"; + + CENSUSPlus_CANCEL = "Cancelar"; +elseif ( GetLocale() == "koKR" ) then +-- This is Korean Locale, Translated by crezol -- + +CENSUSPlusFemale = { }; + +CENSUSPlus_BUTTON_TEXT = "센서스+"; +CENSUSPlus_BUTTON_SUBTEXT = "서버 센서스"; +CENSUSPlus_BUTTON_TIP = "센서스+ 를 보이거나 숨기려면 클릭하십시오."; +CENSUSPlus_HELP = " /censusplus 를 사용해 센서스+ UI 를 열거나 닫을 수 있습니다."; + +CENSUSPlus_MSG1 = "센서스+ 로드됨 - /censusplus 나 /census+ 를 입력해 메인 창을 띄울 수 있습니다."; +CENSUSPlus_MSG2 = "/censusdate 를 사용해 오늘의 날짜를 설정하세요.(형식: MM-DD-YYYY, 예. 12-25-2004)"; + +CENSUSPlus_UPLOAD = "www.WarcraftRealms.com 에서 센서스+ 업데이트를 확인하세요!"; +CENSUSPlus_SETTINGDATE = "날짜 변경 => "; +CENSUSPlus_PAUSE = "일시중지"; +CENSUSPlus_UNPAUSE = "계속"; +CENSUSPlus_STOP = "중지"; +CENSUSPlus_PRUNE = "간략화"; + +CENSUSPlus_TAKECENSUS = "현재 이 서버와 이 진영에 속한 \n플레이어를 센서스로 가져옵니다."; +CENSUSPlus_TAKEGUILDCENSUS = "Take a census of players \ncurrently online on this server \nand in this guild"; +CENSUSPlus_PURGEDATABASE = "모든 데이터를 소거합니다."; +CENSUSPlus_PAUSECENSUS = "현재 센서스를 일시중지 합니다."; +CENSUSPlus_UNPAUSECENSUS = "일시중지된 센서스를 계속 진행합니다."; +CENSUSPlus_STOPCENSUS = "활동중인 센서스+를 중지합니다."; +CENSUSPlus_PRUNECENSUS = "30일동안 검색되지 않은 플레이어를 \n데이터베이스에서 제거해 간략화 합니다."; + +CENSUSPlus_PRUNEINFO = "%d 케릭터 간략화됨."; + +CENSUSPlus_PURGEMSG = "케릭터 데이터베이스가 소거되었습니다."; +CENSUSPlus_ISINPROGRESS = "센서스+가 진행중입니다, 나중에 다시 시도하십시오."; +CENSUSPlus_TAKINGONLINE = "온라인 상태의 케릭터를 센서스로 가져오는 중입니다..."; +CENSUSPlus_PLZUPDATEDATE = "좀더 정확한 데이터를 얻기 위해 /censusdate 를 사용해 오늘 날짜를 수정하십시오. (형식 /censusdate MM-DD-YYYY, 예, /censusdate 12-25-2004)"; +CENSUSPlus_NOCENSUS = "센서스가 현재 진행중이 아닙니다."; +CENSUSPlus_FINISHED = "데이터 수집 완료. %s 의 새 케릭터가 검색되어 총 %s 케릭터를 확인했습니다. 소요 시간 :%s "; +CENSUSPlus_TOOMANY = "경고: 너무 많은 케릭터 일치: %s"; +CENSUSPlus_WAITING = "누구 명령어를 보내기 위해 기다리는 중..."; +CENSUSPlus_SENDING = "검색중 : /누구 "; +CENSUSPlus_PROCESSING = "%s 케릭터를 수집함."; + +CENSUSPlus_REALMNAME = "서버: %s"; +CENSUSPlus_REALMUNKNOWN = "서버: 알수없음"; +CENSUSPlus_FACTION = "진영: %s"; +CENSUSPlus_FACTIONUNKNOWN = "진영: 알수없음"; +CENSUSPlus_LOCALE = "Locale : %s"; +CENSUSPlus_LOCALEUNKNOWN = "Locale : 알수없음"; +CENSUSPlus_TOTALCHAR = "모든 케릭터: %d"; +CENSUSPlus_TOTALCHAR_0 = "모든 케릭터: 0"; +CENSUSPlus_TOTALCHARXP = "XP 지수: %d"; +CENSUSPlus_TOTALCHARXP_0 = "XP 지수: 0"; +CENSUSPlus_SCAN_PROGRESS = "검색 진행중: %d 개의 질의 대기중 - %s"; +CENSUSPlus_SCAN_PROGRESS_0 = "진행중인 검색이 없습니다."; +CENSUSPlus_AUTOCLOSEWHO = "누구 창 자동으로 닫기"; +CENSUSPlus_SHOWMINI = "시작시 최소화 보기"; +CENSUSPlus_UNGUILDED = "(길드없음)"; +CENSUSPlus_TAKE = "가져오기"; +CENSUSPlus_TAKEGUILD = "Take guild"; +CENSUSPlus_TAKINGGUILD = "Taking guild"; +CENSUSPlus_TOPGUILD = "XP 에 의한 길드 순위"; +CENSUSPlus_RACE = "종족"; +CENSUSPlus_CLASS = "직업"; +CENSUSPlus_LEVEL = "레벨"; +CENSUSPlus_PURGE = "소거"; +CENSUSPlus_MAXXED = "MAXXED!"; + +CENSUSPlus_MAXIMIZE = "센서스+ 창 최대화"; +CENSUSPlus_MINIMIZE = "센서스+ 창 최소화"; +CENSUSPlus_BUTTON_MINIMIZE = "최소화"; + +CENSUSPlus_DRUID = "드루이드"; +CENSUSPlus_HUNTER = "사냥꾼"; +CENSUSPlus_MAGE = "마법사"; +CENSUSPlus_PRIEST = "사제"; +CENSUSPlus_ROGUE = "도적"; +CENSUSPlus_WARLOCK = "흑마법사"; +CENSUSPlus_WARRIOR = "전사"; +CENSUSPlus_SHAMAN = "주술사"; +CENSUSPlus_PALADIN = "성기사"; +CENSUSPlus_DEATHKNIGHT = "죽음의 기사"; + +CENSUSPlus_DWARF = "드워프"; +CENSUSPlus_GNOME = "노움"; +CENSUSPlus_HUMAN = "인간"; +CENSUSPlus_NIGHTELF = "나이트 엘프"; +CENSUSPlus_ORC = "오크"; +CENSUSPlus_TAUREN = "타우렌"; +CENSUSPlus_TROLL = "트롤"; +CENSUSPlus_UNDEAD = "언데드"; +CENSUSPlus_DRAENEI = "드레나이"; +CENSUSPlus_BLOODELF = "블러드 엘프"; +CENSUSPlus_WORGEN = "Worgen"; +CENSUSPlus_GOBLIN = "Goblin"; + +CENSUSPlus_WarsongGulch = "전쟁노래 협곡"; +CENSUSPlus_AlteracValley = "알터렉 계곡"; +CENSUSPlus_ArathiBasin = "아라시 분지"; +CENSUSPlus_EyeOfTheStorm = "폭풍의 눈"; + +CENSUSPLUS_US_LOCALE = "Select if you play on US Servers"; +CENSUSPLUS_EU_LOCALE = "Select if you play on EURO Servers"; +CENSUSPLUS_LOCALE_SELECT = "Select if you play on US or EURO servers"; + +CENSUSPlus_BUTTON_OPTIONS = "설정"; +CENSUSPlus_OPTIONS_HEADER = "센서스+ 설정"; +CENSUSPlus_ISINBG = "현재 전장에 있기 때문에 센서스가 작동하지 않습니다."; +CENSUS_OPTIONS_BUTPOS = "버튼 위치"; +CENSUS_OPTIONS_BUTSHOW = "미니맵 버튼 보이기"; +CENSUS_OPTIONS_AUTOCENSUS = "자동-센서스"; +CENSUS_OPTIONS_THISPROFILE = "이 케릭터를 위해 프로필 모으기"; +CENSUS_OPTIONS_AUTOSTART = "자동-시작"; +CENSUS_OPTIONS_VERBOSE = "모두 알림"; +CENSUS_OPTIONS_SOUND_ON_COMPLETE = "종료시 소리 재생"; +CENSUS_OPTIONS_LOG_BARS = "로그마틱 레벨 그래프"; + +CENSUSPlus_AUTOSTART_TOOLTIP = "자동으로 센서스+ 활성화"; +CENSUSPlus_VERBOSE_TOOLTIP = "스팸 메시지를 멈추려면 해제하세요!"; +CENSUSPlus_AUTOCENSUS_TOOLTIP = "플레이 시 자동으로 센서스+ 검색 시작"; +CENSUSPlus_THISPROFILE_TOOLTIP = "WarcraftRealms.com 에 업로드 하기 위해 이 케릭터의 프로필 데이터를 모읍니다."; + +CENSUSPlus_BUTTON_CHARACTERS = "케릭터 보기"; +CENSUSPlus_Characters = "케릭터"; + +CENSUS_BUTTON_TOOLTIP = "센서스+ 열기"; + + +--|cff979797[11:19:12]|r|c00000000|r |cffd8d8d8[|r|Hplayer:Rollee:93|h|cffd8d83f1|r:|cfffff468Rollee|r|h|cffd8d8d8]|r: Level 1 Troll Rogue - Durotar +--|Hplayer:Rollee|h[Rollee]|h: Level 1 Troll Rogue - Durotar +CENSUS_SINGLE_MATCH_PATTERN = "(.+)%: (%a+) (%d+) (.+) %- (.+)"; + +CENSUS_LEVEL_NO_GUILD = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) %- (.+)"; +CENSUS_LEVEL_W_GUILD = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) %<(.+)%> %- (.+)"; +CENSUS_LEVEL_W_GUILD_2 = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) (%a+) %<(.+)%> %- (.+)"; +CENSUS_LEVEL_NO_GUILD_2 = "%[(.+)%: 레벨 (%d+) (%a+) (%a+) (%a+) %- (.+)"; + +CENSUSPlus_CANCEL = "취소"; + +CENSUSPlus_OVERRIDE = "센서스가 작업중입니다, 우선적으로 해당 명령을 수행합니다. 잠시만 기다려주세요."; +CENSUSPlus_OVERRIDE_COMPLETE = "우선 시행 완료, 센서스 검색을 재개합니다."; +CENSUSPlus_OVERRIDE_COMPLETE_BUT_PAUSED = "우선 시행 완료, 센서스 일시중지됨."; + +CENSUSPlus_PURGE_LOCAL_CONFIRM = "정말로 로컬 데이터베이스의 모든 자료를 소거하겠습니까?"; +CENSUSPlus_OVERRIDE_COMPLET_PAUSED = "우선 시행이 완료되었지만 센서스가 일시중지 되었습니다. 계속 버튼을 클릭하세요."; + +CENSUSPlus_YES = "예"; +CENSUSPlus_NO = "아니오"; +CENSUSPlus_CONTINUE = "계속"; + +end +
