if (GetLocale()=="zhTW") then

DSCT_Version = "戰鬥指示器 1.67b 正式版";
DSCT_MAIN_OPTION = "|cffffff00 戰鬥指示器 1.67b|r";
DSCT_RESET_TIP = "已載入預設設置";
DSCT_FONTLIST = {
		{name="剪紙體",path="Fonts\\bKAI00M.TTF"},
		{name="隸變",path="Fonts\\bLEI00D.TTF"},
		{name="北魏楷書",path="Fonts\\bLEI00D.TTF"},
		{name="細黑",path="Fonts\\bHEI00M.TTF"},
};

DSCT_ENFONTLIST = {
		{name="剪紙體",path="Fonts\\bKAI00M.TTF"},
		{name="隸變",path="Fonts\\bLEI00D.TTF"},
		{name="北魏楷書",path="Fonts\\bLEI00D.TTF"},
		{name="細黑",path="Fonts\\bHEI00M.TTF"},
};

DSCT_DEF_FONT = "Fonts\\bKAI00M.TTF";

-- Static Messages
DSCT_DodgeMsg = {DODGE,"Dodge"};			-- Message to be displayed when you dodge
DSCT_EvadeMsg = {EVADE, "Evade"};		-- Message to be displayed when you Evade	
DSCT_ReflectMsg = {REFLECT, "Reflect"};
DSCT_ParryMsg = {PARRY,"Parry"};			-- Message to be displayed when you parry
DSCT_BlockMsg = {BLOCK,"Block"};			-- Message to be displayed when you block
DSCT_MissMsg = {MISS,"Miss"};			-- Message to be displayed when you are missed
DSCT_ResistMsg = {RESIST,"Resist"};	-- Message to be displayed when you resist
DSCT_DeflectMsg = {DEFLECTED,"Deflected"}; -- Message to be displayed when you deflect
DSCT_AbsorbMsg = {ABSORB,"Absorb"};			-- Message to be displayed when you Absorb
DSCT_ImmuneMsg = {IMMUNE,"Immune"};
DSCT_LowHP= {"生命>>","Life **"};			-- Message to be displayed when HP is low
DSCT_LowMana= {"魔力>>","Mana **"};			-- Message to be displayed when Mana is Low
DSCT_SelfFlag = "*";						-- Icon to show self hits
DSCT_Combat = {"進入戰鬥","+Combat"};				-- Message to be displayed when entering combat
DSCT_NoCombat = {"離開戰鬥","-Combat"};			-- Message to be displayed when leaving combat
DSCT_ComboPoint = {"連擊"," CP"};			-- Message to be displayed when leaving combat
DSCT_FiveCPMessage = {"連擊>終結技<"," CP Finish!!"}; -- Message to be displayed when you have 5 combo points
DSCT_Honor = {"榮譽","Honor"};							-- Message to be displayed when gaining hnor/contribution points
DSCT_ExecuteMessage = "斬殺!";
DSCT_WrathMessage = "憤怒!";
DSCT_PowerList = {{" 法力"," Mana"},{" 能量"," Energy"},{" 怒氣"," Rage"}};

DSCT_WARRIOR = "戰士";
DSCT_PALADIN = "聖騎士";

--nouns
DSCT_YOU = "你%s了目標的攻擊";
DSCT_TARGET = "目標對你的攻擊%s";
DSCT_AFFLICTED_BY = "你受到了<%s>效果的影響"; 
DSCT_PARTIAL = "目標對你的傷害，%s";
DSCT_YOU_GAIN = "獲得：";
DSCT_YOU_FADE = "消失：";
DSCT_SHORTALERT = "預警：";
DSCT_YOU_GAIN_UNM = "獲得*";
DSCT_YOU_FADE_UNM = "消失*";
DSCT_CRIT = {"Crit! ","Crit!"};
--Search Messages

