mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-27 06:02:16 +00:00
87564c9d79
try to imitate cyrillic chars if the charset doesn't support them using koi8 mappings, so russian-speaking users don't get so easily pissed about not knowing how to select a font that actually contains chars for their language. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4544 fc73d0e0-1445-4013-8a0c-d673dee63da5
19 lines
338 B
C
19 lines
338 B
C
#ifndef TRANSLATE_H
|
|
#define TRANSLATE_H
|
|
typedef const char* translation_t;
|
|
|
|
#define MAX_LANGUAGES 64
|
|
|
|
void TranslateInit(void);
|
|
|
|
void SV_InitLanguages(void);
|
|
|
|
struct language_s
|
|
{
|
|
char *name;
|
|
struct po_s *po;
|
|
} languages[MAX_LANGUAGES];
|
|
#define langtext(t,l) PO_GetText(languages[l].po, t)
|
|
int TL_FindLanguage(const char *lang);
|
|
|
|
#endif
|