From c8de97e7b7c2597fc74a1f536ee7e1ba98840717 Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 26 Oct 2010 00:53:35 +0000 Subject: [PATCH] - fixed bars that don't support dogtags in their text blocks to say so in the tooltip instead of telling the user that they can use dogtags when they can't --- IceBarElement.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/IceBarElement.lua b/IceBarElement.lua index fb5fc4d..6c19c09 100644 --- a/IceBarElement.lua +++ b/IceBarElement.lua @@ -574,7 +574,9 @@ end upperTextString = { type = 'input', name = L["Upper Text"], - desc = L["The upper text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save."], + desc = + self.moduleSettings.usesDogTagStrings and L["The upper text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save."] + or L["The upper text to display under this bar.\n\nNOTE: this text block does NOT support DogTags.\n\nRemember to press ENTER/Accept after filling out this box or it will not save."], hidden = function() return DogTag == nil or not self.moduleSettings.usesDogTagStrings end, @@ -600,7 +602,9 @@ end lowerTextString = { type = 'input', name = L["Lower Text"], - desc = L["The lower text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save."], + desc = + self.moduleSettings.usesDogTagStrings and L["The lower text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save."] + or L["The lower text to display under this bar.\n\nNOTE: this text block does NOT support DogTags.\n\nRemember to press ENTER/Accept after filling out this box or it will not save."], hidden = function() return DogTag == nil or not self.moduleSettings.usesDogTagStrings end,