Пример #1
0
static inline std::string _(const std::string& message)
{
  return dictionary_manager.get_dictionary().translate(message);
}
Пример #2
0
static inline const char* N_(const char* id, const char* id2, int num)
{
  return dictionary_manager.get_dictionary().translate(id, id2, num).c_str();
}
Пример #3
0
static inline const char* _(const char* message)
{
  return dictionary_manager.get_dictionary().translate(message);
}
Пример #4
0
std::string N_(const std::string& msg, const std::string& msg_pl, int num) {
  return dictionary_manager.get_dictionary().translate(msg, msg_pl, num);
}
Пример #5
0
std::string _(const std::string& msg) {
  return dictionary_manager.get_dictionary().translate(msg);
}
std::string  
GUI_TRANSLATE(const std::string& msgid)
{
    return dictionaryGUIManager.get_dictionary().translate(msgid);
}
const char * 
GUI_TRANSLATE(const char * msgid)
{
    return dictionaryGUIManager.get_dictionary().translate(msgid);
}