[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettextize normal/menu_text.c (print_timeout)
From: |
Carles Pina i Estany |
Subject: |
Re: gettextize normal/menu_text.c (print_timeout) |
Date: |
Wed, 25 Nov 2009 22:54:22 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
On Nov/25/2009, Vladimir '??-coder/phcoder' Serbinenko wrote:
> Carles Pina i Estany wrote:
> > Hi,
> >
> > On Nov/25/2009, Robert Millan wrote:
> >
> >> On Wed, Nov 25, 2009 at 12:30:59AM +0000, Carles Pina i Estany wrote:
> >>
> >>> BTW, I left spaces on the left of lot of strings. In my opinion I would
> >>> delete it and call print_spaces(3);. Fine? (or call grub_printf (" ");
> >>> ).
> >>>
> >> Yes.
> >>
> >
> > ok!
> >
> >
> >
> >>> - grub_printf ("\n\
> >>> + grub_printf (_("\
> >>> Minimum Emacs-like screen editing is supported. TAB lists\n\
> >>> completions. Press Ctrl-x to boot, Ctrl-c for a command-line\n\
> >>> - or ESC to return menu.");
> >>> + or ESC to return menu."));
> >>>
> >> These are still not right. We can't have newlines in the middle of a
> >> translatable string.
> >>
> >
> > I disagree. We have to give to the translators the minimum unit of
> > "sense", and in this case it's three lines. We cannot force translators
> > to translate the same sentence line by line because:
> >
> > a) they will not have enough context
> > b) they cannot rephrase enough
> > c) maybe in other language the first line would be longer and the second
> > shorter, and if we split they cannot fix (less flexibility for them).
> >
> > Agree with me?
> >
> >
> The real problem is that these newlines are hardcoded into string
> whereas they should be put on runtime since terminal width may vary (the
> string as is is tailored for 80 columns terminal)
this makes more sense (I didn't had in mind that the terminal width can
vary). I will delete the new lines and make a function that splits the
string after WIDTH_TERMINAL without splitting words.
I thought that Robert wanted to have 3 strings to translate, one per
line, not one long dynamic string.
Thanks,
--
Carles Pina i Estany
http://pinux.info
- gettextize normal/menu_text.c (print_timeout), Carles Pina i Estany, 2009/11/22
- Re: gettextize normal/menu_text.c (print_timeout), Robert Millan, 2009/11/23
- Re: gettextize normal/menu_text.c (print_timeout), Carles Pina i Estany, 2009/11/24
- Re: gettextize normal/menu_text.c (print_timeout), Carles Pina i Estany, 2009/11/24
- Re: gettextize normal/menu_text.c (print_timeout), Robert Millan, 2009/11/25
- Re: gettextize normal/menu_text.c (print_timeout), Carles Pina i Estany, 2009/11/25
- Re: gettextize normal/menu_text.c (print_timeout), Vladimir 'φ-coder/phcoder' Serbinenko, 2009/11/25
- Re: gettextize normal/menu_text.c (print_timeout),
Carles Pina i Estany <=
- Re: gettextize normal/menu_text.c (print_timeout), Robert Millan, 2009/11/25