Translate zhCN.lua strings
tilkinsc opened this issue · 16 comments
In Locale/zhCN.lua
some strings aren't translated fully.
在Locale/zhCN.lua
中,某些字符串未完全翻译。
Corrected some incorrect formatting in zhCN.lua, some localized translations have been added and passed the test under version 2.2.5, But iLvl still can not be displayed.
Hover over a weapon/armor and do /dump GameTooltipTextRight1:GetText()
Also, disable 'could be problem' addons and see if that fixes it.
Then you should be able to GameTooltipTextRight1:SetText("ilvl 50")
and it would display text.
So yeah... has to be something to do in my function. I would like to confirm that the above code works, also.
I would probably have you print out the values of itemLevel, itemType, focus, name, i_name, i_link, as these are what prevents it from working
/run GameTooltipTextRight1:SetText("ilvl 50")
(ofc have to hover the tooltip first)
/dump is the equiv of /run return ...
where the return pretty prints things out.
Well I did many commits, only one of which actually fixed the problem due to the strings I was comparing against was in chinese instead of english, so I had to convert to itemClassID.
Nice work, iLvl now displays correctly.
In addition, I tested using the 'itemType=="武器"' code to run and also correctly display iLvl.
Thank you!