replace first parameter "%1" with "%s", to allow to use regular lang syntax as well as eTemplate one

This commit is contained in:
Ralf Becker 2014-03-19 12:39:10 +00:00
parent bfce4343d7
commit f2e997d445

View File

@ -614,7 +614,7 @@ var et2_widget = Class.extend(
if (this.attributes[key].translate === true ||
(this.attributes[key].translate === "!no_lang" && !_attrs["no_lang"]))
{
_attrs[key] = this.egw().lang(_attrs[key]);
_attrs[key] = this.egw().lang(_attrs[key], '%s');
}
}
}