menu: added new Keywords tag to .desktop files
[barry.git] / src / i18n.h
blob03fb47a0d79022445c08a658531b9ad0d024712d
1 ///
2 /// \file i18n.h
3 /// Common internationalization defines, via gettext
4 /// NOTE! This is a private header, not to be installed!
5 ///
7 /*
8 Copyright (C) 2009, Nicolas VIVIEN
9 Copyright (C) 2009-2013, Net Direct Inc. (http://www.netdirect.ca/)
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 See the GNU General Public License in the COPYING file at the
21 root directory of this project for more details.
24 #ifndef __BARRY_PRIVATE_I18N_H__
25 #define __BARRY_PRIVATE_I18N_H__
27 #include <config.h>
28 #include <locale.h>
30 // Set the DEFAULT_TEXT_DOMAIN so that gettext.h uses dgettext()
31 // instead of gettext(). This way we don't have to call textdomain()
32 // and hope that nobody changes it on us later.
33 #define DEFAULT_TEXT_DOMAIN PACKAGE
34 #include "gettext.h"
36 #define _(String) gettext (String)
37 #define N_(String) String
39 #endif