-- X-Perl UnitFrames
-- Author: Zek <Boodhoof-EU>
-- License: GNU GPL v3, 29 June 2007 (see LICENSE.txt)

if (GetLocale() == "zhCN") then
XPerl_LongDescription	= "全新外观的玩家状态框，包括玩家、宠物、队伍、团队、目标、目标的目标、焦点、团队"

--XPERL_COMMS_PREFIX		= "X-Perl"
XPERL_MINIMAP_HELP1	= "|c00FFFFFF左键点击|r打开选项（并解锁框体）"
XPERL_MINIMAP_HELP2	= "|c00FFFFFF右键点击|r拖动图标"
XPERL_MINIMAP_HELP3	= "\r团队成员: |c00FFFF80%d|r\r小队成员: |c00FFFF80%d|r"
XPERL_MINIMAP_HELP4	= "\r你是此 队伍/团队 队长"
XPERL_MINIMAP_HELP5	= "|c00FFFFFFAlt|r  X-Perl 内存占用"
XPERL_MINIMAP_HELP6	= "|c00FFFFFF+Shift|r  X-Perl 启用以来的内存占用"

XPERL_MINIMENU_OPTIONS	= "选项"
XPERL_MINIMENU_ASSIST	= "显示助手窗口"
XPERL_MINIMENU_CASTMON	= "显示施法监控窗口"
XPERL_MINIMENU_RAIDAD	= "显示团队管理窗口"
XPERL_MINIMENU_ITEMCHK	= "显示物品检查窗口"
XPERL_MINIMENU_RAIDBUFF = "团队Buff"
XPERL_MINIMENU_ROSTERTEXT="名单文字"
XPERL_MINIMENU_RAIDSORT = "分组设置"
XPERL_MINIMENU_RAIDSORT_GROUP = "按照队伍"
XPERL_MINIMENU_RAIDSORT_CLASS = "按照职业"

XPERL_TYPE_NOT_SPECIFIED = "未指定"
XPERL_TYPE_PET		= PET		--"宠物"
XPERL_TYPE_BOSS		= "首领"
XPERL_TYPE_RAREPLUS	= "银英"
XPERL_TYPE_ELITE	= "精英"
XPERL_TYPE_RARE		= "稀有"

-- Zones
XPERL_LOC_ZONE_SERPENTSHRINE_CAVERN = "毒蛇神殿"
XPERL_LOC_ZONE_BLACK_TEMPLE = "黑暗神殿"
XPERL_LOC_ZONE_HYJAL_SUMMIT = "海加尔峰"
XPERL_LOC_ZONE_KARAZHAN = "卡拉赞"
XPERL_LOC_ZONE_SUNWELL_PLATEAU = "太阳之井高地"
XPERL_LOC_ZONE_ULDUAR = "奥杜尔"
XPERL_LOC_ZONE_TRIAL_OF_THE_CRUSADER = "十字军的试炼"
XPERL_LOC_ZONE_ICECROWN_CITADEL = "冰冠堡垒"
XPERL_LOC_ZONE_RUBY_SANCTUM = "红玉圣殿"
XPERL_LOC_ZONE_BARADIN_HOLD = "Baradin Hold"--No translation yet.
XPERL_LOC_ZONE_BLACKWING_DECENT = "黑翼血环"
XPERL_LOC_ZONE_BASTION_OF_TWILIGHT = "暮光堡垒"
XPERL_LOC_ZONE_THRONE_OF_FOUR_WINDS = "风神王座"
XPERL_LOC_ZONE_FIRELANDS			= "火焰之地"

-- Status
XPERL_LOC_DEAD		= DEAD		--"死亡"
XPERL_LOC_GHOST		= "幽灵"
XPERL_LOC_FEIGNDEATH	= "假死"
XPERL_LOC_OFFLINE	= PLAYER_OFFLINE	--"离线"
XPERL_LOC_RESURRECTED	= "已被复活"
XPERL_LOC_SS_AVAILABLE	= "灵魂已保存"
XPERL_LOC_UPDATING	= "更新中"
XPERL_LOC_ACCEPTEDRES	= "已接受"
XPERL_RAID_GROUP		= "小队 %d"
XPERL_RAID_GROUPSHORT	= "%d 队"

XPERL_LOC_NONEWATCHED	= "无监控"

XPERL_LOC_STATUSTIP	= "状态提示: "		-- Tooltip explanation of status highlight on unit
XPERL_LOC_STATUSTIPLIST = {
	HOT = "持续治疗",
	AGGRO = "你仇恨过高了",
	MISSING = "你的职业 buff 消失",
	HEAL = "正被治疗",
	SHIELD = "盾"
}

XPERL_OK            	= "确定"
XPERL_CANCEL        	= "取消"

