From: <min...@us...> - 2006-05-30 18:36:37
|
Revision: 13731 Author: mindless Date: 2006-05-30 11:36:22 -0700 (Tue, 30 May 2006) ViewCVS: http://svn.sourceforge.net/gallery/?rev=13731&view=rev Log Message: ----------- fix in module creator for G2.1 (change $this->translate to $gallery->i18n in constructor) Modified Paths: -------------- trunk/gallery2/lib/tools/creator/module.inc.tpl Modified: trunk/gallery2/lib/tools/creator/module.inc.tpl =================================================================== --- trunk/gallery2/lib/tools/creator/module.inc.tpl 2006-05-29 01:03:08 UTC (rev 13730) +++ trunk/gallery2/lib/tools/creator/module.inc.tpl 2006-05-30 18:36:22 UTC (rev 13731) @@ -34,13 +34,12 @@ function {$ucModuleId}Module() {ldelim} global $gallery; - $this->setId('{$moduleId}'); $this->setName($gallery->i18n('{$moduleName}')); $this->setDescription($gallery->i18n('My {$moduleName} module')); $this->setVersion('1.0.0'); $this->setCallbacks('getItemLinks'); - $this->setGroup('other', $this->translate('Other')); + $this->setGroup('other', $gallery->i18n('Other')); $this->setRequiredCoreApi(array(7, 0)); $this->setRequiredModuleApi(array(3, 0)); {rdelim} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |