1 /* 2 * "$Id: print-intl.h,v 1.2 2001/09/08 17:17:34 rleigh Exp $" 3 * 4 * I18N header file for the gimp-print plugin. 5 * 6 * Copyright 1997-2000 Michael Sweet (mike@easysw.com), 7 * Robert Krawitz (rlk@alum.mit.edu) and Michael Natterer (mitch@gimp.org) 8 * 9 * This program is free software; you can redistribute it and/or modify it 10 * under the terms of the GNU General Public License as published by the Free 11 * Software Foundation; either version 2 of the License, or (at your option) 12 * any later version. 13 * 14 * This program is distributed in the hope that it will be useful, but 15 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 16 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17 * for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 */ 23 #ifndef __PRINT_INTL_H__ 24 #define __PRINT_INTL_H__ 25 26 #include <glib.h> 27 #include <gimp-print/gimp-print-intl.h> 28 29 #define INIT_LOCALE(domain) G_STMT_START{ \ 30 gtk_set_locale (); \ 31 setlocale (LC_NUMERIC, "C"); \ 32 bindtextdomain (domain, PACKAGE_LOCALE_DIR); \ 33 textdomain (domain); \ 34 }G_STMT_END 35 36 #endif /* __PRINT_INTL_H__ */ 37