git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ralf Thielow <ralf.thielow@gmail.com>
To: Duy Nguyen <pclouds@gmail.com>
Cc: Wolfgang Rohdewald <wolfgang@rohdewald.de>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: git status: minor output format error
Date: Mon, 4 Nov 2013 08:53:00 +0100	[thread overview]
Message-ID: <CAN0XMOK3NqcAyk5c246+CCDZETxGfsZ_AxbBEmUC0RX9aXW8mw@mail.gmail.com> (raw)
In-Reply-To: <CACsJy8DyX-cxJNYe3HXeb8e96O36h4aEJrBo+P5035b-vuz0hw@mail.gmail.com>

On Mon, Nov 4, 2013 at 2:46 AM, Duy Nguyen <pclouds@gmail.com> wrote:
> On Mon, Nov 4, 2013 at 12:17 AM, Wolfgang Rohdewald
> <wolfgang@rohdewald.de> wrote:
>> git version 1.8.3.2
>>
>> git status in German says (extract)
>>
>> #       geändert:   kajongg.py
>> #       gelöscht:    playfield.py
>>
>> as you can see, there is one space too much before playfield.py
>>
>> LANG=C git status is correct:
>> #       modified:   kajongg.py
>> #       deleted:    playfield.py
>>
>> so it seems the spacing between the columns expects "deleted" to have the same number
>> of letters in all languages.
>
> No, the translations control the number of columns in this case
> (although it's not very intuitive for translators). Something like
> this may fix it. I haven't tested because I don't have "de" locale
> installed.
>
> diff --git a/po/de.po b/po/de.po
> index 35a44b9..d1846d2 100644
> --- a/po/de.po
> +++ b/po/de.po
> @@ -1404,7 +1404,7 @@ msgstr "kopiert:     %s -> %s"
>  #: wt-status.c:313
>  #, c-format
>  msgid "deleted:    %s"
> -msgstr "gelöscht:    %s"
> +msgstr "gelöscht:   %s"
>

The columns don't match in other related messages, either.
Let's see what happens with [1].

[1]
http://article.gmane.org/gmane.comp.version-control.git/237283

>  #: wt-status.c:316
>  #, c-format
> --
> Duy

  reply	other threads:[~2013-11-04  7:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03 17:17 git status: minor output format error Wolfgang Rohdewald
2013-11-04  1:46 ` Duy Nguyen
2013-11-04  7:53   ` Ralf Thielow [this message]
2013-11-04  3:08 ` [PATCH] wt-status: take the alignment burden off translators Nguyễn Thái Ngọc Duy
2013-11-04 18:42   ` Junio C Hamano
2013-11-05  2:07   ` [PATCH v2] " Nguyễn Thái Ngọc Duy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN0XMOK3NqcAyk5c246+CCDZETxGfsZ_AxbBEmUC0RX9aXW8mw@mail.gmail.com \
    --to=ralf.thielow@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pclouds@gmail.com \
    --cc=wolfgang@rohdewald.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).