Fixed problem with tabs not being translated

This commit is contained in:
Andreas Stöckel 2011-08-23 17:10:56 +00:00
parent b0a21acb12
commit e1eefeaafa
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@
"use strict"; "use strict";
/*egw:uses /*egw:uses
jsapi.egw;
jquery.jquery; jquery.jquery;
et2_widget; et2_widget;
*/ */
@ -56,7 +57,7 @@ var et2_tabbox = et2_DOMWidget.extend({
if (nodeName == "tab") if (nodeName == "tab")
{ {
tabData.push({ tabData.push({
"label": et2_readAttrWithDefault(node, "label", "Tab"), "label": egw.lang(et2_readAttrWithDefault(node, "label", "Tab")),
"widget": null, "widget": null,
"contentDiv": null, "contentDiv": null,
"flagDiv": null "flagDiv": null

View File

@ -13,7 +13,7 @@
"use strict"; "use strict";
/*egw:uses /*egw:uses
jsapi/egw; jsapi.egw;
et2_xml; et2_xml;
et2_common; et2_common;
et2_inheritance; et2_inheritance;