Skip to content

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

@Belarusan

Description

@Belarusan

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])
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions