If I just do
= t('.foo')
in a view file and I have no this translate in locale, it just capitalize the key and the result will be Foo
But why it's not happens in other places such as input attributes? This example show translate missing error:
= f.submit t('.foo')