Mercurial > vba-linux
view src/gtk/intl.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 // -*- C++ -*-2 // VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.3 // Copyright (C) 1999-2003 Forgotten4 // Copyright (C) 2004 Forgotten and the VBA development team6 // This program is free software; you can redistribute it and/or modify7 // it under the terms of the GNU General Public License as published by8 // the Free Software Foundation; either version 2, or(at your option)9 // any later version.10 //11 // This program is distributed in the hope that it will be useful,12 // but WITHOUT ANY WARRANTY; without even the implied warranty of13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14 // GNU General Public License for more details.15 //16 // You should have received a copy of the GNU General Public License17 // along with this program; if not, write to the Free Software Foundation,18 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.20 #ifndef __VBA_INTL_H__21 #define __VBA_INTL_H__23 #ifndef GETTEXT_PACKAGE24 # error "GETTEXT_PACKAGE must be defined"25 #endif27 #ifdef ENABLE_NLS28 # include <libintl.h>29 # define _(String) gettext(String)30 # define N_(String) (String)31 #else32 # define _(String) (String)33 # define N_(String) (String)34 # define textdomain(String) (String)35 # define gettext(String) (String)36 # define dgettext(Domain,String) (String)37 # define dcgettext(Domain,String,Type) (String)38 # define bindtextdomain(Domain,Directory) (Domain)39 #endif42 #endif // __VBA_INTL_H__