DSCT_ABSORB_AMOUNT_SEARCH1 = nil;
DSCT_ABSORB_AMOUNT_SEARCH2 = nil;
DSCT_ABSORB_TRAILER_SEARCH = "(%d+)點被吸收";
DSCT_BLOCK_AMOUNT_SEARCH = "(%d+)點被格擋";
DSCT_DEBUFF_NAME_SEARCH = nil;
DSCT_YOU_GAIN_POWER_SEARCH1 = nil;
DSCT_YOU_GAIN_POWER_SEARCH2 = nil;
DSCT_YOU_GAIN_POWER_SEARCH3 = nil;
DSCT_HONOR_SEARCH = "貢獻點數預估：(%d+)";
DSCT_YOU_GAIN_SEARCH = nil;
DSCT_FADE_SEARCH = nil;
DSCT_YOUCRIT_SEARCH = nil;
DSCT_YOUCRIT_SEARCH2 = nil;

DSCT_YOUCRIT_SEARCH3 = nil;

DSCT_HEAL_SEARCH1 = nil;
DSCT_HEAL_SEARCH2 = nil;
DSCT_AURAHEAL_SEARCH1 = nil;
DSCT_AURAHEAL_SEARCH2 = nil;
DSCT_CRITHEAL_SEARCH1 = nil;
DSCT_CRITHEAL_SEARCH2 = nil;

--Useage
DSCT_DISPLAY_USEAGE = "使用方法：輸入 /sct 打開配置選單\n";

--Spell Alert search message
DSCT_SA_BEGIN_CAST = {"","|r開始施放","|r施放"};
DSCT_SA_CASTS_PLY_VS_PLY = nil;
DSCT_SA_CASTS_TOTEM = {"","|r施放了","|r施放"};
DSCT_SA_GAIN_BUFF = {"","|r獲得了","|r獲得"};
DSCT_SA_FADE_BUFF =  nil;

DSCT_SAEX_PERFORMOTHERSTART = {"","|r開始施展","|r施展"};
DSCT_SAEX_PERFORMGOOTHER = {"","|r使用了","|r使用"};

DSCT_FADE_BUFF = "|r失去了";
DSCT_BUFF_END = "|r效果";
DSCT_TOTEM_END = "|r圖騰";


sct_spelltypes = {
	[0] = {"", ""},
	[1] = {"護甲","Physical"},
	[2] = {"神聖","Holy"},
	[4] = {"火焰","Fire"},
	[8] = {"自然","Nature"},
	[16] = {"冰霜","Frost"},
	[32] = {"暗影","Shadow"},
	[64] = {"祕法","Arcane"},
}

	
DSCT_EVENT_OPTION = "事件選項";
DSCT_MISC_OPTION = "基本選項";
DSCT_TEXT_OPTION = "動態文字選項";
DSCT_MSGTEXT_OPTION = "靜態文字選項";
DSCT_WARNING_OPTION = "過低警告選項";
DSCT_BUTTON_RESET_LABEL = "預設值";
DSCT_BUTTON_RESET_TIP= "恢復預設設置";
DSCT_BUTTON_SAVECUSTOM_LABEL = "保存個性設置"
DSCT_BUTTON_LOADCUSTOM_LABEL = "讀取個性設置"

DSCT_RESET_TIP = "已載入預設設置";
DSCT_EVENTTYPE = {
{"關","右","左","_","靜"},
{"關","上","下","_","靜"},
{"關","左","右","_","靜"},
{"關","左","上","右","靜"},
{"關","左","右","中","靜"},
{"關","左","上","右","靜"},
{"關","左","右","下","靜"},
}


TOOL_TIP_TEXT_SE = "選中則設置為以靜態方式顯示，否則以動態滾動方式顯示";
DSCT_PREVIEW_TEXT1 = "拖動我調整[靜]態位置";
DSCT_PREVIEW_TEXT2 = "拖動我調整[動]態位置";

DSCT_OPTION_ANIMODE = "動畫方式";
DSCT_ANIMODE_TEXT = {[0] = "水平",[1] = "垂直",[2] = "拋物線",[3] = "彈出1",[4] = "彈出2",[5] = "彈出1a",[6] = "向上增強"};

DSCT_OptionCfg_Base = {
["ENABLED"] = {x = 20,y = -10, title = "啟用戰鬥指示器", tooltipText = "啟用戰鬥指示器"},
};

