#include "global.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include <iostream>
#include <locale>
#include <boost/locale.hpp>
#include <boost/thread.hpp>
#include <set>
Go to the source code of this file.
Namespaces | |
translation | |
Macros | |
#define | DBG_G LOG_STREAM(debug, lg::general()) |
#define | LOG_G LOG_STREAM(info, lg::general()) |
#define | WRN_G LOG_STREAM(warn, lg::general()) |
#define | ERR_G LOG_STREAM(err, lg::general()) |
Functions | |
std::string | translation::dgettext (const char *domain, const char *msgid) |
std::string | translation::egettext (char const *msgid) |
std::string | translation::dsgettext (const char *domainname, const char *msgid) |
std::string | translation::dsngettext (const char *domainname, const char *singular, const char *plural, int n) |
void | translation::bind_textdomain (const char *domain, const char *directory, const char *encoding) |
void | translation::set_default_textdomain (const char *domain) |
void | translation::set_language (const std::string &slocale, const std::vector< std::string > *alternates) |
int | translation::compare (const std::string &s1, const std::string &s2) |
void | translation::init () |
#define DBG_G LOG_STREAM(debug, lg::general()) |
Definition at line 26 of file gettext_boost.cpp.
#define ERR_G LOG_STREAM(err, lg::general()) |
Definition at line 29 of file gettext_boost.cpp.
#define LOG_G LOG_STREAM(info, lg::general()) |
Definition at line 27 of file gettext_boost.cpp.
#define WRN_G LOG_STREAM(warn, lg::general()) |
Definition at line 28 of file gettext_boost.cpp.