Locales and stuff
Darthpred [09-16-13 - 23:02]
diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index 25b48f3..1b3f923 100755
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -74,6 +74,15 @@ L["Set the font outline that the item level will use."] = true
L["The font that the item durability will use."] = true
L["Set the font size that the item durability will use."] = true
L["Set the font outline that the item durability will use."] = true
+L["Enchanting Notification"] = true
+L["The font that the enchant notification will use."] = true
+L["Set the font size that the enchant notification will use."] = true
+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
--Chat--
L["Chat Options"] = true
diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index 5b18180..f32f818 100755
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -74,6 +74,16 @@ L["Set the font outline that the item level will use."] = "Граница шри
L["The font that the item durability will use."] = "Шрифт прочности предметов."
L["Set the font size that the item durability will use."] = "Размер шрифта прочности предметов."
L["Set the font outline that the item durability will use."] = "Граница шрифта прочности предметов."
+L["Enchanting Notification"] = "Оповещение о чарах"
+L["The font that the enchant notification will use."] = "Шрифт оповещения о чарах."
+L["Set the font size that the enchant notification will use."] = "Размер шрифта оповещения о чарах."
+L["Set the font outline that the enchant notification will use."] = "Граница шрифта оповещения о чарах"
+
+--Character Frame--
+L["Enchanted"] = "Чары"
+L["Not Enchanted"] = "Нет чар"
+L["Cant Enchant"] = "Не зачаровывается"
+
--Chat--
L["Chat Options"] = "Настройки чата"
diff --git a/ElvUI_SLE/modules/characterframe/enchant.lua b/ElvUI_SLE/modules/characterframe/enchant.lua
index 8d6a44c..c9809fe 100644
--- a/ElvUI_SLE/modules/characterframe/enchant.lua
+++ b/ElvUI_SLE/modules/characterframe/enchant.lua
@@ -71,13 +71,13 @@ function CFO:UpdateItemEnchants()
if canEnchant == true then
if isEnchanted == 0 then
--self.ItemEnchant:SetFormattedText("|cffff0000%s|r|cffff0000%s|r", "E", "G")
- frame.ItemEnchant:SetFormattedText("|cffff0000%s|r", "Not Enchanted")
+ frame.ItemEnchant:SetFormattedText("|cffff0000%s|r", L["Not Enchanted"])
elseif isEnchanted > 0 then
--self.ItemEnchant:SetFormattedText("|cff00ff00%i|r|cffff0000%s|r", "E", "G")
- frame.ItemEnchant:SetFormattedText("|cff00ff00%s|r", "Enchanted")
+ frame.ItemEnchant:SetFormattedText("|cff00ff00%s|r", L["Enchanted"])
end
elseif canEnchant == false then
- frame.ItemEnchant:SetFormattedText("|cff00ff00%s|r", "Cant Enchant")
+ frame.ItemEnchant:SetFormattedText("|cff00ff00%s|r", L["Cant Enchant"])
elseif canEnchant == nil then
frame.ItemEnchant:SetFormattedText("")
end
diff --git a/ElvUI_SLE/modules/characterframe/options.lua b/ElvUI_SLE/modules/characterframe/options.lua
index 3988831..8eb6908 100755
--- a/ElvUI_SLE/modules/characterframe/options.lua
+++ b/ElvUI_SLE/modules/characterframe/options.lua
@@ -174,7 +174,7 @@ E.Options.args.sle.args.characterframeoptions = {
type = "select", dialogControl = 'LSM30_Font',
order = 1,
name = L["Font"],
- desc = L["The font that the item durability will use."],
+ desc = L["The font that the enchant notification will use."],
values = AceGUIWidgetLSMlists.font,
get = function(info) return E.db.sle.characterframeoptions.itemenchant.font end,
set = function(info, value) E.db.sle.characterframeoptions.itemenchant.font = value; CFO:UpdateItemEnchantFont(); end,