From: Rodrigo P. <rod...@gm...> - 2011-08-22 17:37:17
|
Hi Changi, Thanks for your feedback. Please check r36381, now every param accepted by get_strings.php in http mode will work in cli as well. About the completion param, if you need it I can add it but I think it is not necessary anymore. We have stats automatically updated on http://i18n.tiki.org/status using the script doc/devtools/get_translation_percentage.php. If necessary we can modify this script to output in HTML format. I will answer about the unused strings in another e-mail. Rodrigo. On Fri, Aug 19, 2011 at 4:15 PM, Jean-François BILGER <cha...@gm...>wrote: > Nice work > > Some remarks > > 2011/8/19 Rodrigo Primo <rod...@gm...> > >> Hi, >> >> I have created a new get_strings.php script. For now it is called >> get_strings2.php and if everything is working good it will replace the old >> script. >> >> Please help testing the new script and report bugs and suggestions. See >> the header of the file for a list of accepted parameters. Let me know if you >> miss any option available in the old script that I didn't implemented in the >> new one. >> >> There are only two differences visible to the translators: >> >> 1) The new get_strings.php doesn't keep in language.php files unused >> strings as the old one does. >> > > Sometimes we need unused work when some are passed as param > > 2) language.php files are not divided anymore in translated, untranslated >> and unused sections. The strings are ordered as they appear in the source >> files independently if they have been translated or not. >> > >> The main motivation to rewrote the script was to make it easier to >> maintain and extend the code in the future. >> >> In the process I fixed some old bugs. Like >> https://dev.tiki.org/tiki-view_tracker_item.php?itemId=3881 and >> https://dev.tiki.org/tiki-view_tracker_item.php?itemId=3975 (the bugs >> were fixed both in the old and new get_strings.php). >> >> If there are no objections or bugs I'm planning to replace the old >> get_strings.php with the new script by the end of the next week. >> > > What about the cli param like > > get_strings.php lang=onlyonelanguage > > What about completion param? > > Maybe we could copy/paste the cli param from the actual ? > > I think we should wait a little more to switch. > > My 2c. > > > >> Cheers, Rodrigo. >> >> -- >> http://rodrigo.utopia.org.br >> >> >> >> ------------------------------------------------------------------------------ >> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >> user administration capabilities and model configuration. Take >> the hassle out of deploying and managing Subversion and the >> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 >> _______________________________________________ >> TikiWiki-devel mailing list >> Tik...@li... >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> >> > > > -- > Changi > -- > Tiki Wiki CMS Groupware Project - Infrastructure Team - http://tiki.org<http://tikiwiki.org> > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > TikiWiki-devel mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > > -- http://rodrigo.utopia.org.br |