pidgin/purple-plugin-pack

Prevent translators complaining that this plugin is not translated
org.guifications.plugins
2007-10-22, rekkanoryo
ade03f2afb33
Parents 8d3db03a1a97
Children 0ea278205929
Prevent translators complaining that this plugin is not translated
--- a/dewysiwygification/dewysiwygification.c Mon Oct 22 04:06:16 2007 -0400
+++ b/dewysiwygification/dewysiwygification.c Mon Oct 22 04:06:49 2007 -0400
@@ -112,6 +112,14 @@
static void
init_plugin(PurplePlugin *plugin)
{
+#ifdef ENABLE_NLS
+ bindtextdomain(GETTEXT_PACKAGE, PP_LOCALEDIR);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
+ info.name = _(info.name);
+ info.summary = _(info.summary);
+ info.description _(info.description);
}
PURPLE_INIT_PLUGIN(dewysiwygification, init_plugin, info)