mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Get rid of wgettext
This commit is contained in:
parent
35929d27e3
commit
67068cfaf4
13 changed files with 116 additions and 191 deletions
|
@ -226,9 +226,7 @@ void GameUI::showMinimap(bool show)
|
|||
|
||||
void GameUI::showTranslatedStatusText(const char *str)
|
||||
{
|
||||
const wchar_t *wmsg = wgettext(str);
|
||||
showStatusText(wmsg);
|
||||
delete[] wmsg;
|
||||
showStatusText(wstrgettext(str));
|
||||
}
|
||||
|
||||
void GameUI::setChatText(const EnrichedString &chat_text, u32 recent_chat_count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue