]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Merge 16216:16355 from trunk.
[rails.git] / app / views / layouts / site.html.erb
index 37d2b1962296967b693d30234b6d8ac1f2610a8c..320161fa0b1fcdb4f3fba1d4c899ee08ab1dae81 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= I18n.locale %>" lang="<%= I18n.locale %>" dir="<% t'html.dir' %>">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= I18n.locale %>" lang="<%= I18n.locale %>" dir="<%= t'html.dir' %>">
   <head>
     <%= javascript_include_tag 'prototype' %>
     <%= javascript_include_tag 'site' %>
@@ -81,7 +81,7 @@
           <%= t 'layouts.intro_1' %>
         </p>
         <p>
-          <%= t 'layouts.intro_2' %>.
+          <%= t 'layouts.intro_2' %>
         </p>
         <p>
         <%= t 'layouts.intro_3', 
 
       <% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
       <div id="alert">
-        <%= t 'layouts.offline' %>
+        <%= t 'layouts.osm_offline' %>
       </div>
       <% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
       <div id="alert">
-        <%= t 'layouts.read_only' %>
+        <%= t 'layouts.osm_read_only' %>
+      </div>
       <% end %>
 
       <% if false %>