mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
replace first parameter "%1" with "%s", to allow to use regular lang syntax as well as eTemplate one
This commit is contained in:
parent
bfce4343d7
commit
f2e997d445
@ -614,7 +614,7 @@ var et2_widget = Class.extend(
|
|||||||
if (this.attributes[key].translate === true ||
|
if (this.attributes[key].translate === true ||
|
||||||
(this.attributes[key].translate === "!no_lang" && !_attrs["no_lang"]))
|
(this.attributes[key].translate === "!no_lang" && !_attrs["no_lang"]))
|
||||||
{
|
{
|
||||||
_attrs[key] = this.egw().lang(_attrs[key]);
|
_attrs[key] = this.egw().lang(_attrs[key], '%s');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user