Torhal / Broker_Currency

A LibDataBroker display of currencies and gold totals for session / today / yesterday / this week / last week.
https://www.curseforge.com/wow/addons/broker-currency
5 stars 6 forks source link

Support Cataclysm Classic, add DF and TWW boilerplate, and fix icon scaling bug #22

Open AlexFolland opened 3 months ago

AlexFolland commented 3 months ago

My implementation has been tested in Cataclysm Classic and successfully allows me to track Justice Points, Valor Points, Honor Points, Conquest Points, and Stone Keeper's Shards, along with the usual money currencies.

I also added some boilerplate code to set up Dragonflight and The War Within, but didn't add any expansion-specific currencies to them.

I also fixed a bug that was preventing the icon scaling settings from working, which seemed to be because of incorrect access identifiers in the code.

Some constants did not exist in Cataclysm Classic like CALENDAR_FILTER_HOLIDAYS, EXPANSION_NAME8, EXPANSION_NAME9, and EXPANSION_NAME10, so I added simple English fallback strings for those and all similar constants.