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

Missing localization string for „To location:“ in telemenu.txt #1110

Open
3 of 6 tasks
Belarusan opened this issue Aug 15, 2024 · 0 comments
Open
3 of 6 tasks

Missing localization string for „To location:“ in telemenu.txt #1110

Belarusan opened this issue Aug 15, 2024 · 0 comments

Comments

@Belarusan
Copy link

Belarusan commented Aug 15, 2024

Help us help you

  • I have checked that my issue doesn't exist yet.
  • I have tried my absolute best to reduce the problem-space and have provided the absolute smallest test-case possible.
  • I can always reproduce the issue with the provided description below.

Environment

  • Current AMX Mod X version: amxmodx-1.10.0-git5467-base-windows + amxmodx-1.10.0-git5467-cstrike-windows
  • Current Metamod version: metamod-bin-1.3.0.149

Description

There is a missing localization string in the telemenu.txt file. Specifically, the string "To location:" is hardcoded in the code (telemenu.sma), but it is not present in the localization files. This issue makes it difficult to fully localize the menu for non-English languages.

Problematic Code (telemenu.sma)

if (g_menuOption[id] > 0)  // 1
{
keys |= MENU_KEY_7
len += formatex(menuBody[len], charsmax(menuBody)-len, "^n7. To location: %.0f %.0f %.0f^n", g_menuOrigin[id][0], g_menuOrigin[id][1], g_menuOrigin[id][2])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant