From f2e997d4458b6fca74da6a13e3c170eed8680380 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 19 Mar 2014 12:39:10 +0000 Subject: [PATCH] replace first parameter "%1" with "%s", to allow to use regular lang syntax as well as eTemplate one --- etemplate/js/et2_core_widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_widget.js b/etemplate/js/et2_core_widget.js index ba6b4016fd..5cef65f406 100644 --- a/etemplate/js/et2_core_widget.js +++ b/etemplate/js/et2_core_widget.js @@ -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'); } } }