aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/pst-import
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-04-02 00:34:16 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:52 +0800
commit1448ecee67aa8480bd1e39d47248ab13a5ba4fde (patch)
treed32874aed3f76d2c17cb5dba4e66fa657dbd91d6 /plugins/pst-import
parentc55d5a308e798b7e24d10828cd54302e0698611f (diff)
downloadgsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.gz
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.bz2
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.lz
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.xz
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.tar.zst
gsoc2013-evolution-1448ecee67aa8480bd1e39d47248ab13a5ba4fde.zip
Fix translations being boken by removing calls to bindtextdomain() from plugins.
It shouldn't be needed for plugins that live in the evolution source tree anyway since they should just use the translation domain they inherit from main().
Diffstat (limited to 'plugins/pst-import')
-rw-r--r--plugins/pst-import/Makefile.am2
-rw-r--r--plugins/pst-import/pst-importer.c8
2 files changed, 0 insertions, 10 deletions
diff --git a/plugins/pst-import/Makefile.am b/plugins/pst-import/Makefile.am
index b4745b6226..71b37a9d0f 100644
--- a/plugins/pst-import/Makefile.am
+++ b/plugins/pst-import/Makefile.am
@@ -17,8 +17,6 @@ liborg_gnome_pst_import_la_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/widgets \
-I$(top_builddir) \
- -DGETTEXT_PACKAGE="\"$(GETTEXT_PACKAGE)\"" \
- -DLOCALEDIR="\"$(LOCALEDIR)\"" \
$(GNOME_PLATFORM_CFLAGS) \
$(EVOLUTION_CFLAGS) \
$(EVOLUTION_CALENDAR_CFLAGS) \
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c
index afd4767d5c..603e739fe5 100644
--- a/plugins/pst-import/pst-importer.c
+++ b/plugins/pst-import/pst-importer.c
@@ -1683,14 +1683,6 @@ org_credativ_evolution_readpst_cancel (EImport *ei, EImportTarget *target, EImpo
gint
e_plugin_lib_enable (EPlugin *ep, gint enable)
{
- if (enable) {
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- g_message ("pst Plugin enabled");
- } else {
- g_message ("pst Plugin disabled");
- }
-
return 0;
}