Fix tooltip for renown-based factions
cdgori opened this issue ยท 1 comments
Not sure how many people are still using this, but it's really one of the best rep tracking addons.
In 11.1, RENOWN_LEVEL_LABEL was changed by Blizzard to include an embedded %d for formatting/printing the renown. This means that for all Renown-based factions the tooltip shows "Renown %dnn" (where nn was the level - the actual %d format string was appearing in each row of the tooltip) which looked weird. I finally got around to tracking it down today.
I changed line 236 of SexyReputation.lua from:
renownTitle = RENOWN_LEVEL_LABEL .. renownLevel
to
renownTitle = format(RENOWN_LEVEL_LABEL,renownLevel)
and everything is neat and tidy again.
EDIT: this matches the PR #32 that I didn't see until after opening this issue.