SF.net SVN: geany-plugins:[2259] trunk/geany-plugins/pretty-printer/src/ PluginEntry.c

frlan at users.sourceforge.net frlan at xxxxx
Sat Oct 8 21:56:50 UTC 2011


Revision: 2259
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2259&view=rev
Author:   frlan
Date:     2011-10-08 21:56:50 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
Revert changes from last commit as they broke the plugin. 

Modified Paths:
--------------
    trunk/geany-plugins/pretty-printer/src/PluginEntry.c

Modified: trunk/geany-plugins/pretty-printer/src/PluginEntry.c
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PluginEntry.c	2011-10-08 21:38:25 UTC (rev 2258)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c	2011-10-08 21:56:50 UTC (rev 2259)
@@ -26,7 +26,7 @@
 //========================================== PLUGIN INFORMATION ==========================================================
 
 PLUGIN_VERSION_CHECK(130)
-PLUGIN_SET_TRANSLATABLE_INFO(_("XML PrettyPrinter"), _("Formats an XML and makes it human-readable."),
+PLUGIN_SET_INFO("XML PrettyPrinter", "Formats an XML and makes it human-readable.",
                 PRETTY_PRINTER_VERSION, "Cédric Tabin - http://www.astorm.ch")
 PLUGIN_KEY_GROUP(prettyprinter, 1)
 
@@ -54,6 +54,9 @@
     //initializes the libxml2
     LIBXML_TEST_VERSION
 
+    //mutilanguage support
+    main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
+
     //put the menu into the Tools
     main_menu_item = gtk_menu_item_new_with_mnemonic(_("PrettyPrint XML"));
     ui_add_document_sensitive(main_menu_item);

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Plugins-Commits mailing list