mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-06-18 10:55:31 -04:00
21 lines
426 B
C++
21 lines
426 B
C++
// Language functions.
|
|
#ifndef LANGUAGE_H
|
|
#define LANGUAGE_H
|
|
|
|
#include <string>
|
|
|
|
#define STRING(what, def) extern std::string STR_##what;
|
|
#include "language.inl"
|
|
#undef STRING
|
|
|
|
/**
|
|
* 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 */
|