Revision: 5146 http://geany.svn.sourceforge.net/geany/?rev=5146&view=rev Author: ntrel Date: 2010-08-12 12:28:46 +0000 (Thu, 12 Aug 2010)
Log Message: ----------- r5103 | elextr | 2010-07-11 04:20:25 +0100 (Sun, 11 Jul 2010) | 1 line
Fix build menu translation problems.
Modified Paths: -------------- branches/Geany-0_19_1/ChangeLog branches/Geany-0_19_1/src/build.c
Modified: branches/Geany-0_19_1/ChangeLog =================================================================== --- branches/Geany-0_19_1/ChangeLog 2010-08-12 05:49:07 UTC (rev 5145) +++ branches/Geany-0_19_1/ChangeLog 2010-08-12 12:28:46 UTC (rev 5146) @@ -1,3 +1,9 @@ +2010-07-11 Lex Trotman <elextr(at)gmail(dot)com> + + * src/build.c: + Fix build menu translation problems. + + 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Modified: branches/Geany-0_19_1/src/build.c =================================================================== --- branches/Geany-0_19_1/src/build.c 2010-08-12 05:49:07 UTC (rev 5145) +++ branches/Geany-0_19_1/src/build.c 2010-08-12 12:28:46 UTC (rev 5146) @@ -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); }
@@ -2664,7 +2664,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.