SF.net SVN: geany-plugins:[2258] trunk/geany-plugins/pretty-printer/src/ PluginEntry.c
frlan at users.sourceforge.net
frlan at xxxxx
Sat Oct 8 21:38:25 UTC 2011
Revision: 2258
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2258&view=rev
Author: frlan
Date: 2011-10-08 21:38:25 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
PrettyPrinter: Use PLUGIN_SET_TRANSLATABLE_INFO() and remove not anymore needed main_local_init().
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:04 UTC (rev 2257)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 21:38:25 UTC (rev 2258)
@@ -26,7 +26,7 @@
//========================================== PLUGIN INFORMATION ==========================================================
PLUGIN_VERSION_CHECK(130)
-PLUGIN_SET_INFO("XML PrettyPrinter", "Formats an XML and makes it human-readable.",
+PLUGIN_SET_TRANSLATABLE_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,9 +54,6 @@
//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