* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __G_I18N_H__
#include <glib.h>
#include <libintl.h>
+#include <string.h>
-#if !defined(__G_I18N_LIB_H__) && !defined(__GLIBINTL_H__)
-#define _(String) g_gettext (String)
+#define _(String) gettext (String)
#define Q_(String) g_dpgettext (NULL, String, 0)
#define N_(String) (String)
#define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
-#endif
-
-G_BEGIN_DECLS
-
-G_CONST_RETURN gchar *g_gettext (const gchar *msgid);
-
-G_CONST_RETURN gchar *g_dgettext (const gchar *domain,
- const gchar *msgid);
-
-G_CONST_RETURN gchar *g_dpgettext (const gchar *domain,
- const gchar *msgctxtid,
- gsize msgidoffset);
-
-void g_i18n_init (void);
-
-G_END_DECLS
+#define NC_(Context, String) (String)
#endif /* __G_I18N_H__ */