6 lines
121 B
CoffeeScript
6 lines
121 B
CoffeeScript
I18n.missingTranslation = ->
|
|
key = arguments[arguments.length - 1]
|
|
value = key.split('.').pop()
|
|
$.titleize(value)
|
|
|