comparison text_tabs.lua @ 142:375059a11c1d 2.21.0

Updates for WoD. - Basic WoD changes (TOC bump, LE_* constants, etc) - The instance_abbrev table is now indexed by InstanceMapID values; the old method is still supported for transition. - Some initial placeholder values for WoD until we actually start seeing them.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Thu, 13 Nov 2014 22:12:33 -0500
parents fc2ff128835a
children
comparison
equal deleted inserted replaced
141:13d81d7faa0a 142:375059a11c1d
44 44
45 local forum_warned_heroic 45 local forum_warned_heroic
46 local warning_text 46 local warning_text
47 do 47 do
48 local red = '|cffff0505' 48 local red = '|cffff0505'
49 local green = ITEM_QUALITY_COLORS[ITEM_QUALITY_UNCOMMON].hex 49 local green = ITEM_QUALITY_COLORS[LE_ITEM_QUALITY_UNCOMMON].hex
50 warning_text = ([[%sWARNING:|r Heroic (and Raid Finder) items sharing the same name as normal items often display incorrectly on forums that use the item name as the identifier. Recommend you change the %sItem markup|r dropdown in the right-hand side to %s"[item] by ID"|r (or some other format that uses $I) and regenerate this loot.]]):format(red, green, green) 50 warning_text = ([[%sWARNING:|r Heroic (and Raid Finder) items sharing the same name as normal items often display incorrectly on forums that use the item name as the identifier. Recommend you change the %sItem markup|r dropdown in the right-hand side to %s"[item] by ID"|r (or some other format that uses $I) and regenerate this loot.]]):format(red, green, green)
51 end 51 end
52 52
53 local function forum (_, loot, last_printed, generated, cache) 53 local function forum (_, loot, last_printed, generated, cache)
54 local fmt = addon.db.profile.forum[addon.db.profile.forum_current] or "" 54 local fmt = addon.db.profile.forum[addon.db.profile.forum_current] or ""