File: gettext.h

package info (click to toggle)
hardinfo 2.2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,608 kB
  • sloc: ansic: 40,000; cpp: 1,174; sh: 332; xml: 81; python: 46; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#ifndef __GETTEXT_H__
#define __GETTEXT_H__

#include <string.h>
#include <libintl.h>
#include <locale.h>

#define _(STRING) gettext(STRING)
#define N_(STRING) (STRING)

#define C_(CTX, STRING) dgettext(CTX, STRING)
#define NC_(CTX, STRING) (STRING)

#endif