00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef __TRANSLATE_H__
00029 #define __TRANSLATE_H__
00030
00031 #include <string>
00032
00034
00036 extern std::string StratagusTranslation;
00037
00039 extern std::string GameTranslation;
00040
00041
00042
00043
00045 extern const char *Translate(const char *str);
00047 extern void AddTranslation(const std::string &str1, const std::string &str2);
00049 extern void LoadPO(const std::string &file);
00051 extern void SetTranslationsFiles(const std::string &stratagusfile, const std::string &gamefile);
00052
00053
00055
00056 #endif // !__TRANSLATE_H__
00057