Diff of /src/plugin-intl.h [000000] .. [24dce1] Maximize Restore

  Switch to unified view

a b/src/plugin-intl.h
1
/* plugin-intl.h
2
 *
3
 * Permission is hereby granted, free of charge, to any person obtaining a
4
 * copy of this software and associated documentation files (the "Software"),
5
 * to deal in the Software without restriction, including without limitation
6
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
7
 * and/or sell copies of the Software, and to permit persons to whom the
8
 * Software is furnished to do so, subject to the following conditions:
9
 * 
10
 * The above copyright notice and this permission notice shall be included
11
 * in all copies or substantial portions of the Software.
12
 *
13
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
16
 * THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
 * 
20
 * Except as contained in this notice, the name of the Author of the
21
 * Software shall not be used in advertising or otherwise to promote the
22
 * sale, use or other dealings in this Software without prior written
23
 * authorization from the Author.
24
 */
25
26
#ifndef __PLUGIN_INTL_H__
27
#define __PLUGIN_INTL_H__
28
29
30
#ifndef GETTEXT_PACKAGE
31
#error "config.h must be included prior to plugin-intl.h"
32
#endif
33
34
#include <libintl.h>
35
36
#define _(String) gettext (String)
37
38
#ifdef gettext_noop
39
#    define N_(String) gettext_noop (String)
40
#else
41
#    define N_(String) (String)
42
#endif
43
44
45
#endif /* __PLUGIN_INTL_H__ */