DSCT_OptionCfg_Event = {

	EventFrames = {
		["SHOWHIT"] = {x = 200,y = -65, title = "傷害", tooltipText = "顯示你受到的傷害"},
		["SHOWMISS"] = {x = 200,y = -95, title = "未命中", tooltipText = "顯示敵人對你的攻擊未命中"},
		["SHOWDODGE"] = {x = 200,y = -125, title = "迴避", tooltipText = "顯示你迴避敵人的攻擊"},
		["SHOWPARRY"] = {x = 200,y = -155, title = "招架", tooltipText = "顯示你招架敵人的攻擊"},
		["SHOWBLOCK"] = {x = 200,y = -185, title = "格擋", tooltipText = "顯示你格擋敵人的攻擊"},
		["SHOWIMMUNE"] = {x = 200,y = -215, title = "免疫", tooltipText = "顯示你免疫敵人的攻擊"},
		["SHOWRESIST"] = {x = 200,y = -245, title = "抵抗", tooltipText = "顯示你抵抗敵人的攻擊"},
		["SHOWABSORB"] = {x = 200,y = -275, title = "吸收", tooltipText = "顯示你吸收敵人的攻擊"},		
		["SHOWSPELLCRIT"] = {x = 200,y = -305, title = "技能致命", tooltipText = "顯示你的技能致命一擊造成的傷害"},
		["SHOWDMGCRIT"] = {x = 200,y = -335, title = "普通致命", tooltipText = "顯示你的普通致命一擊造成的傷害"},
		
		["SHOWSPELL"] = {x = 350,y = -65, title = "法術傷害", tooltipText = "顯示你受到的法術傷害"},
		["SHOWHEAL"] = {x = 350,y = -95, title = "法術治療", tooltipText = "顯示法術給你帶來的治療"},
		["SHOWDEBUFF"] = {x = 350,y = -125, title = "不良效果", tooltipText = "顯示你受到的不良效果"},
		["SHOWBUFF"] = {x = 350,y = -155, title = "增益效果", tooltipText = "顯示你受到的增益效"},
		["SHOWFADE"] = {x = 350,y = -185, title = "效果消失", tooltipText = "顯示你消失的效果"},
		["SHOWPOWER"] = {x = 350,y = -215, title = "能量獲得", tooltipText = "顯示你獲得的能量"},
		["SHOWCOMBOPOINTS"] = {x = 350,y = -245, title = "連擊點", tooltipText = "顯示你獲得的連擊點數"},
		["SHOWHONOR_DSCT"] = {x = 350,y = -275, title = "獲得榮譽", tooltipText = "顯示你獲得的榮譽點數"},
		["SHOWCOMBATIN"] = {x = 350,y = -305, title = "戰鬥開始", tooltipText = "顯示戰鬥開始的提示"},
		["SHOWCOMBATOUT"] = {x = 350,y = -335, title = "戰鬥結束", tooltipText = "顯示戰鬥結束的提示"},

	},
};
DSCT_OptionCfg_Warning = {
	EventFrames = {
		["SHOWLOWHP"] = {x = 200,y = -75, title = "生命過低", tooltipText = "當你生命低於設定值的時候顯示警告"},
		["SHOWLOWMANA"] = {x = 200,y = -135, title = "魔法過低", tooltipText = "當你魔法低於設定值的時候顯示警告"},
		["SHOWEXECUTE"] = {x = 200,y = -195,title = "顯示斬殺", tooltipText = "目標血量低於20%時候顯示斬殺，限戰士和聖騎"};
	},
	Sliders = {
		["LOWHP"] = { x = 350,y = -85, title = "生命值百分比", minValue = 0.1, maxValue = 0.9, valueStep = 0.1, minText="10%", maxText="90%", tooltipText = "生命過低警告的百分比"};
		["LOWMANA"] = { x = 350,y = -145, title = "魔法值百分比", minValue = 0.1, maxValue = 0.9, valueStep = 0.1, minText="10%", maxText="90%", tooltipText = "魔法過低警告的百分比"};
	},
}
DSCT_OptionCfg_Misc = {
	CheckButtons = {
		["SHOWSELF"] = {x = 190,y = -60, title = "標記戰鬥訊息", tooltipText = "在戰鬥訊息的兩側添加'*'作為標記"},
		["DAMAGETYPE"] = {x = 190,y = -90, title = "顯示魔法傷害類型", tooltipText = "顯示你受到的魔法傷害類型，比如火焰，暗影"},
		["HEALERNAME"] = {x = 190,y = -120, title = "顯示治療者姓名", tooltipText = "顯示你受到的治療來自哪個玩家"},
		["ENTEXT"] = {x = 190,y = -150, title = "英文戰鬥訊息", tooltipText = "將一些基本訊息以英文顯示，比如Energy,Dogde等"},
		["CRITANI"] = {x = 190,y = -180, title = "顯示爆擊效果", tooltipText = "受到致命攻擊時候文字提供一個放大效果"},
		["ACCMode"] = {x = 190,y = -210, title = "精確模式(慎用)", tooltipText = "格式化戰鬥訊息，可以獲得更精確的顯示(但也可能會影響到一些統計傷害插件)，改變此項設置只有在重新登入後才會生效"},
	},
}

