]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/timeout.html.erb
Use lazy translations where possible
[rails.git] / app / views / browse / timeout.html.erb
index a624bf0a60e65f1f0208906a0e7490ac982d67ec..de102e60f29c5dddcf0c6a3bb2fc035bb176dd5a 100644 (file)
@@ -1,12 +1,12 @@
 <%
   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'),
+    'node' => I18n.t('.type.node'),
+    'way' => I18n.t('.type.way'),
+    'relation' => I18n.t('.type.relation'),
+    'changeset' => I18n.t('.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=> browse_timeout_type[@type] , :id => params[:id] %>
 </div>