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 item
# define translation helper # define translation helper
params.T = ( item ) -> params.T = ( item, args... ) ->
App.i18n.translateContent( item ) App.i18n.translateContent( item, args )
# define translation inline helper # define translation inline helper
params.Ti = ( item ) -> params.Ti = ( item, args... ) ->
App.i18n.translateInline( item ) App.i18n.translateInline( item, args )
# define linkify helper # define linkify helper
params.L = ( item ) -> params.L = ( item ) ->