Re: [PATCH] wt-status: take the alignment burden off translators

2013-11-04 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > + static const char *spaces = ""; I do not see anything that limits "len" used to show only show the prefix bytes in this array not to ask for more than you have spaces here. It won't overrun the end of this array, but I suspec

[PATCH] wt-status: take the alignment burden off translators

2013-11-03 Thread Nguyễn Thái Ngọc Duy
It's not easy for translators to see spaces in these strings have to align, especially when there are no guarantees that these strings are grouped together in .po files. Refactor the code and do the alignment automatically. Let the translator specify how big the alignment is, though, in case some