mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-06-19 03:05:43 -04:00

* Update translations, add Dutch and Ukrainian Adds Ґ, ґ, І, і, Ї, and ї to the font for Ukrainian * Update Chinese translation * Add RTL support, Hebrew translation * Update translations
29 lines
560 B
C++
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 */
|