[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext: help commands
From: |
Carles Pina i Estany |
Subject: |
Re: gettext: help commands |
Date: |
Fri, 25 Dec 2009 13:29:18 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
On Dec/25/2009, Vladimir '??-coder/phcoder' Serbinenko wrote:
> >=== modified file 'commands/help.c'
> >--- commands/help.c 2009-06-10 21:04:23 +0000
> >+++ commands/help.c 2009-12-25 11:34:16 +0000
> > grub_cmd_help (grub_extcmd_t ext __attribute__ ((unused)), int argc,
> >@@ -48,7 +49,7 @@ grub_cmd_help (grub_extcmd_t ext __attri
> > (desclen < GRUB_TERM_WIDTH / 2 - 1
> > ? desclen : GRUB_TERM_WIDTH / 2 - 1));
> >
> >- grub_printf ("%s%s", description, (cnt++) % 2 ? "\n" : " ");
> >+ grub_printf ("%s%s", _(description), (cnt++) % 2 ? "\n" : " ");
> At this point description is already cut at half of terminal width.
> You have to first translate and then cut the message and not the other
> way round
See attached one.
--
Carles Pina i Estany
http://pinux.info
gettext_help3.patch
Description: Text Data