-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
In the case of I18n "lazy" lookup missing_t treats it as missing translation and generates yaml with missing key. E.g. the following code in app/views/transmittals/index.html.erb uses "lazy" lookup :
<th><%= sort_link @search, :transmitted_at, t('.transmitted_at') %></th>
Starting missing_t it outputs the following, what is wrong:
en:
:
transmitted_at:
However config/locales/en.yml contains the following lines:
en:
...
transmittals:
index:
transmitted_at: "Sent"
See http://guides.rubyonrails.org/i18n.html#lazy-lookup about I18n "lazy" lookup.
Metadata
Metadata
Assignees
Labels
No labels