XPERL_LOC_LARGENUMDIV	= 10000
XPERL_LOC_LARGENUMTAG	= "W"
XPERL_LOC_HUGENUMDIV	= 100000000
XPERL_LOC_HUGENUMTAG	= "WW"

BINDING_HEADER_XPERL = "X-Perl 快捷键"
BINDING_NAME_TOGGLERAID = "切换团队窗口"
BINDING_NAME_TOGGLERAIDSORT = "切换团队排列方式"
BINDING_NAME_TOGGLERAIDPETS = "切换团队宠物窗口"
BINDING_NAME_TOGGLEOPTIONS = "切换选项窗"
BINDING_NAME_TOGGLEBUFFTYPE = "切换增益/减益/无"
BINDING_NAME_TOGGLEBUFFCASTABLE = "切换显示可施加/解除的增益/减益魔法"
BINDING_NAME_TEAMSPEAKMONITOR = "显示 Teamspeak 监控图标"
BINDING_NAME_TOGGLERANGEFINDER = "切换距离侦测"

XPERL_KEY_NOTICE_RAID_BUFFANY = "显示所有的增益/减益魔法"
XPERL_KEY_NOTICE_RAID_BUFFCURECAST = "只显示可施放/解除的的增益/减益魔法"
XPERL_KEY_NOTICE_RAID_BUFFS = "显示团队增益魔法"
XPERL_KEY_NOTICE_RAID_DEBUFFS = "显示团队减益魔法"
XPERL_KEY_NOTICE_RAID_NOBUFFS = "不显示团队增益/减益魔法"

XPERL_DRAGHINT1		= "|c00FFFFFF点击|r 改变窗口比例"
XPERL_DRAGHINT2		= "|c00FFFFFFShift+单击|r 改变窗口大小"

-- Usage
XPerlUsageNameList = {XPerl = "主体文件", XPerl_Player = "玩家", XPerl_PlayerPet = "玩家宠物", XPerl_Target = "目标", XPerl_TargetTarget = "目标的目标", XPerl_Party = "队伍", XPerl_PartyPet = "队友宠物", XPerl_RaidFrames = "团队框", XPerl_RaidHelper = "团队助手", XPerl_RaidAdmin = "团队管理", XPerl_TeamSpeak = "TS监视", XPerl_RaidMonitor = "团队监控", XPerl_RaidPets = "团队宠物", XPerl_ArcaneBar = "施法条", XPerl_PlayerBuffs = "玩家增益", XPerl_GrimReaper = "死神之收割"}
XPERL_USAGE_MEMMAX	= "UI Mem Max: %d"
XPERL_USAGE_MODULES	= "模块: "
XPERL_USAGE_NEWVERSION	= "*新版本"
XPERL_USAGE_AVAILABLE	= "%s |c00FFFFFF%s|r 可下载使用"

XPERL_CMD_HELP		= "|c00FFFF80Usage: |c00FFFFFF/xperl menu | lock | unlock | config list | config delete <realm> <name>"
XPERL_CANNOT_DELETE_CURRENT = "无法删除当前配置"
XPERL_CONFIG_DELETED		= "删除配置信息: %s/%s"
XPERL_CANNOT_FIND_DELETE_TARGET = "找不到要删除的配置信息: (%s/%s)"
XPERL_CANNOT_DELETE_BADARGS = "请输入服务器以及玩家名"
XPERL_CONFIG_LIST		= "配置列表:"
XPERL_CONFIG_CURRENT		= " (当前)"

XPerl_DefaultRangeSpells.ANY = {item = "厚灵纹布绷带"}

XPERL_RAID_TOOLTIP_WITHBUFF	= "有该buff的成员： (%s)"
XPERL_RAID_TOOLTIP_WITHOUTBUFF	= "无该buff的成员： (%s)"
XPERL_RAID_TOOLTIP_BUFFEXPIRING	= "%s的%s将在%s后过期"	-- Name, buff name, time to expire

