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
|
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 ) ->
|
||||||
|
|
Loading…
Reference in a new issue