Recent Topics

Plugins, Automatic Translation

Started by on Jul 23, 2006 – Contents updated: Jul 23, 2006

Jul 23, 2006 13:01    

Atm, we do this;


class my_plugin extends Plugin
{
   var $short_desc = 'The Short Description';
   var $long_desc = 'The Long Description';

   function my_plugin()
   {
      $this->short_desc = $this->T_($this->short_desc);
      $this->long_desc = $this->T_($this->long_desc);
   }

Couldn't b2evo handle this automaticly after the plugin initializes instead of us having to manually do it?


Form is loading...

Photo gallery software – This forum is powered by b2evolution CMS, a complete engine for your website.