`I18n.t` doesn't support lazy lookups, whereas the equivalent rails `t` helper does. The code can also be simplified to avoid the lookup table. Fixes 1877
4 lines
163 B
Text
4 lines
163 B
Text
<h2>
|
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
|
<%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %>
|
|
</h2>
|