Quantcast

install tweak and locales

Darthpred [07-31-16 - 13:48]
install tweak and locales
Filename
ElvUI_SLE/core/install.lua
ElvUI_SLE/defaults/profile.lua
ElvUI_SLE/locales/english.lua
ElvUI_SLE/locales/russian.lua
diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua
index 658e638..341d99f 100644
--- a/ElvUI_SLE/core/install.lua
+++ b/ElvUI_SLE/core/install.lua
@@ -507,6 +507,18 @@ function PI:DarthSetup()
 		E.db["sle"]["pvp"]["autorelease"] = true
 		E.db["sle"]["skins"]["merchant"]["list"]["subSize"] = 11
 		E.db["sle"]["skins"]["merchant"]["list"]["nameSize"] = 12
+		E.db["sle"]["Armory"]["Inspect"]["Level"]["FontSize"] = 12
+		E.db["sle"]["Armory"]["Inspect"]["Enchant"]["FontSize"] = 10
+		E.db["sle"]["Armory"]["Character"]["Enchant"]["FontSize"] = 11
+		E.db["sle"]["Armory"]["Character"]["Stats"]["IlvlColor"] = true
+		E.db["sle"]["Armory"]["Character"]["Stats"]["IlvlFull"] = true
+		E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["SPELLPOWER"] = true
+		E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["HEALTH"] = true
+		E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["POWER"] = true
+		E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["MOVESPEED"] = true
+		E.db["sle"]["Armory"]["Character"]["Durability"]["FontSize"] = 10
+		E.db["sle"]["Armory"]["Character"]["Level"]["FontSize"] = 12
+		E.db["sle"]["Armory"]["Character"]["Backdrop"]["SelectedBG"] = "TheEmpire"
 	end
 	--Movers
 	do
@@ -605,8 +617,19 @@ function PI:DarthSetup()
 			E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["left"] = "Avoidance"
 			E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["middle"] = "Versatility"
 			E.db["unitframe"]["units"]["raid"]["power"]["enable"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["SPELLPOWER"] = false
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["ATTACK_DAMAGE"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["ATTACK_AP"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["ATTACK_ATTACKSPEED"] = true
 		elseif layout == 'dpsMelee' then
 			E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["left"] = "Attack Power"
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["SPELLPOWER"] = false
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["ATTACK_DAMAGE"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["ATTACK_AP"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["ATTACK_ATTACKSPEED"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["ENERGY_REGEN"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["RUNE_REGEN"] = true
+			E.db["sle"]["Armory"]["Character"]["Stats"]["List"]["FOCUS_REGEN"] = true
 		elseif layout == 'healer' then DarthHeal()
 		end
 		E.db.layoutSet = layout
diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua
index 341ea47..2fd1326 100644
--- a/ElvUI_SLE/defaults/profile.lua
+++ b/ElvUI_SLE/defaults/profile.lua
@@ -472,6 +472,7 @@ P["sle"] = {
 		},
 		["locPanel"] = {
 			["enable"] = false,
+			["autowidth"] = false,
 			["width"] = 200,
 			["height"] = 21,
 			["linkcoords"] = true,
diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index 4242e87..9d63b03 100644
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -537,6 +537,8 @@ L["Show texture"] = true
 L["Show instance difficulty info as default texture."] = true
 L["Sets the colors for difficulty abbreviation"] = true
 L["Location Panel"] = true
+L["Automatic Width"] = true
+L["Change width based on the zone name length."] = true
 L["Update Throttle"] = true
 L["The frequency of coordinates and zonetext updates. Check will be done more often with lower values."] = true
 L["Full Location"] = true
@@ -871,7 +873,6 @@ Benik, The Slacker
 Blazeflack
 Boradan
 Camealion
-Dejablue
 Nils Ruesch
 Omega1970
 Pvtschlag
diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index 9d1bb87..15a503f 100644
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -529,6 +529,8 @@ L["Show texture"] = "Показывать текстуру"
 L["Show instance difficulty info as default texture."] = "Показывать информацию о сложности подземелья в виде стандартной текстуры"
 L["Sets the colors for difficulty abbreviation"] = "Устанавливает цвета для аббревиатур уровней сложности."
 L["Location Panel"] = "Панель локации"
+L["Automatic Width"] = "Автоматическая ширина"
+L["Change width based on the zone name length."] = "Изменять ширину в зависимости от длины текста."
 L["Update Throttle"] = "Частота обновления"
 L["The frequency of coordinates and zonetext updates. Check will be done more often with lower values."] = "Частота обновления координат и текста локации. Проверка проводится чаще с более низким значением."
 L["Full Location"] = "Полный текст"