Include screen.h in dialog.h for definition of WScreen
[wmaker-crm.git] / wrlib / wr_i18n.h
blob328e69b51c92a09b1f73292c7fcf0f74da741d67
1 /*
2 * Window Maker window manager
4 * Copyright (c) 2021 Window Maker Team
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program, see the file COPYING.
21 * This file defines the basic stuff for WRaster's message
22 * internationalization in the code
25 #ifndef WRASTER_I18N_H
26 #define WRASTER_I18N_H
28 #if defined(HAVE_LIBINTL_H) && defined(I18N)
29 # include <libintl.h>
30 # define _(text) dgettext("WRaster", (text))
31 #else
32 # define _(text) (text)
33 #endif
36 * the N_ macro is used for initializers, it will make xgettext pick the
37 * string for translation when generating PO files
39 #define N_(text) (text)
41 #endif