Revision: 2260 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2260&view=re... Author: frlan Date: 2011-10-08 22:29:54 +0000 (Sat, 08 Oct 2011) Log Message: ----------- PrettyPrinter: Retry of svn r2258: Make usage of PLUGIN_SET_TRANSLATABLE_INFO() and remove not anymore needed main_local_init().
Revision Links: -------------- http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2258&view=re...
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:56:50 UTC (rev 2259) +++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 22:29:54 UTC (rev 2260) @@ -23,19 +23,24 @@
#include "PluginEntry.h"
+ +GeanyPlugin* geany_plugin; +GeanyData* geany_data; +GeanyFunctions* geany_functions; + //========================================== PLUGIN INFORMATION ==========================================================
PLUGIN_VERSION_CHECK(130) -PLUGIN_SET_INFO("XML PrettyPrinter", "Formats an XML and makes it human-readable.", - PRETTY_PRINTER_VERSION, "Cédric Tabin - http://www.astorm.ch") +PLUGIN_SET_TRANSLATABLE_INFO( + LOCALEDIR, + GETTEXT_PACKAGE, + _("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)
//========================================== DECLARATIONS ================================================================
-GeanyPlugin* geany_plugin; -GeanyData* geany_data; -GeanyFunctions* geany_functions; - static GtkWidget* main_menu_item = NULL; //the main menu of the plugin
//declaration of the functions
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org