Re: git: problematic git status output with some translations (such as fr_FR)

2014-03-12 Thread Junio C Hamano
Jonathan Nieder jrnie...@gmail.com writes: @@ -292,6 +291,48 @@ static const char *wt_status_diff_status_string(int status) } } +static int maxwidth(const char *(*label)(int), int minval, int maxval) +{ + const char *s; + int result = 0, i; + + for (i = minval; i

Re: git: problematic git status output with some translations (such as fr_FR)

2014-02-08 Thread Duy Nguyen
On Fri, Dec 20, 2013 at 3:50 AM, Jonathan Nieder jrnie...@gmail.com wrote: Junio C Hamano wrote: Jonathan Nieder jrnie...@gmail.com writes: This includes the colon in the translated string, to make it easier to remember to keep the non-breaking space before it. Hmph, recent 3651e45c

Re: git: problematic git status output with some translations (such as fr_FR)

2014-01-16 Thread Raphael Hertzog
Hi, On Fri, 20 Dec 2013, Duy Nguyen wrote: On Fri, Dec 20, 2013 at 3:50 AM, Jonathan Nieder jrnie...@gmail.com wrote: Junio C Hamano wrote: Jonathan Nieder jrnie...@gmail.com writes: This includes the colon in the translated string, to make it easier to remember to keep the

Re: git: problematic git status output with some translations (such as fr_FR)

2013-12-19 Thread Jonathan Nieder
Raphaël Hertzog wrote[1]: Here's an example of the problematic output: [...] # modifié des deux côtés :debian/control Thanks for the ping, and sorry to leave this hanging before. [...] --- a/wt-status.c +++ b/wt-status.c @@ -255,7 +255,7 @@ static void

Re: git: problematic git status output with some translations (such as fr_FR)

2013-12-19 Thread Junio C Hamano
Jonathan Nieder jrnie...@gmail.com writes: This includes the colon in the translated string, to make it easier to remember to keep the non-breaking space before it. Hmph, recent 3651e45c (wt-status: take the alignment burden off translators, 2013-11-05) seems to have gone in the different

Re: git: problematic git status output with some translations (such as fr_FR)

2013-12-19 Thread Jonathan Nieder
Junio C Hamano wrote: Jonathan Nieder jrnie...@gmail.com writes: This includes the colon in the translated string, to make it easier to remember to keep the non-breaking space before it. Hmph, recent 3651e45c (wt-status: take the alignment burden off translators, 2013-11-05) seems to have

Re: git: problematic git status output with some translations (such as fr_FR)

2013-12-19 Thread Duy Nguyen
On Fri, Dec 20, 2013 at 3:50 AM, Jonathan Nieder jrnie...@gmail.com wrote: Junio C Hamano wrote: Jonathan Nieder jrnie...@gmail.com writes: This includes the colon in the translated string, to make it easier to remember to keep the non-breaking space before it. Hmph, recent 3651e45c