#include <public/ITranslator.h>
Public Member Functions | |
| virtual TransError | GetTranslation (const char *szPhrase, unsigned int lang_id, Translation *pTrans)=0 |
| Attempts to find a translation phrase in a phrase file. | |
| virtual const char * | GetFilename ()=0 |
| Returns the file name of this translation file. | |
Definition at line 89 of file ITranslator.h.
| virtual TransError SourceMod::IPhraseFile::GetTranslation | ( | const char * | szPhrase, | |
| unsigned int | lang_id, | |||
| Translation * | pTrans | |||
| ) | [pure virtual] |
Attempts to find a translation phrase in a phrase file.
| szPhrase | String containing the phrase name. | |
| lang_id | Language ID. | |
| pTrans | Buffer to store translation info. |
| virtual const char* SourceMod::IPhraseFile::GetFilename | ( | ) | [pure virtual] |
Returns the file name of this translation file.
1.5.1