git status: minor output format error

2013-11-03 Thread Wolfgang Rohdewald
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.

-- 
Wolfgang
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: git status: minor output format error

2013-11-03 Thread Duy Nguyen
On Mon, Nov 4, 2013 at 12:17 AM, Wolfgang Rohdewald
wolfg...@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

 #: wt-status.c:316
 #, c-format
-- 
Duy
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: git status: minor output format error

2013-11-03 Thread Ralf Thielow
On Mon, Nov 4, 2013 at 2:46 AM, Duy Nguyen pclo...@gmail.com wrote:
 On Mon, Nov 4, 2013 at 12:17 AM, Wolfgang Rohdewald
 wolfg...@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
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html