_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
30 #ifndef __TRANSLATE_H__
31 #define __TRANSLATE_H__
40 extern const char *
Translate(
const char *str);
44 extern void LoadPO(
const char *file);
48 #define _(str) Translate(str)
53 #endif // !__TRANSLATE_H__
void SetTranslationsFiles(const char *stratagusfile, const char *gamefile)
Set the stratagus and game translations.
Definition: translate.cpp:183
void LoadPO(const char *file)
Load a .po file.
Definition: translate.cpp:80
const char * Translate(const char *str)
Translate a string.
Definition: translate.cpp:59
void AddTranslation(const char *str1, const char *str2)
Add a translation.
Definition: translate.cpp:72
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.