Commit b04248c5 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Benno's latest fixes for help menu translations.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4247 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 8a59f254
Showing with 6 additions and 2 deletions
+6 -2
2008-03-19 Benno Schulenberg <bensberg@justemail.net>
* help.c, nano.c: Fix toggle help not being translated, fix allocation
issue.
2008-03-19 Chris Allegretta <chrisa@asty.org>
* gloabl.c: Fix bracket matching sequence to be M-] not M-[, as reported
Nick Warne <nick@ukfsn.org>.
......
......@@ -414,7 +414,7 @@ void help_init(void)
for (s = sclist; s != NULL; s = s->next)
if (s->scfunc == (void *) do_toggle)
allocsize += strlen(flagtostr(s->toggle)) + endis_len + 9;
allocsize += strlen(_(flagtostr(s->toggle))) + endis_len + 9;
}
#endif
......
......@@ -1250,7 +1250,7 @@ void do_toggle(int flag)
)
enabled = !enabled;
desc = flagtostr(flag);
desc = _(flagtostr(flag));
statusbar("%s %s", desc, enabled ? _("enabled") :
_("disabled"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment