00001 /* 00002 * This file is part of browser. 00003 * 00004 * browser is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * browser is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00018 // 00019 // 00020 // Description: internationalistation 00021 // 00022 // Author: ann <ann@localhost>, (C) 2005 00023 // 00024 // Copyright: See COPYING file that comes with this distribution 00025 // 00026 // 00027 #ifndef languages_h 00028 #define languages_h 00029 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif /* __cplusplus */ 00033 00034 #if ENABLE_NLS 00035 #include <libintl.h> 00036 #include <locale.h> 00037 #define _(String) gettext (String) 00038 #define gettext_noop(String) String 00039 #define N_(String) gettext_noop (String) 00040 #else 00041 #define _(String) (String) 00042 #define N_(String) String 00043 #define textdomain(Domain) 00044 #define bindtextdomain(Package, Directory) 00045 #endif 00046 00054 void languagesInit(); 00055 00056 #ifdef __cplusplus 00057 } 00058 #endif /* __cplusplus */ 00059 00060 00061 #endif //languages_h
1.5.6