Enchant updates
Repooc [09-16-13 - 23:34]
diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index 1b3f923..e3b7672 100755
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -82,7 +82,7 @@ L["Set the font outline that the enchant notification will use."] = true
--Character Frame--
L["Enchanted"] = true
L["Not Enchanted"] = true
-L["Cant Enchant"] = true
+L["Can't Enchant"] = true
--Chat--
L["Chat Options"] = true
diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index f32f818..f067890 100755
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -82,7 +82,7 @@ L["Set the font outline that the enchant notification will use."] = "Грани
--Character Frame--
L["Enchanted"] = "Чары"
L["Not Enchanted"] = "Нет чар"
-L["Cant Enchant"] = "Не зачаровывается"
+L["Can't Enchant"] = "Не зачаровывается"
--Chat--
diff --git a/ElvUI_SLE/modules/characterframe/enchant.lua b/ElvUI_SLE/modules/characterframe/enchant.lua
index c9809fe..8e7ba58 100644
--- a/ElvUI_SLE/modules/characterframe/enchant.lua
+++ b/ElvUI_SLE/modules/characterframe/enchant.lua
@@ -77,7 +77,7 @@ function CFO:UpdateItemEnchants()
frame.ItemEnchant:SetFormattedText("|cff00ff00%s|r", L["Enchanted"])
end
elseif canEnchant == false then
- frame.ItemEnchant:SetFormattedText("|cff00ff00%s|r", L["Cant Enchant"])
+ frame.ItemEnchant:SetFormattedText("|cff00ff00%s|r", L["Can't Enchant"])
elseif canEnchant == nil then
frame.ItemEnchant:SetFormattedText("")
end
@@ -143,11 +143,13 @@ function CFO:LoadItemEnchants()
frame.ItemEnchant = frame:CreateFontString(nil, "OVERLAY")
if frame == CharacterHeadSlot or frame == CharacterNeckSlot or frame == CharacterShoulderSlot or frame == CharacterBackSlot or frame == CharacterChestSlot or frame == CharacterWristSlot or frame == CharacterShirtSlot or frame == CharacterTabardSlot then
- frame.ItemEnchant:SetPoint("LEFT", frame, "RIGHT", 2, 7)
+ frame.ItemEnchant:SetPoint("LEFT", frame, "RIGHT", 8, 7)
elseif frame == CharacterHandsSlot or frame == CharacterWaistSlot or frame == CharacterLegsSlot or frame == CharacterFeetSlot or frame == CharacterFinger0Slot or frame == CharacterFinger1Slot or frame == CharacterTrinket0Slot or frame == CharacterTrinket1Slot then
- frame.ItemEnchant:SetPoint("RIGHT", frame, "LEFT", -2, 7)
- elseif frame == CharacterMainHandSlot or frame == CharacterSecondaryHandSlot or frame == CharacterRangedSlot then
- frame.ItemEnchant:SetPoint("TOP", frame, "BOTTOM", 0, -3)
+ frame.ItemEnchant:SetPoint("RIGHT", frame, "LEFT", -5, 7)
+ elseif frame == CharacterMainHandSlot then
+ frame.ItemEnchant:SetPoint("TOPRIGHT", frame, "BOTTOMRIGHT", 5, -3)
+ elseif frame == CharacterSecondaryHandSlot then
+ frame.ItemEnchant:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", -2, -3)
end
frame.ItemEnchant:FontTemplate(LSM:Fetch("font", E.db.sle.characterframeoptions.itemenchant.font), E.db.sle.characterframeoptions.itemenchant.fontSize, E.db.sle.characterframeoptions.itemenchant.fontOutline)