diff options
Diffstat (limited to 'lib/dpkg-i18n.h')
-rw-r--r-- | lib/dpkg-i18n.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/dpkg-i18n.h b/lib/dpkg-i18n.h new file mode 100644 index 000000000..d89667f75 --- /dev/null +++ b/lib/dpkg-i18n.h @@ -0,0 +1,36 @@ +/* + * libdpkg - Debian packaging suite library routines + * dpkg-i18n.h - private i18n support + * + * Copyright © 2008 Guillem Jover <guillem@debian.org> + * + * This is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2, + * or (at your option) any later version. + * + * This is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with dpkg; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#ifndef DPKG_I18N_H +#define DPKG_I18N_H + +#include <dpkg-def.h> + +DPKG_BEGIN_DECLS + +#include <gettext.h> + +#define _(str) gettext(str) +#define N_(str) gettext_noop(str) + +DPKG_END_DECLS + +#endif /* DPKG_I18N_H */ |