Improved i18n.

This commit is contained in:
Martin Edenhofer 2013-01-02 15:20:35 +01:00
parent 68642c407b
commit 34b3392c46

View file

@ -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 ) ->