SF.net SVN: geany-plugins:[1415] trunk/geany-plugins/spellcheck

eht16 at users.sourceforge.net eht16 at xxxxx
Sun May 30 18:13:47 UTC 2010


Revision: 1415
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1415&view=rev
Author:   eht16
Date:     2010-05-30 18:13:47 +0000 (Sun, 30 May 2010)

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

Modified Paths:
--------------
    trunk/geany-plugins/spellcheck/ChangeLog
    trunk/geany-plugins/spellcheck/src/scplugin.c

Modified: trunk/geany-plugins/spellcheck/ChangeLog
===================================================================
--- trunk/geany-plugins/spellcheck/ChangeLog	2010-05-30 18:13:21 UTC (rev 1414)
+++ trunk/geany-plugins/spellcheck/ChangeLog	2010-05-30 18:13:47 UTC (rev 1415)
@@ -1,3 +1,9 @@
+2010-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/scplugin.c:
+   Use the new PLUGIN_SET_TRANSLATABLE_INFO() macro.
+
+
 2010-05-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/speller.c:

Modified: trunk/geany-plugins/spellcheck/src/scplugin.c
===================================================================
--- trunk/geany-plugins/spellcheck/src/scplugin.c	2010-05-30 18:13:21 UTC (rev 1414)
+++ trunk/geany-plugins/spellcheck/src/scplugin.c	2010-05-30 18:13:47 UTC (rev 1415)
@@ -36,9 +36,14 @@
 GeanyFunctions	*geany_functions;
 
 
-PLUGIN_VERSION_CHECK(147);
-PLUGIN_SET_INFO(_("Spell Check"), _("Checks the spelling of the current document."), VERSION,
-			_("The Geany developer team"))
+PLUGIN_VERSION_CHECK(188)
+PLUGIN_SET_TRANSLATABLE_INFO(
+	LOCALEDIR,
+	GETTEXT_PACKAGE,
+	_("Spell Check"),
+	_("Checks the spelling of the current document."),
+	VERSION,
+	"The Geany developer team")
 
 
 SpellCheck *sc_info = NULL;
@@ -175,8 +180,6 @@
 	g_key_file_free(config);
 	g_free(default_lang);
 
-	main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
-
 	sc_info->menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_SPELL_CHECK, NULL);
 	ui_add_document_sensitive(sc_info->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