replaces translated help strings

Create issue
Issue #130 resolved
Wagner Bruna created an issue

Since hgsubversion appends a paragraph to the doc string for some commands, their help texts are no longer translated by gettext.

Unfortunately, the translation system doesn't support additions to the doc strings. The attached patch simply disables the addition for translated strings.

Comments (2)

  1. Augie Fackler repo owner

    I'm afraid I won't take this patch - I'm open to better solutions, but fundamentally, we need a way to add the documentation to hg's internal commands.

  2. Wagner Bruna reporter

    On Mercurial 1.6, the "_" function splits each message in paragraphs before translation, so the whole message isn't replaced anymore.

    The last paragraph usually ends with four spaces, so it's still untranslated, but this can be fixed on Mercurial side.

  3. Log in to comment