GodMode9i/arm9/source/language.h
Pk11 9ada5887e2
Update translations (#162)
* Update translations, add Dutch and Ukrainian

Adds Ґ, ґ, І, і, Ї, and ї to the font for Ukrainian

* Update Chinese translation

* Add RTL support, Hebrew translation

* Update translations
2022-04-08 12:39:29 -06:00

29 lines
560 B
C++

// Language functions.
#ifndef LANGUAGE_H
#define LANGUAGE_H
#include "font.h"
#include <string>
#define STRING(what, def) extern std::string STR_##what;
#include "language.inl"
#undef STRING
extern bool rtl;
extern int firstCol;
extern int lastCol;
extern Alignment alignStart;
extern Alignment alignEnd;
/**
* Initialize translations.
* Uses the language ID specified in settings.ui.language.
*
* Check the language variable outside of settings to determine
* the actual language in use.
*/
void langInit(bool reloading);
#endif /* LANGUAGE_H */