- 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

This commit is contained in:
Parnic
2010-10-26 00:53:35 +00:00
parent 5fdc288c5d
commit c8de97e7b7

View File

@ -574,7 +574,9 @@ end
upperTextString = { upperTextString = {
type = 'input', type = 'input',
name = L["Upper Text"], 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() hidden = function()
return DogTag == nil or not self.moduleSettings.usesDogTagStrings return DogTag == nil or not self.moduleSettings.usesDogTagStrings
end, end,
@ -600,7 +602,9 @@ end
lowerTextString = { lowerTextString = {
type = 'input', type = 'input',
name = L["Lower Text"], 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() hidden = function()
return DogTag == nil or not self.moduleSettings.usesDogTagStrings return DogTag == nil or not self.moduleSettings.usesDogTagStrings
end, end,