You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
399 B
12 lines
399 B
#pragma once |
|
|
|
#include <string> |
|
|
|
#define _(x) LanguageTranslate(x).c_str() |
|
#define ngettext(x, y, z) LanguagePluralTranslate(x, y, z).c_str() |
|
#define N_(x) (x) |
|
|
|
void LanguageInitialize(); |
|
const std::string &LanguagePluralTranslate(const char *singular, const char *plural, int count); |
|
const std::string &LanguageTranslate(const char *key); |
|
const char *LanguageMetadata(const char *key);
|
|
|