SF.net SVN: geany:[4958] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat May 29 18:36:04 UTC 2010


Revision: 4958
          http://geany.svn.sourceforge.net/geany/?rev=4958&view=rev
Author:   eht16
Date:     2010-05-29 18:36:04 +0000 (Sat, 29 May 2010)

Log Message:
-----------
Fix some labels which were marked as translatable but were not handled properly by gettext().
Add a missing const.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/build.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-05-29 18:35:51 UTC (rev 4957)
+++ trunk/ChangeLog	2010-05-29 18:36:04 UTC (rev 4958)
@@ -2,6 +2,10 @@
 
  * src/main.c:
    Print locale information in debug output.
+ * src/build.c:
+   Fix some labels which were marked as translatable but were not
+   handled properly by gettext().
+   Add a missing const.
 
 
 2010-05-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c	2010-05-29 18:35:51 UTC (rev 4957)
+++ trunk/src/build.c	2010-05-29 18:36:04 UTC (rev 4958)
@@ -1395,7 +1395,7 @@
 		}
 		else if (bs->fix_label != NULL)
 		{
-			create_build_menu_item(menu, keygroup, accel_group, bs, gettext(bs->fix_label),
+			create_build_menu_item(menu, keygroup, accel_group, bs, _(bs->fix_label),
 									GBG_FIXED, bs->build_cmd);
 		}
 		else if (bs->build_grp >= MENU_FT_REST && bs->build_grp <= MENU_SEPARATOR)
@@ -2176,7 +2176,7 @@
 	GtkWidget *dialog, *table, *vbox;
 	GeanyDocument *doc = document_get_current();
 	GeanyFiletype *ft = NULL;
-	gchar *title = _("Set Build Commands");
+	const gchar *title = _("Set Build Commands");
 	gint response;
 	BuildTableData table_data;
 	BuildDestination prefdsts;


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



More information about the Commits mailing list