git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] status: allow label strings to be translated
@ 2014-03-12 21:19 Junio C Hamano
  2014-03-12 21:19 ` [PATCH v2 1/4] wt-status: make full label string to be subject to l10n Junio C Hamano
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Junio C Hamano @ 2014-03-12 21:19 UTC (permalink / raw)
  To: git

So here is my attempt to clean-up what Jonathan posted in
$gmane/239537 as "how about this?" patch.

The first one (full label string) fixes up 3651e45c (wt-status: take
the alignment burden off translators, 2013-11-05) to include colon
back to translatable string again, while retaining its label alignment
logic.

The second (extract the code) is taken from Jonathan's $gmane/239537
as a separate patch.

The third is essentially the remainder of Jonathan's $gmane/239537,
with one small fix s/strlen/utf8_width/; to teach the code that
shows unmerged paths the same label alignment logic Duy added in
3651e45c for the tracked paths, while retaining the "at least 20
columns" floor to avoid the churn to the tests.

And the last lifts the "at least 20 columns" floor.

Jonathan Nieder (2):
  wt-status: extract the code to compute width for labels
  wt-status: i18n of section labels

Junio C Hamano (2):
  wt-status: make full label string to be subject to l10n
  wt-status: lift the artificual "at least 20 columns" floor

 t/t7060-wtstatus.sh    |  14 +++---
 t/t7512-status-help.sh |  12 ++---
 wt-status.c            | 117 +++++++++++++++++++++++++++++++------------------
 3 files changed, 88 insertions(+), 55 deletions(-)

-- 
1.9.0-293-gd838d6f

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-12 21:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 21:19 [PATCH v2 0/4] status: allow label strings to be translated Junio C Hamano
2014-03-12 21:19 ` [PATCH v2 1/4] wt-status: make full label string to be subject to l10n Junio C Hamano
2014-03-12 21:19 ` [PATCH v2 2/4] wt-status: extract the code to compute width for labels Junio C Hamano
2014-03-12 21:19 ` [PATCH v2 3/4] wt-status: i18n of section labels Junio C Hamano
2014-03-12 21:19 ` [PATCH v2 4/4] wt-status: lift the artificual "at least 20 columns" floor Junio C Hamano

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).