Add title="" to "Where am I?" in the search box
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 23 Oct 2009 11:53:22 +0000 (11:53 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 23 Oct 2009 11:53:22 +0000 (11:53 +0000)
app/views/site/_search.html.erb
config/locales/en.yml

index 8e18d0e9713ed56eb15beb57fb169e87b3bb1c15..6e291bfd048d0c60e8cdb3c5baf4ce083b90b859 100644 (file)
@@ -22,7 +22,7 @@
 <% content_for "optionals" do %>
   <div class="optionalbox">
     <span class="oboxheader"><%= t 'site.search.search' %></span>
-    <span class="whereami"><a href="javascript:describeLocation()"><%= t 'site.search.where_am_i' %></a></span>
+    <span class="whereami"><a href="javascript:describeLocation()" title="<%= t 'site.search.where_am_i_title' %>"><%= t 'site.search.where_am_i' %></a></span>
     <div class="search_form">
     <div id="search_field">
     <% form_remote_tag(:loading => "startSearch()",
index 12afdb1148ab336d1de404293eadb3f267ed1094..fd8ce27de4741d537028d8f9bad8ed7599983e49 100644 (file)
@@ -642,6 +642,7 @@ en:
     search:
       search: Search
       where_am_i: "Where am I?"
+      where_am_i_title: Describe the current location using the search engine
       submit_text: "Go"
       search_help: "examples: 'Alkmaar', 'Regent Street, Cambridge', 'CB2 5AQ', or 'post offices near Lünen' <a href='http://wiki.openstreetmap.org/wiki/Search'>more examples...</a>"
     key: