SF.net SVN: geany-plugins:[1420] trunk/geany-plugins/geanygendoc/src/ ggd-plugin.c

colombanw at users.sourceforge.net colombanw at xxxxx
Thu Jun 3 10:14:07 UTC 2010


Revision: 1420
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1420&view=rev
Author:   colombanw
Date:     2010-06-03 10:14:07 +0000 (Thu, 03 Jun 2010)

Log Message:
-----------
Use new PLUGIN_SET_TRANSLATABLE_INFO() macro

Modified Paths:
--------------
    trunk/geany-plugins/geanygendoc/src/ggd-plugin.c

Modified: trunk/geany-plugins/geanygendoc/src/ggd-plugin.c
===================================================================
--- trunk/geany-plugins/geanygendoc/src/ggd-plugin.c	2010-06-02 23:22:23 UTC (rev 1419)
+++ trunk/geany-plugins/geanygendoc/src/ggd-plugin.c	2010-06-03 10:14:07 UTC (rev 1420)
@@ -46,12 +46,15 @@
 GeanyFunctions  *geany_functions;
 
 /* TODO check minimum requierment */
-PLUGIN_VERSION_CHECK (171)
+PLUGIN_VERSION_CHECK (188)
 
-PLUGIN_SET_INFO (_("Documentation Generator"),
-                 _("Generates documentation basis from source code"),
-                 VERSION,
-                 "Colomban Wendling <ban at herbesfolles.org>")
+PLUGIN_SET_TRANSLATABLE_INFO (
+  LOCALEDIR, GETTEXT_PACKAGE,
+  _("Documentation Generator"),
+  _("Generates documentation basis from source code"),
+  VERSION,
+  "Colomban Wendling <ban at herbesfolles.org>"
+)
 
 enum
 {
@@ -497,7 +500,6 @@
 void
 plugin_init (GeanyData *data G_GNUC_UNUSED)
 {
-  main_locale_init (LOCALEDIR, GETTEXT_PACKAGE);
   load_configuration ();
   build_menus (plugin);
   plugin_signal_connect (geany_plugin, NULL, "update-editor-menu", FALSE,


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