Steve Borho ha scritto:
On Thu, Jun 4, 2009 at 9:57 PM, Steve Borho<st...@borho.org> wrote:
Since our shell context menus are going to be purely C++ based in 0.8,
they will not be able to use the i18n framework we have built for the
Python code. Since we are also running short on time, I've decided to
make the context menu code simply try to read translated strings from
the registry when the extension is first loaded.
We may not get proper cmenu translations into the 0.8 installer, but
at least we should be able to offer *.reg files for various languages
that users can load into their registry. I was thinking of using
registry keys like:
HKLU\Software\TortoiseHg\shellmenu\LANG\commit
HKLU\Software\TortoiseHg\shellmenu\LANG\init
HKLU\Software\TortoiseHg\shellmenu\LANG\clone
...
This is now implemented. I've checked in an example "translation"
.reg for en_US. You should be able to use this as a template for new
translations.
http://bitbucket.org/tortoisehg/crew/src/07c6c6fb91e2/win32/
(Yes, that file is UTF-16). If you email .reg files to this list,
I'll check them into crew and make them available for download from
the wiki.
Tonight's nightly build should respect these registry settings, let me
know if there are any issues with this feature.
--
Steve Borho
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
Here the italian version.
paolo
ÿþW i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0
[ H K E Y _ U S E R S \ S - 1 - 5 - 2 1 - 1 9 9 3 9 6 2 7 6 3 - 5 7 9 8 9 8 4 1 - 8 3 9 5 2 2 1 1 5 - 1 0 0 3 \ S o f t w a r e \ T o r t o i s e H g ]
"