Add button glyphs support to selection hint on language screen

The language screen has a "Press Space, Z, or V to select" hint, which
I forgot to update for supporting button glyphs in #943, so this commit
does.

    <action_hint>Press Space, Z, or V to select</action_hint>
    <gamepad_hint>Press {button} to select</gamepad_hint>
This commit is contained in:
Dav999-v
2023-03-26 20:15:45 +02:00
committed by Misa Elizabeth Kai
parent 0984e06546
commit a2c3f47748
16 changed files with 57 additions and 1 deletions

View File

@@ -86,6 +86,8 @@ static void sync_lang_file(const std::string& langcode)
pElem->SetText(langmeta.credit.c_str());
else if (SDL_strcmp(pKey, "action_hint") == 0)
pElem->SetText(langmeta.action_hint.c_str());
else if (SDL_strcmp(pKey, "gamepad_hint") == 0)
pElem->SetText(langmeta.gamepad_hint.c_str());
else if (SDL_strcmp(pKey, "autowordwrap") == 0)
pElem->SetText((int) langmeta.autowordwrap);
else if (SDL_strcmp(pKey, "toupper") == 0)