| 1 | /* |
| 2 | * intl.h - Internationalisation for melys |
| 3 | * |
| 4 | * Copyright (C) 1999 Steve Ratcliffe |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
| 16 | #ifdef I18N |
| 17 | |
| 18 | #include "libintl.h" |
| 19 | |
| 20 | #define _(_STRING) gettext(_STRING) |
| 21 | #define N_(_STRING) _STRING |
| 22 | |
| 23 | #else |
| 24 | |
| 25 | #define _(_STRING) _STRING |
| 26 | #define N_(_STRING) _STRING |
| 27 | |
| 28 | #endif |