included the db-tools messages on createing the lang-file

This commit is contained in:
Ralf Becker 2003-03-17 20:58:54 +00:00
parent f46a1919bd
commit eb3178426a

View File

@ -165,6 +165,7 @@
{ {
case 'vbox': case 'vbox':
case 'hbox': case 'hbox':
case 'stack':
$cell['cell_tpl'] = '.vbox'; $cell['cell_tpl'] = '.vbox';
break; break;
} }
@ -242,6 +243,7 @@
{ {
case 'vbox': case 'vbox':
case 'hbox': case 'hbox':
case 'stack':
if ($cell['size'] < 2) if ($cell['size'] < 2)
{ {
$cell['size'] = 2; $cell['size'] = 2;
@ -462,7 +464,8 @@
if ($name == 'etemplate') if ($name == 'etemplate')
{ {
$m = new editor(False); $m = new editor(False);
$additional = $m->messages + $this->etemplate->types + $this->extensions + $this->aligns; $db_tools = CreateObject('etemplate.db_tools',False);
$additional = $m->messages + $db_tools->messages + $this->etemplate->types + $this->extensions + $this->aligns;
} }
else // try to call the writeLangFile function of the app's ui-layer else // try to call the writeLangFile function of the app's ui-layer
{ {