Files
RedScarfEngine/utilities/localization.h
T
Piotr Krygier 173a82b9d1 [WIP] Refactor project
There are many problems with the way the current version is provided
and maintained. This commit or series of commits will fix this.
2025-06-20 13:44:33 +02:00

21 lines
391 B
C

/**
* @file localization.h
* @author Piotr Krygier (everyonencancode@gmail.com)
* @brief Simple localization header. Gettext is used for localization
* @version 0.1
* @date 2022-02-15
*
* @copyright Copyright (c) 2022
*
*/
#ifndef LOCALIZATION_H
#define LOCALIZATION_H
#include <libintl.h>
/* Enable localization */
#define _(STRING) gettext(STRING)
#endif /* LOCALIZATION_H */