1.1 --- a/core/Translator.h Tue Apr 03 07:02:27 2007 +0000
1.2 +++ b/core/Translator.h Thu Apr 05 03:02:00 2007 +0000
1.3 @@ -99,9 +99,10 @@
1.4 public:
1.5 Translator();
1.6 ~Translator();
1.7 -public: //SMGlobalClass
1.8 +public: // SMGlobalClass
1.9 + CoreConfigErr OnSourceModConfigChanged(const char *option, const char *value);
1.10 void OnSourceModAllInitialized();
1.11 -public: //ITextListener_SMC
1.12 +public: // ITextListener_SMC
1.13 void ReadSMC_ParseStart();
1.14 SMCParseResult ReadSMC_NewSection(const char *name, bool opt_quotes);
1.15 SMCParseResult ReadSMC_KeyValue(const char *key, const char *value, bool key_quotes, bool value_quotes);
1.16 @@ -120,6 +121,7 @@
1.17 const char *phrase,
1.18 void **params,
1.19 size_t *outlen=NULL);
1.20 + const char *GetServerLanguageCode() const;
1.21 private:
1.22 bool AddLanguage(const char *langcode, const char *description);
1.23 private:
1.24 @@ -129,6 +131,7 @@
1.25 Trie *m_pLCodeLookup;
1.26 bool m_InLanguageSection;
1.27 String m_CustomError;
1.28 + char m_ServerLangCode[3];
1.29 };
1.30
1.31 extern CPhraseFile *g_pCorePhrases;