<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br><br><!--WISESTAMP_SIG_START--> <!--WISESTAMP_SIG_END--><br>> The help is split into sections which are specified at the top of each<br>> file like this:<br>> <br>> // StartSectionDoc-en<br>> // primitives<br>> // Primitives are objects that you can render. There isn't really much<br>> // else in a fluxus scene, except lights, a camera and lots of<br>> // primitives.<br>> // Example:<br>> // EndSectionDoc<br>> <br>> Sometimes multiple files have the same section header (it doesn't always<br>> make sense to have one per file). Then each function has something like<br>> this:<br>> <br>> // StartFunctionDoc-en<br>> // build-cube<br>> // Returns: primitiveid-number<br>> // Description:<br>> // A simple cube, texture mapped placement per face.<br>> // Example:<br>> // (define mynewcube (build-cube))<br>> // EndFunctionDoc<br>> <br>> You just need to add StartSectionDoc-fr and StartFunctionDoc-fr versions<br>> of these comments. The position in the code doesn't matter, but it's a<br>> good idea to keep them in the same place so we can change them at the<br>> same time and keep it neat and tidy. This does mean these files will<br>> fill up with much more documentation than code, but that's ok I think,<br>> the guts of the fluxus code is elsewhere.<br>> <br>> I've added "fr" to makehelpmap.scm - you should be able to put:<br>> (set-help-locale! "fr")<br>> In your .fluxus.scm to select the french help.<br>> <br>> Git is fairly simple, you need to get an account on savannah, then do:<br>> <br>> git clone login@git.sv.gnu.org:/srv/git/fluxus.git<br>> <br>> Make your changes in the code comments, then regenerate the helpmap.scm:<br>> <br>> cd docs<br>> ./makehelpmap.scm<br>> cd ..<br>> sudo scons install<br>> <br>> Run fluxus and check the docs are appearing as you expected in the help.<br>> When you are finished:<br>> <br>> git commit -a -m "I added some French translations!"<br>> git push<br>> <br>> I tend to forget to push (or even commit) as you may have noticed. <br>> <br>> Occasionally you should do 'git pull' to get changes other people have<br>> made to the code.<br>> <br>> Most importantly, don't worry about breaking everything - version<br>> control means it's ok to do that :)<br><br><br>Ok, that's great explanations. I can't fail! Thanks a lot.<br>                                       <br /><hr />Discute avec tes amis partout, grâce à Messenger sur ton mobile. <a href='http://www.messengersurvotremobile.com/' target='_new'>Cliquez ici !</a></body>
</html>