Accountant

Accountant

414k Downloads

AH profit goes to mail section

razorbladehnt opened this issue · 7 comments

commented

On RU client every profit from AH goes to mail section instead of AH

Steps to recreate
1 install ru locale for Wow
2 connect to ru realm
3 sell something on AH
4 loot mailbox

Screen from RU client
123

And this is a screen from EU client (expected behaviour)
eu

  • Version 10.0.0.0.0
commented

its, possible an issue with localisation in regards to the mail names for auction house emails being different between the languages on EU/US clients its looking for the mail string "Auction successful:" or "Outbid" to determine if its an auction mail to allocate the gold to the right category but in Russian it is something different..

To fix it would need help creating an Russian locale file and translating the string

commented

"Auction successful:" will be "Аукцион состоялся:"
Not sure how "Outbid:" will be translated
I made some bids if any of them will be outbided i'll add correct translation here

commented

Thanks, I will look at adding some additional localization files for the various locales available for wow, which will allow strings within Accountant to start being translated so functionality will work

commented

Outbid in RU locale
Ваша ставка перебита (предмет: %itemname%)

commented

@razorbladehnt thanks there should be an alpha version going up on curse shortly with localization enabled which should hopefully fix the issue.

I've used the localisations that were provided on curse forge, if the issue still persists, you could update the strings in the ruRu.lua file and let me know which one fixes it and ill make the change

commented

oof
A bit broken after update =)
https://pastebin.com/HyGk98ZS with these changes it works like expected but look a little bit funky
Безымянный
I'll try to translate the rest after the raid

commented

its due to UnitFactionGroup API returning English for the faction name, I did do some testing but looks like the languages i used didn't have this converted, I've tried Russian and its now working again.

I've pushed a fix out which should be available shortly