Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with the russian version of the game #6

Closed
kawsoft opened this issue Jun 11, 2020 · 4 comments
Closed

problem with the russian version of the game #6

kawsoft opened this issue Jun 11, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@kawsoft
Copy link

kawsoft commented Jun 11, 2020

If the game interface is in Russian, your addon does not show anything in the windows except a black background

I looked and found a problem in the file ru.lua
you need to comment out two lines and register new ones or replace

It was:
-- Fonts

SafeAddString(SI_COMBAT_METRICS_STD_FONT, GetString(MEDIUM_FONT), 1)
SafeAddString(SI_COMBAT_METRICS_BOLD_FONT, GetString(BOLD_FONT), 1)

and need so:
-- Fonts

SafeAddString(SI_COMBAT_METRICS_STD_FONT, "EsoUI/Common/Fonts/Univers57.otf", 1)
SafeAddString(SI_COMBAT_METRICS_BOLD_FONT, "EsoUI/Common/Fonts/Univers67.otf", 1)

--SafeAddString(SI_COMBAT_METRICS_STD_FONT, GetString(MEDIUM_FONT), 1)
--SafeAddString(SI_COMBAT_METRICS_BOLD_FONT, GetString(BOLD_FONT), 1)

@Solinur
Copy link
Owner

Solinur commented Jun 11, 2020

Thanks for the reply. I thought I corrected this. I'll make sure to really fix it this time.

@Solinur
Copy link
Owner

Solinur commented Jun 11, 2020

SafeAddString(SI_COMBAT_METRICS_STD_FONT, "$(MEDIUM_FONT)", 1)
SafeAddString(SI_COMBAT_METRICS_BOLD_FONT, "$(BOLD_FONT)", 1)

should work. I'll test this.

@Solinur Solinur self-assigned this Jun 11, 2020
@Solinur Solinur added the bug Something isn't working label Jun 11, 2020
@kawsoft
Copy link
Author

kawsoft commented Jun 11, 2020

yes, work!

@Solinur
Copy link
Owner

Solinur commented Jun 11, 2020

Thx, I will upload it this evening :)

@Solinur Solinur closed this as completed Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants