dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
i18n.h File Reference

(15af35e78)

#include <dpkg/macros.h>
#include <gettext.h>
#include <locale.h>
Include dependency graph for i18n.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dpkg_locale
 

Macros

#define _(str)   gettext(str)
 
#define P_(str, str_plural, n)   ngettext(str, str_plural, n)
 
#define N_(str)   gettext_noop(str)
 
#define C_(ctxt, str)   pgettext(ctxt, str)
 

Functions

void dpkg_locales_init (const char *package)
 
void dpkg_locales_done (void)
 
struct dpkg_locale dpkg_locale_switch_C (void)
 
void dpkg_locale_switch_back (struct dpkg_locale loc)