DSCT_OptionCfg_Text = {
	Sliders = {
		["ANIMATIONSPEED"] = {x = 195,y = -80, title = "動畫速度", minValue = 0.2, maxValue = 3, valueStep = 0.1, minText="20%", maxText="300%", tooltipText = "設置動畫速度"},
		["ROTATION"] = { x = 195,y = -130, title = "動畫旋轉角度", minValue = 0, maxValue = 355, valueStep = 5,minText="0 度", maxText="355 度", tooltipText = "旋轉動態文字的移動軌跡角度"},
		["ALPHA"] = { x = 195,y = -180, title = "透明度", minValue = 0.2, maxValue = 1, valueStep = 0.05, minText="20%", maxText="100%", tooltipText = "設置文字的透明度"},
		
		["TEXTSIZE"] = { x = 195,y = -350, title = "文字大小", minValue = 12, maxValue = 36, valueStep = 1, minText="小", maxText="大", tooltipText = "設置動態中文文字的大小"},
		["ENTEXTSIZE"] = { x = 375,y = -300, title = "文字大小", minValue = 12, maxValue = 36, valueStep = 1, minText="小", maxText="大", tooltipText = "設置動態英文文字的大小"},

	},
	
	ListFrames = {
		["FONT"] = { x = 190,y = -240,title = "中文字體",tooltipText="中文文字字體",min = 1,max = 4,list = {{name=DSCT_FONTLIST[1].name,val=1},
						{name = DSCT_FONTLIST[2].name,val=2},{name=DSCT_FONTLIST[3].name,val=3},{name=DSCT_FONTLIST[4].name,val=4}} },
		["FONTOUTLINE"] = { x = 190,y = -290, title = "文字效果",tooltipText="文字效果", min = 1,max = 6,list = {{name = "無",val = 1},{name = "描邊 細",val = 2},
						{name="描邊 粗",val = 3},{name = "陰影1",val = 4},{name = "陰影2",val = 5},{name = "陰影3",val = 6}} },						
		["ANIMODE"] = { x = 370,y = -60,title = "動畫",tooltipText="動畫模式", min = 0,max = 6,list = {{name = "水平",val = 0},{name = "垂直",val = 1},{name = "拋物線",val = 2},
						{name = "彈出1",val = 3},{name = "彈出2",val = 4},{name = "彈出1a",val = 5},{name = "向上增強",val = 6}} },
		["ENFONT"] = { x = 370,y = -240,title = "數字,英文字體",tooltipText="數字和英文文字字體",min = 1,max = 4,list = {{name=DSCT_ENFONTLIST[1].name,val=1},
					{name = DSCT_ENFONTLIST[2].name,val=2},{name=DSCT_ENFONTLIST[3].name,val=3},{name=DSCT_ENFONTLIST[4].name,val=4},--[[{name=DSCT_ENFONTLIST[5].name,val=5},
					{name = DSCT_ENFONTLIST[6].name,val=6},{name=DSCT_ENFONTLIST[7].name,val=7},{name=DSCT_ENFONTLIST[8].name,val=8}]]} },

	},
}

