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

@@ -93,6 +93,8 @@ static void loadmeta(LangMeta& meta, const std::string& langcode = lang)
meta.credit = std::string(pText);
else if (SDL_strcmp(pKey, "action_hint") == 0)
meta.action_hint = std::string(pText);
else if (SDL_strcmp(pKey, "gamepad_hint") == 0)
meta.gamepad_hint = std::string(pText);
else if (SDL_strcmp(pKey, "autowordwrap") == 0)
meta.autowordwrap = help.Int(pText);
else if (SDL_strcmp(pKey, "toupper") == 0)