From: Tom Hughes Date: Thu, 14 Oct 2010 17:11:56 +0000 (+0100) Subject: Remove duplicate (and inconsistent) title from the map key X-Git-Tag: live~6240^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/86596c0d1fb640f9a87680880d07606678e033fe?hp=2f0ed542062ddd592238e7a74ca0da2c1291f1b7 Remove duplicate (and inconsistent) title from the map key The map key had a heading in the title bar space and then another inconsistent one inside the sidebar - the second one has been removed. The tooltop for the map key link has also been improved. --- diff --git a/app/views/site/key.html.erb b/app/views/site/key.html.erb index 5879701a2..d0fd36148 100644 --- a/app/views/site/key.html.erb +++ b/app/views/site/key.html.erb @@ -1,5 +1,4 @@
-

<%= t "site.key.table.heading", :zoom_level => params[:zoom] %>

<% YAML.load_file("#{RAILS_ROOT}/config/key.yml").each do |name,data| %> <% if params[:layer] == name %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 4e633b27b..deef86307 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1246,9 +1246,8 @@ en: search_help: "examples: 'Alkmaar', 'Regent Street, Cambridge', 'CB2 5AQ', or 'post offices near Lünen' more examples..." key: map_key: "Map key" - map_key_tooltip: "Map key for the mapnik rendering at this zoom level" + map_key_tooltip: "Key for the map" table: - heading: "Legend for z{{zoom_level}}" entry: motorway: "Motorway" trunk: "Trunk road"