aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-i18n.h
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-09-17 12:32:38 +0800
committernobody <nobody@localhost>2001-09-17 12:32:38 +0800
commit6a5caaed83c093f7e3ce67284cd14831db5b1b66 (patch)
tree6f31e70927858f2bafcfc481e337a665090bdb8e /e-util/e-i18n.h
parent169d9ae19a0eb165edc757eca753a757a02f60f7 (diff)
downloadgsoc2013-evolution-6a5caaed83c093f7e3ce67284cd14831db5b1b66.tar
gsoc2013-evolution-6a5caaed83c093f7e3ce67284cd14831db5b1b66.tar.gz
gsoc2013-evolution-6a5caaed83c093f7e3ce67284cd14831db5b1b66.tar.bz2
gsoc2013-evolution-6a5caaed83c093f7e3ce67284cd14831db5b1b66.tar.lz
gsoc2013-evolution-6a5caaed83c093f7e3ce67284cd14831db5b1b66.tar.xz
gsoc2013-evolution-6a5caaed83c093f7e3ce67284cd14831db5b1b66.tar.zst
gsoc2013-evolution-6a5caaed83c093f7e3ce67284cd14831db5b1b66.zip
This commit was manufactured by cvs2svn to create tagMERGE_TO_HEAD_1
'MERGE_TO_HEAD_1'. svn path=/tags/MERGE_TO_HEAD_1/; revision=12887
Diffstat (limited to 'e-util/e-i18n.h')
-rw-r--r--e-util/e-i18n.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/e-util/e-i18n.h b/e-util/e-i18n.h
deleted file mode 100644
index 58d3420be3..0000000000
--- a/e-util/e-i18n.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copied from gnome-i18nP.h, because this header is typically not installed
- *
- * This file has to be included before any file from the GNOME libraries
- * to have this override the definitions that are pulled from the gnome-i18n.h
- *
- * the difference is that gnome-i18n.h is used for applications, and this is
- * used by libraries (because libraries have to use dcgettext instead of
- * gettext and they need to provide the translation domain, unlike apps).
- *
- * So you can just put this after you include config.h
- */
-
-#ifndef __E_I18N_H__
-#define __E_I18N_H__
-
-#include <glib.h>
-#include "libgnome/gnome-defs.h"
-
-BEGIN_GNOME_DECLS
-
-#ifdef ENABLE_NLS
-# include <libintl.h>
-# undef _
-# define _(String) dgettext (PACKAGE, String)
-# ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-# else
-# define N_(String) (String)
-# endif
-#else
-/* Stubs that do something close enough. */
-# define textdomain(String) (String)
-# define gettext(String) (String)
-# define dgettext(Domain,Message) (Message)
-# define dcgettext(Domain,Message,Type) (Message)
-# define bindtextdomain(Domain,Directory) (Domain)
-# define _(String) (String)
-# define N_(String) (String)
-#endif
-
-/*
- * Do not remove the following define, nor do surround it with ifdefs.
- *
- * If you get any `redefined' errors, it means that you are including
- * -incorrectly- a header file provided by gnome-libs before this file.
- * To correctly solve this issue include this file before any libgnome/
- * libgnomeui headers
- */
-
-#define __GNOME_I18N_H__ 1
-
-
-/* This is copied staight out of the prototypes for gnome-i18n.h */
-const char *gnome_i18n_get_language(void);
-GList *gnome_i18n_get_language_list (const gchar *category_name);
-void gnome_i18n_set_preferred_language (const char *val);
-const char *gnome_i18n_get_preferred_language (void);
-void gnome_i18n_init (void);
-
-END_GNOME_DECLS
-
-#endif /* __E_I18N_H__ */