File: locale.h

package info (click to toggle)
notion 4.0.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,656 kB
  • sloc: ansic: 47,365; sh: 2,093; makefile: 595; perl: 270
file content (27 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * libtu/locale.h
 *
 * Copyright (c) Tuomo Valkonen 2004.
 *
 * You may distribute and modify this library under the terms of either
 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
 */

#ifndef LIBTU_LOCALE_H
#define LIBTU_LOCALE_H

#ifdef CF_NO_GETTEXT

#define TR(X) X
#define DUMMY_TR(X) X

#else

#include <libintl.h>

#define TR(X) gettext(X)
#define DUMMY_TR(X) X

#endif

#endif /* LIBTU_LOCALE_H */