aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dbx-import
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-04-02 00:34:16 +0800
committerKjartan Maraas <kmaraas@gnome.org>2011-04-02 00:35:24 +0800
commit88ae09989a3c6a21fd106bf2318868516e64e91d (patch)
tree3d57d5d4e1d814e8d32927c843d4e0606a2e6ab8 /plugins/dbx-import
parentb95fa8ea1a1c98d4cddc4af3650ec8caa8f05da7 (diff)
downloadgsoc2013-evolution-88ae09989a3c6a21fd106bf2318868516e64e91d.tar
gsoc2013-evolution-88ae09989a3c6a21fd106bf2318868516e64e91d.tar.gz
gsoc2013-evolution-88ae09989a3c6a21fd106bf2318868516e64e91d.tar.bz2
gsoc2013-evolution-88ae09989a3c6a21fd106bf2318868516e64e91d.tar.lz
gsoc2013-evolution-88ae09989a3c6a21fd106bf2318868516e64e91d.tar.xz
gsoc2013-evolution-88ae09989a3c6a21fd106bf2318868516e64e91d.tar.zst
gsoc2013-evolution-88ae09989a3c6a21fd106bf2318868516e64e91d.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/dbx-import')
-rw-r--r--plugins/dbx-import/Makefile.am2
-rw-r--r--plugins/dbx-import/dbx-importer.c8
2 files changed, 0 insertions, 10 deletions
diff --git a/plugins/dbx-import/Makefile.am b/plugins/dbx-import/Makefile.am
index d38010471b..ecd4890c37 100644
--- a/plugins/dbx-import/Makefile.am
+++ b/plugins/dbx-import/Makefile.am
@@ -17,8 +17,6 @@ liborg_gnome_dbx_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/dbx-import/dbx-importer.c b/plugins/dbx-import/dbx-importer.c
index f4dd0506d5..294b466263 100644
--- a/plugins/dbx-import/dbx-importer.c
+++ b/plugins/dbx-import/dbx-importer.c
@@ -811,13 +811,5 @@ org_gnome_evolution_readdbx_cancel (EImport *ei,
gint
e_plugin_lib_enable (EPlugin *ep, gint enable)
{
- if (enable) {
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- g_message ("DBX Plugin enabled");
- } else {
- g_message ("DBX Plugin disabled");
- }
-
return 0;
}