]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/timeout.html.erb
erblint: fix remaining single quoted strings
[rails.git] / app / views / browse / timeout.html.erb
index a624bf0a60e65f1f0208906a0e7490ac982d67ec..a9f53db15bd782a04447cb364eaa4bd7a5d5da35 100644 (file)
@@ -1,12 +1,4 @@
-<%
-  browse_timeout_type = {
-    'node' => I18n.t('browse.timeout.type.node'),
-    'way' => I18n.t('browse.timeout.type.way'),
-    'relation' => I18n.t('browse.timeout.type.relation'),
-    'changeset' => I18n.t('browse.timeout.type.changeset'),
-  };
-%>
 <div class="browse-section">
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= t'browse.timeout.sorry', :type=> browse_timeout_type[@type] , :id => params[:id] %>
+  <%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %>
 </div>