new release

Leandro Silva [10-31-18 - 11:41]
new release
Filename
Lang/de.lua
LeoAltholic.txt
LeoAltholicInit.lua
LeoAltholicUI.lua
ui/toolbar.lua
ui/tracked.lua
diff --git a/Lang/de.lua b/Lang/de.lua
index 7bd2a5e..74f299f 100644
--- a/Lang/de.lua
+++ b/Lang/de.lua
@@ -2,7 +2,7 @@
 ZO_CreateStringId("LEOALT_FINISHED", "abgeschl.")
 ZO_CreateStringId("LEOALT_UNLOCKED", "freigesch.")
 ZO_CreateStringId("LEOALT_REMOVED_FROM",      "<<1>> wurde von <<2>> entfernt.")
-ZO_CreateStringId("LEOALT_NOT_DONE_TODAY",      "heute  nicht erledigt")
+ZO_CreateStringId("LEOALT_NOT_DONE_TODAY",      "Heute: Offen")
 ZO_CreateStringId("LEOALT_MOUNT_FINISHED",      "<<C:1>> hat das Reittraining beendet.")
 ZO_CreateStringId("LEOALT_RESEARCH_FINISHED",      "<<C:1>> hat eine Analyse beendet.")
 ZO_CreateStringId("LEOALT_TRACK_ONLY_DAILY",      "Eine Tagesquest kann verfolgt werden.")
diff --git a/LeoAltholic.txt b/LeoAltholic.txt
index 8dc9a2e..8ead4e6 100644
--- a/LeoAltholic.txt
+++ b/LeoAltholic.txt
@@ -1,6 +1,6 @@
 ## Title: Leo's Altholic
 ## APIVersion: 100024 100025
-## Version: 1.4.2
+## Version: 1.5.0
 ## Author: |c39B027@LeandroSilva|r
 ## SavedVariables: LeoAltholicSavedVariables LeoAltholicCharVariables
 ## OptionalDependsOn: LibStub LibFeedback LibAddonMenu-2.0
diff --git a/LeoAltholicInit.lua b/LeoAltholicInit.lua
index 648964b..9b8df86 100644
--- a/LeoAltholicInit.lua
+++ b/LeoAltholicInit.lua
@@ -6,7 +6,7 @@ LeoAltholicToolbarUI = LeoAltholicToolbarUI or {}

 LeoAltholic.name = "LeoAltholic"
 LeoAltholic.displayName = "Leo's Altholic"
-LeoAltholic.version = "1.4.2"
+LeoAltholic.version = "1.5.0"
 LeoAltholic.chatPrefix = "|c39B027" .. LeoAltholic.name .. "|r: "

 LeoAltholic.TAB_BIO = "Bio"
diff --git a/LeoAltholicUI.lua b/LeoAltholicUI.lua
index 512b86d..cb44761 100644
--- a/LeoAltholicUI.lua
+++ b/LeoAltholicUI.lua
@@ -28,6 +28,8 @@ function LeoAltholic.RestorePosition()

     LeoAltholicWindow:ClearAnchors()
     LeoAltholicWindow:SetAnchor(TOPLEFT, GuiRoot, TOPLEFT, left, top)
+    LeoAltholicWindow:SetDrawLayer(DL_OVERLAY)
+    LeoAltholicWindow:SetDrawTier(DT_HIGH)
 end

 function LeoAltholic.ChangeInventoryUI(bagId)
diff --git a/ui/toolbar.lua b/ui/toolbar.lua
index 7808bd9..b2fbe18 100644
--- a/ui/toolbar.lua
+++ b/ui/toolbar.lua
@@ -26,7 +26,7 @@ function LeoAltholicToolbarUI.SetEnabled(value)
     LeoAltholicToolbarUI.RestorePosition()
 end
 function LeoAltholicToolbarUI.IsEnabled()
-    if LeoAltholic.globalData.settings.toolbar.enabled == nil then LeoAltholic.globalData.settings.toolbar.enabled = true end
+    if LeoAltholic.globalData.settings.toolbar.enabled == nil then LeoAltholic.globalData.settings.toolbar.enabled = false end
     return LeoAltholic.globalData.settings.toolbar.enabled
 end

diff --git a/ui/tracked.lua b/ui/tracked.lua
index f5cd196..d28c99e 100644
--- a/ui/tracked.lua
+++ b/ui/tracked.lua
@@ -59,7 +59,7 @@ function LeoAltholicUI.InitTrackedPanel()
                         end)
                         if char.quests.tracked[i].lastDone ~= nil then
                             if LeoAltholic.IsBeforeReset(char.quests.tracked[i].lastDone) then
-                                done:SetText("|cCB110Enot done today|r")
+                                done:SetText("|cCB110E"..GetString(LEOALT_NOT_DONE_TODAY).."|r")
                             else
                                 local diff = GetTimeStamp() - char.quests.tracked[i].lastDone
                                 if diff < 3600 then