Berserker
Posts: 16657
|
RoseKavalier, thanks, my fail:
Code:
char *pcharRes = _tr(key, _params, numParams - 1);
std::string result = pcharRes;
MemFree(pcharRes);
return buf;
Something like that would be better. Anyway, the best case is not to detect language (what will you do with Polish and Italian?), but provide single translation English.
Other languages can be released as translation mods, not a task for main maintener, imho.
Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
|
|
17.06.2020 02:23 |
|