Improved i18n.
This commit is contained in:
parent
68642c407b
commit
34b3392c46
1 changed files with 4 additions and 4 deletions
|
@ -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 ) ->
|
||||
|
|
Loading…
Reference in a new issue