From d5176c2373e36e63fc207f70c9e5b120f232f75a Mon Sep 17 00:00:00 2001 From: Caio Carrara Date: Mon, 27 Jun 2016 16:21:56 -0300 Subject: Update use of interpolation on translations See: #727 --- web-ui/app/js/views/i18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js/views') diff --git a/web-ui/app/js/views/i18n.js b/web-ui/app/js/views/i18n.js index f843b845..29a1beca 100644 --- a/web-ui/app/js/views/i18n.js +++ b/web-ui/app/js/views/i18n.js @@ -28,8 +28,8 @@ function(i18n, i18n_backend, I18n_detector) { return result.replace('-', '_'); }; - function t(i18n_key) { - var result = i18n.t(i18n_key); + function t(i18n_key, options) { + var result = i18n.t(i18n_key, options); var safe_string = new Handlebars.SafeString(result); return safe_string.string; } -- cgit v1.2.3