[PATCH 00 of 17] Mass marking of strings for translation

Bastian Doetsch bastian.doetsch at gmx.de
Tue Aug 26 10:51:28 CDT 2008


Hi all,

I wonder, if there'll be an option to get a deterministic output that
isn't dependent on the users locale. As we use the mercurial output for
parsing in the MercurialEclipse plug-in, I wonder how that would work
with internationalized output of mercurial. Are there possibilities for
windows, linux and macs to give parameters to mercurial to always use
english?

Best regards,
Bastian

Am Samstag, den 23.08.2008, 22:55 +0200 schrieb Martin Geisler:

> Hello everybody!
> 
> I went through all the files with grep using this regular expression:
> 
>   \(util.Abort\|ui.\(debug\|status\|warn\|note\)\)([^_]
> 
> and that revealed another 100 untranslated strings... Instead of
> putting them all into one patch, I made a patch per extension and one
> for Mercurial itself.
> 
> * Patch 1 removes code that makes plural forms by appending 's'.
> 
> * Patch 2 restructures the helptable so that the header can be
>   translated nicely in the next patch.
> 
> * Patch 3 marks strings in helptable for translation and runs
>   extension docstrings through gettext.
> 
> * Patch 4 marks strings in Mercurial for translation.
> 
> * Patch 5--17 marks strings in the extensions. They should be trivial,
>   if a bit tedious, to verify :-)
> 
> Please note that these patches are independent of the actual Gettext
> infrastructure I have propsed in my other patchbombs. So I hope
> someone will accept them.
> 
> Oh, and by the way: the test suite still runs after these patches! :-)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20080826/b8d6fbbe/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080826/b8d6fbbe/attachment.pgp 


More information about the Mercurial-devel mailing list