Revision: 5103 http://geany.svn.sourceforge.net/geany/?rev=5103&view=rev Author: elextr Date: 2010-07-11 03:20:25 +0000 (Sun, 11 Jul 2010)
Log Message: ----------- Fix build menu translation problems.
Modified Paths: -------------- trunk/ChangeLog trunk/src/build.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-07-10 12:01:18 UTC (rev 5102) +++ trunk/ChangeLog 2010-07-11 03:20:25 UTC (rev 5103) @@ -1,3 +1,9 @@ +2010-07-11 Lex Trotman <elextr(at)gmail(dot)com> + + * src/build.c: + Fix build menu translation problems. + + 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2010-07-10 12:01:18 UTC (rev 5102) +++ trunk/src/build.c 2010-07-11 03:20:25 UTC (rev 5103) @@ -158,7 +158,7 @@
static gchar *buildcmd_label(GeanyBuildCommand *bc) { - return _(id_to_str(bc, GEANY_BC_LABEL)); + return id_to_str(bc, GEANY_BC_LABEL); }
@@ -2684,7 +2684,10 @@ cmd->exists = TRUE; for (k = 0; k < GEANY_BC_CMDENTRIES_COUNT; k++) { - cmd->entries[k] = g_strdup(default_cmds[cmdindex].entries[k]); + if (k == GEANY_BC_LABEL) + cmd->entries[k] = g_strdup(_(default_cmds[cmdindex].entries[k])); + else + cmd->entries[k] = g_strdup(default_cmds[cmdindex].entries[k]); } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.