There are many problems with the way the current version is provided and maintained. This commit or series of commits will fix this.
21 lines
391 B
C
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 */
|