1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 17:00:19 +00:00
oot/include/translation.h
2025-06-02 07:54:35 +02:00

19 lines
696 B
C

#ifndef TRANSLATION_H
#define TRANSLATION_H
/**
* The "T" macro holds translations in English for original debug strings written in Japanese.
* The translated strings are only direct translations. Certain names or terms may not reflect
* their in-game localized counterparts.
*
* To use translated English strings in the build, change the definition below to "en".
*
* Note: This translation macro exists for quality of life purposes.
* The original game would not have had a macro like this.
*/
#define T(jp, en) jp
// Note: need to also include debug.h if using this macro
#define LOG_STRING_T(stringJP, stringEN, file, line) LOG(#stringJP, stringJP, "%s", file, line)
#endif