1 //
2 // aegis - project change supervisor
3 // Copyright (C) 1995, 1996, 1998, 2004-2006, 2008 Peter Miller
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
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 // You should have received a copy of the GNU General Public License
16 // along with this program. If not, see
17 // <http://www.gnu.org/licenses/>.
18 //
19
20 #include <common/ac/libintl.h>
21
22
23 //
24 // NAME
25 // gettext
26 //
27 // DESCRIPTION
28 // The gettext function is used to translate messages into a
29 // language dictated by the LANG environment variable (et al). If
30 // the current operating system does not supply one, then pass the
31 // message through unchanged. (This is what gettext will do for
32 // error messages it does not have a translation for.)
33 //
34
35 #ifndef HAVE_GETTEXT
36
37 char *
gettext(const char * s)38 gettext(const char *s)
39 {
40 return (char *)s;
41 }
42
43 #endif // !HAVE_GETTEXT
44