From 34b3392c4650a7351f022cde617593c1e3e0cd45 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 2 Jan 2013 15:20:35 +0100 Subject: [PATCH] Improved i18n. --- app/assets/javascripts/app/index.js.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/index.js.coffee b/app/assets/javascripts/app/index.js.coffee index cc331d2b0..28a8e4dc7 100644 --- a/app/assets/javascripts/app/index.js.coffee +++ b/app/assets/javascripts/app/index.js.coffee @@ -32,12 +32,12 @@ class App extends Spine.Controller item # define translation helper - params.T = ( item ) -> - App.i18n.translateContent( item ) + params.T = ( item, args... ) -> + App.i18n.translateContent( item, args ) # define translation inline helper - params.Ti = ( item ) -> - App.i18n.translateInline( item ) + params.Ti = ( item, args... ) -> + App.i18n.translateInline( item, args ) # define linkify helper params.L = ( item ) ->