use lang strings for tooltip over known/unknown icon
AssemblerManiac [05-18-18 - 05:34]
use lang strings for tooltip over known/unknown icon
diff --git a/FurCEvents.lua b/FurCEvents.lua
index 4a02f8a..5cd8f1e 100644
--- a/FurCEvents.lua
+++ b/FurCEvents.lua
@@ -54,7 +54,7 @@ local function updateItemInInventory(control)
WINDOW_MANAGER:ApplyTemplateToControl(icon, templateName)
- icon.data = {tooltipText = ((known and "Item is Known") or "Item is UnKnown")}
+ icon.data = {tooltipText = ((known and GetString(SI_FURC_CRAFTING_KNOWN)) or GetString(SI_FURC_CRAFTING_UNKNOWN))}
icon:SetHandler("OnMouseEnter", ZO_Options_OnMouseEnter)
icon:SetHandler("OnMouseExit", ZO_Options_OnMouseExit)
diff --git a/FurCMenu.lua b/FurCMenu.lua
index f027551..d041774 100644
--- a/FurCMenu.lua
+++ b/FurCMenu.lua
@@ -155,7 +155,8 @@ function FurC.CreateSettings(savedVars, defaults)
name = GetString(SI_FURC_STRING_MENU_SHOWICONONLEFT),
tooltip = GetString(SI_FURC_STRING_MENU_SHOWICONONLEFT_TT),
getFunc = function() return FurC.GetShowIconOnLeft() end,
- setFunc = function(value) FurC.SetShowIconOnLeft(value) end
+ setFunc = function(value) FurC.SetShowIconOnLeft(value) end,
+ requiresReload = true
},
{ -- slider: font size
type = "slider",