#include "config.h"
#include <string>
#include <libintl.h>
Go to the source code of this file.
|
void | init_gettext (const char *path, const std::string &configured_language, int argc, char *argv[]) |
|
wchar_t * | utf8_to_wide_c (const char *str) |
|
const wchar_t * | wgettext (const char *str) |
|
std::string | strgettext (const std::string &text) |
|
#define _ |
( |
|
String | ) |
gettext(String) |
◆ gettext_noop
#define gettext_noop |
( |
|
String | ) |
(String) |
◆ N_
◆ init_gettext()
void init_gettext |
( |
const char * |
path, |
|
|
const std::string & |
configured_language, |
|
|
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ strgettext()
std::string strgettext |
( |
const std::string & |
text | ) |
|
|
inline |
◆ utf8_to_wide_c()
wchar_t* utf8_to_wide_c |
( |
const char * |
str | ) |
|
◆ wgettext()
const wchar_t* wgettext |
( |
const char * |
str | ) |
|
|
inline |
References utf8_to_wide_c().
Referenced by Client::afterContentReceived(), Game::decreaseViewRange(), Game::getServerContent(), Game::increaseViewRange(), GUIKeyChangeMenu::init_keys(), GUIKeyChangeMenu::OnEvent(), GUIVolumeChange::OnEvent(), Game::processKeyInput(), GUIConfirmRegistration::regenerateGui(), GUIFormSpecMenu::regenerateGui(), GUIKeyChangeMenu::regenerateGui(), GUIPasswordChange::regenerateGui(), GUIVolumeChange::regenerateGui(), GUIKeyChangeMenu::resetMenu(), ClientLauncher::run(), Game::showOverlayMessage(), GameUI::showTranslatedStatusText(), and GameUI::toggleProfiler().