[PATCH STABLE] histedit: make comment part of the file describing rules as translatable

Wagner Bruna wagner.bruna+mercurial at gmail.com
Thu Aug 2 09:54:20 CDT 2012


Em 02-08-2012 10:16, Wagner Bruna escreveu:
> Em 02-08-2012 10:05, Augie Fackler escreveu:
>>
>> On Jul 29, 2012, at 1:54 PM, FUJIWARA Katsunori wrote:
>>> (...)
>>> -editcomment = """
>>> -
>>> -# Edit history between %s and %s
>>> +editcomment = _("""# Edit history between %s and %s
>>> #
>>> # Commands:
>>> #  p, pick = use commit
>>> @@ -173,7 +171,7 @@
>>> #  d, drop = remove commit from history
>>> #  m, mess = edit message without changing commit content
>>
>> Is there a way to note for translators that the LHS of the
>> "commands" section must remain untranslated?
> 
> Yes, like in:
> 
> http://selenic.com/hg/file/2.3/mercurial/revset.py#l269

Done:

https://bitbucket.org/mg/hg-i18n/changeset/474ae9720aa5

Regards,
Wagner


More information about the Mercurial-devel mailing list