من آخرین نسخه رو ترجمه کردم روی جوملا و میترا به خوبی کار میکنه اما روی مامبو تولبار پیغام خطا میده
پیغام خطای زیر :
Notice: Use of undefined constant _DG_PUBLISHPIC_TB - assumed '_DG_PUBLISHPIC_TB' in C:\AppServ\www\site2\administrator\components\com_datsogallery\toolbar.datsogallery.html.php on line 63
Notice: Use of undefined constant _DG_UNPUBLISHPIC_TB - assumed '_DG_UNPUBLISHPIC_TB' in C:\AppServ\www\site2\administrator\components\com_datsogallery\toolbar.datsogallery.html.php on line 65
Notice: Use of undefined constant _DG_MOVE_PICS - assumed '_DG_MOVE_PICS' in C:\AppServ\www\site2\administrator\components\com_datsogallery\toolbar.datsogallery.html.php on line 67
Notice: Use of undefined constant _DG_APPROVEPIC_TB - assumed '_DG_APPROVEPIC_TB' in C:\AppServ\www\site2\administrator\components\com_datsogallery\toolbar.datsogallery.html.php on line 69
Notice: Use of undefined constant _DG_ADDNEWPIC_TB - assumed '_DG_ADDNEWPIC_TB' in C:\AppServ\www\site2\administrator\components\com_datsogallery\toolbar.datsogallery.html.php on line 71
Notice: Use of undefined constant _DG_EDITPIC_TB - assumed '_DG_EDITPIC_TB' in C:\AppServ\www\site2\administrator\components\com_datsogallery\toolbar.datsogallery.html.php on line 73
Notice: Use of undefined constant _DG_DELETEPIC_TB - assumed '_DG_DELETEPIC_TB' in C:\AppServ\www\site2\administrator\components\com_datsogallery\toolbar.datsogallery.html.php on line 75
و توی فایلی که در اررور اومدده این کد ها هستن
function DATSOMAIN_MENU() {
mosMenuBar::startTable();
mosMenuBar::publishList('publish', _DG_PUBLISHPIC_TB);
mosMenuBar::spacer();
mosMenuBar::unpublishList('unpublish', _DG_UNPUBLISHPIC_TB);
mosMenuBar::spacer();
mosMenuBar::custom('movepic', 'move_f2.png', 'move_f2.png', _DG_MOVE_PICS);
mosMenuBar::spacer();
mosMenuBar::custom('approvepic', 'apply_f2.png', 'apply_f2.png', _DG_APPROVEPIC_TB);
mosMenuBar::spacer();
mosMenuBar::addNew('new', _DG_ADDNEWPIC_TB);
mosMenuBar::spacer();
mosMenuBar::editList('edit', _DG_EDITPIC_TB);
mosMenuBar::spacer();
mosMenuBar::deleteList('', 'remove', _DG_DELETEPIC_TB);
mosMenuBar::endTable();
}