On Sat, 2010-11-13 at 10:31 -0500, Daniel Shahaf wrote:
> Sounds reasonable.
> 
> What changes to the source code would be required?
> 
> Do we just change
>       N_("three\n\nparagraphs\n\nhere\n")
> to
>       N_("three\n") N_("paragraphs\n") N_("here\n")

No, that would just result in evaluating gettext on the combined string,
same as before.  I can see two options for help strings in particular:

1. Rev svn_opt_subcommand_desc2_t to include an array of help strings
which are translated and displayed in sequence.

2. Change print_command_info2 to look at the help string and break it up
at certain boundaries (such as blank lines or numbered list entries)
before translating it.

(Mercurial is written in Python, so it has different constraints.)


Reply via email to