DSCT_OptionCfg_MSGText = {
	Sliders = {
		["MESSAGEALPHA"] = { x = 195,y = -260, title = "透明度", minValue = 0.2, maxValue = 1, valueStep = 0.05, minText="20%", maxText="100%", tooltipText = "設置靜態方式文字的透明度"},
		["MESSAGETIMER"] = { x = 195,y = -310, title = "停留時間", minValue = 1, maxValue = 20, valueStep = 1, minText="1秒", maxText="20秒", tooltipText = "設置靜態文字停留在畫面的時間"},
		["MESSAGEFADETIMER"] = { x = 195,y = -360, title = "淡出時間", minValue = 1, maxValue = 10, valueStep = 0.5, minText="1秒", maxText="10秒", tooltipText = "設置靜態文字消失過程所用時間"},
		["MESSAGESIZE"] = { x = 195,y = -175, title = "靜態文字大小", minValue = 12, maxValue = 36, valueStep = 1, minText="小", maxText="大", tooltipText = "設置靜態方式文字尺寸的大小"};

	},
	
	ListFrames = {
		["MESSAGEFONT"] = { x = 190,y = -60,title = "字體",tooltipText="靜態文字字體", min = 1,max = 4,list = {{name=DSCT_FONTLIST[1].name,val=1},
					{name = DSCT_FONTLIST[2].name,val=2},{name=DSCT_FONTLIST[3].name,val=3},{name=DSCT_FONTLIST[4].name,val=4}} },
		["MESSFONTOUTLINE"] = { x = 190,y = -110,title = "字體描邊",tooltipText="給靜態字體描邊", min = 1,max = 6,list = {{name = "無",val = 1},{name = "描邊 細",val = 2},
						{name="描邊 粗",val = 3},{name = "陰影1",val = 4},{name = "陰影2",val = 5},{name = "陰影3",val = 6}} },	

	},
}

--Check Button option values

--Slider options values
--DSCTOptionsFrameSliders ["ANIC"] = {  title = "最大顯示數量", minValue = 1, maxValue = 10, valueStep = 1,minText="1個", maxText="10個", tooltipText = "設置動態文字的大小"};

DSCTOptionsColorPickerEx = { };

DSCTAniModeParamsSliders = {
[0] = {
Sliders = {
	["ANIMODE0_Param1"] = {x = 375,y = -125, title = "移動距離", tooltipText = "水平移動的距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%",},
	}
},

[1] = {
Sliders = {
	["ANIMODE1_Param1"] = {x = 375,y = -125, title = "移動距離", tooltipText = "垂直移動的距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	}
},

[2] = {
Sliders = {
	["ANIMODE2_Param1"] = {x = 375,y = -125, title = "射出強度", tooltipText = "拋物線射出力量強度",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	["ANIMODE2_Param2"] = {x = 375,y = -170, title = "墜落深度", tooltipText = "拋物線射出後墜落的深度",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	}
},

[3] = {
Sliders = {
	["ANIMODE3_Param1"] = {x = 375,y = -125, title = "彈出距離1", tooltipText = "第一段彈出距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	["ANIMODE3_Param2"] = {x = 375,y = -170, title = "彈出距離2", tooltipText = "第二段彈出距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	}
},

[4] = {
Sliders = {
	["ANIMODE4_Param1"] = {x = 375,y = -125, title = "彈出距離1", tooltipText = "第一段彈出距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	["ANIMODE4_Param2"] = {x = 375,y = -170, title = "彈出距離2", tooltipText = "第二段彈出距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	}
},

[5] = {
Sliders = {
	["ANIMODE5_Param1"] = {x = 375,y = -125, title = "彈出距離1", tooltipText = "第一段彈出距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	["ANIMODE5_Param2"] = {x = 375,y = -170, title = "彈出距離2", tooltipText = "第二段彈出距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	}
},

[6] = {
Sliders = {
	["ANIMODE6_Param1"] = {x = 375,y = -125, title = "移動距離1", tooltipText = "第一段移動距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	["ANIMODE6_Param2"] = {x = 375,y = -170, title = "移動距離2", tooltipText = "第二段移動距離",minValue = 0.2, maxValue = 2, valueStep = 0.1, minText="20%", maxText="200%"},
	}
},

};

DSCT_CB_NAME		= "戰鬥指示器";
DSCT_CB_SHORT_DESC	= "選項";
DSCT_CB_LONG_DESC	= "設置你的戰鬥指示器選項";
DSCT_CB_ICON		= "Interface\\Icons\\Spell_Shadow_EvilEye"; -- "Interface\\Icons\\Spell_Shadow_FarSight"

end