[i18n] Some questions about translation

Wagner Bruna wagner.bruna+mercurial at gmail.com
Thu Jan 5 08:03:25 CST 2012


On 01/05/2012 08:34 AM, Alexander Sauta wrote:
> I'd like to clarify some issues that I encountered during my russian
> translation. There are actually much more of them, but it'll be
> excessive for one email, I suppose.
> So
> 1. Are there any plans on introducing plural forms (i.e. ngettext)
> into sources?

Mercurial intentionally avoids using plural forms; see

http://article.gmane.org/gmane.comp.version-control.mercurial.devel/46454

(I'd be +1 for that, but I believe it'd have to be a really simple approach
from the code POV to have any chance to be accepted)

> 2. In which way terms 'changeset' and 'revision' are interchangeable?>
>     Glossary defines changeset as "snapshot of the state of the
> repository" and revision as "state of the repository at some point in
> time".   I don't see any significant difference here, so it seems that
> it's ok to use one instead of another. But by saying 'changeset' we
> usually mean a physical object - some deltas to previous changeset,
> and revision is mostly like a logical state - a number or hash
> referencing a 'real' changeset. I.e. it's seems correct to say 'I pull
> your changesets', but 'I pull your revisions' sounds awkward. Am I
> right? What about other cases? 'Update to changeset X' and 'Update to
> revision X' seems OK?

On pt_BR, at first I tried to simply keep "changeset" as is (no Portuguese
word(s) that didn't sound too generic, verbose or silly), but it actually
confused a lot of people. So I currently translate both to "revisão"
("revision"): usually either the distinction doesn't matter, or the context is
enough to distinguish between the meanings (more/better context can be added
directly to the translation).

> 3. Commit message, commit comment, log message, log entry - is there
> any significant difference?

I don't think so.

> 4. Should debug commands (like debugbuilddag) be translated? If not,
> can we excluded them from .pot file?

I think they should, but perhaps a "low priority" i18n tag could be useful there.

Regards,
Wagner


More information about the Mercurial-devel mailing list