OK finally I managed to do the conversion to gettext for the index.php. See the branch: https://code.launchpad.net/~xalioth/stellarium-website/with-gettext I think it is now also safe from code injection (I just escape every string translated, if they contain html it just displays the html code..)
If you agree we could merge this branch and add the .pot as a translation for the stellarium-website project. Matthew it would be nice if the stellarium-website project could be managed by the stellarium-website or at least the stellarium team so that I can go on. Fabien On Wed, May 25, 2011 at 09:51, Alexander Wolf <[email protected]> wrote: > 2011/5/25 Fabien Chéreau <[email protected]>: >> The only problem is that we need to allow for certain tags like <a> >> because their position is language dependent, so we also need to make >> sure they don't contain attribute with javascript, like onclick. > > Look http://ru.php.net/manual/en/function.strip-tags.php#89453 - it's > not problem > > -- > With best regards, Alexander > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Stellarium-pubdevel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
