This script is not working well, it use context instead domain. So not use this, but use script of example plugin.
Sorry! David Durieux ++ Le Tue, 4 Dec 2012 11:21:23 +0100 David DURIEUX <d.duri...@siprossii.com> a écrit: >Hello, > >for plugins dev want to extract only gettext strings with the plugin >context, you can use the script I have modified from GLPI repository. > >Like for exemple string like: echo __('hello!', 'pluginname'); > >So in the extract_template.sh script, replace "soft='fusioninventory'" >by "soft='pluginname'" and the script will extract the "hello!" string > >get it here: >http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/repository/revisions/master/changes/fusioninventory/tools/extract_template.sh > >David Durieux >++ > > >_______________________________________________ >Glpi-dev mailing list >Glpi-dev@gna.org >https://mail.gna.org/listinfo/glpi-dev _______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev