[PATCH 0 of 5 STABLE] i18n: some improvements for message translation
Wagner Bruna
wagner.bruna+mercurial at gmail.com
Thu Nov 1 08:54:29 CDT 2012
Em 30-10-2012 17:08, FUJIWARA Katsunori escreveu:
> This patch series mainly focuses on adding "i18n" comment to:
>
> - error messages of template functions, and
> - column positioning messages of "hg log" and "hg summary"
>
> Patch #4 and #5 are additional changing around column positioning of
> "hg summary" output.
I'm afraid these won't help that much: if those labels are only partially
translated to a particular language (just after a message change in the code,
for instance), the output would get mixed alignment anyway.
Some kind of dynamic padding based on the maximum length of all (translated)
labels would work, but I can't see a simple way to do that without cluttering
the code...
Regards,
Wagner
> Please drop patch #5, if changing already translatable message is too
> close to release.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list