-- Status highlight spells
XPERL_HIGHLIGHT_SPELLS = {
	hotSpells  = {
		[GetSpellInfo(774)] = 12,			-- Rejuvenation (old id 26982)
		[GetSpellInfo(8936)] = 6,			-- Regrowth (old id 26980)
		[GetSpellInfo(139)] = 12,			-- Renew (old id 25222)
	    [GetSpellInfo(48438)] = 7,			-- Wild Growth 
		[GetSpellInfo(33763)] = 8,			-- Lifebloom
		[GetSpellInfo(28880)] = 15,			-- Gift of the Naaru (Racial)
		[GetSpellInfo(61295)] = 15,			-- Riptide
	},
	pomSpells = {
		[GetSpellInfo(33076)] = 30			-- Prayer of Mending
	},
	shieldSpells = {
		[GetSpellInfo(17)] = 30,			-- Power Word: Shield
		[GetSpellInfo(76669)] = 6,			-- Illuminated Healing
		[GetSpellInfo(974)] = 600			-- Earth Shield	(old id32594)
	},
	healSpells = {
		[GetSpellInfo(2061)] = 1.5,			-- Flash of Light (old id 25235)
		[GetSpellInfo(2060)] = 3,			-- Greater Heal (old id 25213)
		[GetSpellInfo(2050)] = 3,			-- Heal (old id 6064)
		[GetSpellInfo(5185)] = 3,			-- Healing Touch (old id 26979)
		[GetSpellInfo(8936)] = 1.5,			-- Regrowth (old id 26980)
		[GetSpellInfo(331)] = 3,			-- Healing Wave (old id 25396)
		[GetSpellInfo(8004)] = 1.5,			-- Lesser Healing Wave (old id 25420)
		[GetSpellInfo(19750)] = 1.5,		-- Flash Heal (old id 27137)
		[GetSpellInfo(635)] = 2.5,			-- Holy Light (old id 27136))
		[GetSpellInfo(50464)] = 3.0			-- Nourish
	},
	buffSpells = {
		PRIEST = {
			[GetSpellInfo(21532)] = true,	-- Power Word: Fortitude (old id 25389)
			[GetSpellInfo(39231)] = true	-- Prayer of Fortitude (old id 25392)
		},
	    DRUID = {
			[GetSpellInfo(1126)] = true		-- Mark of the Wild (old id 26990)
		},
	    MAGE = {
			[GetSpellInfo(1459)] = true		-- Arcane Intellect (old id 27126)
		},
	    PALADIN = {
			[GetSpellInfo(19740)] = true,	-- Blessing of Might
			[GetSpellInfo(20217)] = true	-- Blessing of Kings
		},
	},
	groupHealSpells = {
		[GetSpellInfo(596)] = 2.5,			-- Prayer of Healing (old id 25308)
		[GetSpellInfo(1064)] = 2.5,			-- Chain Heal
	},
}


-- Default spells for range checking in the healer visual out-of-range cues.
XPerl_DefaultRangeSpells = {
	DRUID	= {spell = GetSpellInfo(5185)},				-- Healing Touch
	PALADIN = {spell = GetSpellInfo(635)},				-- Holy Light
	PRIEST	= {spell = GetSpellInfo(2061)},				-- Flash Heal
	SHAMAN	= {spell = GetSpellInfo(331)},				-- Healing Wave
	MAGE	= {spell = GetSpellInfo(475)},				-- Remove Lesser Curse
	WARLOCK	= {spell = GetSpellInfo(5697)},				-- Underwater Breathing
	ANY		= {item = GetItemInfo(21991)}				-- Heavy Netherweave Bandage
}

-- Don't highlight these magical debuffs
XPerl_ArcaneExclusions = {
	[GetSpellInfo(63559)] = true,						-- Bind Life
	[GetSpellInfo(30451)] = true,						-- Arcane Blast (again) (old 42897)
	[GetSpellInfo(30108)] = true,						-- Unstable Affliction (old 30405)
	[GetSpellInfo(15822)] = true,						-- Dreamless Sleep
	[GetSpellInfo(24360)] = true,						-- Greater Dreamless Sleep
	[GetSpellInfo(28504)] = true,						-- Major Dreamless Sleep
	[GetSpellInfo(31257)] = true,						-- Chilled
	[GetSpellInfo(710)] = true,							-- Banish
	[GetSpellInfo(44836)] = true,						-- Also Banish !?
	[GetSpellInfo(24306)] = true,						-- Delusions of Jin'do
	[GetSpellInfo(46543)] = {ROGUE = true, WARRIOR = true},	-- Ignite Mana
	[GetSpellInfo(16567)] = {ROGUE = true, WARRIOR = true},	-- Tainted Mind
	[GetSpellInfo(39052)] = {ROGUE = true},				-- Sonic Burst
	[GetSpellInfo(41190)] = {ROGUE = true, WARRIOR = true}, -- Mind-numbing Poison
	[GetSpellInfo(25195)] = {ROGUE = true},				-- Curse of Tongues
	[GetSpellInfo(30129)] = true,						-- Charred Earth - Nightbane debuff, can't be cleansed, but shows as magic
	[GetSpellInfo(31651)] = {MAGE = true, WARLOCK = true, PRIEST = true},	-- Banshee Curse, Melee hit rating debuff
	[GetSpellInfo(38913)] = {ROGUE = true},				-- Silence
	[GetSpellInfo(31555)] = {ROGUE = true, WARRIOR = true}, -- Decayed Intellect
}

end
