File: nls.h

package info (click to toggle)
gplanarity 17906-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 732 kB
  • sloc: ansic: 8,776; makefile: 131; perl: 17; sed: 2
file content (17 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef ENABLE_NLS
#include <locale.h>
#include <libintl.h>

#define GT_DOMAIN X_GT_DOMAIN(UGT_DOMAIN)
#define X_GT_DOMAIN(x) XX_GT_DOMAIN(x)
#define XX_GT_DOMAIN(x) #x

#define GT_DIR X_GT_DIR(UGT_DIR)
#define X_GT_DIR(x) XX_GT_DIR(x)
#define XX_GT_DIR(x) #x

#define _(x) gettext(x)
#else
#define _(x) x
#endif